@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
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-access-2a5m3afh.js";
5
+ } from "./workspace-2a5m3afh.js";
6
6
  import {
7
- Service79
8
- } from "./file-access-3r15nznh.js";
7
+ Service77
8
+ } from "./workspace-76005v5f.js";
9
9
  import {
10
- Service49
11
- } from "./file-access-r55eyngd.js";
10
+ Service69
11
+ } from "./workspace-j63bvea4.js";
12
12
  import {
13
- Service19
14
- } from "./file-access-myjzxhnr.js";
13
+ Service36
14
+ } from "./workspace-mbx2ejk6.js";
15
15
  import {
16
- Service14,
16
+ Service13,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./file-access-7rhez3ay.js";
19
+ } from "./workspace-gxhq3ync.js";
20
20
  import {
21
- Service66
22
- } from "./file-access-587z1aba.js";
21
+ Service56
22
+ } from "./workspace-vv04kfpz.js";
23
23
  import {
24
- Service20,
24
+ Service55,
25
25
  resolvePath2
26
- } from "./file-access-dmaq6vaq.js";
26
+ } from "./workspace-9j1vvs8j.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./file-access-6prwharc.js";
29
+ } from "./workspace-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./file-access-9rqn6x4v.js";
32
+ } from "./workspace-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input12,
39
- Output: () => Output8,
38
+ Input: () => Input5,
39
+ Output: () => Output4,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin47,
42
- name: () => name12,
43
- toModelContent: () => toModelContent6
41
+ Plugin: () => Plugin40,
42
+ name: () => name5,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name12 = "patch";
89
- var Input12 = Schema.Struct({
88
+ var name5 = "patch";
89
+ var Input5 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output8 = Schema.Struct({
99
+ var Output4 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent6 = (output) => [
103
+ var toModelContent3 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin47 = {
108
+ var Plugin40 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service49;
112
- const access = yield* Service20;
113
- const fileMutation = yield* Service14;
114
- const formatter = yield* Service19;
115
- const location = yield* Service79;
116
- const permission = yield* Service66;
111
+ const environment = yield* Service69;
112
+ const access = yield* Service55;
113
+ const fileMutation = yield* Service13;
114
+ const formatter = yield* Service36;
115
+ const location = yield* Service77;
116
+ const permission = yield* Service56;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name5,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input12,
122
- output: Output8,
121
+ input: Input5,
122
+ output: Output4,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin47 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent6(output),
269
+ content: toModelContent3(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name12, Input12, Applied2, Output8, toModelContent6, Plugin47, exports_patch };
329
+ export { name5, Input5, Applied2, Output4, toModelContent3, Plugin40, exports_patch };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./file-access-qb83d845.js";
4
+ } from "./workspace-mdrscssp.js";
5
5
  import {
6
6
  create3
7
- } from "./file-access-rdw6cm16.js";
7
+ } from "./workspace-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-access-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
@@ -15,17 +15,17 @@ __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
16
  Event: () => Event8,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info7,
18
+ Info: () => Info10,
19
19
  NotFoundError: () => NotFoundError6,
20
- Service: () => Service42,
21
- layer: () => layer17,
22
- node: () => node45
20
+ Service: () => Service53,
21
+ layer: () => layer19,
22
+ node: () => node55
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  import { Event as Event8 } from "@opencode/schema/command";
28
- var Info7 = Command.Info;
28
+ var Info10 = Command.Info;
29
29
 
30
30
  class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service42 extends Context.Service()("@opencode/Command") {
42
+ class Service53 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service42, Effect.gen(function* () {
44
+ var layer19 = Layer.effect(Service53, Effect.gen(function* () {
45
45
  const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info7.make({
54
+ const info = (definition) => Info10.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service42.of({
58
+ return Service53.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -71,9 +71,9 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
71
71
  })
72
72
  });
73
73
  }));
74
- var node45 = makeLocationNode({
75
- service: Service42,
76
- layer: layer17,
74
+ var node55 = makeLocationNode({
75
+ service: Service53,
76
+ layer: layer19,
77
77
  deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError6, ExecutionError2, Service42, layer17, node45, exports_command4, Event8 };
89
+ export { Info10, NotFoundError6, ExecutionError2, Service53, layer19, node55, exports_command4, Event8 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./file-access-3r15nznh.js";
2
+ Service77,
3
+ node81
4
+ } from "./workspace-76005v5f.js";
5
5
  import {
6
6
  Key3,
7
7
  make20,
8
8
  combine2
9
- } from "./file-access-rhjbct0v.js";
9
+ } from "./workspace-rhjbct0v.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service37,
19
- node: () => node40
18
+ Service: () => Service19,
19
+ node: () => node23
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service37 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service19 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service37, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service79;
29
- return Service37.of({
28
+ const location = yield* Service77;
29
+ return Service19.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
31
  make20({
32
32
  key: Key3.make("core/environment"),
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node40 = makeLocationNode({ service: Service37, layer, deps: [Global.node, node83] });
64
+ var node23 = makeLocationNode({ service: Service19, layer, deps: [Global.node, node81] });
65
65
 
66
- export { Service37, node40, exports_builtins };
66
+ export { Service19, node23, exports_builtins };
@@ -1,46 +1,46 @@
1
1
  import {
2
- ID11,
3
- Service69
4
- } from "./file-access-nnbww75a.js";
2
+ ID8,
3
+ Service59
4
+ } from "./workspace-9m2qs40w.js";
5
5
  import {
6
6
  Ref2,
7
- Service74
8
- } from "./file-access-4fqyk320.js";
7
+ Service72
8
+ } from "./workspace-j1ffvbkn.js";
9
9
  import {
10
10
  latest2,
11
- Service46
12
- } from "./file-access-990r0brb.js";
11
+ Service66
12
+ } from "./workspace-mcaqvdzr.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./file-access-y6f0p4jw.js";
15
+ } from "./workspace-skyymkrr.js";
16
16
  import {
17
- Service61
18
- } from "./file-access-65amc4wc.js";
17
+ Service50
18
+ } from "./workspace-srym6801.js";
19
19
  import {
20
20
  evaluate2,
21
- Service66
22
- } from "./file-access-587z1aba.js";
21
+ Service56
22
+ } from "./workspace-vv04kfpz.js";
23
23
  import {
24
- Service29
25
- } from "./file-access-fekv09bf.js";
24
+ Service16
25
+ } from "./workspace-xbb7hcq8.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./file-access-x1ezjp6w.js";
28
+ } from "./workspace-x1ezjp6w.js";
29
29
  import {
30
- make9
31
- } from "./file-access-f71ryja2.js";
30
+ make10
31
+ } from "./workspace-09y5xx2s.js";
32
32
  import {
33
33
  __export
34
- } from "./file-access-9rqn6x4v.js";
34
+ } from "./workspace-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
39
  Input: () => Input8,
40
- Output: () => Output5,
40
+ Output: () => Output6,
41
41
  Plugin: () => Plugin43,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description4,
43
+ description: () => description5,
44
44
  name: () => name8
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
@@ -72,12 +72,12 @@ var Input8 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output5 = Schema.Struct({
75
+ var Output6 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description4 = [
80
+ var description5 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -89,13 +89,13 @@ var description4 = [
89
89
  var Plugin43 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service29;
93
- const jobs = yield* Service61;
94
- const agents = yield* Service69;
95
- const config = yield* Service46;
96
- const permission = yield* Service66;
97
- const models = yield* Service74;
98
- const subagents = yield* make9;
92
+ const sessions = yield* Service16;
93
+ const jobs = yield* Service50;
94
+ const agents = yield* Service59;
95
+ const config = yield* Service66;
96
+ const permission = yield* Service56;
97
+ const models = yield* Service72;
98
+ const subagents = yield* make10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -117,9 +117,9 @@ var Plugin43 = {
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
118
  name: name8,
119
119
  options: { codemode: false },
120
- description: description4,
120
+ description: description5,
121
121
  input: Input8,
122
- output: Output5,
122
+ output: Output6,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -168,7 +168,7 @@ var Plugin43 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID11.make(input.agent),
171
+ agent: ID8.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -241,4 +241,4 @@ ${output.output}
241
241
  })
242
242
  };
243
243
 
244
- export { name8, Input8, Output5, description4, Plugin43, exports_subagent };
244
+ export { name8, Input8, Output6, description5, Plugin43, exports_subagent };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./file-access-57b9ws8p.js";
2
+ render3
3
+ } from "./workspace-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service78
3
- } from "./file-access-hcjxfz2r.js";
2
+ Service75
3
+ } from "./workspace-tcmcg8px.js";
4
4
  import {
5
- Service66
6
- } from "./file-access-587z1aba.js";
5
+ Service56
6
+ } from "./workspace-vv04kfpz.js";
7
7
  import {
8
8
  __export
9
- } from "./file-access-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin49,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin49 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service78;
57
- const permission = yield* Service66;
56
+ const forms = yield* Service75;
57
+ const permission = yield* Service56;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
118
+ export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
@@ -1,30 +1,30 @@
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
  makeUnsafe2
7
- } from "./file-access-dpkg50ah.js";
7
+ } from "./workspace-dpkg50ah.js";
8
8
  import {
9
9
  Service82,
10
10
  node86
11
- } from "./file-access-qb83d845.js";
11
+ } from "./workspace-mdrscssp.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./file-access-ec1grn59.js";
14
+ } from "./workspace-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./file-access-gftt206x.js";
17
+ } from "./workspace-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./file-access-y6f0p4jw.js";
20
+ } from "./workspace-skyymkrr.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./file-access-5c4hm403.js";
24
+ } from "./workspace-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./file-access-9rqn6x4v.js";
27
+ } from "./workspace-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info20,
35
+ Info: () => Info7,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service58,
40
+ Service: () => Service39,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer22,
49
- list: () => list4,
50
- make: () => make18,
48
+ layer: () => layer16,
49
+ list: () => list3,
50
+ make: () => make16,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node61,
53
+ node: () => node41,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info20,
68
+ Info as Info7,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service58 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service39 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make18 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make16 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service83;
158
158
  const db = database.db;
159
159
  const bus = yield* Service82;
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info20.make({
176
+ }).pipe(Effect.map((event) => Info7.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list4(db, sessionID),
221
+ list: (sessionID) => list3(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer22 = Layer.effect(Service58, make18());
231
- var node61 = makeGlobalNode({ service: Service58, layer: layer22, deps: [node87, node86] });
230
+ var layer16 = Layer.effect(Service39, make16());
231
+ var node41 = makeGlobalNode({ service: Service39, layer: layer16, deps: [node87, node86] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service58, make18, layer22, node61, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make16, layer16, node41, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };