@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,45 +1,45 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./git-y2ccy3rm.js";
4
+ } from "./snapshot-cz8dd9bg.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service79,
8
8
  node84
9
- } from "./git-0qhj2dys.js";
9
+ } from "./snapshot-x0dsmf4a.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./git-0e0xafbb.js";
12
+ } from "./snapshot-0e0xafbb.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./git-mntxs535.js";
15
+ } from "./snapshot-mntxs535.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./git-7ad5acx5.js";
18
+ } from "./snapshot-jybhs5dx.js";
19
19
  import {
20
- Service49,
21
- node52
22
- } from "./git-0x2ny62j.js";
20
+ Service51,
21
+ node55
22
+ } from "./snapshot-b575w93p.js";
23
23
  import {
24
- Service17,
25
- node21
26
- } from "./git-qzw8yrfq.js";
24
+ Service26,
25
+ node30
26
+ } from "./snapshot-2k8fb2v0.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./git-tjykrgmx.js";
30
+ } from "./snapshot-tjykrgmx.js";
31
31
  import {
32
32
  __export
33
- } from "./git-9rqn6x4v.js";
33
+ } from "./snapshot-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service7,
38
+ Service: () => Service11,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer5,
42
- node: () => node10
41
+ layer: () => layer7,
42
+ node: () => node14
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode-ai/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service7 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service11 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer5 = Layer.effect(Service7, Effect.gen(function* () {
61
+ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
62
62
  const bus = yield* Service79;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service17;
65
- const store = yield* Service49;
64
+ const context = yield* Service26;
65
+ const store = yield* Service51;
66
66
  const db = (yield* Service80).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service7.of({ generate });
148
+ return Service11.of({ generate });
149
149
  }));
150
- var node10 = makeLocationNode({
151
- service: Service7,
152
- layer: layer5,
153
- deps: [node84, llmClient2, node21, node52, node85]
150
+ var node14 = makeLocationNode({
151
+ service: Service11,
152
+ layer: layer7,
153
+ deps: [node84, llmClient2, node30, node55, node85]
154
154
  });
155
155
 
156
- export { Service7, isUntitled2, layer5, node10, exports_title };
156
+ export { Service11, isUntitled2, layer7, node14, exports_title };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./git-p8qxwesx.js";
3
+ } from "./snapshot-p8qxwesx.js";
4
4
  import {
5
- Service76,
6
- node81
7
- } from "./git-hawqa09c.js";
5
+ Service75,
6
+ node80
7
+ } from "./snapshot-dbgrqn4f.js";
8
8
  import {
9
- Service68,
10
- node72
11
- } from "./git-mmj3jx9j.js";
9
+ Service19,
10
+ node22
11
+ } from "./snapshot-xf8qs1vs.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./git-tcezcvh9.js";
15
+ } from "./snapshot-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./git-9rqn6x4v.js";
18
+ } from "./snapshot-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options7,
25
- Service: () => Service67,
26
- configured: () => configured8,
24
+ Options: () => Options2,
25
+ Service: () => Service15,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer23,
29
- node: () => node71,
28
+ layer: () => layer8,
29
+ node: () => node18,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode-ai/schema/filesystem";
38
- var Options7 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service67 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service67, Effect.gen(function* () {
62
- const location = yield* Service76;
63
- const ripgrep = yield* Service68;
61
+ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
62
+ const location = yield* Service75;
63
+ const ripgrep = yield* Service19;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service67, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service67.of({
108
+ return Service15.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
116
- const location = yield* Service76;
115
+ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
116
+ const location = yield* Service75;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service67.of({
129
+ return Service15.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service67.of({
134
+ return Service15.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service76;
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service75;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured8(options) {
186
- return makeLocationNode({ service: Service67, layer: layer23(options), deps: [node81, node72] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node80, node22] });
187
187
  }
188
- var node71 = configured8();
188
+ var node18 = configured2();
189
189
 
190
- export { Options7, Service67, ripgrepLayer2, fffLayer2, layer23, configured8, node71, exports_search };
190
+ export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node18, exports_search };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./git-0qhj2dys.js";
4
+ } from "./snapshot-x0dsmf4a.js";
5
5
  import {
6
- Service9,
7
- node12
8
- } from "./git-357rxt8c.js";
6
+ Service7,
7
+ node9
8
+ } from "./snapshot-pj28qm80.js";
9
9
  import {
10
- Service28
11
- } from "./git-ht5y0zrb.js";
10
+ Service35
11
+ } from "./snapshot-619r8v3y.js";
12
12
  import {
13
- node16,
14
- ID2
15
- } from "./git-03trxjpd.js";
13
+ node24,
14
+ ID3
15
+ } from "./snapshot-w3716ws0.js";
16
16
  import {
17
- Service3,
18
- node5
19
- } from "./git-rpstmqvz.js";
17
+ Service5,
18
+ node7
19
+ } from "./snapshot-759pz1a2.js";
20
20
  import {
21
21
  requirements2,
22
22
  list2
23
- } from "./git-g3dk9xws.js";
23
+ } from "./snapshot-qcdzc0mg.js";
24
24
  import {
25
25
  LoadError2,
26
26
  load2
27
- } from "./git-2jqmte8w.js";
27
+ } from "./snapshot-2jqmte8w.js";
28
28
  import {
29
29
  Updated2,
30
- Service5,
31
- node7
32
- } from "./git-xpqkh19y.js";
30
+ Service4,
31
+ node6
32
+ } from "./snapshot-6vk2ew6f.js";
33
33
  import {
34
- Service2,
35
- node4
36
- } from "./git-0k45et74.js";
34
+ Service3,
35
+ node5
36
+ } from "./snapshot-2dxzc6st.js";
37
37
  import {
38
38
  __export
39
- } from "./git-9rqn6x4v.js";
39
+ } from "./snapshot-9rqn6x4v.js";
40
40
 
