@opencode/core 0.0.0-dev-19863 → 0.0.0-dev-19868

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-access-f71ryja2.js → workspace-09y5xx2s.js} +11 -11
  8. package/dist/chunks/{file-access-qwc1ntf4.js → workspace-0czfemej.js} +26 -26
  9. package/dist/chunks/{file-access-zbcka3qa.js → workspace-0mapazwk.js} +5 -5
  10. package/dist/chunks/{file-access-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{file-access-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{file-access-55bxwjz5.js → workspace-0w8keya2.js} +27 -27
  13. package/dist/chunks/{file-access-r9t00hsy.js → workspace-1109kv5r.js} +5 -5
  14. package/dist/chunks/{file-access-nbbbac21.js → workspace-119stp71.js} +22 -22
  15. package/dist/chunks/{file-access-qs81an5k.js → workspace-186vekz9.js} +10 -10
  16. package/dist/chunks/{file-access-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{file-access-qzhf7ync.js → workspace-1qyabnfk.js} +4 -4
  18. package/dist/chunks/{file-access-06pazpd1.js → workspace-1qycez7y.js} +10 -10
  19. package/dist/chunks/{file-access-x9mtwtp0.js → workspace-1rmaqtrx.js} +4 -4
  20. package/dist/chunks/workspace-215ctjcd.js +26 -0
  21. package/dist/chunks/{file-access-aymn0ca3.js → workspace-21mbbwne.js} +175 -175
  22. package/dist/chunks/{file-access-21r38tys.js → workspace-21r38tys.js} +1 -1
  23. package/dist/chunks/{file-access-2402vzrj.js → workspace-2402vzrj.js} +1 -1
  24. package/dist/chunks/{file-access-z63w68vq.js → workspace-29x78va6.js} +6 -6
  25. package/dist/chunks/{file-access-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{file-access-3t104818.js → workspace-2cgcygzs.js} +11 -11
  27. package/dist/chunks/{file-access-anf4g2xw.js → workspace-2ph2e9fc.js} +27 -27
  28. package/dist/chunks/{file-access-jf9anmv7.js → workspace-2vkv0cnq.js} +12 -12
  29. package/dist/chunks/{file-access-57ez7d0k.js → workspace-2w6fc0zt.js} +7 -7
  30. package/dist/chunks/{file-access-e7rbx3sh.js → workspace-2y271c3v.js} +15 -15
  31. package/dist/chunks/{file-access-k6fwxkkf.js → workspace-30v61e4e.js} +9 -9
  32. package/dist/chunks/{file-access-zkhjfb6b.js → workspace-3dn0bamk.js} +6 -6
  33. package/dist/chunks/{file-access-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{file-access-q2fxn82f.js → workspace-3gaagh7n.js} +5 -5
  35. package/dist/chunks/{file-access-nzh1nzfe.js → workspace-3h8gz3da.js} +10 -10
  36. package/dist/chunks/{file-access-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{file-access-vykcaabf.js → workspace-3j0xc7ma.js} +6 -6
  38. package/dist/chunks/{file-access-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{file-access-1vvm1q8g.js → workspace-3tgcwym4.js} +21 -21
  40. package/dist/chunks/{file-access-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{file-access-zvph5cmm.js → workspace-3xdvkjpj.js} +27 -27
  42. package/dist/chunks/{file-access-fyfy8w34.js → workspace-3xmpap9n.js} +89 -89
  43. package/dist/chunks/{file-access-g8mfynjh.js → workspace-4t8knyq2.js} +5 -5
  44. package/dist/chunks/{file-access-rdqmx1a9.js → workspace-4tc7j1s6.js} +18 -18
  45. package/dist/chunks/{file-access-6ra6d4eb.js → workspace-4wywd361.js} +18 -18
  46. package/dist/chunks/{file-access-pgd7th8y.js → workspace-4znvn7gr.js} +20 -20
  47. package/dist/chunks/{file-access-bdqw341w.js → workspace-51zkqdw5.js} +9 -9
  48. package/dist/chunks/{file-access-bwckxjxx.js → workspace-52gr90nh.js} +11 -11
  49. package/dist/chunks/{file-access-m0t09dx6.js → workspace-52v19zrt.js} +11 -11
  50. package/dist/chunks/{file-access-p20b49vp.js → workspace-56ymmxn6.js} +15 -15
  51. package/dist/chunks/{file-access-429753mr.js → workspace-5bzxswar.js} +11 -11
  52. package/dist/chunks/{file-access-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  53. package/dist/chunks/{file-access-cdafskgp.js → workspace-5p22jxmx.js} +30 -30
  54. package/dist/chunks/{file-access-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{file-access-973t1awa.js → workspace-5tcart1v.js} +11 -11
  56. package/dist/chunks/{file-access-jw80jp6b.js → workspace-5wtwrezn.js} +19 -19
  57. package/dist/chunks/{file-access-07z80f2r.js → workspace-640tze88.js} +38 -38
  58. package/dist/chunks/{file-access-669tq793.js → workspace-669tq793.js} +1 -1
  59. package/dist/chunks/{file-access-e4kmf4qy.js → workspace-6dgtvp0d.js} +3 -3
  60. package/dist/chunks/{file-access-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{file-access-50ta80k7.js → workspace-6n9fsvem.js} +29 -29
  62. package/dist/chunks/{file-access-3r15nznh.js → workspace-76005v5f.js} +14 -14
  63. package/dist/chunks/{file-access-3kd4kkpe.js → workspace-76prynaz.js} +21 -21
  64. package/dist/chunks/{file-access-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{file-access-7dqw4kz8.js → workspace-7dqw4kz8.js} +1 -1
  66. package/dist/chunks/{file-access-jk18z2h0.js → workspace-7mwh74bs.js} +47 -47
  67. package/dist/chunks/{file-access-w4arg62q.js → workspace-7yqjxrmz.js} +6 -6
  68. package/dist/chunks/{file-access-3801kdgp.js → workspace-84zcxbc9.js} +5 -5
  69. package/dist/chunks/{file-access-ghfx7cxe.js → workspace-8aa7pp5r.js} +6 -6
  70. package/dist/chunks/{file-access-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  71. package/dist/chunks/{file-access-tr6q4q7a.js → workspace-8e8ps5tf.js} +304 -304
  72. package/dist/chunks/{file-access-h2r7bbkd.js → workspace-8hgfhrm0.js} +7 -7
  73. package/dist/chunks/{file-access-dj2t23y0.js → workspace-8p4f9s12.js} +2 -2
  74. package/dist/chunks/{file-access-d6n1kzbs.js → workspace-8zgc7er9.js} +24 -24
  75. package/dist/chunks/{file-access-d4we50a8.js → workspace-96mnwtcy.js} +3 -3
  76. package/dist/chunks/{file-access-6ngywp90.js → workspace-9705fph6.js} +4 -4
  77. package/dist/chunks/{file-access-mh6swfa3.js → workspace-9afpsfvx.js} +18 -18
  78. package/dist/chunks/{file-access-cv01vac5.js → workspace-9b4mawvy.js} +7 -7
  79. package/dist/chunks/{file-access-gqx40acz.js → workspace-9c4ssm1m.js} +26 -26
  80. package/dist/chunks/{file-access-8s8mxddj.js → workspace-9h41vc4j.js} +4 -4
  81. package/dist/chunks/{file-access-dmaq6vaq.js → workspace-9j1vvs8j.js} +18 -18
  82. package/dist/chunks/{file-access-b09hzw3k.js → workspace-9jwxq161.js} +2 -2
  83. package/dist/chunks/{file-access-nnbww75a.js → workspace-9m2qs40w.js} +24 -24
  84. package/dist/chunks/{file-access-b91g9yem.js → workspace-9qe8ae4t.js} +27 -27
  85. package/dist/chunks/{file-access-hp80zfgt.js → workspace-9sh3hrkk.js} +18 -18
  86. package/dist/chunks/{file-access-j81snqjq.js → workspace-9x5tcemn.js} +33 -33
  87. package/dist/chunks/{file-access-5c4hm403.js → workspace-a1bz86dw.js} +3 -3
  88. package/dist/chunks/{file-access-7nag52br.js → workspace-a5a142dt.js} +16 -16
  89. package/dist/chunks/{file-access-vnk9czdx.js → workspace-aa9t59y1.js} +3 -3
  90. package/dist/chunks/{file-access-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  91. package/dist/chunks/{file-access-cjdw8dac.js → workspace-adnwk2gk.js} +17 -17
  92. package/dist/chunks/{file-access-y6kaprky.js → workspace-ag4kexbf.js} +16 -16
  93. package/dist/chunks/{file-access-4fxenty0.js → workspace-amrr7ry4.js} +18 -18
  94. package/dist/chunks/{file-access-539f8y6e.js → workspace-aybvkqa5.js} +32 -32
  95. package/dist/chunks/{file-access-hbffz1ak.js → workspace-azhhx3ms.js} +18 -18
  96. package/dist/chunks/{file-access-f6gdkqfj.js → workspace-b1y316pz.js} +12 -12
  97. package/dist/chunks/{file-access-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{file-access-psbckgmn.js → workspace-b6tzn7vp.js} +6 -6
  99. package/dist/chunks/{file-access-jjfctqnb.js → workspace-baka6n5b.js} +21 -21
  100. package/dist/chunks/{file-access-bb29ry6c.js → workspace-bj35d2pw.js} +2 -2
  101. package/dist/chunks/{file-access-3mkra18j.js → workspace-bq7nf7xv.js} +70 -70
  102. package/dist/chunks/{file-access-2b61h377.js → workspace-bw5fx9w3.js} +28 -28
  103. package/dist/chunks/{file-access-cpneeje0.js → workspace-c765mh8b.js} +8 -8
  104. package/dist/chunks/{file-access-y47hdg98.js → workspace-c9ynr917.js} +32 -32
  105. package/dist/chunks/workspace-cdngtrdw.js +252 -0
  106. package/dist/chunks/{file-access-m0jqrx5p.js → workspace-cfpkc3c9.js} +2 -2
  107. package/dist/chunks/{file-access-gg9g55xx.js → workspace-cjwramev.js} +8 -8
  108. package/dist/chunks/{file-access-by699wbx.js → workspace-cpjjta28.js} +33 -33
  109. package/dist/chunks/{file-access-fab8hzt3.js → workspace-cq37gk0t.js} +4 -4
  110. package/dist/chunks/{file-access-msq0jde0.js → workspace-csf2jhsg.js} +4 -4
  111. package/dist/chunks/{file-access-3e46v5sb.js → workspace-d0cqzhqk.js} +11 -11
  112. package/dist/chunks/{file-access-hnxgzxxa.js → workspace-d5ttdwt8.js} +15 -15
  113. package/dist/chunks/{file-access-qy4kp7rq.js → workspace-dev81jam.js} +10 -10
  114. package/dist/chunks/{file-access-6f0f4x0a.js → workspace-dg3actxj.js} +14 -14
  115. package/dist/chunks/{file-access-cfvwxf1e.js → workspace-dg479f66.js} +54 -54
  116. package/dist/chunks/{file-access-p789xr5w.js → workspace-dhsfmmf6.js} +19 -19
  117. package/dist/chunks/{file-access-e7fqda9w.js → workspace-djses6k1.js} +25 -25
  118. package/dist/chunks/{file-access-x822bj3k.js → workspace-dn898nnx.js} +14 -14
  119. package/dist/chunks/{file-access-dpkg50ah.js → workspace-dpkg50ah.js} +1 -1
  120. package/dist/chunks/{file-access-57b9ws8p.js → workspace-drwq78ky.js} +5 -5
  121. package/dist/chunks/{file-access-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
  122. package/dist/chunks/{file-access-b6ae6k6t.js → workspace-e5wkkm03.js} +14 -14
  123. package/dist/chunks/{file-access-ymhwy2dz.js → workspace-ecjcczzd.js} +26 -26
  124. package/dist/chunks/{file-access-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{file-access-zrbnsv4e.js → workspace-em3wvctz.js} +15 -15
  126. package/dist/chunks/{file-access-76eeqvp0.js → workspace-emz89tv7.js} +6 -6
  127. package/dist/chunks/{file-access-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
  128. package/dist/chunks/{file-access-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{file-access-1acjjqhc.js → workspace-f2n192rq.js} +4 -4
  130. package/dist/chunks/{file-access-f4kahraq.js → workspace-f7bpj06z.js} +35 -35
  131. package/dist/chunks/{file-access-hdnk95c8.js → workspace-f828m53h.js} +2 -2
  132. package/dist/chunks/{file-access-hqe9mxx7.js → workspace-f9mw7c7h.js} +9 -9
  133. package/dist/chunks/{file-access-m8pm17pr.js → workspace-feqpnje0.js} +14 -14
  134. package/dist/chunks/workspace-fh9v80gy.js +326 -0
  135. package/dist/chunks/{file-access-xk747vep.js → workspace-fhs97t90.js} +8 -8
  136. package/dist/chunks/{file-access-ct4e4g17.js → workspace-fjq5ektr.js} +20 -20
  137. package/dist/chunks/{file-access-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{file-access-dkycemac.js → workspace-fyrtbwax.js} +13 -13
  139. package/dist/chunks/{file-access-2ehxpneg.js → workspace-g7jvb7c9.js} +12 -12
  140. package/dist/chunks/{file-access-8e2h7wda.js → workspace-g99e2w2z.js} +10 -10
  141. package/dist/chunks/{file-access-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{file-access-32dd2556.js → workspace-gjnmnqwt.js} +11 -11
  143. package/dist/chunks/{file-access-x343n0eb.js → workspace-gqef77pn.js} +9 -9
  144. package/dist/chunks/{file-access-acgtajkt.js → workspace-grprzeq7.js} +32 -32
  145. package/dist/chunks/{file-access-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  146. package/dist/chunks/{file-access-t68dv28a.js → workspace-gvmqr5pk.js} +25 -25
  147. package/dist/chunks/{file-access-749gjf0k.js → workspace-gwcgtenh.js} +3 -3
  148. package/dist/chunks/{file-access-wqbdqa8s.js → workspace-gx7pnxmb.js} +16 -16
  149. package/dist/chunks/{file-access-7rhez3ay.js → workspace-gxhq3ync.js} +13 -13
  150. package/dist/chunks/{file-access-j8zzr2am.js → workspace-gzbkpp9m.js} +6 -6
  151. package/dist/chunks/{file-access-5dkxrwgc.js → workspace-h2211vcb.js} +29 -29
  152. package/dist/chunks/{file-access-h6r3nrb9.js → workspace-h6r3nrb9.js} +1 -1
  153. package/dist/chunks/{file-access-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{file-access-2k71kv7p.js → workspace-h90v2x9d.js} +4 -4
  155. package/dist/chunks/{file-access-q77h0pfr.js → workspace-hckqc91h.js} +1 -1
  156. package/dist/chunks/{file-access-e6hmchc5.js → workspace-hcz3zddy.js} +5 -5
  157. package/dist/chunks/{file-access-xkezg9v4.js → workspace-hj5t9pdr.js} +40 -40
  158. package/dist/chunks/{file-access-hs4q6rma.js → workspace-hk53zz53.js} +31 -31
  159. package/dist/chunks/{file-access-f73rjn58.js → workspace-hn57h045.js} +4 -4
  160. package/dist/chunks/{file-access-nhy1v657.js → workspace-hn5pff8k.js} +24 -24
  161. package/dist/chunks/{file-access-wargq46t.js → workspace-hn77gdma.js} +8 -8
  162. package/dist/chunks/{file-access-ajspsemm.js → workspace-htw1ycyk.js} +13 -13
  163. package/dist/chunks/{file-access-7vxmp99d.js → workspace-hygh15yy.js} +11 -11
  164. package/dist/chunks/{file-access-07xdjdg8.js → workspace-j0cv997d.js} +15 -15
  165. package/dist/chunks/{file-access-4fqyk320.js → workspace-j1ffvbkn.js} +27 -27
  166. package/dist/chunks/{file-access-984xje6x.js → workspace-j42yeeyy.js} +9 -9
  167. package/dist/chunks/{file-access-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  168. package/dist/chunks/{file-access-11dqjexa.js → workspace-j58c5xyq.js} +9 -9
  169. package/dist/chunks/{file-access-r55eyngd.js → workspace-j63bvea4.js} +24 -24
  170. package/dist/chunks/{file-access-c1gs3dh6.js → workspace-j92jf1xs.js} +44 -44
  171. package/dist/chunks/{file-access-4cd0e9e2.js → workspace-jcrz4hmc.js} +3 -3
  172. package/dist/chunks/{file-access-ddbmfv8e.js → workspace-jejc27r1.js} +20 -20
  173. package/dist/chunks/{file-access-hmdtv3hb.js → workspace-jwha2mbq.js} +1 -1
  174. package/dist/chunks/{file-access-nzks3jc8.js → workspace-k3c624dm.js} +3 -3
  175. package/dist/chunks/{file-access-v9n4nm77.js → workspace-k4gqzfjc.js} +9 -9
  176. package/dist/chunks/{file-access-ywtj6b3p.js → workspace-k6d5y4dc.js} +36 -36
  177. package/dist/chunks/{file-access-cpzp4n4f.js → workspace-k8cw4d8y.js} +16 -16
  178. package/dist/chunks/{file-access-zbt6ewdw.js → workspace-k937qatw.js} +13 -13
  179. package/dist/chunks/{file-access-8mp2c53x.js → workspace-kms6q2ez.js} +33 -33
  180. package/dist/chunks/{file-access-3tq5qxbk.js → workspace-knb7evpn.js} +8 -8
  181. package/dist/chunks/{file-access-g64s1pw7.js → workspace-kxmwd5yc.js} +14 -14
  182. package/dist/chunks/{file-access-w66yan3f.js → workspace-m1bgddgg.js} +24 -24
  183. package/dist/chunks/{file-access-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{file-access-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{file-access-myjzxhnr.js → workspace-mbx2ejk6.js} +15 -15
  186. package/dist/chunks/{file-access-990r0brb.js → workspace-mcaqvdzr.js} +41 -41
  187. package/dist/chunks/{file-access-qb83d845.js → workspace-mdrscssp.js} +4 -4
  188. package/dist/chunks/{file-access-1ygqh575.js → workspace-mfqp6xfm.js} +6 -6
  189. package/dist/chunks/{file-access-1bbkgx8g.js → workspace-mhkvc446.js} +3 -3
  190. package/dist/chunks/{file-access-hjc52t7v.js → workspace-mvtq8teh.js} +16 -16
  191. package/dist/chunks/{file-access-r5vpk0b1.js → workspace-mxzszbxx.js} +4 -4
  192. package/dist/chunks/{file-access-tqxh9sy6.js → workspace-n5xymp74.js} +10 -10
  193. package/dist/chunks/{file-access-b9kgzdcb.js → workspace-n6v7ce86.js} +3 -3
  194. package/dist/chunks/{file-access-pykkax91.js → workspace-n6yg2dx3.js} +9 -9
  195. package/dist/chunks/{file-access-fa4s9qj6.js → workspace-nrrebj3s.js} +5 -5
  196. package/dist/chunks/{file-access-9z5eege9.js → workspace-nvesdtrj.js} +9 -9
  197. package/dist/chunks/{file-access-pecb0brz.js → workspace-nxhqveyz.js} +5 -5
  198. package/dist/chunks/{file-access-ed2prt79.js → workspace-p08vy892.js} +20 -20
  199. package/dist/chunks/{file-access-p28j5sbe.js → workspace-p28j5sbe.js} +2 -2
  200. package/dist/chunks/{file-access-9hn6k4tm.js → workspace-pa8pe2x7.js} +8 -8
  201. package/dist/chunks/workspace-pf31ssb9.js +18 -0
  202. package/dist/chunks/{file-access-99sjx0yd.js → workspace-phn0hpgm.js} +24 -24
  203. package/dist/chunks/{file-access-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{file-access-pknna89w.js → workspace-pknna89w.js} +1 -1
  205. package/dist/chunks/{file-access-z6as0dsg.js → workspace-pytmt9db.js} +6 -6
  206. package/dist/chunks/{file-access-c1bpz4ww.js → workspace-pzgjdz9t.js} +13 -13
  207. package/dist/chunks/{file-access-qbw71bk2.js → workspace-q3bxgjqn.js} +4 -4
  208. package/dist/chunks/{file-access-71wn7kdp.js → workspace-qamn654r.js} +22 -22
  209. package/dist/chunks/workspace-qapv375x.js +4 -0
  210. package/dist/chunks/{file-access-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  211. package/dist/chunks/{file-access-8p86mmx1.js → workspace-qt8r77pr.js} +43 -43
  212. package/dist/chunks/{file-access-73kdj4zj.js → workspace-qwjmgwmn.js} +8 -8
  213. package/dist/chunks/{file-access-qsm0cf7x.js → workspace-qyjqzc07.js} +5 -5
  214. package/dist/chunks/{file-access-8wtbgtx1.js → workspace-r0xdmm2x.js} +3 -3
  215. package/dist/chunks/{file-access-t9zs3egg.js → workspace-r98e92ep.js} +4 -4
  216. package/dist/chunks/{file-access-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{file-access-8dh3tjm7.js → workspace-rg9v85ha.js} +5 -5
  218. package/dist/chunks/{file-access-7qdpe4cb.js → workspace-rghjtt8s.js} +9 -9
  219. package/dist/chunks/{file-access-rhjbct0v.js → workspace-rhjbct0v.js} +1 -1
  220. package/dist/chunks/{file-access-8jkn9f9x.js → workspace-rhs20sc7.js} +8 -8
  221. package/dist/chunks/{file-access-na55b3aj.js → workspace-rqbg1bcf.js} +23 -23
  222. package/dist/chunks/{file-access-f29kztmg.js → workspace-s1w4g419.js} +32 -32
  223. package/dist/chunks/{file-access-yrznvahk.js → workspace-s4enseaf.js} +2 -2
  224. package/dist/chunks/{file-access-hx57yszd.js → workspace-s88rm0rm.js} +15 -15
  225. package/dist/chunks/{file-access-4r3fv45v.js → workspace-schm2sng.js} +8 -8
  226. package/dist/chunks/{file-access-x5wzxpg9.js → workspace-sh5j93g6.js} +17 -17
  227. package/dist/chunks/{file-access-y6f0p4jw.js → workspace-skyymkrr.js} +2 -2
  228. package/dist/chunks/{file-access-xw30s5m2.js → workspace-snrwn5jy.js} +20 -20
  229. package/dist/chunks/{file-access-2t5vnt8a.js → workspace-sp98yqng.js} +5 -5
  230. package/dist/chunks/{file-access-65amc4wc.js → workspace-srym6801.js} +17 -17
  231. package/dist/chunks/{file-access-21mxbb5z.js → workspace-t9v3wm2f.js} +8 -8
  232. package/dist/chunks/{file-access-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{file-access-83whvwx3.js → workspace-tb1f4dxy.js} +15 -15
  234. package/dist/chunks/{file-access-633q10n3.js → workspace-tbvspnbj.js} +16 -16
  235. package/dist/chunks/{file-access-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{file-access-hcjxfz2r.js → workspace-tcmcg8px.js} +20 -20
  237. package/dist/chunks/{file-access-tdstcens.js → workspace-tdstcens.js} +1 -1
  238. package/dist/chunks/{file-access-s138ptrs.js → workspace-tf5sv5hw.js} +22 -22
  239. package/dist/chunks/{file-access-pstg3rfm.js → workspace-ts2x07a1.js} +1 -1
  240. package/dist/chunks/{file-access-fgdyrx1e.js → workspace-tvjwykrv.js} +20 -20
  241. package/dist/chunks/{file-access-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  242. package/dist/chunks/{file-access-dycq19tv.js → workspace-tzrxspzq.js} +13 -13
  243. package/dist/chunks/{file-access-bqgqs8e0.js → workspace-v4hc9963.js} +13 -13
  244. package/dist/chunks/{file-access-6br953sr.js → workspace-v6gegsry.js} +4 -4
  245. package/dist/chunks/{file-access-yw9d9gv0.js → workspace-vasgb4rq.js} +11 -11
  246. package/dist/chunks/{file-access-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  247. package/dist/chunks/{file-access-sr7sk3ee.js → workspace-verpn3ap.js} +31 -31
  248. package/dist/chunks/{file-access-7bvyxnqv.js → workspace-vezzzda7.js} +3 -3
  249. package/dist/chunks/{file-access-9gea571p.js → workspace-vqfzq50h.js} +6 -6
  250. package/dist/chunks/{file-access-j20k1wmq.js → workspace-vr6b7mr3.js} +6 -6
  251. package/dist/chunks/{file-access-bjr5keq3.js → workspace-vs25hdcx.js} +24 -24
  252. package/dist/chunks/{file-access-587z1aba.js → workspace-vv04kfpz.js} +57 -57
  253. package/dist/chunks/{file-access-sgyk931h.js → workspace-vvq5e17p.js} +48 -48
  254. package/dist/chunks/{file-access-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{file-access-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{file-access-a694798e.js → workspace-w8xr7nv8.js} +5 -5
  257. package/dist/chunks/{file-access-dnwybsw8.js → workspace-w9r9xghe.js} +13 -13
  258. package/dist/chunks/{file-access-753eeyv7.js → workspace-wactcfnt.js} +20 -20
  259. package/dist/chunks/{file-access-wd87259q.js → workspace-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-access-vaxycq8g.js → workspace-wtq3xfw6.js} +11 -11
  261. package/dist/chunks/{file-access-gmdq7e7c.js → workspace-wvnvj3ny.js} +16 -16
  262. package/dist/chunks/{file-access-320sf96d.js → workspace-wxcv19ds.js} +19 -19
  263. package/dist/chunks/{file-access-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{file-access-84b5617d.js → workspace-x38a7pd9.js} +10 -10
  265. package/dist/chunks/{file-access-tr06x23f.js → workspace-x5pkgzc5.js} +10 -10
  266. package/dist/chunks/{file-access-0qthdtb2.js → workspace-x91xbnrx.js} +38 -38
  267. package/dist/chunks/{file-access-80vay0ye.js → workspace-x9s3fszq.js} +8 -8
  268. package/dist/chunks/{file-access-v5dkyp31.js → workspace-xb02k0wq.js} +4 -4
  269. package/dist/chunks/{file-access-fekv09bf.js → workspace-xbb7hcq8.js} +87 -87
  270. package/dist/chunks/{file-access-nvyr67dc.js → workspace-xhrj4m9x.js} +4 -4
  271. package/dist/chunks/{file-access-33kn07h9.js → workspace-xnrjh0c9.js} +26 -26
  272. package/dist/chunks/{file-access-5hrwwz9b.js → workspace-xsqft5rp.js} +9 -9
  273. package/dist/chunks/{file-access-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{file-access-w3x9v1nk.js → workspace-y1qqcj8h.js} +8 -8
  275. package/dist/chunks/{file-access-k99v8nfg.js → workspace-y85xckx8.js} +15 -15
  276. package/dist/chunks/{file-access-ehm8cjhm.js → workspace-ydj4c9qd.js} +10 -10
  277. package/dist/chunks/{file-access-amt0nx1c.js → workspace-yr9g6ed9.js} +11 -11
  278. package/dist/chunks/{file-access-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{file-access-xc4ptd00.js → workspace-yt0nqd71.js} +26 -26
  280. package/dist/chunks/{file-access-ymy3mzn4.js → workspace-yz3kvdcx.js} +35 -35
  281. package/dist/chunks/{file-access-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{file-access-g7tjr95a.js → workspace-z0fspzj3.js} +7 -7
  283. package/dist/chunks/{file-access-c78bbtc9.js → workspace-z3pw5915.js} +5 -5
  284. package/dist/chunks/{file-access-cg505evj.js → workspace-z6r9rkh1.js} +13 -13
  285. package/dist/chunks/{file-access-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{file-access-xdbpqf0a.js → workspace-zgr14hn3.js} +47 -47
  287. package/dist/chunks/{file-access-pjk7etnw.js → workspace-zmxsg9ks.js} +5 -5
  288. package/dist/chunks/{file-access-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-access-73j3stez.js → workspace-zrnz6j7v.js} +24 -24
  290. package/dist/chunks/{file-access-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +78 -78
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +121 -121
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +78 -78
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  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 +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  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 +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +4 -4
  424. package/dist/filesystem/location-watcher.js +226 -226
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +96 -96
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +101 -101
  430. package/dist/form.js +79 -79
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +82 -82
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +1 -1
  462. package/dist/integration/connection.js +1 -1
  463. package/dist/integration.js +83 -83
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +84 -84
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +97 -97
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +79 -79
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +114 -114
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  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 +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +5 -5
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +85 -85
  562. package/dist/provider.js +96 -96
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +95 -95
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +89 -89
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +84 -84
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +214 -214
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +213 -213
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +4 -4
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +92 -92
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +119 -119
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +104 -104
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +106 -106
  647. package/dist/tool/plugin/subagent.js +212 -212
  648. package/dist/tool/plugin/webfetch.js +105 -105
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +5 -5
  675. package/dist/v1/config/plugin.js +1 -1
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +83 -83
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/file-access-0mesazry.js +0 -4
  697. package/dist/chunks/file-access-76fbbr1w.js +0 -326
  698. package/dist/chunks/file-access-7wwxh8rt.js +0 -252
  699. package/dist/chunks/file-access-dxj72tfx.js +0 -18
  700. package/dist/chunks/file-access-w7r2hqeb.js +0 -26
  701. /package/dist/chunks/{file-access-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{file-access-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{file-access-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{file-access-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{file-access-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{file-access-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{file-access-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{file-access-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{file-access-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{file-access-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{file-access-3asan66x.js → workspace-3asan66x.js} +0 -0
  712. /package/dist/chunks/{file-access-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{file-access-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{file-access-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{file-access-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{file-access-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{file-access-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{file-access-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{file-access-53557ph1.js → workspace-53557ph1.js} +0 -0
  720. /package/dist/chunks/{file-access-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{file-access-6prwharc.js → workspace-6prwharc.js} +0 -0
  722. /package/dist/chunks/{file-access-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{file-access-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{file-access-822emrt2.js → workspace-822emrt2.js} +0 -0
  725. /package/dist/chunks/{file-access-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{file-access-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{file-access-922hggd3.js → workspace-922hggd3.js} +0 -0
  728. /package/dist/chunks/{file-access-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{file-access-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{file-access-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{file-access-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{file-access-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{file-access-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{file-access-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{file-access-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{file-access-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{file-access-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{file-access-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{file-access-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{file-access-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{file-access-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{file-access-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{file-access-df08tz66.js → workspace-df08tz66.js} +0 -0
  744. /package/dist/chunks/{file-access-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{file-access-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{file-access-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{file-access-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{file-access-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{file-access-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{file-access-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{file-access-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{file-access-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{file-access-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{file-access-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{file-access-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{file-access-g86h250q.js → workspace-g86h250q.js} +0 -0
  757. /package/dist/chunks/{file-access-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{file-access-gftt206x.js → workspace-gftt206x.js} +0 -0
  759. /package/dist/chunks/{file-access-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{file-access-hk9envan.js → workspace-hk9envan.js} +0 -0
  761. /package/dist/chunks/{file-access-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{file-access-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{file-access-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{file-access-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{file-access-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{file-access-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{file-access-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{file-access-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{file-access-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{file-access-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{file-access-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{file-access-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{file-access-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{file-access-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{file-access-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{file-access-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{file-access-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{file-access-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{file-access-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{file-access-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{file-access-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{file-access-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{file-access-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{file-access-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{file-access-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{file-access-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{file-access-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{file-access-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{file-access-x61499pn.js → workspace-x61499pn.js} +0 -0
  790. /package/dist/chunks/{file-access-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{file-access-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{file-access-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{file-access-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{file-access-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{file-access-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID11,
2
+ ID8,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./file-access-nnbww75a.js";
5
+ } from "./workspace-9m2qs40w.js";
6
6
  import {
7
7
  merge2
8
- } from "./file-access-587z1aba.js";
8
+ } from "./workspace-vv04kfpz.js";
9
9
  import {
10
10
  __export
11
- } from "./file-access-9rqn6x4v.js";
11
+ } from "./workspace-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent = {};
15
- __export(exports_agent, {
16
- AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin14
14
+ var exports_agent2 = {};
15
+ __export(exports_agent2, {
16
+ AgentPlugin: () => exports_agent2,
17
+ Plugin: () => Plugin28
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin14 = define({
93
+ var Plugin28 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin14 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID11.make("general"), (item) => {
103
+ editor.update(ID8.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID11.make("explore"), (item) => {
109
+ editor.update(ID8.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin14 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID11.make("compaction"), (item) => {
128
+ editor.update(ID8.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID11.make("title"), (item) => {
133
+ editor.update(ID8.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID11.make("summary"), (item) => {
140
+ editor.update(ID8.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin14 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin14, exports_agent };
151
+ export { Plugin28, exports_agent2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-access-bwckxjxx.js";
3
+ } from "./workspace-52gr90nh.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin2,
11
+ Plugin: () => Plugin22,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint2 = "https://api.tavily.com/search";
18
+ var endpoint4 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin2 = define({
32
+ var Plugin22 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin2 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin2 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin2, exports_tavily };
80
+ export { endpoint4, Plugin22, exports_tavily };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service79
3
- } from "./file-access-3r15nznh.js";
2
+ Service77
3
+ } from "./workspace-76005v5f.js";
4
4
  import {
5
5
  latest2,
6
- Service46
7
- } from "./file-access-990r0brb.js";
6
+ Service66
7
+ } from "./workspace-mcaqvdzr.js";
8
8
  import {
9
- Service19
10
- } from "./file-access-myjzxhnr.js";
9
+ Service36
10
+ } from "./workspace-mbx2ejk6.js";
11
11
  import {
12
- make7
13
- } from "./file-access-1bbkgx8g.js";
12
+ make9
13
+ } from "./workspace-mhkvc446.js";
14
14
  import {
15
15
  observe2
16
- } from "./file-access-qsdy395h.js";
16
+ } from "./workspace-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./file-access-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin26
25
+ Plugin: () => Plugin15
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
30
30
  import { Npm } from "@opencode/util/npm";
31
31
  import { AppProcess } from "@opencode/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin26 = define({
33
+ var Plugin15 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
- const config = yield* Service46;
37
- const formatter = yield* Service19;
36
+ const config = yield* Service66;
37
+ const formatter = yield* Service36;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
- const location = yield* Service79;
40
+ const location = yield* Service77;
41
41
  const npm = yield* Npm.Service;
42
42
  const processes = yield* AppProcess.Service;
43
43
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -45,7 +45,7 @@ var Plugin26 = define({
45
45
  const configured = latest2(loaded.entries, "formatter");
46
46
  if (!configured)
47
47
  return;
48
- const builtIns = make7({
48
+ const builtIns = make9({
49
49
  directory: location.directory,
50
50
  worktree: location.project.directory,
51
51
  fs,
@@ -74,4 +74,4 @@ var Plugin26 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin26, exports_formatter };
77
+ export { Plugin15, exports_formatter };
@@ -2,6 +2,6 @@
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
4
  var ID10 = Session.ID;
5
- var Info23 = Session.Info;
5
+ var Info25 = Session.Info;
6
6
 
7
- export { ID10, Info23, SessionSchema2 };
7
+ export { ID10, Info25, SessionSchema2 };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service82
3
- } from "./file-access-qb83d845.js";
3
+ } from "./workspace-mdrscssp.js";
4
4
  import {
5
- Service65
6
- } from "./file-access-acgtajkt.js";
5
+ Service35
6
+ } from "./workspace-grprzeq7.js";
7
7
  import {
8
- Error4
9
- } from "./file-access-bjr5keq3.js";
8
+ Error2
9
+ } from "./workspace-vs25hdcx.js";
10
10
  import {
11
- Service52
12
- } from "./file-access-2ehxpneg.js";
11
+ Service64
12
+ } from "./workspace-g7jvb7c9.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./file-access-984xje6x.js";
15
+ } from "./workspace-j42yeeyy.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./file-access-ec1grn59.js";
18
+ } from "./workspace-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./file-access-6br953sr.js";
21
+ } from "./workspace-v6gegsry.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./file-access-tdstcens.js";
24
+ } from "./workspace-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./file-access-erw5rpbs.js";
27
+ } from "./workspace-erw5rpbs.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./file-access-zkhjfb6b.js";
30
+ } from "./workspace-3dn0bamk.js";
31
31
  import {
32
32
  __export
33
- } from "./file-access-9rqn6x4v.js";
33
+ } from "./workspace-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make8
40
+ make: () => make3
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make8 = Effect.gen(function* () {
54
+ var make3 = Effect.gen(function* () {
55
55
  const bus = yield* Service82;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service65;
58
- const toolOutput = yield* Service52;
57
+ const snapshots = yield* Service35;
58
+ const toolOutput = yield* Service64;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error4({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error2({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
209
209
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
210
210
  };
211
211
 
212
- export { Outcome2, make8, exports_step };
212
+ export { Outcome2, make3, exports_step };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID13
3
- } from "./file-access-55bxwjz5.js";
2
+ ID12
3
+ } from "./workspace-0w8keya2.js";
4
4
  import {
5
5
  iife2
6
- } from "./file-access-1kg9ymc8.js";
6
+ } from "./workspace-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./file-access-ghfx7cxe.js";
9
+ } from "./workspace-8aa7pp5r.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID13.make("cloudflare-ai-gateway");
15
+ var providerID = ID12.make("cloudflare-ai-gateway");
16
16
  var CloudflareAIGatewayPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.ai.gateway",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./file-access-tvtrv512.js";
3
+ } from "./workspace-tvtrv512.js";
4
4
  import {
5
- Service73,
6
- node77
7
- } from "./file-access-qs81an5k.js";
5
+ Service81,
6
+ node85
7
+ } from "./workspace-186vekz9.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./file-access-gftt206x.js";
10
+ } from "./workspace-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./file-access-y6f0p4jw.js";
13
+ } from "./workspace-skyymkrr.js";
14
14
  import {
15
15
  __export
16
- } from "./file-access-9rqn6x4v.js";
16
+ } from "./workspace-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service61,
23
- make: () => make19,
24
- node: () => node64
22
+ Service: () => Service50,
23
+ make: () => make18,
24
+ node: () => node52
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
  var COMPLETED_LIMIT = 25;
53
53
 
54
- class Service61 extends Context.Service()("@opencode/Job") {
54
+ class Service50 extends Context.Service()("@opencode/Job") {
55
55
  }
56
56
  function snapshot(job) {
57
57
  return {
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
86
86
  next.set(sessionID, count - 1);
87
87
  return next;
88
88
  }
89
- var make19 = Effect.gen(function* () {
90
- const kv = yield* Service73;
89
+ var make18 = Effect.gen(function* () {
90
+ const kv = yield* Service81;
91
91
  const state = {
92
92
  jobs: yield* SynchronizedRef.make(new Map),
93
93
  scope: yield* Scope.Scope
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
346
346
  next.delete(entry[0]);
347
347
  return next;
348
348
  })));
349
- return Service61.of({
349
+ return Service50.of({
350
350
  get,
351
351
  start,
352
352
  wait,
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
358
358
  completeBackground
359
359
  });
360
360
  });
361
- var layer = Layer.effect(Service61, make19);
362
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [node77] });
361
+ var layer = Layer.effect(Service50, make18);
362
+ var node52 = makeGlobalNode({ service: Service50, layer, deps: [node85] });
363
363
 
364
- export { Service61, make19, node64, exports_job };
364
+ export { Service50, make18, node52, exports_job };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service42
3
- } from "./file-access-cpzp4n4f.js";
2
+ Service53
3
+ } from "./workspace-k8cw4d8y.js";
4
4
  import {
5
- Service59
6
- } from "./file-access-9gea571p.js";
5
+ Service41
6
+ } from "./workspace-vqfzq50h.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./file-access-dxj72tfx.js";
9
+ } from "./workspace-pf31ssb9.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service59;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
22
+ const instances = yield* Service41;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-access-4cd0e9e2.js";
4
+ } from "./workspace-jcrz4hmc.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./file-access-hdnk95c8.js";
7
+ } from "./workspace-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./file-access-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID9,
17
- Info: () => Info22,
16
+ ID: () => ID7,
17
+ Info: () => Info12,
18
18
  ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service68,
21
- node: () => node71
20
+ Service: () => Service58,
21
+ node: () => node60
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID9 = PermissionSaved.ID;
29
- var Info22 = PermissionSaved.Info;
28
+ var ID7 = PermissionSaved.ID;
29
+ var Info12 = PermissionSaved.Info;
30
30
  var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service68 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service58 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service68, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
42
42
  const db = (yield* Service83).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID9.create(),
60
+ id: ID7.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service68.of({ list, add, remove });
69
+ return Service58.of({ list, add, remove });
70
70
  }));
71
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [node87] });
71
+ var node60 = makeGlobalNode({ service: Service58, layer, deps: [node87] });
72
72
 
73
- export { ID9, Info22, ListInput5, AddInput2, Service68, node71, exports_saved };
73
+ export { ID7, Info12, ListInput5, AddInput2, Service58, node60, exports_saved };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-access-bwckxjxx.js";
3
+ } from "./workspace-52gr90nh.js";
4
4
  import {
5
5
  Service82
6
- } from "./file-access-qb83d845.js";
6
+ } from "./workspace-mdrscssp.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./file-access-wqbdqa8s.js";
10
+ } from "./workspace-gx7pnxmb.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./file-access-nbbbac21.js";
14
+ } from "./workspace-119stp71.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./file-access-pjvnvgmy.js";
18
+ } from "./workspace-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID12,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./file-access-55bxwjz5.js";
23
+ } from "./workspace-0w8keya2.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID14.make("openai"),
47
+ integrationID: ID13.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID14.make("openai"),
120
+ integrationID: ID13.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,7 +159,7 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin3 = define({
162
+ var OpenAIPlugin2 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
165
  const bus = yield* Service82;
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.provider.transform((providers) => {
181
- const item = providers.get(ID13.openai);
181
+ const item = providers.get(ID12.openai);
182
182
  if (!item)
183
183
  return;
184
184
  const account = chatgpt?.metadata?.accountID;
@@ -197,7 +197,7 @@ var OpenAIPlugin3 = define({
197
197
  });
198
198
  });
199
199
  yield* ctx.model.transform((models) => {
200
- for (const model of models.list(ID13.openai)) {
200
+ for (const model of models.list(ID12.openai)) {
201
201
  models.update(model.providerID, model.id, (draft) => {
202
202
  if (!chatgpt)
203
203
  return;
@@ -225,9 +225,9 @@ var OpenAIPlugin3 = define({
225
225
  evt.baseURL = codexBaseURL;
226
226
  evt.headers.originator = "opencode";
227
227
  evt.headers["session-id"] = evt.sessionID;
228
- }), { providerID: ID13.openai });
228
+ }), { providerID: ID12.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -318,4 +318,4 @@ function claim(token) {
318
318
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
319
319
  }
320
320
 
321
- export { OpenAIPlugin3 };
321
+ export { OpenAIPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};