@opencode/core 0.0.0-dev-19439 → 0.0.0-dev-19442

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 (466) hide show
  1. package/dist/agent.js +65 -65
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +57 -57
  6. package/dist/catalog.js +67 -67
  7. package/dist/chunks/{formatter-eq20ba7x.js → formatter-07770t2t.js} +5 -5
  8. package/dist/chunks/{formatter-2jvn1219.js → formatter-07g5132y.js} +16 -16
  9. package/dist/chunks/{formatter-9zswys26.js → formatter-0996nyz8.js} +7 -7
  10. package/dist/chunks/{formatter-dtqv72tr.js → formatter-0gegznas.js} +19 -19
  11. package/dist/chunks/{formatter-gp9htv6t.js → formatter-0hc60vqt.js} +3 -3
  12. package/dist/chunks/{formatter-2k8khapm.js → formatter-0jwsre1p.js} +4 -4
  13. package/dist/chunks/formatter-0mesazry.js +4 -0
  14. package/dist/chunks/{formatter-72yrt324.js → formatter-0t7gmehk.js} +15 -15
  15. package/dist/chunks/{formatter-2msj1ncg.js → formatter-0z4ganrk.js} +161 -161
  16. package/dist/chunks/{formatter-0sz3434e.js → formatter-14s5dwzm.js} +20 -20
  17. package/dist/chunks/{formatter-1j6vcx8p.js → formatter-17exey95.js} +19 -19
  18. package/dist/chunks/{formatter-x4hnyy7a.js → formatter-1e1eh5br.js} +9 -9
  19. package/dist/chunks/{formatter-qmr73083.js → formatter-1fa9ans5.js} +1 -1
  20. package/dist/chunks/{formatter-s3fk1mhb.js → formatter-1g7m4r41.js} +8 -8
  21. package/dist/chunks/{formatter-ctck25gh.js → formatter-1ga0n8k4.js} +47 -47
  22. package/dist/chunks/{formatter-619r8v3y.js → formatter-1x11rq2a.js} +4 -4
  23. package/dist/chunks/{formatter-33w4ejhs.js → formatter-1ygqh575.js} +4 -4
  24. package/dist/chunks/{formatter-0ghbvpbq.js → formatter-1z802faq.js} +4 -4
  25. package/dist/chunks/{formatter-2qnv7z47.js → formatter-22mjh9ty.js} +82 -82
  26. package/dist/chunks/{formatter-zemgttac.js → formatter-24g3tesp.js} +24 -24
  27. package/dist/chunks/{formatter-wmsepf1h.js → formatter-27cvmr0a.js} +7 -7
  28. package/dist/chunks/{formatter-1ah30sey.js → formatter-2ee8pmxs.js} +1 -1
  29. package/dist/chunks/{formatter-dyrkrqpz.js → formatter-2fepy6kp.js} +29 -29
  30. package/dist/chunks/{formatter-nbqjn8b8.js → formatter-2j72yz8b.js} +9 -9
  31. package/dist/chunks/{formatter-8kpvhf1n.js → formatter-2jxkcfxh.js} +26 -26
  32. package/dist/chunks/formatter-2ma3xmgy.js +247 -0
  33. package/dist/chunks/{formatter-nszmkgp8.js → formatter-2p4d45ss.js} +34 -34
  34. package/dist/chunks/{formatter-5ztyb0s9.js → formatter-2qbzv385.js} +11 -11
  35. package/dist/chunks/{formatter-fbj83e1y.js → formatter-2xp9zh4w.js} +11 -11
  36. package/dist/chunks/{formatter-2pm4epw0.js → formatter-2ye3w4c6.js} +4 -4
  37. package/dist/chunks/{formatter-8n2resjc.js → formatter-35ybfb31.js} +24 -24
  38. package/dist/chunks/{formatter-y88dd9am.js → formatter-3a3nm9ck.js} +29 -29
  39. package/dist/chunks/{formatter-w4arg62q.js → formatter-3k6sfp50.js} +5 -5
  40. package/dist/chunks/{formatter-3hf7z3yq.js → formatter-3sztcym1.js} +10 -10
  41. package/dist/chunks/{formatter-ybhbtxjg.js → formatter-3x8gcmrs.js} +4 -4
  42. package/dist/chunks/{formatter-s0esgemt.js → formatter-3ythc6yv.js} +3 -3
  43. package/dist/chunks/{formatter-8dnxqjce.js → formatter-41f61ev5.js} +9 -9
  44. package/dist/chunks/{formatter-dh76dsr9.js → formatter-4a4wm3fd.js} +9 -9
  45. package/dist/chunks/{formatter-30txw56n.js → formatter-4gyv9dcq.js} +28 -28
  46. package/dist/chunks/{formatter-668nd1zd.js → formatter-4k602d3g.js} +16 -16
  47. package/dist/chunks/{formatter-gkx770bk.js → formatter-4nc4g32g.js} +10 -10
  48. package/dist/chunks/{formatter-7swy916s.js → formatter-4r64zwvk.js} +18 -18
  49. package/dist/chunks/{formatter-9gk1gqp3.js → formatter-51pnjp32.js} +8 -8
  50. package/dist/chunks/{formatter-285areat.js → formatter-5686k794.js} +6 -6
  51. package/dist/chunks/{formatter-3vd6qc07.js → formatter-5730y88m.js} +6 -6
  52. package/dist/chunks/{formatter-f81hbz6h.js → formatter-5mpmxcn3.js} +7 -7
  53. package/dist/chunks/{formatter-e07ezkqg.js → formatter-5zn8m59m.js} +22 -22
  54. package/dist/chunks/{formatter-pf1rkfgd.js → formatter-63bkm2xc.js} +32 -32
  55. package/dist/chunks/{formatter-f1yt1w90.js → formatter-66gmdr70.js} +24 -24
  56. package/dist/chunks/{formatter-5507e9e8.js → formatter-68mqsjbx.js} +39 -39
  57. package/dist/chunks/{formatter-p1wf2k30.js → formatter-6ck2t1rv.js} +7 -7
  58. package/dist/chunks/{formatter-sv9bpgvh.js → formatter-6jex2xta.js} +1 -1
  59. package/dist/chunks/{formatter-crc3g98t.js → formatter-743vzpe1.js} +8 -8
  60. package/dist/chunks/{formatter-pcfzsj1n.js → formatter-76n9k95k.js} +14 -14
  61. package/dist/chunks/{formatter-qpxqmgt2.js → formatter-77nagcj1.js} +3 -3
  62. package/dist/chunks/{formatter-3cfzdc8e.js → formatter-78v47nsk.js} +3 -3
  63. package/dist/chunks/{formatter-c3w3adeh.js → formatter-79renbpq.js} +1 -1
  64. package/dist/chunks/{formatter-31dz7cp4.js → formatter-7s02b6me.js} +1 -1
  65. package/dist/chunks/{formatter-4jwp497k.js → formatter-7stj2g6t.js} +7 -7
  66. package/dist/chunks/{formatter-hjny2139.js → formatter-7zph4ccs.js} +24 -24
  67. package/dist/chunks/{formatter-skxg4786.js → formatter-8014eh36.js} +39 -39
  68. package/dist/chunks/{formatter-mmwejawh.js → formatter-83jsjxge.js} +34 -34
  69. package/dist/chunks/{formatter-9bzc32ne.js → formatter-844q5q2y.js} +9 -9
  70. package/dist/chunks/{formatter-1cf11pks.js → formatter-86cj3c8h.js} +22 -22
  71. package/dist/chunks/{formatter-tcezcvh9.js → formatter-89znhe33.js} +3 -3
  72. package/dist/chunks/{formatter-pd5ra043.js → formatter-8d321qp1.js} +25 -25
  73. package/dist/chunks/{formatter-9dafp5sw.js → formatter-8gbdh1kt.js} +21 -21
  74. package/dist/chunks/{formatter-7j2qha59.js → formatter-8ppq07x6.js} +7 -7
  75. package/dist/chunks/{formatter-zkae56be.js → formatter-8zy8t8gf.js} +62 -62
  76. package/dist/chunks/{formatter-bkqv14q1.js → formatter-9cetqcc0.js} +4 -4
  77. package/dist/chunks/{formatter-d3cg80ds.js → formatter-9e77hs8e.js} +18 -18
  78. package/dist/chunks/{formatter-y74fwv73.js → formatter-9fwp41vh.js} +7 -7
  79. package/dist/chunks/{formatter-q0b5npqy.js → formatter-9tjnx8ba.js} +8 -8
  80. package/dist/chunks/{formatter-py4eyt8z.js → formatter-9v9evep5.js} +12 -12
  81. package/dist/chunks/{formatter-4swyx596.js → formatter-9yp3h48g.js} +16 -16
  82. package/dist/chunks/{formatter-6zjp47af.js → formatter-acsnj85b.js} +3 -3
  83. package/dist/chunks/{formatter-r6mys28c.js → formatter-aefq2yfw.js} +41 -41
  84. package/dist/chunks/{formatter-t1vfcksq.js → formatter-amm4215g.js} +10 -10
  85. package/dist/chunks/{formatter-j8zzr2am.js → formatter-b0awdqvx.js} +8 -8
  86. package/dist/chunks/{formatter-cct3q0a5.js → formatter-b42np7pe.js} +30 -30
  87. package/dist/chunks/{formatter-0vr1v3xt.js → formatter-b6r1f5rm.js} +9 -9
  88. package/dist/chunks/{formatter-zc49taxq.js → formatter-b95h3j77.js} +12 -12
  89. package/dist/chunks/{formatter-s0sr0rvp.js → formatter-bfajmyfy.js} +10 -10
  90. package/dist/chunks/{formatter-reya8m0q.js → formatter-bmb9q18h.js} +21 -21
  91. package/dist/chunks/{formatter-ndn3zy2s.js → formatter-bwatdc02.js} +10 -10
  92. package/dist/chunks/{formatter-5afqb7wg.js → formatter-cfdfryy5.js} +30 -30
  93. package/dist/chunks/{formatter-j0bxhyf1.js → formatter-cj7ef3kd.js} +6 -6
  94. package/dist/chunks/{formatter-a7xpxmvw.js → formatter-cn9ts38g.js} +18 -18
  95. package/dist/chunks/{formatter-yt0fqk68.js → formatter-cr07tj7n.js} +3 -3
  96. package/dist/chunks/{formatter-fbb40q07.js → formatter-cyqm2h3q.js} +3 -3
  97. package/dist/chunks/{formatter-4j6h5n25.js → formatter-d07z2d7y.js} +12 -12
  98. package/dist/chunks/{formatter-85rv8zbb.js → formatter-d8sdrn5j.js} +13 -13
  99. package/dist/chunks/{formatter-7azxt0pz.js → formatter-d8vv29gg.js} +21 -21
  100. package/dist/chunks/{formatter-ea17m5x7.js → formatter-dg40m71b.js} +20 -20
  101. package/dist/chunks/{formatter-9z5mp38j.js → formatter-dge3x2p3.js} +14 -14
  102. package/dist/chunks/{formatter-a4exdnt3.js → formatter-dghgjkkt.js} +2 -2
  103. package/dist/chunks/{formatter-4b0yvbnv.js → formatter-dkfqzx94.js} +8 -8
  104. package/dist/chunks/{formatter-t56rre3z.js → formatter-dr3wacvp.js} +12 -12
  105. package/dist/chunks/{formatter-2d6j2h4j.js → formatter-dt849bc4.js} +3 -3
  106. package/dist/chunks/{formatter-v4hmzr0r.js → formatter-dv1qgsyq.js} +7 -7
  107. package/dist/chunks/{formatter-krdddzze.js → formatter-ebk5sng0.js} +8 -8
  108. package/dist/chunks/{formatter-021h0nrt.js → formatter-eecr541e.js} +4 -4
  109. package/dist/chunks/{formatter-7s0w6q3c.js → formatter-efcedsnh.js} +20 -20
  110. package/dist/chunks/{formatter-yjptyezs.js → formatter-eq23s0y6.js} +3 -3
  111. package/dist/chunks/{formatter-66g4p5h5.js → formatter-f2rbzmx2.js} +6 -6
  112. package/dist/chunks/{formatter-80e0yyk8.js → formatter-fban3jjy.js} +4 -4
  113. package/dist/chunks/{formatter-edrmdtr5.js → formatter-fdv30zvt.js} +3 -3
  114. package/dist/chunks/{formatter-6jnybvqn.js → formatter-fhs97t90.js} +7 -7
  115. package/dist/chunks/{formatter-18cztcj7.js → formatter-fmmn8x74.js} +1 -1
  116. package/dist/chunks/{formatter-1trm2ftq.js → formatter-fy5dbkry.js} +16 -16
  117. package/dist/chunks/{formatter-90p59b3a.js → formatter-g2y161wv.js} +7 -7
  118. package/dist/chunks/formatter-gkc9xmpb.js +22 -0
  119. package/dist/chunks/{formatter-m4b8n7qx.js → formatter-gwf61436.js} +25 -25
  120. package/dist/chunks/{formatter-w6jjpet8.js → formatter-gxr5v7wk.js} +5 -5
  121. package/dist/chunks/{formatter-nx7dmtbq.js → formatter-gzbxtshv.js} +89 -89
  122. package/dist/chunks/{formatter-4e4zhwn8.js → formatter-hdgeqy3n.js} +24 -24
  123. package/dist/chunks/{formatter-p1kh2k2v.js → formatter-hef2fv9c.js} +18 -18
  124. package/dist/chunks/{formatter-5jtdmvnp.js → formatter-hf8cnsjw.js} +1 -1
  125. package/dist/chunks/{formatter-ggdbhyt9.js → formatter-hp5e6fgb.js} +10 -10
  126. package/dist/chunks/{formatter-2syw43ez.js → formatter-hrmdcqyf.js} +9 -9
  127. package/dist/chunks/{formatter-4yg7xpeb.js → formatter-hv4dbmz4.js} +1 -1
  128. package/dist/chunks/{formatter-x1msyfgj.js → formatter-j5hcmc17.js} +7 -7
  129. package/dist/chunks/{formatter-s54pw8rz.js → formatter-j6qbcxka.js} +5 -5
  130. package/dist/chunks/{formatter-4c2c4z0k.js → formatter-jbtsx043.js} +30 -30
  131. package/dist/chunks/{formatter-0nm12y21.js → formatter-jfkc9b5n.js} +1 -1
  132. package/dist/chunks/{formatter-9hmhmwp5.js → formatter-jm6wy66x.js} +296 -296
  133. package/dist/chunks/{formatter-g9yjs11r.js → formatter-jnjr1yzt.js} +22 -22
  134. package/dist/chunks/{formatter-dv1d3m2q.js → formatter-kfw23kb1.js} +35 -35
  135. package/dist/chunks/{formatter-hk4vbwmw.js → formatter-kgwny488.js} +1 -1
  136. package/dist/chunks/{formatter-bpvz3mp1.js → formatter-knaweb83.js} +14 -14
  137. package/dist/chunks/{formatter-y0m5vzhp.js → formatter-kq1kcxwx.js} +54 -54
  138. package/dist/chunks/{formatter-8z17e00v.js → formatter-kyrbgmgz.js} +1 -1
  139. package/dist/chunks/{formatter-2dcw9sq7.js → formatter-m31d5xjk.js} +27 -27
  140. package/dist/chunks/{formatter-8g8qrqs2.js → formatter-m3ts4v0j.js} +13 -13
  141. package/dist/chunks/{formatter-3pb5g2zf.js → formatter-mjxbdjmk.js} +4 -4
  142. package/dist/chunks/{formatter-cavr175a.js → formatter-mjymc32g.js} +3 -3
  143. package/dist/chunks/{formatter-9adx019p.js → formatter-mq24hmwn.js} +28 -28
  144. package/dist/chunks/{formatter-rsdf2nvv.js → formatter-msq0jde0.js} +3 -3
  145. package/dist/chunks/{formatter-w0psxf7y.js → formatter-mzzxvvcj.js} +16 -16
  146. package/dist/chunks/{formatter-w4vfbj5y.js → formatter-n07qvca3.js} +9 -9
  147. package/dist/chunks/{formatter-fp08gjcx.js → formatter-n3me71ma.js} +20 -20
  148. package/dist/chunks/{formatter-hdbh06sf.js → formatter-n5jxhyy6.js} +24 -24
  149. package/dist/chunks/{formatter-f9bavhm2.js → formatter-n5zjdcc0.js} +1 -1
  150. package/dist/chunks/{formatter-mdjvh03d.js → formatter-n7epfj1e.js} +3 -3
  151. package/dist/chunks/{formatter-617j0ppb.js → formatter-nbcf758j.js} +12 -12
  152. package/dist/chunks/{formatter-8z52dtec.js → formatter-nf8etk0h.js} +14 -14
  153. package/dist/chunks/{formatter-hjt4xg1x.js → formatter-nhy5jxhy.js} +3 -3
  154. package/dist/chunks/{formatter-cbf23dhs.js → formatter-npfjnfyw.js} +14 -14
  155. package/dist/chunks/{formatter-xbtmma79.js → formatter-nt0xtg2m.js} +19 -19
  156. package/dist/chunks/{formatter-wx9wy1qm.js → formatter-p33ejz0k.js} +1 -1
  157. package/dist/chunks/{formatter-00nm36c8.js → formatter-p688bkc5.js} +8 -8
  158. package/dist/chunks/{formatter-2d97fjv4.js → formatter-pd900gms.js} +18 -18
  159. package/dist/chunks/{formatter-81k6gtxt.js → formatter-phasdpa1.js} +16 -16
  160. package/dist/chunks/{formatter-t3ev4bbs.js → formatter-phhzch1s.js} +4 -4
  161. package/dist/chunks/{formatter-vncycja5.js → formatter-pmr4s4kc.js} +3 -3
  162. package/dist/chunks/{formatter-gw0b7z6j.js → formatter-pypsba0w.js} +46 -46
  163. package/dist/chunks/{formatter-kabm8qet.js → formatter-pys7r5ft.js} +16 -16
  164. package/dist/chunks/{formatter-wnhwz1p5.js → formatter-q542kxb4.js} +9 -9
  165. package/dist/chunks/{formatter-vdnmb5h5.js → formatter-qba6esk9.js} +7 -7
  166. package/dist/chunks/{formatter-5yjc0kdb.js → formatter-qfnbjkve.js} +9 -9
  167. package/dist/chunks/{formatter-v8ch97zc.js → formatter-qssq5wvh.js} +1 -1
  168. package/dist/chunks/{formatter-dbmntw5q.js → formatter-qyj995fp.js} +9 -9
  169. package/dist/chunks/{formatter-c92gkee6.js → formatter-r1p8h42q.js} +7 -7
  170. package/dist/chunks/{formatter-yddgxcp4.js → formatter-r1wdcgzk.js} +3 -3
  171. package/dist/chunks/{formatter-r94jn7mf.js → formatter-r78rzmsw.js} +14 -14
  172. package/dist/chunks/{formatter-7be57pfy.js → formatter-ran1x3dp.js} +15 -15
  173. package/dist/chunks/{formatter-6ad8zjmg.js → formatter-rbp9pwyt.js} +22 -22
  174. package/dist/chunks/{formatter-9pv0dm11.js → formatter-rk0rec3h.js} +7 -7
  175. package/dist/chunks/{formatter-mssymtw4.js → formatter-rra39r6b.js} +18 -18
  176. package/dist/chunks/{formatter-9ht5y0bp.js → formatter-rtfynwzt.js} +51 -51
  177. package/dist/chunks/{formatter-y9nhn27x.js → formatter-rx5z47at.js} +31 -31
  178. package/dist/chunks/{formatter-bdhtzght.js → formatter-syd2ek2m.js} +20 -20
  179. package/dist/chunks/{formatter-fghqpq1c.js → formatter-szy17rma.js} +1 -1
  180. package/dist/chunks/{formatter-jy16bfac.js → formatter-t1bhcjx3.js} +1 -1
  181. package/dist/chunks/{formatter-n5d2spsf.js → formatter-tcent856.js} +17 -17
  182. package/dist/chunks/{formatter-g8jasmdt.js → formatter-tdhe5xga.js} +6 -6
  183. package/dist/chunks/{formatter-0t42w751.js → formatter-tjv8j3ty.js} +15 -15
  184. package/dist/chunks/{formatter-a5mbhza4.js → formatter-tkd28t9z.js} +9 -9
  185. package/dist/chunks/{formatter-re8aperj.js → formatter-tmr90kjh.js} +9 -9
  186. package/dist/chunks/{formatter-0vb1f5pm.js → formatter-tvejcd1c.js} +20 -20
  187. package/dist/chunks/{formatter-j06bdbff.js → formatter-tyq6zn03.js} +42 -42
  188. package/dist/chunks/{formatter-qr27hz8v.js → formatter-v6kh18tr.js} +2 -2
  189. package/dist/chunks/{formatter-hatqt65p.js → formatter-v9btxpfp.js} +2 -2
  190. package/dist/chunks/{formatter-8t5w0ytw.js → formatter-vak1nh3a.js} +6 -6
  191. package/dist/chunks/{formatter-0ped3br2.js → formatter-vfbvz2sn.js} +9 -9
  192. package/dist/chunks/{formatter-6rdehx4s.js → formatter-vh2brwev.js} +8 -8
  193. package/dist/chunks/{formatter-5mbh52c5.js → formatter-vjtcf3cg.js} +26 -26
  194. package/dist/chunks/{formatter-dam1xtkf.js → formatter-vwc53vnk.js} +13 -13
  195. package/dist/chunks/{formatter-0mckgfc3.js → formatter-w19rq0qz.js} +30 -30
  196. package/dist/chunks/{formatter-ve6nm2s5.js → formatter-w9nng7hv.js} +5 -5
  197. package/dist/chunks/{formatter-gmwb692f.js → formatter-wf6rfhw9.js} +11 -11
  198. package/dist/chunks/{formatter-h2zbnnby.js → formatter-wkkxymjz.js} +14 -14
  199. package/dist/chunks/{formatter-5n6j4vsj.js → formatter-wndmtb1p.js} +7 -7
  200. package/dist/chunks/{formatter-gab2tx2v.js → formatter-wvx822mk.js} +30 -30
  201. package/dist/chunks/{formatter-hvdm4zjc.js → formatter-x0wwt8km.js} +14 -14
  202. package/dist/chunks/{formatter-ptaftxqm.js → formatter-x4j2hrja.js} +5 -5
  203. package/dist/chunks/{formatter-5syt3tya.js → formatter-x93xphn0.js} +26 -26
  204. package/dist/chunks/{formatter-ts6jc9rr.js → formatter-xejpdtff.js} +39 -39
  205. package/dist/chunks/{formatter-esv2341e.js → formatter-xh0q5d19.js} +33 -33
  206. package/dist/chunks/{formatter-9mxd4efq.js → formatter-xx38zygr.js} +12 -12
  207. package/dist/chunks/{formatter-bz38aey9.js → formatter-xypf59mt.js} +1 -1
  208. package/dist/chunks/{formatter-edqrezaz.js → formatter-xz285jew.js} +3 -3
  209. package/dist/chunks/{formatter-wmpm68aq.js → formatter-xz9wm8d3.js} +6 -6
  210. package/dist/chunks/{formatter-tcgf8zsh.js → formatter-y20mwvjq.js} +1 -1
  211. package/dist/chunks/{formatter-jexxy024.js → formatter-y6f0p4jw.js} +3 -3
  212. package/dist/chunks/{formatter-ttgj08hp.js → formatter-ya3pk50a.js} +4 -4
  213. package/dist/chunks/{formatter-vcx64ysh.js → formatter-yjgtw0qv.js} +42 -42
  214. package/dist/chunks/{formatter-qa1nr178.js → formatter-ymyxwevk.js} +12 -12
  215. package/dist/chunks/{formatter-f3bjm0g3.js → formatter-yvxd7hem.js} +16 -16
  216. package/dist/chunks/{formatter-4mxshjsa.js → formatter-z5249fh5.js} +16 -16
  217. package/dist/chunks/{formatter-y5eyw352.js → formatter-z7nszk6n.js} +7 -7
  218. package/dist/chunks/{formatter-68yeam9s.js → formatter-z8vercf0.js} +8 -8
  219. package/dist/chunks/{formatter-vadmf725.js → formatter-z9bbcn2s.js} +16 -16
  220. package/dist/chunks/{formatter-5jgkwf9z.js → formatter-zae39fg2.js} +8 -8
  221. package/dist/chunks/{formatter-2vs2nh1n.js → formatter-zav06jzw.js} +3 -3
  222. package/dist/chunks/{formatter-5w7tckb9.js → formatter-zcjdhcyr.js} +11 -11
  223. package/dist/chunks/{formatter-9rzgchqg.js → formatter-zetmaeve.js} +19 -19
  224. package/dist/chunks/{formatter-0t1gcbnc.js → formatter-zm73fw82.js} +10 -10
  225. package/dist/chunks/{formatter-095yekjx.js → formatter-zwwmew6a.js} +7 -7
  226. package/dist/codemode/instructions.js +7 -7
  227. package/dist/command.js +67 -67
  228. package/dist/config/discovery.js +60 -60
  229. package/dist/config/normalize.js +16 -16
  230. package/dist/config/plugin/agent.js +85 -85
  231. package/dist/config/plugin/command.js +164 -164
  232. package/dist/config/plugin/compaction.js +118 -118
  233. package/dist/config/plugin/formatter.js +86 -86
  234. package/dist/config/plugin/image.js +85 -85
  235. package/dist/config/plugin/instruction.js +63 -63
  236. package/dist/config/plugin/location-watcher.js +83 -83
  237. package/dist/config/plugin/mcp.js +91 -91
  238. package/dist/config/plugin/policy.js +84 -84
  239. package/dist/config/plugin/provider.js +83 -83
  240. package/dist/config/plugin/reference.js +86 -86
  241. package/dist/config/plugin/shell.js +87 -87
  242. package/dist/config/plugin/skill-file.js +71 -71
  243. package/dist/config/plugin/skill.js +101 -101
  244. package/dist/config/plugin/snapshot.js +85 -85
  245. package/dist/config/plugin/source.js +87 -87
  246. package/dist/config/plugin/tool-output.js +86 -86
  247. package/dist/config/plugin/websearch.js +85 -85
  248. package/dist/config/plugin/worktree.js +88 -88
  249. package/dist/config.js +90 -90
  250. package/dist/credential.js +63 -63
  251. package/dist/database/database.js +57 -57
  252. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  253. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  254. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  255. package/dist/database/drizzle/index.js +10 -10
  256. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  257. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  258. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  259. package/dist/database/drizzle.js +10 -10
  260. package/dist/database/migration.gen.js +34 -34
  261. package/dist/database/migration.js +36 -36
  262. package/dist/database/v1-migration.bun.js +9 -9
  263. package/dist/effect/app-node-builder.js +230 -230
  264. package/dist/environment/environment.js +65 -65
  265. package/dist/environment/index.js +67 -67
  266. package/dist/event-logger.js +11 -11
  267. package/dist/file-access.js +74 -74
  268. package/dist/file-mutation.js +66 -66
  269. package/dist/filesystem/location-watcher-policy.js +5 -5
  270. package/dist/filesystem/location-watcher.js +176 -176
  271. package/dist/filesystem/protected.js +3 -3
  272. package/dist/filesystem/search.js +75 -75
  273. package/dist/filesystem/watcher.js +13 -13
  274. package/dist/filesystem.js +78 -78
  275. package/dist/form.js +70 -70
  276. package/dist/formatter.js +65 -65
  277. package/dist/generate.js +73 -73
  278. package/dist/git.js +5 -5
  279. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  280. package/dist/github-copilot/copilot-provider.js +3 -3
  281. package/dist/github-copilot/models.js +3 -3
  282. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  283. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  284. package/dist/image/photon.js +1 -1
  285. package/dist/image.js +5 -5
  286. package/dist/instance/service.js +5 -5
  287. package/dist/instance.js +306 -306
  288. package/dist/instruction-discovery.js +65 -65
  289. package/dist/instructions/builtins.js +62 -62
  290. package/dist/integration.js +70 -70
  291. package/dist/job.js +61 -61
  292. package/dist/kv.js +56 -56
  293. package/dist/location-activity.js +52 -52
  294. package/dist/location-mutation.js +28 -28
  295. package/dist/location-service-map.js +62 -62
  296. package/dist/location-services.js +304 -304
  297. package/dist/location.js +65 -65
  298. package/dist/mcp/client.js +17 -17
  299. package/dist/mcp/index.js +79 -79
  300. package/dist/mcp/instructions.js +88 -88
  301. package/dist/mcp/stdio.js +62 -62
  302. package/dist/modal/models.js +3 -3
  303. package/dist/model-resolver.js +70 -70
  304. package/dist/model.js +4 -4
  305. package/dist/models-dev.js +62 -62
  306. package/dist/permission/saved.js +62 -62
  307. package/dist/permission.js +81 -81
  308. package/dist/persistent-pty/index.js +68 -68
  309. package/dist/persistent-pty.js +56 -56
  310. package/dist/plugin/agent.js +72 -72
  311. package/dist/plugin/command.js +70 -70
  312. package/dist/plugin/hooks.js +5 -5
  313. package/dist/plugin/host.js +173 -173
  314. package/dist/plugin/instance.js +5 -5
  315. package/dist/plugin/internal.js +278 -278
  316. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  317. package/dist/plugin/models-dev.js +59 -59
  318. package/dist/plugin/module.js +4 -4
  319. package/dist/plugin/optimize.js +2 -2
  320. package/dist/plugin/plan.js +72 -72
  321. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  322. package/dist/plugin/provider/anthropic.js +2 -2
  323. package/dist/plugin/provider/azure.js +87 -87
  324. package/dist/plugin/provider/cerebras.js +2 -2
  325. package/dist/plugin/provider/cloudflare-ai-gateway.js +87 -87
  326. package/dist/plugin/provider/cloudflare-workers-ai.js +87 -87
  327. package/dist/plugin/provider/configured.js +85 -85
  328. package/dist/plugin/provider/digitalocean.js +62 -62
  329. package/dist/plugin/provider/github-copilot.js +64 -64
  330. package/dist/plugin/provider/gitlab.js +3 -3
  331. package/dist/plugin/provider/google-vertex.js +2 -2
  332. package/dist/plugin/provider/kilo.js +2 -2
  333. package/dist/plugin/provider/llmgateway.js +60 -60
  334. package/dist/plugin/provider/lmstudio.js +88 -88
  335. package/dist/plugin/provider/modal.js +63 -63
  336. package/dist/plugin/provider/nvidia.js +2 -2
  337. package/dist/plugin/provider/ollama.js +88 -88
  338. package/dist/plugin/provider/openai.js +61 -61
  339. package/dist/plugin/provider/opencode.js +62 -62
  340. package/dist/plugin/provider/openrouter.js +3 -3
  341. package/dist/plugin/provider/poe.js +59 -59
  342. package/dist/plugin/provider/sap-ai-core.js +2 -2
  343. package/dist/plugin/provider/snowflake-cortex.js +87 -87
  344. package/dist/plugin/provider/vercel.js +2 -2
  345. package/dist/plugin/provider/vllm.js +88 -88
  346. package/dist/plugin/provider/xai.js +61 -61
  347. package/dist/plugin/provider/zenmux.js +2 -2
  348. package/dist/plugin/provider.js +123 -123
  349. package/dist/plugin/sdk.js +60 -60
  350. package/dist/plugin/service.js +3 -3
  351. package/dist/plugin/skill.js +99 -99
  352. package/dist/plugin/supervisor.js +295 -295
  353. package/dist/plugin/update.js +5 -5
  354. package/dist/plugin/variant.js +4 -4
  355. package/dist/plugin/vcs/git.js +62 -62
  356. package/dist/plugin/vcs/hg.js +62 -62
  357. package/dist/plugin/warming.js +83 -83
  358. package/dist/plugin/websearch/exa.js +6 -6
  359. package/dist/plugin/websearch/firecrawl.js +7 -7
  360. package/dist/plugin/websearch/index.js +7 -7
  361. package/dist/plugin/websearch/mcp.js +3 -3
  362. package/dist/plugin/websearch/parallel.js +7 -7
  363. package/dist/plugin/websearch/tavily.js +6 -6
  364. package/dist/plugin.js +184 -184
  365. package/dist/project/schema.js +7 -7
  366. package/dist/project.js +66 -66
  367. package/dist/provider.js +3 -3
  368. package/dist/pty/schema.js +3 -3
  369. package/dist/pty.js +71 -71
  370. package/dist/reference/instructions.js +66 -66
  371. package/dist/reference.js +66 -66
  372. package/dist/repository-cache.js +59 -59
  373. package/dist/ripgrep.js +69 -69
  374. package/dist/rpc.js +62 -62
  375. package/dist/session/command.js +58 -58
  376. package/dist/session/compaction.js +95 -95
  377. package/dist/session/context.js +112 -112
  378. package/dist/session/environment.js +5 -5
  379. package/dist/session/error.js +4 -4
  380. package/dist/session/execution/restart.js +114 -114
  381. package/dist/session/execution.js +97 -97
  382. package/dist/session/generate.js +113 -113
  383. package/dist/session/history.js +4 -4
  384. package/dist/session/inbox.js +67 -67
  385. package/dist/session/info.js +2 -2
  386. package/dist/session/instruction-entry.js +58 -58
  387. package/dist/session/instructions.js +68 -68
  388. package/dist/session/message-updater.js +3 -3
  389. package/dist/session/model-request.js +84 -84
  390. package/dist/session/model-transport.js +7 -7
  391. package/dist/session/move.js +99 -99
  392. package/dist/session/projector.js +60 -60
  393. package/dist/session/prompt.js +75 -75
  394. package/dist/session/provider-context.js +3 -3
  395. package/dist/session/revert.js +63 -63
  396. package/dist/session/runner/index.js +3 -3
  397. package/dist/session/runner/llm.js +181 -181
  398. package/dist/session/runner/model.js +70 -70
  399. package/dist/session/runner/retry.js +84 -84
  400. package/dist/session/runner/step.js +91 -91
  401. package/dist/session/runner/to-llm-message.js +2 -2
  402. package/dist/session/schema.js +5 -5
  403. package/dist/session/session.js +129 -129
  404. package/dist/session/shell.js +96 -96
  405. package/dist/session/skill.js +73 -73
  406. package/dist/session/stats.js +8 -8
  407. package/dist/session/store.js +63 -63
  408. package/dist/session/subagent-job.js +164 -164
  409. package/dist/session/system-prompt.js +3 -3
  410. package/dist/session/title.js +115 -115
  411. package/dist/session/to-session-error.js +81 -81
  412. package/dist/session/transfer.js +112 -112
  413. package/dist/session.js +174 -174
  414. package/dist/shell/parse.js +3 -3
  415. package/dist/shell/select.js +13 -13
  416. package/dist/shell.js +99 -99
  417. package/dist/skill/discovery.js +5 -5
  418. package/dist/skill/instructions.js +77 -77
  419. package/dist/skill.js +80 -80
  420. package/dist/snapshot.js +69 -69
  421. package/dist/tool/mcp.js +89 -89
  422. package/dist/tool/plugin/edit.js +85 -85
  423. package/dist/tool/plugin/glob.js +91 -91
  424. package/dist/tool/plugin/grep.js +91 -91
  425. package/dist/tool/plugin/opencode.js +3 -3
  426. package/dist/tool/plugin/patch.js +87 -87
  427. package/dist/tool/plugin/question.js +75 -75
  428. package/dist/tool/plugin/read.js +92 -92
  429. package/dist/tool/plugin/shell.js +172 -172
  430. package/dist/tool/plugin/skill.js +83 -83
  431. package/dist/tool/plugin/subagent.js +173 -173
  432. package/dist/tool/plugin/webfetch.js +80 -80
  433. package/dist/tool/plugin/websearch.js +84 -84
  434. package/dist/tool/plugin/write.js +87 -87
  435. package/dist/tool/read-filesystem.js +72 -72
  436. package/dist/tool-output.js +6 -6
  437. package/dist/tool.js +11 -11
  438. package/dist/v1/config/agent.js +4 -4
  439. package/dist/v1/config/attachment.js +3 -3
  440. package/dist/v1/config/command.js +3 -3
  441. package/dist/v1/config/config.js +14 -14
  442. package/dist/v1/config/formatter.js +7 -7
  443. package/dist/v1/config/lsp.js +5 -5
  444. package/dist/v1/config/mcp.js +3 -3
  445. package/dist/v1/config/migrate.js +3 -3
  446. package/dist/v1/config/permission.js +3 -3
  447. package/dist/v1/config/plugin.js +3 -3
  448. package/dist/v1/config/provider.js +3 -3
  449. package/dist/v1/config/skills.js +3 -3
  450. package/dist/vcs.js +65 -65
  451. package/dist/websearch.js +66 -66
  452. package/dist/wellknown/plugin.js +58 -58
  453. package/dist/wellknown.js +63 -63
  454. package/dist/workspace/driver.js +5 -5
  455. package/dist/workspace.js +64 -64
  456. package/dist/worktree/git.js +4 -4
  457. package/dist/worktree/refresh.js +292 -292
  458. package/dist/worktree.js +70 -70
  459. package/package.json +8 -8
  460. package/dist/chunks/formatter-35kzsz4m.js +0 -22
  461. package/dist/chunks/formatter-qapv375x.js +0 -4
  462. package/dist/chunks/formatter-tkmn4y3s.js +0 -247
  463. /package/dist/chunks/{formatter-d7r387ef.js → formatter-g97k7hqe.js} +0 -0
  464. /package/dist/chunks/{formatter-qa5ynrpv.js → formatter-jtbqtm0k.js} +0 -0
  465. /package/dist/chunks/{formatter-3pkm5zsv.js → formatter-kwk5x0cs.js} +0 -0
  466. /package/dist/chunks/{formatter-rmk2c50f.js → formatter-wr7ps67x.js} +0 -0
@@ -7,7 +7,7 @@ var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info13,
10
+ Info: () => Info11,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info13 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info11 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info13, exports_permission };
41
+ export { Action2, Object2, Rule2, Info11, exports_permission };
@@ -5,28 +5,28 @@ import {
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./formatter-2d6j2h4j.js";
8
+ } from "./formatter-dt849bc4.js";
9
9
  import {
10
- Service64,
11
- node67
12
- } from "./formatter-6rdehx4s.js";
10
+ Service54,
11
+ node58
12
+ } from "./formatter-vh2brwev.js";
13
13
  import {
14
14
  map2
15
- } from "./formatter-4yg7xpeb.js";
15
+ } from "./formatter-hv4dbmz4.js";
16
16
  import {
17
17
  ID14,
18
18
  VariantID2,
19
19
  Ref3
20
- } from "./formatter-80e0yyk8.js";
20
+ } from "./formatter-fban3jjy.js";
21
21
  import {
22
- ID5,
23
- Service62,
24
- node65
25
- } from "./formatter-zemgttac.js";
22
+ ID16,
23
+ Service76,
24
+ node81
25
+ } from "./formatter-24g3tesp.js";
26
26
  import {
27
- Service61,
28
- node64
29
- } from "./formatter-4e4zhwn8.js";
27
+ Service75,
28
+ node80
29
+ } from "./formatter-hdgeqy3n.js";
30
30
  import {
31
31
  __export
32
32
  } from "./formatter-9rqn6x4v.js";
