@opencode-ai/core 0.0.0-dev-19152 → 0.0.0-dev-19154

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 (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{git-pfhdk2d4.js → snapshot-03kbvhyf.js} +31 -31
  9. package/dist/chunks/{git-jj3qxa52.js → snapshot-06x8he3q.js} +4 -4
  10. package/dist/chunks/{git-y10z6ja5.js → snapshot-07zcvmjy.js} +19 -19
  11. package/dist/chunks/{git-6xppn8bd.js → snapshot-0994xtaf.js} +11 -11
  12. package/dist/chunks/{git-0e0xafbb.js → snapshot-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{git-0ez61b8c.js → snapshot-0ez61b8c.js} +2 -2
  14. package/dist/chunks/{git-swp4cd5a.js → snapshot-0n2drzn1.js} +15 -15
  15. package/dist/chunks/{git-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{git-0s9ayhjt.js → snapshot-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{git-6g5f7dmn.js → snapshot-0xd2d7hb.js} +5 -5
  18. package/dist/chunks/{git-3fh1yz3r.js → snapshot-0y2g5je5.js} +46 -46
  19. package/dist/chunks/{git-14hmenm3.js → snapshot-14hmenm3.js} +1 -1
  20. package/dist/chunks/{git-1ct4r87x.js → snapshot-1ct4r87x.js} +1 -1
  21. package/dist/chunks/{git-03v82kyy.js → snapshot-1vae596e.js} +8 -8
  22. package/dist/chunks/{git-21r38tys.js → snapshot-21r38tys.js} +1 -1
  23. package/dist/chunks/{git-7sd9q442.js → snapshot-23sxaqwc.js} +4 -4
  24. package/dist/chunks/{git-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
  25. package/dist/chunks/{git-29x78va6.js → snapshot-29x78va6.js} +2 -2
  26. package/dist/chunks/{git-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{git-0k45et74.js → snapshot-2dxzc6st.js} +9 -9
  28. package/dist/chunks/{git-9jtnr53s.js → snapshot-2h28fvw8.js} +18 -18
  29. package/dist/chunks/{git-2ht70gj7.js → snapshot-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{git-2jqmte8w.js → snapshot-2jqmte8w.js} +2 -2
  31. package/dist/chunks/{git-qzw8yrfq.js → snapshot-2k8fb2v0.js} +83 -83
  32. package/dist/chunks/{git-y5dvpqkh.js → snapshot-2kr0hwj7.js} +41 -41
  33. package/dist/chunks/{git-0nwt5npc.js → snapshot-2pgk7vty.js} +2 -2
  34. package/dist/chunks/{git-e993tk0q.js → snapshot-2ydjztjv.js} +9 -9
  35. package/dist/chunks/{git-6b40c87x.js → snapshot-30sp09qz.js} +10 -10
  36. package/dist/chunks/{git-tzw81pya.js → snapshot-30zbq4ht.js} +7 -7
  37. package/dist/chunks/{git-jy77g1jk.js → snapshot-32d4s7p3.js} +34 -34
  38. package/dist/chunks/{git-5c6acc4z.js → snapshot-354dzbz0.js} +5 -5
  39. package/dist/chunks/{git-sskteryb.js → snapshot-3b1jww13.js} +11 -11
  40. package/dist/chunks/{git-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{git-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{git-zpwsjmm7.js → snapshot-3j7r9hmr.js} +12 -12
  43. package/dist/chunks/{git-3qzbfqsy.js → snapshot-3qzbfqsy.js} +2 -2
  44. package/dist/chunks/{git-am4pcxvr.js → snapshot-3rarb455.js} +25 -25
  45. package/dist/chunks/{git-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{git-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{git-3wfq9j39.js → snapshot-3wfq9j39.js} +2 -2
  48. package/dist/chunks/{git-1tda89k7.js → snapshot-436cs3z1.js} +10 -10
  49. package/dist/chunks/{git-asmayx9p.js → snapshot-43vf45x5.js} +3 -3
  50. package/dist/chunks/{git-454k5vzh.js → snapshot-454k5vzh.js} +1 -1
  51. package/dist/chunks/{git-h2xm238p.js → snapshot-46zqkhyz.js} +27 -27
  52. package/dist/chunks/{git-4w4v4hff.js → snapshot-4e2z1ca3.js} +8 -8
  53. package/dist/chunks/{git-4r2nyarf.js → snapshot-4r2nyarf.js} +1 -1
  54. package/dist/chunks/{git-4z6b0fg6.js → snapshot-4z6b0fg6.js} +1 -1
  55. package/dist/chunks/{git-3vsz3p7m.js → snapshot-4zm6c0x5.js} +9 -9
  56. package/dist/chunks/{git-efc5hrs6.js → snapshot-523re32b.js} +8 -8
  57. package/dist/chunks/{git-6pkw9ygr.js → snapshot-53fmc78n.js} +9 -9
  58. package/dist/chunks/{git-xky9ppev.js → snapshot-544hay25.js} +26 -26
  59. package/dist/chunks/{git-ytqcjkjx.js → snapshot-576xsry2.js} +4 -4
  60. package/dist/chunks/{git-wyydh2b2.js → snapshot-59gpws3w.js} +11 -11
  61. package/dist/chunks/{git-rq5pxryv.js → snapshot-5bae1t6h.js} +15 -15
  62. package/dist/chunks/snapshot-5ce0jj3b.js +22 -0
  63. package/dist/chunks/{git-de7edjxw.js → snapshot-5csadswb.js} +20 -20
  64. package/dist/chunks/{git-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  65. package/dist/chunks/{git-5fmxt4p5.js → snapshot-5fmxt4p5.js} +1 -1
  66. package/dist/chunks/{git-5jvc5tg2.js → snapshot-5jvc5tg2.js} +1 -1
  67. package/dist/chunks/{git-5k3f87xj.js → snapshot-5k3f87xj.js} +1 -1
  68. package/dist/chunks/{git-2239fvjv.js → snapshot-5kv42hr5.js} +7 -7
  69. package/dist/chunks/snapshot-619r8v3y.js +18 -0
  70. package/dist/chunks/{git-wv35vjx4.js → snapshot-62d0y7sg.js} +4 -4
  71. package/dist/chunks/{git-nzk95x83.js → snapshot-63a4ghrn.js} +32 -32
  72. package/dist/chunks/{git-4w29j2bz.js → snapshot-676p6pc7.js} +30 -30
  73. package/dist/chunks/{git-fz7f4s5e.js → snapshot-68ze8m1r.js} +12 -12
  74. package/dist/chunks/{git-bdzhwkq1.js → snapshot-6926ty5t.js} +8 -8
  75. package/dist/chunks/{git-2jmaghvr.js → snapshot-6anwy9fs.js} +4 -4
  76. package/dist/chunks/{git-99kegj5v.js → snapshot-6bfzq12e.js} +7 -7
  77. package/dist/chunks/{git-6c91nz2w.js → snapshot-6c91nz2w.js} +1 -1
  78. package/dist/chunks/{git-28pcbh69.js → snapshot-6e958v7x.js} +4 -4
  79. package/dist/chunks/{git-11tw25g0.js → snapshot-6k404gxp.js} +4 -4
  80. package/dist/chunks/{git-89b0hn0k.js → snapshot-6meqe64c.js} +15 -15
  81. package/dist/chunks/{git-02nqpn9k.js → snapshot-6vb0806q.js} +19 -19
  82. package/dist/chunks/{git-xpqkh19y.js → snapshot-6vk2ew6f.js} +9 -9
  83. package/dist/chunks/{git-zwasfec5.js → snapshot-6xafav5w.js} +21 -21
  84. package/dist/chunks/{git-saak5ttd.js → snapshot-6z5bwd8g.js} +6 -6
  85. package/dist/chunks/{git-3x6030n9.js → snapshot-711hfp6y.js} +2 -2
  86. package/dist/chunks/{git-72nftnjy.js → snapshot-72nftnjy.js} +2 -2
  87. package/dist/chunks/{git-rpstmqvz.js → snapshot-759pz1a2.js} +8 -8
  88. package/dist/chunks/{git-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{git-7dqw4kz8.js → snapshot-7dqw4kz8.js} +1 -1
  90. package/dist/chunks/{git-dde5yshk.js → snapshot-7q5r2wtw.js} +40 -40
  91. package/dist/chunks/{git-94b080c3.js → snapshot-7qsy2bp3.js} +8 -8
  92. package/dist/chunks/{git-yrmm4d0n.js → snapshot-7wwbhxnq.js} +25 -25
  93. package/dist/chunks/{git-jndv8ypt.js → snapshot-7y966c83.js} +18 -18
  94. package/dist/chunks/snapshot-7zk4hah4.js +4 -0
  95. package/dist/chunks/{git-86s3977f.js → snapshot-86s3977f.js} +1 -1
  96. package/dist/chunks/{git-7mgtj72g.js → snapshot-89vsr5q8.js} +10 -10
  97. package/dist/chunks/{git-3jb0x30q.js → snapshot-8dm88n30.js} +8 -8
  98. package/dist/chunks/{git-cnpjj00n.js → snapshot-8hmtjkv1.js} +27 -27
  99. package/dist/chunks/{git-2hyswaq2.js → snapshot-8rmsya7e.js} +20 -20
  100. package/dist/chunks/{git-0zyzm3y4.js → snapshot-8zrk5602.js} +14 -14
  101. package/dist/chunks/{git-hhpzk61m.js → snapshot-93a8yfjt.js} +2 -2
  102. package/dist/chunks/{git-01ns8z8m.js → snapshot-94w8mwm7.js} +11 -11
  103. package/dist/chunks/{git-8k3x1tmb.js → snapshot-99ghd14m.js} +5 -5
  104. package/dist/chunks/{git-snakeby2.js → snapshot-99ws4vy9.js} +15 -15
  105. package/dist/chunks/{git-2tm39pz1.js → snapshot-9jzzg24w.js} +9 -9
  106. package/dist/chunks/{git-qvbcabdc.js → snapshot-9qm9egsn.js} +2 -2
  107. package/dist/chunks/{git-ygd99mp3.js → snapshot-a93b88e5.js} +11 -11
  108. package/dist/chunks/{git-48ajhrad.js → snapshot-a9c7wcwq.js} +12 -12
  109. package/dist/chunks/{git-v08zexc0.js → snapshot-aabapxsx.js} +10 -10
  110. package/dist/chunks/{git-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  111. package/dist/chunks/{git-yg7sb877.js → snapshot-ajtjthsy.js} +2 -2
  112. package/dist/chunks/{git-bf0ztrs3.js → snapshot-an7cqtb7.js} +4 -4
  113. package/dist/chunks/{git-dmj0gzeb.js → snapshot-ar9jcwmt.js} +24 -24
  114. package/dist/chunks/{git-jzvp32eb.js → snapshot-at5d07az.js} +4 -4
  115. package/dist/chunks/{git-bpvetzyt.js → snapshot-b1as8fts.js} +20 -20
  116. package/dist/chunks/{git-0x2ny62j.js → snapshot-b575w93p.js} +14 -14
  117. package/dist/chunks/{git-b5gjhjfs.js → snapshot-b5gjhjfs.js} +1 -1
  118. package/dist/chunks/{git-em41q4xm.js → snapshot-b5nt20nh.js} +39 -39
  119. package/dist/chunks/{git-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{git-6ew8bvbb.js → snapshot-b8mjze6g.js} +16 -16
  121. package/dist/chunks/{git-b9wsbatv.js → snapshot-b9wsbatv.js} +1 -1
  122. package/dist/chunks/{git-pfnxmpv6.js → snapshot-bdc940rx.js} +5 -5
  123. package/dist/chunks/{git-dn1bcd64.js → snapshot-besxjytt.js} +14 -14
  124. package/dist/chunks/{git-bsgbf39w.js → snapshot-bpbjm8rz.js} +11 -11
  125. package/dist/chunks/{git-9p8m1ync.js → snapshot-bx7nsbq5.js} +17 -17
  126. package/dist/chunks/{git-ajeh18pz.js → snapshot-c8sen9he.js} +26 -26
  127. package/dist/chunks/{git-zypqn6cf.js → snapshot-c9mzx7ks.js} +30 -30
  128. package/dist/chunks/{git-j0bvmw6p.js → snapshot-cj5mt5fs.js} +33 -33
  129. package/dist/chunks/{git-6xaf4e55.js → snapshot-cj76ygdh.js} +24 -24
  130. package/dist/chunks/{git-b185tj8s.js → snapshot-cmmnpq6j.js} +3 -3
  131. package/dist/chunks/{git-z109bg2r.js → snapshot-cysbydbf.js} +33 -33
  132. package/dist/chunks/{git-y2ccy3rm.js → snapshot-cz8dd9bg.js} +3 -3
  133. package/dist/chunks/{git-ewvwwfm6.js → snapshot-d71zg83r.js} +23 -23
  134. package/dist/chunks/{git-g2gt0w0k.js → snapshot-d72308c8.js} +2 -2
  135. package/dist/chunks/{git-hawqa09c.js → snapshot-dbgrqn4f.js} +16 -16
  136. package/dist/chunks/{git-zhyn27n2.js → snapshot-dbh26k9g.js} +28 -28
  137. package/dist/chunks/{git-vep9yay1.js → snapshot-djtdz80w.js} +4 -4
  138. package/dist/chunks/{git-e5b0qn1c.js → snapshot-e5b0qn1c.js} +1 -1
  139. package/dist/chunks/{git-8yyhgdt3.js → snapshot-ebnqhqmh.js} +6 -6
  140. package/dist/chunks/{git-kp3pprh7.js → snapshot-ed9ckw2c.js} +37 -37
  141. package/dist/chunks/{git-790wkyyc.js → snapshot-efcf8wyf.js} +8 -8
  142. package/dist/chunks/{git-8x14xe82.js → snapshot-eg2ettma.js} +9 -9
  143. package/dist/chunks/{git-8gtnf6t2.js → snapshot-enw72f67.js} +6 -6
  144. package/dist/chunks/{git-qta1pbte.js → snapshot-evgzxsxf.js} +15 -15
  145. package/dist/chunks/{git-y01np14z.js → snapshot-f1kgb3zy.js} +9 -9
  146. package/dist/chunks/{git-ay4nvzy9.js → snapshot-f5tthgnx.js} +5 -5
  147. package/dist/chunks/{git-s141a68e.js → snapshot-famd3pv6.js} +2 -2
  148. package/dist/chunks/{git-a2wkfh4c.js → snapshot-fcmgdk6k.js} +11 -11
  149. package/dist/chunks/{git-ewbbbgk7.js → snapshot-fpbxt20w.js} +29 -29
  150. package/dist/chunks/{git-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{git-fxypknc8.js → snapshot-fxypknc8.js} +1 -1
  152. package/dist/chunks/{git-a615ws19.js → snapshot-g1e0p8wq.js} +4 -4
  153. package/dist/chunks/{git-g41n1fn3.js → snapshot-g41n1fn3.js} +1 -1
  154. package/dist/chunks/{git-gh7ynw45.js → snapshot-g8vrsx48.js} +16 -16
  155. package/dist/chunks/{git-paap86ds.js → snapshot-ga58qvp2.js} +42 -42
  156. package/dist/chunks/{git-jfzpv47d.js → snapshot-ga73v65p.js} +18 -18
  157. package/dist/chunks/{git-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{git-9xrx0nj0.js → snapshot-ghjpce4k.js} +15 -15
  159. package/dist/chunks/{git-av4m0z60.js → snapshot-gkjxy8w2.js} +34 -34
  160. package/dist/chunks/{git-eqe7bhk4.js → snapshot-gqcns3fn.js} +30 -30
  161. package/dist/chunks/{git-zeapr5n1.js → snapshot-gwjvy795.js} +11 -11
  162. package/dist/chunks/{git-f69meha8.js → snapshot-h2xdgm3p.js} +11 -11
  163. package/dist/chunks/{git-xqfjvwcm.js → snapshot-h49q70se.js} +16 -16
  164. package/dist/chunks/{git-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{git-2rcn8zjb.js → snapshot-h9k9cmfx.js} +9 -9
  166. package/dist/chunks/{git-mkanh8av.js → snapshot-ha1ebqnc.js} +9 -9
  167. package/dist/chunks/{git-ggk96kdt.js → snapshot-hds4mzf8.js} +2 -2
  168. package/dist/chunks/{git-heyhwy2w.js → snapshot-heyhwy2w.js} +1 -1
  169. package/dist/chunks/{git-g2dy4bvs.js → snapshot-hrvm11jt.js} +3 -3
  170. package/dist/chunks/{git-3tqdhrak.js → snapshot-hxp50ykv.js} +8 -8
  171. package/dist/chunks/{git-rzsjt7my.js → snapshot-hzecryb5.js} +9 -9
  172. package/dist/chunks/{git-b7bn4zzd.js → snapshot-j0rzzy67.js} +26 -26
  173. package/dist/chunks/{git-j20qt8ny.js → snapshot-jn7267xk.js} +15 -15
  174. package/dist/chunks/{git-rdsqqr2s.js → snapshot-jvmbnav8.js} +14 -14
  175. package/dist/chunks/{git-y71avatq.js → snapshot-jwcy2c2z.js} +4 -4
  176. package/dist/chunks/{git-7ad5acx5.js → snapshot-jybhs5dx.js} +7 -7
  177. package/dist/chunks/{git-0twy4jn9.js → snapshot-jzajgxa4.js} +9 -9
  178. package/dist/chunks/{git-rc2f37hd.js → snapshot-jzvt5bax.js} +4 -4
  179. package/dist/chunks/{git-dgp4s6zg.js → snapshot-k1kkhg37.js} +5 -5
  180. package/dist/chunks/{git-k4bwy1x5.js → snapshot-k4bwy1x5.js} +1 -1
  181. package/dist/chunks/{git-cfmkmvf9.js → snapshot-k52aap51.js} +6 -6
  182. package/dist/chunks/{git-gfs7stvq.js → snapshot-k82hdsgf.js} +37 -37
  183. package/dist/chunks/{git-kg06axw8.js → snapshot-kg06axw8.js} +1 -1
  184. package/dist/chunks/{git-1jk1zpn7.js → snapshot-khgjxg5j.js} +18 -18
  185. package/dist/chunks/{git-kk3rr3qh.js → snapshot-kk3rr3qh.js} +2 -2
  186. package/dist/chunks/{git-ejwtzsrd.js → snapshot-kkq19pwe.js} +16 -16
  187. package/dist/chunks/{git-mkyvm1mp.js → snapshot-krdrmp6k.js} +6 -6
  188. package/dist/chunks/{git-kvsjn1dr.js → snapshot-kvsjn1dr.js} +2 -2
  189. package/dist/chunks/{git-k9snrmvg.js → snapshot-kyp69jz7.js} +21 -21
  190. package/dist/chunks/{git-n8xc4bye.js → snapshot-kzh9hg3j.js} +25 -25
  191. package/dist/chunks/{git-qyhzj9g1.js → snapshot-m26n0mt4.js} +1 -1
  192. package/dist/chunks/{git-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{git-mcxg6pmm.js → snapshot-mcxg6pmm.js} +1 -1
  194. package/dist/chunks/{git-1bbkgx8g.js → snapshot-mhkvc446.js} +3 -3
  195. package/dist/chunks/{git-2tb9hyx2.js → snapshot-n34rbdfk.js} +9 -9
  196. package/dist/chunks/{git-h25e6w8y.js → snapshot-nhrj945z.js} +10 -10
  197. package/dist/chunks/{git-ewjppg9k.js → snapshot-njdb3f92.js} +17 -17
  198. package/dist/chunks/{git-0fgbm3tz.js → snapshot-nm9jv85f.js} +21 -21
  199. package/dist/chunks/{git-1yrh2hz8.js → snapshot-np5q7c6h.js} +9 -9
  200. package/dist/chunks/{git-k28yxd6c.js → snapshot-nsf4cs8z.js} +20 -20
  201. package/dist/chunks/{git-576eqkb7.js → snapshot-nsxjf8q8.js} +9 -9
  202. package/dist/chunks/{git-mab9d0v5.js → snapshot-p4gbtxfj.js} +17 -17
  203. package/dist/chunks/{git-y3pv78j9.js → snapshot-p6wpbye8.js} +2 -2
  204. package/dist/chunks/{git-64mbz47k.js → snapshot-phjaars8.js} +6 -6
  205. package/dist/chunks/{git-357rxt8c.js → snapshot-pj28qm80.js} +27 -27
  206. package/dist/chunks/{git-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{git-pknna89w.js → snapshot-pknna89w.js} +1 -1
  208. package/dist/chunks/{git-95t4wctn.js → snapshot-pvnzwkqh.js} +11 -11
  209. package/dist/chunks/{git-256zxpde.js → snapshot-q1syfj9h.js} +9 -9
  210. package/dist/chunks/{git-sxyem01p.js → snapshot-q2yg2hn2.js} +19 -19
  211. package/dist/chunks/{git-a738ra00.js → snapshot-qc574zq9.js} +21 -21
  212. package/dist/chunks/{git-g3dk9xws.js → snapshot-qcdzc0mg.js} +283 -283
  213. package/dist/chunks/{git-5xfzsdsy.js → snapshot-qq0tkz6q.js} +3 -3
  214. package/dist/chunks/{git-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  215. package/dist/chunks/{git-48pwx2w2.js → snapshot-r1b1a3g7.js} +2 -2
  216. package/dist/chunks/{git-rft8amsn.js → snapshot-r3j4zcsz.js} +3 -3
  217. package/dist/chunks/{git-yaec1nge.js → snapshot-r6a4t45w.js} +9 -9
  218. package/dist/chunks/{git-r8dhm0tv.js → snapshot-r8dhm0tv.js} +1 -1
  219. package/dist/chunks/{git-tdpndm1c.js → snapshot-rf80fxgj.js} +5 -5
  220. package/dist/chunks/{git-8t7rpfs0.js → snapshot-rfsvyd0s.js} +42 -42
  221. package/dist/chunks/{git-thre64ft.js → snapshot-rk3vsmk1.js} +30 -30
  222. package/dist/chunks/{git-rmy3e5eg.js → snapshot-rmy3e5eg.js} +1 -1
  223. package/dist/chunks/{git-989d4g0q.js → snapshot-rnh6xgbj.js} +8 -8
  224. package/dist/chunks/{git-6qmj2164.js → snapshot-rpqxkfax.js} +13 -13
  225. package/dist/chunks/{git-2f60pf4m.js → snapshot-rr2wt9g3.js} +4 -4
  226. package/dist/chunks/{git-xtcz8ppp.js → snapshot-rt5mg7ap.js} +17 -17
  227. package/dist/chunks/{git-9d4vrqc0.js → snapshot-rvn46zq7.js} +9 -9
  228. package/dist/chunks/{git-kcv7778q.js → snapshot-rxez074z.js} +8 -8
  229. package/dist/chunks/{git-s3eqpch7.js → snapshot-s3eqpch7.js} +1 -1
  230. package/dist/chunks/{git-q9t1pswy.js → snapshot-s6mezzk6.js} +28 -28
  231. package/dist/chunks/{git-z8f0y67p.js → snapshot-s8tapej7.js} +14 -14
  232. package/dist/chunks/{git-dchnan0w.js → snapshot-s9h5m00v.js} +13 -13
  233. package/dist/chunks/{git-sba4qhjf.js → snapshot-sba4qhjf.js} +1 -1
  234. package/dist/chunks/{git-xqych8xx.js → snapshot-sq1qfdcx.js} +27 -27
  235. package/dist/chunks/{git-eh802jd0.js → snapshot-sye0sxh5.js} +62 -62
  236. package/dist/chunks/{git-75ydt1pr.js → snapshot-t2x6412b.js} +37 -37
  237. package/dist/chunks/{git-snxw7857.js → snapshot-t7ntjgqm.js} +6 -6
  238. package/dist/chunks/{git-j3x781zd.js → snapshot-taprez3w.js} +22 -22
  239. package/dist/chunks/{git-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{git-vy6f12p8.js → snapshot-tbez7bkj.js} +24 -24
  241. package/dist/chunks/{git-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{git-kebpsn0t.js → snapshot-tdtndvgk.js} +17 -17
  243. package/dist/chunks/{git-bphmvjfp.js → snapshot-thfv75je.js} +5 -5
  244. package/dist/chunks/{git-tjykrgmx.js → snapshot-tjykrgmx.js} +1 -1
  245. package/dist/chunks/{git-enc6jm7h.js → snapshot-tx13maxa.js} +3 -3
  246. package/dist/chunks/{git-azgzp121.js → snapshot-v8kr41bc.js} +152 -152
  247. package/dist/chunks/{git-5s6em07e.js → snapshot-vjnzdbs1.js} +25 -25
  248. package/dist/chunks/snapshot-vx3v7ac4.js +247 -0
  249. package/dist/chunks/{git-dcavesng.js → snapshot-vx4z4dg3.js} +8 -8
  250. package/dist/chunks/{git-bbdkjdrd.js → snapshot-vxs7c9nc.js} +8 -8
  251. package/dist/chunks/{git-nnv36dam.js → snapshot-vzw25apb.js} +30 -30
  252. package/dist/chunks/{git-eh2mpbhy.js → snapshot-w1rf54vf.js} +38 -38
  253. package/dist/chunks/{git-03trxjpd.js → snapshot-w3716ws0.js} +18 -18
  254. package/dist/chunks/{git-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{git-wd87259q.js → snapshot-wd87259q.js} +1 -1
  256. package/dist/chunks/{git-wgxn7ww3.js → snapshot-wgxn7ww3.js} +2 -2
  257. package/dist/chunks/{git-cpcypa0y.js → snapshot-wkj9r7tb.js} +7 -7
  258. package/dist/chunks/{git-yt248q8q.js → snapshot-wt7fpkaj.js} +6 -6
  259. package/dist/chunks/{git-99vgbsyy.js → snapshot-ww8c32hp.js} +2 -2
  260. package/dist/chunks/{git-0qhj2dys.js → snapshot-x0dsmf4a.js} +4 -4
  261. package/dist/chunks/{git-s0vczy7e.js → snapshot-x11vht6e.js} +20 -20
  262. package/dist/chunks/{git-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{git-x0w2mwfz.js → snapshot-x1r7j348.js} +11 -11
  264. package/dist/chunks/{git-91h1kd54.js → snapshot-x56sdpkd.js} +34 -34
  265. package/dist/chunks/{git-q93h2s66.js → snapshot-xb42cs18.js} +24 -24
  266. package/dist/chunks/{git-mmj3jx9j.js → snapshot-xf8qs1vs.js} +15 -15
  267. package/dist/chunks/{git-xqsy6kp0.js → snapshot-xqsy6kp0.js} +1 -1
  268. package/dist/chunks/{git-bp7pam25.js → snapshot-xqvq1gp2.js} +6 -6
  269. package/dist/chunks/{git-0z2q6qd2.js → snapshot-xy8mrpas.js} +29 -29
  270. package/dist/chunks/{git-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{git-6m2bw32x.js → snapshot-y3wvjc89.js} +21 -21
  272. package/dist/chunks/{git-qcnqc9zy.js → snapshot-y5z2kr99.js} +11 -11
  273. package/dist/chunks/{git-k01ak1rc.js → snapshot-y9j759kk.js} +4 -4
  274. package/dist/chunks/{git-jgwcdxcs.js → snapshot-ydcf169n.js} +52 -52
  275. package/dist/chunks/{git-ykcesz1b.js → snapshot-ykcesz1b.js} +4 -4
  276. package/dist/chunks/{git-49z5p9jd.js → snapshot-yr8e0x07.js} +4 -4
  277. package/dist/chunks/{git-z1k01bn4.js → snapshot-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{git-qd1dw6kz.js → snapshot-z709tr9t.js} +9 -9
  279. package/dist/chunks/{git-42tkewwq.js → snapshot-zbb8jze7.js} +4 -4
  280. package/dist/chunks/{git-z56ty9r2.js → snapshot-ze6tjmy9.js} +15 -15
  281. package/dist/chunks/{git-3mpn79e8.js → snapshot-zgtv7e6z.js} +82 -82
  282. package/dist/chunks/{git-zn2pq4p8.js → snapshot-zn2pq4p8.js} +2 -2
  283. package/dist/chunks/{git-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +114 -114
  292. package/dist/config/plugin/command.js +205 -205
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +123 -123
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +114 -114
  303. package/dist/config/plugin/shell.js +115 -115
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +132 -132
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +112 -112
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +116 -116
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +80 -80
  316. package/dist/database/database.js +64 -64
  317. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  318. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +15 -15
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +16 -16
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +74 -74
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +3 -3
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +84 -84
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +86 -86
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +68 -68
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +218 -218
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +11 -11
  418. package/dist/filesystem.js +100 -100
  419. package/dist/form.js +82 -82
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +82 -82
  422. package/dist/generate.js +92 -92
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +7 -7
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +5 -5
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +81 -81
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +3 -3
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +83 -83
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +67 -67
  456. package/dist/location-activity.js +83 -83
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +81 -81
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +82 -82
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +98 -98
  463. package/dist/mcp/instructions.js +120 -120
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +7 -7
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +2 -2
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +76 -76
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +103 -103
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +86 -86
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +96 -96
  481. package/dist/plugin/command.js +93 -93
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +2 -2
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +114 -114
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +79 -79
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +72 -72
  528. package/dist/plugin/service.js +3 -3
  529. package/dist/plugin/skill.js +131 -131
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +337 -337
  532. package/dist/plugin/system-prompt.js +4 -4
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +4 -4
  542. package/dist/plugin/websearch/parallel.js +6 -6
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +222 -222
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +83 -83
  548. package/dist/provider.js +1 -1
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +94 -94
  553. package/dist/reference/instructions.js +84 -84
  554. package/dist/reference.js +86 -86
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +93 -93
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +127 -127
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +3 -3
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +214 -214
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +146 -146
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +86 -86
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +2 -2
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +110 -110
  579. package/dist/session/model-transport.js +7 -7
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +3 -3
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +117 -117
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +167 -167
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +71 -71
  599. package/dist/session/store.js +84 -84
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +201 -201
  602. package/dist/session/system-prompt.js +3 -3
  603. package/dist/session/title.js +149 -149
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +210 -210
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +209 -209
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +13 -13
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +99 -99
  615. package/dist/skill.js +104 -104
  616. package/dist/snapshot.js +86 -86
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +117 -117
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +119 -119
  624. package/dist/tool/plugin/grep.js +117 -117
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +97 -97
  628. package/dist/tool/plugin/read.js +118 -118
  629. package/dist/tool/plugin/shell.js +208 -208
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +212 -212
  632. package/dist/tool/plugin/webfetch.js +106 -106
  633. package/dist/tool/plugin/websearch.js +106 -106
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +15 -15
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +3 -3
  647. package/dist/v1/config/attachment.js +2 -2
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +2 -2
  651. package/dist/v1/config/formatter.js +3 -3
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +3 -3
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +1 -1
  657. package/dist/v1/config/plugin.js +1 -1
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +2 -2
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +82 -82
  666. package/dist/wellknown/plugin.js +74 -74
  667. package/dist/wellknown.js +77 -77
  668. package/dist/workspace/driver.js +1 -1
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +74 -74
  671. package/dist/worktree/directory.js +2 -2
  672. package/dist/worktree/git.js +7 -7
  673. package/dist/worktree/refresh.js +338 -338
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +91 -91
  676. package/package.json +7 -7
  677. package/dist/chunks/git-88z38vzy.js +0 -22
  678. package/dist/chunks/git-e3ze3pba.js +0 -4
  679. package/dist/chunks/git-ht5y0zrb.js +0 -18
  680. package/dist/chunks/git-zjbrkj3w.js +0 -247
  681. /package/dist/chunks/{git-0fabt78z.js → snapshot-0fabt78z.js} +0 -0
  682. /package/dist/chunks/{git-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{git-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{git-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{git-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{git-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{git-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  688. /package/dist/chunks/{git-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  689. /package/dist/chunks/{git-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  690. /package/dist/chunks/{git-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  691. /package/dist/chunks/{git-3asan66x.js → snapshot-3asan66x.js} +0 -0
  692. /package/dist/chunks/{git-3t738kvx.js → snapshot-3t738kvx.js} +0 -0
  693. /package/dist/chunks/{git-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  694. /package/dist/chunks/{git-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  695. /package/dist/chunks/{git-41nvscxy.js → snapshot-41nvscxy.js} +0 -0
  696. /package/dist/chunks/{git-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  697. /package/dist/chunks/{git-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  698. /package/dist/chunks/{git-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  699. /package/dist/chunks/{git-53557ph1.js → snapshot-53557ph1.js} +0 -0
  700. /package/dist/chunks/{git-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  701. /package/dist/chunks/{git-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
  702. /package/dist/chunks/{git-6prwharc.js → snapshot-6prwharc.js} +0 -0
  703. /package/dist/chunks/{git-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{git-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{git-822emrt2.js → snapshot-822emrt2.js} +0 -0
  706. /package/dist/chunks/{git-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{git-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{git-982e01ww.js → snapshot-982e01ww.js} +0 -0
  709. /package/dist/chunks/{git-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{git-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{git-a1tpkmh4.js → snapshot-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{git-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{git-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{git-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{git-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{git-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{git-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{git-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{git-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{git-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{git-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{git-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{git-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{git-df08tz66.js → snapshot-df08tz66.js} +0 -0
  725. /package/dist/chunks/{git-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{git-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{git-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{git-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{git-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{git-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{git-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{git-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{git-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{git-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{git-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{git-g86h250q.js → snapshot-g86h250q.js} +0 -0
  737. /package/dist/chunks/{git-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{git-hk9envan.js → snapshot-hk9envan.js} +0 -0
  739. /package/dist/chunks/{git-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{git-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{git-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{git-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{git-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{git-mntxs535.js → snapshot-mntxs535.js} +0 -0
  745. /package/dist/chunks/{git-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{git-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{git-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{git-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{git-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{git-p8qxwesx.js → snapshot-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{git-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{git-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{git-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{git-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{git-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{git-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{git-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{git-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{git-se0s1eqw.js → snapshot-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{git-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{git-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{git-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{git-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{git-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{git-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{git-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{git-x1b8g1yb.js → snapshot-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{git-x61499pn.js → snapshot-x61499pn.js} +0 -0
  769. /package/dist/chunks/{git-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{git-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{git-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{git-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{git-zbjnn3ac.js → snapshot-zbjnn3ac.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service48
3
- } from "./git-paap86ds.js";
2
+ Service49
3
+ } from "./snapshot-ga58qvp2.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./git-a1tpkmh4.js";
7
+ } from "./snapshot-a1tpkmh4.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./git-3v8g72cx.js";
10
+ } from "./snapshot-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./git-9rqn6x4v.js";
13
+ } from "./snapshot-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input4,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input6,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin5,
22
+ Plugin: () => Plugin19,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description2,
25
+ description: () => description3,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name4
27
+ name: () => name6
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name4 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name6 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input4 = Schema.Struct({
41
+ var Input6 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input4.fields.format,
51
+ format: Input6.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin5 = {
95
+ var Plugin19 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service48;
99
+ const permission = yield* Service49;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name4,
101
+ name: name6,
102
102
  options: { codemode: false },
103
- description: description2,
104
- input: Input4,
103
+ description: description3,
104
+ input: Input6,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin5 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name4,
112
+ action: name6,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin5, extractTextFromHTML2, exports_webfetch };
170
+ export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, Plugin19, extractTextFromHTML2, exports_webfetch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./git-qfa1cgps.js";
3
+ } from "./snapshot-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./git-qvbcabdc.js";
6
+ } from "./snapshot-9qm9egsn.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./git-eh2mpbhy.js";
2
+ Service76,
3
+ node81
4
+ } from "./snapshot-w1rf54vf.js";
5
5
  import {
6
6
  __export
7
- } from "./git-9rqn6x4v.js";
7
+ } from "./snapshot-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info28,
12
+ Info: () => Info27,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref3,
15
- Service: () => Service76,
15
+ Service: () => Service75,
16
16
  boundNode: () => boundNode2,
17
- node: () => node81,
17
+ node: () => node80,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info28, Ref as Ref3, response as response2 } from "@opencode-ai/schema/location";
21
+ import { Info as Info27, Ref as Ref3, response as response2 } from "@opencode-ai/schema/location";
22
22
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode-ai/util/effect/app-node";
24
- class Service76 extends Context.Service()("@opencode/Location") {
24
+ class Service75 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node81 = LayerNode.unbound(Service76, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
28
- const project = yield* Service77;
26
+ var node80 = LayerNode.unbound(Service75, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
28
+ const project = yield* Service76;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service76.of({
30
+ return Service75.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service76,
38
+ service: Service75,
39
39
  layer: layer(ref, options),
40
- deps: [node82]
40
+ deps: [node81]
41
41
  });
42
42
 
43
- export { Info28, Ref3, response2, Service76, node81, boundNode2, exports_location };
43
+ export { Info27, Ref3, response2, Service75, node80, boundNode2, exports_location };
@@ -1,62 +1,62 @@
1
1
  import {
2
- Service59
3
- } from "./git-vy6f12p8.js";
2
+ Service63
3
+ } from "./snapshot-tbez7bkj.js";
4
4
  import {
5
- Service48
6
- } from "./git-paap86ds.js";
5
+ Service49
6
+ } from "./snapshot-ga58qvp2.js";
7
7
  import {
8
- ID8,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service53
14
- } from "./git-6m2bw32x.js";
13
+ Service21
14
+ } from "./snapshot-y3wvjc89.js";
15
15
  import {
16
16
  __export
17
- } from "./git-9rqn6x4v.js";
17
+ } from "./snapshot-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input10,
22
+ Input: () => Input7,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin12,
24
+ Plugin: () => Plugin21,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description3,
27
- name: () => name10
26
+ description: () => description4,
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name10 = "websearch";
32
+ var name7 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
- var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
35
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
36
36
 
37
37
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
38
- var Input10 = Schema.Struct({
38
+ var Input7 = Schema.Struct({
39
39
  query: Schema.String.annotate({ description: "Websearch query" })
40
40
  });
41
41
  var Output = Schema.Struct({
42
- provider: ID8,
42
+ provider: ID4,
43
43
  results: Schema.Array(Result2)
44
44
  });
45
- var Plugin12 = {
45
+ var Plugin21 = {
46
46
  id: "opencode.tool.websearch",
47
47
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
48
- const permission = yield* Service48;
49
- const forms = yield* Service59;
50
- const websearch = yield* Service53;
48
+ const permission = yield* Service49;
49
+ const forms = yield* Service63;
50
+ const websearch = yield* Service21;
51
51
  yield* ctx.tool.transform((editor) => editor.add({
52
- name: name10,
52
+ name: name7,
53
53
  options: { codemode: false },
54
- description: description3,
55
- input: Input10,
54
+ description: description4,
55
+ input: Input7,
56
56
  output: Output,
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name10,
59
+ action: name7,
60
60
  resources: [input.query],
61
61
  save: ["*"],
62
62
  metadata: input,
@@ -132,9 +132,9 @@ var Plugin12 = {
132
132
  const providerID = selection?.answer.provider ?? "random";
133
133
  if (typeof providerID !== "string" || providerID !== "random" && !providers.some((provider) => provider.id === providerID))
134
134
  return yield* new ProviderRequiredError2;
135
- yield* websearch.select(providerID === "random" ? "random" : ID8.make(providerID));
135
+ yield* websearch.select(providerID === "random" ? "random" : ID4.make(providerID));
136
136
  if (providerID !== "random")
137
- return ID8.make(providerID);
137
+ return ID4.make(providerID);
138
138
  return providers[Math.floor(Math.random() * providers.length)]?.id;
139
139
  })).pipe(Effect.timeoutOrElse({
140
140
  duration: "1 minute",
@@ -193,9 +193,9 @@ ${result.content}` : ""}`;
193
193
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
194
194
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
195
195
  if (disabled)
196
- delete event.tools[name10];
196
+ delete event.tools[name7];
197
197
  }));
198
198
  })
199
199
  };
200
200
 
201
- export { name10, NO_RESULTS2, description3, Input10, Plugin12, exports_websearch };
201
+ export { name7, NO_RESULTS2, description4, Input7, Plugin21, exports_websearch };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make15
9
+ make: () => make14
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make15 = (options) => Effect.gen(function* () {
12
+ var make14 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -79,4 +79,4 @@ var make15 = (options) => Effect.gen(function* () {
79
79
  return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
80
80
  });
81
81
 
82
- export { make15, exports_run_coordinator };
82
+ export { make14, exports_run_coordinator };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./git-4z6b0fg6.js";
4
+ } from "./snapshot-4z6b0fg6.js";
5
5
 
6
6
  // src/plugin/provider/zenmux.ts
7
7
  import { Effect } from "effect";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-sskteryb.js";
3
+ } from "./snapshot-3b1jww13.js";
4
4
  import {
5
5
  call2
6
- } from "./git-saak5ttd.js";
6
+ } from "./snapshot-6z5bwd8g.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./snapshot-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin19,
14
+ Plugin: () => Plugin4,
15
15
  WebSearchParallel: () => exports_parallel,
16
16
  endpoint: () => endpoint4
17
17
  });
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin19 = define({
50
+ var Plugin4 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -93,4 +93,4 @@ var Plugin19 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint4, Plugin19, exports_parallel };
96
+ export { endpoint4, Plugin4, exports_parallel };
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID7,
2
+ ID8,
3
3
  Service52
4
- } from "./git-xtcz8ppp.js";
4
+ } from "./snapshot-rt5mg7ap.js";
5
5
  import {
6
6
  latest2,
7
- Service71
8
- } from "./git-em41q4xm.js";
7
+ Service67
8
+ } from "./snapshot-b5nt20nh.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./git-5xfzsdsy.js";
11
+ } from "./snapshot-qq0tkz6q.js";
12
12
  import {
13
- Service65
14
- } from "./git-z8f0y67p.js";
13
+ Service45
14
+ } from "./snapshot-s8tapej7.js";
15
15
  import {
16
16
  evaluate2,
17
- Service48
18
- } from "./git-paap86ds.js";
17
+ Service49
18
+ } from "./snapshot-ga58qvp2.js";
19
19
  import {
20
- Service16
21
- } from "./git-3mpn79e8.js";
20
+ Service25
21
+ } from "./snapshot-zgtv7e6z.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./git-x1ezjp6w.js";
24
+ } from "./snapshot-x1ezjp6w.js";
25
25
  import {
26
26
  make8
27
- } from "./git-bbdkjdrd.js";
27
+ } from "./snapshot-vxs7c9nc.js";
28
28
  import {
29
29
  __export
30
- } from "./git-9rqn6x4v.js";
30
+ } from "./snapshot-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input11,
36
- Output: () => Output7,
37
- Plugin: () => Plugin13,
35
+ Input: () => Input12,
36
+ Output: () => Output8,
37
+ Plugin: () => Plugin26,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description4,
40
- name: () => name11
39
+ description: () => description5,
40
+ name: () => name12
41
41
  });
42
42
  import { ToolFailure } from "@opencode-ai/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name11 = "subagent";
44
+ var name12 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input11 = Schema.Struct({
55
+ var Input12 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input11 = Schema.Struct({
63
63
  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."
64
64
  })
65
65
  });
66
- var Output7 = Schema.Struct({
66
+ var Output8 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description4 = [
71
+ var description5 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description4 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin13 = {
80
+ var Plugin26 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service16;
84
- const jobs = yield* Service65;
83
+ const sessions = yield* Service25;
84
+ const jobs = yield* Service45;
85
85
  const agents = yield* Service52;
86
- const config = yield* Service71;
87
- const permission = yield* Service48;
86
+ const config = yield* Service67;
87
+ const permission = yield* Service49;
88
88
  const subagents = yield* make8;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name11,
90
+ name: name12,
91
91
  options: { codemode: false },
92
- description: description4,
93
- input: Input11,
94
- output: Output7,
92
+ description: description5,
93
+ input: Input12,
94
+ output: Output8,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin13 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name11,
114
+ action: name12,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin13 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID7.make(input.agent),
137
+ agent: ID8.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name11];
187
+ const tool = event.tools[name12];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name11, Input11, Output7, description4, Plugin13, exports_subagent };
207
+ export { name12, Input12, Output8, description5, Plugin26, exports_subagent };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./git-saak5ttd.js";
3
+ } from "./snapshot-6z5bwd8g.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin20,
11
+ Plugin: () => Plugin3,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint5 = "https://mcp.exa.ai/mcp";
18
+ var endpoint3 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin20 = define({
30
+ var Plugin3 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin20 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint5);
52
+ const url = new URL(endpoint3);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint5, Plugin20, exports_exa };
83
+ export { endpoint3, Plugin3, exports_exa };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-p8qxwesx.js";
3
+ } from "./snapshot-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event20,
13
- ID: () => ID16,
14
- Info: () => Info30,
12
+ Event: () => Event19,
13
+ ID: () => ID15,
14
+ Info: () => Info29,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode-ai/schema/project";
21
- var ID16 = Project.ID;
21
+ var ID15 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info30 = Project.Info;
23
+ var Info29 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event20 = Project.Event;
25
+ var Event19 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID16, Current3, Info30, UpdateInput4, Event20, Vcs3, exports_schema };
31
+ export { ID15, Current3, Info29, UpdateInput4, Event19, Vcs3, exports_schema };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service29,
10
- node: () => node32
9
+ Service: () => Service42,
10
+ node: () => node45
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode-ai/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
15
15
 
16
- class Service29 extends Context.Service()("@opencode/Instance") {
16
+ class Service42 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node32 = LayerNode.unbound(Service29, Node.tags.values.global);
18
+ var node45 = LayerNode.unbound(Service42, Node.tags.values.global);
19
19
 
20
- export { Service29, node32, exports_service2 };
20
+ export { Service42, node45, exports_service2 };