@opencode/core 0.0.0-dev-236 → 0.0.0-dev-241

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 (506) hide show
  1. package/dist/agent.js +75 -75
  2. package/dist/aisdk-native.js +80 -80
  3. package/dist/aisdk.js +85 -85
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +64 -64
  6. package/dist/chunks/{form-z2s36kx0.js → form-06b0dpwc.js} +4 -4
  7. package/dist/chunks/{form-er9840mn.js → form-08h3dm3g.js} +152 -152
  8. package/dist/chunks/{form-crdv0qyn.js → form-0a7n7kwt.js} +1 -1
  9. package/dist/chunks/{form-wpm462xr.js → form-0geg3vaz.js} +4 -4
  10. package/dist/chunks/{form-7hv4r7xp.js → form-0kfnnbj0.js} +15 -15
  11. package/dist/chunks/{form-x26wqd07.js → form-0m9q59s6.js} +3 -3
  12. package/dist/chunks/{form-swhkgwn8.js → form-0z8aj9nb.js} +64 -64
  13. package/dist/chunks/{form-t08mfb53.js → form-0zracm40.js} +42 -42
  14. package/dist/chunks/{form-xhr3cxyj.js → form-12ce349e.js} +9 -9
  15. package/dist/chunks/{form-wz4vvgzg.js → form-164bbpt7.js} +31 -31
  16. package/dist/chunks/{form-5n27fd96.js → form-16twya52.js} +8 -8
  17. package/dist/chunks/{form-60v1vsga.js → form-17nembyj.js} +44 -44
  18. package/dist/chunks/{form-37cecxny.js → form-1ehhk9f8.js} +22 -22
  19. package/dist/chunks/{form-27w5k9zf.js → form-1ep2p91f.js} +1 -1
  20. package/dist/chunks/{form-a66tgrbp.js → form-1fy8p9jc.js} +18 -18
  21. package/dist/chunks/{form-y3ryyqft.js → form-1hc4tfsd.js} +1 -1
  22. package/dist/chunks/form-1kh93h0h.js +26 -0
  23. package/dist/chunks/{form-gtn9c16a.js → form-1kn6jdkn.js} +3 -3
  24. package/dist/chunks/{form-45qxjkfx.js → form-1kyyf73t.js} +8 -8
  25. package/dist/chunks/{form-cykhmcxq.js → form-1q3qkd77.js} +7 -7
  26. package/dist/chunks/{form-8kvd5mpw.js → form-1rp9wec1.js} +3 -3
  27. package/dist/chunks/{form-4er7ty69.js → form-1vseb64s.js} +12 -12
  28. package/dist/chunks/{form-5zrxpy3q.js → form-1yq9hg58.js} +4 -4
  29. package/dist/chunks/{form-h9bxdqvt.js → form-21aep2yn.js} +4 -4
  30. package/dist/chunks/{form-p71ca3rx.js → form-225yscb7.js} +17 -17
  31. package/dist/chunks/{form-8b3vzgkx.js → form-25h84942.js} +3 -3
  32. package/dist/chunks/{form-g3d9y95k.js → form-2bgp64vn.js} +19 -19
  33. package/dist/chunks/{form-dt7r1hfc.js → form-2hz06pja.js} +3 -3
  34. package/dist/chunks/{form-cn8yknkt.js → form-2t5drfwv.js} +9 -9
  35. package/dist/chunks/{form-115q1jpg.js → form-2zxqqy9n.js} +2 -2
  36. package/dist/chunks/{form-g4n1wayp.js → form-30ae49hf.js} +13 -13
  37. package/dist/chunks/{form-9wfhnavn.js → form-344ymb5t.js} +44 -44
  38. package/dist/chunks/{form-cpr2q5y2.js → form-34czpf76.js} +24 -24
  39. package/dist/chunks/{form-hz4138gk.js → form-3e3pzb31.js} +10 -10
  40. package/dist/chunks/{form-ma4f8va9.js → form-3ve3e0bk.js} +15 -15
  41. package/dist/chunks/{form-4nawp0d8.js → form-3yz3az2p.js} +183 -183
  42. package/dist/chunks/{form-p27rrfjt.js → form-44bj7geh.js} +19 -19
  43. package/dist/chunks/{form-9qg9k9gh.js → form-47xk0geh.js} +16 -16
  44. package/dist/chunks/{form-ctfjhx7j.js → form-4e78z1nw.js} +14 -14
  45. package/dist/chunks/{form-69p76eyw.js → form-4wc1e944.js} +32 -32
  46. package/dist/chunks/{form-jxb3gtw0.js → form-56xpzs9c.js} +7 -7
  47. package/dist/chunks/{form-2nm4w996.js → form-5a6cq72k.js} +37 -37
  48. package/dist/chunks/{form-r41sfy63.js → form-5enarcya.js} +7 -7
  49. package/dist/chunks/{form-mf20dtnm.js → form-5gahmjy1.js} +7 -7
  50. package/dist/chunks/{form-cram7zgt.js → form-5gse0r5n.js} +7 -7
  51. package/dist/chunks/{form-s6pdabng.js → form-5m24a4sd.js} +21 -21
  52. package/dist/chunks/{form-b6vsg801.js → form-5nnwax6m.js} +3 -3
  53. package/dist/chunks/{form-rhry30kd.js → form-5qjz8kxn.js} +10 -10
  54. package/dist/chunks/{form-0j3zdga0.js → form-5w6nd1s8.js} +1 -1
  55. package/dist/chunks/{form-20h0fae3.js → form-69vbzxa1.js} +32 -32
  56. package/dist/chunks/{form-vpakn3dw.js → form-6wmf2q20.js} +10 -10
  57. package/dist/chunks/{form-m7q6ddj2.js → form-6xqtcmxs.js} +3 -3
  58. package/dist/chunks/{form-2dkjcnxp.js → form-6zjm2phc.js} +4 -4
  59. package/dist/chunks/{form-67kez8k6.js → form-7bcs6f94.js} +11 -11
  60. package/dist/chunks/{form-9bcxv424.js → form-7fy0h8rf.js} +8 -8
  61. package/dist/chunks/{form-5s3wzs2b.js → form-7r72dc1g.js} +11 -11
  62. package/dist/chunks/{form-gfdy171d.js → form-80d2zcb4.js} +71 -71
  63. package/dist/chunks/{form-fs9kz63c.js → form-885474ts.js} +13 -13
  64. package/dist/chunks/{form-6xa52pg9.js → form-8azpkpgk.js} +333 -333
  65. package/dist/chunks/{form-7tyeehtt.js → form-8cbkaxar.js} +3 -3
  66. package/dist/chunks/{form-7wx5knwb.js → form-8pyh3h24.js} +24 -24
  67. package/dist/chunks/{form-gm7a1s2a.js → form-8q7qvvvm.js} +13 -13
  68. package/dist/chunks/{form-nm34g1pn.js → form-8xqhc33s.js} +9 -9
  69. package/dist/chunks/{form-4xd23xa0.js → form-9aqddysx.js} +2 -2
  70. package/dist/chunks/{form-5chyaczp.js → form-9f6y0syf.js} +5 -5
  71. package/dist/chunks/{form-rx0a7xyh.js → form-9mesydma.js} +13 -13
  72. package/dist/chunks/{form-nsd4cwk5.js → form-9x2ynd3b.js} +12 -12
  73. package/dist/chunks/{form-0g0wwtc6.js → form-a2yfqhnm.js} +27 -27
  74. package/dist/chunks/{form-mdva19h8.js → form-a5qbrk1x.js} +12 -12
  75. package/dist/chunks/{form-femntydq.js → form-a97jh5ay.js} +30 -30
  76. package/dist/chunks/{form-drvbhkez.js → form-agqd6nxz.js} +1 -1
  77. package/dist/chunks/{form-1naqjf9j.js → form-apsqrt3t.js} +40 -40
  78. package/dist/chunks/{form-3cbjf1nt.js → form-ayjs7tqn.js} +1 -1
  79. package/dist/chunks/{form-0pzggwk2.js → form-bd58n5m3.js} +23 -23
  80. package/dist/chunks/{form-pxsvpp78.js → form-bmp8ftgp.js} +9 -9
  81. package/dist/chunks/{form-hex344mn.js → form-bn194m36.js} +9 -9
  82. package/dist/chunks/{form-wdxw6h8d.js → form-bnrmard3.js} +5 -5
  83. package/dist/chunks/{form-gfnmyn48.js → form-bpmnncyw.js} +7 -7
  84. package/dist/chunks/{form-rp624dek.js → form-bxsgj37y.js} +14 -14
  85. package/dist/chunks/{form-apejkmwr.js → form-bzgcjp3p.js} +5 -5
  86. package/dist/chunks/{form-5w8z11at.js → form-c2t3ry2c.js} +14 -14
  87. package/dist/chunks/{form-2azy8kv6.js → form-c6x7d2ts.js} +3 -3
  88. package/dist/chunks/{form-mggs55rp.js → form-c7b37yvv.js} +12 -12
  89. package/dist/chunks/{form-65745s09.js → form-c8w8hrxy.js} +20 -20
  90. package/dist/chunks/{form-30jfg8m2.js → form-c9cgbm0j.js} +14 -14
  91. package/dist/chunks/{form-8f066r9v.js → form-caxfsg60.js} +16 -16
  92. package/dist/chunks/{form-s5pg1fnt.js → form-cecnk0g5.js} +25 -25
  93. package/dist/chunks/{form-s4j0n7b9.js → form-cegg4nag.js} +19 -19
  94. package/dist/chunks/{form-2daekhsq.js → form-cj0rt5w2.js} +13 -13
  95. package/dist/chunks/{form-812q73hy.js → form-ckrm4vaz.js} +17 -17
  96. package/dist/chunks/{form-ratsm3et.js → form-cnac7q8x.js} +15 -15
  97. package/dist/chunks/{form-800hrrsd.js → form-cq4y0zvs.js} +22 -22
  98. package/dist/chunks/{form-tm4pda5m.js → form-d0nww1bx.js} +2 -2
  99. package/dist/chunks/{form-jrqnrhvj.js → form-d4z67fwt.js} +10 -10
  100. package/dist/chunks/{form-xkkxpaxw.js → form-d877pmrn.js} +16 -16
  101. package/dist/chunks/{form-ex5g5fdx.js → form-dbn5ca56.js} +4 -4
  102. package/dist/chunks/{form-ksddj7ae.js → form-dmb95mhx.js} +14 -14
  103. package/dist/chunks/{form-3r13qzkr.js → form-dpb98s6z.js} +43 -43
  104. package/dist/chunks/{form-2gptajwx.js → form-dpd69dnd.js} +4 -4
  105. package/dist/chunks/{form-0zh0yqdd.js → form-dtg3e95z.js} +7 -7
  106. package/dist/chunks/{form-c7vtx2cj.js → form-e865fpdn.js} +18 -18
  107. package/dist/chunks/{form-zgd8t41s.js → form-e8jekyry.js} +7 -7
  108. package/dist/chunks/{form-rb8x5f8g.js → form-e9fqtmvn.js} +7 -7
  109. package/dist/chunks/{form-xty73vjp.js → form-ebc2yafe.js} +4 -4
  110. package/dist/chunks/{form-4b42mt74.js → form-eeejwcqn.js} +13 -13
  111. package/dist/chunks/{form-kg2n5yz1.js → form-emk1tmq0.js} +7 -7
  112. package/dist/chunks/{form-1gebr7re.js → form-epbdechd.js} +20 -20
  113. package/dist/chunks/{form-5xhxj3ma.js → form-eq53d4e8.js} +21 -21
  114. package/dist/chunks/{form-m4mdhy98.js → form-ertcz5s1.js} +9 -9
  115. package/dist/chunks/{form-tn4wkvja.js → form-ex68cs9x.js} +32 -32
  116. package/dist/chunks/{form-3mtymbf0.js → form-eydhdpnx.js} +39 -39
  117. package/dist/chunks/{form-v54nvb2h.js → form-f01y088k.js} +3 -3
  118. package/dist/chunks/{form-6v96zr1h.js → form-f0q877ce.js} +19 -19
  119. package/dist/chunks/{form-prq7xxp2.js → form-fg9p65nk.js} +4 -4
  120. package/dist/chunks/{form-81s2k8vv.js → form-fn32zha6.js} +16 -16
  121. package/dist/chunks/{form-x0kzwhb5.js → form-fq8z76yw.js} +2 -2
  122. package/dist/chunks/{form-np3f7rt0.js → form-fypmhnps.js} +1 -1
  123. package/dist/chunks/{form-9rmw0sn3.js → form-g1hcq0g8.js} +13 -13
  124. package/dist/chunks/{form-6733gk72.js → form-g450zyfk.js} +22 -22
  125. package/dist/chunks/{form-57pn975y.js → form-g85b9q37.js} +10 -10
  126. package/dist/chunks/{form-c4q1vm7v.js → form-g8a7cptb.js} +18 -18
  127. package/dist/chunks/{form-hpbhhm01.js → form-gbh3tqmh.js} +3 -3
  128. package/dist/chunks/{form-jynhhecs.js → form-gd8sx287.js} +2 -2
  129. package/dist/chunks/{form-58k7dgzm.js → form-gdn6yz18.js} +24 -24
  130. package/dist/chunks/{form-0a4nha02.js → form-gx6q6d4a.js} +7 -7
  131. package/dist/chunks/{form-jyvqgxbr.js → form-h9mc95dv.js} +32 -32
  132. package/dist/chunks/{form-39w9ysaz.js → form-hcawp3ym.js} +10 -10
  133. package/dist/chunks/{form-zep4evtf.js → form-hef4msp3.js} +14 -14
  134. package/dist/chunks/{form-wmsrda0h.js → form-hh288azd.js} +24 -24
  135. package/dist/chunks/{form-x4r85fe4.js → form-hh8z0h5r.js} +20 -20
  136. package/dist/chunks/{form-b0tt7fbs.js → form-hjhf5s4p.js} +17 -17
  137. package/dist/chunks/{form-dy2eaxm7.js → form-hnb1qy4e.js} +10 -10
  138. package/dist/chunks/{form-jh74jycr.js → form-hqxkkta1.js} +2 -2
  139. package/dist/chunks/{form-gry98xea.js → form-hsdtatpb.js} +1 -1
  140. package/dist/chunks/{form-z1s357w5.js → form-j0ft87f1.js} +21 -21
  141. package/dist/chunks/{form-gcdcpnqc.js → form-j3ahjss5.js} +32 -32
  142. package/dist/chunks/{form-9nbm1qb8.js → form-jhc11j6v.js} +4 -4
  143. package/dist/chunks/{form-65w5xxws.js → form-jheynnxb.js} +9 -9
  144. package/dist/chunks/{form-kg4r8sy9.js → form-jnndjjbg.js} +25 -25
  145. package/dist/chunks/{form-cenhz2kb.js → form-jvks6kr5.js} +22 -22
  146. package/dist/chunks/{form-6hc3w7dx.js → form-k5h0kew3.js} +32 -32
  147. package/dist/chunks/{form-xbts61dy.js → form-k67dv3fj.js} +31 -31
  148. package/dist/chunks/{form-9avx4ajz.js → form-k950nrad.js} +17 -17
  149. package/dist/chunks/{form-h2xt6wet.js → form-ka01146j.js} +5 -5
  150. package/dist/chunks/{form-zz5ve47h.js → form-kjt9j6hq.js} +28 -28
  151. package/dist/chunks/{form-s5h6z9gv.js → form-kpgx0vyx.js} +5 -5
  152. package/dist/chunks/{form-tvb592mm.js → form-kqxn4pnr.js} +4 -4
  153. package/dist/chunks/{form-j3w1x649.js → form-m34q2a8m.js} +28 -28
  154. package/dist/chunks/{form-hfgk9wzg.js → form-m37sd98t.js} +3 -3
  155. package/dist/chunks/{form-75q1s5an.js → form-m528r48h.js} +3 -3
  156. package/dist/chunks/{form-rs85nywm.js → form-maemcbqj.js} +19 -19
  157. package/dist/chunks/{form-8z6m94af.js → form-mb7mbhnz.js} +1 -1
  158. package/dist/chunks/{form-6dgef8zt.js → form-mdmwbg8j.js} +15 -15
  159. package/dist/chunks/{form-mgkq9fbg.js → form-mdz0js77.js} +5 -5
  160. package/dist/chunks/{form-tsdwyhx3.js → form-mkcsvzvr.js} +5 -5
  161. package/dist/chunks/{form-f952zzwb.js → form-mp850hqc.js} +4 -4
  162. package/dist/chunks/{form-3mt7h3sc.js → form-n37g9rz2.js} +3 -3
  163. package/dist/chunks/{form-58d2k2k8.js → form-n5jdsvnn.js} +28 -28
  164. package/dist/chunks/{form-0neff2gh.js → form-n97mvkbq.js} +5 -5
  165. package/dist/chunks/{form-770pw0s1.js → form-nah043kf.js} +3 -3
  166. package/dist/chunks/{form-37qznj3x.js → form-nfkjwrxk.js} +14 -14
  167. package/dist/chunks/{form-4j02pyve.js → form-ng3j8dj2.js} +8 -8
  168. package/dist/chunks/{form-w6rf4v00.js → form-nxbfjhca.js} +9 -9
  169. package/dist/chunks/{form-7pryy4s8.js → form-nxpp7t5x.js} +45 -45
  170. package/dist/chunks/{form-smej90w1.js → form-nzbx2r18.js} +11 -11
  171. package/dist/chunks/{form-nes0j92p.js → form-p2d6jc5h.js} +4 -4
  172. package/dist/chunks/{form-e3yq7vhq.js → form-p32m2zja.js} +25 -25
  173. package/dist/chunks/{form-cqgdxhj0.js → form-pez63j8g.js} +15 -15
  174. package/dist/chunks/{form-ax2a2y9p.js → form-pq2gn7y4.js} +4 -4
  175. package/dist/chunks/{form-x4ym8htq.js → form-q1dg5ken.js} +12 -12
  176. package/dist/chunks/{form-a2qrzhrv.js → form-qd0p20n5.js} +8 -8
  177. package/dist/chunks/{form-g39z3c3d.js → form-qekva0d7.js} +26 -26
  178. package/dist/chunks/{form-wcr7n0w7.js → form-qg4wfayj.js} +16 -16
  179. package/dist/chunks/{form-nt9wvz87.js → form-qhwx0fdf.js} +23 -23
  180. package/dist/chunks/{form-2mbjfaxd.js → form-qkc3z5ds.js} +3 -3
  181. package/dist/chunks/{form-2dzbnn5s.js → form-qnf47mt5.js} +6 -6
  182. package/dist/chunks/{form-202bxvr4.js → form-qz087kyw.js} +7 -7
  183. package/dist/chunks/{form-bhm8f5xf.js → form-r1r2wh37.js} +5 -5
  184. package/dist/chunks/{form-bq3b16qk.js → form-r2z4j37j.js} +1 -1
  185. package/dist/chunks/{form-9c3ec48c.js → form-r5gq5fkx.js} +76 -76
  186. package/dist/chunks/{form-j4zj9swe.js → form-ra4wx1p6.js} +19 -19
  187. package/dist/chunks/{form-jrzfxer4.js → form-rs8acqz3.js} +1 -1
  188. package/dist/chunks/{form-1fgjq5yh.js → form-rva7ahw2.js} +6 -6
  189. package/dist/chunks/{form-0568hmfx.js → form-rw00jzn7.js} +17 -17
  190. package/dist/chunks/{form-ztqjkmb7.js → form-rwpnrpr8.js} +1 -1
  191. package/dist/chunks/{form-m0nhvpz4.js → form-s3bc4aa5.js} +44 -44
  192. package/dist/chunks/{form-6rtanm5a.js → form-s8ecjhm6.js} +20 -20
  193. package/dist/chunks/{form-4vhebqs8.js → form-saap6htg.js} +22 -22
  194. package/dist/chunks/{form-0j7gp832.js → form-sqjzf8x2.js} +3 -3
  195. package/dist/chunks/{form-kgf7qxx3.js → form-sxjfgefz.js} +48 -48
  196. package/dist/chunks/{form-6h0z5jnc.js → form-sxramexz.js} +10 -10
  197. package/dist/chunks/{form-bbex01q8.js → form-syd5ygf3.js} +10 -10
  198. package/dist/chunks/{form-h5jrm83f.js → form-t4y2eqtb.js} +7 -7
  199. package/dist/chunks/{form-xtk91xpy.js → form-t925je5x.js} +10 -10
  200. package/dist/chunks/{form-cd6xe7sj.js → form-vjcm0c6v.js} +28 -28
  201. package/dist/chunks/{form-99z41sf4.js → form-vpm8vpz0.js} +3 -3
  202. package/dist/chunks/{form-0wkkkdkf.js → form-vr3x69az.js} +11 -11
  203. package/dist/chunks/{form-k302pdnh.js → form-vrcsa8qx.js} +7 -7
  204. package/dist/chunks/{form-03jqhmmy.js → form-vzvvagw1.js} +30 -30
  205. package/dist/chunks/{form-75dkjs9q.js → form-w2jxje39.js} +23 -23
  206. package/dist/chunks/{form-s7kyse9r.js → form-w35wzz9x.js} +3 -3
  207. package/dist/chunks/{form-xffdvv21.js → form-w5xp5sgq.js} +16 -16
  208. package/dist/chunks/{form-wr3re1en.js → form-w687dnns.js} +3 -3
  209. package/dist/chunks/{form-f4mscg03.js → form-wawq6c5s.js} +9 -9
  210. package/dist/chunks/{form-r4bcfbbz.js → form-wdeh72fh.js} +15 -15
  211. package/dist/chunks/{form-zgg8de7g.js → form-wewy9wfm.js} +13 -13
  212. package/dist/chunks/{form-fymf9s41.js → form-wg881gmg.js} +6 -6
  213. package/dist/chunks/{form-cv03a796.js → form-wwgpyqzb.js} +7 -7
  214. package/dist/chunks/{form-ffd03e03.js → form-wxknf58s.js} +8 -8
  215. package/dist/chunks/{form-pwarvv20.js → form-wy3fx33q.js} +19 -19
  216. package/dist/chunks/{form-2az9w9qg.js → form-x1wbs47z.js} +25 -25
  217. package/dist/chunks/{form-s6h2s3rz.js → form-xk2zn0cv.js} +3 -3
  218. package/dist/chunks/{form-7fz7kdv3.js → form-xq6beh0s.js} +25 -25
  219. package/dist/chunks/{form-1wap8mvb.js → form-xwhcj832.js} +25 -25
  220. package/dist/chunks/{form-1sw1ga6z.js → form-y02zb68m.js} +12 -12
  221. package/dist/chunks/{form-1xnfgx4x.js → form-y984veh1.js} +7 -7
  222. package/dist/chunks/{form-pxtfkpje.js → form-yara3q77.js} +1 -1
  223. package/dist/chunks/{form-0gbb59p9.js → form-yc4xwjk4.js} +7 -7
  224. package/dist/chunks/{form-t5prmbbw.js → form-yckvrk0f.js} +4 -4
  225. package/dist/chunks/{form-9310e8g9.js → form-yd39j0pc.js} +9 -9
  226. package/dist/chunks/{form-kmzgegqq.js → form-ydsespw1.js} +7 -7
  227. package/dist/chunks/{form-w5znx9nn.js → form-yewpp7ak.js} +12 -12
  228. package/dist/chunks/{form-pa26emph.js → form-yjhf0rgk.js} +26 -26
  229. package/dist/chunks/{form-zsehzjv7.js → form-yk6ggz05.js} +6 -6
  230. package/dist/chunks/{form-57ahrrn7.js → form-ymtvagr8.js} +13 -13
  231. package/dist/chunks/{form-6yppqcev.js → form-ymvwqgy0.js} +38 -38
  232. package/dist/chunks/{form-gsw63pph.js → form-yn3pvg3g.js} +43 -43
  233. package/dist/chunks/{form-pebfq84r.js → form-yp23a5z4.js} +14 -14
  234. package/dist/chunks/{form-eq9kvdfm.js → form-yp7f7fzt.js} +9 -9
  235. package/dist/chunks/{form-dnmen5cb.js → form-ypzz06n9.js} +6 -6
  236. package/dist/chunks/{form-5m8x74ph.js → form-ywk1qbwj.js} +1 -1
  237. package/dist/chunks/{form-whk88kq8.js → form-yykjbrqt.js} +28 -28
  238. package/dist/chunks/{form-4ashkr7h.js → form-yzfcgkx8.js} +25 -25
  239. package/dist/chunks/{form-9a9c6hns.js → form-za8zk8x5.js} +16 -16
  240. package/dist/chunks/{form-2sqgfc56.js → form-zf08ma9p.js} +43 -43
  241. package/dist/chunks/{form-cbht8k07.js → form-zrzd6936.js} +20 -20
  242. package/dist/chunks/{form-skszvm0v.js → form-zwt99n69.js} +12 -12
  243. package/dist/codemode/instructions.js +8 -8
  244. package/dist/command.js +73 -73
  245. package/dist/config/discovery.js +74 -74
  246. package/dist/config/normalize.js +89 -89
  247. package/dist/config/plugin/agent.js +103 -103
  248. package/dist/config/plugin/command.js +189 -189
  249. package/dist/config/plugin/compaction.js +132 -132
  250. package/dist/config/plugin/compatibility.js +120 -120
  251. package/dist/config/plugin/formatter.js +102 -102
  252. package/dist/config/plugin/image.js +101 -101
  253. package/dist/config/plugin/instruction.js +102 -102
  254. package/dist/config/plugin/location-watcher.js +103 -103
  255. package/dist/config/plugin/mcp.js +108 -108
  256. package/dist/config/plugin/policy.js +101 -101
  257. package/dist/config/plugin/provider.js +101 -101
  258. package/dist/config/plugin/reference.js +103 -103
  259. package/dist/config/plugin/shell.js +103 -103
  260. package/dist/config/plugin/skill-file.js +116 -116
  261. package/dist/config/plugin/skill-scan.js +3 -3
  262. package/dist/config/plugin/skill.js +123 -123
  263. package/dist/config/plugin/snapshot.js +101 -101
  264. package/dist/config/plugin/source.js +104 -104
  265. package/dist/config/plugin/tool-output.js +102 -102
  266. package/dist/config/plugin/websearch.js +102 -102
  267. package/dist/config/plugin/worktree.js +103 -103
  268. package/dist/config.js +107 -107
  269. package/dist/credential.js +75 -75
  270. package/dist/database/database.js +63 -63
  271. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  272. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  273. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  274. package/dist/database/drizzle/index.js +10 -10
  275. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  276. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  277. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  278. package/dist/database/drizzle.js +10 -10
  279. package/dist/database/migration.gen.js +46 -46
  280. package/dist/database/migration.js +48 -48
  281. package/dist/database/v1-migration.bun.js +24 -24
  282. package/dist/effect/app-node-builder.js +250 -250
  283. package/dist/environment/environment.js +81 -81
  284. package/dist/environment/index.js +81 -81
  285. package/dist/environment/unavailable.js +3 -3
  286. package/dist/event-logger.js +9 -9
  287. package/dist/file-access.js +124 -124
  288. package/dist/file-mutation.js +78 -78
  289. package/dist/filesystem/file-watch.js +14 -14
  290. package/dist/filesystem/location-watcher-policy.js +5 -5
  291. package/dist/filesystem/location-watcher.js +203 -203
  292. package/dist/filesystem/search.js +85 -85
  293. package/dist/filesystem/watcher.js +9 -9
  294. package/dist/filesystem.js +88 -88
  295. package/dist/form.js +75 -75
  296. package/dist/formatter/builtins.js +3 -3
  297. package/dist/formatter.js +78 -78
  298. package/dist/generate.js +93 -93
  299. package/dist/git.js +7 -7
  300. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  301. package/dist/github-copilot/copilot-provider.js +3 -3
  302. package/dist/github-copilot/models.js +82 -82
  303. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  304. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  305. package/dist/image/notice.js +3 -3
  306. package/dist/image/photon.js +1 -1
  307. package/dist/image.js +5 -5
  308. package/dist/instance/service.js +5 -5
  309. package/dist/instance.js +331 -331
  310. package/dist/instruction-discovery.js +80 -80
  311. package/dist/instructions/builtins.js +79 -79
  312. package/dist/instructions/index.js +3 -3
  313. package/dist/integration/connection.js +3 -3
  314. package/dist/integration.js +80 -80
  315. package/dist/job.js +70 -70
  316. package/dist/kv.js +66 -66
  317. package/dist/location-activity.js +75 -75
  318. package/dist/location-lifecycle.js +117 -117
  319. package/dist/location-service-map.js +78 -78
  320. package/dist/location-services.js +328 -328
  321. package/dist/location.js +81 -81
  322. package/dist/mcp/client.js +20 -20
  323. package/dist/mcp/index.js +92 -92
  324. package/dist/mcp/instructions.js +136 -136
  325. package/dist/mcp/oauth.js +13 -13
  326. package/dist/mcp/stdio.js +78 -78
  327. package/dist/modal/models.js +82 -82
  328. package/dist/model-resolver.js +89 -89
  329. package/dist/model.js +91 -91
  330. package/dist/models-dev.js +87 -87
  331. package/dist/permission/saved.js +77 -77
  332. package/dist/permission/sql.js +3 -3
  333. package/dist/permission.js +124 -124
  334. package/dist/persistent-pty/index.js +80 -80
  335. package/dist/persistent-pty.js +66 -66
  336. package/dist/plugin/agent.js +70 -70
  337. package/dist/plugin/command.js +89 -89
  338. package/dist/plugin/goal.js +3 -3
  339. package/dist/plugin/hooks.js +5 -5
  340. package/dist/plugin/host.js +194 -194
  341. package/dist/plugin/identity.js +5 -5
  342. package/dist/plugin/instance.js +5 -5
  343. package/dist/plugin/internal.js +304 -304
  344. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  345. package/dist/plugin/models-dev.js +86 -86
  346. package/dist/plugin/module.js +101 -101
  347. package/dist/plugin/optimize.js +2 -2
  348. package/dist/plugin/plan.js +117 -117
  349. package/dist/plugin/provider/amazon-bedrock.js +82 -82
  350. package/dist/plugin/provider/azure.js +102 -102
  351. package/dist/plugin/provider/chatgpt.js +100 -100
  352. package/dist/plugin/provider/cloudflare-ai-gateway.js +100 -100
  353. package/dist/plugin/provider/cloudflare-workers-ai.js +100 -100
  354. package/dist/plugin/provider/configured.js +98 -98
  355. package/dist/plugin/provider/credential-settings.js +66 -66
  356. package/dist/plugin/provider/digitalocean.js +83 -83
  357. package/dist/plugin/provider/github-copilot.js +85 -85
  358. package/dist/plugin/provider/gitlab.js +84 -84
  359. package/dist/plugin/provider/google-vertex.js +99 -99
  360. package/dist/plugin/provider/llmgateway.js +69 -69
  361. package/dist/plugin/provider/lmstudio.js +108 -108
  362. package/dist/plugin/provider/local.js +105 -105
  363. package/dist/plugin/provider/modal.js +83 -83
  364. package/dist/plugin/provider/ollama.js +108 -108
  365. package/dist/plugin/provider/openai-context-caps.js +81 -81
  366. package/dist/plugin/provider/openai.js +100 -100
  367. package/dist/plugin/provider/opencode.js +103 -103
  368. package/dist/plugin/provider/openrouter.js +82 -82
  369. package/dist/plugin/provider/poe.js +69 -69
  370. package/dist/plugin/provider/sap-ai-core.js +81 -81
  371. package/dist/plugin/provider/snowflake-cortex.js +100 -100
  372. package/dist/plugin/provider/vllm.js +108 -108
  373. package/dist/plugin/provider/xai.js +82 -82
  374. package/dist/plugin/provider.js +143 -143
  375. package/dist/plugin/sdk.js +71 -71
  376. package/dist/plugin/service.js +3 -3
  377. package/dist/plugin/skill.js +118 -118
  378. package/dist/plugin/supervisor.js +319 -319
  379. package/dist/plugin/tool-input-repair.js +3 -3
  380. package/dist/plugin/update.js +5 -5
  381. package/dist/plugin/vcs/git.js +77 -77
  382. package/dist/plugin/vcs/hg.js +77 -77
  383. package/dist/plugin/verbosity.js +84 -84
  384. package/dist/plugin/warming.js +100 -100
  385. package/dist/plugin/websearch/exa.js +6 -6
  386. package/dist/plugin/websearch/firecrawl.js +7 -7
  387. package/dist/plugin/websearch/index.js +8 -8
  388. package/dist/plugin/websearch/mcp.js +5 -5
  389. package/dist/plugin/websearch/parallel.js +7 -7
  390. package/dist/plugin/websearch/tavily.js +4 -4
  391. package/dist/plugin/websearch/tinyfish.js +7 -7
  392. package/dist/plugin.js +205 -205
  393. package/dist/project/icon.js +3 -3
  394. package/dist/project/schema.js +7 -7
  395. package/dist/project/sql.js +2 -2
  396. package/dist/project.js +80 -80
  397. package/dist/provider.js +90 -90
  398. package/dist/pty.js +89 -89
  399. package/dist/reference/instructions.js +76 -76
  400. package/dist/reference.js +78 -78
  401. package/dist/repository-cache.js +72 -72
  402. package/dist/ripgrep.js +84 -84
  403. package/dist/rpc.js +78 -78
  404. package/dist/schedule/sql.js +4 -4
  405. package/dist/schedule.js +190 -190
  406. package/dist/session/blob.js +100 -100
  407. package/dist/session/command.js +68 -68
  408. package/dist/session/compaction.js +133 -133
  409. package/dist/session/context.js +156 -156
  410. package/dist/session/diff.js +78 -78
  411. package/dist/session/environment.js +5 -5
  412. package/dist/session/error.js +4 -4
  413. package/dist/session/execution/restart.js +123 -123
  414. package/dist/session/execution.js +132 -132
  415. package/dist/session/generate.js +158 -158
  416. package/dist/session/history.js +106 -106
  417. package/dist/session/inbox.js +117 -117
  418. package/dist/session/info.js +2 -2
  419. package/dist/session/instruction-entry.js +74 -74
  420. package/dist/session/instruction-state.js +5 -5
  421. package/dist/session/instructions.js +111 -111
  422. package/dist/session/message-updater.js +3 -3
  423. package/dist/session/model-request.js +129 -129
  424. package/dist/session/model-transport.js +7 -7
  425. package/dist/session/move.js +131 -131
  426. package/dist/session/projector.js +110 -110
  427. package/dist/session/prompt.js +119 -119
  428. package/dist/session/revert.js +109 -109
  429. package/dist/session/runner/index.js +3 -3
  430. package/dist/session/runner/llm.js +203 -203
  431. package/dist/session/runner/model.js +90 -90
  432. package/dist/session/runner/publish-llm-event.js +120 -120
  433. package/dist/session/runner/step.js +128 -128
  434. package/dist/session/runner/to-llm-message.js +107 -107
  435. package/dist/session/schema.js +5 -5
  436. package/dist/session/session.js +146 -146
  437. package/dist/session/shell.js +112 -112
  438. package/dist/session/skill.js +118 -118
  439. package/dist/session/sql.js +3 -3
  440. package/dist/session/stats.js +10 -10
  441. package/dist/session/store.js +112 -112
  442. package/dist/session/stored.js +3 -3
  443. package/dist/session/subagent-completion.js +3 -3
  444. package/dist/session/subagent-job.js +188 -188
  445. package/dist/session/system-prompt.js +3 -3
  446. package/dist/session/title.js +161 -161
  447. package/dist/session/to-session-error.js +119 -119
  448. package/dist/session/transfer.js +116 -116
  449. package/dist/session.js +190 -190
  450. package/dist/shell/parse.js +4 -4
  451. package/dist/shell/select.js +13 -13
  452. package/dist/shell.js +115 -115
  453. package/dist/skill/discovery.js +5 -5
  454. package/dist/skill/instructions.js +122 -122
  455. package/dist/skill.js +125 -125
  456. package/dist/snapshot.js +84 -84
  457. package/dist/tool/mcp.js +135 -135
  458. package/dist/tool/plugin/edit.js +129 -129
  459. package/dist/tool/plugin/glob.js +136 -136
  460. package/dist/tool/plugin/grep.js +136 -136
  461. package/dist/tool/plugin/image-generate.js +197 -197
  462. package/dist/tool/plugin/mcp-resource.js +130 -130
  463. package/dist/tool/plugin/opencode.js +128 -128
  464. package/dist/tool/plugin/patch.js +133 -133
  465. package/dist/tool/plugin/question.js +117 -117
  466. package/dist/tool/plugin/read.js +137 -137
  467. package/dist/tool/plugin/schedule.js +187 -187
  468. package/dist/tool/plugin/shell.js +193 -193
  469. package/dist/tool/plugin/skill.js +124 -124
  470. package/dist/tool/plugin/subagent.js +195 -195
  471. package/dist/tool/plugin/todo.js +119 -119
  472. package/dist/tool/plugin/webfetch.js +126 -126
  473. package/dist/tool/plugin/websearch.js +124 -124
  474. package/dist/tool/plugin/write.js +133 -133
  475. package/dist/tool/read-filesystem.js +88 -88
  476. package/dist/tool-output.js +5 -5
  477. package/dist/tool.js +8 -8
  478. package/dist/usage-limits.js +79 -79
  479. package/dist/v1/config/agent.js +4 -4
  480. package/dist/v1/config/command.js +3 -3
  481. package/dist/v1/config/mcp.js +3 -3
  482. package/dist/v1/config/migrate.js +82 -82
  483. package/dist/v1/config/permission.js +3 -3
  484. package/dist/v1/config/plugin.js +3 -3
  485. package/dist/v1/config/provider.js +3 -3
  486. package/dist/variant.js +84 -84
  487. package/dist/vcs.js +80 -80
  488. package/dist/voice.js +77 -77
  489. package/dist/websearch.js +76 -76
  490. package/dist/wellknown/plugin.js +67 -67
  491. package/dist/wellknown.js +70 -70
  492. package/dist/workspace/driver.js +7 -7
  493. package/dist/workspace.js +76 -76
  494. package/dist/worktree/directory.js +1 -1
  495. package/dist/worktree/git.js +7 -7
  496. package/dist/worktree/sql.js +3 -3
  497. package/dist/worktree/strategies.js +80 -80
  498. package/dist/worktree.js +90 -90
  499. package/package.json +8 -8
  500. package/dist/chunks/form-30vq0hkk.js +0 -26
  501. /package/dist/chunks/{form-aj7mw0zk.js → form-034tev2y.js} +0 -0
  502. /package/dist/chunks/{form-38adaqc0.js → form-0dfv01xh.js} +0 -0
  503. /package/dist/chunks/{form-sdft4pf2.js → form-7e0vrbjb.js} +0 -0
  504. /package/dist/chunks/{form-j99dhamb.js → form-a44gt5xs.js} +0 -0
  505. /package/dist/chunks/{form-gn8tkhbf.js → form-d4v9tmah.js} +0 -0
  506. /package/dist/chunks/{form-3yrks06x.js → form-ynk496q3.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./form-115q1jpg.js";
4
+ } from "./form-2zxqqy9n.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./form-27w5k9zf.js";
7
+ } from "./form-1ep2p91f.js";
8
8
  import {
9
9
  __export
10
10
  } from "./form-9rqn6x4v.js";
@@ -13,36 +13,36 @@ import {
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID6,
17
- Info: () => Info12,
18
- NotFoundError: () => NotFoundError7,
16
+ ID: () => ID9,
17
+ Info: () => Info14,
18
+ NotFoundError: () => NotFoundError10,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service52,
21
- node: () => node55
20
+ Service: () => Service67,
21
+ node: () => node70
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID6 = PermissionSaved.ID;
29
- var Info12 = PermissionSaved.Info;
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info14 = PermissionSaved.Info;
30
30
 
31
- class NotFoundError7 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID6
31
+ class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
+ id: ID9
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID6,
37
+ id: ID9,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service52 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service67 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service52, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
46
46
  const db = (yield* Service87).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID6.create(),
55
+ id: ID9.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
61
61
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
62
62
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
63
63
  if (!current)
64
- return yield* new NotFoundError7({ id: input.id });
64
+ return yield* new NotFoundError10({ id: input.id });
65
65
  const action = input.action ?? current.action;
66
66
  const resource = input.resource ?? current.resource;
67
67
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
68
68
  if (!updated)
69
- return yield* new NotFoundError7({ id: input.id });
69
+ return yield* new NotFoundError10({ id: input.id });
70
70
  return info(updated);
71
71
  });
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service52.of({ list, add, update, remove });
75
+ return Service67.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node55 = makeGlobalNode({ service: Service52, layer, deps: [node91] });
93
+ var node70 = makeGlobalNode({ service: Service67, layer, deps: [node91] });
94
94
 
