@opencode/core 0.0.0-dev-466 → 0.0.0-dev-468

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 (538) hide show
  1. package/dist/agent.js +75 -75
  2. package/dist/aisdk-native.js +73 -73
  3. package/dist/aisdk.js +78 -78
  4. package/dist/app.js +9 -9
  5. package/dist/artifact.js +198 -198
  6. package/dist/bus.js +61 -61
  7. package/dist/chunks/{tool-output-djw2zn7q.js → tool-output-003nb3x9.js} +6 -6
  8. package/dist/chunks/{tool-output-n0nkwf14.js → tool-output-0f7cqh9y.js} +19 -19
  9. package/dist/chunks/{tool-output-yb225m05.js → tool-output-0g084y6g.js} +8 -8
  10. package/dist/chunks/{tool-output-gnwamg3p.js → tool-output-0mncc170.js} +18 -18
  11. package/dist/chunks/{tool-output-jx32s6s7.js → tool-output-0qn973hg.js} +41 -41
  12. package/dist/chunks/{tool-output-cf9r8vqq.js → tool-output-0w5jtxws.js} +2 -2
  13. package/dist/chunks/{tool-output-x87ytaxf.js → tool-output-10xvpzbz.js} +8 -8
  14. package/dist/chunks/{tool-output-w6zbx7sx.js → tool-output-15x6q7ay.js} +27 -27
  15. package/dist/chunks/{tool-output-h187kc3f.js → tool-output-1dzaet6x.js} +22 -22
  16. package/dist/chunks/{tool-output-7eev1cf5.js → tool-output-1k3fpg92.js} +16 -16
  17. package/dist/chunks/{tool-output-26wfx3k0.js → tool-output-1q07fp1w.js} +3 -3
  18. package/dist/chunks/{tool-output-f341sazs.js → tool-output-1vbrkdbs.js} +1 -1
  19. package/dist/chunks/{tool-output-v9ez2kgh.js → tool-output-1yq9hg58.js} +4 -4
  20. package/dist/chunks/{tool-output-pxp22qz6.js → tool-output-1zyreaf5.js} +5 -5
  21. package/dist/chunks/{tool-output-8zfy3skd.js → tool-output-20f8tgrs.js} +84 -84
  22. package/dist/chunks/{tool-output-dkrnptrz.js → tool-output-233argac.js} +6 -6
  23. package/dist/chunks/{tool-output-66sfkq4p.js → tool-output-24e6ax7n.js} +21 -21
  24. package/dist/chunks/{tool-output-8b3vzgkx.js → tool-output-25h84942.js} +3 -3
  25. package/dist/chunks/{tool-output-kdrvp24z.js → tool-output-26b1y7rt.js} +15 -15
  26. package/dist/chunks/{tool-output-0p4pmdhq.js → tool-output-2mekcvss.js} +19 -28
  27. package/dist/chunks/{tool-output-5sx3441x.js → tool-output-2mjf8t6w.js} +12 -12
  28. package/dist/chunks/{tool-output-kpa09rhw.js → tool-output-2mn1j6hz.js} +7 -7
  29. package/dist/chunks/{tool-output-ahedfgv0.js → tool-output-2p0swzms.js} +3 -3
  30. package/dist/chunks/{tool-output-0x3mztr9.js → tool-output-2wxwzjqh.js} +16 -16
  31. package/dist/chunks/{tool-output-dcbgjmsj.js → tool-output-34mdyaah.js} +19 -19
  32. package/dist/chunks/{tool-output-anvcme1c.js → tool-output-38aws4xb.js} +3 -3
  33. package/dist/chunks/{tool-output-d2fmx1yk.js → tool-output-3d7bg7jv.js} +17 -17
  34. package/dist/chunks/{tool-output-6sfn6t41.js → tool-output-3hgz1z2m.js} +9 -9
  35. package/dist/chunks/{tool-output-sx8d7w52.js → tool-output-3jc4acfe.js} +23 -23
  36. package/dist/chunks/{tool-output-x7bw7bgf.js → tool-output-3n7vn1tw.js} +24 -24
  37. package/dist/chunks/{tool-output-gnjy40cd.js → tool-output-3vgty9hw.js} +31 -31
  38. package/dist/chunks/{tool-output-2s709x84.js → tool-output-3wyhrqfb.js} +7 -7
  39. package/dist/chunks/{tool-output-7ns7jg7q.js → tool-output-4q33662b.js} +15 -15
  40. package/dist/chunks/{tool-output-hykqydna.js → tool-output-4ze21y5e.js} +15 -15
  41. package/dist/chunks/{tool-output-vatt5ny9.js → tool-output-56pf6jzp.js} +6 -6
  42. package/dist/chunks/{tool-output-m0kck7zd.js → tool-output-58ep7nm1.js} +27 -27
  43. package/dist/chunks/{tool-output-gd47j70e.js → tool-output-5bkchar3.js} +29 -29
  44. package/dist/chunks/{tool-output-hcysfq1n.js → tool-output-5cne3tjk.js} +29 -29
  45. package/dist/chunks/{tool-output-z29mj6ce.js → tool-output-5cvxvtjb.js} +13 -13
  46. package/dist/chunks/{tool-output-ndksvsqq.js → tool-output-5ftq3225.js} +3 -3
  47. package/dist/chunks/{tool-output-4j9dw2d0.js → tool-output-5gvc3re6.js} +28 -28
  48. package/dist/chunks/{tool-output-t3ax3ke3.js → tool-output-5mhm4vfj.js} +16 -16
  49. package/dist/chunks/{tool-output-2r6mdnfq.js → tool-output-5n09j8yg.js} +7 -7
  50. package/dist/chunks/{tool-output-y63ywa2k.js → tool-output-5t6r72gb.js} +9 -9
  51. package/dist/chunks/{tool-output-h4v5z7wp.js → tool-output-60869ztc.js} +3 -3
  52. package/dist/chunks/{tool-output-xksw6ev0.js → tool-output-67wwskyb.js} +3 -3
  53. package/dist/chunks/{tool-output-pdgyk44n.js → tool-output-694pnq3x.js} +1 -25
  54. package/dist/chunks/{tool-output-q1ev5fjc.js → tool-output-69mqj339.js} +12 -12
  55. package/dist/chunks/{tool-output-ycj63wkd.js → tool-output-6d0d1q6g.js} +1 -1
  56. package/dist/chunks/{tool-output-73ps2g3c.js → tool-output-6v0patxj.js} +22 -22
  57. package/dist/chunks/{tool-output-pbfjpsb7.js → tool-output-6x3ndttp.js} +4 -4
  58. package/dist/chunks/{tool-output-sfzk71g3.js → tool-output-6xskjdg4.js} +5 -5
  59. package/dist/chunks/{tool-output-sth9zcg7.js → tool-output-6y88akds.js} +5 -5
  60. package/dist/chunks/{tool-output-bzrt1caw.js → tool-output-76293m8w.js} +31 -31
  61. package/dist/chunks/{tool-output-a78wj5dv.js → tool-output-784aez8k.js} +7 -7
  62. package/dist/chunks/{tool-output-wvr8xscb.js → tool-output-79k544d0.js} +6 -6
  63. package/dist/chunks/{tool-output-we2g0r14.js → tool-output-7bdqzxt9.js} +4 -4
  64. package/dist/chunks/{tool-output-2jft24my.js → tool-output-7bf7hj9s.js} +15 -15
  65. package/dist/chunks/{tool-output-jjvq20ys.js → tool-output-7fc9d4g7.js} +12 -12
  66. package/dist/chunks/{tool-output-hhntqeqf.js → tool-output-7fv8psxd.js} +4 -4
  67. package/dist/chunks/{tool-output-ngc4k3z1.js → tool-output-7jewgrz3.js} +2 -2
  68. package/dist/chunks/{tool-output-yz3xmvrq.js → tool-output-7jm9ds1n.js} +11 -11
  69. package/dist/chunks/{tool-output-5hn8w8k6.js → tool-output-7m6c0hj2.js} +8 -8
  70. package/dist/chunks/{tool-output-byaw3b0t.js → tool-output-7qk9epd7.js} +36 -45
  71. package/dist/chunks/{tool-output-est9w4fd.js → tool-output-7whn3c9q.js} +9 -9
  72. package/dist/chunks/{tool-output-qjsezd78.js → tool-output-8gjkw0js.js} +9 -9
  73. package/dist/chunks/{tool-output-xjhqr95z.js → tool-output-8r9v0q4w.js} +10 -10
  74. package/dist/chunks/{tool-output-qw2t3dzn.js → tool-output-8wjgamp7.js} +3 -3
  75. package/dist/chunks/{tool-output-ab8r1jbv.js → tool-output-93fxe9zc.js} +31 -31
  76. package/dist/chunks/{tool-output-68cs06h1.js → tool-output-963hk181.js} +3 -3
  77. package/dist/chunks/{tool-output-y5h5r084.js → tool-output-98sn12ya.js} +9 -9
  78. package/dist/chunks/{tool-output-5eyjw0yz.js → tool-output-9cb2b2x0.js} +19 -19
  79. package/dist/chunks/{tool-output-aa24rdx2.js → tool-output-9g038b7v.js} +4 -4
  80. package/dist/chunks/{tool-output-v3tjqm7n.js → tool-output-9hyv3ajx.js} +2 -2
  81. package/dist/chunks/{tool-output-0xq8s71y.js → tool-output-9q24xs2v.js} +12 -12
  82. package/dist/chunks/{tool-output-42mcpepz.js → tool-output-a9d80qez.js} +2 -2
  83. package/dist/chunks/{tool-output-cvmhw006.js → tool-output-a9zrx39y.js} +11 -11
  84. package/dist/chunks/{tool-output-qvqcv7sy.js → tool-output-ac2zwpmx.js} +1 -1
  85. package/dist/chunks/{tool-output-10jzpw8f.js → tool-output-adnc1c99.js} +2 -2
  86. package/dist/chunks/{tool-output-ra34yqmw.js → tool-output-ag4egyv9.js} +5 -5
  87. package/dist/chunks/{tool-output-qvgx1mgd.js → tool-output-aj83cngs.js} +4 -4
  88. package/dist/chunks/{tool-output-xztvf178.js → tool-output-atz91cs9.js} +69 -69
  89. package/dist/chunks/{tool-output-h6jcj9p8.js → tool-output-b1w7ct0q.js} +7 -7
  90. package/dist/chunks/{tool-output-5nnwax6m.js → tool-output-b6vsg801.js} +3 -3
  91. package/dist/chunks/{tool-output-n3bkb5q1.js → tool-output-ba7dfhfp.js} +3 -3
  92. package/dist/chunks/{tool-output-q3kq69cx.js → tool-output-bh8w17xh.js} +16 -16
  93. package/dist/chunks/{tool-output-5p8cescm.js → tool-output-bterja0n.js} +3 -3
  94. package/dist/chunks/{tool-output-fjdc7vet.js → tool-output-c9zhd1c6.js} +1 -1
  95. package/dist/chunks/{tool-output-4nqe5hb4.js → tool-output-cat0vb1y.js} +11 -11
  96. package/dist/chunks/{tool-output-4h4fbn9p.js → tool-output-cbt2qz57.js} +8 -8
  97. package/dist/chunks/{tool-output-f2xjtcez.js → tool-output-cncmn02m.js} +10 -10
  98. package/dist/chunks/{tool-output-yngvyh0w.js → tool-output-d34c0f98.js} +3 -3
  99. package/dist/chunks/{tool-output-c5zvymhv.js → tool-output-dg5naf6e.js} +3 -3
  100. package/dist/chunks/tool-output-dj32dvym.js +261 -0
  101. package/dist/chunks/{tool-output-qsfsht85.js → tool-output-drgga8bz.js} +1 -1
  102. package/dist/chunks/{tool-output-2p5k36f2.js → tool-output-dvxnt4qw.js} +30 -30
  103. package/dist/chunks/{tool-output-n7d48jjh.js → tool-output-dxsywhez.js} +7 -7
  104. package/dist/chunks/{tool-output-4g7xdd9d.js → tool-output-e0vqfz96.js} +15 -15
  105. package/dist/chunks/{tool-output-82351en7.js → tool-output-e2cspmt5.js} +10 -10
  106. package/dist/chunks/{tool-output-yszbb02h.js → tool-output-e3d9wnyc.js} +9 -9
  107. package/dist/chunks/{tool-output-xym735jc.js → tool-output-e44hy6kp.js} +3 -3
  108. package/dist/chunks/{tool-output-dsd8sep6.js → tool-output-e4befdmj.js} +7 -7
  109. package/dist/chunks/{tool-output-f1szzr5n.js → tool-output-e8sv3ecx.js} +20 -20
  110. package/dist/chunks/{tool-output-4seebxp0.js → tool-output-eck7g38n.js} +8 -8
  111. package/dist/chunks/{tool-output-8s0gjrq3.js → tool-output-efk301g8.js} +18 -18
  112. package/dist/chunks/{tool-output-gyrwg2kg.js → tool-output-ej9jn8mj.js} +23 -23
  113. package/dist/chunks/{tool-output-5w0rdcwe.js → tool-output-ekqb8f4k.js} +7 -7
  114. package/dist/chunks/{tool-output-z5wh7n3m.js → tool-output-eqad68fz.js} +14 -14
  115. package/dist/chunks/{tool-output-2ty1qw88.js → tool-output-er9xytph.js} +3 -3
  116. package/dist/chunks/{tool-output-xxt856rx.js → tool-output-es1eqkr0.js} +1 -1
  117. package/dist/chunks/{tool-output-tj8zavg0.js → tool-output-ev3m9bcx.js} +11 -11
  118. package/dist/chunks/{tool-output-yk6dfxq1.js → tool-output-ewdy5g4h.js} +3 -3
  119. package/dist/chunks/{tool-output-yc3c4tkd.js → tool-output-ewr5gkwb.js} +10 -10
  120. package/dist/chunks/{tool-output-6zjm2phc.js → tool-output-ezna1kdx.js} +4 -4
  121. package/dist/chunks/{tool-output-adfvhgh8.js → tool-output-f4317sb4.js} +9 -9
  122. package/dist/chunks/{tool-output-qnc8gnan.js → tool-output-fcqh8bpp.js} +28 -28
  123. package/dist/chunks/{tool-output-r8rq6y8n.js → tool-output-ffqz4qa7.js} +10 -10
  124. package/dist/chunks/{tool-output-prq7xxp2.js → tool-output-fg9p65nk.js} +4 -4
  125. package/dist/chunks/{tool-output-bph1244c.js → tool-output-fjxgnb22.js} +21 -21
  126. package/dist/chunks/{tool-output-p64ky49f.js → tool-output-fvhkzny2.js} +22 -22
  127. package/dist/chunks/{tool-output-w687dnns.js → tool-output-fznmdakp.js} +3 -3
  128. package/dist/chunks/{tool-output-wb4c515f.js → tool-output-gb8v6gwe.js} +1 -1
  129. package/dist/chunks/{tool-output-mef8ekqr.js → tool-output-gdzky9ye.js} +16 -16
  130. package/dist/chunks/{tool-output-axq9n4nd.js → tool-output-ggsyfnd7.js} +7 -7
  131. package/dist/chunks/{tool-output-58y85ej2.js → tool-output-h4cqsg37.js} +13 -13
  132. package/dist/chunks/{tool-output-9cdgjr65.js → tool-output-h5bwdsb5.js} +30 -30
  133. package/dist/chunks/{tool-output-18a09hjh.js → tool-output-h5x6jdbe.js} +20 -20
  134. package/dist/chunks/{tool-output-1h3sfksp.js → tool-output-h6qp7cak.js} +4 -4
  135. package/dist/chunks/{tool-output-wt6a3mqf.js → tool-output-h9hc66h4.js} +3 -3
  136. package/dist/chunks/{tool-output-xja22b89.js → tool-output-he0d9e52.js} +8 -8
  137. package/dist/chunks/{tool-output-aqdx993p.js → tool-output-hr4kpn3s.js} +27 -27
  138. package/dist/chunks/{tool-output-a3fn0gmm.js → tool-output-hretfjjx.js} +1 -1
  139. package/dist/chunks/{tool-output-6nnr6ddx.js → tool-output-ht9cd5a6.js} +19 -19
  140. package/dist/chunks/{tool-output-7qg3mtbn.js → tool-output-j1fsn7bn.js} +20 -22
  141. package/dist/chunks/{tool-output-6rpcq00a.js → tool-output-j3rhnfwy.js} +23 -23
  142. package/dist/chunks/{tool-output-fdd0tmq7.js → tool-output-jkrj3e3r.js} +12 -12
  143. package/dist/chunks/{tool-output-wn5njeqz.js → tool-output-jkw133re.js} +8 -8
  144. package/dist/chunks/{tool-output-58vvnw5h.js → tool-output-jsb54h12.js} +9 -9
  145. package/dist/chunks/{tool-output-ps0ytyna.js → tool-output-jy9vhdfa.js} +10 -10
  146. package/dist/chunks/{tool-output-qr3qf9ct.js → tool-output-jyzwnaxr.js} +20 -20
  147. package/dist/chunks/{tool-output-mw0ek7me.js → tool-output-k0nmr3d0.js} +9 -9
  148. package/dist/chunks/{tool-output-2j18gx8c.js → tool-output-k12c5f6w.js} +27 -27
  149. package/dist/chunks/{tool-output-4d5xkhzj.js → tool-output-k3gnvwmc.js} +7 -7
  150. package/dist/chunks/{tool-output-m4ftx5nk.js → tool-output-kfnngk0d.js} +30 -30
  151. package/dist/chunks/{tool-output-fyaaepwe.js → tool-output-kg500zpr.js} +28 -28
  152. package/dist/chunks/{tool-output-hj1t8ssm.js → tool-output-krmwacza.js} +20 -20
  153. package/dist/chunks/{tool-output-4ew25cb5.js → tool-output-krxsh9ks.js} +23 -23
  154. package/dist/chunks/{tool-output-d3aj8f3h.js → tool-output-kv2t3cyj.js} +9 -9
  155. package/dist/chunks/{tool-output-ex8kn217.js → tool-output-m17rt52q.js} +7 -7
  156. package/dist/chunks/{tool-output-ppvp06zs.js → tool-output-m2vvefb9.js} +23 -23
  157. package/dist/chunks/{tool-output-2jjfs7g5.js → tool-output-m6cfdtf3.js} +3 -3
  158. package/dist/chunks/{tool-output-qxa8694e.js → tool-output-mbqn2nbf.js} +12 -12
  159. package/dist/chunks/{tool-output-f5g6d0qb.js → tool-output-mc2p1ws7.js} +20 -20
  160. package/dist/chunks/{tool-output-95kj44hy.js → tool-output-mk99ka2e.js} +7 -7
  161. package/dist/chunks/{tool-output-xvhx3fzq.js → tool-output-mn5s68kz.js} +8 -8
  162. package/dist/chunks/{tool-output-q1edwbg5.js → tool-output-mq4pmep5.js} +16 -16
  163. package/dist/chunks/{tool-output-sf3r2nj7.js → tool-output-mxnpz060.js} +2 -2
  164. package/dist/chunks/tool-output-n5wmf7e7.js +26 -0
  165. package/dist/chunks/{tool-output-sbfaben9.js → tool-output-nd2qx06s.js} +7 -7
  166. package/dist/chunks/{tool-output-d0pyrcv2.js → tool-output-nf1q0ebc.js} +47 -47
  167. package/dist/chunks/{tool-output-ateksmxm.js → tool-output-ngbqbpny.js} +14 -14
  168. package/dist/chunks/{tool-output-p53k08rd.js → tool-output-nq646sks.js} +23 -23
  169. package/dist/chunks/{tool-output-4r6p4fek.js → tool-output-nq8r7s52.js} +4 -4
  170. package/dist/chunks/{tool-output-qfz6bxfd.js → tool-output-nr915jn7.js} +3 -3
  171. package/dist/chunks/{tool-output-2n444ktb.js → tool-output-nv2c5e9q.js} +3 -3
  172. package/dist/chunks/{tool-output-h77r3w1s.js → tool-output-nw1saj90.js} +28 -28
  173. package/dist/chunks/{tool-output-hxrjgpzw.js → tool-output-nz9pn5jw.js} +9 -9
  174. package/dist/chunks/{tool-output-yxjmegqv.js → tool-output-nzaxwfce.js} +30 -30
  175. package/dist/chunks/{tool-output-t6vp9y58.js → tool-output-nzm9kpg0.js} +43 -43
  176. package/dist/chunks/{tool-output-vv9ywpgj.js → tool-output-p2sff4ab.js} +2 -2
  177. package/dist/chunks/{tool-output-hsnq1va6.js → tool-output-p55ejza0.js} +3 -3
  178. package/dist/chunks/{tool-output-60w1zvt0.js → tool-output-pf3vmkke.js} +58 -58
  179. package/dist/chunks/{tool-output-7z9zc7fv.js → tool-output-ppbjty95.js} +34 -34
  180. package/dist/chunks/{tool-output-qykgtxne.js → tool-output-pr168ar6.js} +22 -22
  181. package/dist/chunks/{tool-output-eka5gqec.js → tool-output-pxv0r0tk.js} +18 -18
  182. package/dist/chunks/{tool-output-6r9ht2s4.js → tool-output-q3z02may.js} +2 -2
  183. package/dist/chunks/{tool-output-c83t1a4q.js → tool-output-q3z0vr5a.js} +5 -5
  184. package/dist/chunks/{tool-output-6sxbqbzw.js → tool-output-qa8vg83d.js} +9 -9
  185. package/dist/chunks/{tool-output-parb2748.js → tool-output-qg6qvrnm.js} +2 -2
  186. package/dist/chunks/{tool-output-jc49e2ak.js → tool-output-qgmkp9j8.js} +24 -24
  187. package/dist/chunks/{tool-output-ydd7qh3d.js → tool-output-qhwrm2rz.js} +1 -1
  188. package/dist/chunks/{tool-output-erd82hzj.js → tool-output-qnk9w869.js} +23 -23
  189. package/dist/chunks/{tool-output-xf3q1v2n.js → tool-output-qpmemebt.js} +1 -1
  190. package/dist/chunks/{tool-output-e63h50qx.js → tool-output-qrwmr4mb.js} +24 -24
  191. package/dist/chunks/{tool-output-v093k11a.js → tool-output-qs0v2njn.js} +1 -1
  192. package/dist/chunks/{tool-output-p4g6dtgh.js → tool-output-qyb0apjn.js} +14 -14
  193. package/dist/chunks/{tool-output-py9rnfbe.js → tool-output-rcv43n97.js} +21 -21
  194. package/dist/chunks/{tool-output-4p9gmmpp.js → tool-output-rfwkesfc.js} +33 -33
  195. package/dist/chunks/{tool-output-fjp9qcz0.js → tool-output-rhte1d85.js} +11 -11
  196. package/dist/chunks/{tool-output-nef4x0fv.js → tool-output-rj5f6m6g.js} +17 -17
  197. package/dist/chunks/{tool-output-jdzjtwv2.js → tool-output-rk2h67k3.js} +77 -77
  198. package/dist/chunks/{tool-output-w19hfjk6.js → tool-output-rk6pkc68.js} +10 -10
  199. package/dist/chunks/{tool-output-g6mxdxvy.js → tool-output-rv8zvzdc.js} +6 -6
  200. package/dist/chunks/{tool-output-9rytrcgt.js → tool-output-rxmrkyph.js} +7 -7
  201. package/dist/chunks/{tool-output-530xg6vw.js → tool-output-s4kyhetj.js} +1 -1
  202. package/dist/chunks/{tool-output-3y4xzgma.js → tool-output-s6h1tbfj.js} +12 -12
  203. package/dist/chunks/{tool-output-2cdjxzfg.js → tool-output-sbz71ybr.js} +2 -2
  204. package/dist/chunks/{tool-output-kb33k53g.js → tool-output-sqj1fmw3.js} +7 -7
  205. package/dist/chunks/{tool-output-0j7gp832.js → tool-output-sqjzf8x2.js} +3 -3
  206. package/dist/chunks/{tool-output-ztf6n3de.js → tool-output-syncbfr5.js} +3 -3
  207. package/dist/chunks/{tool-output-80pdnbfy.js → tool-output-t1c5djej.js} +28 -28
  208. package/dist/chunks/{tool-output-jpdapree.js → tool-output-t5pccnhe.js} +13 -13
  209. package/dist/chunks/{tool-output-ww0cyf3z.js → tool-output-tcbneg83.js} +48 -48
  210. package/dist/chunks/{tool-output-e5y560y7.js → tool-output-th2hp9ev.js} +7 -7
  211. package/dist/chunks/{tool-output-d904zbqa.js → tool-output-tj4hnhpr.js} +25 -25
  212. package/dist/chunks/{tool-output-m6f9p571.js → tool-output-tjm2sr5g.js} +21 -21
  213. package/dist/chunks/{tool-output-mpq8mfwy.js → tool-output-tkmbybpd.js} +6 -6
  214. package/dist/chunks/{tool-output-tvgyr2bd.js → tool-output-tn27k7n2.js} +12 -12
  215. package/dist/chunks/{tool-output-vr4vq26x.js → tool-output-tpc5s4y5.js} +43 -43
  216. package/dist/chunks/{tool-output-8a2xbwhq.js → tool-output-v74x3na4.js} +6 -6
  217. package/dist/chunks/{tool-output-amrdb7ww.js → tool-output-v77zgkhm.js} +4 -4
  218. package/dist/chunks/{tool-output-6jbcaht7.js → tool-output-vakqs29q.js} +1 -1
  219. package/dist/chunks/{tool-output-4y71by1a.js → tool-output-vbthxz0p.js} +15 -15
  220. package/dist/chunks/{tool-output-gmg2m67c.js → tool-output-vc37r1zq.js} +6 -6
  221. package/dist/chunks/{tool-output-115b3ms3.js → tool-output-veq5jnq3.js} +9 -9
  222. package/dist/chunks/{tool-output-bgm817xr.js → tool-output-vrcsa8qx.js} +7 -7
  223. package/dist/chunks/{tool-output-x7de2wha.js → tool-output-vt4r9rmy.js} +7 -7
  224. package/dist/chunks/{tool-output-yf1a4qa7.js → tool-output-vtkgm0rk.js} +3 -3
  225. package/dist/chunks/{tool-output-wd84ymt0.js → tool-output-vx0rqq3s.js} +25 -25
  226. package/dist/chunks/{tool-output-wqszm3cq.js → tool-output-vx8z5gpr.js} +5 -5
  227. package/dist/chunks/{tool-output-fv23p420.js → tool-output-vzyjvy19.js} +352 -352
  228. package/dist/chunks/{tool-output-kbd1k1ej.js → tool-output-w2wjze7r.js} +9 -9
  229. package/dist/chunks/{tool-output-f8enq2ta.js → tool-output-w5zv77p4.js} +4 -4
  230. package/dist/chunks/{tool-output-qq4f8yjf.js → tool-output-wfmpece2.js} +19 -19
  231. package/dist/chunks/{tool-output-8t99kr38.js → tool-output-wfs84ra6.js} +3 -3
  232. package/dist/chunks/{tool-output-r11wa1x2.js → tool-output-wk8jtf2z.js} +17 -17
  233. package/dist/chunks/{tool-output-8eap5edk.js → tool-output-wmv27f9c.js} +3 -3
  234. package/dist/chunks/{tool-output-s4xb5t7y.js → tool-output-wshxcgwp.js} +31 -31
  235. package/dist/chunks/{tool-output-81e7rhct.js → tool-output-wt3svnfa.js} +30 -30
  236. package/dist/chunks/{tool-output-9djsjk3f.js → tool-output-wvwgxcbr.js} +37 -37
  237. package/dist/chunks/{tool-output-5r1jnhxq.js → tool-output-wwax6h97.js} +20 -20
  238. package/dist/chunks/{tool-output-ys2kpqh4.js → tool-output-wy9q57d6.js} +10 -10
  239. package/dist/chunks/{tool-output-7nqkf5r1.js → tool-output-x4mcewfn.js} +3 -3
  240. package/dist/chunks/{tool-output-z16qtg1w.js → tool-output-x6613ah8.js} +13 -13
  241. package/dist/chunks/{tool-output-6y63rby9.js → tool-output-xd3zm682.js} +13 -13
  242. package/dist/chunks/{tool-output-2t908x44.js → tool-output-xe8ck1p9.js} +19 -19
  243. package/dist/chunks/{tool-output-22ywg2me.js → tool-output-xft6dn0a.js} +7 -7
  244. package/dist/chunks/{tool-output-55gp94gm.js → tool-output-xtfjfdah.js} +29 -29
  245. package/dist/chunks/{tool-output-v06mza8y.js → tool-output-xw4jh0fq.js} +10 -10
  246. package/dist/chunks/{tool-output-pzp284mp.js → tool-output-y0dmyt4t.js} +23 -23
  247. package/dist/chunks/{tool-output-gqgdr040.js → tool-output-y4ahsw2v.js} +6 -6
  248. package/dist/chunks/{tool-output-w9qm3w4z.js → tool-output-y9wqzmeb.js} +8 -8
  249. package/dist/chunks/{tool-output-bfhbvqd5.js → tool-output-ybr9qycb.js} +20 -20
  250. package/dist/chunks/{tool-output-k1zxkq7r.js → tool-output-yk1y9yyc.js} +8 -8
  251. package/dist/chunks/{tool-output-cq3q9vsf.js → tool-output-ykqp9ed4.js} +19 -19
  252. package/dist/chunks/{tool-output-g5ae1s2z.js → tool-output-ynqstxnz.js} +145 -145
  253. package/dist/chunks/{tool-output-rjz4d94e.js → tool-output-yrevsbh2.js} +7 -7
  254. package/dist/chunks/{tool-output-e0wzwgvk.js → tool-output-z0fjqy87.js} +3 -3
  255. package/dist/chunks/{tool-output-yydqqga9.js → tool-output-zfyb5tr4.js} +3 -3
  256. package/dist/chunks/{tool-output-n18wzqne.js → tool-output-zrc3e38m.js} +1 -1
  257. package/dist/chunks/{tool-output-phn32fwn.js → tool-output-zx10qtpe.js} +17 -17
  258. package/dist/codemode/execution.js +3 -3
  259. package/dist/codemode/fetch.js +107 -107
  260. package/dist/codemode/instructions.js +8 -8
  261. package/dist/codemode/tool.js +112 -112
  262. package/dist/command.js +75 -75
  263. package/dist/config/discovery.js +68 -68
  264. package/dist/config/integration.js +3 -3
  265. package/dist/config/normalize.js +79 -79
  266. package/dist/config/plugin/agent.js +93 -93
  267. package/dist/config/plugin/command.js +180 -180
  268. package/dist/config/plugin/compaction.js +127 -127
  269. package/dist/config/plugin/compatibility.js +110 -110
  270. package/dist/config/plugin/formatter.js +94 -94
  271. package/dist/config/plugin/image.js +93 -93
  272. package/dist/config/plugin/instruction.js +94 -94
  273. package/dist/config/plugin/location-watcher.js +95 -95
  274. package/dist/config/plugin/mcp.js +97 -97
  275. package/dist/config/plugin/policy.js +93 -93
  276. package/dist/config/plugin/provider.js +93 -93
  277. package/dist/config/plugin/reference.js +94 -94
  278. package/dist/config/plugin/shell.js +95 -95
  279. package/dist/config/plugin/skill-file.js +107 -107
  280. package/dist/config/plugin/skill.js +113 -113
  281. package/dist/config/plugin/snapshot.js +93 -93
  282. package/dist/config/plugin/source.js +96 -96
  283. package/dist/config/plugin/tool-output.js +94 -94
  284. package/dist/config/plugin/websearch.js +94 -94
  285. package/dist/config/plugin/worktree.js +94 -94
  286. package/dist/config.js +97 -97
  287. package/dist/credential.js +75 -75
  288. package/dist/database/database.js +60 -60
  289. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  290. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  291. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  292. package/dist/database/drizzle/index.js +9 -9
  293. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  294. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  295. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  296. package/dist/database/drizzle.js +9 -9
  297. package/dist/database/migration.gen.js +49 -49
  298. package/dist/database/migration.js +50 -50
  299. package/dist/database/v1-migration.bun.js +15 -15
  300. package/dist/effect/app-node-builder.js +265 -265
  301. package/dist/environment/environment.js +75 -75
  302. package/dist/environment/index.js +75 -75
  303. package/dist/environment/unavailable.js +3 -3
  304. package/dist/event-logger.js +9 -9
  305. package/dist/file-access.js +114 -114
  306. package/dist/file-mutation.js +76 -76
  307. package/dist/filesystem/file-watch.js +12 -12
  308. package/dist/filesystem/location-watcher-policy.js +5 -5
  309. package/dist/filesystem/location-watcher.js +196 -196
  310. package/dist/filesystem/search.js +79 -79
  311. package/dist/filesystem/watcher.js +7 -7
  312. package/dist/filesystem.js +82 -82
  313. package/dist/form.js +76 -76
  314. package/dist/formatter/builtins.js +3 -3
  315. package/dist/formatter.js +73 -73
  316. package/dist/generate.js +88 -88
  317. package/dist/git.js +7 -7
  318. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  319. package/dist/github-copilot/copilot-provider.js +3 -3
  320. package/dist/github-copilot/models.js +75 -75
  321. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  322. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  323. package/dist/image/notice.js +3 -3
  324. package/dist/image/photon.js +1 -1
  325. package/dist/image.js +5 -5
  326. package/dist/instance/service.js +5 -5
  327. package/dist/instance.js +351 -351
  328. package/dist/instruction-discovery.js +78 -78
  329. package/dist/instructions/builtins.js +73 -73
  330. package/dist/instructions/index.js +5 -5
  331. package/dist/integration.js +72 -72
  332. package/dist/job.js +68 -68
  333. package/dist/kv.js +65 -65
  334. package/dist/location-activity.js +72 -72
  335. package/dist/location-lifecycle.js +112 -112
  336. package/dist/location-service-map.js +72 -72
  337. package/dist/location-services.js +349 -349
  338. package/dist/location.js +73 -73
  339. package/dist/managed-policy.js +2 -2
  340. package/dist/mcp/client.js +17 -17
  341. package/dist/mcp/index.js +89 -89
  342. package/dist/mcp/instructions.js +136 -136
  343. package/dist/mcp/oauth.js +13 -13
  344. package/dist/mcp/stdio.js +72 -72
  345. package/dist/modal/models.js +75 -75
  346. package/dist/model-resolver.js +82 -82
  347. package/dist/model.js +80 -80
  348. package/dist/models-dev.js +89 -89
  349. package/dist/permission/saved.js +67 -67
  350. package/dist/permission.js +113 -113
  351. package/dist/persistent-pty/index.js +80 -80
  352. package/dist/persistent-pty.js +64 -64
  353. package/dist/plugin/agent.js +66 -66
  354. package/dist/plugin/command.js +80 -80
  355. package/dist/plugin/goal.js +3 -3
  356. package/dist/plugin/hooks.js +3 -3
  357. package/dist/plugin/host.js +187 -187
  358. package/dist/plugin/identity.js +5 -5
  359. package/dist/plugin/internal.js +329 -329
  360. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  361. package/dist/plugin/models-dev.js +80 -80
  362. package/dist/plugin/module.js +90 -90
  363. package/dist/plugin/optimize.js +2 -2
  364. package/dist/plugin/plan.js +108 -108
  365. package/dist/plugin/provider/amazon-bedrock.js +75 -75
  366. package/dist/plugin/provider/azure.js +96 -96
  367. package/dist/plugin/provider/chatgpt.js +92 -92
  368. package/dist/plugin/provider/claude-agent/aisdk.js +85 -85
  369. package/dist/plugin/provider/claude-agent/claude/query-options.js +2 -2
  370. package/dist/plugin/provider/claude-agent/claude/sessions.js +10 -10
  371. package/dist/plugin/provider/claude-agent/claude/status.js +3 -3
  372. package/dist/plugin/provider/claude-agent/index.js +103 -103
  373. package/dist/plugin/provider/claude-agent/instructions.js +81 -81
  374. package/dist/plugin/provider/claude-agent/integration.js +80 -80
  375. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  376. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  377. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
  378. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  379. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  380. package/dist/plugin/provider/claude-agent/provider.js +77 -77
  381. package/dist/plugin/provider/claude-agent/session.js +80 -80
  382. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  383. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  384. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  385. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  386. package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
  387. package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
  388. package/dist/plugin/provider/configured.js +90 -90
  389. package/dist/plugin/provider/credential-settings.js +64 -64
  390. package/dist/plugin/provider/digitalocean.js +78 -78
  391. package/dist/plugin/provider/github-copilot.js +80 -80
  392. package/dist/plugin/provider/gitlab.js +77 -77
  393. package/dist/plugin/provider/google-vertex.js +91 -91
  394. package/dist/plugin/provider/llmgateway.js +67 -67
  395. package/dist/plugin/provider/lmstudio.js +99 -99
  396. package/dist/plugin/provider/local.js +96 -96
  397. package/dist/plugin/provider/modal.js +78 -78
  398. package/dist/plugin/provider/ollama.js +99 -99
  399. package/dist/plugin/provider/openai-context-caps.js +74 -74
  400. package/dist/plugin/provider/openai.js +92 -92
  401. package/dist/plugin/provider/opencode.js +94 -94
  402. package/dist/plugin/provider/openrouter.js +75 -75
  403. package/dist/plugin/provider/poe.js +67 -67
  404. package/dist/plugin/provider/refresh.js +65 -65
  405. package/dist/plugin/provider/sap-ai-core.js +74 -74
  406. package/dist/plugin/provider/snowflake-cortex.js +92 -92
  407. package/dist/plugin/provider/vllm.js +99 -99
  408. package/dist/plugin/provider/xai.js +75 -75
  409. package/dist/plugin/provider.js +157 -157
  410. package/dist/plugin/sdk.js +66 -66
  411. package/dist/plugin/service.js +3 -3
  412. package/dist/plugin/skill.js +109 -109
  413. package/dist/plugin/supervisor.js +335 -335
  414. package/dist/plugin/tool-input-repair.js +3 -3
  415. package/dist/plugin/update.js +5 -5
  416. package/dist/plugin/vcs/git.js +72 -72
  417. package/dist/plugin/vcs/hg.js +72 -72
  418. package/dist/plugin/verbosity.js +77 -77
  419. package/dist/plugin/warming.js +94 -94
  420. package/dist/plugin/websearch/exa.js +3 -3
  421. package/dist/plugin/websearch/firecrawl.js +4 -4
  422. package/dist/plugin/websearch/index.js +7 -7
  423. package/dist/plugin/websearch/parallel.js +6 -6
  424. package/dist/plugin/websearch/tavily.js +6 -6
  425. package/dist/plugin/websearch/tinyfish.js +6 -6
  426. package/dist/plugin.js +196 -196
  427. package/dist/project/schema.js +3 -3
  428. package/dist/project.js +74 -74
  429. package/dist/provider.js +79 -79
  430. package/dist/pty.js +86 -86
  431. package/dist/reference/instructions.js +74 -74
  432. package/dist/reference.js +74 -74
  433. package/dist/repository-cache.js +69 -69
  434. package/dist/ripgrep.js +78 -78
  435. package/dist/rpc.js +72 -72
  436. package/dist/schedule/check.js +191 -191
  437. package/dist/schedule.js +198 -198
  438. package/dist/session/blob.js +92 -92
  439. package/dist/session/command.js +66 -66
  440. package/dist/session/compaction.js +128 -128
  441. package/dist/session/context.js +152 -152
  442. package/dist/session/diff.js +72 -72
  443. package/dist/session/environment.js +5 -5
  444. package/dist/session/error.js +2 -2
  445. package/dist/session/execution/restart.js +122 -122
  446. package/dist/session/execution.js +121 -121
  447. package/dist/session/generate.js +152 -152
  448. package/dist/session/history.js +98 -98
  449. package/dist/session/inbox.js +109 -109
  450. package/dist/session/info.js +2 -2
  451. package/dist/session/instruction-entry.js +68 -68
  452. package/dist/session/instruction-state.js +2 -2
  453. package/dist/session/instructions.js +103 -103
  454. package/dist/session/message-updater.js +3 -3
  455. package/dist/session/model-request.js +122 -122
  456. package/dist/session/model-transport.js +5 -5
  457. package/dist/session/move.js +124 -124
  458. package/dist/session/projector.js +104 -104
  459. package/dist/session/prompt.js +110 -110
  460. package/dist/session/revert.js +101 -101
  461. package/dist/session/runner/index.js +3 -3
  462. package/dist/session/runner/llm.js +198 -198
  463. package/dist/session/runner/model.js +83 -83
  464. package/dist/session/runner/publish-llm-event.js +110 -110
  465. package/dist/session/runner/retry.js +4 -4
  466. package/dist/session/runner/step.js +123 -123
  467. package/dist/session/runner/to-llm-message.js +99 -99
  468. package/dist/session/schema.js +5 -5
  469. package/dist/session/session.js +135 -135
  470. package/dist/session/shell.js +103 -103
  471. package/dist/session/skill.js +109 -109
  472. package/dist/session/stats.js +8 -8
  473. package/dist/session/store.js +104 -104
  474. package/dist/session/stored.js +3 -3
  475. package/dist/session/subagent-completion.js +3 -3
  476. package/dist/session/subagent-job.js +181 -181
  477. package/dist/session/system-prompt.js +5 -5
  478. package/dist/session/title.js +153 -153
  479. package/dist/session/to-session-error.js +109 -109
  480. package/dist/session/transfer.js +116 -116
  481. package/dist/session.js +187 -187
  482. package/dist/shared-cache.js +3 -3
  483. package/dist/shell/parse.js +3 -3
  484. package/dist/shell/select.js +14 -14
  485. package/dist/shell.js +106 -106
  486. package/dist/skill/discovery.js +5 -5
  487. package/dist/skill/instructions.js +113 -113
  488. package/dist/skill.js +118 -118
  489. package/dist/snapshot.js +77 -77
  490. package/dist/tool/mcp.js +135 -135
  491. package/dist/tool/plugin/artifact.js +179 -179
  492. package/dist/tool/plugin/edit.js +115 -115
  493. package/dist/tool/plugin/glob.js +124 -124
  494. package/dist/tool/plugin/grep.js +124 -124
  495. package/dist/tool/plugin/image-generate.js +189 -189
  496. package/dist/tool/plugin/mcp-resource.js +118 -118
  497. package/dist/tool/plugin/opencode.js +117 -117
  498. package/dist/tool/plugin/patch.js +123 -123
  499. package/dist/tool/plugin/question.js +110 -110
  500. package/dist/tool/plugin/read.js +125 -125
  501. package/dist/tool/plugin/schedule.js +195 -195
  502. package/dist/tool/plugin/shell.js +182 -182
  503. package/dist/tool/plugin/skill.js +117 -117
  504. package/dist/tool/plugin/subagent.js +186 -186
  505. package/dist/tool/plugin/todo.js +108 -108
  506. package/dist/tool/plugin/webfetch.js +116 -116
  507. package/dist/tool/plugin/websearch.js +117 -117
  508. package/dist/tool/plugin/write.js +123 -123
  509. package/dist/tool/read-filesystem.js +80 -80
  510. package/dist/tool-output.js +5 -5
  511. package/dist/tool.js +118 -118
  512. package/dist/types/session/model-request.d.ts +2 -2
  513. package/dist/usage-limits.js +77 -77
  514. package/dist/v1/config/agent.js +5 -5
  515. package/dist/v1/config/migrate.js +75 -75
  516. package/dist/v1/config/plugin.js +3 -3
  517. package/dist/v1/config/provider.js +3 -3
  518. package/dist/variant.js +75 -75
  519. package/dist/vcs.js +75 -75
  520. package/dist/voice.js +77 -77
  521. package/dist/websearch.js +80 -80
  522. package/dist/wellknown/plugin.js +66 -66
  523. package/dist/wellknown.js +71 -71
  524. package/dist/workspace/driver.js +7 -7
  525. package/dist/workspace.js +71 -71
  526. package/dist/worktree/git.js +4 -4
  527. package/dist/worktree/strategies.js +74 -74
  528. package/dist/worktree.js +78 -78
  529. package/package.json +8 -8
  530. package/dist/chunks/tool-output-2k0qjd71.js +0 -261
  531. package/dist/chunks/tool-output-h8kmj787.js +0 -26
  532. /package/dist/chunks/{tool-output-9b00c1fb.js → tool-output-5ebw3s4g.js} +0 -0
  533. /package/dist/chunks/{tool-output-pd14fbdd.js → tool-output-78hmycys.js} +0 -0
  534. /package/dist/chunks/{tool-output-775hqbnd.js → tool-output-80mg3ag8.js} +0 -0
  535. /package/dist/chunks/{tool-output-mfjzh9b6.js → tool-output-b00xhfda.js} +0 -0
  536. /package/dist/chunks/{tool-output-ybfg1fv3.js → tool-output-kmysz3kf.js} +0 -0
  537. /package/dist/chunks/{tool-output-287n1fg5.js → tool-output-x0tb4wca.js} +0 -0
  538. /package/dist/chunks/{tool-output-j9nxzz3g.js → tool-output-ze75qvmd.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Service68
3
- } from "./tool-output-4p9gmmpp.js";
3
+ } from "./tool-output-rfwkesfc.js";
4
4
  import {
5
- Service40
6
- } from "./tool-output-2jjfs7g5.js";
5
+ Service46
6
+ } from "./tool-output-m6cfdtf3.js";
7
7
  import {
8
8
  __export
9
9
  } from "./tool-output-9rqn6x4v.js";
@@ -23,7 +23,7 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
23
23
  const url = String(input);
24
24
  if (URL.parse(url)?.protocol === "file:")
25
25
  return yield* Effect.fail(new Error("fetch cannot be used for filesystem access."));
26
- const execution = yield* Service40;
26
+ const execution = yield* Service46;
27
27
  const permission = yield* Service68;
28
28
  yield* permission.assert({
29
29
  action: "webfetch",
@@ -9,7 +9,7 @@ __export(exports_goal, {
9
9
  MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
10
10
  MAX_ROUNDS: () => MAX_ROUNDS2,
11
11
  MAX_STALLS: () => MAX_STALLS2,
12
- Plugin: () => Plugin8,
12
+ Plugin: () => Plugin11,
13
13
  WAIT_LIMIT: () => WAIT_LIMIT2
14
14
  });
15
15
  import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
102
102
  });
103
103
  var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
104
104
  var USAGE = "Usage: /goal <objective> | pause | resume | clear";
105
- var Plugin8 = define({
105
+ var Plugin11 = define({
106
106
  id: "opencode.goal",
107
107
  effect: Effect.fn(function* (ctx) {
108
108
  const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
@@ -407,4 +407,4 @@ function escape(text) {
407
407
  return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
408
408
  }
409
409
 
410
- export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin8, exports_goal };
410
+ export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin11, exports_goal };
@@ -2,7 +2,7 @@ import {
2
2
  ephemeral2,
3
3
  Service89,
4
4
  node92
5
- } from "./tool-output-v093k11a.js";
5
+ } from "./tool-output-qs0v2njn.js";
6
6
  import {
7
7
  __export
8
8
  } from "./tool-output-9rqn6x4v.js";
@@ -11,28 +11,28 @@ import {
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service3,
14
+ Service: () => Service2,
15
15
  Updated: () => Updated2,
16
16
  layer: () => layer4,
17
- node: () => node4
17
+ node: () => node3
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service3 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service2 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service3, Effect.gen(function* () {
25
+ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
26
26
  const bus = yield* Service89;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service3.of({
29
+ return Service2.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node92] });
36
+ var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node92] });
37
37
 
38
- export { Updated2, Service3, layer4, node4, exports_sdk };
38
+ export { Updated2, Service2, layer4, node3, exports_sdk };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service89,
3
3
  node92
4
- } from "./tool-output-v093k11a.js";
4
+ } from "./tool-output-qs0v2njn.js";
5
5
  import {
6
6
  environment2
7
- } from "./tool-output-dcbgjmsj.js";
7
+ } from "./tool-output-34mdyaah.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
10
  } from "./tool-output-1pevy3nx.js";
@@ -17,16 +17,16 @@ var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
19
  InvalidCwdError: () => InvalidCwdError2,
20
- NotFoundError: () => NotFoundError14,
21
- Options: () => Options7,
20
+ NotFoundError: () => NotFoundError3,
21
+ Options: () => Options2,
22
22
  PersistentPty: () => exports_persistent_pty,
23
- Service: () => Service87,
24
- UnavailableError: () => UnavailableError5,
23
+ Service: () => Service16,
24
+ UnavailableError: () => UnavailableError2,
25
25
  UnsupportedError: () => UnsupportedError2,
26
- available: () => available4,
27
- configured: () => configured11,
28
- layer: () => layer27,
29
- node: () => node90
26
+ available: () => available3,
27
+ configured: () => configured2,
28
+ layer: () => layer9,
29
+ node: () => node19
30
30
  });
31
31
  import { stat } from "node:fs/promises";
32
32
  import path from "node:path";
@@ -44,18 +44,18 @@ import { Pty } from "@opencode/schema/pty";
44
44
  import { Global } from "@opencode/util/global";
45
45
  import { resolveBinary } from "#persistent-pty-binary";
46
46
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
47
- import { available as available4 } from "#persistent-pty-binary";
48
- var Options7 = Schema.Struct({
47
+ import { available as available3 } from "#persistent-pty-binary";
48
+ var Options2 = Schema.Struct({
49
49
  handoff: Schema.optional(Handoff),
50
50
  root: Schema.optional(Schema.String)
51
51
  });
52
52
 
53
- class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
53
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
54
54
  message: Schema.String
55
55
  }) {
56
56
  }
57
57
 
58
- class NotFoundError14 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
58
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
59
59
  ptyID: Pty.ID
60
60
  }) {
61
61
  }
@@ -71,9 +71,9 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
71
71
  }) {
72
72
  }
73
73
 
74
- class Service87 extends Context.Service()("@opencode/PersistentPty") {
74
+ class Service16 extends Context.Service()("@opencode/PersistentPty") {
75
75
  }
76
- var makeLayer = (options = {}) => Layer.effect(Service87, Effect.gen(function* () {
76
+ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
77
77
  const bus = yield* Service89;
78
78
  const global = yield* Global.Service;
79
79
  const context = yield* Effect.context();
@@ -96,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service87, Effect.gen(function* (
96
96
  const get = Effect.fn("PersistentPty.get")(function* (id) {
97
97
  const found = (yield* list()).find((terminal) => terminal.id === id);
98
98
  if (!found)
99
- return yield* new NotFoundError14({ ptyID: id });
99
+ return yield* new NotFoundError3({ ptyID: id });
100
100
  return found;
101
101
  });
102
102
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -201,7 +201,7 @@ var makeLayer = (options = {}) => Layer.effect(Service87, Effect.gen(function* (
201
201
  });
202
202
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
203
203
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
204
- return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
204
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
205
205
  const id = current.get(sessionID);
206
206
  if (!id)
207
207
  return null;
@@ -287,7 +287,7 @@ var makeLayer = (options = {}) => Layer.effect(Service87, Effect.gen(function* (
287
287
  detach: attachment.detach
288
288
  };
289
289
  });
290
- return Service87.of({
290
+ return Service16.of({
291
291
  list,
292
292
  get,
293
293
  create,
@@ -304,17 +304,17 @@ var makeLayer = (options = {}) => Layer.effect(Service87, Effect.gen(function* (
304
304
  attach
305
305
  });
306
306
  }));
307
- var layer27 = makeLayer();
308
- var configured11 = (options) => makeGlobalNode({
309
- service: Service87,
310
- layer: options === undefined ? layer27 : makeLayer(options),
307
+ var layer9 = makeLayer();
308
+ var configured2 = (options) => makeGlobalNode({
309
+ service: Service16,
310
+ layer: options === undefined ? layer9 : makeLayer(options),
311
311
  deps: [node92, Global.node]
312
312
  });
313
- var node90 = configured11();
313
+ var node19 = configured2();
314
314
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
315
315
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
316
- var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
317
- var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
316
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
317
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
318
318
  function toInfo(value) {
319
319
  const status = value.lifecycle.status;
320
320
  return {
@@ -347,4 +347,4 @@ function fromID(value) {
347
347
  return parsed;
348
348
  }
349
349
 
350
- export { Options7, UnavailableError5, NotFoundError14, InvalidCwdError2, UnsupportedError2, Service87, layer27, configured11, node90, exports_persistent_pty, Handoff2, available4 };
350
+ export { Options2, UnavailableError2, NotFoundError3, InvalidCwdError2, UnsupportedError2, Service16, layer9, configured2, node19, exports_persistent_pty, Handoff2, available3 };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./tool-output-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./tool-output-2n444ktb.js";
7
+ } from "./tool-output-nv2c5e9q.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -2,11 +2,11 @@ import {
2
2
  ephemeral2,
3
3
  Service89,
4
4
  node92
5
- } from "./tool-output-v093k11a.js";
5
+ } from "./tool-output-qs0v2njn.js";
6
6
  import {
7
- Service82,
8
- node85
9
- } from "./tool-output-4seebxp0.js";
7
+ Service78,
8
+ node80
9
+ } from "./tool-output-eck7g38n.js";
10
10
  import {
11
11
  __export
12
12
  } from "./tool-output-9rqn6x4v.js";
@@ -16,14 +16,14 @@ var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event19,
19
+ Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service81,
22
+ Service: () => Service75,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node84,
26
- resolve: () => resolve3
25
+ node: () => node77,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service81 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service75 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event19 = {
51
+ var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service81, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service82;
84
+ const kv = yield* Service78;
85
85
  const bus = yield* Service89;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event19.Updated, {}, { global: true });
116
+ yield* bus.publish(Event15.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service81.of({
119
+ return Service75.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event19.Updated, {}, { global: true });
132
+ yield* bus.publish(Event15.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event19.Updated, {}, { global: true });
147
+ yield* bus.publish(Event15.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node84 = makeGlobalNode({ service: Service81, layer, deps: [httpClient, node85, node92] });
160
+ var node77 = makeGlobalNode({ service: Service75, layer, deps: [httpClient, node80, node92] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service81, Event19, inspect2, resolve3, node84, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service75, Event15, inspect2, resolve4, node77, exports_wellknown };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./tool-output-ngc4k3z1.js";
4
+ } from "./tool-output-7jewgrz3.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service89,
8
8
  node92
9
- } from "./tool-output-v093k11a.js";
9
+ } from "./tool-output-qs0v2njn.js";
10
10
  import {
11
11
  llmClient2
12
12
  } from "./tool-output-0ma9gw4f.js";
@@ -15,15 +15,15 @@ import {
15
15
  } from "./tool-output-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./tool-output-wqszm3cq.js";
18
+ } from "./tool-output-vx8z5gpr.js";
19
19
  import {
20
- Service70,
21
- node73
22
- } from "./tool-output-82351en7.js";
20
+ Service69,
21
+ node71
22
+ } from "./tool-output-e2cspmt5.js";
23
23
  import {
24
- Service27,
25
- node29
26
- } from "./tool-output-8zfy3skd.js";
24
+ Service32,
25
+ node35
26
+ } from "./tool-output-20f8tgrs.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: () => Service11,
38
+ Service: () => Service7,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer8,
42
- node: () => node13
42
+ node: () => node9
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
@@ -51,7 +51,7 @@ 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 Service11 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service7 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 messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer8 = Layer.effect(Service11, Effect.gen(function* () {
75
+ var layer8 = Layer.effect(Service7, Effect.gen(function* () {
76
76
  const bus = yield* Service89;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service27;
79
- const store = yield* Service70;
78
+ const context = yield* Service32;
79
+ const store = yield* Service69;
80
80
  const db = (yield* Service90).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -97,8 +97,6 @@ var layer8 = Layer.effect(Service11, Effect.gen(function* () {
97
97
  if (prepared.event.result !== undefined)
98
98
  return prepared.event.result;
99
99
  yield* llm.stream(prepared.request, prepared.options).pipe(Stream.runForEach((event) => {
100
- if (LLMEvent.is.providerError(event))
101
- failed = true;
102
100
  if (LLMEvent.is.textDelta(event))
103
101
  chunks.push(event.text);
104
102
  if (LLMEvent.is.stepFinish(event)) {
@@ -160,12 +158,12 @@ Recent conversation:
160
158
  title: truncate(title)
161
159
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
162
160
  });
163
- return Service11.of({ generate });
161
+ return Service7.of({ generate });
164
162
  }));
165
- var node13 = makeLocationNode({
166
- service: Service11,
163
+ var node9 = makeLocationNode({
164
+ service: Service7,
167
165
  layer: layer8,
168
- deps: [node92, llmClient2, node29, node73, node93]
166
+ deps: [node92, llmClient2, node35, node71, node93]
169
167
  });
170
168
 
171
- export { Service11, isUntitled2, layer8, node13, exports_title };
169
+ export { Service7, isUntitled2, layer8, node9, exports_title };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service90
3
- } from "./tool-output-ngc4k3z1.js";
3
+ } from "./tool-output-7jewgrz3.js";
4
4
  import {
5
5
  Service89
6
- } from "./tool-output-v093k11a.js";
6
+ } from "./tool-output-qs0v2njn.js";
7
7
  import {
8
- Service46
9
- } from "./tool-output-ra34yqmw.js";
8
+ Service64
9
+ } from "./tool-output-ag4egyv9.js";
10
10
  import {
11
11
  userNotification2
12
12
  } from "./tool-output-89287pr7.js";
@@ -20,34 +20,34 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./tool-output-530xg6vw.js";
23
+ } from "./tool-output-s4kyhetj.js";
24
24
  import {
25
25
  SessionEvent2
26
26
  } from "./tool-output-ec1grn59.js";
27
27
  import {
28
- Service70
29
- } from "./tool-output-82351en7.js";
28
+ Service69
29
+ } from "./tool-output-e2cspmt5.js";
30
30
  import {
31
31
  SyntheticPayload2,
32
- Service45
33
- } from "./tool-output-qq4f8yjf.js";
32
+ Service63
33
+ } from "./tool-output-wfmpece2.js";
34
34
  import {
35
- Service43
36
- } from "./tool-output-bzrt1caw.js";
35
+ Service61
36
+ } from "./tool-output-76293m8w.js";
37
37
  import {
38
38
  prepare2
39
- } from "./tool-output-qxa8694e.js";
39
+ } from "./tool-output-mbqn2nbf.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./tool-output-q1ev5fjc.js";
44
+ } from "./tool-output-69mqj339.js";
45
45
  import {
46
46
  start4
47
- } from "./tool-output-ex8kn217.js";
47
+ } from "./tool-output-m17rt52q.js";
48
48
  import {
49
49
  get4
50
- } from "./tool-output-yb225m05.js";
50
+ } from "./tool-output-0g084y6g.js";
51
51
  import {
52
52
  __export
53
53
  } from "./tool-output-9rqn6x4v.js";
@@ -64,10 +64,10 @@ import { FSUtil } from "@opencode/util/fs-util";
64
64
  var make23 = Effect.fn("Session.make")(function* () {
65
65
  const bus = yield* Service89;
66
66
  const database = yield* Service90;
67
- const store = yield* Service70;
68
- const instances = yield* Service46;
69
- const execution = yield* Service43;
70
- const admission = yield* Service45;
67
+ const store = yield* Service69;
68
+ const instances = yield* Service64;
69
+ const execution = yield* Service61;
70
+ const admission = yield* Service63;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -164,7 +164,7 @@ var make23 = Effect.fn("Session.make")(function* () {
164
164
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
165
165
  const session = yield* get(sessionID);
166
166
  const running = yield* Effect.gen(function* () {
167
- const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service46, instances), Effect.tapError((error) => synthetic(sessionID, {
167
+ const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service64, instances), Effect.tapError((error) => synthetic(sessionID, {
168
168
  text: `User shell command failed to start:
169
169
  ${input.command}
170
170
 
@@ -193,7 +193,7 @@ ${error.message}`,
193
193
  });
194
194
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
195
195
  const session = yield* get(sessionID);
196
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service46, instances));
196
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service64, instances));
197
197
  yield* bus.publish(SessionEvent2.Skill.Activated, {
198
198
  sessionID,
199
199
  id: skill.id,
@@ -250,13 +250,13 @@ ${error.message}`,
250
250
  const session = yield* get(sessionID);
251
251
  if (yield* execution.isActive(sessionID))
252
252
  return yield* new BusyError2({ sessionID });
253
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service90, database), Effect.provideService(Service89, bus));
253
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service64, instances), Effect.provideService(Service90, database), Effect.provideService(Service89, bus));
254
254
  });
255
255
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- yield* clear2(session).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service89, bus));
259
+ yield* clear2(session).pipe(Effect.provideService(Service64, instances), Effect.provideService(Service89, bus));
260
260
  return yield* execution.wake(sessionID);
261
261
  });
262
262
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service72
4
- } from "./tool-output-t6vp9y58.js";
3
+ Service73
4
+ } from "./tool-output-nzm9kpg0.js";
5
5
  import {
6
- Service88
7
- } from "./tool-output-dcbgjmsj.js";
6
+ Service52
7
+ } from "./tool-output-34mdyaah.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./tool-output-hpg1pkwy.js";
@@ -13,18 +13,18 @@ import {
13
13
  } from "./tool-output-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
- var exports_shell2 = {};
17
- __export(exports_shell2, {
18
- ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin38
16
+ var exports_shell = {};
17
+ __export(exports_shell, {
18
+ ConfigShellPlugin: () => exports_shell,
19
+ Plugin: () => Plugin23
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin38 = define({
23
+ var Plugin23 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service72;
27
- const shell = yield* Service88;
26
+ const config = yield* Service73;
27
+ const shell = yield* Service52;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin38 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin38, exports_shell2 };
37
+ export { Plugin23, exports_shell };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service89
3
- } from "./tool-output-v093k11a.js";
3
+ } from "./tool-output-qs0v2njn.js";
4
4
  import {
5
- ID20,
6
- Event18,
7
- Service79
8
- } from "./tool-output-w6zbx7sx.js";
5
+ ID19,
6
+ Event19,
7
+ Service84
8
+ } from "./tool-output-15x6q7ay.js";
9
9
 
10
10
  // src/plugin/provider/credential-settings.ts
11
11
  import { Effect, Stream } from "effect";
12
12
  var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
13
- const credentials = yield* Service79;
13
+ const credentials = yield* Service84;
14
14
  const bus = yield* Service89;
15
15
  const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
16
16
  const connection = yield* ctx.integration.connection.active(integrationID);
17
- const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
17
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
18
18
  return stored ? select(stored.value) : {};
19
19
  });
20
20
  const current = { settings: yield* load() };
21
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => Effect.gen(function* () {
21
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => Effect.gen(function* () {
22
22
  const next = yield* load();
23
23
  if (JSON.stringify(next) === JSON.stringify(current.settings))
24
24
  return;