@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,18 +1,18 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./workspace-tjedsf1z.js";
4
+ } from "./workspace-v4n861w0.js";
5
5
  import {
6
- Service70,
7
- node75
8
- } from "./workspace-njh9zcvs.js";
6
+ Service67,
7
+ node71
8
+ } from "./workspace-684x0ekb.js";
9
9
  import {
10
10
  SessionEvent2
11
11
  } from "./workspace-ec1grn59.js";
12
12
  import {
13
- Service65,
14
- node70
15
- } from "./workspace-gqap5j9g.js";
13
+ Service63,
14
+ node67
15
+ } from "./workspace-qnwdymmb.js";
16
16
  import {
17
17
  __export
18
18
  } from "./workspace-9rqn6x4v.js";
@@ -20,9 +20,9 @@ import {
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service8,
23
+ Service: () => Service11,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node11
25
+ node: () => node14
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service8 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service8, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
38
38
  const bus = yield* Service79;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service65;
41
- const location = yield* Service70;
40
+ const store = yield* Service63;
41
+ const location = yield* Service67;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service8.of({ load });
87
+ return Service11.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node11 = makeLocationNode({
98
+ var node14 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node84, FSUtil.node, node75, node70]
101
+ deps: [node84, FSUtil.node, node71, node67]
102
102
  });
103
103
 
104
- export { Service8, node11, exports_instructions };
104
+ export { Service11, node14, exports_instructions };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./workspace-fwv3dbt3.js";
4
+ } from "./workspace-hwddf2sa.js";
5
5
  import {
6
6
  makeUnsafe2
7
7
  } from "./workspace-dpkg50ah.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./workspace-tjedsf1z.js";
11
+ } from "./workspace-v4n861w0.js";
12
12
  import {
13
13
  SessionEvent2
14
14
  } from "./workspace-ec1grn59.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./workspace-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./workspace-skyymkrr.js";
20
+ } from "./workspace-fqka1xvk.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info21,
35
+ Info: () => Info18,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service58,
40
+ Service: () => Service52,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer23,
49
- list: () => list4,
50
- make: () => make18,
48
+ layer: () => layer20,
49
+ list: () => list3,
50
+ make: () => make16,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node63,
53
+ node: () => node55,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info21,
68
+ Info as Info18,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service58 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service52 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make18 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make16 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service80;
158
158
  const db = database.db;
159
159
  const bus = yield* Service79;
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info21.make({
176
+ }).pipe(Effect.map((event) => Info18.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  timeCreated: DateTime.makeUnsafe(event.created),
@@ -193,7 +193,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list4(db, sessionID),
221
+ list: (sessionID) => list3(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer23 = Layer.effect(Service58, make18());
231
- var node63 = makeGlobalNode({ service: Service58, layer: layer23, deps: [node85, node84] });
230
+ var layer20 = Layer.effect(Service52, make16());
231
+ var node55 = makeGlobalNode({ service: Service52, layer: layer20, deps: [node85, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info21, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service58, make18, layer23, node63, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info18, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service52, make16, layer20, node55, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./workspace-tjedsf1z.js";
4
+ } from "./workspace-v4n861w0.js";
5
5
  import {
6
- Service70,
7
- node75
8
- } from "./workspace-njh9zcvs.js";
9
- import {
10
- ID9,
11
- Service66,
6
+ Service67,
12
7
  node71
13
- } from "./workspace-1qa7sx05.js";
14
- import {
15
- NotFoundError8
16
- } from "./workspace-s8t4qsw4.js";
8
+ } from "./workspace-684x0ekb.js";
17
9
  import {
10
+ ID11,
18
11
  Service65,
19
- node70
20
- } from "./workspace-gqap5j9g.js";
12
+ node69
13
+ } from "./workspace-m4z3bx3m.js";
14
+ import {
15
+ NotFoundError7
16
+ } from "./workspace-v8g8r3p5.js";
17
+ import {
18
+ Service63,
19
+ node67
20
+ } from "./workspace-qnwdymmb.js";
21
21
  import {
22
22
  match2
23
23
  } from "./workspace-y1fvbwt7.js";
24
24
  import {
25
- Service64,
26
- node69
27
- } from "./workspace-0ebyrbpf.js";
25
+ Service62,
26
+ node66
27
+ } from "./workspace-a5rsm3jn.js";
28
28
  import {
29
- Service67,
30
- node72
31
- } from "./workspace-hd29wc17.js";
29
+ Service64,
30
+ node68
31
+ } from "./workspace-v5w9803s.js";
32
32
  import {
33
33
  __export
34
34
  } from "./workspace-9rqn6x4v.js";
@@ -43,19 +43,19 @@ __export(exports_permission2, {
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
45
  Event: () => Event13,
46
- ID: () => ID7,
47
- NotFoundError: () => NotFoundError7,
46
+ ID: () => ID8,
47
+ NotFoundError: () => NotFoundError6,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service63,
55
- Source: () => Source5,
54
+ Service: () => Service61,
55
+ Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node68
58
+ node: () => node65
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
@@ -64,8 +64,8 @@ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission"
64
64
  import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
68
- var Source5 = Permission.Source;
67
+ var ID8 = Permission.ID;
68
+ var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID9.pipe(Schema.optional)
82
+ agent: ID11.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
85
+ requestID: ID8,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID8,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
113
+ class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID8
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service63 extends Context.Service()("@opencode/Permission") {
128
+ class Service61 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service63, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
131
131
  const bus = yield* Service79;
132
- const location = yield* Service70;
133
- const agents = yield* Service66;
134
- const sessions = yield* Service65;
135
- const saved = yield* Service64;
136
- const hooks = yield* Service67;
132
+ const location = yield* Service67;
133
+ const agents = yield* Service65;
134
+ const sessions = yield* Service63;
135
+ const saved = yield* Service62;
136
+ const hooks = yield* Service64;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError8({ sessionID });
153
+ return yield* new NotFoundError7({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return agent?.permissions ?? missingAgentPermissions;
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID7.create(),
183
+ id: input.id ?? ID8.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError7({ requestID: input.requestID });
231
+ return yield* new NotFoundError6({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service63.of({ ask, assert, reply, get, forSession, list });
286
+ return Service61.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node68 = makeLocationNode({
289
- service: Service63,
288
+ var node65 = makeLocationNode({
289
+ service: Service61,
290
290
  layer,
291
- deps: [node84, node75, node71, node70, node69, node72]
291
+ deps: [node84, node71, node69, node67, node66, node68]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service63, node68, exports_permission2, Rule3, Ruleset2, Event13 };
294
+ export { PermissionEffect, ID8, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service61, node65, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service45
3
- } from "./workspace-srqbxy54.js";
2
+ Service47
3
+ } from "./workspace-yhqzjv42.js";
4
4
  import {
5
- Service20,
5
+ Service13,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./workspace-gp8tcjp2.js";
8
+ } from "./workspace-w5qg2wfr.js";
9
9
  import {
10
- Service23
11
- } from "./workspace-94z0cytz.js";
10
+ Service49
11
+ } from "./workspace-86vtd0nm.js";
12
12
  import {
13
- Service63
14
- } from "./workspace-ahkdt7e5.js";
13
+ Service61
14
+ } from "./workspace-9gwdy3qe.js";
15
15
  import {
16
- Service16
17
- } from "./workspace-cf42bz4p.js";
16
+ Service35
17
+ } from "./workspace-x1szhx45.js";
18
18
  import {
19
19
  fileDiff2
20
20
  } from "./workspace-6prwharc.js";
@@ -25,48 +25,48 @@ import {
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input3,
29
- Output: () => Output3,
30
- Plugin: () => Plugin17,
28
+ Input: () => Input9,
29
+ Output: () => Output8,
30
+ Plugin: () => Plugin10,
31
31
  WriteTool: () => exports_write,
32
- name: () => name3,
33
- toModelContent: () => toModelContent3
32
+ name: () => name9,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name3 = "write";
39
- var Input3 = Schema.Struct({
38
+ var name9 = "write";
39
+ var Input9 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output3 = Schema.Struct({
45
+ var Output8 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin17 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin10 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service16;
56
- const fileMutation = yield* Service20;
57
- const environment = yield* Service45;
58
- const formatter = yield* Service23;
59
- const permission = yield* Service63;
55
+ const access = yield* Service35;
56
+ const fileMutation = yield* Service13;
57
+ const environment = yield* Service47;
58
+ const formatter = yield* Service49;
59
+ const permission = yield* Service61;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name3,
61
+ name: name9,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input3,
69
- output: Output3,
68
+ input: Input9,
69
+ output: Output8,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name3, Input3, Output3, toModelContent3, Plugin17, exports_write };
101
+ export { name9, Input9, Output8, toModelContent5, Plugin10, exports_write };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID11,
2
+ ID14,
3
3
  Family2
4
- } from "./workspace-fsnw1hqv.js";
4
+ } from "./workspace-tj06h6ge.js";
5
5
  import {
6
- Service48
7
- } from "./workspace-709qmd4f.js";
6
+ Service44
7
+ } from "./workspace-nckzcwnb.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./workspace-1wh2xykj.js";
10
+ } from "./workspace-deb8jze3.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service48;
39
+ const config = yield* Service44;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  catalog.model.update(providerID, item.key, (model) => {
66
- model.modelID = ID11.make(item.key);
66
+ model.modelID = ID14.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make5();
128
+ var LMStudioPlugin2 = make6();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make5, LMStudioPlugin2 };
145
+ export { make6, LMStudioPlugin2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79
3
- } from "./workspace-tjedsf1z.js";
3
+ } from "./workspace-v4n861w0.js";
4
4
  import {
5
- ID15
6
- } from "./workspace-dt849bc4.js";
5
+ ID18
6
+ } from "./workspace-m27pyyd3.js";
7
7
  import {
8
- ID11
9
- } from "./workspace-fsnw1hqv.js";
8
+ ID14
9
+ } from "./workspace-tj06h6ge.js";
10
10
  import {
11
11
  Event20
12
- } from "./workspace-ytp44yw2.js";
12
+ } from "./workspace-7t7bkwb4.js";
13
13
  import {
14
- ID16
15
- } from "./workspace-y418223f.js";
14
+ ID15
15
+ } from "./workspace-czshjawf.js";
16
16
  import {
17
- Service69
18
- } from "./workspace-58aqtfam.js";
17
+ Service75
18
+ } from "./workspace-y9ynd60w.js";
19
19
  import {
20
- get3
21
- } from "./workspace-7as7932t.js";
20
+ get2
21
+ } from "./workspace-0tsbjazj.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
- var providerID = ID15.make("modal");
26
+ var providerID = ID18.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service69;
30
+ const catalog = yield* Service75;
31
31
  const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
47
47
  loaded.baseURL = baseURL;
48
48
  const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
49
49
  loaded.models = yield* Effect.tryPromise({
50
- try: () => get3(baseURL, apiKey, existing),
50
+ try: () => get2(baseURL, apiKey, existing),
51
51
  catch: (cause) => cause
52
52
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
53
53
  });
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID11.make(id)))
61
+ if (!loaded.models.has(ID14.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });