@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,24 +3,24 @@ import {
3
3
  } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service48
7
- } from "./workspace-709qmd4f.js";
6
+ Service44
7
+ } from "./workspace-nckzcwnb.js";
8
8
  import {
9
9
  typeFollowing2
10
10
  } from "./workspace-2a5m3afh.js";
11
11
  import {
12
- Service45
13
- } from "./workspace-srqbxy54.js";
12
+ Service47
13
+ } from "./workspace-yhqzjv42.js";
14
14
  import {
15
- Service61
16
- } from "./workspace-c3m0xs4s.js";
15
+ Service55
16
+ } from "./workspace-ppkj2x0s.js";
17
17
  import {
18
- Service63
19
- } from "./workspace-ahkdt7e5.js";
18
+ Service61
19
+ } from "./workspace-9gwdy3qe.js";
20
20
  import {
21
- Service16,
21
+ Service35,
22
22
  resolvePath2
23
- } from "./workspace-cf42bz4p.js";
23
+ } from "./workspace-x1szhx45.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
@@ -28,19 +28,19 @@ import {
28
28
  notification2
29
29
  } from "./workspace-fxbjtjnd.js";
30
30
  import {
31
- Service54,
31
+ Service74,
32
32
  name15
33
- } from "./workspace-dxk9f402.js";
33
+ } from "./workspace-mq2071pb.js";
34
34
  import {
35
35
  NotFoundError5,
36
36
  Service42
37
- } from "./workspace-76q5vzcy.js";
37
+ } from "./workspace-1as5dk3f.js";
38
38
  import {
39
- Service26
40
- } from "./workspace-jndyp0t0.js";
39
+ Service18
40
+ } from "./workspace-yn0159c4.js";
41
41
  import {
42
42
  scan2
43
- } from "./workspace-wtknh6p7.js";
43
+ } from "./workspace-z3b2s73f.js";
44
44
  import {
45
45
  __export
46
46
  } from "./workspace-9rqn6x4v.js";
@@ -49,14 +49,14 @@ import {
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin18,
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin13,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name4
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input4 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin18 = {
118
+ var Plugin13 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service26;
122
- const jobs = yield* Service61;
121
+ const sessions = yield* Service18;
122
+ const jobs = yield* Service55;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service45;
125
- const access = yield* Service16;
124
+ const environment = yield* Service47;
125
+ const access = yield* Service35;
126
126
  const shell = yield* Service42;
127
- const shellSelect = yield* Service54;
127
+ const shellSelect = yield* Service74;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service63;
130
- const config = yield* Service48;
129
+ const permission = yield* Service61;
130
+ const config = yield* Service44;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin18 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name4,
149
+ action: name12,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin18 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name4,
186
+ name: name12,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input4,
189
+ input: Input12,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name4,
222
+ type: name12,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name4];
252
+ const tool = event.tools[name12];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin18, exports_shell };
260
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin13, exports_shell };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useragent2
3
- } from "./workspace-w9ytv6gf.js";
3
+ } from "./workspace-7c2a2ky2.js";
4
4
  import {
5
5
  __export
6
6
  } from "./workspace-9rqn6x4v.js";
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin2,
11
+ Plugin: () => Plugin17,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint2 = "https://api.tavily.com/search";
18
+ var endpoint3 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin2 = define({
32
+ var Plugin17 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin2 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin2 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin2, exports_tavily };
80
+ export { endpoint3, Plugin17, exports_tavily };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./workspace-tjedsf1z.js";
4
+ } from "./workspace-v4n861w0.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
8
  } from "./workspace-922hggd3.js";
9
9
  import {
10
- Ref3,
11
- Service70,
12
- node75
13
- } from "./workspace-njh9zcvs.js";
10
+ Ref2,
11
+ Service67,
12
+ node71
13
+ } from "./workspace-684x0ekb.js";
14
14
  import {
15
15
  __export
16
16
  } from "./workspace-9rqn6x4v.js";
@@ -19,15 +19,15 @@ import {
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service24,
22
+ Service: () => Service15,
23
23
  define: () => define2,
24
- node: () => node28
24
+ node: () => node19
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service24 extends Context.Service()("@opencode/Rpc") {
30
+ class Service15 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service24, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
43
43
  const bus = yield* Service79;
44
- const location = yield* Service70;
45
- const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
44
+ const location = yield* Service67;
45
+ const ref = Ref2.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const callContext = {
47
47
  error: (type, message, data) => new DeclaredError(type, message, data)
48
48
  };
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
81
81
  const event = registered.event;
82
82
  const data = yield* encode(event.schema, args[1]);
83
83
  return yield* bus.publish(registered.definition, data, {
84
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
84
+ location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
85
  }).pipe(Effect.asVoid);
86
86
  })
87
87
  }
