@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
@@ -15,13 +15,13 @@ import {
15
15
  makeMemoryDriver2
16
16
  } from "./tool-output-twssxy5n.js";
17
17
  import {
18
- Service83,
19
- node86
20
- } from "./tool-output-7ns7jg7q.js";
18
+ Service85,
19
+ node88
20
+ } from "./tool-output-4q33662b.js";
21
21
  import {
22
- Service61,
23
- node63
24
- } from "./tool-output-r11wa1x2.js";
22
+ Service59,
23
+ node61
24
+ } from "./tool-output-wk8jtf2z.js";
25
25
  import {
26
26
  __export
27
27
  } from "./tool-output-9rqn6x4v.js";
@@ -30,8 +30,8 @@ import {
30
30
  var exports_environment2 = {};
31
31
  __export(exports_environment2, {
32
32
  EnvironmentService: () => exports_environment2,
33
- Service: () => Service60,
34
- node: () => node62
33
+ Service: () => Service58,
34
+ node: () => node60
35
35
  });
36
36
 
37
37
  // src/environment/index.ts
@@ -40,14 +40,14 @@ __export(exports_environment3, {
40
40
  Environment: () => exports_environment3,
41
41
  Failed: () => Failed2,
42
42
  NotFound: () => NotFound3,
43
- Service: () => Service60,
43
+ Service: () => Service58,
44
44
  WrongKind: () => WrongKind2,
45
45
  execDefaults: () => execDefaults2,
46
46
  exists: () => exists2,
47
47
  makeFiles: () => makeFiles2,
48
48
  makeLocalDriver: () => makeLocalDriver2,
49
49
  makeMemoryDriver: () => makeMemoryDriver2,
50
- node: () => node62,
50
+ node: () => node60,
51
51
  typeFollowing: () => typeFollowing2
52
52
  });
53
53
 
@@ -63,19 +63,19 @@ var makeFiles2 = (driver) => ({
63
63
  });
64
64
 
65
65
  // src/environment/environment.ts
66
- class Service60 extends Context.Service()("@opencode/Environment") {
66
+ class Service58 extends Context.Service()("@opencode/Environment") {
67
67
  }
68
- var layer = Layer.effect(Service60, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
69
69
  const spawner = yield* ChildProcessSpawner;
70
- const location = yield* Service83;
71
- const workspace = yield* Service61;
70
+ const location = yield* Service85;
71
+ const workspace = yield* Service59;
72
72
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
73
- return Service60.of({ files: makeFiles2(driver), spawner: driver.spawner });
73
+ return Service58.of({ files: makeFiles2(driver), spawner: driver.spawner });
74
74
  }));
75
- var node62 = makeLocationNode({
76
- service: Service60,
75
+ var node60 = makeLocationNode({
76
+ service: Service58,
77
77
  layer,
78
- deps: [CrossSpawnSpawner.node, node86, node63]
78
+ deps: [CrossSpawnSpawner.node, node88, node61]
79
79
  });
80
80
 
81
- export { Service60, node62, exports_environment2, makeFiles2, exports_environment3 };
81
+ export { Service58, node60, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service46
3
- } from "./tool-output-ra34yqmw.js";
2
+ Service64
3
+ } from "./tool-output-ag4egyv9.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./tool-output-6zjm2phc.js";
6
+ } from "./tool-output-ezna1kdx.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./tool-output-530xg6vw.js";
9
+ } from "./tool-output-s4kyhetj.js";
10
10
  import {
11
- Service38
12
- } from "./tool-output-bph1244c.js";
11
+ Service50
12
+ } from "./tool-output-fjxgnb22.js";
13
13
  import {
14
14
  __export
15
15
  } from "./tool-output-9rqn6x4v.js";
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service46;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
25
+ const instances = yield* Service64;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service83,
3
- node86
4
- } from "./tool-output-7ns7jg7q.js";
2
+ Service85,
3
+ node88
4
+ } from "./tool-output-4q33662b.js";
5
5
  import {
6
- Key4,
7
- make32,
6
+ Key3,
7
+ make29,
8
8
  combine2
9
- } from "./tool-output-n7d48jjh.js";
9
+ } from "./tool-output-dxsywhez.js";
10
10
  import {
11
11
  __export
12
12
  } from "./tool-output-9rqn6x4v.js";
