@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,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./git-p8qxwesx.js";
3
+ } from "./snapshot-p8qxwesx.js";
4
4
  import {
5
5
  latest2,
6
- Service71
7
- } from "./git-em41q4xm.js";
6
+ Service67
7
+ } from "./snapshot-b5nt20nh.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./git-2a5m3afh.js";
10
+ } from "./snapshot-2a5m3afh.js";
11
11
  import {
12
12
  Service69
13
- } from "./git-x0w2mwfz.js";
13
+ } from "./snapshot-x1r7j348.js";
14
14
  import {
15
- Service65
16
- } from "./git-z8f0y67p.js";
15
+ Service45
16
+ } from "./snapshot-s8tapej7.js";
17
17
  import {
18
18
  resolvePath2,
19
- Service55
20
- } from "./git-xqfjvwcm.js";
19
+ Service13
20
+ } from "./snapshot-h49q70se.js";
21
21
  import {
22
- Service48
23
- } from "./git-paap86ds.js";
22
+ Service49
23
+ } from "./snapshot-ga58qvp2.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./git-fxbjtjnd.js";
29
+ } from "./snapshot-fxbjtjnd.js";
30
30
  import {
31
- Service61,
31
+ Service73,
32
32
  name15
33
- } from "./git-y10z6ja5.js";
33
+ } from "./snapshot-07zcvmjy.js";
34
34
  import {
35
- NotFoundError4,
36
- Service36
37
- } from "./git-8t7rpfs0.js";
35
+ NotFoundError9,
36
+ Service64
37
+ } from "./snapshot-rfsvyd0s.js";
38
38
  import {
39
- Service16
40
- } from "./git-3mpn79e8.js";
39
+ Service25
40
+ } from "./snapshot-zgtv7e6z.js";
41
41
  import {
42
42
  scan2
43
- } from "./git-rc2f37hd.js";
43
+ } from "./snapshot-jzvt5bax.js";
44
44
  import {
45
45
  __export
46
- } from "./git-9rqn6x4v.js";
46
+ } from "./snapshot-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin4,
52
+ Input: () => Input9,
53
+ Plugin: () => Plugin23,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name3
55
+ name: () => name9
56
56
  });
57
57
  import { ToolFailure } from "@opencode-ai/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name3 = "shell";