95
- export { ID6, Info12, NotFoundError7, ConflictError2, Service52, node55, exports_saved };
95
+ export { ID9, Info14, NotFoundError10, ConflictError2, Service67, node70, exports_saved };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./form-115q1jpg.js";
4
+ } from "./form-2zxqqy9n.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service86,
8
8
  node90
9
- } from "./form-5m8x74ph.js";
9
+ } from "./form-ywk1qbwj.js";
10
10
  import {
11
11
  llmClient2
12
12
  } from "./form-p015t6z3.js";
@@ -15,15 +15,15 @@ import {
15
15
  } from "./form-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./form-zsehzjv7.js";
18
+ } from "./form-yk6ggz05.js";
19
19
  import {
20
- Service51,
21
- node54
22
- } from "./form-0wkkkdkf.js";
20
+ Service68,
21
+ node71
22
+ } from "./form-vr3x69az.js";
23
23
  import {
24
- Service27,
24
+ Service28,
25
25
  node31
26
- } from "./form-9c3ec48c.js";
26
+ } from "./form-r5gq5fkx.js";
27
27
  import {
28
28
  record2,
29
29
  add2
@@ -35,11 +35,11 @@ import {
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service6,
38
+ Service: () => Service9,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer5,
42
- node: () => node8
41
+ layer: () => layer8,
42
+ node: () => node11
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service6 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service9 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var messagePrompt = (text) => `Here is the first message of the conversation:
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
72
72
  title: session.title,
73
73
  time: { created: DateTime.toEpochMillis(session.time.created) }
74
74
  });
75
- var layer5 = Layer.effect(Service6, Effect.gen(function* () {
75
+ var layer8 = Layer.effect(Service9, Effect.gen(function* () {
76
76
  const bus = yield* Service86;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service27;
79
- const store = yield* Service51;
78
+ const context = yield* Service28;
79
+ const store = yield* Service68;
80
80
  const db = (yield* Service87).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -160,12 +160,12 @@ Recent conversation:
160
160
  title: truncate(title)
161
161
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
162
162
  });
163
- return Service6.of({ generate });
163
+ return Service9.of({ generate });
164
164
  }));
165
- var node8 = makeLocationNode({
166
- service: Service6,
167
- layer: layer5,
168
- deps: [node90, llmClient2, node31, node54, node91]
165
+ var node11 = makeLocationNode({
166
+ service: Service9,
167
+ layer: layer8,
168
+ deps: [node90, llmClient2, node31, node71, node91]
169
169
  });
170
170
 
171
- export { Service6, isUntitled2, layer5, node8, exports_title };
171
+ export { Service9, isUntitled2, layer8, node11, exports_title };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service63
3
- } from "./form-3mtymbf0.js";
2
+ Service69
3
+ } from "./form-eydhdpnx.js";
4
4
  import {
5
- Service40
6
- } from "./form-mf20dtnm.js";
5
+ Service45
6
+ } from "./form-5gahmjy1.js";
7
7
  import {
8
8
  observe2
9
9
  } from "./form-hpg1pkwy.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin37
18
+ Plugin: () => Plugin11
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin37 = define({
22
+ var Plugin11 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service63;
26
- const image = yield* Service40;
25
+ const config = yield* Service69;
26
+ const image = yield* Service45;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin37 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin37, exports_image };
46
+ export { Plugin11, exports_image };
@@ -5,26 +5,26 @@ import {
5
5
  RelativePath2
6
6
  } from "./form-z5v4ffb3.js";
7
7
  import {
8
- Service81
9
- } from "./form-9qg9k9gh.js";
8
+ Service80
9
+ } from "./form-47xk0geh.js";
10
10
  import {
11
- Service65
12
- } from "./form-s4j0n7b9.js";
11
+ Service75
12
+ } from "./form-cegg4nag.js";
13
13
  import {
14
- Service57
15
- } from "./form-7hv4r7xp.js";
14
+ Service65
15
+ } from "./form-0kfnnbj0.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./form-j3w1x649.js";
21
+ } from "./form-m34q2a8m.js";
22
22
  import {
23
- Service50
24
- } from "./form-2sqgfc56.js";
23
+ Service66
24
+ } from "./form-zf08ma9p.js";
25
25
  import {
26
- Service14
27
- } from "./form-37cecxny.js";
26
+ Service21
27
+ } from "./form-1ehhk9f8.js";
28
28
  import {
29
29
  __export
30
30
  } from "./form-9rqn6x4v.js";
@@ -33,17 +33,17 @@ import {
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input3,
37
- Output: () => Output3,
38
- Plugin: () => Plugin3,
39
- name: () => name3,
40
- toModelContent: () => toModelContent3
36
+ Input: () => Input14,
37
+ Output: () => Output10,
38
+ Plugin: () => Plugin52,
39
+ name: () => name14,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai/effect";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name3 = "glob";
46
- var Input3 = Schema.Struct({
45
+ var name14 = "glob";
46
+ var Input14 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input3 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output3 = Schema.Array(Entry2);
59
- var toModelContent3 = (entries, truncated = false) => {
58
+ var Output10 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin3 = {
66
+ var Plugin52 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service65;
70
- const ripgrep = yield* Service57;
71
- const location = yield* Service81;
72
- const access = yield* Service14;
73
- const permission = yield* Service50;
69
+ const environment = yield* Service75;
70
+ const ripgrep = yield* Service65;
71
+ const location = yield* Service80;
72
+ const access = yield* Service21;
73
+ const permission = yield* Service66;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name3,
75
+ name: name14,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input3,
79
- output: Output3,
78
+ input: Input14,
79
+ output: Output10,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name3,
86
+ action: name14,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin3 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name3, Input3, Output3, toModelContent3, Plugin3, exports_glob };
128
+ export { name14, Input14, Output10, toModelContent6, Plugin52, exports_glob };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./form-5m8x74ph.js";
4
+ } from "./form-ywk1qbwj.js";
5
5
  import {
6
- Event17,
7
- Service80,
8
- node84
9
- } from "./form-1wap8mvb.js";
6
+ Event19,
7
+ Service84,
8
+ node88
9
+ } from "./form-xwhcj832.js";
10
10
  import {
11
- Service64,
12
- node67
13
- } from "./form-6dgef8zt.js";
11
+ Service70,
12
+ node73
13
+ } from "./form-mdmwbg8j.js";
14
14
  import {
15
15
  AbsolutePath2
16
16
  } from "./form-z5v4ffb3.js";
17
17
  import {
18
- Service81,
19
- node85
20
- } from "./form-9qg9k9gh.js";
18
+ Service80,
19
+ node84
20
+ } from "./form-47xk0geh.js";
21
21
  import {
22
22
  substitute2
23
23
  } from "./form-7w2ypzdf.js";
24
24
  import {
25
25
  normalize3
26
- } from "./form-wcr7n0w7.js";
26
+ } from "./form-qg4wfayj.js";
27
27
  import {
28
28
  names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./form-hpbhhm01.js";
31
+ } from "./form-gbh3tqmh.js";
32
32
  import {
33
33
  plan2
34
34
  } from "./form-1x2knyw4.js";
35
35
  import {
36
- Service73,
36
+ Service72,
37
37
  Event13,
38
- node77
39
- } from "./form-bbex01q8.js";
38
+ node75
39
+ } from "./form-syd5ygf3.js";
40
40
  import {
41
41
  __export
42
42
  } from "./form-9rqn6x4v.js";
@@ -45,13 +45,13 @@ import {
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options5,
49
- Service: () => Service63,
48
+ Options: () => Options7,
49
+ Service: () => Service69,
50
50
  Test: () => Test2,
51
- configured: () => configured7,
51
+ configured: () => configured9,
52
52
  latest: () => latest2,
53
- layer: () => layer22,
54
- node: () => node66,
53
+ layer: () => layer25,
54
+ node: () => node72,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options5 = Schema.Struct({
70
+ var Options7 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options5 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service63 extends Context.Service()("@opencode/Config") {
79
+ class Service69 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -100,16 +100,16 @@ var testLayer2 = (initial = [], compatibility = {
100
100
  return document ? next.set(integrationID, document) : next;
101
101
  })
102
102
  });
103
- return Context.empty().pipe(Context.add(Service63, service), Context.add(Test2, service));
103
+ return Context.empty().pipe(Context.add(Service69, service), Context.add(Test2, service));
104
104
  }));
105
- var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
105
+ var layer25 = (options) => Layer.effect(Service69, Effect.gen(function* () {
106
106
  const fs = yield* FSUtil.Service;
107
- const location = yield* Service81;
108
- const watcher = yield* Service64;
107
+ const location = yield* Service80;
108
+ const watcher = yield* Service70;
109
109
  const bus = yield* Service86;
110
- const credentials = yield* Service80;
110
+ const credentials = yield* Service84;
111
111
  const globalService = yield* Global.Service;
112
- const wellknown = yield* Service73;
112
+ const wellknown = yield* Service72;
113
113
  const processes = yield* AppProcess.Service;
114
114
  const integrations = new Map;
115
115
  const context = yield* Effect.context();
@@ -263,7 +263,7 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
263
263
  }, (effect) => reloadLock.withPermit(effect));
264
264
  const pendingReloads = yield* PubSub.subscribe(reloads);
265
265
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
266
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
266
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
267
267
  yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
268
268
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
269
269
  if (!wellknown.snapshot().length)
@@ -292,7 +292,7 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
292
292
  `);
293
293
  yield* requestReload;
294
294
  }, (effect) => updateLock.withPermit(effect));
295
- return Service63.of({
295
+ return Service69.of({
296
296
  entries: Effect.fnUntraced(function* () {
297
297
  return configs;
298
298
  }),
@@ -312,22 +312,22 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
312
312
  })
313
313
  });
314
314
  }));
315
- function configured7(options) {
315
+ function configured9(options) {
316
316
  return makeLocationNode({
317
- service: Service63,
318
- layer: layer22(options),
317
+ service: Service69,
318
+ layer: layer25(options),
319
319
  deps: [
320
- node67,
320
+ node73,
321
321
  node90,
322
322
  FSUtil.node,
323
323
  Global.node,
324
- node85,
325
324
  node84,
326
- node77,
325
+ node88,
326
+ node75,
327
327
  AppProcess.node
328
328
  ]
329
329
  });
330
330
  }
331
- var node66 = configured7();
331
+ var node72 = configured9();
332
332
 
333
- export { latest2, Options5, Service63, Test2, testLayer2, layer22, configured7, node66, exports_config };
333
+ export { latest2, Options7, Service69, Test2, testLayer2, layer25, configured9, node72, exports_config };
@@ -9,7 +9,7 @@ import {
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info17,
12
+ Info: () => Info16,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote3
@@ -70,6 +70,6 @@ var Remote3 = Schema.Struct({
70
70
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
71
71
  })
72
72
  }).annotate({ identifier: "McpRemoteConfig" });
