@opencode/core 0.0.0-dev-466 → 0.0.0-dev-468

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 (538) hide show
  1. package/dist/agent.js +75 -75
  2. package/dist/aisdk-native.js +73 -73
  3. package/dist/aisdk.js +78 -78
  4. package/dist/app.js +9 -9
  5. package/dist/artifact.js +198 -198
  6. package/dist/bus.js +61 -61
  7. package/dist/chunks/{tool-output-djw2zn7q.js → tool-output-003nb3x9.js} +6 -6
  8. package/dist/chunks/{tool-output-n0nkwf14.js → tool-output-0f7cqh9y.js} +19 -19
  9. package/dist/chunks/{tool-output-yb225m05.js → tool-output-0g084y6g.js} +8 -8
  10. package/dist/chunks/{tool-output-gnwamg3p.js → tool-output-0mncc170.js} +18 -18
  11. package/dist/chunks/{tool-output-jx32s6s7.js → tool-output-0qn973hg.js} +41 -41
  12. package/dist/chunks/{tool-output-cf9r8vqq.js → tool-output-0w5jtxws.js} +2 -2
  13. package/dist/chunks/{tool-output-x87ytaxf.js → tool-output-10xvpzbz.js} +8 -8
  14. package/dist/chunks/{tool-output-w6zbx7sx.js → tool-output-15x6q7ay.js} +27 -27
  15. package/dist/chunks/{tool-output-h187kc3f.js → tool-output-1dzaet6x.js} +22 -22
  16. package/dist/chunks/{tool-output-7eev1cf5.js → tool-output-1k3fpg92.js} +16 -16
  17. package/dist/chunks/{tool-output-26wfx3k0.js → tool-output-1q07fp1w.js} +3 -3
  18. package/dist/chunks/{tool-output-f341sazs.js → tool-output-1vbrkdbs.js} +1 -1
  19. package/dist/chunks/{tool-output-v9ez2kgh.js → tool-output-1yq9hg58.js} +4 -4
  20. package/dist/chunks/{tool-output-pxp22qz6.js → tool-output-1zyreaf5.js} +5 -5
  21. package/dist/chunks/{tool-output-8zfy3skd.js → tool-output-20f8tgrs.js} +84 -84
  22. package/dist/chunks/{tool-output-dkrnptrz.js → tool-output-233argac.js} +6 -6
  23. package/dist/chunks/{tool-output-66sfkq4p.js → tool-output-24e6ax7n.js} +21 -21
  24. package/dist/chunks/{tool-output-8b3vzgkx.js → tool-output-25h84942.js} +3 -3
  25. package/dist/chunks/{tool-output-kdrvp24z.js → tool-output-26b1y7rt.js} +15 -15
  26. package/dist/chunks/{tool-output-0p4pmdhq.js → tool-output-2mekcvss.js} +19 -28
  27. package/dist/chunks/{tool-output-5sx3441x.js → tool-output-2mjf8t6w.js} +12 -12
  28. package/dist/chunks/{tool-output-kpa09rhw.js → tool-output-2mn1j6hz.js} +7 -7
  29. package/dist/chunks/{tool-output-ahedfgv0.js → tool-output-2p0swzms.js} +3 -3
  30. package/dist/chunks/{tool-output-0x3mztr9.js → tool-output-2wxwzjqh.js} +16 -16
  31. package/dist/chunks/{tool-output-dcbgjmsj.js → tool-output-34mdyaah.js} +19 -19
  32. package/dist/chunks/{tool-output-anvcme1c.js → tool-output-38aws4xb.js} +3 -3
  33. package/dist/chunks/{tool-output-d2fmx1yk.js → tool-output-3d7bg7jv.js} +17 -17
  34. package/dist/chunks/{tool-output-6sfn6t41.js → tool-output-3hgz1z2m.js} +9 -9
  35. package/dist/chunks/{tool-output-sx8d7w52.js → tool-output-3jc4acfe.js} +23 -23
  36. package/dist/chunks/{tool-output-x7bw7bgf.js → tool-output-3n7vn1tw.js} +24 -24
  37. package/dist/chunks/{tool-output-gnjy40cd.js → tool-output-3vgty9hw.js} +31 -31
  38. package/dist/chunks/{tool-output-2s709x84.js → tool-output-3wyhrqfb.js} +7 -7
  39. package/dist/chunks/{tool-output-7ns7jg7q.js → tool-output-4q33662b.js} +15 -15
  40. package/dist/chunks/{tool-output-hykqydna.js → tool-output-4ze21y5e.js} +15 -15
  41. package/dist/chunks/{tool-output-vatt5ny9.js → tool-output-56pf6jzp.js} +6 -6
  42. package/dist/chunks/{tool-output-m0kck7zd.js → tool-output-58ep7nm1.js} +27 -27
  43. package/dist/chunks/{tool-output-gd47j70e.js → tool-output-5bkchar3.js} +29 -29
  44. package/dist/chunks/{tool-output-hcysfq1n.js → tool-output-5cne3tjk.js} +29 -29
  45. package/dist/chunks/{tool-output-z29mj6ce.js → tool-output-5cvxvtjb.js} +13 -13
  46. package/dist/chunks/{tool-output-ndksvsqq.js → tool-output-5ftq3225.js} +3 -3
  47. package/dist/chunks/{tool-output-4j9dw2d0.js → tool-output-5gvc3re6.js} +28 -28
  48. package/dist/chunks/{tool-output-t3ax3ke3.js → tool-output-5mhm4vfj.js} +16 -16
  49. package/dist/chunks/{tool-output-2r6mdnfq.js → tool-output-5n09j8yg.js} +7 -7
  50. package/dist/chunks/{tool-output-y63ywa2k.js → tool-output-5t6r72gb.js} +9 -9
  51. package/dist/chunks/{tool-output-h4v5z7wp.js → tool-output-60869ztc.js} +3 -3
  52. package/dist/chunks/{tool-output-xksw6ev0.js → tool-output-67wwskyb.js} +3 -3
  53. package/dist/chunks/{tool-output-pdgyk44n.js → tool-output-694pnq3x.js} +1 -25
  54. package/dist/chunks/{tool-output-q1ev5fjc.js → tool-output-69mqj339.js} +12 -12
  55. package/dist/chunks/{tool-output-ycj63wkd.js → tool-output-6d0d1q6g.js} +1 -1
  56. package/dist/chunks/{tool-output-73ps2g3c.js → tool-output-6v0patxj.js} +22 -22
  57. package/dist/chunks/{tool-output-pbfjpsb7.js → tool-output-6x3ndttp.js} +4 -4
  58. package/dist/chunks/{tool-output-sfzk71g3.js → tool-output-6xskjdg4.js} +5 -5
  59. package/dist/chunks/{tool-output-sth9zcg7.js → tool-output-6y88akds.js} +5 -5
  60. package/dist/chunks/{tool-output-bzrt1caw.js → tool-output-76293m8w.js} +31 -31
  61. package/dist/chunks/{tool-output-a78wj5dv.js → tool-output-784aez8k.js} +7 -7
  62. package/dist/chunks/{tool-output-wvr8xscb.js → tool-output-79k544d0.js} +6 -6
  63. package/dist/chunks/{tool-output-we2g0r14.js → tool-output-7bdqzxt9.js} +4 -4
  64. package/dist/chunks/{tool-output-2jft24my.js → tool-output-7bf7hj9s.js} +15 -15
  65. package/dist/chunks/{tool-output-jjvq20ys.js → tool-output-7fc9d4g7.js} +12 -12
  66. package/dist/chunks/{tool-output-hhntqeqf.js → tool-output-7fv8psxd.js} +4 -4
  67. package/dist/chunks/{tool-output-ngc4k3z1.js → tool-output-7jewgrz3.js} +2 -2
  68. package/dist/chunks/{tool-output-yz3xmvrq.js → tool-output-7jm9ds1n.js} +11 -11
  69. package/dist/chunks/{tool-output-5hn8w8k6.js → tool-output-7m6c0hj2.js} +8 -8
  70. package/dist/chunks/{tool-output-byaw3b0t.js → tool-output-7qk9epd7.js} +36 -45
  71. package/dist/chunks/{tool-output-est9w4fd.js → tool-output-7whn3c9q.js} +9 -9
  72. package/dist/chunks/{tool-output-qjsezd78.js → tool-output-8gjkw0js.js} +9 -9
  73. package/dist/chunks/{tool-output-xjhqr95z.js → tool-output-8r9v0q4w.js} +10 -10
  74. package/dist/chunks/{tool-output-qw2t3dzn.js → tool-output-8wjgamp7.js} +3 -3
  75. package/dist/chunks/{tool-output-ab8r1jbv.js → tool-output-93fxe9zc.js} +31 -31
  76. package/dist/chunks/{tool-output-68cs06h1.js → tool-output-963hk181.js} +3 -3
  77. package/dist/chunks/{tool-output-y5h5r084.js → tool-output-98sn12ya.js} +9 -9
  78. package/dist/chunks/{tool-output-5eyjw0yz.js → tool-output-9cb2b2x0.js} +19 -19
  79. package/dist/chunks/{tool-output-aa24rdx2.js → tool-output-9g038b7v.js} +4 -4
  80. package/dist/chunks/{tool-output-v3tjqm7n.js → tool-output-9hyv3ajx.js} +2 -2
  81. package/dist/chunks/{tool-output-0xq8s71y.js → tool-output-9q24xs2v.js} +12 -12
  82. package/dist/chunks/{tool-output-42mcpepz.js → tool-output-a9d80qez.js} +2 -2
  83. package/dist/chunks/{tool-output-cvmhw006.js → tool-output-a9zrx39y.js} +11 -11
  84. package/dist/chunks/{tool-output-qvqcv7sy.js → tool-output-ac2zwpmx.js} +1 -1
  85. package/dist/chunks/{tool-output-10jzpw8f.js → tool-output-adnc1c99.js} +2 -2
  86. package/dist/chunks/{tool-output-ra34yqmw.js → tool-output-ag4egyv9.js} +5 -5
  87. package/dist/chunks/{tool-output-qvgx1mgd.js → tool-output-aj83cngs.js} +4 -4
  88. package/dist/chunks/{tool-output-xztvf178.js → tool-output-atz91cs9.js} +69 -69
  89. package/dist/chunks/{tool-output-h6jcj9p8.js → tool-output-b1w7ct0q.js} +7 -7
  90. package/dist/chunks/{tool-output-5nnwax6m.js → tool-output-b6vsg801.js} +3 -3
  91. package/dist/chunks/{tool-output-n3bkb5q1.js → tool-output-ba7dfhfp.js} +3 -3
  92. package/dist/chunks/{tool-output-q3kq69cx.js → tool-output-bh8w17xh.js} +16 -16
  93. package/dist/chunks/{tool-output-5p8cescm.js → tool-output-bterja0n.js} +3 -3
  94. package/dist/chunks/{tool-output-fjdc7vet.js → tool-output-c9zhd1c6.js} +1 -1
  95. package/dist/chunks/{tool-output-4nqe5hb4.js → tool-output-cat0vb1y.js} +11 -11
  96. package/dist/chunks/{tool-output-4h4fbn9p.js → tool-output-cbt2qz57.js} +8 -8
  97. package/dist/chunks/{tool-output-f2xjtcez.js → tool-output-cncmn02m.js} +10 -10
  98. package/dist/chunks/{tool-output-yngvyh0w.js → tool-output-d34c0f98.js} +3 -3
  99. package/dist/chunks/{tool-output-c5zvymhv.js → tool-output-dg5naf6e.js} +3 -3
  100. package/dist/chunks/tool-output-dj32dvym.js +261 -0
  101. package/dist/chunks/{tool-output-qsfsht85.js → tool-output-drgga8bz.js} +1 -1
  102. package/dist/chunks/{tool-output-2p5k36f2.js → tool-output-dvxnt4qw.js} +30 -30
  103. package/dist/chunks/{tool-output-n7d48jjh.js → tool-output-dxsywhez.js} +7 -7
  104. package/dist/chunks/{tool-output-4g7xdd9d.js → tool-output-e0vqfz96.js} +15 -15
  105. package/dist/chunks/{tool-output-82351en7.js → tool-output-e2cspmt5.js} +10 -10
  106. package/dist/chunks/{tool-output-yszbb02h.js → tool-output-e3d9wnyc.js} +9 -9
  107. package/dist/chunks/{tool-output-xym735jc.js → tool-output-e44hy6kp.js} +3 -3
  108. package/dist/chunks/{tool-output-dsd8sep6.js → tool-output-e4befdmj.js} +7 -7
  109. package/dist/chunks/{tool-output-f1szzr5n.js → tool-output-e8sv3ecx.js} +20 -20
  110. package/dist/chunks/{tool-output-4seebxp0.js → tool-output-eck7g38n.js} +8 -8
  111. package/dist/chunks/{tool-output-8s0gjrq3.js → tool-output-efk301g8.js} +18 -18
  112. package/dist/chunks/{tool-output-gyrwg2kg.js → tool-output-ej9jn8mj.js} +23 -23
  113. package/dist/chunks/{tool-output-5w0rdcwe.js → tool-output-ekqb8f4k.js} +7 -7
  114. package/dist/chunks/{tool-output-z5wh7n3m.js → tool-output-eqad68fz.js} +14 -14
  115. package/dist/chunks/{tool-output-2ty1qw88.js → tool-output-er9xytph.js} +3 -3
  116. package/dist/chunks/{tool-output-xxt856rx.js → tool-output-es1eqkr0.js} +1 -1
  117. package/dist/chunks/{tool-output-tj8zavg0.js → tool-output-ev3m9bcx.js} +11 -11
  118. package/dist/chunks/{tool-output-yk6dfxq1.js → tool-output-ewdy5g4h.js} +3 -3
  119. package/dist/chunks/{tool-output-yc3c4tkd.js → tool-output-ewr5gkwb.js} +10 -10
  120. package/dist/chunks/{tool-output-6zjm2phc.js → tool-output-ezna1kdx.js} +4 -4
  121. package/dist/chunks/{tool-output-adfvhgh8.js → tool-output-f4317sb4.js} +9 -9
  122. package/dist/chunks/{tool-output-qnc8gnan.js → tool-output-fcqh8bpp.js} +28 -28
  123. package/dist/chunks/{tool-output-r8rq6y8n.js → tool-output-ffqz4qa7.js} +10 -10
  124. package/dist/chunks/{tool-output-prq7xxp2.js → tool-output-fg9p65nk.js} +4 -4
  125. package/dist/chunks/{tool-output-bph1244c.js → tool-output-fjxgnb22.js} +21 -21
  126. package/dist/chunks/{tool-output-p64ky49f.js → tool-output-fvhkzny2.js} +22 -22
  127. package/dist/chunks/{tool-output-w687dnns.js → tool-output-fznmdakp.js} +3 -3
  128. package/dist/chunks/{tool-output-wb4c515f.js → tool-output-gb8v6gwe.js} +1 -1
  129. package/dist/chunks/{tool-output-mef8ekqr.js → tool-output-gdzky9ye.js} +16 -16
  130. package/dist/chunks/{tool-output-axq9n4nd.js → tool-output-ggsyfnd7.js} +7 -7
  131. package/dist/chunks/{tool-output-58y85ej2.js → tool-output-h4cqsg37.js} +13 -13
  132. package/dist/chunks/{tool-output-9cdgjr65.js → tool-output-h5bwdsb5.js} +30 -30
  133. package/dist/chunks/{tool-output-18a09hjh.js → tool-output-h5x6jdbe.js} +20 -20
  134. package/dist/chunks/{tool-output-1h3sfksp.js → tool-output-h6qp7cak.js} +4 -4
  135. package/dist/chunks/{tool-output-wt6a3mqf.js → tool-output-h9hc66h4.js} +3 -3
  136. package/dist/chunks/{tool-output-xja22b89.js → tool-output-he0d9e52.js} +8 -8
  137. package/dist/chunks/{tool-output-aqdx993p.js → tool-output-hr4kpn3s.js} +27 -27
  138. package/dist/chunks/{tool-output-a3fn0gmm.js → tool-output-hretfjjx.js} +1 -1
  139. package/dist/chunks/{tool-output-6nnr6ddx.js → tool-output-ht9cd5a6.js} +19 -19
  140. package/dist/chunks/{tool-output-7qg3mtbn.js → tool-output-j1fsn7bn.js} +20 -22
  141. package/dist/chunks/{tool-output-6rpcq00a.js → tool-output-j3rhnfwy.js} +23 -23
  142. package/dist/chunks/{tool-output-fdd0tmq7.js → tool-output-jkrj3e3r.js} +12 -12
  143. package/dist/chunks/{tool-output-wn5njeqz.js → tool-output-jkw133re.js} +8 -8
  144. package/dist/chunks/{tool-output-58vvnw5h.js → tool-output-jsb54h12.js} +9 -9
  145. package/dist/chunks/{tool-output-ps0ytyna.js → tool-output-jy9vhdfa.js} +10 -10
  146. package/dist/chunks/{tool-output-qr3qf9ct.js → tool-output-jyzwnaxr.js} +20 -20
  147. package/dist/chunks/{tool-output-mw0ek7me.js → tool-output-k0nmr3d0.js} +9 -9
  148. package/dist/chunks/{tool-output-2j18gx8c.js → tool-output-k12c5f6w.js} +27 -27
  149. package/dist/chunks/{tool-output-4d5xkhzj.js → tool-output-k3gnvwmc.js} +7 -7
  150. package/dist/chunks/{tool-output-m4ftx5nk.js → tool-output-kfnngk0d.js} +30 -30
  151. package/dist/chunks/{tool-output-fyaaepwe.js → tool-output-kg500zpr.js} +28 -28
  152. package/dist/chunks/{tool-output-hj1t8ssm.js → tool-output-krmwacza.js} +20 -20
  153. package/dist/chunks/{tool-output-4ew25cb5.js → tool-output-krxsh9ks.js} +23 -23
  154. package/dist/chunks/{tool-output-d3aj8f3h.js → tool-output-kv2t3cyj.js} +9 -9
  155. package/dist/chunks/{tool-output-ex8kn217.js → tool-output-m17rt52q.js} +7 -7
  156. package/dist/chunks/{tool-output-ppvp06zs.js → tool-output-m2vvefb9.js} +23 -23
  157. package/dist/chunks/{tool-output-2jjfs7g5.js → tool-output-m6cfdtf3.js} +3 -3
  158. package/dist/chunks/{tool-output-qxa8694e.js → tool-output-mbqn2nbf.js} +12 -12
  159. package/dist/chunks/{tool-output-f5g6d0qb.js → tool-output-mc2p1ws7.js} +20 -20
  160. package/dist/chunks/{tool-output-95kj44hy.js → tool-output-mk99ka2e.js} +7 -7
  161. package/dist/chunks/{tool-output-xvhx3fzq.js → tool-output-mn5s68kz.js} +8 -8
  162. package/dist/chunks/{tool-output-q1edwbg5.js → tool-output-mq4pmep5.js} +16 -16
  163. package/dist/chunks/{tool-output-sf3r2nj7.js → tool-output-mxnpz060.js} +2 -2
  164. package/dist/chunks/tool-output-n5wmf7e7.js +26 -0
  165. package/dist/chunks/{tool-output-sbfaben9.js → tool-output-nd2qx06s.js} +7 -7
  166. package/dist/chunks/{tool-output-d0pyrcv2.js → tool-output-nf1q0ebc.js} +47 -47
  167. package/dist/chunks/{tool-output-ateksmxm.js → tool-output-ngbqbpny.js} +14 -14
  168. package/dist/chunks/{tool-output-p53k08rd.js → tool-output-nq646sks.js} +23 -23
  169. package/dist/chunks/{tool-output-4r6p4fek.js → tool-output-nq8r7s52.js} +4 -4
  170. package/dist/chunks/{tool-output-qfz6bxfd.js → tool-output-nr915jn7.js} +3 -3
  171. package/dist/chunks/{tool-output-2n444ktb.js → tool-output-nv2c5e9q.js} +3 -3
  172. package/dist/chunks/{tool-output-h77r3w1s.js → tool-output-nw1saj90.js} +28 -28
  173. package/dist/chunks/{tool-output-hxrjgpzw.js → tool-output-nz9pn5jw.js} +9 -9
  174. package/dist/chunks/{tool-output-yxjmegqv.js → tool-output-nzaxwfce.js} +30 -30
  175. package/dist/chunks/{tool-output-t6vp9y58.js → tool-output-nzm9kpg0.js} +43 -43
  176. package/dist/chunks/{tool-output-vv9ywpgj.js → tool-output-p2sff4ab.js} +2 -2
  177. package/dist/chunks/{tool-output-hsnq1va6.js → tool-output-p55ejza0.js} +3 -3
  178. package/dist/chunks/{tool-output-60w1zvt0.js → tool-output-pf3vmkke.js} +58 -58
  179. package/dist/chunks/{tool-output-7z9zc7fv.js → tool-output-ppbjty95.js} +34 -34
  180. package/dist/chunks/{tool-output-qykgtxne.js → tool-output-pr168ar6.js} +22 -22
  181. package/dist/chunks/{tool-output-eka5gqec.js → tool-output-pxv0r0tk.js} +18 -18
  182. package/dist/chunks/{tool-output-6r9ht2s4.js → tool-output-q3z02may.js} +2 -2
  183. package/dist/chunks/{tool-output-c83t1a4q.js → tool-output-q3z0vr5a.js} +5 -5
  184. package/dist/chunks/{tool-output-6sxbqbzw.js → tool-output-qa8vg83d.js} +9 -9
  185. package/dist/chunks/{tool-output-parb2748.js → tool-output-qg6qvrnm.js} +2 -2
  186. package/dist/chunks/{tool-output-jc49e2ak.js → tool-output-qgmkp9j8.js} +24 -24
  187. package/dist/chunks/{tool-output-ydd7qh3d.js → tool-output-qhwrm2rz.js} +1 -1
  188. package/dist/chunks/{tool-output-erd82hzj.js → tool-output-qnk9w869.js} +23 -23
  189. package/dist/chunks/{tool-output-xf3q1v2n.js → tool-output-qpmemebt.js} +1 -1
  190. package/dist/chunks/{tool-output-e63h50qx.js → tool-output-qrwmr4mb.js} +24 -24
  191. package/dist/chunks/{tool-output-v093k11a.js → tool-output-qs0v2njn.js} +1 -1
  192. package/dist/chunks/{tool-output-p4g6dtgh.js → tool-output-qyb0apjn.js} +14 -14
  193. package/dist/chunks/{tool-output-py9rnfbe.js → tool-output-rcv43n97.js} +21 -21
  194. package/dist/chunks/{tool-output-4p9gmmpp.js → tool-output-rfwkesfc.js} +33 -33
  195. package/dist/chunks/{tool-output-fjp9qcz0.js → tool-output-rhte1d85.js} +11 -11
  196. package/dist/chunks/{tool-output-nef4x0fv.js → tool-output-rj5f6m6g.js} +17 -17
  197. package/dist/chunks/{tool-output-jdzjtwv2.js → tool-output-rk2h67k3.js} +77 -77
  198. package/dist/chunks/{tool-output-w19hfjk6.js → tool-output-rk6pkc68.js} +10 -10
  199. package/dist/chunks/{tool-output-g6mxdxvy.js → tool-output-rv8zvzdc.js} +6 -6
  200. package/dist/chunks/{tool-output-9rytrcgt.js → tool-output-rxmrkyph.js} +7 -7
  201. package/dist/chunks/{tool-output-530xg6vw.js → tool-output-s4kyhetj.js} +1 -1
  202. package/dist/chunks/{tool-output-3y4xzgma.js → tool-output-s6h1tbfj.js} +12 -12
  203. package/dist/chunks/{tool-output-2cdjxzfg.js → tool-output-sbz71ybr.js} +2 -2
  204. package/dist/chunks/{tool-output-kb33k53g.js → tool-output-sqj1fmw3.js} +7 -7
  205. package/dist/chunks/{tool-output-0j7gp832.js → tool-output-sqjzf8x2.js} +3 -3
  206. package/dist/chunks/{tool-output-ztf6n3de.js → tool-output-syncbfr5.js} +3 -3
  207. package/dist/chunks/{tool-output-80pdnbfy.js → tool-output-t1c5djej.js} +28 -28
  208. package/dist/chunks/{tool-output-jpdapree.js → tool-output-t5pccnhe.js} +13 -13
  209. package/dist/chunks/{tool-output-ww0cyf3z.js → tool-output-tcbneg83.js} +48 -48
  210. package/dist/chunks/{tool-output-e5y560y7.js → tool-output-th2hp9ev.js} +7 -7
  211. package/dist/chunks/{tool-output-d904zbqa.js → tool-output-tj4hnhpr.js} +25 -25
  212. package/dist/chunks/{tool-output-m6f9p571.js → tool-output-tjm2sr5g.js} +21 -21
  213. package/dist/chunks/{tool-output-mpq8mfwy.js → tool-output-tkmbybpd.js} +6 -6
  214. package/dist/chunks/{tool-output-tvgyr2bd.js → tool-output-tn27k7n2.js} +12 -12
  215. package/dist/chunks/{tool-output-vr4vq26x.js → tool-output-tpc5s4y5.js} +43 -43
  216. package/dist/chunks/{tool-output-8a2xbwhq.js → tool-output-v74x3na4.js} +6 -6
  217. package/dist/chunks/{tool-output-amrdb7ww.js → tool-output-v77zgkhm.js} +4 -4
  218. package/dist/chunks/{tool-output-6jbcaht7.js → tool-output-vakqs29q.js} +1 -1
  219. package/dist/chunks/{tool-output-4y71by1a.js → tool-output-vbthxz0p.js} +15 -15
  220. package/dist/chunks/{tool-output-gmg2m67c.js → tool-output-vc37r1zq.js} +6 -6
  221. package/dist/chunks/{tool-output-115b3ms3.js → tool-output-veq5jnq3.js} +9 -9
  222. package/dist/chunks/{tool-output-bgm817xr.js → tool-output-vrcsa8qx.js} +7 -7
  223. package/dist/chunks/{tool-output-x7de2wha.js → tool-output-vt4r9rmy.js} +7 -7
  224. package/dist/chunks/{tool-output-yf1a4qa7.js → tool-output-vtkgm0rk.js} +3 -3
  225. package/dist/chunks/{tool-output-wd84ymt0.js → tool-output-vx0rqq3s.js} +25 -25
  226. package/dist/chunks/{tool-output-wqszm3cq.js → tool-output-vx8z5gpr.js} +5 -5
  227. package/dist/chunks/{tool-output-fv23p420.js → tool-output-vzyjvy19.js} +352 -352
  228. package/dist/chunks/{tool-output-kbd1k1ej.js → tool-output-w2wjze7r.js} +9 -9
  229. package/dist/chunks/{tool-output-f8enq2ta.js → tool-output-w5zv77p4.js} +4 -4
  230. package/dist/chunks/{tool-output-qq4f8yjf.js → tool-output-wfmpece2.js} +19 -19
  231. package/dist/chunks/{tool-output-8t99kr38.js → tool-output-wfs84ra6.js} +3 -3
  232. package/dist/chunks/{tool-output-r11wa1x2.js → tool-output-wk8jtf2z.js} +17 -17
  233. package/dist/chunks/{tool-output-8eap5edk.js → tool-output-wmv27f9c.js} +3 -3
  234. package/dist/chunks/{tool-output-s4xb5t7y.js → tool-output-wshxcgwp.js} +31 -31
  235. package/dist/chunks/{tool-output-81e7rhct.js → tool-output-wt3svnfa.js} +30 -30
  236. package/dist/chunks/{tool-output-9djsjk3f.js → tool-output-wvwgxcbr.js} +37 -37
  237. package/dist/chunks/{tool-output-5r1jnhxq.js → tool-output-wwax6h97.js} +20 -20
  238. package/dist/chunks/{tool-output-ys2kpqh4.js → tool-output-wy9q57d6.js} +10 -10
  239. package/dist/chunks/{tool-output-7nqkf5r1.js → tool-output-x4mcewfn.js} +3 -3
  240. package/dist/chunks/{tool-output-z16qtg1w.js → tool-output-x6613ah8.js} +13 -13
  241. package/dist/chunks/{tool-output-6y63rby9.js → tool-output-xd3zm682.js} +13 -13
  242. package/dist/chunks/{tool-output-2t908x44.js → tool-output-xe8ck1p9.js} +19 -19
  243. package/dist/chunks/{tool-output-22ywg2me.js → tool-output-xft6dn0a.js} +7 -7
  244. package/dist/chunks/{tool-output-55gp94gm.js → tool-output-xtfjfdah.js} +29 -29
  245. package/dist/chunks/{tool-output-v06mza8y.js → tool-output-xw4jh0fq.js} +10 -10
  246. package/dist/chunks/{tool-output-pzp284mp.js → tool-output-y0dmyt4t.js} +23 -23
  247. package/dist/chunks/{tool-output-gqgdr040.js → tool-output-y4ahsw2v.js} +6 -6
  248. package/dist/chunks/{tool-output-w9qm3w4z.js → tool-output-y9wqzmeb.js} +8 -8
  249. package/dist/chunks/{tool-output-bfhbvqd5.js → tool-output-ybr9qycb.js} +20 -20
  250. package/dist/chunks/{tool-output-k1zxkq7r.js → tool-output-yk1y9yyc.js} +8 -8
  251. package/dist/chunks/{tool-output-cq3q9vsf.js → tool-output-ykqp9ed4.js} +19 -19
  252. package/dist/chunks/{tool-output-g5ae1s2z.js → tool-output-ynqstxnz.js} +145 -145
  253. package/dist/chunks/{tool-output-rjz4d94e.js → tool-output-yrevsbh2.js} +7 -7
  254. package/dist/chunks/{tool-output-e0wzwgvk.js → tool-output-z0fjqy87.js} +3 -3
  255. package/dist/chunks/{tool-output-yydqqga9.js → tool-output-zfyb5tr4.js} +3 -3
  256. package/dist/chunks/{tool-output-n18wzqne.js → tool-output-zrc3e38m.js} +1 -1
  257. package/dist/chunks/{tool-output-phn32fwn.js → tool-output-zx10qtpe.js} +17 -17
  258. package/dist/codemode/execution.js +3 -3
  259. package/dist/codemode/fetch.js +107 -107
  260. package/dist/codemode/instructions.js +8 -8
  261. package/dist/codemode/tool.js +112 -112
  262. package/dist/command.js +75 -75
  263. package/dist/config/discovery.js +68 -68
  264. package/dist/config/integration.js +3 -3
  265. package/dist/config/normalize.js +79 -79
  266. package/dist/config/plugin/agent.js +93 -93
  267. package/dist/config/plugin/command.js +180 -180
  268. package/dist/config/plugin/compaction.js +127 -127
  269. package/dist/config/plugin/compatibility.js +110 -110
  270. package/dist/config/plugin/formatter.js +94 -94
  271. package/dist/config/plugin/image.js +93 -93
  272. package/dist/config/plugin/instruction.js +94 -94
  273. package/dist/config/plugin/location-watcher.js +95 -95
  274. package/dist/config/plugin/mcp.js +97 -97
  275. package/dist/config/plugin/policy.js +93 -93
  276. package/dist/config/plugin/provider.js +93 -93
  277. package/dist/config/plugin/reference.js +94 -94
  278. package/dist/config/plugin/shell.js +95 -95
  279. package/dist/config/plugin/skill-file.js +107 -107
  280. package/dist/config/plugin/skill.js +113 -113
  281. package/dist/config/plugin/snapshot.js +93 -93
  282. package/dist/config/plugin/source.js +96 -96
  283. package/dist/config/plugin/tool-output.js +94 -94
  284. package/dist/config/plugin/websearch.js +94 -94
  285. package/dist/config/plugin/worktree.js +94 -94
  286. package/dist/config.js +97 -97
  287. package/dist/credential.js +75 -75
  288. package/dist/database/database.js +60 -60
  289. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  290. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  291. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  292. package/dist/database/drizzle/index.js +9 -9
  293. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  294. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  295. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  296. package/dist/database/drizzle.js +9 -9
  297. package/dist/database/migration.gen.js +49 -49
  298. package/dist/database/migration.js +50 -50
  299. package/dist/database/v1-migration.bun.js +15 -15
  300. package/dist/effect/app-node-builder.js +265 -265
  301. package/dist/environment/environment.js +75 -75
  302. package/dist/environment/index.js +75 -75
  303. package/dist/environment/unavailable.js +3 -3
  304. package/dist/event-logger.js +9 -9
  305. package/dist/file-access.js +114 -114
  306. package/dist/file-mutation.js +76 -76
  307. package/dist/filesystem/file-watch.js +12 -12
  308. package/dist/filesystem/location-watcher-policy.js +5 -5
  309. package/dist/filesystem/location-watcher.js +196 -196
  310. package/dist/filesystem/search.js +79 -79
  311. package/dist/filesystem/watcher.js +7 -7
  312. package/dist/filesystem.js +82 -82
  313. package/dist/form.js +76 -76
  314. package/dist/formatter/builtins.js +3 -3
  315. package/dist/formatter.js +73 -73
  316. package/dist/generate.js +88 -88
  317. package/dist/git.js +7 -7
  318. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  319. package/dist/github-copilot/copilot-provider.js +3 -3
  320. package/dist/github-copilot/models.js +75 -75
  321. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  322. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  323. package/dist/image/notice.js +3 -3
  324. package/dist/image/photon.js +1 -1
  325. package/dist/image.js +5 -5
  326. package/dist/instance/service.js +5 -5
  327. package/dist/instance.js +351 -351
  328. package/dist/instruction-discovery.js +78 -78
  329. package/dist/instructions/builtins.js +73 -73
  330. package/dist/instructions/index.js +5 -5
  331. package/dist/integration.js +72 -72
  332. package/dist/job.js +68 -68
  333. package/dist/kv.js +65 -65
  334. package/dist/location-activity.js +72 -72
  335. package/dist/location-lifecycle.js +112 -112
  336. package/dist/location-service-map.js +72 -72
  337. package/dist/location-services.js +349 -349
  338. package/dist/location.js +73 -73
  339. package/dist/managed-policy.js +2 -2
  340. package/dist/mcp/client.js +17 -17
  341. package/dist/mcp/index.js +89 -89
  342. package/dist/mcp/instructions.js +136 -136
  343. package/dist/mcp/oauth.js +13 -13
  344. package/dist/mcp/stdio.js +72 -72
  345. package/dist/modal/models.js +75 -75
  346. package/dist/model-resolver.js +82 -82
  347. package/dist/model.js +80 -80
  348. package/dist/models-dev.js +89 -89
  349. package/dist/permission/saved.js +67 -67
  350. package/dist/permission.js +113 -113
  351. package/dist/persistent-pty/index.js +80 -80
  352. package/dist/persistent-pty.js +64 -64
  353. package/dist/plugin/agent.js +66 -66
  354. package/dist/plugin/command.js +80 -80
  355. package/dist/plugin/goal.js +3 -3
  356. package/dist/plugin/hooks.js +3 -3
  357. package/dist/plugin/host.js +187 -187
  358. package/dist/plugin/identity.js +5 -5
  359. package/dist/plugin/internal.js +329 -329
  360. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  361. package/dist/plugin/models-dev.js +80 -80
  362. package/dist/plugin/module.js +90 -90
  363. package/dist/plugin/optimize.js +2 -2
  364. package/dist/plugin/plan.js +108 -108
  365. package/dist/plugin/provider/amazon-bedrock.js +75 -75
  366. package/dist/plugin/provider/azure.js +96 -96
  367. package/dist/plugin/provider/chatgpt.js +92 -92
  368. package/dist/plugin/provider/claude-agent/aisdk.js +85 -85
  369. package/dist/plugin/provider/claude-agent/claude/query-options.js +2 -2
  370. package/dist/plugin/provider/claude-agent/claude/sessions.js +10 -10
  371. package/dist/plugin/provider/claude-agent/claude/status.js +3 -3
  372. package/dist/plugin/provider/claude-agent/index.js +103 -103
  373. package/dist/plugin/provider/claude-agent/instructions.js +81 -81
  374. package/dist/plugin/provider/claude-agent/integration.js +80 -80
  375. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  376. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  377. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
  378. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  379. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  380. package/dist/plugin/provider/claude-agent/provider.js +77 -77
  381. package/dist/plugin/provider/claude-agent/session.js +80 -80
  382. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  383. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  384. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  385. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  386. package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
  387. package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
  388. package/dist/plugin/provider/configured.js +90 -90
  389. package/dist/plugin/provider/credential-settings.js +64 -64
  390. package/dist/plugin/provider/digitalocean.js +78 -78
  391. package/dist/plugin/provider/github-copilot.js +80 -80
  392. package/dist/plugin/provider/gitlab.js +77 -77
  393. package/dist/plugin/provider/google-vertex.js +91 -91
  394. package/dist/plugin/provider/llmgateway.js +67 -67
  395. package/dist/plugin/provider/lmstudio.js +99 -99
  396. package/dist/plugin/provider/local.js +96 -96
  397. package/dist/plugin/provider/modal.js +78 -78
  398. package/dist/plugin/provider/ollama.js +99 -99
  399. package/dist/plugin/provider/openai-context-caps.js +74 -74
  400. package/dist/plugin/provider/openai.js +92 -92
  401. package/dist/plugin/provider/opencode.js +94 -94
  402. package/dist/plugin/provider/openrouter.js +75 -75
  403. package/dist/plugin/provider/poe.js +67 -67
  404. package/dist/plugin/provider/refresh.js +65 -65
  405. package/dist/plugin/provider/sap-ai-core.js +74 -74
  406. package/dist/plugin/provider/snowflake-cortex.js +92 -92
  407. package/dist/plugin/provider/vllm.js +99 -99
  408. package/dist/plugin/provider/xai.js +75 -75
  409. package/dist/plugin/provider.js +157 -157
  410. package/dist/plugin/sdk.js +66 -66
  411. package/dist/plugin/service.js +3 -3
  412. package/dist/plugin/skill.js +109 -109
  413. package/dist/plugin/supervisor.js +335 -335
  414. package/dist/plugin/tool-input-repair.js +3 -3
  415. package/dist/plugin/update.js +5 -5
  416. package/dist/plugin/vcs/git.js +72 -72
  417. package/dist/plugin/vcs/hg.js +72 -72
  418. package/dist/plugin/verbosity.js +77 -77
  419. package/dist/plugin/warming.js +94 -94
  420. package/dist/plugin/websearch/exa.js +3 -3
  421. package/dist/plugin/websearch/firecrawl.js +4 -4
  422. package/dist/plugin/websearch/index.js +7 -7
  423. package/dist/plugin/websearch/parallel.js +6 -6
  424. package/dist/plugin/websearch/tavily.js +6 -6
  425. package/dist/plugin/websearch/tinyfish.js +6 -6
  426. package/dist/plugin.js +196 -196
  427. package/dist/project/schema.js +3 -3
  428. package/dist/project.js +74 -74
  429. package/dist/provider.js +79 -79
  430. package/dist/pty.js +86 -86
  431. package/dist/reference/instructions.js +74 -74
  432. package/dist/reference.js +74 -74
  433. package/dist/repository-cache.js +69 -69
  434. package/dist/ripgrep.js +78 -78
  435. package/dist/rpc.js +72 -72
  436. package/dist/schedule/check.js +191 -191
  437. package/dist/schedule.js +198 -198
  438. package/dist/session/blob.js +92 -92
  439. package/dist/session/command.js +66 -66
  440. package/dist/session/compaction.js +128 -128
  441. package/dist/session/context.js +152 -152
  442. package/dist/session/diff.js +72 -72
  443. package/dist/session/environment.js +5 -5
  444. package/dist/session/error.js +2 -2
  445. package/dist/session/execution/restart.js +122 -122
  446. package/dist/session/execution.js +121 -121
  447. package/dist/session/generate.js +152 -152
  448. package/dist/session/history.js +98 -98
  449. package/dist/session/inbox.js +109 -109
  450. package/dist/session/info.js +2 -2
  451. package/dist/session/instruction-entry.js +68 -68
  452. package/dist/session/instruction-state.js +2 -2
  453. package/dist/session/instructions.js +103 -103
  454. package/dist/session/message-updater.js +3 -3
  455. package/dist/session/model-request.js +122 -122
  456. package/dist/session/model-transport.js +5 -5
  457. package/dist/session/move.js +124 -124
  458. package/dist/session/projector.js +104 -104
  459. package/dist/session/prompt.js +110 -110
  460. package/dist/session/revert.js +101 -101
  461. package/dist/session/runner/index.js +3 -3
  462. package/dist/session/runner/llm.js +198 -198
  463. package/dist/session/runner/model.js +83 -83
  464. package/dist/session/runner/publish-llm-event.js +110 -110
  465. package/dist/session/runner/retry.js +4 -4
  466. package/dist/session/runner/step.js +123 -123
  467. package/dist/session/runner/to-llm-message.js +99 -99
  468. package/dist/session/schema.js +5 -5
  469. package/dist/session/session.js +135 -135
  470. package/dist/session/shell.js +103 -103
  471. package/dist/session/skill.js +109 -109
  472. package/dist/session/stats.js +8 -8
  473. package/dist/session/store.js +104 -104
  474. package/dist/session/stored.js +3 -3
  475. package/dist/session/subagent-completion.js +3 -3
  476. package/dist/session/subagent-job.js +181 -181
  477. package/dist/session/system-prompt.js +5 -5
  478. package/dist/session/title.js +153 -153
  479. package/dist/session/to-session-error.js +109 -109
  480. package/dist/session/transfer.js +116 -116
  481. package/dist/session.js +187 -187
  482. package/dist/shared-cache.js +3 -3
  483. package/dist/shell/parse.js +3 -3
  484. package/dist/shell/select.js +14 -14
  485. package/dist/shell.js +106 -106
  486. package/dist/skill/discovery.js +5 -5
  487. package/dist/skill/instructions.js +113 -113
  488. package/dist/skill.js +118 -118
  489. package/dist/snapshot.js +77 -77
  490. package/dist/tool/mcp.js +135 -135
  491. package/dist/tool/plugin/artifact.js +179 -179
  492. package/dist/tool/plugin/edit.js +115 -115
  493. package/dist/tool/plugin/glob.js +124 -124
  494. package/dist/tool/plugin/grep.js +124 -124
  495. package/dist/tool/plugin/image-generate.js +189 -189
  496. package/dist/tool/plugin/mcp-resource.js +118 -118
  497. package/dist/tool/plugin/opencode.js +117 -117
  498. package/dist/tool/plugin/patch.js +123 -123
  499. package/dist/tool/plugin/question.js +110 -110
  500. package/dist/tool/plugin/read.js +125 -125
  501. package/dist/tool/plugin/schedule.js +195 -195
  502. package/dist/tool/plugin/shell.js +182 -182
  503. package/dist/tool/plugin/skill.js +117 -117
  504. package/dist/tool/plugin/subagent.js +186 -186
  505. package/dist/tool/plugin/todo.js +108 -108
  506. package/dist/tool/plugin/webfetch.js +116 -116
  507. package/dist/tool/plugin/websearch.js +117 -117
  508. package/dist/tool/plugin/write.js +123 -123
  509. package/dist/tool/read-filesystem.js +80 -80
  510. package/dist/tool-output.js +5 -5
  511. package/dist/tool.js +118 -118
  512. package/dist/types/session/model-request.d.ts +2 -2
  513. package/dist/usage-limits.js +77 -77
  514. package/dist/v1/config/agent.js +5 -5
  515. package/dist/v1/config/migrate.js +75 -75
  516. package/dist/v1/config/plugin.js +3 -3
  517. package/dist/v1/config/provider.js +3 -3
  518. package/dist/variant.js +75 -75
  519. package/dist/vcs.js +75 -75
  520. package/dist/voice.js +77 -77
  521. package/dist/websearch.js +80 -80
  522. package/dist/wellknown/plugin.js +66 -66
  523. package/dist/wellknown.js +71 -71
  524. package/dist/workspace/driver.js +7 -7
  525. package/dist/workspace.js +71 -71
  526. package/dist/worktree/git.js +4 -4
  527. package/dist/worktree/strategies.js +74 -74
  528. package/dist/worktree.js +78 -78
  529. package/package.json +8 -8
  530. package/dist/chunks/tool-output-2k0qjd71.js +0 -261
  531. package/dist/chunks/tool-output-h8kmj787.js +0 -26
  532. /package/dist/chunks/{tool-output-9b00c1fb.js → tool-output-5ebw3s4g.js} +0 -0
  533. /package/dist/chunks/{tool-output-pd14fbdd.js → tool-output-78hmycys.js} +0 -0
  534. /package/dist/chunks/{tool-output-775hqbnd.js → tool-output-80mg3ag8.js} +0 -0
  535. /package/dist/chunks/{tool-output-mfjzh9b6.js → tool-output-b00xhfda.js} +0 -0
  536. /package/dist/chunks/{tool-output-ybfg1fv3.js → tool-output-kmysz3kf.js} +0 -0
  537. /package/dist/chunks/{tool-output-287n1fg5.js → tool-output-x0tb4wca.js} +0 -0
  538. /package/dist/chunks/{tool-output-j9nxzz3g.js → tool-output-ze75qvmd.js} +0 -0
@@ -3,35 +3,35 @@ import {
3
3
  } from "./tool-output-szwm4crx.js";
4
4
  import {
5
5
  registry2
6
- } from "./tool-output-hxrjgpzw.js";
6
+ } from "./tool-output-nz9pn5jw.js";
7
7
  import {
8
8
  make4
9
- } from "./tool-output-qvqcv7sy.js";
9
+ } from "./tool-output-ac2zwpmx.js";
10
10
  import {
11
- Service83
12
- } from "./tool-output-7ns7jg7q.js";
11
+ Service85
12
+ } from "./tool-output-4q33662b.js";
13
13
  import {
14
14
  register6,
15
15
  connection2
16
- } from "./tool-output-ahedfgv0.js";
17
- import {
18
- register3
19
- } from "./tool-output-8a2xbwhq.js";
20
- import {
21
- register4
22
- } from "./tool-output-c83t1a4q.js";
16
+ } from "./tool-output-2p0swzms.js";
23
17
  import {
24
18
  register2
25
- } from "./tool-output-y63ywa2k.js";
19
+ } from "./tool-output-v74x3na4.js";
20
+ import {
21
+ register3
22
+ } from "./tool-output-q3z0vr5a.js";
26
23
  import {
27
24
  register5
28
- } from "./tool-output-qvgx1mgd.js";
25
+ } from "./tool-output-5t6r72gb.js";
26
+ import {
27
+ register4
28
+ } from "./tool-output-aj83cngs.js";
29
29
  import {
30
- Service60
31
- } from "./tool-output-n0nkwf14.js";
30
+ Service58
31
+ } from "./tool-output-0f7cqh9y.js";
32
32
  import {
33
33
  spawner2
34
- } from "./tool-output-w687dnns.js";
34
+ } from "./tool-output-fznmdakp.js";
35
35
 