59
+ var name9 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input3 = Schema.Struct({
73
+ var Input9 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin4 = {
118
+ var Plugin23 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service16;
122
- const jobs = yield* Service65;
121
+ const sessions = yield* Service25;
122
+ const jobs = yield* Service45;
123
123
  const scope = yield* Scope.Scope;
124
124
  const environment = yield* Service69;
125
- const mutation = yield* Service55;
126
- const shell = yield* Service36;
127
- const shellSelect = yield* Service61;
125
+ const mutation = yield* Service13;
126
+ const shell = yield* Service64;
127
+ const shellSelect = yield* Service73;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service48;
130
- const config = yield* Service71;
129
+ const permission = yield* Service49;
130
+ const config = yield* Service67;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -155,7 +155,7 @@ var Plugin4 = {
155
155
  });
156
156
  if (parsed.commands.length > 0)
157
157
  yield* permission.assert({
158
- action: name3,
158
+ action: name9,
159
159
  resources: parsed.commands.map((command) => command.resource),
160
160
  save: parsed.commands.map((command) => command.save),
161
161
  sessionID: context.sessionID,
@@ -192,10 +192,10 @@ var Plugin4 = {
192
192
  yield* jobs.completeBackground(info.notificationID);
193
193
  }, Effect.forkIn(scope, { startImmediately: true }));
194
194
  yield* ctx.tool.transform((editor) => editor.add({
195
- name: name3,
195
+ name: name9,
196
196
  options: { codemode: false },
197
197
  description: description(),
198
- input: Input3,
198
+ input: Input9,
199
199
  output: Output,
200
200
  execute: (input, context) => Effect.gen(function* () {
201
201
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -214,7 +214,7 @@ var Plugin4 = {
214
214
  const run = Effect.gen(function* () {
215
215
  const result = yield* shell.result(info);
216
216
  if (!result.capture)
217
- return yield* new NotFoundError4({ id: info.id });
217
+ return yield* new NotFoundError9({ id: info.id });
218
218
  const output = output2(result);
219
219
  return {
220
220
  ...output,
@@ -228,7 +228,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
228
228
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
229
229
  const job = yield* jobs.start({
230
230
  id: info.id,
231
- type: name3,
231
+ type: name9,
232
232
  title: info.command,
233
233
  metadata: { sessionID: context.sessionID, shellID: info.id },
234
234
  recovery: {
@@ -258,7 +258,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
258
258
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
259
259
  })).pipe(Effect.orDie);
260
260
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
261
- const tool = event.tools[name3];
261
+ const tool = event.tools[name9];
262
262
  if (!tool)
263
263
  return;
264
264
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin4, exports_shell };
269
+ export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin23, exports_shell };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./git-p8qxwesx.js";
4
+ } from "./snapshot-p8qxwesx.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./git-5xfzsdsy.js";
7
+ } from "./snapshot-qq0tkz6q.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,24 +1,24 @@
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/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin17,
14
+ Plugin: () => Plugin5,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint5
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin17 = define({
40
+ var Plugin5 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin17 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin17 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin17, exports_firecrawl };
80
+ export { endpoint5, Plugin5, exports_firecrawl };
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service63,
3
- node67,
2
+ Service56,
3
+ node60,
4
4
  canonical3
5
- } from "./git-989d4g0q.js";
5
+ } from "./snapshot-rnh6xgbj.js";
6
6
  import {
7
- Service29,
8
- node32
9
- } from "./git-8gtnf6t2.js";
7
+ Service42,
8
+ node45
9
+ } from "./snapshot-enw72f67.js";
10
10
  import {
11
11
  layer2
12
- } from "./git-zjbrkj3w.js";
12
+ } from "./snapshot-vx3v7ac4.js";
13
13
 
14
14
  // src/location-services.ts
15
15
  import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
16
16
  function buildLocationServiceMap2(replacements = []) {
17
- return Layer.effect(Service63, Effect.gen(function* () {
17
+ return Layer.effect(Service56, Effect.gen(function* () {
18
18
  const owner = yield* Effect.scope;
19
19
  const booting = MutableHashMap.empty();
20
20
  const inner = yield* LayerMap.make((ref) => {
@@ -42,11 +42,11 @@ function buildLocationServiceMap2(replacements = []) {
42
42
  })
43
43
  };
44
44
  const bindings = [
45
- node32.replace(Layer.succeed(Service29, {
45
+ node45.replace(Layer.succeed(Service42, {
46
46
  provide: (session) => Effect.provide(map.get(session.location))
47
47
  })),
48
48
  ...replacements,
49
- node67.replace(Layer.succeed(Service63, map))
49
+ node60.replace(Layer.succeed(Service56, map))
50
50
  ];
51
51
  return map;
52
52
  }));
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./git-f0mxakyp.js";
3
+ } from "./snapshot-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./git-w3wsvvr9.js";
6
+ } from "./snapshot-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./git-7bmhse3q.js";
9
+ } from "./snapshot-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./git-cf4snx6d.js";
12
+ } from "./snapshot-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./git-822emrt2.js";
15
+ } from "./snapshot-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./git-wd87259q.js";
18
+ } from "./snapshot-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./git-m9w0rfyh.js";
21
+ } from "./snapshot-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -2,46 +2,46 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./git-2a5m3afh.js";
5
+ } from "./snapshot-2a5m3afh.js";
6
6
  import {
7
- Service76
8
- } from "./git-hawqa09c.js";
7
+ Service75
8
+ } from "./snapshot-dbgrqn4f.js";
9
9
  import {
10
10
  Service69
11
- } from "./git-x0w2mwfz.js";
11
+ } from "./snapshot-x1r7j348.js";
12
12
  import {
13
- Service44
14
- } from "./git-j20qt8ny.js";
13
+ Service18
14
+ } from "./snapshot-jn7267xk.js";
15
15
  import {
16
- Service43,
16
+ Service16,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./git-1tda89k7.js";
19
+ } from "./snapshot-436cs3z1.js";
20
20
  import {
21
21
  externalDirectoryPermission2,
22
22
  resolvePath2,
23
- Service55
24
- } from "./git-xqfjvwcm.js";
23
+ Service13
24
+ } from "./snapshot-h49q70se.js";
25
25
  import {
26
- Service48
27
- } from "./git-paap86ds.js";
26
+ Service49
27
+ } from "./snapshot-ga58qvp2.js";
28
28
  import {
29
29
  fileDiff2
30
- } from "./git-6prwharc.js";
30
+ } from "./snapshot-6prwharc.js";
31
31
  import {
32
32
  __export
33
- } from "./git-9rqn6x4v.js";
33
+ } from "./snapshot-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/patch.ts
36
36
  var exports_patch = {};
37
37
  __export(exports_patch, {
38
38
  Applied: () => Applied2,
39
- Input: () => Input2,
40
- Output: () => Output2,
39
+ Input: () => Input3,
40
+ Output: () => Output3,
41
41
  PatchTool: () => exports_patch,
42
- Plugin: () => Plugin3,
43
- name: () => name2,
44
- toModelContent: () => toModelContent2
42
+ Plugin: () => Plugin16,
43
+ name: () => name3,
44
+ toModelContent: () => toModelContent3
45
45
  });
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { FileDiff } from "@opencode-ai/schema/file-diff";
@@ -86,8 +86,8 @@ It is important to remember:
86
86
  `;
87
87
 
88
88
  // src/tool/plugin/patch.ts
89
- var name2 = "patch";
90
- var Input2 = Schema.Struct({
89
+ var name3 = "patch";
90
+ var Input3 = Schema.Struct({
91
91
  patchText: Schema.String.annotate({
92
92
  description: "The full patch text describing add, update, and delete operations"
93
93
  })
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
97
97
  resource: Schema.String,
98
98
  target: Schema.String
99
99
  });
100
- var Output2 = Schema.Struct({
100
+ var Output3 = Schema.Struct({
101
101
  applied: Schema.Array(Applied2),
102
102
  files: Schema.Array(FileDiff.Info)
103
103
  });
104
- var toModelContent2 = (output) => [
104
+ var toModelContent3 = (output) => [
105
105
  "Success. Updated the following files:",
106
106
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
107
107
  ].join(`
