@opencode/core 0.0.0-dev-20781 → 0.0.0-dev-20783

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 (480) hide show
  1. package/dist/agent.js +65 -65
  2. package/dist/aisdk-native.js +69 -69
  3. package/dist/aisdk.js +74 -74
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +58 -58
  6. package/dist/chunks/{skill-rhjbct0v.js → skill-02nrjc1r.js} +5 -5
  7. package/dist/chunks/{skill-pacyqc5f.js → skill-03g2t9hw.js} +7 -7
  8. package/dist/chunks/{skill-eknnx2sm.js → skill-04cccj5a.js} +8 -8
  9. package/dist/chunks/{skill-j3042cpm.js → skill-04w8c0ba.js} +15 -15
  10. package/dist/chunks/{skill-0x93t62e.js → skill-06jffbs3.js} +16 -16
  11. package/dist/chunks/{skill-23rmqmtf.js → skill-070wkmva.js} +26 -26
  12. package/dist/chunks/{skill-xcajktjp.js → skill-07eh7qw4.js} +11 -11
  13. package/dist/chunks/{skill-8vhg3hp7.js → skill-0jta6v3t.js} +24 -24
  14. package/dist/chunks/{skill-rwkhrqfs.js → skill-0rkq89b0.js} +20 -20
  15. package/dist/chunks/{skill-aqwwqdgv.js → skill-0vpaabdz.js} +22 -22
  16. package/dist/chunks/{skill-gztrs2mc.js → skill-13zfdqkn.js} +12 -12
  17. package/dist/chunks/{skill-axe3mf62.js → skill-143qq2q9.js} +3 -3
  18. package/dist/chunks/{skill-5fevf6pk.js → skill-1b6q68c3.js} +10 -10
  19. package/dist/chunks/{skill-84h8c373.js → skill-1dvck2a7.js} +1 -1
  20. package/dist/chunks/{skill-7nsmwq86.js → skill-1k80zed8.js} +4 -4
  21. package/dist/chunks/{skill-gyfjdbw7.js → skill-1pn8hfyw.js} +21 -21
  22. package/dist/chunks/{skill-8hkfkb27.js → skill-1tbv6vyw.js} +6 -6
  23. package/dist/chunks/{skill-gvbf22kd.js → skill-1tegpzkj.js} +46 -46
  24. package/dist/chunks/{skill-56gdpj1q.js → skill-1ygqh575.js} +7 -7
  25. package/dist/chunks/{skill-wj76ss2k.js → skill-277eer69.js} +3 -3
  26. package/dist/chunks/{skill-bp8fbaqn.js → skill-29qym6xz.js} +3 -3
  27. package/dist/chunks/{skill-fa0798qr.js → skill-2jy61na5.js} +10 -10
  28. package/dist/chunks/{skill-dhmh7aw6.js → skill-2vs2nh1n.js} +3 -3
  29. package/dist/chunks/{skill-nqvbngtv.js → skill-2xsrshre.js} +1 -1
  30. package/dist/chunks/{skill-zwq0tthq.js → skill-2z1v9gjs.js} +25 -25
  31. package/dist/chunks/{skill-k6zzyzjn.js → skill-358bewed.js} +39 -39
  32. package/dist/chunks/{skill-2fyzv3xc.js → skill-3b53nk28.js} +4 -4
  33. package/dist/chunks/{skill-b6gygkdw.js → skill-3hwn7j4h.js} +4 -4
  34. package/dist/chunks/{skill-pp12reev.js → skill-3n6qd5yb.js} +1 -1
  35. package/dist/chunks/{skill-wzyrkyja.js → skill-3njy147n.js} +12 -12
  36. package/dist/chunks/{skill-3jxdk58w.js → skill-479k0gs5.js} +14 -14
  37. package/dist/chunks/{skill-q9cf9tqe.js → skill-485qxas3.js} +7 -7
  38. package/dist/chunks/{skill-d2czbp48.js → skill-4j4tgtq5.js} +3 -3
  39. package/dist/chunks/{skill-6xbm3sg4.js → skill-4qhq17ss.js} +25 -25
  40. package/dist/chunks/{skill-a8bn8zg0.js → skill-50mzsvk4.js} +3 -3
  41. package/dist/chunks/{skill-fredntnj.js → skill-52v53gqf.js} +33 -33
  42. package/dist/chunks/{skill-hmmv6qf0.js → skill-561ssg1x.js} +6 -6
  43. package/dist/chunks/{skill-qg49b3cx.js → skill-58sep7qz.js} +12 -12
  44. package/dist/chunks/{skill-k4g4a3k8.js → skill-58vc7jc3.js} +10 -10
  45. package/dist/chunks/{skill-ygyswz88.js → skill-5b4dqe4n.js} +23 -23
  46. package/dist/chunks/{skill-0982s1gm.js → skill-5cj392th.js} +43 -43
  47. package/dist/chunks/{skill-6yj2dbmh.js → skill-5gbtv9te.js} +83 -83
  48. package/dist/chunks/{skill-g8d7jebf.js → skill-6707cyp3.js} +14 -14
  49. package/dist/chunks/{skill-gqmrynpn.js → skill-674dsst4.js} +37 -37
  50. package/dist/chunks/{skill-x4q7srnc.js → skill-67j1ykj9.js} +9 -9
  51. package/dist/chunks/{skill-srq8z0b0.js → skill-6b8kbxwq.js} +7 -7
  52. package/dist/chunks/{skill-a46s6kbk.js → skill-6cw3zjxa.js} +31 -31
  53. package/dist/chunks/{skill-v0es1rhs.js → skill-6g7e4dd5.js} +5 -5
  54. package/dist/chunks/{skill-q6y5a10k.js → skill-6krh7jxd.js} +9 -9
  55. package/dist/chunks/{skill-pnp2bzmq.js → skill-6mp9tdn9.js} +31 -31
  56. package/dist/chunks/{skill-ep81cf61.js → skill-6qpmcf3t.js} +34 -34
  57. package/dist/chunks/{skill-8fxm663j.js → skill-6ty2jb9x.js} +7 -7
  58. package/dist/chunks/{skill-hv3pvze4.js → skill-6vv39ctp.js} +4 -4
  59. package/dist/chunks/{skill-9g69dcg6.js → skill-6yzz6ydy.js} +21 -20
  60. package/dist/chunks/{skill-f75zav2x.js → skill-71az546q.js} +1 -1
  61. package/dist/chunks/{skill-r5x6zcsm.js → skill-73tb2d7t.js} +2 -2
  62. package/dist/chunks/{skill-1fps8nz6.js → skill-77w2ws7p.js} +29 -29
  63. package/dist/chunks/{skill-p3sjvsty.js → skill-7ab8v4x8.js} +65 -65
  64. package/dist/chunks/{skill-3mnvf6p9.js → skill-7fctep6b.js} +15 -15
  65. package/dist/chunks/{skill-b3ynb7d3.js → skill-7pk0apss.js} +9 -9
  66. package/dist/chunks/{skill-dqt5g3hk.js → skill-7x2z0ng4.js} +22 -22
  67. package/dist/chunks/{skill-ezxbem9w.js → skill-82n5twj0.js} +33 -33
  68. package/dist/chunks/{skill-w1eejvng.js → skill-84txncab.js} +4 -4
  69. package/dist/chunks/{skill-jtvmzzv1.js → skill-8awwapf3.js} +34 -34
  70. package/dist/chunks/{skill-0dygnakk.js → skill-8c7secgm.js} +2 -2
  71. package/dist/chunks/skill-8dhds0dv.js +26 -0
  72. package/dist/chunks/{skill-was7srj9.js → skill-8mfdap3f.js} +7 -7
  73. package/dist/chunks/{skill-h6pmw8x2.js → skill-8x58wqts.js} +16 -16
  74. package/dist/chunks/{skill-h5s09njq.js → skill-93j9r8vr.js} +9 -9
  75. package/dist/chunks/{skill-3rcp1bkh.js → skill-9a1bht1a.js} +1 -1
  76. package/dist/chunks/{skill-kb9j3d72.js → skill-9e5bzkjp.js} +1 -1
  77. package/dist/chunks/{skill-tpw6cwsb.js → skill-9hn6k4tm.js} +7 -7
  78. package/dist/chunks/{skill-101tmw0e.js → skill-9kdvs0qs.js} +14 -14
  79. package/dist/chunks/{skill-9y9sk2j9.js → skill-9pa8tak9.js} +1 -1
  80. package/dist/chunks/{skill-v8xkm7fr.js → skill-9tqbbpx7.js} +6 -6
  81. package/dist/chunks/{skill-c2158jrd.js → skill-9vxq3aev.js} +21 -21
  82. package/dist/chunks/{skill-aaet6srn.js → skill-a28va38p.js} +7 -7
  83. package/dist/chunks/{skill-0yc8d83b.js → skill-a4rf0zrw.js} +32 -32
  84. package/dist/chunks/{skill-a4pr5f9r.js → skill-a9m7pnx7.js} +327 -327
  85. package/dist/chunks/{skill-w30nb1yc.js → skill-afv5k542.js} +14 -14
  86. package/dist/chunks/{skill-y72zmemf.js → skill-ahd542yp.js} +7 -7
  87. package/dist/chunks/{skill-8rhr56bn.js → skill-akepvz7y.js} +6 -6
  88. package/dist/chunks/{skill-1pc8eaj9.js → skill-amkdz55e.js} +20 -20
  89. package/dist/chunks/{skill-9qtntmk8.js → skill-ar95rhcv.js} +20 -20
  90. package/dist/chunks/{skill-44ntahsq.js → skill-at2p4n3p.js} +48 -48
  91. package/dist/chunks/{skill-1r17h9m8.js → skill-b9m9jd47.js} +4 -4
  92. package/dist/chunks/{skill-msyhh0fb.js → skill-be66sdnk.js} +21 -21
  93. package/dist/chunks/{skill-nh8j4n7v.js → skill-bfj3mgeh.js} +17 -17
  94. package/dist/chunks/{skill-g4nx878d.js → skill-brak4p4d.js} +2 -2
  95. package/dist/chunks/{skill-phyzxvmd.js → skill-bsadxmtb.js} +26 -26
  96. package/dist/chunks/{skill-n3dgsn25.js → skill-bsx3ef4h.js} +21 -21
  97. package/dist/chunks/{skill-f86e2e8r.js → skill-bvyrej0j.js} +10 -10
  98. package/dist/chunks/{skill-9xvep0td.js → skill-c0v64yz3.js} +26 -26
  99. package/dist/chunks/{skill-y56ehv6b.js → skill-c227t32y.js} +8 -8
  100. package/dist/chunks/{skill-2e488er1.js → skill-c22p0fvq.js} +8 -8
  101. package/dist/chunks/{skill-wbt93eb0.js → skill-catzw522.js} +8 -8
  102. package/dist/chunks/{skill-w4685zgx.js → skill-cen1dnrb.js} +18 -18
  103. package/dist/chunks/{skill-2kagsa96.js → skill-cr3znner.js} +11 -11
  104. package/dist/chunks/{skill-3w6er6cj.js → skill-cr9n7mfv.js} +3 -3
  105. package/dist/chunks/{skill-jzwe082a.js → skill-csj3nndk.js} +4 -4
  106. package/dist/chunks/{skill-exxr552c.js → skill-cvk1gt9h.js} +16 -16
  107. package/dist/chunks/{skill-d4he2qe1.js → skill-cwa6csj7.js} +7 -7
  108. package/dist/chunks/{skill-d49krybn.js → skill-d2zsdd4d.js} +19 -19
  109. package/dist/chunks/{skill-addxnjmp.js → skill-db2wf4at.js} +3 -3
  110. package/dist/chunks/{skill-tnc5t1gf.js → skill-dx79gnp7.js} +13 -13
  111. package/dist/chunks/{skill-081pqqr5.js → skill-dx8p2nff.js} +8 -8
  112. package/dist/chunks/skill-e0q146ww.js +253 -0
  113. package/dist/chunks/{skill-tg800t2p.js → skill-e337rshx.js} +3 -3
  114. package/dist/chunks/{skill-9nfy3y9e.js → skill-e6kg2nsz.js} +3 -3
  115. package/dist/chunks/{skill-f49cms5k.js → skill-e8jkaw67.js} +9 -9
  116. package/dist/chunks/{skill-03s39rhg.js → skill-ebjs1f3d.js} +46 -46
  117. package/dist/chunks/{skill-m8nz4hq1.js → skill-ed1z33yj.js} +45 -45
  118. package/dist/chunks/{skill-fa1arg82.js → skill-ejdjv965.js} +9 -9
  119. package/dist/chunks/{skill-8s6c6m5s.js → skill-en5h7jeg.js} +9 -9
  120. package/dist/chunks/{skill-xrdh4s04.js → skill-etg2w4gs.js} +15 -15
  121. package/dist/chunks/{skill-zkbzm8m2.js → skill-ew2ppw2e.js} +5 -5
  122. package/dist/chunks/{skill-hnvvtk4g.js → skill-f63q8jpn.js} +8 -8
  123. package/dist/chunks/{skill-9aaf7n3g.js → skill-f6c7zxgy.js} +28 -28
  124. package/dist/chunks/{skill-jvvc3tfq.js → skill-faj2svbs.js} +7 -7
  125. package/dist/chunks/{skill-f2k9zecx.js → skill-fbh9pqtx.js} +1 -1
  126. package/dist/chunks/{skill-6qcjx6jz.js → skill-fkxxfd9n.js} +41 -41
  127. package/dist/chunks/{skill-rt6zmwqx.js → skill-fm4cwmp6.js} +7 -7
  128. package/dist/chunks/{skill-8ank75fn.js → skill-fqtvmpfq.js} +7 -7
  129. package/dist/chunks/{skill-xfkhnva0.js → skill-frhb8ew0.js} +44 -44
  130. package/dist/chunks/{skill-qpj0be80.js → skill-g79ggcnn.js} +22 -22
  131. package/dist/chunks/{skill-9pnhsxgt.js → skill-gdyarp84.js} +12 -12
  132. package/dist/chunks/{skill-n6jn037m.js → skill-ge8vx2at.js} +9 -9
  133. package/dist/chunks/{skill-mb0ms3nf.js → skill-gse9956c.js} +1 -1
  134. package/dist/chunks/{skill-2fb8egyg.js → skill-gv54abtn.js} +13 -13
  135. package/dist/chunks/{skill-8es2cp98.js → skill-gz9w2prw.js} +20 -20
  136. package/dist/chunks/{skill-zfa7ynd8.js → skill-h5crbhmb.js} +3 -3
  137. package/dist/chunks/{skill-kb5tjxj1.js → skill-h6vf0ja8.js} +4 -4
  138. package/dist/chunks/{skill-6ev121br.js → skill-h9s33j2f.js} +8 -8
  139. package/dist/chunks/{skill-j945ts23.js → skill-hbtj3vsv.js} +1 -1
  140. package/dist/chunks/{skill-zd30eb5w.js → skill-hbyhqfhs.js} +3 -3
  141. package/dist/chunks/{skill-tp1xemq3.js → skill-hddss928.js} +12 -12
  142. package/dist/chunks/{skill-2a5m3afh.js → skill-hgz4x7wa.js} +3 -3
  143. package/dist/chunks/{skill-8yzx13cr.js → skill-hp0b1pmt.js} +12 -12
  144. package/dist/chunks/{skill-7n2amz1z.js → skill-hpvzebmm.js} +28 -28
  145. package/dist/chunks/{skill-n95b3jav.js → skill-ht5y0zrb.js} +4 -4
  146. package/dist/chunks/{skill-wg5wmzb0.js → skill-hvferw5v.js} +86 -86
  147. package/dist/chunks/{skill-qs3fcyw9.js → skill-hwyt46md.js} +8 -8
  148. package/dist/chunks/{skill-30h8y4wg.js → skill-hyqf44qd.js} +13 -13
  149. package/dist/chunks/{skill-2nhb9q09.js → skill-j2p13e9j.js} +5 -5
  150. package/dist/chunks/{skill-72tms615.js → skill-j6adbkc7.js} +4 -4
  151. package/dist/chunks/{skill-dnhkz8s3.js → skill-jehq231j.js} +28 -28
  152. package/dist/chunks/{skill-t4aysb4r.js → skill-js8wertj.js} +10 -10
  153. package/dist/chunks/{skill-qyy35tkn.js → skill-jvw9kwwj.js} +16 -16
  154. package/dist/chunks/{skill-dpkg50ah.js → skill-jwcy2c2z.js} +3 -3
  155. package/dist/chunks/{skill-nw07r3nn.js → skill-k1591j5w.js} +31 -31
  156. package/dist/chunks/{skill-1epzdntc.js → skill-k9bkx1zz.js} +7 -7
  157. package/dist/chunks/{skill-j7e2g8sj.js → skill-kb1jjea1.js} +2 -2
  158. package/dist/chunks/{skill-5wdex9k6.js → skill-khjasm6z.js} +12 -12
  159. package/dist/chunks/{skill-w8pg63ym.js → skill-kqj1wybc.js} +5 -5
  160. package/dist/chunks/{skill-ekmt4dkt.js → skill-krsmb9br.js} +20 -20
  161. package/dist/chunks/{skill-pjsqfx9m.js → skill-ktw141zw.js} +1 -1
  162. package/dist/chunks/{skill-bnxmcyee.js → skill-kys722cf.js} +16 -16
  163. package/dist/chunks/{skill-ewdzx310.js → skill-m4sg2fj5.js} +12 -12
  164. package/dist/chunks/{skill-ez7zp3e7.js → skill-m8xkxnzs.js} +29 -29
  165. package/dist/chunks/{skill-gjfr9he2.js → skill-maqy4c71.js} +18 -18
  166. package/dist/chunks/{skill-0g9cdt2p.js → skill-mb5k0437.js} +40 -19
  167. package/dist/chunks/{skill-sk99bxzn.js → skill-mnsdmbv8.js} +30 -30
  168. package/dist/chunks/{skill-z6pwme65.js → skill-mp9rkdz7.js} +25 -25
  169. package/dist/chunks/{skill-zz8g2j7n.js → skill-msbzkdgs.js} +9 -9
  170. package/dist/chunks/{skill-m6vfs9yf.js → skill-p1qmfaz3.js} +24 -24
  171. package/dist/chunks/{skill-1dazxqgg.js → skill-ph5whc14.js} +4 -4
  172. package/dist/chunks/{skill-8btkd430.js → skill-pj2hw229.js} +24 -24
  173. package/dist/chunks/{skill-8m7g8697.js → skill-pnb89dtp.js} +7 -7
  174. package/dist/chunks/{skill-2erbc2h3.js → skill-q2frhkde.js} +23 -23
  175. package/dist/chunks/{skill-caqpfbyt.js → skill-q5bsz0vw.js} +31 -31
  176. package/dist/chunks/{skill-cx6aas0z.js → skill-qcgvqcx7.js} +21 -21
  177. package/dist/chunks/{skill-806yr8y0.js → skill-qx29skc5.js} +28 -28
  178. package/dist/chunks/{skill-fqevmj86.js → skill-r4cw7mx5.js} +20 -20
  179. package/dist/chunks/{skill-dp6nqh4c.js → skill-rj9txymb.js} +16 -16
  180. package/dist/chunks/{skill-w23m87nk.js → skill-rqzc1cst.js} +19 -19
  181. package/dist/chunks/{skill-p8y6aqjf.js → skill-s9vwt7sq.js} +3 -3
  182. package/dist/chunks/{skill-hdkng2sj.js → skill-scgrse2b.js} +3 -3
  183. package/dist/chunks/{skill-f8fswb9c.js → skill-skv2z4tm.js} +51 -51
  184. package/dist/chunks/{skill-1ms888gb.js → skill-sp8122mt.js} +19 -19
  185. package/dist/chunks/{skill-c8bydgjz.js → skill-sxzvkvgj.js} +5 -5
  186. package/dist/chunks/{skill-fr2jeztm.js → skill-t1wsc1h6.js} +3 -3
  187. package/dist/chunks/{skill-d216944b.js → skill-t2fc4mz5.js} +6 -6
  188. package/dist/chunks/{skill-fhht6xq8.js → skill-t98cn88e.js} +24 -24
  189. package/dist/chunks/{skill-zx3dt1g9.js → skill-taqj60ds.js} +33 -33
  190. package/dist/chunks/{skill-bamgg8ym.js → skill-tg951fdk.js} +32 -32
  191. package/dist/chunks/{skill-bshzcw3h.js → skill-tv7tv5a0.js} +17 -17
  192. package/dist/chunks/{skill-ydz57f2j.js → skill-v0p69kbt.js} +26 -26
  193. package/dist/chunks/{skill-42nr671v.js → skill-v1msdc2e.js} +36 -36
  194. package/dist/chunks/{skill-hdv0vf09.js → skill-v3s0gpe2.js} +29 -29
  195. package/dist/chunks/{skill-50vj6b7x.js → skill-vktyeyg6.js} +184 -184
  196. package/dist/chunks/{skill-0sqchc9v.js → skill-vnvshc90.js} +19 -19
  197. package/dist/chunks/{skill-fr1cxyer.js → skill-vq2x1gvt.js} +11 -11
  198. package/dist/chunks/{skill-k74v33jx.js → skill-vrrn8f4d.js} +13 -13
  199. package/dist/chunks/{skill-c6ew2z36.js → skill-vsja4zwp.js} +22 -22
  200. package/dist/chunks/{skill-ryrzae8t.js → skill-vym1cadz.js} +9 -9
  201. package/dist/chunks/{skill-ctdc98gg.js → skill-vzdahvpe.js} +4 -4
  202. package/dist/chunks/{skill-q3n416rm.js → skill-w113ygr5.js} +11 -11
  203. package/dist/chunks/{skill-8qm83tfv.js → skill-w2c8f02a.js} +7 -7
  204. package/dist/chunks/{skill-3pp8k01h.js → skill-w4y2b1bh.js} +19 -19
  205. package/dist/chunks/{skill-w39jehkq.js → skill-wh6zw745.js} +3 -3
  206. package/dist/chunks/{skill-z5pcptfa.js → skill-wkmwept5.js} +8 -8
  207. package/dist/chunks/{skill-vqv4cs72.js → skill-wnz7j1fm.js} +9 -9
  208. package/dist/chunks/{skill-99t05100.js → skill-x3y19w6y.js} +48 -48
  209. package/dist/chunks/{skill-7my2nqf1.js → skill-x861zb6t.js} +1 -1
  210. package/dist/chunks/{skill-xr3t68eq.js → skill-x9mpd4db.js} +12 -12
  211. package/dist/chunks/{skill-cytzxkff.js → skill-xq59p7zw.js} +17 -17
  212. package/dist/chunks/{skill-j9px0aej.js → skill-xrpv627y.js} +8 -8
  213. package/dist/chunks/{skill-xybefm6f.js → skill-xt4njr3s.js} +1 -1
  214. package/dist/chunks/{skill-x63k85f5.js → skill-xxcr61zh.js} +11 -11
  215. package/dist/chunks/{skill-v41s5yqp.js → skill-xzzfknmp.js} +13 -13
  216. package/dist/chunks/{skill-ryhvpn5p.js → skill-y5fhf6z7.js} +15 -15
  217. package/dist/chunks/{skill-7wcwbeb7.js → skill-ydhxanhm.js} +7 -7
  218. package/dist/chunks/{skill-j97ap7b3.js → skill-yejs50np.js} +13 -13
  219. package/dist/chunks/{skill-1y6tjs0p.js → skill-ys6pq9md.js} +27 -27
  220. package/dist/chunks/{skill-2epmt5yx.js → skill-ytph8xz7.js} +1 -1
  221. package/dist/chunks/{skill-ggzp6sfs.js → skill-yyf5mnjx.js} +5 -5
  222. package/dist/chunks/{skill-xrv71jf0.js → skill-z3w57r3v.js} +4 -4
  223. package/dist/chunks/{skill-0v6g35my.js → skill-z4xxkr3n.js} +7 -7
  224. package/dist/chunks/{skill-ajgpa6nv.js → skill-z5cmew6x.js} +21 -21
  225. package/dist/chunks/{skill-rsydsym6.js → skill-zrt7fk07.js} +34 -34
  226. package/dist/chunks/{skill-9xn9atma.js → skill-zs4thy15.js} +5 -5
  227. package/dist/chunks/{skill-d7j7my50.js → skill-zt541pk1.js} +9 -9
  228. package/dist/chunks/{skill-6rgya2y8.js → skill-zwdw4kt6.js} +16 -16
  229. package/dist/chunks/{skill-t1kwx79t.js → skill-zz99enan.js} +28 -28
  230. package/dist/chunks/{skill-x80v0bpa.js → skill-zzg514gs.js} +13 -13
  231. package/dist/codemode/instructions.js +2 -2
  232. package/dist/command.js +69 -69
  233. package/dist/config/discovery.js +64 -64
  234. package/dist/config/normalize.js +77 -77
  235. package/dist/config/plugin/agent.js +90 -90
  236. package/dist/config/plugin/command.js +167 -167
  237. package/dist/config/plugin/compaction.js +118 -118
  238. package/dist/config/plugin/compatibility.js +105 -105
  239. package/dist/config/plugin/formatter.js +89 -89
  240. package/dist/config/plugin/image.js +88 -88
  241. package/dist/config/plugin/instruction.js +69 -69
  242. package/dist/config/plugin/location-watcher.js +88 -88
  243. package/dist/config/plugin/mcp.js +97 -97
  244. package/dist/config/plugin/policy.js +89 -89
  245. package/dist/config/plugin/provider.js +88 -88
  246. package/dist/config/plugin/reference.js +90 -90
  247. package/dist/config/plugin/shell.js +90 -90
  248. package/dist/config/plugin/skill-file.js +80 -80
  249. package/dist/config/plugin/skill.js +108 -108
  250. package/dist/config/plugin/snapshot.js +88 -88
  251. package/dist/config/plugin/source.js +91 -91
  252. package/dist/config/plugin/tool-output.js +89 -89
  253. package/dist/config/plugin/websearch.js +89 -89
  254. package/dist/config/plugin/worktree.js +89 -89
  255. package/dist/config.js +88 -88
  256. package/dist/credential.js +69 -69
  257. package/dist/database/database.js +52 -52
  258. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  259. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  260. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  261. package/dist/database/drizzle/index.js +10 -10
  262. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  263. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  264. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  265. package/dist/database/drizzle.js +10 -10
  266. package/dist/database/migration.gen.js +36 -36
  267. package/dist/database/migration.js +37 -37
  268. package/dist/database/v1-migration.bun.js +11 -11
  269. package/dist/effect/app-node-builder.js +237 -237
  270. package/dist/effect/keyed-mutex.js +3 -3
  271. package/dist/environment/environment.js +70 -70
  272. package/dist/environment/exec-defaults.js +2 -2
  273. package/dist/environment/files.js +3 -3
  274. package/dist/environment/index.js +74 -74
  275. package/dist/environment/local.js +2 -2
  276. package/dist/environment/memory.js +2 -2
  277. package/dist/event-logger.js +14 -14
  278. package/dist/file-access.js +83 -83
  279. package/dist/file-mutation.js +75 -75
  280. package/dist/filesystem/location-watcher-policy.js +5 -5
  281. package/dist/filesystem/location-watcher.js +176 -176
  282. package/dist/filesystem/search.js +82 -82
  283. package/dist/filesystem/watcher.js +7 -7
  284. package/dist/filesystem.js +85 -85
  285. package/dist/form.js +65 -65
  286. package/dist/formatter/builtins.js +3 -3
  287. package/dist/formatter.js +68 -68
  288. package/dist/generate.js +81 -81
  289. package/dist/git.js +7 -7
  290. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  291. package/dist/github-copilot/copilot-provider.js +3 -3
  292. package/dist/github-copilot/models.js +79 -79
  293. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  294. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  295. package/dist/image/photon.js +1 -1
  296. package/dist/image.js +5 -5
  297. package/dist/instance/service.js +5 -5
  298. package/dist/instance.js +305 -305
  299. package/dist/instruction-discovery.js +69 -69
  300. package/dist/instructions/builtins.js +69 -69
  301. package/dist/instructions/index.js +3 -3
  302. package/dist/integration/connection.js +3 -3
  303. package/dist/integration.js +70 -70
  304. package/dist/job.js +61 -61
  305. package/dist/kv.js +57 -57
  306. package/dist/location-activity.js +60 -60
  307. package/dist/location-lifecycle.js +86 -86
  308. package/dist/location-service-map.js +68 -68
  309. package/dist/location-services.js +302 -302
  310. package/dist/location.js +69 -69
  311. package/dist/managed-policy.js +7 -7
  312. package/dist/mcp/client.js +23 -23
  313. package/dist/mcp/index.js +88 -88
  314. package/dist/mcp/instructions.js +104 -104
  315. package/dist/mcp/oauth.js +14 -14
  316. package/dist/mcp/stdio.js +71 -71
  317. package/dist/modal/models.js +79 -79
  318. package/dist/model-resolver.js +78 -78
  319. package/dist/model.js +82 -82
  320. package/dist/models-dev.js +87 -87
  321. package/dist/permission/saved.js +66 -66
  322. package/dist/permission/sql.js +3 -3
  323. package/dist/permission.js +88 -88
  324. package/dist/persistent-pty/index.js +70 -70
  325. package/dist/persistent-pty.js +56 -56
  326. package/dist/plugin/agent.js +60 -60
  327. package/dist/plugin/command.js +81 -81
  328. package/dist/plugin/hooks.js +5 -5
  329. package/dist/plugin/host.js +169 -169
  330. package/dist/plugin/identity.js +3 -3
  331. package/dist/plugin/instance.js +5 -5
  332. package/dist/plugin/internal.js +279 -279
  333. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  334. package/dist/plugin/models-dev.js +76 -76
  335. package/dist/plugin/module.js +89 -89
  336. package/dist/plugin/plan.js +81 -81
  337. package/dist/plugin/provider/amazon-bedrock.js +70 -70
  338. package/dist/plugin/provider/azure.js +89 -89
  339. package/dist/plugin/provider/chatgpt.js +72 -72
  340. package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
  341. package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
  342. package/dist/plugin/provider/configured.js +85 -85
  343. package/dist/plugin/provider/digitalocean.js +72 -72
  344. package/dist/plugin/provider/github-copilot.js +74 -74
  345. package/dist/plugin/provider/gitlab.js +72 -72
  346. package/dist/plugin/provider/google-vertex.js +86 -86
  347. package/dist/plugin/provider/llmgateway.js +61 -61
  348. package/dist/plugin/provider/lmstudio.js +89 -89
  349. package/dist/plugin/provider/local.js +86 -86
  350. package/dist/plugin/provider/modal.js +72 -72
  351. package/dist/plugin/provider/ollama.js +89 -89
  352. package/dist/plugin/provider/openai.js +71 -71
  353. package/dist/plugin/provider/opencode.js +77 -77
  354. package/dist/plugin/provider/openrouter.js +71 -71
  355. package/dist/plugin/provider/poe.js +61 -61
  356. package/dist/plugin/provider/prompt-cache-key.js +70 -70
  357. package/dist/plugin/provider/sap-ai-core.js +70 -70
  358. package/dist/plugin/provider/snowflake-cortex.js +87 -87
  359. package/dist/plugin/provider/vercel.js +70 -70
  360. package/dist/plugin/provider/vllm.js +89 -89
  361. package/dist/plugin/provider/xai.js +71 -71
  362. package/dist/plugin/provider.js +122 -122
  363. package/dist/plugin/sdk.js +61 -61
  364. package/dist/plugin/service.js +3 -3
  365. package/dist/plugin/skill.js +106 -106
  366. package/dist/plugin/supervisor.js +296 -296
  367. package/dist/plugin/tool-input-repair.js +3 -3
  368. package/dist/plugin/update.js +6 -6
  369. package/dist/plugin/vcs/git.js +67 -67
  370. package/dist/plugin/vcs/hg.js +67 -67
  371. package/dist/plugin/verbosity.js +73 -73
  372. package/dist/plugin/warming.js +87 -87
  373. package/dist/plugin/websearch/exa.js +6 -6
  374. package/dist/plugin/websearch/firecrawl.js +7 -7
  375. package/dist/plugin/websearch/index.js +8 -8
  376. package/dist/plugin/websearch/mcp.js +5 -5
  377. package/dist/plugin/websearch/parallel.js +7 -7
  378. package/dist/plugin/websearch/tavily.js +6 -6
  379. package/dist/plugin/websearch/tinyfish.js +7 -7
  380. package/dist/plugin.js +178 -178
  381. package/dist/project/schema.js +5 -5
  382. package/dist/project/sql.js +2 -2
  383. package/dist/project.js +70 -70
  384. package/dist/provider.js +81 -81
  385. package/dist/pty.js +69 -69
  386. package/dist/reference/instructions.js +69 -69
  387. package/dist/reference.js +69 -69
  388. package/dist/repository-cache.js +64 -64
  389. package/dist/repository.js +3 -3
  390. package/dist/ripgrep.js +77 -77
  391. package/dist/rpc.js +68 -68
  392. package/dist/session/command.js +58 -58
  393. package/dist/session/compaction.js +100 -100
  394. package/dist/session/context.js +123 -123
  395. package/dist/session/diff.js +69 -69
  396. package/dist/session/environment.js +5 -5
  397. package/dist/session/error.js +2 -2
  398. package/dist/session/execution/restart.js +118 -118
  399. package/dist/session/execution.js +103 -103
  400. package/dist/session/generate.js +122 -122
  401. package/dist/session/history.js +10 -10
  402. package/dist/session/inbox.js +71 -71
  403. package/dist/session/info.js +2 -2
  404. package/dist/session/instruction-entry.js +63 -63
  405. package/dist/session/instruction-state.js +5 -5
  406. package/dist/session/instructions.js +78 -78
  407. package/dist/session/model-request.js +90 -90
  408. package/dist/session/model-transport.js +5 -5
  409. package/dist/session/move.js +105 -105
  410. package/dist/session/projector.js +67 -67
  411. package/dist/session/prompt.js +83 -83
  412. package/dist/session/provider-context.js +3 -3
  413. package/dist/session/revert.js +70 -70
  414. package/dist/session/runner/index.js +3 -3
  415. package/dist/session/runner/llm.js +180 -180
  416. package/dist/session/runner/model.js +78 -78
  417. package/dist/session/runner/publish-llm-event.js +91 -91
  418. package/dist/session/runner/retry.js +3 -3
  419. package/dist/session/runner/step.js +100 -100
  420. package/dist/session/runner/to-llm-message.js +2 -2
  421. package/dist/session/schema.js +5 -5
  422. package/dist/session/session.js +131 -131
  423. package/dist/session/shell.js +101 -101
  424. package/dist/session/skill.js +82 -82
  425. package/dist/session/sql.js +3 -3
  426. package/dist/session/stats.js +10 -10
  427. package/dist/session/store.js +70 -70
  428. package/dist/session/subagent-job.js +165 -165
  429. package/dist/session/title.js +126 -126
  430. package/dist/session/to-session-error.js +90 -90
  431. package/dist/session/transfer.js +115 -115
  432. package/dist/session.js +175 -175
  433. package/dist/shell/parse.js +2 -2
  434. package/dist/shell/select.js +13 -13
  435. package/dist/shell.js +104 -104
  436. package/dist/skill/discovery.js +5 -5
  437. package/dist/skill/instructions.js +86 -86
  438. package/dist/skill.js +89 -89
  439. package/dist/snapshot.js +72 -72
  440. package/dist/tool/mcp.js +103 -103
  441. package/dist/tool/plugin/edit.js +97 -97
  442. package/dist/tool/plugin/glob.js +98 -98
  443. package/dist/tool/plugin/grep.js +100 -100
  444. package/dist/tool/plugin/mcp-resource.js +95 -95
  445. package/dist/tool/plugin/opencode.js +86 -86
  446. package/dist/tool/plugin/patch.js +99 -99
  447. package/dist/tool/plugin/question.js +82 -82
  448. package/dist/tool/plugin/read.js +101 -101
  449. package/dist/tool/plugin/shell.js +171 -171
  450. package/dist/tool/plugin/skill.js +90 -90
  451. package/dist/tool/plugin/subagent.js +172 -172
  452. package/dist/tool/plugin/webfetch.js +89 -89
  453. package/dist/tool/plugin/websearch.js +93 -93
  454. package/dist/tool/plugin/write.js +99 -99
  455. package/dist/tool/read-filesystem.js +79 -79
  456. package/dist/tool-output.js +6 -6
  457. package/dist/tool.js +11 -11
  458. package/dist/v1/config/agent.js +4 -4
  459. package/dist/v1/config/command.js +5 -5
  460. package/dist/v1/config/mcp.js +3 -3
  461. package/dist/v1/config/migrate.js +71 -71
  462. package/dist/v1/config/permission.js +3 -3
  463. package/dist/variant.js +73 -73
  464. package/dist/vcs.js +70 -70
  465. package/dist/websearch.js +66 -66
  466. package/dist/wellknown/plugin.js +60 -60
  467. package/dist/wellknown.js +61 -61
  468. package/dist/workspace.js +61 -59
  469. package/dist/worktree/git.js +4 -4
  470. package/dist/worktree/sql.js +3 -3
  471. package/dist/worktree/strategies.js +69 -69
  472. package/dist/worktree.js +73 -73
  473. package/package.json +8 -8
  474. package/dist/chunks/skill-1y4eg5v6.js +0 -253
  475. package/dist/chunks/skill-ew6gp286.js +0 -26
  476. /package/dist/chunks/{skill-xqrmy91b.js → skill-3y9bq3t8.js} +0 -0
  477. /package/dist/chunks/{skill-3cegwx68.js → skill-h2b79v29.js} +0 -0
  478. /package/dist/chunks/{skill-55ej53y0.js → skill-k9cay8kk.js} +0 -0
  479. /package/dist/chunks/{skill-sfkj0ta1.js → skill-qa7075pb.js} +0 -0
  480. /package/dist/chunks/{skill-2ahkrezy.js → skill-t8wv525n.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./skill-dpkg50ah.js";
3
+ } from "./skill-jwcy2c2z.js";
4
4
  import {
5
- Service84,
6
- node88
7
- } from "./skill-t4aysb4r.js";
5
+ Service82,
6
+ node86
7
+ } from "./skill-js8wertj.js";
8
8
  import {
9
- Event19,
10
- Service79,
11
- node82
12
- } from "./skill-sk99bxzn.js";
9
+ Event17,
10
+ Service69,
11
+ node73
12
+ } from "./skill-mnsdmbv8.js";
13
13
  import {
14
- Service81,
15
- node84
16
- } from "./skill-ryhvpn5p.js";
14
+ Service79,
15
+ node83
16
+ } from "./skill-y5fhf6z7.js";
17
17
  import {
18
18
  Service61,
19
19
  node63
20
- } from "./skill-wzyrkyja.js";
20
+ } from "./skill-3njy147n.js";
21
21
  import {
22
- ID16,
23
- Service80,
24
- node83
25
- } from "./skill-cx6aas0z.js";
22
+ ID15,
23
+ Service78,
24
+ node82
25
+ } from "./skill-qcgvqcx7.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
29
  } from "./skill-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID10,