@@ -115,19 +115,19 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
115
115
  const registered = events.get(name);
116
116
  if (!registered)
117
117
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
118
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service70, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
118
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service67, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
119
119
  }
120
120
  }
121
121
  };
122
122
  };
123
- return Service24.of({ register, call, client });
123
+ return Service15.of({ register, call, client });
124
124
  }));
125
- var node28 = makeLocationNode({ service: Service24, layer, deps: [node84, node75] });
125
+ var node19 = makeLocationNode({ service: Service15, layer, deps: [node84, node71] });
126
126
  var fields = {
127
127
  id: Event.ID,
128
128
  created: Schema.Finite,
129
129
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
130
- location: optional2(Ref3)
130
+ location: optional2(Ref2)
131
131
  };
132
132
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
133
133
  var jsonSchemas = new WeakMap;
@@ -203,8 +203,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
203
203
  ...payload,
204
204
  type: eventType(definition, name),
205
205
  data,
206
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
206
+ location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
207
207
  };
208
208
  });
209
209
 
210
- export { Service24, node28, exports_rpc, define2 };
210
+ export { Service15, node19, exports_rpc, define2 };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./workspace-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./workspace-4ne4chy4.js";
7
+ } from "./workspace-yrxxjksg.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service80
3
- } from "./workspace-fwv3dbt3.js";
3
+ } from "./workspace-hwddf2sa.js";
4
4
  import {
5
5
  Service79
6
- } from "./workspace-tjedsf1z.js";
6
+ } from "./workspace-v4n861w0.js";
7
7
  import {
8
- Service60
9
- } from "./workspace-4m2pmvxz.js";
8
+ Service54
9
+ } from "./workspace-d0k1g5nx.js";
10
10
  import {
11
11
  userNotification2
12
12
  } from "./workspace-fxbjtjnd.js";
@@ -14,41 +14,41 @@ import {
14
14
  SessionMessage2
15
15
  } from "./workspace-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError7,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./workspace-s8t4qsw4.js";
23
+ } from "./workspace-v8g8r3p5.js";
24
24
  import {
25
25
  SessionEvent2
26
26
  } from "./workspace-ec1grn59.js";
27
27
  import {
28
- Service65
29
- } from "./workspace-gqap5j9g.js";
28
+ Service63
29
+ } from "./workspace-qnwdymmb.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service58
34
- } from "./workspace-skchca7t.js";
33
+ Service52
34
+ } from "./workspace-9gdjw15m.js";
35
35
  import {
36
- Service56
37
- } from "./workspace-hb1af40t.js";
36
+ Service50
37
+ } from "./workspace-8yq5wvgp.js";
38
38
  import {
39
39
  prepare2
40
- } from "./workspace-yam58fy8.js";
40
+ } from "./workspace-jgpaqraz.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./workspace-gcvj5pa8.js";
45
+ } from "./workspace-thgpzxma.js";
46
46
  import {
47
47
  start2
48
- } from "./workspace-54qh477g.js";
48
+ } from "./workspace-12fqpsjm.js";
49
49
  import {
50
50
  get4
51
- } from "./workspace-wjjfysat.js";
51
+ } from "./workspace-hk7s8mmx.js";
52
52
  import {
53
53
  __export
54
54
  } from "./workspace-9rqn6x4v.js";
@@ -57,24 +57,24 @@ import {
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make14
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make14 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service79;
67
67
  const database = yield* Service80;
68
- const store = yield* Service65;
69
- const instances = yield* Service60;
70
- const execution = yield* Service56;
71
- const admission = yield* Service58;
68
+ const store = yield* Service63;
69
+ const instances = yield* Service54;
70
+ const execution = yield* Service50;
71
+ const admission = yield* Service52;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError8({ sessionID });
77
+ return yield* new NotFoundError7({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -127,7 +127,7 @@ var make14 = Effect.fn("Session.make")(function* () {
127
127
  });
128
128
  if (existing)
129
129
  return existing;
130
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service60, instances), Effect.provideService(FSUtil.Service, fs)));
130
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service54, instances), Effect.provideService(FSUtil.Service, fs)));
131
131
  if (session.revert)
132
132
  yield* commit2(bus, session);