73
- var Info17 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
73
+ var Info16 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
74
74
 
75
- export { Local2, OAuth2, Remote3, Info17, exports_mcp5 };
75
+ export { Local2, OAuth2, Remote3, Info16, exports_mcp5 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-9310e8g9.js";
3
+ } from "./form-yd39j0pc.js";
4
4
  import {
5
5
  Service86
6
- } from "./form-5m8x74ph.js";
6
+ } from "./form-ywk1qbwj.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17,
10
- Service80
11
- } from "./form-1wap8mvb.js";
9
+ Event19,
10
+ Service84
11
+ } from "./form-xwhcj832.js";
12
12
  import {
13
- ID14,
13
+ ID17,
14
14
  MethodID2
15
- } from "./form-g39z3c3d.js";
15
+ } from "./form-qekva0d7.js";
16
16
  import {
17
- ID13,
17
+ ID14,
18
18
  mergeOverlay2
19
- } from "./form-whk88kq8.js";
19
+ } from "./form-yykjbrqt.js";
20
20
  import {
21
- ID12,
21
+ ID13,
22
22
  VariantID2,
23
- Info22
24
- } from "./form-femntydq.js";
23
+ Info23
24
+ } from "./form-a97jh5ay.js";
25
25
  import {
26
26
  success2,
27
27
  error2
@@ -31,7 +31,7 @@ import {
31
31
  } from "./form-3nnrz6f6.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./form-2dzbnn5s.js";
34
+ } from "./form-qnf47mt5.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID13.openai;
47
- var integrationID = ID14.make("openai");
46
+ var providerID = ID14.openai;
47
+ var integrationID = ID17.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -182,7 +182,7 @@ var ChatGPTPlugin2 = define({
182
182
  id: "opencode.provider.chatgpt",
183
183
  effect: Effect.fn(function* (ctx) {
184
184
  const bus = yield* Service86;
185
- const credentials = yield* Service80;
185
+ const credentials = yield* Service84;
186
186
  const loading = Semaphore.makeUnsafe(1);
187
187
  let chatgpt;
188
188
  let source;
@@ -197,7 +197,7 @@ var ChatGPTPlugin2 = define({
197
197
  yield* ctx.integration.transform((editor) => {
198
198
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
199
199
  });
200
- yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
200
+ yield* Effect.forEach(yield* credentials.list(ID17.make("openai")), (entry) => {
201
201
  const value = entry.value;
202
202
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
203
203
  return Effect.void;
@@ -270,7 +270,7 @@ var ChatGPTPlugin2 = define({
270
270
  }
271
271
  });
272
272
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
273
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
273
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
274
274
  })
275
275
  });
276
276
  function headers(app) {
@@ -327,7 +327,7 @@ function deriveModels2(remote, existing) {
327
327
  const found = byID.get(model.modelID);
328
328
  return found ? [deriveModel(found, model)] : [];
329
329
  }),
330
- ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info22.default(ID13.openai, ID12.make(model.slug))))
330
+ ...remote.filter((model) => !known.has(ID13.make(model.slug))).map((model) => deriveModel(model, Info23.default(ID14.openai, ID13.make(model.slug))))
331
331
  ];
