@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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./workspace-tjedsf1z.js";
4
+ } from "./workspace-v4n861w0.js";
5
5
  import {
6
6
  create3
7
7
  } from "./workspace-kg06axw8.js";
@@ -15,12 +15,12 @@ __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
17
  Event: () => Event14,
18
- ID: () => ID9,
19
- Info: () => Info24,
18
+ ID: () => ID11,
19
+ Info: () => Info23,
20
20
  Name: () => Name3,
21
- Service: () => Service66,
21
+ Service: () => Service65,
22
22
  defaultID: () => defaultID2,
23
- node: () => node71
23
+ node: () => node69
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -30,15 +30,15 @@ import { Global } from "@opencode/util/global";
30
30
  import { Event as Event14 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID9 = Agent.ID;
33
+ var ID11 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID9.make("build");
35
+ var defaultID2 = ID11.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info24 = Agent.Info;
37
+ var Info23 = Agent.Info;
38
38
 
39
- class Service66 extends Context.Service()("@opencode/Agent") {
39
+ class Service65 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service66, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
42
42
  const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info24.default(id);
60
+ const defaults = Info23.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID9.make("build")));
82
+ const build = selectable(data.agents.get(ID11.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service66.of({
91
+ return Service65.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID9.make(id));
99
+ return state.get().agents.get(ID11.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID9.make(id);
104
+ const selected = ID11.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node71 = makeLocationNode({ service: Service66, layer, deps: [node84, Global.node] });
119
+ var node69 = makeLocationNode({ service: Service65, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID9, Name3, defaultID2, Color2, Info24, Service66, node71, exports_agent4, Event14 };
121
+ export { ID11, Name3, defaultID2, Color2, Info23, Service65, node69, exports_agent4, Event14 };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./workspace-fwv3dbt3.js";
4
+ } from "./workspace-hwddf2sa.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./workspace-tjedsf1z.js";
8
+ } from "./workspace-v4n861w0.js";
9
9
  import {
10
- Service60,
11
- node65
12
- } from "./workspace-4m2pmvxz.js";
10
+ Service54,
11
+ node57
12
+ } from "./workspace-d0k1g5nx.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
16
  } from "./workspace-922hggd3.js";
17
17
  import {
18
- Service71,
19
- node76
20
- } from "./workspace-mdncrv3b.js";
18
+ Service68,
19
+ node72
20
+ } from "./workspace-7bkv6sw9.js";
21
21
  import {
22
- Ref3
23
- } from "./workspace-njh9zcvs.js";
22
+ Ref2
23
+ } from "./workspace-684x0ekb.js";
24
24
  import {
25
- Service62,
26
- node67
27
- } from "./workspace-hzn56yvs.js";
25
+ Service56,
26
+ node59
27
+ } from "./workspace-50sffj9r.js";
28
28
  import {
29
29
  SessionMessage2
30
30
  } from "./workspace-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./workspace-s8t4qsw4.js";
32
+ NotFoundError7
33
+ } from "./workspace-v8g8r3p5.js";
34
34
  import {
35
35
  SessionEvent2
36
36
  } from "./workspace-ec1grn59.js";
37
37
  import {
38
- Service57
39
- } from "./workspace-f73rjn58.js";
38
+ Service51
39
+ } from "./workspace-k76fn4kw.js";
40
40
  import {
41
- Service65,
42
- node70
43
- } from "./workspace-gqap5j9g.js";
41
+ Service63,
42
+ node67
43
+ } from "./workspace-qnwdymmb.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service58,
48
- node63,
47
+ Service52,
48
+ node55,
49
49
  moveIDs2
50
- } from "./workspace-skchca7t.js";
50
+ } from "./workspace-9gdjw15m.js";
51
51
  import {
52
- Service56,
53
- node62
54
- } from "./workspace-hb1af40t.js";
52
+ Service50,
53
+ node54
54
+ } from "./workspace-8yq5wvgp.js";
55
55
  import {
56
- node32
57
- } from "./workspace-pawwnp4a.js";
56
+ node24
57
+ } from "./workspace-kcwrj79s.js";
58
58
  import {
59
59
  __export
60
60
  } from "./workspace-9rqn6x4v.js";
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service27,
68
+ Service: () => Service19,
69
69
  SessionMove: () => exports_move,
70
- node: () => node31
70
+ node: () => node23
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service27 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service19 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service27, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service71;
92
- const locations = yield* Service62;
93
- const store = yield* Service65;
94
- const execution = yield* Service56;
95
- const instances = yield* Service60;
96
- const admission = yield* Service58;
91
+ const projects = yield* Service68;
92
+ const locations = yield* Service56;
93
+ const store = yield* Service63;
94
+ const execution = yield* Service50;
95
+ const instances = yield* Service54;
96
+ const admission = yield* Service52;
97
97
  const database = yield* Service80;
98
98
  const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError7({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref3.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref2.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service57.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service51.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service27.of({
136
+ return Service19.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node31 = makeGlobalNode({
167
- service: Service27,
166
+ var node23 = makeGlobalNode({
167
+ service: Service19,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node76,
172
+ node72,
173
+ node59,
173
174
  node67,
174
- node70,
175
- node62,
176
- node65,
177
- node63,
175
+ node54,
176
+ node57,
177
+ node55,
178
178
  node85,
179
179
  node84,
180
- node32
180
+ node24
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node31, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node23, exports_move };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service48
3
- } from "./workspace-709qmd4f.js";
2
+ Service44
3
+ } from "./workspace-nckzcwnb.js";
4
4
  import {
5
- Service37
6
- } from "./workspace-6wjp1q1r.js";
5
+ Service24
6
+ } from "./workspace-xkza7d0m.js";
7
7
  import {
8
8
  __export
9
9
  } from "./workspace-9rqn6x4v.js";
@@ -12,20 +12,20 @@ import {
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin29,
15
+ Plugin: () => Plugin41,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin29 = define({
20
+ var Plugin41 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service48;
28
- const mcp = yield* Service37;
27
+ const config = yield* Service44;
28
+ const mcp = yield* Service24;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin29, register2, exports_mcp2 };
49
+ export { Plugin41, register2, exports_mcp2 };
@@ -12,16 +12,16 @@ import {
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
14
  Options: () => Options10,
15
- Service: () => Service54,
15
+ Service: () => Service74,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node59,
24
+ node: () => node79,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service54 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service74 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service54.of({
202
+ return Service74.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
- function configured10(options) {
209
- return makeLocationNode({ service: Service54, layer: layer(options), deps: [Global.node] });
208
+ function configured11(options) {
209
+ return makeLocationNode({ service: Service74, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node59 = configured10();
211
+ var node79 = configured11();
212
212
 
213
- export { Options10, Service54, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured10, node59, exports_select };
213
+ export { Options10, Service74, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured11, node79, exports_select };
@@ -5,7 +5,7 @@ import {
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info23,
8
+ Info: () => Info21,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info23 = SessionProviderContext.Info;
22
+ var Info21 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info21, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -10,7 +10,7 @@ var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
12
  Service: () => Service4,
13
- node: () => node7
13
+ node: () => node6
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node7 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
52
+ var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service4, node7, exports_update };
54
+ export { Service4, node6, exports_update };
@@ -0,0 +1,247 @@
1
+ import {
2
+ node69
3
+ } from "./workspace-m4z3bx3m.js";
4
+ import {
5
+ node62
6
+ } from "./workspace-g95j7xq8.js";
7
+ import {
8
+ node82
9
+ } from "./workspace-gfwy2ztq.js";
10
+ import {
11
+ node81
12
+ } from "./workspace-czshjawf.js";
13
+ import {
14
+ node80
15
+ } from "./workspace-y9ynd60w.js";
16
+ import {
17
+ node38
18
+ } from "./workspace-0h28z8dy.js";
19
+ import {
20
+ node71,
21
+ boundNode2
22
+ } from "./workspace-684x0ekb.js";
23
+ import {
24
+ configured6,
25
+ node48
26
+ } from "./workspace-nckzcwnb.js";
27
+ import {
28
+ node51
29
+ } from "./workspace-yhqzjv42.js";
30
+ import {
31
+ node17
32
+ } from "./workspace-w5qg2wfr.js";
33
+ import {
34
+ node53
35
+ } from "./workspace-86vtd0nm.js";
36
+ import {
37
+ node43
38
+ } from "./workspace-1tm9pjvd.js";
39
+ import {
40
+ node42
41
+ } from "./workspace-hgdbqd39.js";
42
+ import {
43
+ node61
44
+ } from "./workspace-g8pejf11.js";
45
+ import {
46
+ node60
47
+ } from "./workspace-ff9kr7s1.js";
48
+ import {
49
+ node40
50
+ } from "./workspace-qba6esk9.js";
51
+ import {
52
+ node29
53
+ } from "./workspace-xkza7d0m.js";
54
+ import {
55
+ Service54,
56
+ node57
57
+ } from "./workspace-d0k1g5nx.js";
58
+ import {
59
+ node34
60
+ } from "./workspace-p03qjtav.js";
61
+ import {
62
+ node68
63
+ } from "./workspace-v5w9803s.js";
64
+ import {
65
+ node65
66
+ } from "./workspace-9gwdy3qe.js";
67
+ import {
68
+ node56
69
+ } from "./workspace-3z3b48hc.js";
70
+ import {
71
+ configured4,
72
+ node36
73
+ } from "./workspace-bvycm81b.js";
74
+ import {
75
+ node30
76
+ } from "./workspace-wceej830.js";
77
+ import {
78
+ node37
79
+ } from "./workspace-0h1q2yx7.js";
80
+ import {
81
+ node28
82
+ } from "./workspace-qybt8qf6.js";
83
+ import {
84
+ node74
85
+ } from "./workspace-xxdmnr1j.js";
86
+ import {
87
+ node31
88
+ } from "./workspace-ptyvps10.js";
89
+ import {
90
+ node41
91
+ } from "./workspace-5x5s5b61.js";
92
+ import {
93
+ node26
94
+ } from "./workspace-xj5pk8z5.js";
95
+ import {
96
+ node25
97
+ } from "./workspace-gqag2b6m.js";
98
+ import {
99
+ node35
100
+ } from "./workspace-xqrcwaxh.js";
101
+ import {
102
+ node79
103
+ } from "./workspace-mq2071pb.js";
104
+ import {
105
+ node52
106
+ } from "./workspace-k5asd96r.js";
107
+ import {
108
+ node46
109
+ } from "./workspace-1as5dk3f.js";
110
+ import {
111
+ node19
112
+ } from "./workspace-sheztqmg.js";
113
+ import {
114
+ node70
115
+ } from "./workspace-g9t14tcv.js";
116
+ import {
117
+ node18
118
+ } from "./workspace-yrdykp8a.js";
119
+ import {
120
+ node20
121
+ } from "./workspace-ggfsfb11.js";
122
+ import {
123
+ node16
124
+ } from "./workspace-7c97gcr8.js";
125
+ import {
126
+ node10
127
+ } from "./workspace-8ebnt9d0.js";
128
+ import {
129
+ node39
130
+ } from "./workspace-x1szhx45.js";
131
+ import {
132
+ node4,
133
+ bound2
134
+ } from "./workspace-q26tgv94.js";
135
+ import {
136
+ node15
137
+ } from "./workspace-6pskpce9.js";
138
+ import {
139
+ node14
140
+ } from "./workspace-9cn3k246.js";
141
+ import {
142
+ node7
143
+ } from "./workspace-2p2zqrax.js";
144
+ import {
145
+ node3
146
+ } from "./workspace-hs4grwgg.js";
147
+ import {
148
+ node2
149
+ } from "./workspace-nh3pjw8e.js";
150
+ import {
151
+ node45
152
+ } from "./workspace-fpmcemdk.js";
153
+ import {
154
+ node13
155
+ } from "./workspace-7d7shxsk.js";
156
+ import {
157
+ node12
158
+ } from "./workspace-gqd8n12r.js";
159
+ import {
160
+ __export
161
+ } from "./workspace-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service54,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node57
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode/util/effect/layer-node";
174
+ import { Node } from "@opencode/util/effect/app-node";
175
+ var nodes = [
176
+ node71,
177
+ node51,
178
+ node48,
179
+ node69,
180
+ node38,
181
+ node74,
182
+ node19,
183
+ node18,
184
+ node81,
185
+ node80,
186
+ node61,
187
+ node62,
188
+ node16,
189
+ node68,
190
+ node4,
191
+ node3,
192
+ node2,
193
+ node20,
194
+ node43,
195
+ node42,
196
+ node79,
197
+ node45,
198
+ node46,
199
+ node41,
200
+ node30,
201
+ node36,
202
+ node39,
203
+ node17,
204
+ node53,
205
+ node29,
206
+ node65,
207
+ node37,
208
+ node52,
209
+ node40,
210
+ node26,
211
+ node31,
212
+ node34,
213
+ node82,
214
+ node60,
215
+ node7,
216
+ node28,
217
+ node14,
218
+ node56,
219
+ node15,
220
+ node13,
221
+ node25,
222
+ node35,
223
+ node12,
224
+ node70,
225
+ node10
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node48.replace(configured6({ project: false, global: false })),
230
+ node36.replace(configured4({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node71.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node4.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };