@opencode/core 0.0.0-dev-19363 → 0.0.0-dev-19366

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 (464) hide show
  1. package/dist/agent.js +61 -61
  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 +52 -52
  6. package/dist/catalog.js +65 -65
  7. package/dist/chunks/{workspace-xwy4v95w.js → workspace-01dfavc6.js} +12 -12
  8. package/dist/chunks/{workspace-3aq545f1.js → workspace-055djz7r.js} +9 -9
  9. package/dist/chunks/{workspace-wt5gx8pc.js → workspace-05b1y4dr.js} +3 -3
  10. package/dist/chunks/{workspace-gd9thf3n.js → workspace-0dwqbmss.js} +5 -5
  11. package/dist/chunks/{workspace-e4tyy19d.js → workspace-0fv2a53w.js} +10 -10
  12. package/dist/chunks/{workspace-1c2ybwbd.js → workspace-0h1q2yx7.js} +19 -19
  13. package/dist/chunks/{workspace-5qatf9sn.js → workspace-0h28z8dy.js} +19 -19
  14. package/dist/chunks/{workspace-1dfhrqqs.js → workspace-0hpxrkyb.js} +3 -3
  15. package/dist/chunks/{workspace-qq43q54h.js → workspace-0j9apay6.js} +8 -8
  16. package/dist/chunks/{workspace-ar8qnkc3.js → workspace-0qxam8dj.js} +5 -5
  17. package/dist/chunks/{workspace-7as7932t.js → workspace-0tsbjazj.js} +17 -17
  18. package/dist/chunks/{workspace-9b8ps0g9.js → workspace-0v9511cz.js} +1 -1
  19. package/dist/chunks/{workspace-54qh477g.js → workspace-12fqpsjm.js} +5 -5
  20. package/dist/chunks/{workspace-hdcqa9dy.js → workspace-1465h0t2.js} +11 -11
  21. package/dist/chunks/{workspace-ngmftgzk.js → workspace-1567wc0x.js} +3 -3
  22. package/dist/chunks/{workspace-rhraev7y.js → workspace-1acjjqhc.js} +3 -3
  23. package/dist/chunks/{workspace-76q5vzcy.js → workspace-1as5dk3f.js} +33 -33
  24. package/dist/chunks/{workspace-73tb2d7t.js → workspace-1bbkgx8g.js} +2 -2
  25. package/dist/chunks/{workspace-vzw5ftch.js → workspace-1d4zzn34.js} +1 -1
  26. package/dist/chunks/{workspace-cy2x3s5a.js → workspace-1rt1vv51.js} +16 -16
  27. package/dist/chunks/{workspace-ag2v6e19.js → workspace-1tm9pjvd.js} +27 -27
  28. package/dist/chunks/{workspace-9sh4wc5j.js → workspace-1x11rq2a.js} +4 -4
  29. package/dist/chunks/{workspace-8e1b1gzh.js → workspace-258tza17.js} +5 -5
  30. package/dist/chunks/{workspace-7hhc48cv.js → workspace-27e5hy5h.js} +23 -23
  31. package/dist/chunks/{workspace-y7e11ang.js → workspace-2cyhzmz0.js} +9 -9
  32. package/dist/chunks/{workspace-zt9y4nc3.js → workspace-2edf0jda.js} +13 -13
  33. package/dist/chunks/{workspace-bbyyrkpa.js → workspace-2hen7mrw.js} +4 -4
  34. package/dist/chunks/{workspace-b8s0s4ee.js → workspace-2p2zqrax.js} +14 -14
  35. package/dist/chunks/{workspace-934ndfrr.js → workspace-2rfrm4z4.js} +6 -6
  36. package/dist/chunks/{workspace-1ygqh575.js → workspace-33w4ejhs.js} +4 -4
  37. package/dist/chunks/{workspace-3w0fmcng.js → workspace-37s12vcn.js} +3 -3
  38. package/dist/chunks/{workspace-vz7ss3k3.js → workspace-3ajnb1r9.js} +9 -9
  39. package/dist/chunks/{workspace-sd1b9zfd.js → workspace-3z3b48hc.js} +12 -12
  40. package/dist/chunks/{workspace-4gzagvey.js → workspace-4akkya8d.js} +164 -164
  41. package/dist/chunks/{workspace-kr986s70.js → workspace-4bbqj5xy.js} +9 -9
  42. package/dist/chunks/{workspace-5892jdtn.js → workspace-4c8bw516.js} +3 -3
  43. package/dist/chunks/{workspace-8ncewq7h.js → workspace-4q3av0ca.js} +30 -30
  44. package/dist/chunks/{workspace-hzn56yvs.js → workspace-50sffj9r.js} +9 -9
  45. package/dist/chunks/{workspace-xj890rb7.js → workspace-5jc7ttfy.js} +32 -32
  46. package/dist/chunks/{workspace-2y34zzjz.js → workspace-5phqnecy.js} +8 -8
  47. package/dist/chunks/{workspace-0b1gpwwb.js → workspace-5wmcj197.js} +19 -19
  48. package/dist/chunks/{workspace-7vp5pahf.js → workspace-5x5s5b61.js} +20 -20
  49. package/dist/chunks/{workspace-feth5zyx.js → workspace-5xnbg0mq.js} +6 -6
  50. package/dist/chunks/{workspace-f9ps9yx5.js → workspace-64bnszwh.js} +17 -17
  51. package/dist/chunks/{workspace-wn4xj15b.js → workspace-68379k58.js} +4 -4
  52. package/dist/chunks/{workspace-njh9zcvs.js → workspace-684x0ekb.js} +16 -16
  53. package/dist/chunks/{workspace-t0x5rdq8.js → workspace-6d9mz4vp.js} +7 -7
  54. package/dist/chunks/{workspace-4tmag8pw.js → workspace-6dea3a60.js} +15 -15
  55. package/dist/chunks/{workspace-k9q45n45.js → workspace-6f3r6k6b.js} +4 -4
  56. package/dist/chunks/{workspace-3yd4wcry.js → workspace-6nr3zpgp.js} +8 -8
  57. package/dist/chunks/{workspace-4gqpqfcq.js → workspace-6pskpce9.js} +21 -21
  58. package/dist/chunks/{workspace-byfykep1.js → workspace-6qhdzbt8.js} +13 -13
  59. package/dist/chunks/{workspace-mdncrv3b.js → workspace-7bkv6sw9.js} +20 -20
  60. package/dist/chunks/{workspace-w9ytv6gf.js → workspace-7c2a2ky2.js} +10 -10
  61. package/dist/chunks/{workspace-v1v9n7kj.js → workspace-7c97gcr8.js} +16 -16
  62. package/dist/chunks/{workspace-e369tct8.js → workspace-7d7shxsk.js} +22 -22
  63. package/dist/chunks/{workspace-g84khnv4.js → workspace-7gwg4kr4.js} +14 -14
  64. package/dist/chunks/{workspace-cekxsej1.js → workspace-7qvw1jpc.js} +26 -26
  65. package/dist/chunks/{workspace-2s56tc45.js → workspace-7s8v9cx8.js} +9 -9
  66. package/dist/chunks/{workspace-ytp44yw2.js → workspace-7t7bkwb4.js} +11 -11
  67. package/dist/chunks/{workspace-scdhnzv1.js → workspace-81hk8rr5.js} +6 -6
  68. package/dist/chunks/{workspace-94z0cytz.js → workspace-86vtd0nm.js} +16 -16
  69. package/dist/chunks/{workspace-r9kqtr81.js → workspace-86wx2jpn.js} +12 -12
  70. package/dist/chunks/{workspace-1kaepe8y.js → workspace-8ebnt9d0.js} +28 -28
  71. package/dist/chunks/{workspace-hb1af40t.js → workspace-8yq5wvgp.js} +35 -35
  72. package/dist/chunks/{workspace-t1bhcjx3.js → workspace-96yt6zt0.js} +1 -1
  73. package/dist/chunks/{workspace-d3mk2n0c.js → workspace-9cn3k246.js} +17 -17
  74. package/dist/chunks/{workspace-skchca7t.js → workspace-9gdjw15m.js} +19 -19
  75. package/dist/chunks/{workspace-ahkdt7e5.js → workspace-9gwdy3qe.js} +47 -47
  76. package/dist/chunks/{workspace-hadkhv8d.js → workspace-9sfejfyp.js} +30 -30
  77. package/dist/chunks/{workspace-ggqdnky6.js → workspace-a4xtd93v.js} +10 -10
  78. package/dist/chunks/{workspace-6qgms2qw.js → workspace-a5ctevk9.js} +17 -17
  79. package/dist/chunks/{workspace-0ebyrbpf.js → workspace-a5rsm3jn.js} +13 -13
  80. package/dist/chunks/{workspace-n0rxe8qg.js → workspace-a6awqz4k.js} +5 -5
  81. package/dist/chunks/{workspace-bt0wtns8.js → workspace-a9c6fzfx.js} +9 -9
  82. package/dist/chunks/{workspace-exzp4pnr.js → workspace-aatqeffd.js} +3 -3
  83. package/dist/chunks/{workspace-6ccptkaw.js → workspace-abq5c8yx.js} +4 -4
  84. package/dist/chunks/{workspace-f79e7acg.js → workspace-bcnz578n.js} +1 -1
  85. package/dist/chunks/{workspace-jc1vbcaj.js → workspace-bp2xefs4.js} +10 -10
  86. package/dist/chunks/{workspace-zjw1qxrj.js → workspace-bvycm81b.js} +21 -21
  87. package/dist/chunks/{workspace-b281zsyd.js → workspace-ckekgx3g.js} +1 -1
  88. package/dist/chunks/{workspace-hfdr1yjj.js → workspace-cq37gk0t.js} +1 -1
  89. package/dist/chunks/{workspace-2vz4t0z4.js → workspace-cqexvzst.js} +6 -6
  90. package/dist/chunks/{workspace-y418223f.js → workspace-czshjawf.js} +9 -9
  91. package/dist/chunks/{workspace-4m2pmvxz.js → workspace-d0k1g5nx.js} +5 -5
  92. package/dist/chunks/{workspace-rqz552e7.js → workspace-d2f1arkd.js} +17 -17
  93. package/dist/chunks/{workspace-xwq8n2sh.js → workspace-dc2s3mgf.js} +8 -8
  94. package/dist/chunks/{workspace-1wh2xykj.js → workspace-deb8jze3.js} +7 -7
  95. package/dist/chunks/{workspace-s74e6q5b.js → workspace-dphh6hs8.js} +17 -17
  96. package/dist/chunks/{workspace-abn48psr.js → workspace-dw2zxk3m.js} +16 -16
  97. package/dist/chunks/{workspace-ab9238g2.js → workspace-e6hd9jay.js} +5 -5
  98. package/dist/chunks/{workspace-cgybpxck.js → workspace-ebxmy4ff.js} +23 -23
  99. package/dist/chunks/{workspace-kfjdjtta.js → workspace-exa2hqft.js} +30 -30
  100. package/dist/chunks/{workspace-devz3we5.js → workspace-eym9gh87.js} +33 -33
  101. package/dist/chunks/{workspace-ntbm31a4.js → workspace-ez2cwskb.js} +8 -8
  102. package/dist/chunks/{workspace-n5zjdcc0.js → workspace-f8q7mv7a.js} +1 -1
  103. package/dist/chunks/{workspace-qedhf8hd.js → workspace-fd7by8kg.js} +12 -12
  104. package/dist/chunks/{workspace-fkab44b1.js → workspace-ff9kr7s1.js} +18 -18
  105. package/dist/chunks/{workspace-eebjtjym.js → workspace-ffxvb7x8.js} +4 -4
  106. package/dist/chunks/{workspace-hjsw513e.js → workspace-fg152w5z.js} +4 -4
  107. package/dist/chunks/{workspace-1fa9ans5.js → workspace-fgh0kbhd.js} +1 -1
  108. package/dist/chunks/{workspace-qtwarjwz.js → workspace-fhtb8t9m.js} +12 -12
  109. package/dist/chunks/{workspace-sdh12dq5.js → workspace-fpmcemdk.js} +32 -32
  110. package/dist/chunks/{workspace-skyymkrr.js → workspace-fqka1xvk.js} +2 -2
  111. package/dist/chunks/{workspace-fmmn8x74.js → workspace-fygdb7h7.js} +3 -3
  112. package/dist/chunks/{workspace-jw80jp6b.js → workspace-g190xswt.js} +3 -3
  113. package/dist/chunks/{workspace-kfch808q.js → workspace-g71q580a.js} +20 -20
  114. package/dist/chunks/{workspace-02nph5r6.js → workspace-g8pejf11.js} +37 -37
  115. package/dist/chunks/{workspace-c8bfydn7.js → workspace-g95j7xq8.js} +10 -10
  116. package/dist/chunks/{workspace-hkp1h9sy.js → workspace-g9t14tcv.js} +17 -17
  117. package/dist/chunks/{workspace-3fsqj4j0.js → workspace-ganp6fse.js} +2 -2
  118. package/dist/chunks/{workspace-gg212e6z.js → workspace-gatrstrm.js} +25 -25
  119. package/dist/chunks/workspace-gbadjzag.js +4 -0
  120. package/dist/chunks/{workspace-3ssv6kad.js → workspace-gbx0czrk.js} +21 -21
  121. package/dist/chunks/{workspace-vx0nbd5a.js → workspace-gfwy2ztq.js} +11 -11
  122. package/dist/chunks/{workspace-33w8fzr9.js → workspace-ggfsfb11.js} +23 -23
  123. package/dist/chunks/{workspace-jg036ky1.js → workspace-gmhy8ckh.js} +3 -3
  124. package/dist/chunks/{workspace-hz4vbhnm.js → workspace-gqag2b6m.js} +86 -86
  125. package/dist/chunks/{workspace-w1ad28wa.js → workspace-gqawmzqm.js} +7 -7
  126. package/dist/chunks/{workspace-nyqyjq7f.js → workspace-gqd8n12r.js} +58 -58
  127. package/dist/chunks/{workspace-59wgq1a5.js → workspace-h3eefm4q.js} +17 -17
  128. package/dist/chunks/{workspace-0gr7cw0d.js → workspace-h6z8d5tn.js} +3 -3
  129. package/dist/chunks/{workspace-sxgqf9nr.js → workspace-hgdbqd39.js} +23 -23
  130. package/dist/chunks/{workspace-wjjfysat.js → workspace-hk7s8mmx.js} +8 -8
  131. package/dist/chunks/{workspace-xcxg3sjd.js → workspace-hpxc2jmf.js} +7 -7
  132. package/dist/chunks/{workspace-9cmgy7cp.js → workspace-hqs1dran.js} +22 -22
  133. package/dist/chunks/{workspace-ytjkbs5q.js → workspace-hs4grwgg.js} +36 -36
  134. package/dist/chunks/{workspace-fwv3dbt3.js → workspace-hwddf2sa.js} +2 -2
  135. package/dist/chunks/{workspace-010ejnzv.js → workspace-hxjrgpwf.js} +20 -20
  136. package/dist/chunks/{workspace-et6333e0.js → workspace-j6bg8t1s.js} +15 -15
  137. package/dist/chunks/{workspace-yam58fy8.js → workspace-jgpaqraz.js} +14 -14
  138. package/dist/chunks/{workspace-0n1qmxwe.js → workspace-jjk9g4c9.js} +12 -12
  139. package/dist/chunks/{workspace-2bt6bea8.js → workspace-jjs74g98.js} +7 -7
  140. package/dist/chunks/{workspace-3t9wsyj4.js → workspace-jr28ye0q.js} +10 -10
  141. package/dist/chunks/{workspace-qssq5wvh.js → workspace-k16ay38w.js} +1 -1
  142. package/dist/chunks/{workspace-ggrs6r08.js → workspace-k5asd96r.js} +8 -8
  143. package/dist/chunks/{workspace-f73rjn58.js → workspace-k76fn4kw.js} +3 -3
  144. package/dist/chunks/{workspace-krapsz8s.js → workspace-kbb8b4mk.js} +7 -7
  145. package/dist/chunks/{workspace-pawwnp4a.js → workspace-kcwrj79s.js} +11 -11
  146. package/dist/chunks/{workspace-2r9a3wfp.js → workspace-kmhfjgd2.js} +4 -4
  147. package/dist/chunks/{workspace-hf8cnsjw.js → workspace-ksz0h0wp.js} +1 -1
  148. package/dist/chunks/{workspace-5ys1ttr6.js → workspace-kwp6s08a.js} +27 -27
  149. package/dist/chunks/{workspace-dsfjtjtn.js → workspace-kyhv7p5a.js} +15 -15
  150. package/dist/chunks/{workspace-ccq2df5x.js → workspace-kz97c3qe.js} +2 -2
  151. package/dist/chunks/{workspace-dt849bc4.js → workspace-m27pyyd3.js} +5 -5
  152. package/dist/chunks/{workspace-1qa7sx05.js → workspace-m4z3bx3m.js} +17 -17
  153. package/dist/chunks/{workspace-wh7dthar.js → workspace-m6866ypp.js} +51 -51
  154. package/dist/chunks/{workspace-d23qetaw.js → workspace-mbzcxd5j.js} +9 -9
  155. package/dist/chunks/{workspace-dxk9f402.js → workspace-mq2071pb.js} +12 -12
  156. package/dist/chunks/{workspace-5c0f1prt.js → workspace-msq0jde0.js} +3 -3
  157. package/dist/chunks/{workspace-f7ehr2sm.js → workspace-n37c4crj.js} +3 -3
  158. package/dist/chunks/workspace-n3pe30h6.js +247 -0
  159. package/dist/chunks/{workspace-43yx1h7c.js → workspace-n42231gp.js} +9 -9
  160. package/dist/chunks/{workspace-6jex2xta.js → workspace-n76fdqym.js} +5 -5
  161. package/dist/chunks/{workspace-709qmd4f.js → workspace-nckzcwnb.js} +34 -34
  162. package/dist/chunks/{workspace-kzzsz8rg.js → workspace-nh3pjw8e.js} +19 -19
  163. package/dist/chunks/{workspace-rcq5765c.js → workspace-p03qjtav.js} +13 -13
  164. package/dist/chunks/{workspace-b3t12aqp.js → workspace-p33ejz0k.js} +1 -1
  165. package/dist/chunks/{workspace-rq6x4r74.js → workspace-p8xg97qz.js} +14 -14
  166. package/dist/chunks/{workspace-fv9ed2xt.js → workspace-pbah22gf.js} +39 -39
  167. package/dist/chunks/{workspace-c3m0xs4s.js → workspace-ppkj2x0s.js} +14 -14
  168. package/dist/chunks/{workspace-b6bb7nct.js → workspace-ptyvps10.js} +17 -17
  169. package/dist/chunks/{workspace-7we4r9ew.js → workspace-px077m8m.js} +9 -9
  170. package/dist/chunks/{workspace-7b15y959.js → workspace-q26tgv94.js} +7 -7
  171. package/dist/chunks/workspace-q6ers3ks.js +22 -0
  172. package/dist/chunks/{workspace-jwye7syw.js → workspace-qba6esk9.js} +7 -7
  173. package/dist/chunks/{workspace-7dqw4kz8.js → workspace-qgn6gcr1.js} +4 -4
  174. package/dist/chunks/{workspace-hnr5yq9h.js → workspace-qjnxxf51.js} +3 -3
  175. package/dist/chunks/{workspace-gqap5j9g.js → workspace-qnwdymmb.js} +10 -10
  176. package/dist/chunks/{workspace-3b1wqxak.js → workspace-qybt8qf6.js} +24 -24
  177. package/dist/chunks/{workspace-b1t2am26.js → workspace-r43pzhmb.js} +29 -29
  178. package/dist/chunks/{workspace-494yeyrp.js → workspace-r8xbn976.js} +7 -7
  179. package/dist/chunks/{workspace-7s02b6me.js → workspace-r9babyk8.js} +1 -1
  180. package/dist/chunks/{workspace-a2ew8a62.js → workspace-ratrq7cm.js} +3 -3
  181. package/dist/chunks/{workspace-s8d7rejh.js → workspace-rhjbct0v.js} +3 -3
  182. package/dist/chunks/{workspace-v7bsnapp.js → workspace-rpkqhkgh.js} +35 -35
  183. package/dist/chunks/{workspace-022adzae.js → workspace-s2qmceks.js} +7 -7
  184. package/dist/chunks/{workspace-gt0apk7z.js → workspace-sheztqmg.js} +18 -18
  185. package/dist/chunks/{workspace-z52w236g.js → workspace-ssc9de04.js} +1 -1
  186. package/dist/chunks/{workspace-n4yapsk0.js → workspace-st1a0ccc.js} +29 -29
  187. package/dist/chunks/{workspace-f5wfqm5e.js → workspace-sxst59p4.js} +10 -10
  188. package/dist/chunks/{workspace-pv643edj.js → workspace-tfbymgd2.js} +4 -4
  189. package/dist/chunks/{workspace-gcvj5pa8.js → workspace-thgpzxma.js} +15 -15
  190. package/dist/chunks/{workspace-fsnw1hqv.js → workspace-tj06h6ge.js} +11 -11
  191. package/dist/chunks/{workspace-8a435q9z.js → workspace-tzbf48v6.js} +22 -22
  192. package/dist/chunks/{workspace-tjedsf1z.js → workspace-v4n861w0.js} +1 -1
  193. package/dist/chunks/{workspace-hd29wc17.js → workspace-v5w9803s.js} +7 -7
  194. package/dist/chunks/{workspace-pz5qb3qt.js → workspace-v7z8j5fb.js} +5 -5
  195. package/dist/chunks/{workspace-s8t4qsw4.js → workspace-v8g8r3p5.js} +4 -4
  196. package/dist/chunks/{workspace-j83byb14.js → workspace-vncycja5.js} +3 -3
  197. package/dist/chunks/{workspace-g5q0e61f.js → workspace-vw5rdzwq.js} +1 -1
  198. package/dist/chunks/{workspace-jp51bnyt.js → workspace-vwszadwz.js} +29 -29
  199. package/dist/chunks/{workspace-gp8tcjp2.js → workspace-w5qg2wfr.js} +11 -11
  200. package/dist/chunks/{workspace-any60g97.js → workspace-wc290t49.js} +10 -10
  201. package/dist/chunks/{workspace-9asg0y97.js → workspace-wceej830.js} +15 -15
  202. package/dist/chunks/{workspace-910asfwy.js → workspace-wf0sjdq3.js} +2 -2
  203. package/dist/chunks/{workspace-eamgkqma.js → workspace-wx969pk2.js} +9 -9
  204. package/dist/chunks/{workspace-cf42bz4p.js → workspace-x1szhx45.js} +16 -16
  205. package/dist/chunks/{workspace-zmmw47s9.js → workspace-x9snh48m.js} +6 -6
  206. package/dist/chunks/{workspace-8bg05p2k.js → workspace-xj5pk8z5.js} +19 -19
  207. package/dist/chunks/{workspace-6wjp1q1r.js → workspace-xkza7d0m.js} +36 -36
  208. package/dist/chunks/{workspace-685qrrxy.js → workspace-xqrcwaxh.js} +25 -25
  209. package/dist/chunks/{workspace-8bt8kjwe.js → workspace-xwemxn4q.js} +7 -7
  210. package/dist/chunks/{workspace-yeaw3623.js → workspace-xxdmnr1j.js} +22 -22
  211. package/dist/chunks/{workspace-pb37c83a.js → workspace-xygnmwgx.js} +10 -10
  212. package/dist/chunks/{workspace-58aqtfam.js → workspace-y9ynd60w.js} +20 -20
  213. package/dist/chunks/{workspace-srqbxy54.js → workspace-yhqzjv42.js} +19 -19
  214. package/dist/chunks/{workspace-8dp3tmf6.js → workspace-ymqqjkft.js} +26 -26
  215. package/dist/chunks/{workspace-jndyp0t0.js → workspace-yn0159c4.js} +75 -75
  216. package/dist/chunks/{workspace-7f2qwqcj.js → workspace-yrdykp8a.js} +23 -23
  217. package/dist/chunks/{workspace-a78mx8ke.js → workspace-ys34w47p.js} +9 -9
  218. package/dist/chunks/{workspace-pecb0brz.js → workspace-yt0fqk68.js} +3 -3
  219. package/dist/chunks/{workspace-wtknh6p7.js → workspace-z3b2s73f.js} +1 -1
  220. package/dist/chunks/{workspace-2ee8pmxs.js → workspace-z69s9t6b.js} +4 -4
  221. package/dist/chunks/{workspace-c2s6b9jx.js → workspace-z97qt971.js} +288 -288
  222. package/dist/chunks/{workspace-kwb80b5k.js → workspace-za4pw5w1.js} +6 -6
  223. package/dist/chunks/{workspace-2wb4awa6.js → workspace-zm6nb732.js} +20 -20
  224. package/dist/chunks/{workspace-krye8wkr.js → workspace-znttyky5.js} +10 -10
  225. package/dist/codemode/instructions.js +8 -8
  226. package/dist/command.js +65 -65
  227. package/dist/config/discovery.js +56 -56
  228. package/dist/config/normalize.js +16 -16
  229. package/dist/config/plugin/agent.js +85 -85
  230. package/dist/config/plugin/command.js +167 -167
  231. package/dist/config/plugin/compaction.js +117 -117
  232. package/dist/config/plugin/formatter.js +85 -85
  233. package/dist/config/plugin/image.js +85 -85
  234. package/dist/config/plugin/instruction.js +62 -62
  235. package/dist/config/plugin/location-watcher.js +87 -87
  236. package/dist/config/plugin/mcp.js +94 -94
  237. package/dist/config/plugin/policy.js +83 -83
  238. package/dist/config/plugin/provider.js +83 -83
  239. package/dist/config/plugin/reference.js +87 -87
  240. package/dist/config/plugin/shell.js +86 -86
  241. package/dist/config/plugin/skill-file.js +71 -71
  242. package/dist/config/plugin/skill.js +100 -100
  243. package/dist/config/plugin/snapshot.js +85 -85
  244. package/dist/config/plugin/source.js +87 -87
  245. package/dist/config/plugin/tool-output.js +86 -86
  246. package/dist/config/plugin/websearch.js +83 -83
  247. package/dist/config/plugin/worktree.js +86 -86
  248. package/dist/config.js +90 -90
  249. package/dist/credential.js +57 -57
  250. package/dist/database/database.js +51 -51
  251. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  252. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  253. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  254. package/dist/database/drizzle/index.js +10 -10
  255. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  256. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  257. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  258. package/dist/database/drizzle.js +10 -10
  259. package/dist/database/migration.gen.js +35 -35
  260. package/dist/database/migration.js +36 -36
  261. package/dist/database/v1-migration.bun.js +9 -9
  262. package/dist/effect/app-node-builder.js +229 -229
  263. package/dist/environment/environment.js +64 -64
  264. package/dist/environment/index.js +66 -66
  265. package/dist/event-logger.js +9 -9
  266. package/dist/file-access.js +74 -74
  267. package/dist/file-mutation.js +65 -65
  268. package/dist/filesystem/location-watcher-policy.js +5 -5
  269. package/dist/filesystem/location-watcher.js +181 -181
  270. package/dist/filesystem/search.js +73 -73
  271. package/dist/filesystem/watcher.js +11 -11
  272. package/dist/filesystem.js +74 -74
  273. package/dist/form.js +57 -57
  274. package/dist/formatter/builtins.js +3 -3
  275. package/dist/formatter.js +63 -63
  276. package/dist/generate.js +71 -71
  277. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
  278. package/dist/github-copilot/copilot-provider.js +3 -3
  279. package/dist/github-copilot/models.js +7 -7
  280. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  281. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  282. package/dist/image/photon.js +1 -1
  283. package/dist/image.js +5 -5
  284. package/dist/instance/service.js +5 -5
  285. package/dist/instance.js +301 -301
  286. package/dist/instruction-discovery.js +66 -66
  287. package/dist/instructions/builtins.js +61 -61
  288. package/dist/instructions/index.js +3 -3
  289. package/dist/integration.js +60 -60
  290. package/dist/job.js +60 -60
  291. package/dist/kv.js +56 -56
  292. package/dist/location-activity.js +53 -53
  293. package/dist/location-mutation.js +29 -29
  294. package/dist/location-service-map.js +60 -60
  295. package/dist/location-services.js +299 -299
  296. package/dist/location.js +63 -63
  297. package/dist/mcp/client.js +16 -16
  298. package/dist/mcp/index.js +77 -77
  299. package/dist/mcp/instructions.js +90 -90
  300. package/dist/mcp/stdio.js +61 -61
  301. package/dist/modal/models.js +7 -7
  302. package/dist/model-resolver.js +68 -68
  303. package/dist/model.js +8 -8
  304. package/dist/models-dev.js +69 -69
  305. package/dist/permission/saved.js +60 -60
  306. package/dist/permission.js +79 -79
  307. package/dist/persistent-pty/index.js +66 -66
  308. package/dist/persistent-pty.js +54 -54
  309. package/dist/plugin/agent.js +72 -72
  310. package/dist/plugin/command.js +68 -68
  311. package/dist/plugin/hooks.js +5 -5
  312. package/dist/plugin/host.js +172 -172
  313. package/dist/plugin/instance.js +5 -5
  314. package/dist/plugin/internal.js +273 -273
  315. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  316. package/dist/plugin/models-dev.js +58 -58
  317. package/dist/plugin/module.js +4 -4
  318. package/dist/plugin/plan.js +72 -72
  319. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  320. package/dist/plugin/provider/anthropic.js +2 -2
  321. package/dist/plugin/provider/azure.js +88 -88
  322. package/dist/plugin/provider/cerebras.js +2 -2
  323. package/dist/plugin/provider/cloudflare-ai-gateway.js +87 -87
  324. package/dist/plugin/provider/cloudflare-workers-ai.js +87 -87
  325. package/dist/plugin/provider/configured.js +85 -85
  326. package/dist/plugin/provider/digitalocean.js +60 -60
  327. package/dist/plugin/provider/github-copilot.js +62 -62
  328. package/dist/plugin/provider/gitlab.js +3 -3
  329. package/dist/plugin/provider/google-vertex.js +2 -2
  330. package/dist/plugin/provider/kilo.js +2 -2
  331. package/dist/plugin/provider/llmgateway.js +58 -58
  332. package/dist/plugin/provider/lmstudio.js +88 -88
  333. package/dist/plugin/provider/modal.js +61 -61
  334. package/dist/plugin/provider/nvidia.js +2 -2
  335. package/dist/plugin/provider/ollama.js +88 -88
  336. package/dist/plugin/provider/openai.js +59 -59
  337. package/dist/plugin/provider/opencode.js +60 -60
  338. package/dist/plugin/provider/openrouter.js +3 -3
  339. package/dist/plugin/provider/poe.js +57 -57
  340. package/dist/plugin/provider/sap-ai-core.js +2 -2
  341. package/dist/plugin/provider/snowflake-cortex.js +87 -87
  342. package/dist/plugin/provider/vercel.js +2 -2
  343. package/dist/plugin/provider/vllm.js +88 -88
  344. package/dist/plugin/provider/xai.js +59 -59
  345. package/dist/plugin/provider/zenmux.js +2 -2
  346. package/dist/plugin/provider.js +123 -123
  347. package/dist/plugin/sdk.js +59 -59
  348. package/dist/plugin/service.js +3 -3
  349. package/dist/plugin/skill.js +100 -100
  350. package/dist/plugin/supervisor.js +291 -291
  351. package/dist/plugin/update.js +3 -3
  352. package/dist/plugin/variant.js +4 -4
  353. package/dist/plugin/vcs/git.js +60 -60
  354. package/dist/plugin/vcs/hg.js +60 -60
  355. package/dist/plugin/warming.js +83 -83
  356. package/dist/plugin/websearch/exa.js +6 -6
  357. package/dist/plugin/websearch/firecrawl.js +7 -7
  358. package/dist/plugin/websearch/index.js +7 -7
  359. package/dist/plugin/websearch/mcp.js +3 -3
  360. package/dist/plugin/websearch/parallel.js +7 -7
  361. package/dist/plugin/websearch/tavily.js +6 -6
  362. package/dist/plugin.js +179 -179
  363. package/dist/project/schema.js +5 -5
  364. package/dist/project.js +62 -62
  365. package/dist/provider.js +5 -5
  366. package/dist/pty/schema.js +3 -3
  367. package/dist/pty.js +72 -72
  368. package/dist/reference/instructions.js +65 -65
  369. package/dist/reference.js +67 -67
  370. package/dist/repository-cache.js +58 -58
  371. package/dist/ripgrep.js +68 -68
  372. package/dist/rpc.js +60 -60
  373. package/dist/session/command.js +56 -56
  374. package/dist/session/compaction.js +98 -98
  375. package/dist/session/context.js +113 -113
  376. package/dist/session/environment.js +3 -3
  377. package/dist/session/error.js +4 -4
  378. package/dist/session/execution/restart.js +114 -114
  379. package/dist/session/execution.js +94 -94
  380. package/dist/session/generate.js +114 -114
  381. package/dist/session/history.js +6 -6
  382. package/dist/session/inbox.js +66 -66
  383. package/dist/session/info.js +2 -2
  384. package/dist/session/instruction-entry.js +59 -59
  385. package/dist/session/instruction-state.js +2 -2
  386. package/dist/session/instructions.js +68 -68
  387. package/dist/session/message-updater.js +3 -3
  388. package/dist/session/model-request.js +85 -85
  389. package/dist/session/model-transport.js +7 -7
  390. package/dist/session/move.js +97 -97
  391. package/dist/session/projector.js +61 -61
  392. package/dist/session/prompt.js +74 -74
  393. package/dist/session/provider-context.js +3 -3
  394. package/dist/session/revert.js +61 -61
  395. package/dist/session/run-coordinator.js +3 -3
  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 +68 -68
  399. package/dist/session/runner/retry.js +83 -83
  400. package/dist/session/runner/step.js +89 -89
  401. package/dist/session/runner/to-llm-message.js +2 -2
  402. package/dist/session/schema.js +3 -3
  403. package/dist/session/session.js +133 -133
  404. package/dist/session/shell.js +100 -100
  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 +165 -165
  409. package/dist/session/title.js +116 -116
  410. package/dist/session/to-session-error.js +80 -80
  411. package/dist/session/transfer.js +109 -109
  412. package/dist/session.js +172 -172
  413. package/dist/shell/parse.js +3 -3
  414. package/dist/shell/select.js +9 -9
  415. package/dist/shell.js +99 -99
  416. package/dist/skill/discovery.js +5 -5
  417. package/dist/skill/instructions.js +77 -77
  418. package/dist/skill.js +80 -80
  419. package/dist/snapshot.js +65 -65
  420. package/dist/tool/mcp.js +87 -87
  421. package/dist/tool/plugin/edit.js +86 -86
  422. package/dist/tool/plugin/glob.js +84 -84
  423. package/dist/tool/plugin/grep.js +88 -88
  424. package/dist/tool/plugin/opencode.js +3 -3
  425. package/dist/tool/plugin/patch.js +88 -88
  426. package/dist/tool/plugin/question.js +73 -73
  427. package/dist/tool/plugin/read.js +88 -88
  428. package/dist/tool/plugin/shell.js +171 -171
  429. package/dist/tool/plugin/skill.js +83 -83
  430. package/dist/tool/plugin/subagent.js +170 -170
  431. package/dist/tool/plugin/webfetch.js +78 -78
  432. package/dist/tool/plugin/websearch.js +80 -80
  433. package/dist/tool/plugin/write.js +88 -88
  434. package/dist/tool/read-filesystem.js +69 -69
  435. package/dist/tool-output.js +6 -6
  436. package/dist/tool.js +9 -9
  437. package/dist/v1/config/agent.js +4 -4
  438. package/dist/v1/config/attachment.js +3 -3
  439. package/dist/v1/config/command.js +3 -3
  440. package/dist/v1/config/config.js +14 -14
  441. package/dist/v1/config/formatter.js +7 -7
  442. package/dist/v1/config/lsp.js +5 -5
  443. package/dist/v1/config/mcp.js +3 -3
  444. package/dist/v1/config/migrate.js +3 -3
  445. package/dist/v1/config/permission.js +3 -3
  446. package/dist/v1/config/plugin.js +3 -3
  447. package/dist/v1/config/provider.js +3 -3
  448. package/dist/v1/config/skills.js +3 -3
  449. package/dist/vcs.js +63 -63
  450. package/dist/websearch.js +65 -65
  451. package/dist/wellknown/plugin.js +57 -57
  452. package/dist/wellknown.js +60 -60
  453. package/dist/workspace/driver.js +5 -5
  454. package/dist/workspace.js +63 -63
  455. package/dist/worktree/refresh.js +290 -290
  456. package/dist/worktree.js +67 -67
  457. package/package.json +8 -8
  458. package/dist/chunks/workspace-7er8a3we.js +0 -247
  459. package/dist/chunks/workspace-a93wq46y.js +0 -22
  460. package/dist/chunks/workspace-qapv375x.js +0 -4
  461. /package/dist/chunks/{workspace-4pwxaf10.js → workspace-bqvjxhzq.js} +0 -0
  462. /package/dist/chunks/{workspace-xhnnpr23.js → workspace-cvcrrxw9.js} +0 -0
  463. /package/dist/chunks/{workspace-ma15yhyh.js → workspace-vrpz8t5t.js} +0 -0
  464. /package/dist/chunks/{workspace-4ne4chy4.js → workspace-yrxxjksg.js} +0 -0
@@ -3,13 +3,13 @@ import {
3
3
  RelativePath2
4
4
  } from "./workspace-922hggd3.js";
5
5
  import {
6
- Service70,
7
- node75
8
- } from "./workspace-njh9zcvs.js";
6
+ Service67,
7
+ node71
8
+ } from "./workspace-684x0ekb.js";
9
9
  import {
10
- Service14,
11
- node17
12
- } from "./workspace-ag2v6e19.js";
10
+ Service39,
11
+ node43
12
+ } from "./workspace-1tm9pjvd.js";
13
13
  import {
14
14
  __export
15
15
  } from "./workspace-9rqn6x4v.js";
@@ -17,21 +17,21 @@ import {
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
19
19
  __export(exports_filesystem, {
20
- Content: () => Content2,
20
+ Content: () => Content3,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event2,
24
+ Event: () => Event9,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput2,
29
+ ListInput: () => ListInput3,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service13,
32
+ Service: () => Service38,
33
33
  Submatch: () => Submatch2,
34
- node: () => node16
34
+ node: () => node42
35
35
  });
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
37
37
  import path from "path";
@@ -42,14 +42,14 @@ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@openco
42
42
  var ReadInput2 = Schema.Struct({
43
43
  path: RelativePath2
44
44
  });
45
- var Content2 = Schema.Struct({
45
+ var Content3 = Schema.Struct({
46
46
  uri: Schema.String,
47
47
  name: Schema.String.pipe(Schema.optional),
48
48
  content: Schema.String,
49
49
  encoding: Schema.Literals(["utf8", "base64"]),
50
50
  mime: Schema.String
51
51
  }).annotate({ identifier: "FileSystem.Content" });
52
- var ListInput2 = Schema.Struct({
52
+ var ListInput3 = Schema.Struct({
53
53
  path: Schema.String.pipe(Schema.optional)
54
54
  });
55
55
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event2 = FileSystem.Event;
75
+ var Event9 = FileSystem.Event;
76
76
 
77
- class Service13 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service38 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service38, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service70;
82
- const search = yield* Service14;
81
+ const location = yield* Service67;
82
+ const search = yield* Service39;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service13.of({
93
+ return Service38.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node16 = makeLocationNode({
126
- service: Service13,
125
+ var node42 = makeLocationNode({
126
+ service: Service38,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node75, node17]
128
+ deps: [FSUtil.node, node71, node43]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node16, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service38, node42, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service60
3
- } from "./workspace-4m2pmvxz.js";
2
+ Service54
3
+ } from "./workspace-d0k1g5nx.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./workspace-9sh4wc5j.js";
6
+ } from "./workspace-1x11rq2a.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./workspace-s8t4qsw4.js";
9
+ } from "./workspace-v8g8r3p5.js";
10
10
  import {
11
- Service39
12
- } from "./workspace-7vp5pahf.js";
11
+ Service37
12
+ } from "./workspace-5x5s5b61.js";
13
13
  import {
14
14
  __export
15
15
  } from "./workspace-9rqn6x4v.js";
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service60;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
25
+ const instances = yield* Service54;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./workspace-dt849bc4.js";
4
+ } from "./workspace-m27pyyd3.js";
5
5
  import {
6
6
  latest2,
7
- Service48
8
- } from "./workspace-709qmd4f.js";
7
+ Service44
8
+ } from "./workspace-nckzcwnb.js";
9
9
  import {
10
10
  observe2
11
11
  } from "./workspace-qsdy395h.js";
@@ -17,15 +17,15 @@ import {
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin33
20
+ Plugin: () => Plugin27
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin33 = define({
25
+ var Plugin27 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service48;
28
+ const config = yield* Service44;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -155,4 +155,4 @@ function configuredProviders(entries) {
155
155
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
156
156
  }
157
157
 
158
- export { Plugin33, exports_provider };
158
+ export { Plugin27, exports_provider };
@@ -5,26 +5,26 @@ import {
5
5
  RelativePath2
6
6
  } from "./workspace-922hggd3.js";
7
7
  import {
8
- Service70
9
- } from "./workspace-njh9zcvs.js";
8
+ Service67
9
+ } from "./workspace-684x0ekb.js";
10
10
  import {
11
- Service45
12
- } from "./workspace-srqbxy54.js";
11
+ Service47
12
+ } from "./workspace-yhqzjv42.js";
13
13
  import {
14
- Service19
15
- } from "./workspace-dsfjtjtn.js";
14
+ Service40
15
+ } from "./workspace-kyhv7p5a.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./workspace-sxgqf9nr.js";
21
+ } from "./workspace-hgdbqd39.js";
22
22
  import {
23
- Service63
24
- } from "./workspace-ahkdt7e5.js";
23
+ Service61
24
+ } from "./workspace-9gwdy3qe.js";
25
25
  import {
26
- Service16
27
- } from "./workspace-cf42bz4p.js";
26
+ Service35
27
+ } from "./workspace-x1szhx45.js";
28
28
  import {
29
29
  __export
30
30
  } from "./workspace-9rqn6x4v.js";
@@ -34,8 +34,8 @@ var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
36
  Input: () => Input5,
37
- Output: () => Output4,
38
- Plugin: () => Plugin19,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin5,
39
39
  name: () => name5,
40
40
  toModelContent: () => toModelContent4
41
41
  });
@@ -55,7 +55,7 @@ var Input5 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output4 = Schema.Array(Entry2);
58
+ var Output5 = Schema.Array(Entry2);
59
59
  var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
@@ -63,20 +63,20 @@ var toModelContent4 = (entries, truncated = false) => {
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin19 = {
66
+ var Plugin5 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service45;
70
- const ripgrep = yield* Service19;
71
- const location = yield* Service70;
72
- const access = yield* Service16;
73
- const permission = yield* Service63;
69
+ const environment = yield* Service47;
70
+ const ripgrep = yield* Service40;
71
+ const location = yield* Service67;
72
+ const access = yield* Service35;
73
+ const permission = yield* Service61;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
75
  name: name5,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
78
  input: Input5,
79
- output: Output4,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
@@ -125,4 +125,4 @@ var Plugin19 = {
125
125
  })
126
126
  };
127
127
 
128
- export { name5, Input5, Output4, toModelContent4, Plugin19, exports_glob };
128
+ export { name5, Input5, Output5, toModelContent4, Plugin5, exports_glob };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./workspace-tjedsf1z.js";
4
+ } from "./workspace-v4n861w0.js";
5
5
  import {
6
- node54
7
- } from "./workspace-rqz552e7.js";
6
+ node49
7
+ } from "./workspace-d2f1arkd.js";
8
8
  import {
9
- Service10,
10
- node13
11
- } from "./workspace-gg212e6z.js";
9
+ Service7,
10
+ node9
11
+ } from "./workspace-gatrstrm.js";
12
12
  import {
13
- Service32
14
- } from "./workspace-9sh4wc5j.js";
13
+ Service27
14
+ } from "./workspace-1x11rq2a.js";
15
15
  import {
16
- node20,
16
+ node16,
17
17
  ID2
18
- } from "./workspace-v1v9n7kj.js";
18
+ } from "./workspace-7c97gcr8.js";
19
19
  import {
20
- Service6,
21
- node9
22
- } from "./workspace-7b15y959.js";
20
+ Service2,
21
+ node4
22
+ } from "./workspace-q26tgv94.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./workspace-c2s6b9jx.js";
26
+ } from "./workspace-z97qt971.js";
27
27
  import {
28
- make4,
28
+ make3,
29
29
  LoadError2
30
- } from "./workspace-feth5zyx.js";
30
+ } from "./workspace-5xnbg0mq.js";
31
31
  import {
32
32
  Updated2,
33
- Service5,
34
- node8
35
- } from "./workspace-eamgkqma.js";
33
+ Service3,
34
+ node5
35
+ } from "./workspace-wx969pk2.js";
36
36
  import {
37
37
  Service4,
38
- node7
39
- } from "./workspace-f7ehr2sm.js";
38
+ node6
39
+ } from "./workspace-n37c4crj.js";
40
40
  import {
41
41
  __export
42
42
  } from "./workspace-9rqn6x4v.js";
@@ -45,8 +45,8 @@ import {
45
45
  var exports_supervisor = {};
46
46
  __export(exports_supervisor, {
47
47
  PluginSupervisor: () => exports_supervisor,
48
- layer: () => layer4,
49
- node: () => node6
48
+ layer: () => layer3,
49
+ node: () => node3
50
50
  });
51
51
  import { Event } from "@opencode/schema/config";
52
52
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -124,12 +124,12 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
124
124
  pending: [...pending]
125
125
  };
126
126
  });
127
- var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service32;
129
- const sdk = yield* Service5;
130
- const instance = yield* Service6;
131
- const sources = yield* Service10;
132
- const modules = yield* make4();
127
+ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
128
+ const registry = yield* Service27;
129
+ const sdk = yield* Service3;
130
+ const instance = yield* Service2;
131
+ const sources = yield* Service7;
132
+ const modules = yield* make3();
133
133
  const bus = yield* Service79;
134
134
  const updates = yield* Service4;
135
135
  const internal = yield* list2();
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node20,
210
- node8,
209
+ node16,
210
+ node5,
211
+ node4,
211
212
  node9,
212
- node13,
213
- node7,
213
+ node6,
214
214
  node84,
215
215
  Npm.node,
216
- node54,
216
+ node49,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -221,6 +221,6 @@ function pluginSource(target) {
221
221
  return { type: "local", path: target };
222
222
  return { type: "package", target };
223
223
  }
224
- var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
224
+ var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
225
 
226
- export { layer4, node6, exports_supervisor };
226
+ export { layer3, node3, exports_supervisor };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./workspace-ccq2df5x.js";
3
+ } from "./workspace-kz97c3qe.js";
4
4
  import {
5
5
  apply3
6
- } from "./workspace-b281zsyd.js";
6
+ } from "./workspace-ckekgx3g.js";
7
7
  import {
8
8
  __export
9
9
  } from "./workspace-9rqn6x4v.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service77
3
- } from "./workspace-vx0nbd5a.js";
3
+ } from "./workspace-gfwy2ztq.js";
4
4
  import {
5
- Service63
6
- } from "./workspace-ahkdt7e5.js";
5
+ Service61
6
+ } from "./workspace-9gwdy3qe.js";
7
7
  import {
8
- ID14,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service73
14
- } from "./workspace-7f2qwqcj.js";
13
+ Service14
14
+ } from "./workspace-yrdykp8a.js";
15
15
  import {
16
16
  __export
17
17
  } from "./workspace-9rqn6x4v.js";
@@ -19,17 +19,17 @@ import {
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input9,
22
+ Input: () => Input7,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin23,
24
+ Plugin: () => Plugin7,
25
25
  WebSearchTool: () => exports_websearch,
26
26
  description: () => description4,
27
- name: () => name9
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name9 = "websearch";
32
+ var name7 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
@@ -39,28 +39,28 @@ var httpErrors = new Map([
39
39
  var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input9 = Schema.Struct({
42
+ var Input7 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID14,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin23 = {
49
+ var Plugin7 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service63;
52
+ const permission = yield* Service61;
53
53
  const forms = yield* Service77;
54
- const websearch = yield* Service73;
54
+ const websearch = yield* Service14;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name9,
56
+ name: name7,
57
57
  options: { codemode: false },
58
58
  description: description4,
59
- input: Input9,
59
+ input: Input7,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name9,
63
+ action: name7,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
176
176
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name9];
179
+ delete event.tools[name7];
180
180
  }));
181
181
  })