@@ -35,15 +35,15 @@ import {
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service60,
38
+ Service: () => Service53,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
42
42
  VariantUnavailableError: () => VariantUnavailableError3,
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
- layer: () => layer23,
46
- node: () => node63,
45
+ layer: () => layer22,
46
+ node: () => node57,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service60 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service53 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer23 = Layer.effect(Service60, Effect.gen(function* () {
222
- const catalog = yield* Service61;
223
- const integrations = yield* Service62;
221
+ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
222
+ const catalog = yield* Service75;
223
+ const integrations = yield* Service76;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service64;
225
+ const aisdk = yield* Service54;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID5.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -247,7 +247,7 @@ var layer23 = Layer.effect(Service60, Effect.gen(function* () {
247
247
  websocket: selected.websocket ?? false
248
248
  };
249
249
  });
250
- return Service60.of({
250
+ return Service53.of({
251
251
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
252
252
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
253
253
  if (!selected)
@@ -264,10 +264,10 @@ function usesAPIKeyAuth(packageName) {
264
264
  const name = packageName2(packageName);
265
265
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
266
266
  }
267
- var node63 = makeLocationNode({
268
- service: Service60,
269
- layer: layer23,
270
- deps: [node64, node65, Npm.node, node67]
267
+ var node57 = makeLocationNode({
268
+ service: Service53,
269
+ layer: layer22,
270
+ deps: [node80, node81, Npm.node, node58]
271
271
  });
272
272
 
273
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node63, exports_model_resolver };
273
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service53, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node57, exports_model_resolver };
@@ -5,7 +5,7 @@ import {
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info24,
8
+ Info: () => Info21,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info24 = SessionProviderContext.Info;
22
+ var Info21 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info24, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info21, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service75,
3
- node79
4
- } from "./formatter-1trm2ftq.js";
2
+ Service72,
3
+ node77
4
+ } from "./formatter-fy5dbkry.js";
5
5
  import {
6
6
  create3
7
7
  } from "./formatter-kg06axw8.js";
@@ -10,21 +10,21 @@ import {
10
10
  } from "./formatter-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
- var exports_formatter2 = {};
14
- __export(exports_formatter2, {
15
- Formatter: () => exports_formatter2,
16
- Service: () => Service25,
17
- node: () => node29
13
+ var exports_formatter3 = {};
14
+ __export(exports_formatter3, {
15
+ Formatter: () => exports_formatter3,
16
+ Service: () => Service63,
17
+ node: () => node67
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service25 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service63 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service25, Effect.gen(function* () {
27
- const location = yield* Service75;
26
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
27
+ const location = yield* Service72;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service25.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service63.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node29 = makeLocationNode({
91
- service: Service25,
90
+ var node67 = makeLocationNode({
91
+ service: Service63,
92
92
  layer,
93
- deps: [node79, AppProcess.node]
93
+ deps: [node77, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service25, node29, exports_formatter2 };
96
+ export { Service63, node67, exports_formatter3 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./formatter-3hf7z3yq.js";
3
+ } from "./formatter-3sztcym1.js";
4
4
  import {
5
5
  OAuth3,
6
- Service78
7
- } from "./formatter-8kpvhf1n.js";
6
+ Service77
7
+ } from "./formatter-2jxkcfxh.js";
8
8
  import {
9
- ID5,
9
+ ID16,
10
10
  MethodID2
11
- } from "./formatter-zemgttac.js";
11
+ } from "./formatter-24g3tesp.js";
12
12
  import {
13
13
  ID15
14
- } from "./formatter-2d6j2h4j.js";
14
+ } from "./formatter-dt849bc4.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID5.make("xai"),
46
+ integrationID: ID16.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service78;
72
- yield* Effect.forEach(yield* credentials.list(ID5.make("xai")), (credential) => {
71
+ const credentials = yield* Service77;
72
+ yield* Effect.forEach(yield* credentials.list(ID16.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ephemeral2,
3
3
  Service79,
4
- node83
5
- } from "./formatter-s3fk1mhb.js";
4
+ node84
5
+ } from "./formatter-1g7m4r41.js";
6
6
  import {
7
- Service58,
8
- node61
9
- } from "./formatter-wnhwz1p5.js";
7
+ Service65,
8
+ node69
9
+ } from "./formatter-q542kxb4.js";
10
10
  import {
11
11
  __export
12
12
  } from "./formatter-9rqn6x4v.js";
@@ -16,14 +16,14 @@ var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event9,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service53,
22
+ Service: () => Service46,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node56,
26
- resolve: () => resolve2
25
+ node: () => node51,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service53 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service46 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event9 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service53, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service58;
80
+ const kv = yield* Service65;
81
81
  const bus = yield* Service79;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event9.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service53.of({
115
+ return Service46.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event9.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event9.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node56 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node61, node83] });
146
+ var node51 = makeGlobalNode({ service: Service46, layer, deps: [httpClient, node69, node84] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event11, inspect2, resolve2, node56, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service46, Event9, inspect2, resolve3, node51, exports_wellknown };
@@ -2,14 +2,14 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./formatter-922hggd3.js";
4
4
  import {
5
- Service75
6
- } from "./formatter-1trm2ftq.js";
5
+ Service72
6
+ } from "./formatter-fy5dbkry.js";
7
7
  import {
8
- Service18
9
- } from "./formatter-vadmf725.js";
8
+ Service16
9
+ } from "./formatter-z9bbcn2s.js";
10
10
  import {
11
- Service5
12
- } from "./formatter-p1kh2k2v.js";
11
+ Service11
12
+ } from "./formatter-hef2fv9c.js";
13
13
  import {
14
14
  NotFound2
15
15
  } from "./formatter-2a5m3afh.js";
@@ -23,8 +23,8 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service4
27
- } from "./formatter-bpvz3mp1.js";
26
+ Service12
27
+ } from "./formatter-knaweb83.js";
28
28
  import {
29
29
  __export
30
30
  } from "./formatter-9rqn6x4v.js";
@@ -32,17 +32,17 @@ import {
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input2,
36
- Plugin: () => Plugin3,
35
+ Input: () => Input8,
36
+ Plugin: () => Plugin40,
37
37
  ReadTool: () => exports_read,
38
- name: () => name2,
39
- toModelContent: () => toModelContent2
38
+ name: () => name8,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name2 = "read";
45
+ var name8 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input2 = LocationInput;
56
+ var Input8 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin3 = {
58
+ var Plugin40 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service4;
62
- const access = yield* Service18;
63
- const sessionInstructions = yield* Service5;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service16;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service75;
65
+ const location = yield* Service72;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name2,
67
+ name: name8,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input2,
70
+ input: Input8,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin3 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent2(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent2 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name2, Input2, Plugin3, toModelContent2, exports_read };
183
+ export { name8, Input8, Plugin40, toModelContent4, exports_read };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./formatter-2d6j2h4j.js";
4
+ } from "./formatter-dt849bc4.js";
5
5
 
6
6
  // src/plugin/provider/kilo.ts
7
7
  import { Effect } from "effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useragent2
3
- } from "./formatter-3hf7z3yq.js";
3
+ } from "./formatter-3sztcym1.js";
4
4
  import {
5
5
  ID15
6
- } from "./formatter-2d6j2h4j.js";
6
+ } from "./formatter-dt849bc4.js";
7
7
  import {
8
8
  iife2
9
9
  } from "./formatter-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./formatter-wmsepf1h.js";
12
+ } from "./formatter-27cvmr0a.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./formatter-s3fk1mhb.js";
3
+ } from "./formatter-1g7m4r41.js";
4
4
  import {
5
5
  ID15
6
- } from "./formatter-2d6j2h4j.js";
6
+ } from "./formatter-dt849bc4.js";
7
7
  import {
8
8
  ID14
9
- } from "./formatter-80e0yyk8.js";
9
+ } from "./formatter-fban3jjy.js";
10
10
  import {
11
- Event20
12
- } from "./formatter-8kpvhf1n.js";
11
+ Event19
12
+ } from "./formatter-2jxkcfxh.js";
13
13
  import {
14
- ID5
15
- } from "./formatter-zemgttac.js";
14
+ ID16
15
+ } from "./formatter-24g3tesp.js";
16
16
  import {
17
- Service61
18
- } from "./formatter-4e4zhwn8.js";
17
+ Service75
18
+ } from "./formatter-hdgeqy3n.js";
19
19
  import {
20
20
  get2
21
- } from "./formatter-w6jjpet8.js";
21
+ } from "./formatter-gxr5v7wk.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
@@ -27,7 +27,7 @@ var providerID = ID15.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service61;
30
+ const catalog = yield* Service75;
31
31
  const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./formatter-s3fk1mhb.js";
