@opencode/core 0.0.0-dev-21590 → 0.0.0-dev-21599

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{reference-73hhvkv7.js → tool-output-02vyapm1.js} +4 -4
  8. package/dist/chunks/{reference-wy4ffk9y.js → tool-output-02yfng3f.js} +5 -5
  9. package/dist/chunks/{reference-034tev2y.js → tool-output-034tev2y.js} +2 -2
  10. package/dist/chunks/{reference-rjr2dewt.js → tool-output-03wdg0rt.js} +21 -21
  11. package/dist/chunks/{reference-997dsrmm.js → tool-output-0gka690g.js} +4 -4
  12. package/dist/chunks/{reference-7e442h9n.js → tool-output-0gt8ey1a.js} +125 -53
  13. package/dist/chunks/{reference-cgx3zxj6.js → tool-output-0r009c13.js} +12 -12
  14. package/dist/chunks/{reference-dgaww69h.js → tool-output-0yxbjwbd.js} +29 -29
  15. package/dist/chunks/{reference-69vhhgbf.js → tool-output-10y9v1vv.js} +14 -14
  16. package/dist/chunks/{reference-br28babr.js → tool-output-14k2p94z.js} +6 -6
  17. package/dist/chunks/{reference-ga0jheq7.js → tool-output-14zr9vj7.js} +15 -15
  18. package/dist/chunks/{reference-g35eyyjw.js → tool-output-15engxec.js} +47 -47
  19. package/dist/chunks/{reference-1m5v0ayp.js → tool-output-1bsnzyrd.js} +20 -20
  20. package/dist/chunks/{reference-1ep2p91f.js → tool-output-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{reference-18sg5j62.js → tool-output-1vkp420h.js} +12 -12
  22. package/dist/chunks/{reference-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{reference-p7vhpwh8.js → tool-output-1yq9hg58.js} +5 -5
  24. package/dist/chunks/{reference-qp86s7ck.js → tool-output-20fcarzd.js} +3 -3
  25. package/dist/chunks/{reference-ev4x93rx.js → tool-output-20nwq5j7.js} +10 -10
  26. package/dist/chunks/{reference-331p6xjh.js → tool-output-27bs79w9.js} +2 -2
  27. package/dist/chunks/{reference-wxd8q9mp.js → tool-output-2e1v5rzb.js} +11 -11
  28. package/dist/chunks/{reference-gphsqkvp.js → tool-output-2f4xewgk.js} +16 -16
  29. package/dist/chunks/{reference-c55tr7hb.js → tool-output-2gc5wwsr.js} +19 -19
  30. package/dist/chunks/{reference-2z1j29yd.js → tool-output-2z1j29yd.js} +1 -1
  31. package/dist/chunks/{reference-s12jh10e.js → tool-output-31wms35x.js} +8 -8
  32. package/dist/chunks/{reference-76jxzvwp.js → tool-output-33fnmx25.js} +13 -13
  33. package/dist/chunks/{reference-g32wv891.js → tool-output-3ae58x6v.js} +45 -45
  34. package/dist/chunks/{reference-c62eb685.js → tool-output-3aracdxg.js} +34 -34
  35. package/dist/chunks/{reference-b792txny.js → tool-output-3f9f2kqk.js} +14 -14
  36. package/dist/chunks/{reference-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{reference-4jzj6ttp.js → tool-output-3nn70jee.js} +19 -19
  38. package/dist/chunks/{reference-02szp9gm.js → tool-output-3w0cf4vg.js} +9 -9
  39. package/dist/chunks/{reference-91tbfg8t.js → tool-output-3wfjj3xn.js} +18 -18
  40. package/dist/chunks/{reference-5enarcya.js → tool-output-40za9wsf.js} +6 -6
  41. package/dist/chunks/{reference-jk7ax7q1.js → tool-output-45fm8dkf.js} +49 -49
  42. package/dist/chunks/{reference-z8bkf37c.js → tool-output-4cmd85k7.js} +23 -24
  43. package/dist/chunks/{reference-pzjxx5kj.js → tool-output-4t0ptnzh.js} +1 -1
  44. package/dist/chunks/{reference-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
  45. package/dist/chunks/{reference-4xvmh7wp.js → tool-output-4xvmh7wp.js} +3 -3
  46. package/dist/chunks/{reference-gb7emm0a.js → tool-output-4z3w2m2c.js} +4 -4
  47. package/dist/chunks/{reference-hh0p0dz0.js → tool-output-52fzkx6b.js} +24 -24
  48. package/dist/chunks/{reference-ygavzdh1.js → tool-output-56zd4020.js} +40 -40
  49. package/dist/chunks/{reference-cnjhsh0b.js → tool-output-575qvmdv.js} +4 -4
  50. package/dist/chunks/{reference-3rsg1p7p.js → tool-output-5cv37nj8.js} +19 -19
  51. package/dist/chunks/{reference-69dckygt.js → tool-output-5epaxwsw.js} +4 -4
  52. package/dist/chunks/{reference-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{reference-7784vw5s.js → tool-output-5ndmwyx5.js} +32 -32
  54. package/dist/chunks/{reference-dj0vzv63.js → tool-output-6dhf79kj.js} +23 -23
  55. package/dist/chunks/tool-output-6e65pr7w.js +257 -0
  56. package/dist/chunks/{reference-6esdw8yj.js → tool-output-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{reference-e3tyzyg9.js → tool-output-6npt4pta.js} +11 -11
  58. package/dist/chunks/{reference-6pjqjmy2.js → tool-output-6pjqjmy2.js} +1 -1
  59. package/dist/chunks/{reference-ctewqk08.js → tool-output-6v3q5vvj.js} +12 -12
  60. package/dist/chunks/{reference-szcgc7h4.js → tool-output-6y263vp8.js} +5 -5
  61. package/dist/chunks/{reference-gqv6dref.js → tool-output-732r365v.js} +5 -5
  62. package/dist/chunks/{reference-gth7ey8h.js → tool-output-75kq81p9.js} +28 -28
  63. package/dist/chunks/{reference-w8qtt4th.js → tool-output-76cb1hcw.js} +4 -4
  64. package/dist/chunks/{reference-49n54dn2.js → tool-output-7adgnzsg.js} +11 -11
  65. package/dist/chunks/{reference-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{reference-zz476xrp.js → tool-output-7ees5jkk.js} +17 -17
  67. package/dist/chunks/{reference-g5wz76jx.js → tool-output-7mrxhv66.js} +43 -43
  68. package/dist/chunks/{reference-2ga909q5.js → tool-output-7n9251cj.js} +23 -23
  69. package/dist/chunks/{reference-1hahx13g.js → tool-output-7nsfs16y.js} +195 -195
  70. package/dist/chunks/{reference-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
  71. package/dist/chunks/{reference-7mkh44ga.js → tool-output-86aqzbp9.js} +21 -21
  72. package/dist/chunks/{reference-dwwyec8z.js → tool-output-89sdcr2v.js} +6 -6
  73. package/dist/chunks/{reference-158tfn12.js → tool-output-8a38ne9n.js} +11 -11
  74. package/dist/chunks/{reference-22hmzxt9.js → tool-output-8d56qhxn.js} +30 -30
  75. package/dist/chunks/{reference-6mhdkm3r.js → tool-output-8gf3zxsg.js} +17 -17
  76. package/dist/chunks/{reference-392nsjvq.js → tool-output-8gtwayjs.js} +47 -47
  77. package/dist/chunks/{reference-3k4jc8v0.js → tool-output-8k8s1td8.js} +5 -5
  78. package/dist/chunks/{reference-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
  79. package/dist/chunks/{reference-9t2khtsw.js → tool-output-8ykqf5wm.js} +8 -8
  80. package/dist/chunks/{reference-e42petng.js → tool-output-8zqhaj5c.js} +13 -13
  81. package/dist/chunks/{reference-91rj84md.js → tool-output-91rj84md.js} +1 -1
  82. package/dist/chunks/{reference-ax04rzcv.js → tool-output-98pd45a3.js} +10 -10
  83. package/dist/chunks/{reference-998yhzzq.js → tool-output-998yhzzq.js} +3 -3
  84. package/dist/chunks/{reference-p0bn44dh.js → tool-output-9a6nh89z.js} +14 -14
  85. package/dist/chunks/{reference-9b28cy4d.js → tool-output-9b28cy4d.js} +2 -2
  86. package/dist/chunks/{reference-n17ttpw5.js → tool-output-9fk2bqmm.js} +6 -6
  87. package/dist/chunks/{reference-3zvjb0hd.js → tool-output-9g93d3f5.js} +21 -21
  88. package/dist/chunks/{reference-zwtk19q4.js → tool-output-9pqw3rfv.js} +19 -19
  89. package/dist/chunks/{reference-92at24ve.js → tool-output-9wgzwg7t.js} +34 -34
  90. package/dist/chunks/{reference-atxct68j.js → tool-output-abvderva.js} +55 -55
  91. package/dist/chunks/{reference-jxxeqwt8.js → tool-output-ad0mv7as.js} +6 -6
  92. package/dist/chunks/{reference-mqnjedcc.js → tool-output-agech8jz.js} +16 -16
  93. package/dist/chunks/{reference-nggn9d43.js → tool-output-aja4sf8e.js} +18 -18
  94. package/dist/chunks/{reference-t5jgkqc0.js → tool-output-at9rzsb2.js} +75 -70
  95. package/dist/chunks/{reference-qh6sbcd8.js → tool-output-awcmzese.js} +4 -4
  96. package/dist/chunks/{reference-jpfg3tzk.js → tool-output-axwvcc3s.js} +18 -18
  97. package/dist/chunks/{reference-ayjs7tqn.js → tool-output-ayjs7tqn.js} +2 -2
  98. package/dist/chunks/{reference-b0mv4wxm.js → tool-output-b0mv4wxm.js} +2 -2
  99. package/dist/chunks/{reference-btxxq5tt.js → tool-output-b0p0cccz.js} +28 -28
  100. package/dist/chunks/{reference-h85hk0jt.js → tool-output-b0v8jwaf.js} +5 -5
  101. package/dist/chunks/{reference-3tt1qkhr.js → tool-output-b29mbqx6.js} +5 -5
  102. package/dist/chunks/{reference-p1c1t367.js → tool-output-b3hcype2.js} +27 -27
  103. package/dist/chunks/{reference-b6vsg801.js → tool-output-b6vsg801.js} +2 -2
  104. package/dist/chunks/{reference-n72v8kyg.js → tool-output-bcq1fbbx.js} +23 -23
  105. package/dist/chunks/{reference-rt0txz63.js → tool-output-bgm817xr.js} +9 -9
  106. package/dist/chunks/{reference-bxmy050v.js → tool-output-bjvhwptd.js} +3 -3
  107. package/dist/chunks/{reference-8w3ybxxd.js → tool-output-bmrhpq87.js} +14 -14
  108. package/dist/chunks/{reference-sah69mkr.js → tool-output-bqwdyg2t.js} +9 -9
  109. package/dist/chunks/{reference-617zxnkf.js → tool-output-br3esf13.js} +4 -4
  110. package/dist/chunks/{reference-xd9cc171.js → tool-output-bstexjd6.js} +5 -5
  111. package/dist/chunks/{reference-35fm799j.js → tool-output-bwz2p6z2.js} +32 -32
  112. package/dist/chunks/{reference-dcqk33sb.js → tool-output-c0xk14mm.js} +18 -18
  113. package/dist/chunks/{reference-vfqfz9ng.js → tool-output-c46f3117.js} +11 -11
  114. package/dist/chunks/{reference-p0tsr9h6.js → tool-output-c6x7d2ts.js} +4 -4
  115. package/dist/chunks/{reference-mgc5ajq3.js → tool-output-cgs2kznv.js} +15 -15
  116. package/dist/chunks/{reference-xt1e9zqw.js → tool-output-ckekbsk5.js} +28 -28
  117. package/dist/chunks/{reference-mvx17366.js → tool-output-cky18ayb.js} +11 -11
  118. package/dist/chunks/{reference-mt84etn8.js → tool-output-cpqed4zs.js} +3 -3
  119. package/dist/chunks/{reference-hp05sb1w.js → tool-output-ctrm230j.js} +27 -27
  120. package/dist/chunks/{reference-6m8d80j4.js → tool-output-d3fzpcez.js} +10 -10
  121. package/dist/chunks/{reference-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
  122. package/dist/chunks/{reference-fm90g8ey.js → tool-output-dgmwqqqe.js} +7 -7
  123. package/dist/chunks/{reference-pc1v25hk.js → tool-output-dh62xe4r.js} +3 -3
  124. package/dist/chunks/{reference-6czmj677.js → tool-output-dk5xnaxx.js} +4 -4
  125. package/dist/chunks/{reference-57kxvcz1.js → tool-output-dmc9yb6t.js} +23 -23
  126. package/dist/chunks/{reference-gk1rk4s8.js → tool-output-dn2q7ewa.js} +7 -7
  127. package/dist/chunks/{reference-n6xp163e.js → tool-output-dr6kpnea.js} +17 -17
  128. package/dist/chunks/{reference-y8dt0ywh.js → tool-output-e1wc05en.js} +11 -11
  129. package/dist/chunks/{reference-17gtvps5.js → tool-output-e3148eb1.js} +21 -21
  130. package/dist/chunks/{reference-e834z07m.js → tool-output-e834z07m.js} +1 -1
  131. package/dist/chunks/{reference-p48hbk47.js → tool-output-e8nh79sb.js} +9 -9
  132. package/dist/chunks/{reference-585ybms8.js → tool-output-ebwz916e.js} +20 -20
  133. package/dist/chunks/{reference-14v17fgg.js → tool-output-eendxhec.js} +28 -28
  134. package/dist/chunks/{reference-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{reference-pnz1sqhe.js → tool-output-f13580fy.js} +1 -1
  136. package/dist/chunks/{reference-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
  137. package/dist/chunks/{reference-97q6z4z1.js → tool-output-fjd8d6hc.js} +20 -20
  138. package/dist/chunks/{reference-9rq4kxzz.js → tool-output-fvaebv5c.js} +26 -26
  139. package/dist/chunks/{reference-0h8y3ex8.js → tool-output-fznmdakp.js} +4 -4
  140. package/dist/chunks/{reference-2k6pc5wc.js → tool-output-g22673a8.js} +18 -18
  141. package/dist/chunks/{reference-g5h9c0rr.js → tool-output-g5h9c0rr.js} +2 -2
  142. package/dist/chunks/{reference-n6j3m873.js → tool-output-gc2w1p23.js} +17 -17
  143. package/dist/chunks/{reference-y70av53j.js → tool-output-gdvg1v0w.js} +28 -28
  144. package/dist/chunks/{reference-7jp0etre.js → tool-output-ggx4rb7k.js} +11 -11
  145. package/dist/chunks/{reference-c4mt52fx.js → tool-output-gh947223.js} +18 -18
  146. package/dist/chunks/{reference-gbc8mqyx.js → tool-output-gjpepzdv.js} +6 -6
  147. package/dist/chunks/{reference-aapktb4s.js → tool-output-gn6n2gww.js} +15 -15
  148. package/dist/chunks/{reference-h0wvm00t.js → tool-output-gry66kc0.js} +5 -5
  149. package/dist/chunks/{reference-dghpgdwh.js → tool-output-h0ndpbmn.js} +9 -9
  150. package/dist/chunks/{reference-2wjzf534.js → tool-output-h2tz44th.js} +13 -13
  151. package/dist/chunks/{reference-2vaegvqr.js → tool-output-h31pp8t3.js} +20 -20
  152. package/dist/chunks/{reference-4x43ze8b.js → tool-output-hcs2f452.js} +18 -18
  153. package/dist/chunks/{reference-7k3386r2.js → tool-output-hfpdjywt.js} +14 -14
  154. package/dist/chunks/{reference-zysxana2.js → tool-output-hr7bspm8.js} +50 -50
  155. package/dist/chunks/{reference-j113cymg.js → tool-output-j113cymg.js} +1 -1
  156. package/dist/chunks/{reference-c4y96v02.js → tool-output-j7gyfce7.js} +12 -12
  157. package/dist/chunks/{reference-e5dqjz6v.js → tool-output-jchrqzf6.js} +4 -4
  158. package/dist/chunks/{reference-v7s2kyj8.js → tool-output-jewpd055.js} +3 -3
  159. package/dist/chunks/{reference-8cn6bdr7.js → tool-output-jfxkbtd9.js} +4 -4
  160. package/dist/chunks/{reference-sp2pyba2.js → tool-output-jtp4xp8v.js} +7 -7
  161. package/dist/chunks/{reference-zwexphgd.js → tool-output-jv32aesp.js} +88 -88
  162. package/dist/chunks/{reference-yjptjaqs.js → tool-output-k175he82.js} +37 -37
  163. package/dist/chunks/{reference-dpydvgsc.js → tool-output-k5aja770.js} +8 -8
  164. package/dist/chunks/{reference-k814nvkf.js → tool-output-k814nvkf.js} +1 -1
  165. package/dist/chunks/{reference-dbs9f4d2.js → tool-output-k8kdgf5t.js} +175 -78
  166. package/dist/chunks/{reference-khz9qtbd.js → tool-output-k9qv649c.js} +19 -19
  167. package/dist/chunks/{reference-9xt3rwsk.js → tool-output-ka4dz7nq.js} +12 -12
  168. package/dist/chunks/{reference-ctya507c.js → tool-output-ke7xq34d.js} +5 -5
  169. package/dist/chunks/{reference-dv41yykm.js → tool-output-kebac8xz.js} +32 -32
  170. package/dist/chunks/{reference-enkpkfwx.js → tool-output-kmzgegqq.js} +8 -8
  171. package/dist/chunks/{reference-7cd2rmsc.js → tool-output-kp7p0dvh.js} +33 -33
  172. package/dist/chunks/{reference-82k6k4r9.js → tool-output-kxkx1fm5.js} +13 -13
  173. package/dist/chunks/{reference-s85z3cra.js → tool-output-ky596kc3.js} +4 -4
  174. package/dist/chunks/{reference-sparrdxh.js → tool-output-m0jsseqx.js} +32 -32
  175. package/dist/chunks/{reference-m1714858.js → tool-output-m1714858.js} +1 -1
  176. package/dist/chunks/{reference-xptgtj2n.js → tool-output-m9qp2phv.js} +5 -5
  177. package/dist/chunks/{reference-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{reference-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
  179. package/dist/chunks/{reference-mxej95nn.js → tool-output-md00hke5.js} +25 -25
  180. package/dist/chunks/{reference-xydhs8a8.js → tool-output-md8c097b.js} +30 -30
  181. package/dist/chunks/{reference-me5bcav6.js → tool-output-me5bcav6.js} +1 -1
  182. package/dist/chunks/{reference-1178vxht.js → tool-output-mfd4wsk8.js} +42 -42
  183. package/dist/chunks/{reference-c3cfh5w6.js → tool-output-mmkbt6v3.js} +9 -9
  184. package/dist/chunks/{reference-1zrn58qb.js → tool-output-mn7fc7ja.js} +15 -15
  185. package/dist/chunks/{reference-9t6kz4yn.js → tool-output-mpe6qr53.js} +8 -8
  186. package/dist/chunks/{reference-nkxa5wq0.js → tool-output-myfas7b5.js} +4 -4
  187. package/dist/chunks/{reference-n0p0277s.js → tool-output-n0p0277s.js} +1 -1
  188. package/dist/chunks/{reference-gt0jrv1m.js → tool-output-n8m4zwz8.js} +4 -4
  189. package/dist/chunks/{reference-bt6rz2kw.js → tool-output-n8vtaxca.js} +25 -25
  190. package/dist/chunks/{reference-nah043kf.js → tool-output-nah043kf.js} +1 -1
  191. package/dist/chunks/{reference-y06e3eb4.js → tool-output-nemq3kwn.js} +11 -11
  192. package/dist/chunks/{reference-fkdejkqx.js → tool-output-nh85g63h.js} +10 -10
  193. package/dist/chunks/{reference-cf1w38y2.js → tool-output-nhh83qbn.js} +45 -45
  194. package/dist/chunks/{reference-e93cazkx.js → tool-output-nkkejs0x.js} +13 -13
  195. package/dist/chunks/{reference-s0m4xskg.js → tool-output-nmjyhvat.js} +89 -89
  196. package/dist/chunks/{reference-z47ak11q.js → tool-output-npbfck1k.js} +3 -3
  197. package/dist/chunks/{reference-dyqd29rb.js → tool-output-nybszfb1.js} +13 -13
  198. package/dist/chunks/{reference-p015t6z3.js → tool-output-p015t6z3.js} +2 -2
  199. package/dist/chunks/{reference-5qapgh17.js → tool-output-p0wda9xt.js} +3 -3
  200. package/dist/chunks/{reference-bcb37r7z.js → tool-output-p1m96dps.js} +16 -16
  201. package/dist/chunks/{reference-zb9z236r.js → tool-output-p3hsmbes.js} +8 -8
  202. package/dist/chunks/{reference-f2jmt318.js → tool-output-pf90p5q7.js} +46 -46
  203. package/dist/chunks/{reference-pknna89w.js → tool-output-pknna89w.js} +1 -1
  204. package/dist/chunks/{reference-d0jwqxv7.js → tool-output-pqngf5gp.js} +37 -37
  205. package/dist/chunks/{reference-jt507tgk.js → tool-output-py28whss.js} +10 -10
  206. package/dist/chunks/{reference-0mfc0d68.js → tool-output-pycah8he.js} +35 -35
  207. package/dist/chunks/{reference-dy5an0j5.js → tool-output-q0x7bn0w.js} +5 -5
  208. package/dist/chunks/{reference-apd5jra7.js → tool-output-q46y00v4.js} +9 -9
  209. package/dist/chunks/{reference-mgrmgacb.js → tool-output-q4b3sjyf.js} +33 -33
  210. package/dist/chunks/{reference-spqp8scq.js → tool-output-q5zq6djh.js} +5 -5
  211. package/dist/chunks/tool-output-q8814pp6.js +26 -0
  212. package/dist/chunks/{reference-yhbnhfm6.js → tool-output-q9mdne05.js} +11 -11
  213. package/dist/chunks/{reference-q21p601r.js → tool-output-qf8mwm23.js} +6 -6
  214. package/dist/chunks/{reference-w70n3epg.js → tool-output-qfs9mmpn.js} +8 -8
  215. package/dist/chunks/{reference-qjgzc4b4.js → tool-output-qjgzc4b4.js} +1 -1
  216. package/dist/chunks/{reference-r0yr0wbs.js → tool-output-r0yr0wbs.js} +1 -1
  217. package/dist/chunks/{reference-yqtd0t4r.js → tool-output-r3b59dab.js} +17 -17
  218. package/dist/chunks/{reference-fyxzhex2.js → tool-output-r4tf9cx3.js} +12 -12
  219. package/dist/chunks/{reference-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{reference-axa1k9j1.js → tool-output-rcq2wj92.js} +15 -15
  221. package/dist/chunks/{reference-42jd4697.js → tool-output-rrad2nt9.js} +4 -4
  222. package/dist/chunks/{reference-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
  223. package/dist/chunks/{reference-mfyv679b.js → tool-output-rxqg2rh4.js} +9 -9
  224. package/dist/chunks/{reference-r0h3bw7v.js → tool-output-s4g98fk9.js} +35 -35
  225. package/dist/chunks/{reference-w35wzz9x.js → tool-output-s7kyse9r.js} +4 -4
  226. package/dist/chunks/{reference-sd9qfce6.js → tool-output-sc1vpcb8.js} +18 -18
  227. package/dist/chunks/{reference-mrn7jrf1.js → tool-output-sf3ha4fy.js} +28 -28
  228. package/dist/chunks/{reference-h5x76x6y.js → tool-output-sp47q1yk.js} +18 -18
  229. package/dist/chunks/{reference-sqjzf8x2.js → tool-output-sqjzf8x2.js} +1 -1
  230. package/dist/chunks/{reference-d2887f8n.js → tool-output-ssfehs1z.js} +4 -4
  231. package/dist/chunks/{reference-6z67c7sw.js → tool-output-ssqdbp8v.js} +32 -32
  232. package/dist/chunks/{reference-3wj3659j.js → tool-output-t9be5fj7.js} +1 -1
  233. package/dist/chunks/{reference-xkympmbz.js → tool-output-tasvem1v.js} +6 -6
  234. package/dist/chunks/{reference-z1797mdk.js → tool-output-tbspmpch.js} +13 -13
  235. package/dist/chunks/{reference-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{reference-3nnrz6f6.js → tool-output-tmc7xdjs.js} +4 -4
  237. package/dist/chunks/{reference-2e3p09q4.js → tool-output-tmp6rxaj.js} +26 -26
  238. package/dist/chunks/{reference-tw8zr1ps.js → tool-output-tw8zr1ps.js} +1 -1
  239. package/dist/chunks/{reference-twv2r8f4.js → tool-output-twv2r8f4.js} +2 -2
  240. package/dist/chunks/{reference-6pz21ma1.js → tool-output-v2gtqsm1.js} +17 -17
  241. package/dist/chunks/{reference-pka0ykct.js → tool-output-v42401vs.js} +21 -21
  242. package/dist/chunks/{reference-dfv0e3xz.js → tool-output-v9vr9943.js} +21 -16
  243. package/dist/chunks/{reference-vd3b3yk9.js → tool-output-vd3b3yk9.js} +1 -1
  244. package/dist/chunks/{reference-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
  245. package/dist/chunks/tool-output-vfeyjw6g.js +523 -0
  246. package/dist/chunks/{reference-g7esga4v.js → tool-output-vmfhgzt5.js} +5 -5
  247. package/dist/chunks/{reference-ba07h9gm.js → tool-output-vx3jgdek.js} +3 -3
  248. package/dist/chunks/{reference-f2tcvpah.js → tool-output-w35wk246.js} +19 -19
  249. package/dist/chunks/{reference-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{reference-dmcydt5k.js → tool-output-w5htd40q.js} +16 -16
  251. package/dist/chunks/{reference-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
  252. package/dist/chunks/{reference-wd87259q.js → tool-output-wd87259q.js} +1 -1
  253. package/dist/chunks/{reference-vk70kcm0.js → tool-output-wedq2s1n.js} +11 -11
  254. package/dist/chunks/{reference-pvk64qra.js → tool-output-wf83r483.js} +28 -28
  255. package/dist/chunks/{reference-sfpgp9sh.js → tool-output-wgnf5zhk.js} +2 -2
  256. package/dist/chunks/{reference-45sa55ra.js → tool-output-wjc56gzf.js} +32 -32
  257. package/dist/chunks/{reference-5hr8xq0q.js → tool-output-wm4529mk.js} +1 -1
  258. package/dist/chunks/{reference-b7tdm2jb.js → tool-output-wp8cf92c.js} +29 -29
  259. package/dist/chunks/{reference-g02452fg.js → tool-output-ws10xz6w.js} +14 -14
  260. package/dist/chunks/{reference-5jz32ng9.js → tool-output-wxmyhsez.js} +8 -8
  261. package/dist/chunks/{reference-zw1psc7x.js → tool-output-wxsjgajd.js} +19 -19
  262. package/dist/chunks/{reference-bjf39wav.js → tool-output-wyef362n.js} +34 -34
  263. package/dist/chunks/{reference-bhknf9fc.js → tool-output-x147gj8q.js} +23 -23
  264. package/dist/chunks/{reference-bpe9b5xd.js → tool-output-x1edc6rz.js} +36 -36
  265. package/dist/chunks/{reference-ap22wcp6.js → tool-output-xcqg2a4v.js} +7 -7
  266. package/dist/chunks/{reference-h26pfjbv.js → tool-output-xjbg8z6j.js} +11 -11
  267. package/dist/chunks/{reference-0ceasb8s.js → tool-output-xyjyzs8x.js} +20 -20
  268. package/dist/chunks/{reference-yd3g8txe.js → tool-output-xzg8yhtc.js} +9 -9
  269. package/dist/chunks/{reference-tmd1r8tg.js → tool-output-y00x4xpa.js} +4 -4
  270. package/dist/chunks/{reference-wyt6s0d6.js → tool-output-y150bje3.js} +32 -32
  271. package/dist/chunks/{reference-6f6dq05w.js → tool-output-y4dk34dd.js} +13 -11
  272. package/dist/chunks/{reference-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
  273. package/dist/chunks/{reference-x774aw49.js → tool-output-yd1f0tk7.js} +11 -11
  274. package/dist/chunks/{reference-hwhakdtp.js → tool-output-yfsz5fxv.js} +15 -15
  275. package/dist/chunks/{reference-75n0062n.js → tool-output-yj87g6ga.js} +11 -11
  276. package/dist/chunks/{reference-jk7xnh1r.js → tool-output-yr9cnj92.js} +4 -4
  277. package/dist/chunks/{reference-0pv52n9j.js → tool-output-yv12yyqt.js} +12 -12
  278. package/dist/chunks/{reference-aqfgbfd8.js → tool-output-ywhmtaft.js} +20 -20
  279. package/dist/chunks/{reference-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{reference-b321b1xq.js → tool-output-z2vdc9zv.js} +34 -34
  281. package/dist/chunks/tool-output-z355x5yr.js +18 -0
  282. package/dist/chunks/{reference-da7jqf2t.js → tool-output-z38egdw8.js} +16 -16
  283. package/dist/chunks/{reference-z38nccrw.js → tool-output-z38nccrw.js} +1 -1
  284. package/dist/chunks/{reference-9n5nfdbf.js → tool-output-z65n0b11.js} +23 -23
  285. package/dist/chunks/{reference-zkg84ctx.js → tool-output-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{reference-k879r3tb.js → tool-output-zqn9s4re.js} +2 -2
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +109 -109
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +91 -91
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +91 -91
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +107 -102
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/socket-client.js +71 -0
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +104 -104
  481. package/dist/models-dev.js +107 -107
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +113 -113
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +114 -114
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +123 -123
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +123 -123
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +3 -3
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +107 -107
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +218 -218
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +139 -139
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +213 -213
  648. package/dist/tool/plugin/skill.js +109 -109
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +113 -113
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/mcp/client.d.ts +7 -2
  659. package/dist/types/mcp/index.d.ts +8 -1
  660. package/dist/types/mcp/socket-client.d.ts +28 -0
  661. package/dist/types/session/compaction.d.ts +7 -0
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/mcp.js +2 -2
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +93 -93
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +89 -89
  680. package/dist/voice.js +88 -88
  681. package/dist/websearch.js +86 -86
  682. package/dist/wellknown/plugin.js +76 -76
  683. package/dist/wellknown.js +83 -83
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +84 -84
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +8 -8
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +91 -91
  691. package/dist/worktree.js +100 -100
  692. package/package.json +8 -8
  693. package/dist/chunks/reference-6zjm2phc.js +0 -18
  694. package/dist/chunks/reference-dfy9at9k.js +0 -26
  695. package/dist/chunks/reference-gy55dmjh.js +0 -257
  696. package/dist/chunks/reference-hwnyt2r8.js +0 -523
  697. /package/dist/chunks/{reference-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{reference-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{reference-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{reference-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{reference-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{reference-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{reference-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{reference-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{reference-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{reference-3asan66x.js → tool-output-3asan66x.js} +0 -0
  707. /package/dist/chunks/{reference-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{reference-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{reference-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{reference-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{reference-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{reference-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{reference-53557ph1.js → tool-output-53557ph1.js} +0 -0
  714. /package/dist/chunks/{reference-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{reference-5fjb7ams.js → tool-output-5fjb7ams.js} +0 -0
  716. /package/dist/chunks/{reference-6prwharc.js → tool-output-6prwharc.js} +0 -0
  717. /package/dist/chunks/{reference-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{reference-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{reference-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{reference-822emrt2.js → tool-output-822emrt2.js} +0 -0
  721. /package/dist/chunks/{reference-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{reference-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{reference-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{reference-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{reference-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{reference-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{reference-a058387c.js → tool-output-a058387c.js} +0 -0
  728. /package/dist/chunks/{reference-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{reference-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{reference-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{reference-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{reference-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{reference-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{reference-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{reference-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{reference-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{reference-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{reference-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{reference-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{reference-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{reference-df08tz66.js → tool-output-df08tz66.js} +0 -0
  742. /package/dist/chunks/{reference-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{reference-e3qxr5gk.js → tool-output-e3qxr5gk.js} +0 -0
  744. /package/dist/chunks/{reference-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{reference-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{reference-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{reference-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{reference-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{reference-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{reference-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{reference-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{reference-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{reference-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{reference-g86h250q.js → tool-output-g86h250q.js} +0 -0
  755. /package/dist/chunks/{reference-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{reference-gftt206x.js → tool-output-gftt206x.js} +0 -0
  757. /package/dist/chunks/{reference-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
  758. /package/dist/chunks/{reference-hk9envan.js → tool-output-hk9envan.js} +0 -0
  759. /package/dist/chunks/{reference-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{reference-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{reference-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{reference-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{reference-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{reference-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
  765. /package/dist/chunks/{reference-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{reference-m18g726c.js → tool-output-m18g726c.js} +0 -0
  767. /package/dist/chunks/{reference-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{reference-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{reference-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{reference-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{reference-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{reference-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
  773. /package/dist/chunks/{reference-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{reference-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{reference-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{reference-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{reference-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{reference-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{reference-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{reference-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{reference-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{reference-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{reference-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{reference-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{reference-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{reference-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{reference-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{reference-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{reference-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{reference-x61499pn.js → tool-output-x61499pn.js} +0 -0
  791. /package/dist/chunks/{reference-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{reference-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{reference-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{reference-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{reference-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{reference-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./reference-69dckygt.js";
4
+ } from "./tool-output-5epaxwsw.js";
5
5
  import {
6
- Service73,
7
- node76
8
- } from "./reference-jt507tgk.js";
6
+ Service77,
7
+ node81
8
+ } from "./tool-output-py28whss.js";
9
9
  import {
10
10
  create3
11
- } from "./reference-vd3b3yk9.js";
11
+ } from "./tool-output-vd3b3yk9.js";
12
12
  import {
13
13
  __export
14
- } from "./reference-9rqn6x4v.js";
14
+ } from "./tool-output-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event10,
21
- ID: () => ID8,
22
- Input: () => Input15,
20
+ Event: () => Event4,
21
+ ID: () => ID4,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service51,
31
+ Service: () => Service19,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node54
33
+ node: () => node22
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event10 } from "@opencode/schema/websearch";
41
- var ID8 = WebSearch.ID;
40
+ import { Event as Event4 } from "@opencode/schema/websearch";
41
+ var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input15 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID8, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID8
53
+ providerID: ID4
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID8,
61
+ providerID: ID4,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service51 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service19 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service51, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
69
69
  const bus = yield* Service85;
70
- const kv = yield* Service73;
70
+ const kv = yield* Service77;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service51.of({
127
+ return Service19.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node54 = makeLocationNode({
188
- service: Service51,
187
+ var node22 = makeLocationNode({
188
+ service: Service19,
189
189
  layer,
190
- deps: [node89, node76]
190
+ deps: [node89, node81]
191
191
  });
192
192
 
193
- export { ID8, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service51, node54, exports_websearch3, Event10 };
193
+ export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service19, node22, exports_websearch3, Event4 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./reference-69dckygt.js";
4
+ } from "./tool-output-5epaxwsw.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./reference-vd3b3yk9.js";
8
+ } from "./tool-output-vd3b3yk9.js";
9
9
  import {
10
10
  key2
11
- } from "./reference-42jd4697.js";
11
+ } from "./tool-output-rrad2nt9.js";
12
12
  import {
13
- ID12,
14
- Service64,
15
- node67,
16
- Event13
17
- } from "./reference-y70av53j.js";
13
+ ID16,
14
+ Service82,
15
+ node86,
16
+ Event18
17
+ } from "./tool-output-gdvg1v0w.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./reference-n6xp163e.js";
19
+ Service78,
20
+ node82
21
+ } from "./tool-output-dr6kpnea.js";
22
22
  import {
23
23
  __export
24
- } from "./reference-9rqn6x4v.js";
24
+ } from "./tool-output-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -30,13 +30,13 @@ __export(exports_provider3, {
30
30
  Compaction: () => Compaction3,
31
31
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
32
32
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
33
- Event: () => Event12,
34
- ID: () => ID11,
35
- Info: () => Info19,
33
+ Event: () => Event16,
34
+ ID: () => ID13,
35
+ Info: () => Info22,
36
36
  LoadError: () => LoadError3,
37
37
  Provider: () => exports_provider3,
38
38
  Request: () => Request3,
39
- Service: () => Service63,
39
+ Service: () => Service76,
40
40
  Settings: () => Settings2,
41
41
  Transport: () => Transport2,
42
42
  aisdk: () => aisdk2,
@@ -48,7 +48,7 @@ __export(exports_provider3, {
48
48
  mergeOverlay: () => mergeOverlay2,
49
49
  modelSettings: () => modelSettings2,
50
50
  nativeSettings: () => nativeSettings2,
51
- node: () => node66,
51
+ node: () => node80,
52
52
  packageName: () => packageName2,
53
53
  timeout: () => timeout2,
54
54
  timeouts: () => timeouts2
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
323
323
  var decode = Schema.decodeUnknownSync(Legacy);
324
324
 
325
325
  // src/provider.ts
326
- import { Event as Event12 } from "@opencode/schema/provider";
327
- var ID11 = Provider.ID;
326
+ import { Event as Event16 } from "@opencode/schema/provider";
327
+ var ID13 = Provider.ID;
328
328
  var AISDK_PREFIX2 = "aisdk:";
329
329
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
330
330
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -538,9 +538,9 @@ var Request3 = Provider.Request;
538
538
  var Compaction3 = Provider.Compaction;
539
539
  var Transport2 = Provider.Transport;
540
540
  var Settings2 = Provider.Settings;
541
- var Info19 = Provider.Info;
541
+ var Info22 = Provider.Info;
542
542
 
543
- class Service63 extends Context.Service()("@opencode/Provider") {
543
+ class Service76 extends Context.Service()("@opencode/Provider") {
544
544
  }
545
545
  var definitions = new WeakMap;
546
546
  function index(providerID, models) {
@@ -553,10 +553,10 @@ function index(providerID, models) {
553
553
  definitions.set(models, indexes);
554
554
  return result;
555
555
  }
556
- var layer = Layer.effect(Service63, Effect2.gen(function* () {
556
+ var layer = Layer.effect(Service76, Effect2.gen(function* () {
557
557
  const bus = yield* Service85;
558
- const integrations = yield* Service64;
559
- const location = yield* Service79;
558
+ const integrations = yield* Service82;
559
+ const location = yield* Service78;
560
560
  const state = create3({
561
561
  name: "provider",
562
562
  initial: () => new Map,
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service63, Effect2.gen(function* () {
567
567
  const current = records.get(id);
568
568
  if (current)
569
569
  return current;
570
- const added = { provider: Info19.empty(id), models: new Map };
570
+ const added = { provider: Info22.empty(id), models: new Map };
571
571
  records.set(id, added);
572
572
  maps.add(added.models);
573
573
  return added;
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service63, Effect2.gen(function* () {
648
648
  const available = Array.from(records.values()).filter((record) => {
649
649
  if (record.provider.activation === "disabled")
650
650
  return false;
651
- const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
651
+ const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
652
652
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
653
653
  return false;
654
654
  if (record.provider.activation === "enabled")
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service63, Effect2.gen(function* () {
674
674
  location: { directory: location.directory, workspaceID: location.workspaceID }
675
675
  });
676
676
  });
677
- yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
- return Service63.of({
677
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
+ return Service76.of({
679
679
  transform: state.transform,
680
680
  reload: state.reload,
681
681
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service63, Effect2.gen(function* () {
684
684
  snapshot
685
685
  });
686
686
  }));
687
- var node66 = makeLocationNode({ service: Service63, layer, deps: [node89, node67, node83] });
687
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [node89, node86, node82] });
688
688
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
689
689
  const module = yield* Effect2.tryPromise({
690
690
  try: () => {
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
706
706
  return module;
707
707
  });
708
708
 
709
- export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info19, Service63, node66, exports_provider3, Event12 };
709
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service76, node80, exports_provider3, Event16 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/session/recent-text.ts
6
6
  var exports_recent_text = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./reference-x774aw49.js";
3
+ } from "./tool-output-yd1f0tk7.js";
4
4
  import {
5
5
  Service85
6
- } from "./reference-69dckygt.js";
6
+ } from "./tool-output-5epaxwsw.js";
7
7
  import {
8
- ID13,
9
- Event14,
10
- Service65
11
- } from "./reference-14v17fgg.js";
8
+ ID18,
9
+ Event20,
10
+ Service84
11
+ } from "./tool-output-eendxhec.js";
12
12
  import {
13
13
  key2
14
- } from "./reference-42jd4697.js";
14
+ } from "./tool-output-rrad2nt9.js";
15
15
  import {
16
- ID12,
16
+ ID16,
17
17
  MethodID2
18
- } from "./reference-y70av53j.js";
18
+ } from "./tool-output-gdvg1v0w.js";
19
19
  import {
20
20
  which2
21
- } from "./reference-qaymkmh1.js";
21
+ } from "./tool-output-qaymkmh1.js";
22
22
  import {
23
- ID11,
24
- Service63
25
- } from "./reference-xydhs8a8.js";
23
+ ID13,
24
+ Service76
25
+ } from "./tool-output-md8c097b.js";
26
26
  import {
27
- ID10
28
- } from "./reference-c62eb685.js";
27
+ ID12
28
+ } from "./tool-output-3aracdxg.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./reference-n17ttpw5.js";
31
+ } from "./tool-output-9fk2bqmm.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -70,11 +70,11 @@ function make5(endpoints = {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID11.azure);
73
+ const configured = yield* configuredSettings2(ID13.azure);
74
74
  const processes = yield* AppProcess.Service;
75
75
  const bus = yield* Service85;
76
- const credentials = yield* Service65;
77
- const providers = yield* Service63;
76
+ const credentials = yield* Service84;
77
+ const providers = yield* Service76;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make5(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID11.azure,
103
+ integrationID: ID13.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID11.azure,
107
+ integrationID: ID13.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make5(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID11.azure,
125
+ integrationID: ID13.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make5(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID11.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make5(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID11.azure))?.settings;
185
+ const settings = (yield* providers.get(ID13.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make5(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make5(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make5(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID11.azure);
243
+ const item = evt.get(ID13.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make5(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make5(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID11.azure);
266
+ const catalog = models.list(ID13.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID11.azure, model.id);
270
+ models.remove(ID13.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID11.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make5(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID11.azure)
291
+ if (evt.model.providerID !== ID13.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make5(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID11.azure });
300
+ }), { providerID: ID13.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID11.azure)
302
+ if (evt.model.providerID !== ID13.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,7 +308,7 @@ function make5(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID11.azure });
311
+ }), { providerID: ID13.azure });
312
312
  })
313
313
  });
314
314
  }
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID10.make(deployment.name.toLowerCase());
345
+ const id = ID12.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID10.make(deployment.name),
349
+ modelID: ID12.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./reference-z5v4ffb3.js";
3
+ } from "./tool-output-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./tool-output-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event20,
13
- ID: () => ID18,
14
- Info: () => Info29,
12
+ Event: () => Event17,
13
+ ID: () => ID15,
14
+ Info: () => Info25,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID18 = Project.ID;
21
+ var ID15 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info29 = Project.Info;
23
+ var Info25 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event20 = Project.Event;
25
+ var Event17 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID18, Current3, Info29, UpdateInput4, Event20, Vcs3, exports_schema };
31
+ export { ID15, Current3, Info25, UpdateInput4, Event17, Vcs3, exports_schema };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./reference-x774aw49.js";
3
+ } from "./tool-output-yd1f0tk7.js";
4
4
  import {
5
5
  Service85
6
- } from "./reference-69dckygt.js";
6
+ } from "./tool-output-5epaxwsw.js";
7
7
  import {
8
8
  OAuth3,
9
- Event14
10
- } from "./reference-14v17fgg.js";
9
+ Event20
10
+ } from "./tool-output-eendxhec.js";
11
11
  import {
12
- ID12,
12
+ ID16,
13
13
  MethodID2
14
- } from "./reference-y70av53j.js";
14
+ } from "./tool-output-gdvg1v0w.js";
15
15
  import {
16
- ID11
17
- } from "./reference-xydhs8a8.js";
16
+ ID13
17
+ } from "./tool-output-md8c097b.js";
18
18
  import {
19
- ID10,
19
+ ID12,
20
20
  Family2
21
- } from "./reference-c62eb685.js";
21
+ } from "./tool-output-3aracdxg.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./reference-yb20nhc3.js";
24
+ } from "./tool-output-yb20nhc3.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID11.make("digitalocean");
31
- var integrationID = ID12.make("digitalocean");
30
+ var providerID = ID13.make("digitalocean");
31
+ var integrationID = ID16.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID10.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID12.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service58,
8
+ Service: () => Service66,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node61
10
+ node: () => node69
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service58 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service66 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service58, () => {
17
+ var layer = Layer.sync(Service66, () => {
18
18
  const environments = new Map;
19
- return Service58.of({
19
+ return Service66.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service58, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node61 = makeGlobalNode({ service: Service58, layer, deps: [] });
29
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [] });
30
30
 
31
- export { Service58, node61, exports_environment };
31
+ export { Service66, node69, exports_environment };
@@ -1,15 +1,15 @@
1
1
  import {
2
- ID11
3
- } from "./reference-xydhs8a8.js";
2
+ ID13
3
+ } from "./tool-output-md8c097b.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./reference-n17ttpw5.js";
6
+ } from "./tool-output-9fk2bqmm.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-workers-ai.ts
9
9
  import { Effect } from "effect";
10
10
  import { define } from "@opencode/plugin/effect/plugin";
11
11
  import { Form } from "@opencode/schema/form";
12
- var providerID = ID11.make("cloudflare-workers-ai");
12
+ var providerID = ID13.make("cloudflare-workers-ai");
13
13
  var CloudflareWorkersAIPlugin2 = define({
14
14
  id: "opencode.provider.cloudflare.workers.ai",
15
15
  effect: Effect.fn(function* (ctx) {