108
108
  `);
109
- var Plugin3 = {
109
+ var Plugin16 = {
110
110
  id: "opencode.tool.patch",
111
111
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
112
112
  const environment = yield* Service69;
113
- const mutation = yield* Service55;
114
- const fileMutation = yield* Service43;
115
- const formatter = yield* Service44;
116
- const location = yield* Service76;
117
- const permission = yield* Service48;
113
+ const mutation = yield* Service13;
114
+ const fileMutation = yield* Service16;
115
+ const formatter = yield* Service18;
116
+ const location = yield* Service75;
117
+ const permission = yield* Service49;
118
118
  yield* ctx.tool.transform((editor) => editor.add({
119
- name: name2,
119
+ name: name3,
120
120
  options: { codemode: false, permission: "edit" },
121
121
  description: patch_default,
122
- input: Input2,
123
- output: Output2,
122
+ input: Input3,
123
+ output: Output3,
124
124
  execute: (input, context) => {
125
125
  const applied = [];
126
126
  const parsed = Patch.parse(input.patchText);
@@ -273,7 +273,7 @@ var Plugin3 = {
273
273
  return { applied, files };
274
274
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
275
275
  output,
276
- content: toModelContent2(output),
276
+ content: toModelContent3(output),
277
277
  metadata: { files: output.files }
278
278
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
279
279
  }
@@ -330,4 +330,4 @@ function trimDiff(diff) {
330
330
  `);
331
331
  }
332
332
 
333
- export { name2, Input2, Applied2, Output2, toModelContent2, Plugin3, exports_patch };
333
+ export { name3, Input3, Applied2, Output3, toModelContent3, Plugin16, exports_patch };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./git-qyhzj9g1.js";
5
+ } from "./snapshot-m26n0mt4.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make21,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./git-cfmkmvf9.js";
11
+ } from "./snapshot-k52aap51.js";
12
12
  import {
13
13
  __export
14
- } from "./git-9rqn6x4v.js";
14
+ } from "./snapshot-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make21,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer19,
12
- make: () => make18,
13
- node: () => node56,
10
+ configured: () => configured5,
11
+ layer: () => layer18,
12
+ make: () => make17,
13
+ node: () => node47,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make18()
19
+ defaultValue: () => make17()
20
20
  });
21
- function make18(input = {}) {
21
+ function make17(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make18(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer19 = (input) => Layer.succeed(Metadata2, make18(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
- var node56 = configured6();
31
+ var layer18 = (input) => Layer.succeed(Metadata2, make17(input));
32
+ var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
33
+ var node47 = configured5();
34
34
 
35
- export { Metadata2, make18, useragent2, layer19, configured6, node56, exports_app };
35
+ export { Metadata2, make17, useragent2, layer18, configured5, node47, exports_app };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./git-qfa1cgps.js";
3
+ } from "./snapshot-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,14 +2,14 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./git-0qhj2dys.js";
5
+ } from "./snapshot-x0dsmf4a.js";
6
6
  import {
7
7
  Service74,
8
8
  node79
9
- } from "./git-asmayx9p.js";
9
+ } from "./snapshot-43vf45x5.js";
10
10
  import {
11
11
  __export
12
- } from "./git-9rqn6x4v.js";
12
+ } from "./snapshot-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
19
19
  Event: () => Event18,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service73,
22
+ Service: () => Service72,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node78,
26
- resolve: () => resolve3
25
+ node: () => node77,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode-ai/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service73 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service72 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event18 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,7 +75,7 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service73, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
80
  const kv = yield* Service74;
81
81
  const bus = yield* Service79;
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
112
112
  yield* bus.publish(Event18.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service73.of({
115
+ return Service72.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node78 = makeGlobalNode({ service: Service73, layer, deps: [httpClient, node79, node84] });
146
+ var node77 = makeGlobalNode({ service: Service72, layer, deps: [httpClient, node79, node84] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service73, Event18, inspect2, resolve3, node78, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service72, Event18, inspect2, resolve2, node77, exports_wellknown };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./git-mntxs535.js";
3
+ } from "./snapshot-mntxs535.js";
4
4
  import {
5
5
  tokens2
6
- } from "./git-tjykrgmx.js";
6
+ } from "./snapshot-tjykrgmx.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";