32
32
  MethodID2,
33
- Service78,
34
- node81
35
- } from "./skill-a46s6kbk.js";
33
+ Service68,
34
+ node72
35
+ } from "./skill-6cw3zjxa.js";
36
36
  import {
37
37
  __export
38
38
  } from "./skill-9rqn6x4v.js";
@@ -41,20 +41,20 @@ import {
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError5,
45
- Options: () => Options5,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service42,
52
+ Service: () => Service29,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured5,
56
- layer: () => layer17,
57
- node: () => node45
55
+ configured: () => configured3,
56
+ layer: () => layer12,
57
+ node: () => node32
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service42 extends Context.Service()("@opencode/MCP") {
106
+ class Service29 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options5 = Schema.Struct({
108
+ var Options3 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
115
- const location = yield* Service81;
114
+ var layer12 = (options) => Layer.effect(Service29, Effect.gen(function* () {
115
+ const location = yield* Service79;
116
116
  const environment = yield* Service61;
117
- const bus = yield* Service84;
118
- const forms = yield* Service80;
119
- const integration = yield* Service78;
120
- const credentials = yield* Service79;
117
+ const bus = yield* Service82;
118
+ const forms = yield* Service78;
119
+ const integration = yield* Service68;
120
+ const credentials = yield* Service69;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID14.make(suffix);
132
+ const integrationID = ID10.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service69, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError5({ server: name });
157
+ return yield* new NotFoundError4({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service69, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID16.create();
169
+ const formID = ID15.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -394,7 +394,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service42.of({
423
+ return Service29.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured5(options) {
533
+ function configured3(options) {
534
534
  return makeLocationNode({
535
- service: Service42,
536
- layer: layer17(options),
537
- deps: [node84, node63, node88, node83, node81, node82]
535
+ service: Service29,
536
+ layer: layer12(options),
537
+ deps: [node83, node63, node86, node82, node72, node73]
538
538
  });
539
539
  }
540
- var node45 = configured5();
540
+ var node32 = configured3();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service42, Options5, layer17, configured5, node45, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service29, Options3, layer12, configured3, node32, exports_mcp4 };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./skill-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./skill-55ej53y0.js";
7
+ } from "./skill-k9cay8kk.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -3,16 +3,16 @@ import {
3
3
  } from "./skill-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./skill-a8bn8zg0.js";
7
- import {
8
- Info10
9
- } from "./skill-8hkfkb27.js";
6
+ } from "./skill-50mzsvk4.js";
10
7
  import {
11
8
  Info11
12
- } from "./skill-d216944b.js";
9
+ } from "./skill-1tbv6vyw.js";
10
+ import {
11
+ Info10
12
+ } from "./skill-t2fc4mz5.js";
13
13
  import {
14
- Info9
15
- } from "./skill-w39jehkq.js";
14
+ Info12
15
+ } from "./skill-wh6zw745.js";
16
16
  import {
17
17
  Spec2
18
18
  } from "./skill-2k8khapm.js";
@@ -27,7 +27,7 @@ import {
27
27
  migrateMcp2,
28
28
  migrateProvider2,
29
29
  providerID2
30
- } from "./skill-j7e2g8sj.js";
30
+ } from "./skill-kb1jjea1.js";
31
31
  import {
32
32
  __export
33
33
  } from "./skill-9rqn6x4v.js";
@@ -97,12 +97,12 @@ function normalize2(input) {
97
97
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
98
98
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
99
99
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
100
- const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
100
+ const legacyCommands = decodeMap(input.command, Info10, ["command"], diagnostics, decodeValue);
101
101
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
102
102
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
103
103
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
104
104
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
105
- const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
105
+ const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
106
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
107
107
  const migratedSmallModel = modelSelection2(legacySmallModel);
108
108
  if (legacySmallModel && !migratedSmallModel)
@@ -116,7 +116,7 @@ function normalize2(input) {
116
116
  model: migratedSmallModel,
117
117
  ...legacyAgents.title
118
118
  };
119
- const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
119
+ const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
120
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
121
121
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
122
122
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
217
217
  normalizeMcpTimeout(value, timeout, path, diagnostics);
218
218
  return;
219
219
  }
220
- const server = decodeValue(Info9, value, path, diagnostics);
220
+ const server = decodeValue(Info12, value, path, diagnostics);
221
221
  if (server !== undefined)
222
222
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
223
223
  });
@@ -1,19 +1,19 @@
1
1
  import {
2
- ID11
3
- } from "./skill-dqt5g3hk.js";
2
+ ID14
3
+ } from "./skill-7x2z0ng4.js";
4
4
  import {
5
5
  AbsolutePath2
6
6
  } from "./skill-z5v4ffb3.js";
7
7
  import {
8
- Info10
9
- } from "./skill-8hkfkb27.js";
8
+ Info11
9
+ } from "./skill-1tbv6vyw.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./skill-j7e2g8sj.js";
12
+ } from "./skill-kb1jjea1.js";
13
13
  import {
14
14
  latest2,
15
- Service53
16
- } from "./skill-zx3dt1g9.js";
15
+ Service55
16
+ } from "./skill-taqj60ds.js";
17
17
  import {
18
18
  parseOption2
19
19
  } from "./skill-8m6m0r52.js";