@@ -15,21 +15,21 @@ import {
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service29,
19
- node: () => node31
18
+ Service: () => Service33,
19
+ node: () => node36
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service29, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service83;
29
- return Service29.of({
28
+ const location = yield* Service85;
29
+ return Service33.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make32({
32
- key: Key4.make("core/date"),
31
+ make29({
32
+ key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
35
35
  render: {
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make32({
41
- key: Key4.make("core/environment"),
40
+ make29({
41
+ key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
44
44
  "<env>",
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node31 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node86] });
63
+ var node36 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node88] });
64
64
 
65
- export { Service29, node31, exports_builtins };
65
+ export { Service33, node36, exports_builtins };
@@ -1,43 +1,43 @@
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
- Service83,
7
- node86
8
- } from "./tool-output-7ns7jg7q.js";
6
+ Service85,
7
+ node88
8
+ } from "./tool-output-4q33662b.js";
9
9
  import {
10
- Service60,
11
- node62
12
- } from "./tool-output-n0nkwf14.js";
10
+ Service58,
11
+ node60
12
+ } from "./tool-output-0f7cqh9y.js";
13
13
  import {
14
14
  cleanup3
15
15
  } from "./tool-output-tczq8hjw.js";
16
16
  import {
17
- Service88,
17
+ Service52,
18
18
  args2,
19
- node91
20
- } from "./tool-output-dcbgjmsj.js";
19
+ node54
20
+ } from "./tool-output-34mdyaah.js";
21
21
  import {
22
22
  Service71,
23
- node74
24
- } from "./tool-output-yngvyh0w.js";
23
+ node73
24
+ } from "./tool-output-d34c0f98.js";
25
25
  import {
26
- Service42,
27
- node44
28
- } from "./tool-output-2s709x84.js";
26
+ Service49,
27
+ node51
28
+ } from "./tool-output-3wyhrqfb.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./tool-output-2n444ktb.js";
31
+ } from "./tool-output-nv2c5e9q.js";
32
32
  import {
33
33
  latest2,
34
- Service72,
34
+ Service73,
35
35
  node75
36
- } from "./tool-output-t6vp9y58.js";
36
+ } from "./tool-output-nzm9kpg0.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./tool-output-x87ytaxf.js";
40
+ } from "./tool-output-10xvpzbz.js";
41
41
  import {
42
42
  __export
43
43
  } from "./tool-output-9rqn6x4v.js";
@@ -46,12 +46,12 @@ import {
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError7,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service41,
51
+ Service: () => Service48,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node43
54
+ node: () => node50
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service41 extends Context.Service()("@opencode/Shell") {
74
+ class Service48 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service41, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
91
91
  const bus = yield* Service89;
92
- const location = yield* Service83;
92
+ const location = yield* Service85;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service88;
95
- const environment = yield* Service60;
94
+ const shell = yield* Service52;
95
+ const environment = yield* Service58;
96
96
  const hooks = yield* Service71;
97
- const environments = yield* Service42;
98
- const config = yield* Service72;
97
+ const environments = yield* Service49;
98
+ const config = yield* Service73;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError5({ id });
119
+ return yield* new NotFoundError7({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError7({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service41.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service48.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node43 = makeLocationNode({
342
- service: Service41,
341
+ var node50 = makeLocationNode({
342
+ service: Service48,
343
343
  layer: layer(),
344
344
  deps: [
345
345
  node92,
346
- node86,
346
+ node88,
347
347
  Global.node,
348
- node91,
349
- node62,
350
- node74,
351
- node44,
348
+ node54,
349
+ node60,
350
+ node73,
351
+ node51,
352
352
  node75,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service41, cleanup2, node43, exports_shell4 };
357
+ export { NotFoundError7, RETENTION2, DIRECTORY2, Service48, cleanup2, node50, exports_shell4 };
@@ -6,11 +6,11 @@ import {
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./tool-output-bfhbvqd5.js";
9
+ } from "./tool-output-ybr9qycb.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./tool-output-18a09hjh.js";
13
+ } from "./tool-output-h5x6jdbe.js";
14
14
  import {
15
15
  __export
16
16
  } from "./tool-output-9rqn6x4v.js";
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service64,
18
+ Service: () => Service79,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node67
21
+ node: () => node82
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service64 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service79 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service64, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service64.of({
124
+ return Service79.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node67 = makeLocationNode({
143
- service: Service64,
142
+ var node82 = makeLocationNode({
143
+ service: Service79,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service64, node67, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service79, node82, exports_tool_output2 };
@@ -1,11 +1,11 @@
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
  Service89,
7
7
  node92
8
- } from "./tool-output-v093k11a.js";
8
+ } from "./tool-output-qs0v2njn.js";
9
9
  import {
10
10
  CredentialTable2
11
11
  } from "./tool-output-pknna89w.js";
@@ -20,15 +20,15 @@ import {
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
23
+ Event: () => Event19,
24
24
  External: () => External2,
25
- ID: () => ID20,
26
- Info: () => Info29,
27
- Key: () => Key3,
25
+ ID: () => ID19,
26
+ Info: () => Info28,
27
+ Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service79,
29
+ Service: () => Service84,
30
30
  Value: () => Value2,
31
- node: () => node82
31
+ node: () => node87
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
39
  import { EffectFlock } from "@opencode/util/effect-flock";
40
- var ID20 = Credential.ID;
40
+ var ID19 = Credential.ID;
41
41
  var OAuth3 = Credential.OAuth;
42
- var Key3 = Credential.Key;
42
+ var Key4 = Credential.Key;
43
43
  var External2 = Credential.External;
44
44
  var Value2 = Credential.Value;
45
- var Event18 = Credential.Event;
45
+ var Event19 = Credential.Event;
46
46
 
47
- class Info29 extends Schema.Class("Credential.Info")({
48
- id: ID20,
47
+ class Info28 extends Schema.Class("Credential.Info")({
48
+ id: ID19,
49
49
  integrationID: Integration.ID,
50
50
  label: Schema.String,
51
51
  value: Value2
52
52
  }) {
53
53
  }
54
54
 
55
- class Service79 extends Context.Service()("@opencode/Credential") {
55
+ class Service84 extends Context.Service()("@opencode/Credential") {
56
56
  }
57
- var layer = Layer.effect(Service79, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service84, Effect.gen(function* () {
58
58
  const db = (yield* Service90).db;
59
59
  const bus = yield* Service89;
60
60
  const flock = yield* EffectFlock.Service;
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
64
64
  const stored = (row) => {
65
65
  if (!row.integration_id)
66
66
  return;
67
- return new Info29({
67
+ return new Info28({
68
68
  id: row.id,
69
69
  integrationID: row.integration_id,
70
70
  label: row.label,
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
75
75
  const credential = stored(row);
76
76
  return credential ? [credential] : [];
77
77
  });
78
- return Service79.of({
78
+ return Service84.of({
79
79
  lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
80
80
  const current = pending.get(id);
81
81
  if (current)
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
91
91
  return row ? stored(row) : undefined;
92
92
  }),
93
93
  create: Effect.fn("Credential.create")(function* (input) {
94
- const credential = new Info29({
95
- id: input.id ?? ID20.create(),
94
+ const credential = new Info28({
95
+ id: input.id ?? ID19.create(),
96
96
  integrationID: input.integrationID,
97
97
  label: input.label ?? "default",
98
98
  value: input.value
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
123
123
  type: credential.value.type,
124
124
  active: activated
125
125
  });
126
- yield* bus.publish(Event18.Updated, {}, { global: true });
126
+ yield* bus.publish(Event19.Updated, {}, { global: true });
127
127
  if (activated)
128
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
128
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
129
129
  return credential;
130
130
  }),
131
131
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
145
145
  })), Effect.orDie);
146
146
  if (integrationID) {
147
147
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
148
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
148
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
149
149
  }
150
150
  }),
151
151
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
177
177
  labelChanged: updates.label !== undefined && updates.label !== credential.label
178
178
  });
179
179
  if (updates.label !== undefined && updates.label !== credential.label)
180
- yield* bus.publish(Event18.Updated, {}, { global: true });
180
+ yield* bus.publish(Event19.Updated, {}, { global: true });
181
181
  }),
182
182
  remove: Effect.fn("Credential.remove")(function* (id) {
183
183
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
210
210
  active: removed.switched,
211
211
  ...removed.switched ? { replacementID: removed.credentialID } : {}
212
212
  });
213
- yield* bus.publish(Event18.Updated, {}, { global: true });
213
+ yield* bus.publish(Event19.Updated, {}, { global: true });
214
214
  if (removed.switched)
215
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
215
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
216
216
  })
217
217
  });
218
218
  }));
219
- var node82 = makeGlobalNode({ service: Service79, layer, deps: [node93, node92, EffectFlock.node] });
219
+ var node87 = makeGlobalNode({ service: Service84, layer, deps: [node93, node92, EffectFlock.node] });
220
220
 
221
- export { ID20, OAuth3, Key3, External2, Value2, Event18, Info29, Service79, node82, exports_credential };
221
+ export { ID19, OAuth3, Key4, External2, Value2, Event19, Info28, Service84, node87, exports_credential };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node45
5
- } from "./tool-output-ys2kpqh4.js";
4
+ node81
5
+ } from "./tool-output-wy9q57d6.js";
6
6
  import {
7
7
  join2
8
- } from "./tool-output-n7d48jjh.js";
8
+ } from "./tool-output-dxsywhez.js";
9
9
  import {
10
10
  Service71,
11
- node74
12
- } from "./tool-output-yngvyh0w.js";
11
+ node73
12
+ } from "./tool-output-d34c0f98.js";
13
13
  import {
14
14
  DeclinedError2
15
- } from "./tool-output-4p9gmmpp.js";
15
+ } from "./tool-output-rfwkesfc.js";
16
16
  import {
17
17
  CancelledError2
18
- } from "./tool-output-tj8zavg0.js";
18
+ } from "./tool-output-ev3m9bcx.js";
19
19
  import {
20
20
  Error2
21
- } from "./tool-output-8s0gjrq3.js";
21
+ } from "./tool-output-efk301g8.js";
22
22
  import {
23
23
  get5
24
24
  } from "./tool-output-3nnrz6f6.js";
25
25
  import {
26
26
  Service37,
27
- node40
28
- } from "./tool-output-sth9zcg7.js";
27
+ node39
28
+ } from "./tool-output-6y88akds.js";
29
29
  import {
30
- make25
31
- } from "./tool-output-wvr8xscb.js";
30
+ make24
31
+ } from "./tool-output-79k544d0.js";
32
32
  import {
33
33
  toLLMMessages2
34
- } from "./tool-output-xf3q1v2n.js";
34
+ } from "./tool-output-qpmemebt.js";
35
35
  import {
36
36
  __export
37
37
  } from "./tool-output-9rqn6x4v.js";
@@ -43,7 +43,7 @@ __export(exports_model_request, {
43
43
  SessionModelRequest: () => exports_model_request,
44
44
  baseTranscript: () => baseTranscript2,
45
45
  boundImages: () => boundImages2,
46
- layer: () => layer16,
46
+ layer: () => layer14,
47
47
  node: () => node37,
48
48
  outputLimit: () => outputLimit2,
49
49
  unsupportedParts: () => unsupportedParts2
@@ -53,7 +53,6 @@ import {
53
53
  GenerationOptions,
54
54
  HttpOptions,
55
55
  LanguageModel,
56
- LLMRequest,
57
56
  Message,
58
57
  SystemPart
59
58
  } from "@opencode/ai/effect";
@@ -81,7 +80,7 @@ var baseTranscript2 = (input) => {
81
80
  return {
82
81
  providerMetadataKey,
83
82
  system: [
84
- SystemPart.make(input.agent.system ? input.agent.system : make25(input.tools.definitions.map((tool) => tool.name))),
83
+ SystemPart.make(input.agent.system ? input.agent.system : make24(input.tools.definitions.map((tool) => tool.name))),
85
84
  {
86
85
  ...SystemPart.make(join2(input.initial)),
87
86
  metadata: { experimental: { instructions: input.initial } }
@@ -167,7 +166,7 @@ var boundImages2 = (messages) => {
167
166
 
168
167
  class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
169
168
  }
170
- var layer16 = Layer.effect(Service35, Effect.gen(function* () {
169
+ var layer14 = Layer.effect(Service35, Effect.gen(function* () {
171
170
  const hooks = yield* Service71;
172
171
  const transport = yield* Service37;
173
172
  const app = yield* Metadata2;
@@ -227,13 +226,14 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
227
226
  headers: { ...base.http?.headers }
228
227
  });
229
228
  const route = modelHook.baseURL !== undefined && modelHook.baseURL !== baseURL ? base.model.route.with({ endpoint: { baseURL: modelHook.baseURL } }) : base.model.route;
230
- const request = LLMRequest.update(base, {
229
+ const request = {
230
+ ...base,
231
231
  model: route === base.model.route ? base.model : LanguageModel.update(base.model, { route }),
232
232
  http: new HttpOptions({
233
233
  ...base.http,
234
234
  headers: Object.keys(modelHook.headers).length === 0 ? undefined : modelHook.headers
235
235
  })
236
- });
236
+ };
237
237
  const hasHttpHooks = (yield* hooks.has("session", "http.request", model.ref.providerID)) || (yield* hooks.has("session", "http.response", model.ref.providerID));
238
238
  const http = hasHttpHooks ? (req, handler) => Effect.gen(function* () {
239
239
  const request = yield* HttpClientRequest.toWeb(req);
@@ -277,8 +277,8 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
277
277
  }));
278
278
  var node37 = makeLocationNode({
279
279
  service: Service35,
280
- layer: layer16,
281
- deps: [node74, node40, node45]
280
+ layer: layer14,
281
+ deps: [node73, node39, node81]
282
282
  });
283
283
 
284
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service35, layer16, node37, exports_model_request };
284
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service35, layer14, node37, exports_model_request };