41
41
  // src/plugin/supervisor.ts
42
42
  var exports_supervisor = {};
43
43
  __export(exports_supervisor, {
44
44
  PluginSupervisor: () => exports_supervisor,
45
45
  layer: () => layer3,
46
- node: () => node3
46
+ node: () => node4
47
47
  });
48
48
  import { Event } from "@opencode-ai/schema/config";
49
49
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -112,7 +112,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (pre, post, operat
112
112
  failures: [
113
113
  ...failures.values(),
114
114
  ...ordered.filter(duplicate).map((plugin) => ({
115
- id: ID2.make(plugin.id),
115
+ id: ID3.make(plugin.id),
116
116
  source: plugin.source ?? { type: "builtin" },
117
117
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
118
118
  features: { server: true, ...plugin.features }
@@ -122,12 +122,12 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (pre, post, operat
122
122
  };
123
123
  });
124
124
  var layer3 = Layer.effectDiscard(Effect.gen(function* () {
125
- const registry = yield* Service28;
126
- const sdk = yield* Service5;
127
- const instance = yield* Service3;
128
- const sources = yield* Service9;
125
+ const registry = yield* Service35;
126
+ const sdk = yield* Service4;
127
+ const instance = yield* Service5;
128
+ const sources = yield* Service7;
129
129
  const bus = yield* Service79;
130
- const updates = yield* Service2;
130
+ const updates = yield* Service3;
131
131
  const internal = yield* list2();
132
132
  let release = yield* registry.hold();
133
133
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -201,11 +201,11 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
201
201
  })), Effect.forkScoped({ startImmediately: true }));
202
202
  }));
203
203
  var nodeDeps = [
204
- node16,
204
+ node24,
205
+ node6,
205
206
  node7,
207
+ node9,
206
208
  node5,
207
- node12,
208
- node4,
209
209
  node84,
210
210
  Npm.node,
211
211
  requirements2
@@ -215,6 +215,6 @@ function pluginSource(target) {
215
215
  return { type: "local", path: target };
216
216
  return { type: "package", target };
217
217
  }
218
- var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
218
+ var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
219
219
 
220
- export { layer3, node3, exports_supervisor };
220
+ export { layer3, node4, exports_supervisor };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./git-0qhj2dys.js";
4
+ } from "./snapshot-x0dsmf4a.js";
5
5
  import {
6
6
  Key4,
7
- Service75,
8
- node80
9
- } from "./git-cnpjj00n.js";
7
+ Service78,
8
+ node83
9
+ } from "./snapshot-8hmtjkv1.js";
10
10
  import {
11
11
  create3
12
- } from "./git-kg06axw8.js";
12
+ } from "./snapshot-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./git-vy6f12p8.js";
16
+ } from "./snapshot-tbez7bkj.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event12,
34
- ID: () => ID9,
35
- Info: () => Info11,
33
+ Event: () => Event15,
34
+ ID: () => ID10,
35
+ Info: () => Info13,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service58,
43
- node: () => node62
42
+ Service: () => Service62,
43
+ node: () => node66
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event12 } from "@opencode-ai/schema/integration";
65
- var ID9 = Integration.ID;
64
+ import { Event as Event15 } from "@opencode-ai/schema/integration";
65
+ var ID10 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info11 = Integration.Info;
73
+ var Info13 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service58 extends Context.Service()("@opencode/Integration") {
90
+ class Service62 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service58, Effect.gen(function* () {
96
- const credentials = yield* Service75;
95
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
96
+ const credentials = yield* Service78;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info11.make({
190
+ const project = (entry, connections) => Info13.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service58.of({
420
+ return Service62.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node62 = makeLocationNode({
569
- service: Service58,
568
+ var node66 = makeLocationNode({
569
+ service: Service62,
570
570
  layer,
571
- deps: [node80, node84, AppProcess.node]
571
+ deps: [node83, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info11, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service58, node62, exports_integration, Event12 };
574
+ export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info13, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service62, node66, exports_integration, Event15 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./git-3fh1yz3r.js";
3
+ } from "./snapshot-0y2g5je5.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./git-twg0f83k.js";
6
+ } from "./snapshot-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./snapshot-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./git-2a5m3afh.js";
3
+ } from "./snapshot-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./git-p8qxwesx.js";
6
+ } from "./snapshot-p8qxwesx.js";
7
7
  import {
8
- Service76
9
- } from "./git-hawqa09c.js";
8
+ Service75
9
+ } from "./snapshot-dbgrqn4f.js";
10
10
  import {
11
11
  Service69
12
- } from "./git-x0w2mwfz.js";
12
+ } from "./snapshot-x1r7j348.js";
13
13
  import {
14
- Service68
15
- } from "./git-mmj3jx9j.js";
14
+ Service19
15
+ } from "./snapshot-xf8qs1vs.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./git-n8xc4bye.js";
21
+ } from "./snapshot-kzh9hg3j.js";
22
22
  import {
23
23
  externalDirectoryPermission2,
24
- Service55
25
- } from "./git-xqfjvwcm.js";
24
+ Service13
25
+ } from "./snapshot-h49q70se.js";
26
26
  import {
27
- Service48
28
- } from "./git-paap86ds.js";
27
+ Service49
28
+ } from "./snapshot-ga58qvp2.js";
29
29
  import {
30
30
  __export
31
- } from "./git-9rqn6x4v.js";
31
+ } from "./snapshot-9rqn6x4v.js";
32
32
 