133
133
  return yield* admission.admit({
@@ -143,7 +143,7 @@ var make14 = Effect.fn("Session.make")(function* () {
143
143
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
144
144
  const session = yield* get(sessionID);
145
145
  const running = yield* Effect.gen(function* () {
146
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service60, instances), Effect.tapError((error) => synthetic(sessionID, {
146
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service54, instances), Effect.tapError((error) => synthetic(sessionID, {
147
147
  text: `User shell command failed to start:
148
148
  ${input.command}
149
149
 
@@ -172,7 +172,7 @@ ${error.message}`,
172
172
  });
173
173
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
174
174
  const session = yield* get(sessionID);
175
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service60, instances));
175
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service54, instances));
176
176
  yield* bus.publish(SessionEvent2.Skill.Activated, {
177
177
  sessionID,
178
178
  id: skill.id,
@@ -229,13 +229,13 @@ ${error.message}`,
229
229
  const session = yield* get(sessionID);
230
230
  if (yield* execution.isActive(sessionID))
231
231
  return yield* new BusyError2({ sessionID });
232
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
232
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service54, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
233
233
  });
234
234
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
235
235
  const session = yield* get(sessionID);
236
236
  if (yield* execution.isActive(sessionID))
237
237
  return yield* new BusyError2({ sessionID });
238
- yield* clear2(session).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service79, bus));
238
+ yield* clear2(session).pipe(Effect.provideService(Service54, instances), Effect.provideService(Service79, bus));
239
239
  return yield* execution.wake(sessionID);
240
240
  });
241
241
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -315,4 +315,4 @@ ${error.message}`,
315
315
  return { forSession };
316
316
  });
317
317
 
318
- export { make14, exports_session2 };
318
+ export { make13, exports_session2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service79
3
- } from "./workspace-tjedsf1z.js";
3
+ } from "./workspace-v4n861w0.js";
4
4
  import {
5
- Service70
6
- } from "./workspace-njh9zcvs.js";
5
+ Service67
6
+ } from "./workspace-684x0ekb.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service37
10
- } from "./workspace-6wjp1q1r.js";
9
+ Service24
10
+ } from "./workspace-xkza7d0m.js";
11
11
  import {
12
12
  __export
13
13
  } from "./workspace-9rqn6x4v.js";
@@ -16,7 +16,7 @@ import {
16
16
  var exports_command = {};
17
17
  __export(exports_command, {
18
18
  CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin11
19
+ Plugin: () => Plugin20
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin11 = define({
196
+ var Plugin20 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service70;
200
- const mcp = yield* Service37;
199
+ const location = yield* Service67;
200
+ const mcp = yield* Service24;
201
201
  const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin11, exports_command };
283
+ export { Plugin20, exports_command };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./workspace-dt849bc4.js";
4
+ } from "./workspace-m27pyyd3.js";
5
5
  import {
6
- ID11
7
- } from "./workspace-fsnw1hqv.js";
6
+ ID14
7
+ } from "./workspace-tj06h6ge.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID14.make("gpt-5-chat-latest"), ID14.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service80
3
- } from "./workspace-fwv3dbt3.js";
3
+ } from "./workspace-hwddf2sa.js";
4
4
  import {
5
5
  Service79
6
- } from "./workspace-tjedsf1z.js";
6
+ } from "./workspace-v4n861w0.js";
7
7
  import {
8
- Service60
9
- } from "./workspace-4m2pmvxz.js";
8
+ Service54
9
+ } from "./workspace-d0k1g5nx.js";
10
10
  import {
11
11
  RelativePath2
12
12
  } from "./workspace-922hggd3.js";
13
13
  import {
14
- ID5,
15
- Service53
16
- } from "./workspace-685qrrxy.js";
14
+ ID4,
15
+ Service31
16
+ } from "./workspace-xqrcwaxh.js";
17
17
  import {
18
18
  SessionEvent2
19
19
  } from "./workspace-ec1grn59.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./workspace-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./workspace-s8t4qsw4.js";
25
+ } from "./workspace-v8g8r3p5.js";
26
26
  import {
27
27
  SessionMessageTable2
28
28
  } from "./workspace-a1bz86dw.js";
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service60;
45
+ const instances = yield* Service54;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service53;
50
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service31;
50
+ const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service60;
77
+ const instances = yield* Service54;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service53;
80
+ const snapshot = yield* Service31;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID5.make(message.snapshot.start));
114
+ files.set(file, ID4.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID15
3
- } from "./workspace-dt849bc4.js";
2
+ ID18
3
+ } from "./workspace-m27pyyd3.js";
4
4
  import {
5
5
  __export
6
6
  } from "./workspace-9rqn6x4v.js";
@@ -12,25 +12,25 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID11,
16
- Info: () => Info26,
15
+ ID: () => ID14,
16
+ Info: () => Info29,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
- Ref: () => Ref2,
19
+ Ref: () => Ref3,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
22
  parse: () => parse5
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID11 = Model.ID;
25
+ var ID14 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
29
29
  var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
- var Ref2 = Model.Ref;
33
- var Info26 = Model.Info;
32
+ var Ref3 = Model.Ref;
33
+ var Info29 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -41,9 +41,9 @@ function compatibility2(input) {
41
41
  function parse5(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID18.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, compatibility2, parse5, exports_model2 };
49
+ export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info29, compatibility2, parse5, exports_model2 };