@opencode/core 0.0.0-dev-1288 → 0.0.0-dev-1289

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 (563) hide show
  1. package/dist/agent.js +80 -80
  2. package/dist/aisdk.js +85 -85
  3. package/dist/app.js +11 -11
  4. package/dist/artifact.js +215 -215
  5. package/dist/bus.js +67 -67
  6. package/dist/chunks/{skill-0kd8641e.js → skill-00pmfkn2.js} +4 -4
  7. package/dist/chunks/{skill-t63sx3rf.js → skill-02ya0pww.js} +4 -4
  8. package/dist/chunks/{skill-6adb23kb.js → skill-05yr16e8.js} +13 -13
  9. package/dist/chunks/{skill-z0jdm4k5.js → skill-08bsz23m.js} +19 -19
  10. package/dist/chunks/{skill-6kpkha8e.js → skill-09p6mc78.js} +20 -20
  11. package/dist/chunks/{skill-qfg6bwge.js → skill-0aayx17d.js} +22 -22
  12. package/dist/chunks/{skill-cpvd08na.js → skill-0ahs07zn.js} +3 -3
  13. package/dist/chunks/{skill-rj6htxtc.js → skill-0dxcp800.js} +4 -4
  14. package/dist/chunks/{skill-6559t45n.js → skill-0hcfp01c.js} +13 -13
  15. package/dist/chunks/{skill-h4g6nytk.js → skill-0p8shtje.js} +25 -25
  16. package/dist/chunks/{skill-mh4srk08.js → skill-0sasm2mj.js} +20 -20
  17. package/dist/chunks/{skill-q4kv02me.js → skill-16rc6ajx.js} +38 -38
  18. package/dist/chunks/{skill-g4j39vhd.js → skill-1hvbzqf7.js} +6 -6
  19. package/dist/chunks/{skill-cb28kjhz.js → skill-1wemxep9.js} +21 -21
  20. package/dist/chunks/{skill-w687dnns.js → skill-1yped5qa.js} +3 -3
  21. package/dist/chunks/{skill-qy5agx8k.js → skill-23vqynnw.js} +8 -8
  22. package/dist/chunks/{skill-q4h3vea2.js → skill-28qvn9pn.js} +13 -13
  23. package/dist/chunks/{skill-55x0ca6n.js → skill-29a9ydt5.js} +5 -5
  24. package/dist/chunks/{skill-kf1ntdb9.js → skill-2ak45mg4.js} +17 -17
  25. package/dist/chunks/{skill-rxysp2vp.js → skill-2gtjxgkn.js} +33 -25
  26. package/dist/chunks/{skill-e7w2jmab.js → skill-2n72a457.js} +25 -25
  27. package/dist/chunks/{skill-ypzfmdvb.js → skill-2prt43t7.js} +3 -3
  28. package/dist/chunks/{skill-5gsrpjps.js → skill-2pvj0daj.js} +9 -9
  29. package/dist/chunks/{skill-xcdwrw2g.js → skill-31xqt7sv.js} +7 -7
  30. package/dist/chunks/{skill-54hyepmp.js → skill-34ba9yd5.js} +5 -5
  31. package/dist/chunks/{skill-ysr13b6p.js → skill-34ddrjeh.js} +17 -17
  32. package/dist/chunks/{skill-ty4vgx73.js → skill-37xrvzda.js} +15 -15
  33. package/dist/chunks/{skill-jt6dz72n.js → skill-3c0dxjfp.js} +29 -29
  34. package/dist/chunks/{skill-gdadnt0q.js → skill-3cn35h12.js} +7 -7
  35. package/dist/chunks/{skill-q0eja2hs.js → skill-3g1z23tk.js} +26 -26
  36. package/dist/chunks/{skill-ybsqb9vh.js → skill-3jr5rejc.js} +17 -17
  37. package/dist/chunks/{skill-yz12r0jf.js → skill-3mqsw1x6.js} +9 -9
  38. package/dist/chunks/{skill-fsty9ef7.js → skill-41zfhcvv.js} +30 -30
  39. package/dist/chunks/{skill-mb7e7qw7.js → skill-44x3a7d0.js} +7 -7
  40. package/dist/chunks/{skill-xmm0678x.js → skill-4akzktj1.js} +2 -2
  41. package/dist/chunks/{skill-bgsdyws9.js → skill-4fd97kgc.js} +11 -11
  42. package/dist/chunks/{skill-h1hexrfd.js → skill-4gbxgzcf.js} +10 -10
  43. package/dist/chunks/{skill-nhwnw7z8.js → skill-4kyzazf2.js} +27 -27
  44. package/dist/chunks/{skill-pcds1c82.js → skill-4t6cjxmd.js} +3 -3
  45. package/dist/chunks/{skill-e8d2b6mn.js → skill-4tz7xwxy.js} +35 -35
  46. package/dist/chunks/{skill-9npybxqx.js → skill-4ysjccq4.js} +150 -150
  47. package/dist/chunks/{skill-9rpw5thf.js → skill-530hs2vb.js} +28 -28
  48. package/dist/chunks/{skill-srd5t2wx.js → skill-55zmf6ag.js} +9 -9
  49. package/dist/chunks/{skill-a9q5y6nq.js → skill-583rqj1m.js} +7 -7
  50. package/dist/chunks/{skill-71fa4tkx.js → skill-5h0a6q0s.js} +41 -41
  51. package/dist/chunks/{skill-wt6a3mqf.js → skill-5ns414kb.js} +3 -3
  52. package/dist/chunks/{skill-0xr7csge.js → skill-5vjp84j8.js} +25 -25
  53. package/dist/chunks/{skill-s209603a.js → skill-5wyy7px7.js} +10 -10
  54. package/dist/chunks/{skill-1yq9hg58.js → skill-5zrxpy3q.js} +4 -4
  55. package/dist/chunks/{skill-kpjpjwkm.js → skill-6bfdh9pc.js} +25 -25
  56. package/dist/chunks/{skill-8wxtd3nx.js → skill-6bh0kand.js} +8 -8
  57. package/dist/chunks/{skill-dzfx4xpa.js → skill-6f9dv887.js} +8 -8
  58. package/dist/chunks/{skill-pkdgdegd.js → skill-6fc6gbqb.js} +17 -17
  59. package/dist/chunks/{skill-zcqr2s0j.js → skill-6ham7n9z.js} +1 -1
  60. package/dist/chunks/{skill-tsq3zbsd.js → skill-6rppfpp9.js} +5 -5
  61. package/dist/chunks/{skill-h4zg6gzy.js → skill-6t4etqyq.js} +8 -8
  62. package/dist/chunks/{skill-857aqfhe.js → skill-70mjyt55.js} +19 -19
  63. package/dist/chunks/{skill-9rqfe4ad.js → skill-73ff1310.js} +2 -2
  64. package/dist/chunks/{skill-jv5ccajn.js → skill-78p2h4ex.js} +3 -3
  65. package/dist/chunks/{skill-2brepv0z.js → skill-7edbn8tw.js} +30 -30
  66. package/dist/chunks/{skill-9cy7bv90.js → skill-7f85nwz0.js} +10 -10
  67. package/dist/chunks/{skill-4pyp9zr9.js → skill-7g6gbmjs.js} +2 -1
  68. package/dist/chunks/{skill-8xn5wnt4.js → skill-7h0xs0hp.js} +3 -3
  69. package/dist/chunks/{skill-trexsjkk.js → skill-7m5e46d0.js} +4 -4
  70. package/dist/chunks/{skill-7t89jwbf.js → skill-7qt0z06e.js} +1 -1
  71. package/dist/chunks/{skill-f2zjpyt5.js → skill-7v7any5x.js} +5 -5
  72. package/dist/chunks/{skill-jvqk8r7t.js → skill-81hek7th.js} +22 -22
  73. package/dist/chunks/{skill-zkdm0p6x.js → skill-835yhg2j.js} +14 -14
  74. package/dist/chunks/{skill-xkbnm6m8.js → skill-85af6g8v.js} +46 -46
  75. package/dist/chunks/{skill-wq1xd5na.js → skill-87kxp3gn.js} +10 -10
  76. package/dist/chunks/{skill-0tfnrs7b.js → skill-8fqxwxn3.js} +80 -80
  77. package/dist/chunks/{skill-kzdam8c6.js → skill-8hfctyyf.js} +6 -6
  78. package/dist/chunks/{skill-vpaj1tc4.js → skill-8j0yh7pe.js} +14 -14
  79. package/dist/chunks/{skill-ytfevedp.js → skill-8t9j0vbh.js} +18 -18
  80. package/dist/chunks/{skill-e6xsdcex.js → skill-8y07vnq7.js} +3 -3
  81. package/dist/chunks/{skill-04qc8z7j.js → skill-94e33dpz.js} +1 -1
  82. package/dist/chunks/{skill-tax8e16k.js → skill-9ftwcsef.js} +3 -3
  83. package/dist/chunks/{skill-q32ndhrq.js → skill-9nkjg9qd.js} +5 -5
  84. package/dist/chunks/{skill-s98wrfw7.js → skill-9rg25ym8.js} +2 -2
  85. package/dist/chunks/{skill-r0wrga32.js → skill-a1qwck5h.js} +7 -7
  86. package/dist/chunks/{skill-2m68rr6d.js → skill-a4da54ev.js} +21 -21
  87. package/dist/chunks/{skill-6cen8r5r.js → skill-a8janbyh.js} +15 -15
  88. package/dist/chunks/{skill-2p60zmnr.js → skill-ad21tgm2.js} +3 -3
  89. package/dist/chunks/{skill-9aprp0hr.js → skill-aeh58v89.js} +19 -19
  90. package/dist/chunks/{skill-779a1kce.js → skill-agvaa458.js} +11 -11
  91. package/dist/chunks/{skill-xekq0vej.js → skill-akkwce2p.js} +33 -33
  92. package/dist/chunks/{skill-ez0tast9.js → skill-amnfdvvn.js} +24 -24
  93. package/dist/chunks/{skill-g49394pz.js → skill-an8ygpdc.js} +15 -15
  94. package/dist/chunks/{skill-mykrynga.js → skill-aq35kh2d.js} +10 -10
  95. package/dist/chunks/{skill-y4gmpd10.js → skill-awms6726.js} +2 -2
  96. package/dist/chunks/{skill-776n154v.js → skill-azm68axa.js} +10 -10
  97. package/dist/chunks/{skill-gj096rv2.js → skill-b3q1hvtg.js} +12 -12
  98. package/dist/chunks/{skill-26wfx3k0.js → skill-ba5f9dy2.js} +3 -3
  99. package/dist/chunks/{skill-70b87wq7.js → skill-be5dwegh.js} +1 -1
  100. package/dist/chunks/{skill-2gmad1r4.js → skill-bne54h0r.js} +8 -8
  101. package/dist/chunks/{skill-y9fr1g04.js → skill-brjmya0n.js} +1 -1
  102. package/dist/chunks/{skill-xksw6ev0.js → skill-brv6mkyx.js} +3 -3
  103. package/dist/chunks/{skill-k6haj2vm.js → skill-brzabmq1.js} +11 -11
  104. package/dist/chunks/{skill-e0zepttq.js → skill-btahyfxn.js} +15 -15
  105. package/dist/chunks/{skill-k78pvvak.js → skill-c2wf8p69.js} +9 -9
  106. package/dist/chunks/{skill-qn714ycf.js → skill-cac5zsrz.js} +5 -5
  107. package/dist/chunks/{skill-5b2gq477.js → skill-cdxrxhxa.js} +7 -7
  108. package/dist/chunks/{skill-jq1k8593.js → skill-cy1b0p56.js} +9 -9
  109. package/dist/chunks/{skill-he42nnyh.js → skill-czx08qs3.js} +12 -12
  110. package/dist/chunks/{skill-ftahzyhk.js → skill-d2c0n8v1.js} +1 -1
  111. package/dist/chunks/{skill-ad03y81a.js → skill-d4y36rsf.js} +40 -40
  112. package/dist/chunks/{skill-9ts8ce21.js → skill-de5yb26h.js} +3 -3
  113. package/dist/chunks/{skill-9agfr4d6.js → skill-dkbn087s.js} +2 -2
  114. package/dist/chunks/{skill-88fk8ra6.js → skill-dn30q06y.js} +7 -7
  115. package/dist/chunks/{skill-7y3b0gxe.js → skill-dn7vvezt.js} +22 -22
  116. package/dist/chunks/{skill-w7a3yet4.js → skill-dvqmnp87.js} +3 -3
  117. package/dist/chunks/{skill-0ev6yt64.js → skill-e19by0tj.js} +28 -28
  118. package/dist/chunks/{skill-495vdj1c.js → skill-e5653pfs.js} +7 -7
  119. package/dist/chunks/{skill-67wqnxeg.js → skill-e6eza9pa.js} +12 -12
  120. package/dist/chunks/{skill-3f0anman.js → skill-e70s1wcj.js} +11 -11
  121. package/dist/chunks/{skill-c5m2a8vb.js → skill-e71bb87j.js} +7 -7
  122. package/dist/chunks/{skill-439vg8zg.js → skill-e73pe703.js} +1 -1
  123. package/dist/chunks/{skill-pqpekw9r.js → skill-efzcx815.js} +1 -1
  124. package/dist/chunks/{skill-g2gzn0dm.js → skill-ek2c450p.js} +7 -7
  125. package/dist/chunks/{skill-3j862yd2.js → skill-ek8dn5z5.js} +3 -3
  126. package/dist/chunks/{skill-rcycq7bh.js → skill-ex1vgm7n.js} +8 -8
  127. package/dist/chunks/{skill-461vt668.js → skill-f7hvrhxd.js} +13 -13
  128. package/dist/chunks/{skill-gwyytpcj.js → skill-f80thpwy.js} +3 -3
  129. package/dist/chunks/{skill-0fchx9hj.js → skill-f8jh51n5.js} +9 -9
  130. package/dist/chunks/{skill-vk29xtdn.js → skill-fngenedm.js} +8 -8
  131. package/dist/chunks/{skill-vzqtskbr.js → skill-fsdb1zbj.js} +34 -34
  132. package/dist/chunks/{skill-96m3d58b.js → skill-fshvyy3a.js} +12 -12
  133. package/dist/chunks/{skill-86zcfc4c.js → skill-ftxxn22b.js} +4 -4
  134. package/dist/chunks/{skill-9bk4t4nz.js → skill-fvvxvqrp.js} +25 -25
  135. package/dist/chunks/{skill-63najkvs.js → skill-g3cqzqfs.js} +2 -2
  136. package/dist/chunks/{skill-qw4fr088.js → skill-g9cxvqjb.js} +15 -15
  137. package/dist/chunks/{skill-5v1kbzzt.js → skill-gck0w74f.js} +19 -19
  138. package/dist/chunks/{skill-gqbzaqtg.js → skill-ge7emkab.js} +9 -9
  139. package/dist/chunks/{skill-bhmwncm1.js → skill-ggysf3xd.js} +7 -7
  140. package/dist/chunks/{skill-e164s8vb.js → skill-gjc357wv.js} +29 -29
  141. package/dist/chunks/{skill-s4kyhetj.js → skill-gjnyez1s.js} +3 -3
  142. package/dist/chunks/{skill-gm1em1g1.js → skill-gz501xkt.js} +15 -15
  143. package/dist/chunks/{skill-p722s6re.js → skill-h6k4j8gr.js} +10 -10
  144. package/dist/chunks/{skill-w6ax8ecs.js → skill-ha27dm6a.js} +17 -17
  145. package/dist/chunks/{skill-0nk245hp.js → skill-hdv5g955.js} +21 -21
  146. package/dist/chunks/{skill-4vh8e1q7.js → skill-hf0tdtbj.js} +6 -6
  147. package/dist/chunks/{skill-ztxtkq44.js → skill-hfefzga6.js} +11 -11
  148. package/dist/chunks/{skill-21jyc2zq.js → skill-hg6rfv73.js} +10 -10
  149. package/dist/chunks/{skill-8pvbfnhx.js → skill-hgfjmfwb.js} +1 -1
  150. package/dist/chunks/{skill-5462zn5f.js → skill-hm2py80f.js} +13 -13
  151. package/dist/chunks/{skill-66sjh686.js → skill-hyx6bsx1.js} +22 -22
  152. package/dist/chunks/{skill-5d5yp73e.js → skill-j10zz1gx.js} +19 -19
  153. package/dist/chunks/{skill-exayx9c2.js → skill-j56v13vn.js} +8 -8
  154. package/dist/chunks/{skill-f86yk39q.js → skill-japaj4n9.js} +9 -9
  155. package/dist/chunks/{skill-88gs4f06.js → skill-jbwkk6ab.js} +6 -6
  156. package/dist/chunks/{skill-jmcdzceq.js → skill-je1tg5nn.js} +23 -23
  157. package/dist/chunks/{skill-f0t7yv95.js → skill-jegr924z.js} +8 -8
  158. package/dist/chunks/{skill-tr8x705m.js → skill-jht64jd1.js} +3 -3
  159. package/dist/chunks/{skill-nm2a7b5s.js → skill-jmv33hj0.js} +28 -28
  160. package/dist/chunks/{skill-pmvha8p2.js → skill-jq10t2yk.js} +7 -7
  161. package/dist/chunks/{skill-q7vty0a9.js → skill-jqavjjfa.js} +20 -20
  162. package/dist/chunks/{skill-vvhvz5v6.js → skill-knq5zpdc.js} +6 -6
  163. package/dist/chunks/{skill-6aysq5vq.js → skill-kr3b8h6a.js} +14 -14
  164. package/dist/chunks/{skill-w2b8mj54.js → skill-kxpf5d23.js} +15 -15
  165. package/dist/chunks/{skill-rwz4qwm5.js → skill-m0v1nx60.js} +21 -21
  166. package/dist/chunks/{skill-af5h9vj2.js → skill-m8gcf2xa.js} +358 -358
  167. package/dist/chunks/{skill-q963thn8.js → skill-m9hanyrx.js} +3 -3
  168. package/dist/chunks/{skill-se3qh63c.js → skill-me1931mg.js} +68 -68
  169. package/dist/chunks/{skill-cendkn2m.js → skill-mpd68p8f.js} +14 -14
  170. package/dist/chunks/{skill-6sf4gdbt.js → skill-mq4p7hh6.js} +20 -20
  171. package/dist/chunks/{skill-kg05dcep.js → skill-ms7w2f0p.js} +38 -38
  172. package/dist/chunks/skill-na4j4pj3.js +26 -0
  173. package/dist/chunks/{skill-j186219z.js → skill-nc9nvr4s.js} +21 -21
  174. package/dist/chunks/{skill-ggtm172q.js → skill-nckms97z.js} +3 -3
  175. package/dist/chunks/{skill-44erdk8z.js → skill-nmff4vdb.js} +13 -13
  176. package/dist/chunks/{skill-rzx3251q.js → skill-nmtv1yff.js} +11 -11
  177. package/dist/chunks/{skill-y2j4d7b6.js → skill-p61qhw8k.js} +7 -7
  178. package/dist/chunks/{skill-fd1fb83z.js → skill-p8hfdmeg.js} +11 -11
  179. package/dist/chunks/{skill-68qm1786.js → skill-p8rnc9ff.js} +9 -9
  180. package/dist/chunks/{skill-75fqvagm.js → skill-pd7731ad.js} +12 -12
  181. package/dist/chunks/{skill-92m3eqsk.js → skill-pekznmtf.js} +13 -13
  182. package/dist/chunks/{skill-fg9p65nk.js → skill-prq7xxp2.js} +4 -4
  183. package/dist/chunks/{skill-qvb92zbx.js → skill-q6wt2jfg.js} +26 -26
  184. package/dist/chunks/{skill-7fze536j.js → skill-q9xvkj9c.js} +45 -45
  185. package/dist/chunks/{skill-94hpwp71.js → skill-qe287z11.js} +3 -3
  186. package/dist/chunks/{skill-me0dhgxs.js → skill-qmh7vbk2.js} +4 -4
  187. package/dist/chunks/{skill-cey47jp0.js → skill-qqqy4pp5.js} +42 -42
  188. package/dist/chunks/{skill-03tcc1wc.js → skill-qqt05yh5.js} +9 -9
  189. package/dist/chunks/{skill-xz6s9d9v.js → skill-qtspk4m2.js} +27 -27
  190. package/dist/chunks/{skill-gdmbfj8d.js → skill-qxnwwp4f.js} +33 -33
  191. package/dist/chunks/{skill-sk5qsbcw.js → skill-qycm87ym.js} +3 -3
  192. package/dist/chunks/{skill-xacrkbdt.js → skill-r17fbvme.js} +3 -3
  193. package/dist/chunks/{skill-7dkfmmsp.js → skill-r2c71qh7.js} +16 -16
  194. package/dist/chunks/{skill-pnyht9cq.js → skill-r3w0e376.js} +1 -1
  195. package/dist/chunks/{skill-dy41a2ws.js → skill-r4yhzkx5.js} +7 -7
  196. package/dist/chunks/{skill-h4kbzpph.js → skill-rj5kxn5x.js} +22 -22
  197. package/dist/chunks/{skill-cpzt8qfw.js → skill-rmb0d2he.js} +4 -4
  198. package/dist/chunks/{skill-adjefrk5.js → skill-rvj3hvfb.js} +19 -19
  199. package/dist/chunks/{skill-q4c6m8h2.js → skill-s12vsefe.js} +1 -1
  200. package/dist/chunks/{skill-jkdcm5hg.js → skill-s26c8eb5.js} +3 -3
  201. package/dist/chunks/{skill-w4fj6w8c.js → skill-s685wf85.js} +4 -4
  202. package/dist/chunks/{skill-ntjqk3rm.js → skill-s6m5tnzx.js} +17 -17
  203. package/dist/chunks/{skill-h3ks57pr.js → skill-sac6s26t.js} +78 -78
  204. package/dist/chunks/{skill-z080rjh6.js → skill-sf9y72b7.js} +3 -3
  205. package/dist/chunks/{skill-rzk485s7.js → skill-sqfxeqqz.js} +22 -22
  206. package/dist/chunks/{skill-1x2p7x5n.js → skill-tavdr0cm.js} +25 -25
  207. package/dist/chunks/{skill-8mb4vsq0.js → skill-teycsgxm.js} +26 -26
  208. package/dist/chunks/{skill-etrnj9s7.js → skill-tf9r37f3.js} +9 -9
  209. package/dist/chunks/{skill-pdc5q8mj.js → skill-tfvg6qv8.js} +11 -11
  210. package/dist/chunks/{skill-gxs71cxp.js → skill-tg7s7b5t.js} +3 -3
  211. package/dist/chunks/{skill-t5ymqest.js → skill-tgekmjc5.js} +9 -9
  212. package/dist/chunks/{skill-tx91wa5k.js → skill-tnh26vfm.js} +3 -3
  213. package/dist/chunks/{skill-kwfh7c08.js → skill-tp0950fn.js} +4 -4
  214. package/dist/chunks/{skill-b26ddj6h.js → skill-tp1jb13k.js} +5 -5
  215. package/dist/chunks/{skill-e39q5v3d.js → skill-tq2659cf.js} +8 -8
  216. package/dist/chunks/{skill-np243n95.js → skill-tqfrgt2r.js} +6 -6
  217. package/dist/chunks/{skill-wsy9w2q0.js → skill-tsma5p3r.js} +12 -12
  218. package/dist/chunks/{skill-0fvxehme.js → skill-ttz31trp.js} +3 -3
  219. package/dist/chunks/{skill-44pmzq9c.js → skill-twhtcdx9.js} +3 -3
  220. package/dist/chunks/{skill-gmqcaesv.js → skill-v1engfwd.js} +158 -158
  221. package/dist/chunks/{skill-6n3z4peb.js → skill-v5mpdfnz.js} +1 -1
  222. package/dist/chunks/{skill-xamez0gd.js → skill-v64ytr12.js} +10 -10
  223. package/dist/chunks/{skill-ac21q9d8.js → skill-v8srm5qp.js} +11 -11
  224. package/dist/chunks/{skill-zt9ejasa.js → skill-v91vrv4c.js} +17 -17
  225. package/dist/chunks/{skill-qyfb1dw6.js → skill-vcgw1cs3.js} +20 -20
  226. package/dist/chunks/{skill-yf162282.js → skill-vjzgscs0.js} +5 -5
  227. package/dist/chunks/{skill-xrnga7ra.js → skill-vk3m6b26.js} +3 -3
  228. package/dist/chunks/{skill-qfz6bxfd.js → skill-vmqe41cb.js} +3 -3
  229. package/dist/chunks/{skill-ctmpqb7w.js → skill-vq0qa3sh.js} +7 -7
  230. package/dist/chunks/{skill-fe9kz23p.js → skill-vq2xywmt.js} +4 -4
  231. package/dist/chunks/{skill-rj7j5fvs.js → skill-vt2d6wap.js} +3 -3
  232. package/dist/chunks/{skill-23s8wbct.js → skill-vxt7wgpd.js} +1 -1
  233. package/dist/chunks/{skill-prkekjc8.js → skill-vytp7mpm.js} +9 -9
  234. package/dist/chunks/{skill-nxgd89cq.js → skill-w0ee2s96.js} +1 -1
  235. package/dist/chunks/{skill-40za9wsf.js → skill-w2eysc6j.js} +7 -7
  236. package/dist/chunks/{skill-w79nt68w.js → skill-w35wzz9x.js} +3 -3
  237. package/dist/chunks/{skill-a0f8fvmt.js → skill-w4xw9ac5.js} +4 -4
  238. package/dist/chunks/{skill-xb05ve8s.js → skill-w84yb85h.js} +20 -20
  239. package/dist/chunks/{skill-zjweszz6.js → skill-w95rpqs7.js} +8 -8
  240. package/dist/chunks/{skill-m84krmx1.js → skill-wjj5qqhg.js} +29 -29
  241. package/dist/chunks/{skill-dzrdx94s.js → skill-wq2ewmay.js} +9 -9
  242. package/dist/chunks/{skill-mzp60shv.js → skill-wqqxb4v6.js} +32 -29
  243. package/dist/chunks/{skill-9fs44kj1.js → skill-wvj9vwam.js} +3 -3
  244. package/dist/chunks/{skill-hvd5tw3z.js → skill-wwsaayej.js} +16 -16
  245. package/dist/chunks/{skill-kx82nz73.js → skill-x2zvk9pn.js} +4 -4
  246. package/dist/chunks/{skill-0zjy86nb.js → skill-x3f35jkj.js} +43 -43
  247. package/dist/chunks/{skill-h78cq6gt.js → skill-xeda3fwf.js} +4 -4
  248. package/dist/chunks/{skill-x3eexw8z.js → skill-xkb4z5m5.js} +1 -1
  249. package/dist/chunks/{skill-1v2g13eq.js → skill-xp7vz6kd.js} +8 -8
  250. package/dist/chunks/{skill-tt9rk80g.js → skill-xtyr0vxr.js} +3 -3
  251. package/dist/chunks/{skill-edhbmgy4.js → skill-xw4tt3tz.js} +22 -22
  252. package/dist/chunks/{skill-xjr6c8m4.js → skill-xxschbft.js} +3 -3
  253. package/dist/chunks/{skill-cd4gqj6m.js → skill-y282amyv.js} +7 -7
  254. package/dist/chunks/{skill-cqwx6s5k.js → skill-y4rcg1v2.js} +15 -15
  255. package/dist/chunks/{skill-849655md.js → skill-yb1yhpzz.js} +14 -14
  256. package/dist/chunks/{skill-b8mx8zzt.js → skill-yexs5h3k.js} +6 -6
  257. package/dist/chunks/{skill-0a6gezy6.js → skill-yf5veaxj.js} +12 -12
  258. package/dist/chunks/{skill-mjcdh3gk.js → skill-ygt3ykv7.js} +11 -11
  259. package/dist/chunks/{skill-xjxz5vy8.js → skill-yjweffhj.js} +16 -16
  260. package/dist/chunks/{skill-26ap4nbq.js → skill-ymtpamqc.js} +10 -10
  261. package/dist/chunks/{skill-f392mvjm.js → skill-yn6596c6.js} +14 -14
  262. package/dist/chunks/{skill-2w5yyhv1.js → skill-ynmhxp6r.js} +15 -15
  263. package/dist/chunks/{skill-xccw6ckh.js → skill-yp0zdv5j.js} +30 -30
  264. package/dist/chunks/{skill-rbg54dp1.js → skill-yqveydy6.js} +3 -3
  265. package/dist/chunks/{skill-dtfy0h3z.js → skill-yqw7crqm.js} +12 -12
  266. package/dist/chunks/{skill-jdf9jawx.js → skill-ysz78v0j.js} +26 -26
  267. package/dist/chunks/{skill-vnx5c0hq.js → skill-z4jgq3cs.js} +45 -45
  268. package/dist/chunks/{skill-7mbas0vy.js → skill-z4xz3wht.js} +7 -7
  269. package/dist/chunks/{skill-m73zgh3e.js → skill-za64yvk4.js} +13 -13
  270. package/dist/chunks/{skill-hr60ecax.js → skill-zbrfe41p.js} +36 -36
  271. package/dist/chunks/{skill-9a7a2vmy.js → skill-zg2162m8.js} +14 -14
  272. package/dist/chunks/{skill-ewstw71d.js → skill-zrgq9bxr.js} +13 -13
  273. package/dist/chunks/{skill-yaann9ba.js → skill-zwy29mpq.js} +3 -3
  274. package/dist/codemode/execution.js +3 -3
  275. package/dist/codemode/fetch.js +118 -118
  276. package/dist/codemode/instructions.js +6 -6
  277. package/dist/codemode/tool.js +125 -125
  278. package/dist/command.js +78 -78
  279. package/dist/config/discovery.js +75 -75
  280. package/dist/config/integration.js +3 -3
  281. package/dist/config/normalize.js +89 -89
  282. package/dist/config/plugin/agent.js +105 -105
  283. package/dist/config/plugin/command.js +205 -205
  284. package/dist/config/plugin/compaction.js +140 -140
  285. package/dist/config/plugin/compatibility.js +121 -121
  286. package/dist/config/plugin/formatter.js +103 -103
  287. package/dist/config/plugin/image.js +102 -102
  288. package/dist/config/plugin/instruction.js +104 -104
  289. package/dist/config/plugin/location-watcher.js +104 -104
  290. package/dist/config/plugin/mcp.js +117 -117
  291. package/dist/config/plugin/policy.js +102 -102
  292. package/dist/config/plugin/provider.js +102 -102
  293. package/dist/config/plugin/reference.js +103 -103
  294. package/dist/config/plugin/shell.js +104 -104
  295. package/dist/config/plugin/skill-file.js +118 -118
  296. package/dist/config/plugin/skill.js +124 -124
  297. package/dist/config/plugin/snapshot.js +102 -102
  298. package/dist/config/plugin/source.js +105 -105
  299. package/dist/config/plugin/tool-output.js +102 -102
  300. package/dist/config/plugin/websearch.js +103 -103
  301. package/dist/config/plugin/worktree.js +103 -103
  302. package/dist/config.js +108 -108
  303. package/dist/credential.js +75 -75
  304. package/dist/database/database.js +66 -66
  305. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  306. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  307. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  308. package/dist/database/drizzle/index.js +8 -8
  309. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  310. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  311. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  312. package/dist/database/drizzle.js +8 -8
  313. package/dist/database/migration.gen.js +50 -50
  314. package/dist/database/migration.js +65 -65
  315. package/dist/database/v1-migration.bun.js +11 -11
  316. package/dist/effect/app-node-builder.js +284 -284
  317. package/dist/environment/environment.js +81 -81
  318. package/dist/environment/index.js +85 -85
  319. package/dist/environment/unavailable.js +3 -3
  320. package/dist/event-logger.js +9 -9
  321. package/dist/file-access.js +126 -126
  322. package/dist/file-mutation.js +84 -84
  323. package/dist/file-write.js +129 -129
  324. package/dist/filesystem/file-watch.js +14 -14
  325. package/dist/filesystem/location-watcher-policy.js +5 -5
  326. package/dist/filesystem/location-watcher.js +216 -216
  327. package/dist/filesystem/search.js +87 -87
  328. package/dist/filesystem/watcher.js +9 -9
  329. package/dist/filesystem.js +92 -92
  330. package/dist/flag.js +108 -108
  331. package/dist/form.js +78 -78
  332. package/dist/formatter/builtins.js +3 -3
  333. package/dist/formatter.js +79 -79
  334. package/dist/generate.js +91 -91
  335. package/dist/git.js +3 -3
  336. package/dist/github-copilot/models.js +90 -90
  337. package/dist/image/photon.js +1 -1
  338. package/dist/image.js +5 -5
  339. package/dist/instance/service.js +5 -5
  340. package/dist/instance.js +384 -384
  341. package/dist/instruction-discovery.js +83 -83
  342. package/dist/instructions/builtins.js +80 -80
  343. package/dist/instructions/index.js +5 -5
  344. package/dist/integration.js +75 -75
  345. package/dist/job/list.js +4 -4
  346. package/dist/job.js +75 -75
  347. package/dist/kv.js +71 -71
  348. package/dist/location-activity.js +76 -76
  349. package/dist/location-lifecycle.js +123 -123
  350. package/dist/location-service-map.js +79 -79
  351. package/dist/location-services.js +382 -382
  352. package/dist/location.js +74 -74
  353. package/dist/managed-policy.js +2 -2
  354. package/dist/mcp/client.js +124 -124
  355. package/dist/mcp/connection.js +80 -80
  356. package/dist/mcp/index.js +120 -120
  357. package/dist/mcp/instructions.js +151 -151
  358. package/dist/mcp/oauth.js +10 -10
  359. package/dist/mcp/pool.js +88 -88
  360. package/dist/mcp/stdio.js +125 -125
  361. package/dist/mime.js +1 -1
  362. package/dist/modal/models.js +90 -90
  363. package/dist/model-resolver.js +89 -89
  364. package/dist/model.js +91 -91
  365. package/dist/models-dev.js +97 -97
  366. package/dist/permission/saved.js +77 -77
  367. package/dist/permission.js +126 -126
  368. package/dist/persistent-pty/index.js +79 -79
  369. package/dist/persistent-pty.js +69 -69
  370. package/dist/plugin/agent.js +73 -73
  371. package/dist/plugin/command.js +115 -115
  372. package/dist/plugin/fork-notice.js +3 -3
  373. package/dist/plugin/goal.js +3 -3
  374. package/dist/plugin/hooks.js +5 -5
  375. package/dist/plugin/host.js +207 -207
  376. package/dist/plugin/identity.js +4 -4
  377. package/dist/plugin/internal.js +362 -362
  378. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  379. package/dist/plugin/models-dev.js +86 -86
  380. package/dist/plugin/module.js +99 -99
  381. package/dist/plugin/optimize.js +3 -3
  382. package/dist/plugin/plan.js +119 -119
  383. package/dist/plugin/provider/amazon-bedrock.js +84 -84
  384. package/dist/plugin/provider/azure.js +106 -106
  385. package/dist/plugin/provider/chatgpt.js +105 -105
  386. package/dist/plugin/provider/claude-agent/aisdk.js +92 -92
  387. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  388. package/dist/plugin/provider/claude-agent/claude/io.js +3 -3
  389. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  390. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  391. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  392. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  393. package/dist/plugin/provider/claude-agent/claude/sessions.js +13 -13
  394. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  395. package/dist/plugin/provider/claude-agent/index.js +118 -118
  396. package/dist/plugin/provider/claude-agent/instructions.js +92 -92
  397. package/dist/plugin/provider/claude-agent/integration.js +93 -93
  398. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  399. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +6 -6
  400. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  401. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  402. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  403. package/dist/plugin/provider/claude-agent/provider.js +88 -88
  404. package/dist/plugin/provider/claude-agent/session.js +89 -89
  405. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  406. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  407. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  408. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  409. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  410. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  411. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  412. package/dist/plugin/provider/cloudflare-ai-gateway.js +103 -103
  413. package/dist/plugin/provider/cloudflare-workers-ai.js +103 -103
  414. package/dist/plugin/provider/configured.js +99 -99
  415. package/dist/plugin/provider/credential-settings.js +72 -72
  416. package/dist/plugin/provider/digitalocean.js +86 -86
  417. package/dist/plugin/provider/github-copilot.js +88 -88
  418. package/dist/plugin/provider/gitlab.js +87 -87
  419. package/dist/plugin/provider/google-vertex.js +100 -100
  420. package/dist/plugin/provider/llmgateway.js +72 -72
  421. package/dist/plugin/provider/lmstudio.js +112 -112
  422. package/dist/plugin/provider/local.js +109 -109
  423. package/dist/plugin/provider/modal.js +86 -86
  424. package/dist/plugin/provider/ollama.js +112 -112
  425. package/dist/plugin/provider/openai-context-caps.js +84 -84
  426. package/dist/plugin/provider/openai.js +107 -107
  427. package/dist/plugin/provider/opencode-watches.js +3 -3
  428. package/dist/plugin/provider/opencode.js +129 -129
  429. package/dist/plugin/provider/openrouter.js +82 -82
  430. package/dist/plugin/provider/poe.js +73 -73
  431. package/dist/plugin/provider/refresh.js +73 -73
  432. package/dist/plugin/provider/sap-ai-core.js +81 -81
  433. package/dist/plugin/provider/snowflake-cortex.js +104 -104
  434. package/dist/plugin/provider/vllm.js +112 -112
  435. package/dist/plugin/provider/xai.js +82 -82
  436. package/dist/plugin/provider.js +197 -197
  437. package/dist/plugin/sdk.js +74 -74
  438. package/dist/plugin/service.js +3 -3
  439. package/dist/plugin/skill.js +122 -122
  440. package/dist/plugin/supervisor.js +369 -369
  441. package/dist/plugin/tool-input-repair.js +3 -3
  442. package/dist/plugin/vcs/git.js +78 -78
  443. package/dist/plugin/vcs/hg.js +78 -78
  444. package/dist/plugin/verbosity.js +84 -84
  445. package/dist/plugin/warming.js +102 -102
  446. package/dist/plugin/websearch/exa.js +7 -7
  447. package/dist/plugin/websearch/firecrawl.js +8 -8
  448. package/dist/plugin/websearch/index.js +9 -9
  449. package/dist/plugin/websearch/mcp.js +5 -5
  450. package/dist/plugin/websearch/parallel.js +6 -6
  451. package/dist/plugin/websearch/provider.js +3 -3
  452. package/dist/plugin/websearch/tavily.js +5 -5
  453. package/dist/plugin/websearch/tinyfish.js +8 -8
  454. package/dist/plugin.js +216 -216
  455. package/dist/project.js +73 -73
  456. package/dist/provider.js +84 -84
  457. package/dist/pty.js +88 -88
  458. package/dist/reference/instructions.js +82 -82
  459. package/dist/reference.js +81 -81
  460. package/dist/repository-cache.js +75 -75
  461. package/dist/ripgrep.js +86 -86
  462. package/dist/rpc.js +79 -79
  463. package/dist/schedule/check.js +211 -211
  464. package/dist/schedule.js +216 -216
  465. package/dist/session/blob.js +105 -105
  466. package/dist/session/command.js +71 -71
  467. package/dist/session/compaction.js +142 -142
  468. package/dist/session/context.js +167 -167
  469. package/dist/session/diff.js +77 -77
  470. package/dist/session/environment.js +5 -5
  471. package/dist/session/error.js +3 -3
  472. package/dist/session/execution/restart.js +139 -139
  473. package/dist/session/execution/subagent-report.js +115 -115
  474. package/dist/session/execution.js +140 -140
  475. package/dist/session/generate.js +167 -167
  476. package/dist/session/history.js +111 -111
  477. package/dist/session/inbox.js +122 -122
  478. package/dist/session/instruction-entry.js +72 -72
  479. package/dist/session/instruction-state.js +2 -2
  480. package/dist/session/instructions.js +118 -118
  481. package/dist/session/message-updater.js +3 -3
  482. package/dist/session/model-request.js +140 -140
  483. package/dist/session/model-transport.js +7 -7
  484. package/dist/session/move.js +142 -142
  485. package/dist/session/projector.js +117 -117
  486. package/dist/session/prompt.js +121 -121
  487. package/dist/session/revert.js +114 -114
  488. package/dist/session/run-coordinator.js +3 -3
  489. package/dist/session/runner/index.js +3 -3
  490. package/dist/session/runner/llm.js +215 -215
  491. package/dist/session/runner/model.js +91 -91
  492. package/dist/session/runner/publish-llm-event.js +123 -123
  493. package/dist/session/runner/retry.js +4 -4
  494. package/dist/session/runner/step.js +132 -132
  495. package/dist/session/runner/to-llm-message.js +112 -112
  496. package/dist/session/session.js +155 -155
  497. package/dist/session/shell.js +114 -114
  498. package/dist/session/skill.js +120 -120
  499. package/dist/session/stats.js +8 -8
  500. package/dist/session/store.js +116 -116
  501. package/dist/session/stored.js +3 -3
  502. package/dist/session/subagent-job.js +137 -137
  503. package/dist/session/title.js +165 -165
  504. package/dist/session/to-session-error.js +122 -122
  505. package/dist/session/transfer.js +121 -121
  506. package/dist/session.js +206 -206
  507. package/dist/shared-cache.js +5 -5
  508. package/dist/shell/parse.js +2 -2
  509. package/dist/shell/select.js +11 -11
  510. package/dist/shell.js +115 -115
  511. package/dist/skill/instructions.js +124 -124
  512. package/dist/skill.js +121 -121
  513. package/dist/snapshot.js +79 -79
  514. package/dist/tool/mcp.js +152 -152
  515. package/dist/tool/plugin/artifact.js +202 -202
  516. package/dist/tool/plugin/edit.js +133 -133
  517. package/dist/tool/plugin/glob.js +134 -134
  518. package/dist/tool/plugin/grep.js +135 -135
  519. package/dist/tool/plugin/image-generate.js +211 -211
  520. package/dist/tool/plugin/mcp-events.js +131 -131
  521. package/dist/tool/plugin/mcp-resource.js +131 -131
  522. package/dist/tool/plugin/opencode.js +130 -130
  523. package/dist/tool/plugin/patch.js +134 -134
  524. package/dist/tool/plugin/question.js +119 -119
  525. package/dist/tool/plugin/read.js +136 -136
  526. package/dist/tool/plugin/schedule.js +215 -215
  527. package/dist/tool/plugin/shell.js +205 -205
  528. package/dist/tool/plugin/skill.js +126 -126
  529. package/dist/tool/plugin/subagent.js +210 -210
  530. package/dist/tool/plugin/todo.js +125 -125
  531. package/dist/tool/plugin/webfetch.js +128 -128
  532. package/dist/tool/plugin/websearch.js +128 -128
  533. package/dist/tool/plugin/write.js +134 -134
  534. package/dist/tool/read-filesystem.js +88 -88
  535. package/dist/tool/search.js +83 -83
  536. package/dist/tool-output.js +5 -5
  537. package/dist/tool.js +135 -135
  538. package/dist/types/tool/read-filesystem.d.ts +1 -0
  539. package/dist/usage-limits.js +80 -80
  540. package/dist/v1/config/agent.js +6 -6
  541. package/dist/v1/config/command.js +3 -3
  542. package/dist/v1/config/mcp.js +3 -3
  543. package/dist/v1/config/migrate.js +82 -82
  544. package/dist/v1/config/permission.js +3 -3
  545. package/dist/v1/config/plugin.js +3 -3
  546. package/dist/variant.js +82 -82
  547. package/dist/vcs.js +81 -81
  548. package/dist/voice.js +80 -80
  549. package/dist/websearch.js +83 -83
  550. package/dist/wellknown/plugin.js +72 -72
  551. package/dist/wellknown.js +77 -77
  552. package/dist/workspace/driver.js +7 -7
  553. package/dist/workspace.js +74 -74
  554. package/dist/worktree/git.js +4 -4
  555. package/dist/worktree/strategies.js +80 -80
  556. package/dist/worktree.js +84 -84
  557. package/package.json +9 -9
  558. package/dist/chunks/skill-m9fc8chp.js +0 -26
  559. /package/dist/chunks/{skill-80mg3ag8.js → skill-775hqbnd.js} +0 -0
  560. /package/dist/chunks/{skill-ze75qvmd.js → skill-j9nxzz3g.js} +0 -0
  561. /package/dist/chunks/{skill-m9n49n2a.js → skill-qps79ava.js} +0 -0
  562. /package/dist/chunks/{skill-8fd4mn1c.js → skill-qq8nxmq8.js} +0 -0
  563. /package/dist/chunks/{skill-ct1nm8d1.js → skill-r46m9nfb.js} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  } from "./skill-gftt206x.js";
7
7
  import {
8
8
  SyntheticPayload2
9
- } from "./skill-w6ax8ecs.js";
9
+ } from "./skill-ha27dm6a.js";
10
10
  import {
11
11
  NO_TEXT2,
12
12
  text3,
@@ -21,10 +21,10 @@ import {
21
21
  var exports_subagent_report = {};
22
22
  __export(exports_subagent_report, {
23
23
  SubagentReport: () => exports_subagent_report,
24
- make: () => make29
24
+ make: () => make28
25
25
  });
26
26
  import { Effect, Result } from "effect";
27
- var make29 = (deps) => {
27
+ var make28 = (deps) => {
28
28
  const periods = new Map;
29
29
  const started = (sessionID, period) => {
30
30
  periods.set(sessionID, period);
@@ -138,4 +138,4 @@ var make29 = (deps) => {
138
138
  return { started, clear, prepare };
139
139
  };
140
140
 
141
- export { make29, exports_subagent_report };
141
+ export { make28, exports_subagent_report };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./skill-f392mvjm.js";
3
+ } from "./skill-yn6596c6.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -20,7 +20,7 @@ var RemoteModel = Schema.Struct({
20
20
  has_vision_adapter: Schema.Boolean.pipe(Schema.optional)
21
21
  });
22
22
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
23
- var make18 = createLocalProviderPlugin2({
23
+ var make17 = createLocalProviderPlugin2({
24
24
  id: "opencode.provider.lmstudio",
25
25
  providerID: "lmstudio",
26
26
  name: "LM Studio",
@@ -40,6 +40,6 @@ var make18 = createLocalProviderPlugin2({
40
40
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
41
41
  })
42
42
  });
43
- var LMStudioPlugin2 = make18();
43
+ var LMStudioPlugin2 = make17();
44
44
 
45
- export { make18, LMStudioPlugin2 };
45
+ export { make17, LMStudioPlugin2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./skill-y9fr1g04.js";
4
+ } from "./skill-brjmya0n.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create4
@@ -11,14 +11,14 @@ import {
11
11
  } from "./skill-n320gsn2.js";
12
12
  import {
13
13
  ID18,
14
- Service86,
15
- node88,
14
+ Service87,
15
+ node89,
16
16
  Event18
17
- } from "./skill-pdc5q8mj.js";
17
+ } from "./skill-tfvg6qv8.js";
18
18
  import {
19
19
  Service90,
20
20
  node92
21
- } from "./skill-8pvbfnhx.js";
21
+ } from "./skill-hgfjmfwb.js";
22
22
  import {
23
23
  AISDK_PREFIX2,
24
24
  isAISDK2,
@@ -46,7 +46,7 @@ __export(exports_provider5, {
46
46
  LoadError: () => LoadError3,
47
47
  Provider: () => exports_provider5,
48
48
  Request: () => Request4,
49
- Service: () => Service85,
49
+ Service: () => Service86,
50
50
  Settings: () => Settings2,
51
51
  Transport: () => Transport2,
52
52
  aisdk: () => aisdk2,
@@ -58,7 +58,7 @@ __export(exports_provider5, {
58
58
  mergeOverlay: () => mergeOverlay2,
59
59
  modelSettings: () => modelSettings2,
60
60
  nativeSettings: () => nativeSettings2,
61
- node: () => node87,
61
+ node: () => node88,
62
62
  packageName: () => packageName2,
63
63
  timeout: () => timeout2,
64
64
  timeouts: () => timeouts2,
@@ -314,7 +314,7 @@ var Transport2 = Provider.Transport;
314
314
  var Settings2 = Provider.Settings;
315
315
  var Info25 = Provider.Info;
316
316
 
317
- class Service85 extends Context.Service()("@opencode/Provider") {
317
+ class Service86 extends Context.Service()("@opencode/Provider") {
318
318
  }
319
319
  var definitions = new WeakMap;
320
320
  function index(providerID, models) {
@@ -327,9 +327,9 @@ function index(providerID, models) {
327
327
  definitions.set(models, indexes);
328
328
  return result;
329
329
  }
330
- var layer = Layer.effect(Service85, Effect.gen(function* () {
330
+ var layer = Layer.effect(Service86, Effect.gen(function* () {
331
331
  const bus = yield* Service93;
332
- const integrations = yield* Service86;
332
+ const integrations = yield* Service87;
333
333
  const location = yield* Service90;
334
334
  const state = create4({
335
335
  name: "provider",
@@ -451,7 +451,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
451
451
  });
452
452
  });
453
453
  yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
454
- return Service85.of({
454
+ return Service86.of({
455
455
  transform: state.transform,
456
456
  reload: state.reload,
457
457
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -460,7 +460,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
460
460
  snapshot
461
461
  });
462
462
  }));
463
- var node87 = makeLocationNode({ service: Service85, layer, deps: [node95, node88, node92] });
463
+ var node88 = makeLocationNode({ service: Service86, layer, deps: [node95, node89, node92] });
464
464
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
465
465
  const module = yield* Effect.tryPromise({
466
466
  try: () => {
@@ -482,4 +482,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
482
482
  return module;
483
483
  });
484
484
 
485
- export { ID17, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, tls2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service85, node87, exports_provider5, Event17 };
485
+ export { ID17, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, tls2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service86, node88, exports_provider5, Event17 };
@@ -2,11 +2,11 @@ import {
2
2
  ephemeral2,
3
3
  Service93,
4
4
  node95
5
- } from "./skill-y9fr1g04.js";
5
+ } from "./skill-brjmya0n.js";
6
6
  import {
7
- Service83,
8
- node85
9
- } from "./skill-vk29xtdn.js";
7
+ Service75,
8
+ node77
9
+ } from "./skill-fngenedm.js";
10
10
  import {
11
11
  __export
12
12
  } from "./skill-9rqn6x4v.js";
@@ -16,14 +16,14 @@ var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event15,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service81,
22
+ Service: () => Service73,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node83,
26
- resolve: () => resolve5
25
+ node: () => node75,
26
+ resolve: () => resolve4
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 Service81 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service73 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event15 = {
51
+ var Event12 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve5 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service81, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service83;
84
+ const kv = yield* Service75;
85
85
  const bus = yield* Service93;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
112
112
  if (!changed)
113
113
  return false;
114
114
  yield* Ref.set(cache, next);
115
- yield* bus.publish(Event15.Updated, {}, { global: true });
115
+ yield* bus.publish(Event12.Updated, {}, { global: true });
116
116
  return true;
117
117
  }, (effect) => lock.withPermit(effect));
118
- return Service81.of({
118
+ return Service73.of({
119
119
  entries: load,
120
120
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
121
121
  refresh,
@@ -127,7 +127,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
127
127
  const origins = yield* readOrigins;
128
128
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
129
129
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
130
- yield* bus.publish(Event15.Updated, {}, { global: true });
130
+ yield* bus.publish(Event12.Updated, {}, { global: true });
131
131
  return entry;
132
132
  }, (effect, _value) => lock.withPermit(effect)),
133
133
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -141,7 +141,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
141
141
  next.delete(origin);
142
142
  return next;
143
143
  });
144
- yield* bus.publish(Event15.Updated, {}, { global: true });
144
+ yield* bus.publish(Event12.Updated, {}, { global: true });
145
145
  }, (effect, _value) => lock.withPermit(effect)),
146
146
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
147
147
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node83 = makeGlobalNode({ service: Service81, layer, deps: [httpClient, node85, node95] });
160
+ var node75 = makeGlobalNode({ service: Service73, layer, deps: [httpClient, node77, node95] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service81, Event15, inspect2, resolve5, node83, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service73, Event12, inspect2, resolve4, node75, exports_wellknown };
@@ -3,24 +3,24 @@ import {
3
3
  } from "./skill-m90tx7mw.js";
4
4
  import {
5
5
  ID17
6
- } from "./skill-6adb23kb.js";
6
+ } from "./skill-05yr16e8.js";
7
7
  import {
8
- ID16,
8
+ ID14,
9
9
  VariantID2,
10
- Info24,
10
+ Info22,
11
11
  compatibility2
12
- } from "./skill-cb28kjhz.js";
12
+ } from "./skill-1wemxep9.js";
13
13
  import {
14
14
  __export
15
15
  } from "./skill-9rqn6x4v.js";
16
16
 
17
17
  // src/modal/models.ts
18
- var exports_models2 = {};
19
- __export(exports_models2, {
20
- ModalModels: () => exports_models2,
21
- derive: () => derive3,
22
- get: () => get3,
23
- load: () => load5
18
+ var exports_models = {};
19
+ __export(exports_models, {
20
+ ModalModels: () => exports_models,
21
+ derive: () => derive2,
22
+ get: () => get2,
23
+ load: () => load3
24
24
  });
25
25
  import { Money } from "@opencode/schema/money";
26
26
  import { Effect, Option, Schema } from "effect";
@@ -56,22 +56,22 @@ var RemoteModel = Schema.Struct({
56
56
  });
57
57
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
58
58
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
59
- function get3(http, baseURL, apiKey, existing) {
60
- return load5(http, baseURL, apiKey).pipe(Effect.map((remote) => derive3(baseURL, remote, existing)));
59
+ function get2(http, baseURL, apiKey, existing) {
60
+ return load3(http, baseURL, apiKey).pipe(Effect.map((remote) => derive2(baseURL, remote, existing)));
61
61
  }
62
- var load5 = Effect.fn("ModalModels.load")(function* (http, baseURL, apiKey) {
62
+ var load3 = Effect.fn("ModalModels.load")(function* (http, baseURL, apiKey) {
63
63
  const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL.replace(/\/+$/, "")}/models`).pipe(HttpClientRequest.bearerToken(apiKey))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("3 seconds"));
64
64
  return response.data.flatMap((raw) => {
65
65
  const model = Option.getOrUndefined(decodeModel(raw));
66
66
  return model ? [model] : [];
67
67
  });
68
68
  });
69
- function derive3(baseURL, remote, existing) {
69
+ function derive2(baseURL, remote, existing) {
70
70
  const templates = new Map(existing.map((model) => [model.id, model]));
71
71
  const result = new Map;
72
72
  for (const item of remote) {
73
- const template = templates.get(ID16.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
74
- const id = ID16.make(item.id);
73
+ const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
74
+ const id = ID14.make(item.id);
75
75
  result.set(id, build(id, item, baseURL, template));
76
76
  }
77
77
  return result;
@@ -89,10 +89,10 @@ function limit(value, fallback) {
89
89
  function build(id, remote, baseURL, previous) {
90
90
  const cost = previous?.cost[0];
91
91
  const input = previous?.limit.input;
92
- return Info24.make({
93
- ...Info24.default(providerID, id),
92
+ return Info22.make({
93
+ ...Info22.default(providerID, id),
94
94
  id,
95
- modelID: ID16.make(remote.id),
95
+ modelID: ID14.make(remote.id),
96
96
  providerID,
97
97
  name: remote.name ?? previous?.name ?? remote.id,
98
98
  family: previous?.family,
@@ -139,4 +139,4 @@ function variants(remote) {
139
139
  return [...seen.values()];
140
140
  }
141
141
 
142
- export { get3, load5, derive3, exports_models2 };
142
+ export { get2, load3, derive2, exports_models };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./skill-y9fr1g04.js";
4
+ } from "./skill-brjmya0n.js";
5
5
  import {
6
- node82
7
- } from "./skill-e0zepttq.js";
6
+ node74
7
+ } from "./skill-btahyfxn.js";
8
8
  import {
9
- Service11,
10
- node13
11
- } from "./skill-7y3b0gxe.js";
9
+ Service3,
10
+ node5
11
+ } from "./skill-dn7vvezt.js";
12
12
  import {
13
- Service31
14
- } from "./skill-me0dhgxs.js";
13
+ Service37
14
+ } from "./skill-qmh7vbk2.js";
15
15
  import {
16
- node21,
16
+ node20,
17
17
  ID5
18
- } from "./skill-m73zgh3e.js";
18
+ } from "./skill-za64yvk4.js";
19
19
  import {
20
20
  Service5,
21
21
  node7
@@ -24,17 +24,17 @@ import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./skill-af5h9vj2.js";
27
+ } from "./skill-m8gcf2xa.js";
28
28
  import {
29
29
  make3,
30
30
  source2,
31
31
  LoadError2
32
- } from "./skill-pmvha8p2.js";
32
+ } from "./skill-jq10t2yk.js";
33
33
  import {
34
34
  Updated2,
35
- Service3,
36
- node5
37
- } from "./skill-jq1k8593.js";
35
+ Service6,
36
+ node8
37
+ } from "./skill-cy1b0p56.js";
38
38
  import {
39
39
  Service4,
40
40
  node6
@@ -134,10 +134,10 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
134
134
  };
135
135
  });
136
136
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
137
- const registry = yield* Service31;
138
- const sdk = yield* Service3;
137
+ const registry = yield* Service37;
138
+ const sdk = yield* Service6;
139
139
  const instance = yield* Service5;
140
- const sources = yield* Service11;
140
+ const sources = yield* Service3;
141
141
  const modules = yield* make3();
142
142
  const bus = yield* Service93;
143
143
  const updates = yield* Service4;
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node21,
211
- node5,
210
+ node20,
211
+ node8,
212
212
  node7,
213
- node13,
213
+ node5,
214
214
  node6,
215
215
  node95,
216
216
  Npm.node,
217
- node82,
217
+ node74,
218
218
  requirements2
219
219
  ];
220
220
  var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
@@ -6,10 +6,10 @@ import {
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info18
9
+ Info: () => Info20
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info18 = Schema.Struct({
12
+ var Info20 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info18, exports_command5 };
21
+ export { Info20, exports_command5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveModel2
3
- } from "./skill-a0f8fvmt.js";
3
+ } from "./skill-w4xw9ac5.js";
4
4
  import {
5
5
  __export
6
6
  } from "./skill-9rqn6x4v.js";
@@ -9,7 +9,7 @@ import {
9
9
  var exports_identity = {};
10
10
  __export(exports_identity, {
11
11
  IdentityPlugin: () => exports_identity,
12
- Plugin: () => Plugin9,
12
+ Plugin: () => Plugin52,
13
13
  identity: () => identity2
14
14
  });
15
15
  import { SystemPart } from "@opencode/ai/effect";
@@ -24,7 +24,7 @@ function identity2(model) {
24
24
  ].join(`
25
25
  `);
26
26
  }
27
- var Plugin9 = define({
27
+ var Plugin52 = define({
28
28
  id: "opencode.prompt.identity",
29
29
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
30
30
  const hook = (event) => Effect.gen(function* () {
@@ -37,4 +37,4 @@ var Plugin9 = define({
37
37
  })
38
38
  });
39
39
 
40
- export { identity2, Plugin9, exports_identity };
40
+ export { identity2, Plugin52, exports_identity };
@@ -5,14 +5,14 @@ import {
5
5
  makeLocalDriver2
6
6
  } from "./skill-cwrgdav8.js";
7
7
  import {
8
- Service53
9
- } from "./skill-zkdm0p6x.js";
8
+ Service63
9
+ } from "./skill-835yhg2j.js";
10
10
  import {
11
11
  fingerprint2
12
- } from "./skill-495vdj1c.js";
12
+ } from "./skill-e5653pfs.js";
13
13
  import {
14
14
  make26
15
- } from "./skill-9ts8ce21.js";
15
+ } from "./skill-de5yb26h.js";
16
16
  import {
17
17
  __export
18
18
  } from "./skill-9rqn6x4v.js";
@@ -21,10 +21,10 @@ import {
21
21
  var exports_pool = {};
22
22
  __export(exports_pool, {
23
23
  McpPool: () => exports_pool,
24
- Service: () => Service36,
24
+ Service: () => Service39,
25
25
  key: () => key2,
26
- layer: () => layer15,
27
- node: () => node39
26
+ layer: () => layer18,
27
+ node: () => node42
28
28
  });
29
29
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
30
30
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -32,7 +32,7 @@ import { httpFetch } from "@opencode/util/effect/app-node-platform";
32
32
  import { Cause, Context, Deferred, Effect, Exit, Fiber, FiberSet, Layer, Scope, Semaphore } from "effect";
33
33
  import { FetchHttpClient } from "effect/http";
34
34
  import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
35
- class Service36 extends Context.Service()("@opencode/McpPool") {
35
+ class Service39 extends Context.Service()("@opencode/McpPool") {
36
36
  }
37
37
  var key2 = (input) => {
38
38
  const config = input.config;
@@ -61,11 +61,11 @@ function fingerprint(secret) {
61
61
  return null;
62
62
  return fingerprint2(typeof secret === "string" ? secret : JSON.stringify(Object.entries(secret).toSorted(([a], [b]) => a.localeCompare(b))));
63
63
  }
64
- var layer15 = Layer.effect(Service36, Effect.gen(function* () {
64
+ var layer18 = Layer.effect(Service39, Effect.gen(function* () {
65
65
  const scope = yield* Effect.scope;
66
66
  const run = yield* FiberSet.makeRuntime();
67
67
  const driver = makeLocalDriver2(yield* ChildProcessSpawner);
68
- const host = Service53.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ const host = Service63.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  const fetch = yield* FetchHttpClient.Fetch;
70
70
  const slots = new Map;
71
71
  const unpoolable = new Set;
@@ -270,8 +270,8 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
270
270
  catalog: (client) => live().catalog(client)
271
271
  };
272
272
  };
273
- return Service36.of({ connection });
273
+ return Service39.of({ connection });
274
274
  }));
275
- var node39 = makeGlobalNode({ service: Service36, layer: layer15, deps: [CrossSpawnSpawner.node, httpFetch] });
275
+ var node42 = makeGlobalNode({ service: Service39, layer: layer18, deps: [CrossSpawnSpawner.node, httpFetch] });
276
276
 
277
- export { Service36, key2, layer15, node39, exports_pool };
277
+ export { Service39, key2, layer18, node42, exports_pool };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  real2
3
- } from "./skill-b26ddj6h.js";
3
+ } from "./skill-tp1jb13k.js";
4
4
  import {
5
5
  registry2
6
- } from "./skill-92m3eqsk.js";
6
+ } from "./skill-pekznmtf.js";
7
7
  import {
8
- make5
9
- } from "./skill-tsq3zbsd.js";
8
+ make9
9
+ } from "./skill-6rppfpp9.js";
10
10
  import {
11
11
  Service90
12
- } from "./skill-8pvbfnhx.js";
12
+ } from "./skill-hgfjmfwb.js";
13
13
  import {
14
- register7,
14
+ register8,
15
15
  connection2
16
- } from "./skill-yz12r0jf.js";
16
+ } from "./skill-3mqsw1x6.js";
17
17
  import {
18
18
  register6
19
- } from "./skill-94hpwp71.js";
20
- import {
21
- register3
22
- } from "./skill-f0t7yv95.js";
19
+ } from "./skill-qe287z11.js";
23
20
  import {
24
21
  register4
25
- } from "./skill-b8mx8zzt.js";
22
+ } from "./skill-jegr924z.js";
26
23
  import {
27
24
  register5
28
- } from "./skill-kx82nz73.js";
25
+ } from "./skill-yexs5h3k.js";
26
+ import {
27
+ register7
28
+ } from "./skill-x2zvk9pn.js";
29
29
  import {
30
- Service53
31
- } from "./skill-zkdm0p6x.js";
30
+ Service63
31
+ } from "./skill-835yhg2j.js";
32
32
  import {
33
33
  spawner2
34
- } from "./skill-w687dnns.js";
34
+ } from "./skill-1yped5qa.js";
35
35
 
36
36
  // src/plugin/provider/claude-agent/index.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
38
38
  import { Effect, Option, Stream } from "effect";
39
39
  var ID2 = "opencode.provider.claude-agent";
40
- var make4 = (io, registry = registry2()) => define({
40
+ var make7 = (io, registry = registry2()) => define({
41
41
  id: ID2,
42
42
  effect: Effect.fn("ClaudeAgent.Plugin")(function* (ctx) {
43
- const environment = yield* Effect.serviceOption(Service53);
43
+ const environment = yield* Effect.serviceOption(Service63);
44
44
  const location = yield* Effect.serviceOption(Service90);
45
45
  if (Option.isSome(location) && location.value.workspaceID !== undefined)
46
46
  return;
47
47
  if (Option.isSome(environment) && environment.value.spawner === spawner2)
48
48
  return;
49
- const status = yield* make5(io, () => connection2(ctx));
49
+ const status = yield* make9(io, () => connection2(ctx));
50
50
  const sessions = yield* registry.attach({ io, status, storage: ctx.storage, directory: ctx.location.directory });
51
51
  yield* ctx.event.subscribe({
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
- yield* register7(ctx, status, io);
55
- yield* register4(ctx, status);
54
+ yield* register8(ctx, status, io);
55
+ yield* register5(ctx, status);
56
56
  yield* register6(ctx, sessions);
57
- yield* register5(ctx);
58
- yield* register3(ctx);
57
+ yield* register7(ctx);
58
+ yield* register4(ctx);
59
59
  })
60
60
  });
61
- var ClaudeAgentPlugin2 = make4(real2);
61
+ var ClaudeAgentPlugin2 = make7(real2);
62
62
 
63
- export { ID2, make4, ClaudeAgentPlugin2 };
63
+ export { ID2, make7, ClaudeAgentPlugin2 };