182
182
  };
183
183
 
184
- export { name9, NO_RESULTS2, description4, Input9, Plugin23, exports_websearch };
184
+ export { name7, NO_RESULTS2, description4, Input7, Plugin7, exports_websearch };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./workspace-tjedsf1z.js";
3
+ } from "./workspace-v4n861w0.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Event20
7
- } from "./workspace-ytp44yw2.js";
7
+ } from "./workspace-7t7bkwb4.js";
8
8
  import {
9
- ID16,
9
+ ID15,
10
10
  MethodID2
11
- } from "./workspace-y418223f.js";
11
+ } from "./workspace-czshjawf.js";
12
12
  import {
13
- ID15,
13
+ ID18,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./workspace-dt849bc4.js";
16
+ } from "./workspace-m27pyyd3.js";
17
17
  import {
18
- ID14,
19
- Input14,
18
+ ID3,
19
+ Input13,
20
20
  Response2
21
- } from "./workspace-7f2qwqcj.js";
21
+ } from "./workspace-yrdykp8a.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: ID14
35
+ providerID: ID3
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -53,7 +53,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
53
53
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
54
54
  function oauth(http) {
55
55
  return {
56
- integrationID: ID16.make("opencode"),
56
+ integrationID: ID15.make("opencode"),
57
57
  method: {
58
58
  id: methodID,
59
59
  type: "oauth",
@@ -119,7 +119,7 @@ var OpencodePlugin2 = define({
119
119
  catalog.provider.update(providerID, (provider) => {
120
120
  if (source && source.provider !== provider)
121
121
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
122
- provider.integrationID = ID16.make("opencode");
122
+ provider.integrationID = ID15.make("opencode");
123
123
  if (item.canonical !== undefined)
124
124
  provider.canonical = item.canonical;
125
125
  if (item.name !== undefined)
@@ -182,7 +182,7 @@ var OpencodePlugin2 = define({
182
182
  });
183
183
  }
184
184
  }
185
- const item = catalog.provider.get(ID15.opencode);
185
+ const item = catalog.provider.get(ID18.opencode);
186
186
  if (!item)
187
187
  return;
188
188
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -222,7 +222,7 @@ var OpencodePlugin2 = define({
222
222
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
223
223
  const token = credential.type === "oauth" ? credential.access : credential.key;
224
224
  const server = yield* normalizeServer(serverUrl(credential));
225
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
225
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
226
226
  query: input.query,
227
227
  providerID: descriptor.providerID
228
228
  }));
@@ -243,7 +243,7 @@ var OpencodePlugin2 = define({
243
243
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
244
244
  });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
246
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  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);
248
248
  })
249
249
  });
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service41
3
- } from "./workspace-jwye7syw.js";
2
+ Service36
3
+ } from "./workspace-qba6esk9.js";
4
4
  import {
5
- Service60
6
- } from "./workspace-4m2pmvxz.js";
5
+ Service54
6
+ } from "./workspace-d0k1g5nx.js";
7
7
  import {
8
8
  detect2
9
9
  } from "./workspace-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./workspace-9sh4wc5j.js";
12
+ } from "./workspace-1x11rq2a.js";
13
13
  import {
14
- Service67
15
- } from "./workspace-hd29wc17.js";
14
+ Service64
15
+ } from "./workspace-v5w9803s.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./workspace-s8t4qsw4.js";
19
+ } from "./workspace-v8g8r3p5.js";
20
20
  import {
21
21
  prepare3,
22
- Service39
23
- } from "./workspace-7vp5pahf.js";
22
+ Service37
23
+ } from "./workspace-5x5s5b61.js";
24
24
  import {
25
25
  __export
26
26
  } from "./workspace-9rqn6x4v.js";
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service60;
42
+ const instances = yield* Service54;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service67;
45
+ const hooks = yield* Service64;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service39;
64
+ const skillService = yield* Service37;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service41;
128
+ const image = yield* Service36;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));