33
33
  // src/tool/plugin/glob.ts
34
34
  var exports_glob = {};
35
35
  __export(exports_glob, {
36
36
  GlobTool: () => exports_glob,
37
- Input: () => Input8,
38
- Output: () => Output5,
39
- Plugin: () => Plugin10,
40
- name: () => name8,
41
- toModelContent: () => toModelContent5
37
+ Input: () => Input2,
38
+ Output: () => Output2,
39
+ Plugin: () => Plugin15,
40
+ name: () => name2,
41
+ toModelContent: () => toModelContent2
42
42
  });
43
43
  import { ToolFailure } from "@opencode-ai/ai";
44
44
  import { Effect, Schema } from "effect";
45
45
  import path from "path";
46
- var name8 = "glob";
47
- var Input8 = Schema.Struct({
46
+ var name2 = "glob";
47
+ var Input2 = Schema.Struct({
48
48
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
49
49
  path: Schema.optionalKey(RelativePath2).annotate({
50
50
  description: "Directory to search. Defaults to the current working directory."
@@ -56,28 +56,28 @@ var Input8 = Schema.Struct({
56
56
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
57
57
  })
58
58
  });
59
- var Output5 = Schema.Array(Entry2);
60
- var toModelContent5 = (entries, truncated = false) => {
59
+ var Output2 = Schema.Array(Entry2);
60
+ var toModelContent2 = (entries, truncated = false) => {
61
61
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
62
62
  if (truncated)
63
63
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
64
64
  return lines.join(`
65
65
  `);
66
66
  };
67
- var Plugin10 = {
67
+ var Plugin15 = {
68
68
  id: "opencode.tool.glob",
69
69
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
70
70
  const environment = yield* Service69;
71
- const ripgrep = yield* Service68;
72
- const location = yield* Service76;
73
- const mutation = yield* Service55;
74
- const permission = yield* Service48;
71
+ const ripgrep = yield* Service19;
72
+ const location = yield* Service75;
73
+ const mutation = yield* Service13;
74
+ const permission = yield* Service49;
75
75
  yield* ctx.tool.transform((editor) => editor.add({
76
- name: name8,
76
+ name: name2,
77
77
  options: { codemode: false },
78
78
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
79
- input: Input8,
80
- output: Output5,
79
+ input: Input2,
80
+ output: Output2,
81
81
  execute: (input, context) => Effect.gen(function* () {
82
82
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
83
83
  const source = { type: "tool", messageID: context.messageID, id: context.id };
@@ -91,7 +91,7 @@ var Plugin10 = {
91
91
  source
92
92
  });
93
93
  yield* permission.assert({
94
- action: name8,
94
+ action: name2,
95
95
  resources: [input.pattern],
96
96
  save: ["*"],
97
97
  metadata: {
@@ -126,11 +126,11 @@ var Plugin10 = {
126
126
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
127
127
  }).pipe(Effect.map((result) => ({
128
128
  output: result.entries,
129
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
129
+ content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
130
130
  metadata: { count: result.entries.length, truncated: result.truncated }
131
131
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
132
132
  })).pipe(Effect.orDie);
133
133
  })
134
134
  };
135
135
 
136
- export { name8, Input8, Output5, toModelContent5, Plugin10, exports_glob };
136
+ export { name2, Input2, Output2, toModelContent2, Plugin15, exports_glob };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./git-cfmkmvf9.js";
3
+ } from "./snapshot-k52aap51.js";
4
4
  import {
5
5
  apply3
6
- } from "./git-b185tj8s.js";
6
+ } from "./snapshot-cmmnpq6j.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./snapshot-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};