332
332
  }
333
333
  function deriveModel(remote, previous) {
@@ -8,7 +8,7 @@ import {
8
8
  // src/session/stored.ts
9
9
  var exports_stored = {};
10
10
  __export(exports_stored, {
11
- File: () => File2,
11
+ File: () => File3,
12
12
  FileRef: () => FileRef2,
13
13
  Ref: () => Ref2,
14
14
  SessionStored: () => exports_stored,
@@ -28,10 +28,10 @@ var refHash2 = (ref) => ref.slice("media:".length);
28
28
  var ref2 = (hash) => `media:${hash}`;
29
29
  var { data: _, ...attachment } = FileAttachment.fields;
30
30
  var FileRef2 = Schema.Struct({ ...attachment, uri: Ref2 });
31
- var File2 = Schema.Union([FileAttachment, FileRef2]);
31
+ var File3 = Schema.Union([FileAttachment, FileRef2]);
32
32
  var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref2 });
33
- var files = Schema.Array(File2).pipe(optional);
33
+ var files = Schema.Array(File3).pipe(optional);
34
34
  var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
35
35
  var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
36
36
 
37
- export { Ref2, refHash2, ref2, FileRef2, File2, ToolFileRef2, UserPayload3, User3, exports_stored };
37
+ export { Ref2, refHash2, ref2, FileRef2, File3, ToolFileRef2, UserPayload3, User3, exports_stored };