@@ -22,10 +22,10 @@ import {
22
22
  } from "./skill-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin14
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin39
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(Info10);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
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 Plugin14 = define({
47
+ var Plugin39 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service53;
50
+ const config = yield* Service55;
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 Plugin14 = 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(ID11.make(configuredDefault));
79
+ editor.default(ID14.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 = ID11.make(id);
85
+ const agentID = ID14.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 { Plugin14, exports_agent };
164
+ export { Plugin39, exports_agent2 };
@@ -9,22 +9,22 @@ import {
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service19,
12
+ Service: () => Service50,
13
13
  decision: () => decision2,
14
- layer: () => layer9,
15
- node: () => node21,
14
+ layer: () => layer19,
15
+ node: () => node52,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service19 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service50 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer9 = Layer.effect(Service19, Effect.gen(function* () {
24
+ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service19.of({
27
+ return Service50.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer9 = Layer.effect(Service19, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node21 = makeGlobalNode({ service: Service19, layer: layer9, deps: [] });
39
+ var node52 = makeGlobalNode({ service: Service50, layer: layer19, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service19, layer9, node21, statements2, decision2, exports_managed_policy };
53
+ export { Service50, layer19, node52, statements2, decision2, exports_managed_policy };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./skill-d2czbp48.js";
4
+ } from "./skill-4j4tgtq5.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./skill-eknnx2sm.js";
3
+ } from "./skill-04cccj5a.js";
4
4
  import {
5
- Service71
6
- } from "./skill-44ntahsq.js";
5
+ Service73
6
+ } from "./skill-at2p4n3p.js";
7
7
  import {
8
- Service18
9
- } from "./skill-dp6nqh4c.js";
8
+ Service51
9
+ } from "./skill-rj9txymb.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
12
  } from "./skill-0vbcp93d.js";
@@ -16,7 +16,7 @@ import {
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./skill-pnp2bzmq.js";
19
+ } from "./skill-6mp9tdn9.js";
20
20
  import {
21
21
  __export
22
22
  } from "./skill-9rqn6x4v.js";
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin23,
30
+ Plugin: () => Plugin28,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin23 = {
100
+ var Plugin28 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service18;
104
- const permission = yield* Service71;
103
+ const access = yield* Service51;
104
+ const permission = yield* Service73;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin23, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin28, exports_opencode };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service64,
3
- node67,
2
+ Service72,
3
+ node76,
4
4
  canonical3
5
- } from "./skill-wbt93eb0.js";
5
+ } from "./skill-catzw522.js";
6
6
  import {
7
- Service49,
8
- node51
9
- } from "./skill-c8bydgjz.js";
7
+ Service42,
8
+ node44
9
+ } from "./skill-sxzvkvgj.js";
10
10
  import {
11
- Service27
12
- } from "./skill-rsydsym6.js";
11
+ Service70
12
+ } from "./skill-zrt7fk07.js";
13
13
  import {
14
14
  layer2
15
- } from "./skill-1y4eg5v6.js";
15
+ } from "./skill-e0q146ww.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service64, Effect.gen(function* () {
20
+ return Layer.effect(Service72, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service27);
30
+ const lifecycle = Context.get(exit.value, Service70);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node51.replace(Layer.succeed(Service49, {
57
+ node44.replace(Layer.succeed(Service42, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node67.replace(Layer.succeed(Service64, map))
61
+ node76.replace(Layer.succeed(Service72, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./skill-42nr671v.js";
2
+ Service80,
3
+ node84
4
+ } from "./skill-v1msdc2e.js";
5
5
  import {
6
6
  __export
7
7
  } from "./skill-9rqn6x4v.js";
@@ -9,25 +9,25 @@ import {
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info27,
12
+ Info: () => Info26,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service81,
15
+ Service: () => Service79,
16
16
  boundNode: () => boundNode2,
17
- node: () => node84,
17
+ node: () => node83,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service81 extends Context.Service()("@opencode/Location") {
24
+ class Service79 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node84 = LayerNode.unbound(Service81, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
28
- const project = yield* Service82;
26
+ var node83 = LayerNode.unbound(Service79, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
28
+ const project = yield* Service80;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service81.of({
30
+ return Service79.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service81,
38
+ service: Service79,
39
39
  layer: layer(ref),
40
- deps: [node86]
40
+ deps: [node84]
41
41
  });
42
42
 
43
- export { Info27, Ref4, response2, Service81, node84, boundNode2, exports_location };
43
+ export { Info26, Ref4, response2, Service79, node83, boundNode2, exports_location };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID6,
2
+ ID8,
3
3
  Family2
4
- } from "./skill-fredntnj.js";
4
+ } from "./skill-52v53gqf.js";
5
5
  import {
6
- Service53
7
- } from "./skill-zx3dt1g9.js";
6
+ Service55
7
+ } from "./skill-taqj60ds.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./skill-hmmv6qf0.js";
10
+ } from "./skill-561ssg1x.js";
11
11
 
12
12
  // src/plugin/provider/local.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -22,7 +22,7 @@ function createLocalProviderPlugin2(input) {
22
22
  id: input.id,
23
23
  effect: Effect.fn(function* (ctx) {
24
24
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
25
- const config = yield* Service53;
25
+ const config = yield* Service55;
26
26
  const source = { current: configured(yield* config.entries(), input.providerID, origin, suffix) };
27
27
  const loaded = { models: [], hash: "[]" };
28
28
  yield* ctx.integration.transform((integrations) => {
@@ -50,7 +50,7 @@ function createLocalProviderPlugin2(input) {
50
50
  for (const item of loaded.models) {
51
51
  const spec = input.model(item);
52
52
  providers.models.update(input.providerID, spec.id, (model) => {
53
- model.modelID = ID6.make(spec.id);
53
+ model.modelID = ID8.make(spec.id);
54
54
  model.name = spec.name || spec.id;
55
55
  model.family = spec.family ? Family2.make(spec.family) : undefined;
56
56
  model.capabilities = {