36
36
  // src/plugin/provider/claude-agent/index.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -40,8 +40,8 @@ var ID2 = "opencode.provider.claude-agent";
40
40
  var make3 = (io, registry = registry2()) => define({
41
41
  id: ID2,
42
42
  effect: Effect.fn("ClaudeAgent.Plugin")(function* (ctx) {
43
- const environment = yield* Effect.serviceOption(Service60);
44
- const location = yield* Effect.serviceOption(Service83);
43
+ const environment = yield* Effect.serviceOption(Service58);
44
+ const location = yield* Effect.serviceOption(Service85);
45
45
  if (Option.isSome(location) && location.value.workspaceID !== undefined)
46
46
  return;
47
47
  if (Option.isSome(environment) && environment.value.spawner === spawner2)
@@ -52,10 +52,10 @@ var make3 = (io, registry = registry2()) => define({
52
52
  types: ["session.execution.succeeded", "session.execution.failed", "session.execution.interrupted"]
53
53
  }).pipe(Stream.runForEach((event) => sessions.idle(event.data.sessionID)), Effect.forkScoped({ startImmediately: true }));
54
54
  yield* register6(ctx, status, io);
55
- yield* register2(ctx, status);
56
- yield* register3(ctx, sessions);
57
- yield* register5(ctx);
55
+ yield* register5(ctx, status);
56
+ yield* register2(ctx, sessions);
58
57
  yield* register4(ctx);
58
+ yield* register3(ctx);
59
59
  })
60
60
  });