3
+ } from "./formatter-1g7m4r41.js";
4
4
  import {
5
5
  OAuth3,
6
- Event20
7
- } from "./formatter-8kpvhf1n.js";
6
+ Event19
7
+ } from "./formatter-2jxkcfxh.js";
8
8
  import {
9
- ID5,
9
+ ID16,
10
10
  MethodID2
11
- } from "./formatter-zemgttac.js";
11
+ } from "./formatter-24g3tesp.js";
12
12
  import {
13
13
  ID15,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./formatter-2d6j2h4j.js";
16
+ } from "./formatter-dt849bc4.js";
17
17
  import {
18
- ID4,
19
- Input13,
18
+ ID9,
19
+ Input14,
20
20
  Response2
21
- } from "./formatter-8n2resjc.js";
21
+ } from "./formatter-35ybfb31.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID4
35
+ providerID: ID9
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID5.make("opencode"),
57
+ integrationID: ID16.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  catalog.provider.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID5.make("opencode");
128
+ provider.integrationID = ID16.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
228
228
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
229
229
  const token = credential.type === "oauth" ? credential.access : credential.key;
230
230
  const server = yield* normalizeServer(serverUrl(credential));
231
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
231
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
232
232
  query: input.query,
233
233
  providerID: descriptor.providerID
234
234
  }));
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
250
250
  });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
252
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
254
254
  })
255
255
  });
@@ -6,7 +6,7 @@ import {
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
9
+ make: () => make14,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
32
+ function make14(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };