@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,11 +1,11 @@
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
10
  llmClient2
11
11
  } from "./workspace-5t3nmthw.js";
@@ -17,28 +17,28 @@ import {
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./workspace-5c0f1prt.js";
20
+ } from "./workspace-msq0jde0.js";
21
21
  import {
22
22
  load3
23
- } from "./workspace-pz5qb3qt.js";
23
+ } from "./workspace-v7z8j5fb.js";
24
24
  import {
25
25
  create3
26
26
  } from "./workspace-kg06axw8.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./workspace-b3t12aqp.js";
29
+ } from "./workspace-p33ejz0k.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./workspace-cekxsej1.js";
34
+ } from "./workspace-7qvw1jpc.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./workspace-hjsw513e.js";
37
+ } from "./workspace-fg152w5z.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./workspace-eebjtjym.js";
41
+ } from "./workspace-ffxvb7x8.js";
42
42
  import {
43
43
  estimate2
44
44
  } from "./workspace-h6vf3j39.js";
@@ -53,12 +53,12 @@ import {
53
53
  // src/session/compaction.ts
54
54
  var exports_compaction2 = {};
55
55
  __export(exports_compaction2, {
56
- Service: () => Service9,
56
+ Service: () => Service12,
57
57
  SessionCompaction: () => exports_compaction2,
58
58
  buildPrompt: () => buildPrompt2,
59
59
  estimateTokens: () => estimateTokens2,
60
- layer: () => layer6,
61
- node: () => node12,
60
+ layer: () => layer7,
61
+ node: () => node15,
62
62
  retainUsers: () => retainUsers2,
63
63
  serializeToolContent: () => serializeToolContent2,
64
64
  truncateToolOutput: () => truncateToolOutput2
@@ -116,16 +116,16 @@ List the files and directories, other than the current working directory, that a
116
116
  </template>`;
117
117
  var SUMMARY_RULES = `Rules:
118
118
  - Keep each section concise. Use terse, single-line bullets, not prose paragraphs or nested lists.
119
- - Prefer short references over detailed restatement. It is fine to leave out information the next agent can recover from the code, the files listed above, or the recent messages that follow this summary.
119
+ - Prefer short references over detailed restatement. It is fine to leave out information the next agent can recover from the code or the files listed above.
120
120
  - Preserve exact file paths, symbols, commands, error strings, URLs, and identifiers.
121
121
  - Carry forward only user questions or requests that remain unanswered or require further action. Do not repeat ones that newer history has answered or resolved. Preserve exact wording when carrying one forward.
122
122
  - Preserve consequential workflow state, including whether changes are uncommitted, committed, pushed, under review, or merged.
123
123
  - Do not mention the summary process or that context was compacted.`;
124
124
  var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
- var LEGACY_HEADINGS = ["## Additional Context", "## Important Details"];
126
+ var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service9 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service12 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
296
296
  };
297
297
  var hasSummarySection = (summary) => summary.split(`
298
298
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
299
- var layer6 = Layer.effect(Service9, Effect.gen(function* () {
299
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
300
300
  const bus = yield* Service79;
301
301
  const llm = yield* LLMClient.Service;
302
302
  const db = (yield* Service80).db;
@@ -436,7 +436,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
436
436
  ...usage
437
437
  }) : Effect.void);
438
438
  const previous = history.messages.findLast((message) => message.type === "compaction" && message.status === "completed");
439
- const legacy = LEGACY_HEADINGS.some((heading) => previous?.summary.includes(heading));
439
+ const legacy = previous?.summary.includes(LEGACY_HEADING) ?? false;
440
440
  const prepared = yield* compactionRequest(input, history.messages, [
441
441
  Message.user(buildPrompt2(previous !== undefined, legacy))
442
442
  ]);
@@ -581,7 +581,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
581
581
  }
582
582
  }));
583
583
  });
584
- return Service9.of({
584
+ return Service12.of({
585
585
  transform: state.transform,
586
586
  reload: state.reload,
587
587
  enabled: () => state.get().auto,
@@ -590,10 +590,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
590
590
  compactManual
591
591
  });
592
592
  }));
593
- var node12 = makeLocationNode({
594
- service: Service9,
595
- layer: layer6,
593
+ var node15 = makeLocationNode({
594
+ service: Service12,
595
+ layer: layer7,
596
596
  deps: [node84, node85, llmClient2]
597
597
  });
598
598
 
599
- export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
599
+ export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node15, exports_compaction2 };
@@ -12,9 +12,9 @@ import {
12
12
  same2
13
13
  } from "./workspace-2402vzrj.js";
14
14
  import {
15
- Service74,
16
- node79
17
- } from "./workspace-xwq8n2sh.js";
15
+ Service71,
16
+ node76
17
+ } from "./workspace-dc2s3mgf.js";
18
18
  import {
19
19
  __export
20
20
  } from "./workspace-9rqn6x4v.js";
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service52,
33
+ Service: () => Service70,
34
34
  isError: () => isError2,
35
- node: () => node57,
35
+ node: () => node75,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service52 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service70 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service52, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service72;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service74;
110
- return Service52.of({
109
+ const kv = yield* Service71;
110
+ return Service70.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node57 = makeGlobalNode({
171
- service: Service52,
170
+ var node75 = makeGlobalNode({
171
+ service: Service70,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node77, Global.node, node79]
173
+ deps: [EffectFlock.node, FSUtil.node, node77, Global.node, node76]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service52, isError2, validateBranch2, node57, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service70, isError2, validateBranch2, node75, exports_repository_cache };
@@ -4,11 +4,11 @@ import {
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./workspace-fwv3dbt3.js";
7
+ } from "./workspace-hwddf2sa.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
  Service72,
14
14
  node77
@@ -16,11 +16,11 @@ import {
16
16
  import {
17
17
  ID13,
18
18
  Current3,
19
- Info29,
19
+ Info27,
20
20
  UpdateInput4,
21
- Event16,
21
+ Event15,
22
22
  Vcs3
23
- } from "./workspace-ar8qnkc3.js";
23
+ } from "./workspace-0qxam8dj.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
@@ -37,13 +37,13 @@ var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
39
  ID: () => ID12,
40
- Info: () => Info28,
41
- NotFoundError: () => NotFoundError9,
40
+ Info: () => Info26,
41
+ NotFoundError: () => NotFoundError8,
42
42
  Project: () => exports_project,
43
- Service: () => Service71,
43
+ Service: () => Service68,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node76,
46
+ node: () => node72,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -58,10 +58,10 @@ import { Hash } from "@opencode/util/hash";
58
58
  var ID12 = ID13;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info28 = Info29;
61
+ var Info26 = Info27;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
64
+ class NotFoundError8 extends Schema.TaggedError()("Project.NotFoundError", {
65
65
  projectID: ID12
66
66
  }) {
67
67
  }
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service71 extends Context.Service()("@opencode/Project") {
74
+ class Service68 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,7 +94,7 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service71, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const git = yield* Service72;
100
100
  const proc = yield* AppProcess.Service;
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event16.Updated, fromRow(row));
110
+ yield* bus.publish(Event15.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -167,9 +167,9 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
167
167
  time_updated: Date.now()
168
168
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
169
169
  if (!row)
170
- return yield* new NotFoundError9({ projectID: input.projectID });
170
+ return yield* new NotFoundError8({ projectID: input.projectID });
171
171
  const project = fromRow(row);
172
- yield* bus.publish(Event16.Updated, project);
172
+ yield* bus.publish(Event15.Updated, project);
173
173
  return project;
174
174
  });
175
175
  const cached = Effect.fnUntraced(function* (dir) {
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service71.of({ list, update, resolve });
274
+ return Service68.of({ list, update, resolve });
275
275
  }));
276
- var node76 = makeGlobalNode({
277
- service: Service71,
276
+ var node72 = makeGlobalNode({
277
+ service: Service68,
278
278
  layer,
279
279
  deps: [node84, node85, FSUtil.node, node77, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID12, Vcs2, Current2, Info28, UpdateInput3, NotFoundError9, root2, Service71, node76, exports_project };
282
+ export { ID12, Vcs2, Current2, Info26, UpdateInput3, NotFoundError8, root2, Service68, node72, exports_project };
@@ -7,18 +7,18 @@ var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer17,
12
- make: () => make16,
13
- node: () => node45,
10
+ configured: () => configured9,
11
+ layer: () => layer23,
12
+ make: () => make21,
13
+ node: () => node73,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make16()
19
+ defaultValue: () => make21()
20
20
  });
21
- function make16(input = {}) {
21
+ function make21(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make16(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer17 = (input) => Layer.succeed(Metadata2, make16(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
33
- var node45 = configured6();
31
+ var layer23 = (input) => Layer.succeed(Metadata2, make21(input));
32
+ var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
33
+ var node73 = configured9();
34
34
 
35
- export { Metadata2, make16, useragent2, layer17, configured6, node45, exports_app };
35
+ export { Metadata2, make21, useragent2, layer23, configured9, node73, exports_app };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Service79
3
- } from "./workspace-tjedsf1z.js";
3
+ } from "./workspace-v4n861w0.js";
4
4
  import {
5
- Service74
6
- } from "./workspace-xwq8n2sh.js";
5
+ Service71
6
+ } from "./workspace-dc2s3mgf.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
@@ -11,14 +11,14 @@ import {
11
11
  inherit2
12
12
  } from "./workspace-kg06axw8.js";
13
13
  import {
14
- Service32,
14
+ Service27,
15
15
  awaitActivation2
16
- } from "./workspace-9sh4wc5j.js";
16
+ } from "./workspace-1x11rq2a.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./workspace-4gzagvey.js";
21
+ } from "./workspace-4akkya8d.js";
22
22
  import {
23
23
  __export
24
24
  } from "./workspace-9rqn6x4v.js";
@@ -26,23 +26,23 @@ import {
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event4,
29
+ Event: () => Event2,
30
30
  ID: () => ID2,
31
31
  Info: () => Info2,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service32,
33
+ Service: () => Service27,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node20
37
+ node: () => node16
38
38
  });
39
- import { Event as Event4, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service32, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
44
44
  const bus = yield* Service79;
45
- const kv = yield* Service74;
45
+ const kv = yield* Service71;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service32.of({
208
+ return Service27.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node20 = Node.makeLocationNode({
226
- service: Service32,
225
+ var node16 = Node.makeLocationNode({
226
+ service: Service27,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node20, exports_plugin2, Event4, ID2, Info2, Source2, State2 };
231
+ export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./workspace-fwv3dbt3.js";
4
+ } from "./workspace-hwddf2sa.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service79,
8
8
  node84
9
- } from "./workspace-tjedsf1z.js";
9
+ } from "./workspace-v4n861w0.js";
10
10
  import {
11
11
  llmClient2
12
12
  } from "./workspace-5t3nmthw.js";
@@ -15,15 +15,15 @@ import {
15
15
  } from "./workspace-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./workspace-pz5qb3qt.js";
18
+ } from "./workspace-v7z8j5fb.js";
19
19
  import {
20
- Service65,
21
- node70
22
- } from "./workspace-gqap5j9g.js";
20
+ Service63,
21
+ node67
22
+ } from "./workspace-qnwdymmb.js";
23
23
  import {
24
- Service28,
25
- node33
26
- } from "./workspace-hz4vbhnm.js";
24
+ Service20,
25
+ node25
26
+ } from "./workspace-gqag2b6m.js";
27
27
  import {
28
28
  record2,
29
29
  add2
@@ -35,11 +35,11 @@ import {
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service3,
38
+ Service: () => Service10,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node4
41
+ layer: () => layer6,
42
+ node: () => node13
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service3 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service10 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service3, Effect.gen(function* () {
61
+ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
62
62
  const bus = yield* Service79;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service28;
65
- const store = yield* Service65;
64
+ const context = yield* Service20;
65
+ const store = yield* Service63;
66
66
  const db = (yield* Service80).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service3.of({ generate });
148
+ return Service10.of({ generate });
149
149
  }));
150
- var node4 = makeLocationNode({
151
- service: Service3,
152
- layer: layer3,
153
- deps: [node84, llmClient2, node33, node70, node85]
150
+ var node13 = makeLocationNode({
151
+ service: Service10,
152
+ layer: layer6,
153
+ deps: [node84, llmClient2, node25, node67, node85]
154
154
  });
155
155
 
156
- export { Service3, isUntitled2, layer3, node4, exports_title };
156
+ export { Service10, isUntitled2, layer6, node13, exports_title };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./workspace-tjedsf1z.js";
3
+ } from "./workspace-v4n861w0.js";
4
4
  import {
5
- Service53
6
- } from "./workspace-685qrrxy.js";
5
+ Service31
6
+ } from "./workspace-xqrcwaxh.js";
7
7
  import {
8
8
  Error3
9
- } from "./workspace-1c2ybwbd.js";
9
+ } from "./workspace-0h1q2yx7.js";
10
10
  import {
11
- Service44
12
- } from "./workspace-ggrs6r08.js";
11
+ Service48
12
+ } from "./workspace-k5asd96r.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./workspace-s8t4qsw4.js";
15
+ } from "./workspace-v8g8r3p5.js";
16
16
  import {
17
17
  SessionEvent2
18
18
  } from "./workspace-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./workspace-hjsw513e.js";
21
+ } from "./workspace-fg152w5z.js";
22
22
  import {
23
23
  calculateCost2
24
24
  } from "./workspace-tdstcens.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./workspace-h03wrkyp.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./workspace-eebjtjym.js";
30
+ } from "./workspace-ffxvb7x8.js";
31
31
  import {
32
32
  __export
33
33
  } from "./workspace-9rqn6x4v.js";
@@ -37,7 +37,7 @@ var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make8
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
54
+ var make8 = Effect.gen(function* () {
55
55
  const bus = yield* Service79;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service53;
58
- const toolOutput = yield* Service44;
57
+ const snapshots = yield* Service31;
58
+ const toolOutput = yield* Service48;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
205
205
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
206
206
  };
207
207
 
208
- export { Outcome2, make3, exports_step };
208
+ export { Outcome2, make8, exports_step };