61
61
  var ClaudeAgentPlugin2 = make3(real2);
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service68
3
- } from "./tool-output-4p9gmmpp.js";
3
+ } from "./tool-output-rfwkesfc.js";
4
4
  import {
5
5
  definition2,
6
6
  normalizedName2
7
7
  } from "./tool-output-dbht28n9.js";
8
8
  import {
9
9
  toSessionError2
10
- } from "./tool-output-pxp22qz6.js";
10
+ } from "./tool-output-1zyreaf5.js";
11
11
  import {
12
- Service40
13
- } from "./tool-output-2jjfs7g5.js";
12
+ Service46
13
+ } from "./tool-output-m6cfdtf3.js";
14
14
  import {
15
15
  extension2,
16
16
  display2
17
- } from "./tool-output-1h3sfksp.js";
17
+ } from "./tool-output-h6qp7cak.js";
18
18
  import {
19
19
  __export
20
20
  } from "./tool-output-9rqn6x4v.js";
@@ -102,7 +102,7 @@ var create3 = (inventory, executeTool, permission) => {
102
102
  return resultValue(executed);
103
103
  }),
104
104
  hooks: progressHooks(record)
105
- }), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service40, context), Effect.provideService(Service68, permission));
105
+ }), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service46, context), Effect.provideService(Service68, permission));
106
106
  const toolCalls = yield* Ref.get(calls);
107
107
  const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
108
108
  const output = formatResult(result);
@@ -4,12 +4,12 @@ import {
4
4
  RelativePath2
5
5
  } from "./tool-output-z5v4ffb3.js";
6
6
  import {
7
- Service60,
8
- node62
9
- } from "./tool-output-n0nkwf14.js";
7
+ Service58,
8
+ node60
9
+ } from "./tool-output-0f7cqh9y.js";
10
10
  import {
11
11
  Content4
12
- } from "./tool-output-4j9dw2d0.js";
12
+ } from "./tool-output-5gvc3re6.js";
13
13
  import {
14
14
  detect2
15
15
  } from "./tool-output-4pyp9zr9.js";
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service33,
36
+ Service: () => Service43,
37
37
  TextPage: () => TextPage2,
38
- node: () => node35,
38
+ node: () => node46,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service33 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service43 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service33, Effect.gen(function* () {
334
- const environment = yield* Service60;
335
- return Service33.of({
333
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
334
+ const environment = yield* Service58;
335
+ return Service43.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node35 = makeLocationNode({ service: Service33, layer, deps: [node62] });
340
+ var node46 = makeLocationNode({ service: Service43, layer, deps: [node60] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service33, read2, node35, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service43, read2, node46, exports_read_filesystem };
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  Ref3,
3
- Service75
4
- } from "./tool-output-18a09hjh.js";
3
+ Service81
4
+ } from "./tool-output-h5x6jdbe.js";
5
5
  import {
6
- Service72
7
- } from "./tool-output-t6vp9y58.js";
6
+ Service73
7
+ } from "./tool-output-nzm9kpg0.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./tool-output-hpg1pkwy.js";
11
11
  import {
12
- Service60
13
- } from "./tool-output-n0nkwf14.js";
12
+ Service58
13
+ } from "./tool-output-0f7cqh9y.js";
14
14
  import {
15
15
  SessionMessage2
16
16
  } from "./tool-output-gftt206x.js";
17
17
  import {
18
18
  Service68
19
- } from "./tool-output-4p9gmmpp.js";
19
+ } from "./tool-output-rfwkesfc.js";
20
20
  import {
21
- Service54
22
- } from "./tool-output-f5g6d0qb.js";
21
+ Service17
22
+ } from "./tool-output-mc2p1ws7.js";
23
23
  import {
24
- Service20
25
- } from "./tool-output-81e7rhct.js";
24
+ Service24
25
+ } from "./tool-output-wt3svnfa.js";
26
26
  import {
27
- text2
28
- } from "./tool-output-8b3vzgkx.js";
27
+ text3
28
+ } from "./tool-output-25h84942.js";
29
29
  import {
30
- Service47
31
- } from "./tool-output-cvmhw006.js";
30
+ Service80
31
+ } from "./tool-output-a9zrx39y.js";
32
32
  import {
33
33
  detect2
34
34
  } from "./tool-output-4pyp9zr9.js";
35
35
  import {
36
- Service24
37
- } from "./tool-output-jdzjtwv2.js";
36
+ Service31
37
+ } from "./tool-output-rk2h67k3.js";
38
38
  import {
39
39
  collectBoundedResponseBody2
40
40
  } from "./tool-output-3v8g72cx.js";
@@ -46,13 +46,13 @@ import {
46
46
  var exports_image_generate = {};
47
47
  __export(exports_image_generate, {
48
48
  ImageGenerateTool: () => exports_image_generate,
49
- Input: () => Input9,
49
+ Input: () => Input3,
50
50
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
51
- Output: () => Output6,
52
- Plugin: () => Plugin28,
51
+ Output: () => Output2,
52
+ Plugin: () => Plugin39,
53
53
  defaultModel: () => defaultModel2,
54
- description: () => description5,
55
- name: () => name9
54
+ description: () => description3,
55
+ name: () => name3
56
56
  });
57
57
  import path from "path";
58
58
  import { ToolFailure } from "@opencode/ai/effect";
@@ -60,7 +60,7 @@ import { Identifier } from "@opencode/schema/identifier";
60
60
  import { Global } from "@opencode/util/global";
61
61
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
62
62
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
63
- var name9 = "experimental_image_generate";
63
+ var name3 = "experimental_image_generate";
64
64
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
65
65
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
66
66
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -71,7 +71,7 @@ var EXTENSIONS = {
71
71
  "image/webp": ".webp",
72
72
  "image/gif": ".gif"
73
73
  };
74
- var description5 = [
74
+ var description3 = [
75
75
  "Generates a new image, or edits existing ones.",
76
76
  "Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
77
77
  "Images you pass are used as the source to edit, or as references for style and subject.",
@@ -80,7 +80,7 @@ var description5 = [
80
80
  "Don't repeat a request unless the user asks."
81
81
  ].join(`
82
82
  `);
83
- var Input9 = Schema.Struct({
83
+ var Input3 = Schema.Struct({
84
84
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
85
85
  description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
86
86
  }),
@@ -94,24 +94,24 @@ var Input9 = Schema.Struct({
94
94
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
95
95
  })
96
96
  });
97
- var Output6 = Schema.Struct({
97
+ var Output2 = Schema.Struct({
98
98
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
99
99
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
100
100
  model: Schema.String.annotate({ description: "providerID/modelID" })
101
101
  });
102
- var Plugin28 = {
102
+ var Plugin39 = {
103
103
  id: "opencode.tool.image-generate",
104
104
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
105
- const access = yield* Service54;
106
- const environment = yield* Service60;
107
- const generate = yield* Service20;
105
+ const access = yield* Service17;
106
+ const environment = yield* Service58;
107
+ const generate = yield* Service24;
108
108
  const global = yield* Global.Service;
109
109
  const http = yield* HttpClient.HttpClient;
110
- const config = yield* Service72;
111
- const jobs = yield* Service47;
110
+ const config = yield* Service73;
111
+ const jobs = yield* Service80;
112
112
  const scope = yield* Scope.Scope;
113
- const sessions = yield* Service24;
114
- const models = yield* Service75;
113
+ const sessions = yield* Service31;
114
+ const models = yield* Service81;
115
115
  const permission = yield* Service68;
116
116
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
117
117
  const available = yield* models.available(["image"]);
@@ -188,12 +188,12 @@ var Plugin28 = {
188
188
  id: input.notificationID,
189
189
  sessionID: input.sessionID,
190
190
  description: "Image generation",
191
- text: text2({
191
+ text: text3({
192
192
  id: input.id,
193
193
  state: info.status,
194
194
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
195
195
  }),
196
- metadata: { source: name9, jobID: input.id, state: info.status, path: input.file }
196
+ metadata: { source: name3, jobID: input.id, state: info.status, path: input.file }
197
197
  });
198
198
  yield* jobs.completeBackground(input.notificationID);
199
199
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -212,11 +212,11 @@ var Plugin28 = {
212
212
  if (!enabled || imageGenerate(loaded.entries) === false)
213
213
  return;
214
214
  editor.add({
215
- name: name9,
215
+ name: name3,
216
216
  options: { codemode: false },
217
- description: description5,
218
- input: Input9,
219
- output: Output6,
217
+ description: description3,
218
+ input: Input3,
219
+ output: Output2,
220
220
  execute: (input, context) => Effect.gen(function* () {
221
221
  const source = { type: "tool", messageID: context.messageID, id: context.id };
222
222
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
@@ -226,7 +226,7 @@ var Plugin28 = {
226
226
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
227
227
  const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
228
228
  yield* permission.assert({
229
- action: name9,
229
+ action: name3,
230
230
  resources: [ref],
231
231
  save: ["*"],
232
232
  metadata: { ...input, model: ref },
@@ -294,7 +294,7 @@ Use the read tool on this path to view the image.`;
294
294
  yield* jobs.start({
295
295
  id,
296
296
  notificationID,
297
- type: name9,
297
+ type: name3,
298
298
  title: input.prompt,
299
299
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
300
300
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -333,4 +333,4 @@ function acceptsImages(model) {
333
333
  return model.capabilities.input.some((item) => item.startsWith("image"));
334
334
  }
335
335
 
336
- export { name9, MAX_INPUT_BYTES2, description5, Input9, Output6, Plugin28, defaultModel2, exports_image_generate };
336
+ export { name3, MAX_INPUT_BYTES2, description3, Input3, Output2, Plugin39, defaultModel2, exports_image_generate };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  connectionEnv2
3
- } from "./tool-output-287n1fg5.js";
3
+ } from "./tool-output-x0tb4wca.js";
4
4
  import {
5
5
  Model2
6
- } from "./tool-output-vatt5ny9.js";
6
+ } from "./tool-output-56pf6jzp.js";
7
7
  import {
8
8
  ID3,
9
9
  PACKAGE2
10
- } from "./tool-output-ahedfgv0.js";
10
+ } from "./tool-output-2p0swzms.js";
11
11
  import {
12
12
  __export
13
13
  } from "./tool-output-9rqn6x4v.js";
@@ -16,10 +16,10 @@ import {
16
16
  var exports_aisdk = {};
17
17
  __export(exports_aisdk, {
18
18
  ClaudeAISDK: () => exports_aisdk,
19
- register: () => register3
19
+ register: () => register2
20
20
  });
21
21
  import { Effect } from "effect";
22
- var register3 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
22
+ var register2 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
23
23
  const context = yield* Effect.context();
24
24
  const run = Effect.runPromiseWith(context);
25
25
  const dependencies = {
@@ -39,4 +39,4 @@ var register3 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
39
39
  }), { providerID: ID3 });
40
40
  });
41
41
 
42
- export { register3, exports_aisdk };
42
+ export { register2, exports_aisdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./tool-output-4p9gmmpp.js";
3
+ } from "./tool-output-rfwkesfc.js";
4
4
  import {
5
5
  __export
6
6
  } from "./tool-output-9rqn6x4v.js";
@@ -9,7 +9,7 @@ import {
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin14
12
+ Plugin: () => Plugin12
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai/effect";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin14 = define({
32
+ var Plugin12 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin14, exports_plan };
108
+ export { Plugin12, exports_plan };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID17
3
- } from "./tool-output-bfhbvqd5.js";
3
+ } from "./tool-output-ybr9qycb.js";
4
4
  import {
5
5
  loadSDKFactory2
6
6
  } from "./tool-output-6q2bdcd1.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service83
3
- } from "./tool-output-7ns7jg7q.js";
2
+ Service85
3
+ } from "./tool-output-4q33662b.js";
4
4
  import {
5
- Service72
6
- } from "./tool-output-t6vp9y58.js";
5
+ Service73
6
+ } from "./tool-output-nzm9kpg0.js";
7
7
  import {
8
- Service14
9
- } from "./tool-output-jpdapree.js";
8
+ Service13
9
+ } from "./tool-output-t5pccnhe.js";
10
10
  import {
11
- make18
12
- } from "./tool-output-2cdjxzfg.js";
11
+ make20
12
+ } from "./tool-output-sbz71ybr.js";
13
13
  import {
14
14
  observe2
15
15
  } from "./tool-output-hpg1pkwy.js";
@@ -21,7 +21,7 @@ import {
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin42
24
+ Plugin: () => Plugin22
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 Plugin42 = define({
32
+ var Plugin22 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service72;
36
- const formatter = yield* Service14;
35
+ const config = yield* Service73;
36
+ const formatter = yield* Service13;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
- const location = yield* Service83;
39
+ const location = yield* Service85;
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 Plugin42 = define({
44
44
  const configured = resolve(loaded.entries);
45
45
  if (!configured)
46
46
  return;
47
- const builtIns = make18({
47
+ const builtIns = make20({
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 { Plugin42, exports_formatter };
88
+ export { Plugin22, exports_formatter };
@@ -3,19 +3,19 @@ import {
3
3
  } from "./tool-output-wws03c5r.js";
4
4
  import {
5
5
  ID17,
6
- Service76
7
- } from "./tool-output-bfhbvqd5.js";
6
+ Service82
7
+ } from "./tool-output-ybr9qycb.js";
8
8
  import {
9
9
  load4,
10
10
  derive2
11
- } from "./tool-output-v3tjqm7n.js";
11
+ } from "./tool-output-9hyv3ajx.js";
12
12
  import {
13
13
  Service18,
14
14
  fingerprint2
15
- } from "./tool-output-xym735jc.js";
15
+ } from "./tool-output-e44hy6kp.js";
16
16
  import {
17
17
  start3
18
- } from "./tool-output-sfzk71g3.js";
18
+ } from "./tool-output-6xskjdg4.js";
19
19
 
20
20
  // src/plugin/provider/modal.ts
21
21
  import { Effect } from "effect";
@@ -25,7 +25,7 @@ var providerID = ID17.make("modal");
25
25
  var ModalPlugin2 = define({
26
26
  id: "opencode.provider.modal",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const providers = yield* Service76;
28
+ const providers = yield* Service82;
29
29
  const cache = yield* Service18;
30
30
  const http = yield* HttpClient.HttpClient;
31
31
  const discovered = yield* start3({
@@ -5,8 +5,8 @@ import {
5
5
  Action2
6
6
  } from "./tool-output-w79nt68w.js";
7
7
  import {
8
- Info21
9
- } from "./tool-output-dkrnptrz.js";
8
+ Info20
9
+ } from "./tool-output-233argac.js";
10
10
  import {
11
11
  Info18
12
12
  } from "./tool-output-cpvd08na.js";
@@ -15,10 +15,10 @@ import {
15
15
  } from "./tool-output-t8erkws8.js";
16
16
  import {
17
17
  Spec2
18
- } from "./tool-output-v9ez2kgh.js";
18
+ } from "./tool-output-1yq9hg58.js";
19
19
  import {
20
- Info20
21
- } from "./tool-output-hsnq1va6.js";
20
+ Info21
21
+ } from "./tool-output-p55ejza0.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -28,7 +28,7 @@ import {
28
28
  migrateMcp2,
29
29
  migrateProvider2,
30
30
  providerID2
31
- } from "./tool-output-cf9r8vqq.js";
31
+ } from "./tool-output-0w5jtxws.js";
32
32
  import {
33
33
  __export
34
34
  } from "./tool-output-9rqn6x4v.js";
@@ -103,7 +103,7 @@ function normalize3(input) {
103
103
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
104
104
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
105
105
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
106
- const legacyAgents = mapValues(decodeMap(input.agent, Info21, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info20, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
107
107
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
108
108
  const migratedSmallModel = modelSelection2(legacySmallModel);
109
109
  if (legacySmallModel && !migratedSmallModel)
@@ -117,7 +117,7 @@ function normalize3(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info21, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info20, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
121
121
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
122
122
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
123
123
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -461,7 +461,7 @@ function migrateProviders(value, diagnostics) {
461
461
  diagnoseProviderUnsupported(raw, path, diagnostics);
462
462
  if (invalidProviderOverlays(raw, path, diagnostics))
463
463
  return [];
464
- const provider = decodeValue(Info20, raw, path, diagnostics);
464
+ const provider = decodeValue(Info21, raw, path, diagnostics);
465
465
  if (provider === undefined)
466
466
  return [];
467
467
  const destination = providerID2(name);
@@ -8,9 +8,9 @@ import {
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service7,
11
+ Service: () => Service10,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node8
13
+ node: () => node12
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service7, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service7.of({
66
+ return Service10.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node8 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service7, node8, exports_discovery };
155
+ export { Service10, node12, exports_discovery };