@opencode/core 0.0.0-dev-19316 → 0.0.0-dev-19317

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +83 -83
  8. package/dist/chunks/{workspace-1s80jvpe.js → repository-02smmm4r.js} +30 -30
  9. package/dist/chunks/{workspace-k19spz14.js → repository-045wck3r.js} +4 -4
  10. package/dist/chunks/{workspace-4d61g8er.js → repository-059964m6.js} +43 -43
  11. package/dist/chunks/{workspace-0hf9g8pg.js → repository-0bps82y7.js} +6 -6
  12. package/dist/chunks/{workspace-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{workspace-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{workspace-9cex7hp6.js → repository-0xvyn13b.js} +59 -59
  15. package/dist/chunks/{workspace-s5g9mpsf.js → repository-164c4x8d.js} +4 -4
  16. package/dist/chunks/{workspace-jwqth68t.js → repository-16j2nq32.js} +19 -19
  17. package/dist/chunks/{workspace-1acjjqhc.js → repository-1acjjqhc.js} +1 -1
  18. package/dist/chunks/{workspace-7k17nv4j.js → repository-1ajye52f.js} +22 -22
  19. package/dist/chunks/{workspace-g5twr0sp.js → repository-1awm1f41.js} +12 -12
  20. package/dist/chunks/{workspace-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{workspace-1dfhrqqs.js → repository-1dfhrqqs.js} +2 -2
  22. package/dist/chunks/{workspace-9mbwqz4q.js → repository-1f0q2knt.js} +36 -36
  23. package/dist/chunks/{workspace-d5a42mez.js → repository-1pdzqgga.js} +15 -15
  24. package/dist/chunks/{workspace-9zswys26.js → repository-1tjg7tvh.js} +9 -9
  25. package/dist/chunks/{workspace-33w4ejhs.js → repository-1ygqh575.js} +6 -6
  26. package/dist/chunks/{workspace-21r38tys.js → repository-21r38tys.js} +1 -1
  27. package/dist/chunks/{workspace-6h73sxmp.js → repository-2402vzrj.js} +5 -5
  28. package/dist/chunks/{workspace-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{workspace-e3b0d0gy.js → repository-2bqak6vk.js} +9 -9
  30. package/dist/chunks/{workspace-wgq3akg3.js → repository-2c593dpe.js} +26 -26
  31. package/dist/chunks/{workspace-83q95eg7.js → repository-2d626495.js} +9 -9
  32. package/dist/chunks/{workspace-ak2adswv.js → repository-2ehqxkpw.js} +18 -18
  33. package/dist/chunks/{workspace-dj9sq318.js → repository-2f0bjgcj.js} +5 -5
  34. package/dist/chunks/{workspace-wmqmw210.js → repository-2p43b4z4.js} +8 -8
  35. package/dist/chunks/{workspace-bskx12th.js → repository-2pmrb1d6.js} +7 -7
  36. package/dist/chunks/{workspace-fvr7jna4.js → repository-2qyxhzr1.js} +13 -13
  37. package/dist/chunks/{workspace-4dg124c5.js → repository-2vgzs72b.js} +5 -5
  38. package/dist/chunks/{workspace-awaee7qt.js → repository-2y34zzjz.js} +6 -6
  39. package/dist/chunks/{workspace-z9xz7t7m.js → repository-35adck8a.js} +23 -23
  40. package/dist/chunks/{workspace-eramvw3w.js → repository-36t2ng94.js} +19 -19
  41. package/dist/chunks/{workspace-f4x3f9y9.js → repository-38sxx9hd.js} +30 -30
  42. package/dist/chunks/{workspace-7gvp9cq5.js → repository-3dj2kwsy.js} +21 -21
  43. package/dist/chunks/{workspace-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{workspace-317x7tvz.js → repository-3kem7kwr.js} +16 -16
  45. package/dist/chunks/{workspace-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{workspace-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{workspace-mqy0jkn2.js → repository-3ythc6yv.js} +4 -4
  48. package/dist/chunks/{workspace-awz7xhfp.js → repository-43k15f45.js} +4 -4
  49. package/dist/chunks/{workspace-7mz653pd.js → repository-476t6gmh.js} +7 -7
  50. package/dist/chunks/{workspace-nhy5jxhy.js → repository-47gsdddb.js} +5 -5
  51. package/dist/chunks/{workspace-xkzbfh0m.js → repository-4c8re0tx.js} +13 -13
  52. package/dist/chunks/{workspace-bkqaqtv1.js → repository-4cbfc9qt.js} +17 -17
  53. package/dist/chunks/{workspace-eds7zwp6.js → repository-4em4qkvj.js} +24 -24
  54. package/dist/chunks/{workspace-yyhgy33t.js → repository-4r8zj0xa.js} +10 -10
  55. package/dist/chunks/{workspace-rrjgssxh.js → repository-50364jye.js} +46 -46
  56. package/dist/chunks/{workspace-4t57t1en.js → repository-594bb0zr.js} +11 -11
  57. package/dist/chunks/{workspace-5daktx2q.js → repository-5daktx2q.js} +1 -1
  58. package/dist/chunks/{workspace-0em1p5dp.js → repository-5ffk5gzk.js} +81 -81
  59. package/dist/chunks/{workspace-5kptn8c0.js → repository-5kptn8c0.js} +2 -2
  60. package/dist/chunks/{workspace-9n5bgjha.js → repository-5naxf7j8.js} +3 -3
  61. package/dist/chunks/{workspace-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{workspace-zka56nxw.js → repository-615kspf3.js} +26 -26
  63. package/dist/chunks/{workspace-669tq793.js → repository-669tq793.js} +1 -1
  64. package/dist/chunks/{workspace-eh4km76q.js → repository-66cmz1z4.js} +24 -24
  65. package/dist/chunks/{workspace-k1hbjbhr.js → repository-66v2kt92.js} +41 -41
  66. package/dist/chunks/{workspace-mxj2eewr.js → repository-6c6pe1h9.js} +20 -20
  67. package/dist/chunks/{workspace-yagmabmz.js → repository-6cw0q144.js} +4 -4
  68. package/dist/chunks/{workspace-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{workspace-rztdx977.js → repository-6prdtfsq.js} +9 -9
  70. package/dist/chunks/{workspace-97s80yy3.js → repository-6xrzfrk8.js} +23 -23
  71. package/dist/chunks/{workspace-gwwc15b8.js → repository-6xyd484e.js} +14 -14
  72. package/dist/chunks/{workspace-f5agypy8.js → repository-6zr7k3aq.js} +16 -16
  73. package/dist/chunks/{workspace-71q4at8m.js → repository-71q4at8m.js} +1 -1
  74. package/dist/chunks/{workspace-1jyjw0dy.js → repository-71wj71z5.js} +14 -14
  75. package/dist/chunks/{workspace-eq1pz5kg.js → repository-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{workspace-dffz74yj.js → repository-76dvax8j.js} +26 -26
  77. package/dist/chunks/{workspace-8761qpcg.js → repository-7796pmke.js} +39 -39
  78. package/dist/chunks/{workspace-bsxfqzhc.js → repository-786rp8pk.js} +8 -8
  79. package/dist/chunks/{workspace-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{workspace-xwwm14an.js → repository-7hy3mtbm.js} +9 -9
  81. package/dist/chunks/{workspace-ej8xv5ds.js → repository-89scvk1m.js} +3 -3
  82. package/dist/chunks/{workspace-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{workspace-dvzjgrza.js → repository-8fkaqdjp.js} +39 -39
  84. package/dist/chunks/{workspace-50p99xk2.js → repository-8g9ptmgy.js} +37 -37
  85. package/dist/chunks/{workspace-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{workspace-pkjnw8xf.js → repository-8w4ne1ng.js} +27 -27
  87. package/dist/chunks/{workspace-sp5zyyma.js → repository-8wsye86r.js} +8 -8
  88. package/dist/chunks/{workspace-vypqtakx.js → repository-96yt6zt0.js} +1 -1
  89. package/dist/chunks/{workspace-r7x04355.js → repository-983mj5wh.js} +34 -34
  90. package/dist/chunks/{workspace-cgnjyr8a.js → repository-994195wy.js} +47 -47
  91. package/dist/chunks/{workspace-qkek724z.js → repository-9cq2d911.js} +8 -8
  92. package/dist/chunks/{workspace-kfdzm4dd.js → repository-9j04cpa9.js} +27 -27
  93. package/dist/chunks/{workspace-a2vj9kk6.js → repository-9kp37p9x.js} +17 -17
  94. package/dist/chunks/{workspace-f10twq9w.js → repository-9pn042z2.js} +11 -11
  95. package/dist/chunks/{workspace-36jkazxa.js → repository-9pntmsg4.js} +5 -5
  96. package/dist/chunks/{workspace-540a1fgr.js → repository-9t7dzp30.js} +33 -33
  97. package/dist/chunks/{workspace-gk38wydt.js → repository-a08t2777.js} +17 -17
  98. package/dist/chunks/{workspace-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{workspace-ntgxvp5h.js → repository-a4hnh0bm.js} +11 -11
  100. package/dist/chunks/{workspace-t6msp11s.js → repository-a5tz83rk.js} +6 -6
  101. package/dist/chunks/{workspace-aaet6srn.js → repository-aaet6srn.js} +2 -2
  102. package/dist/chunks/{workspace-r0nnab1q.js → repository-ahpy00m2.js} +24 -24
  103. package/dist/chunks/{workspace-mw6ans9c.js → repository-akymg2m4.js} +5 -5
  104. package/dist/chunks/{workspace-kenqsagb.js → repository-arbskmtj.js} +9 -9
  105. package/dist/chunks/{workspace-19g3xj2s.js → repository-arkn2b9y.js} +30 -30
  106. package/dist/chunks/{workspace-66j98p5d.js → repository-awakh2te.js} +29 -29
  107. package/dist/chunks/{workspace-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{workspace-9a52esse.js → repository-bb1ss1nb.js} +23 -23
  109. package/dist/chunks/{workspace-vze96k0n.js → repository-bcn5dnkb.js} +4 -4
  110. package/dist/chunks/{workspace-323qkwbp.js → repository-bh01taga.js} +7 -7
  111. package/dist/chunks/{workspace-wynthrjp.js → repository-bkqb0v3f.js} +6 -6
  112. package/dist/chunks/{workspace-mpxhxrb2.js → repository-bn183kc6.js} +18 -18
  113. package/dist/chunks/{workspace-wv6yb1rv.js → repository-bsbmndgv.js} +1 -1
  114. package/dist/chunks/{workspace-60stz191.js → repository-cb945wyk.js} +31 -31
  115. package/dist/chunks/{workspace-e4k3fffr.js → repository-cct48r6v.js} +23 -23
  116. package/dist/chunks/{workspace-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{workspace-rtv6ahp9.js → repository-cjwramev.js} +6 -6
  118. package/dist/chunks/{workspace-rjqwr5dw.js → repository-ckjvqjqe.js} +24 -24
  119. package/dist/chunks/{workspace-kxpygcw9.js → repository-cpy6gm2a.js} +6 -6
  120. package/dist/chunks/{workspace-95x6xbkr.js → repository-cq37gk0t.js} +4 -4
  121. package/dist/chunks/{workspace-0cmfkvjr.js → repository-dj0r9pya.js} +28 -28
  122. package/dist/chunks/{workspace-wn4kdw9q.js → repository-e3rrrskg.js} +4 -4
  123. package/dist/chunks/repository-e5dbcc46.js +22 -0
  124. package/dist/chunks/{workspace-w23a9fg2.js → repository-e72k63ab.js} +3 -3
  125. package/dist/chunks/{workspace-4rd6evxz.js → repository-ebn37zs9.js} +15 -15
  126. package/dist/chunks/{workspace-baaqp4zd.js → repository-embw8kgh.js} +4 -4
  127. package/dist/chunks/{workspace-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{workspace-10dffqyq.js → repository-f0v0ycm1.js} +22 -22
  129. package/dist/chunks/{workspace-39mbwg99.js → repository-f28ytfvt.js} +16 -16
  130. package/dist/chunks/{workspace-ayjzdqkx.js → repository-f4ay2dft.js} +4 -4
  131. package/dist/chunks/{workspace-gsyxgrq8.js → repository-f76ze5tv.js} +35 -35
  132. package/dist/chunks/{workspace-f828m53h.js → repository-f828m53h.js} +2 -2
  133. package/dist/chunks/{workspace-h2gyv3sg.js → repository-f8q7mv7a.js} +1 -1
  134. package/dist/chunks/{workspace-cjsvwj1q.js → repository-fa62265d.js} +15 -15
  135. package/dist/chunks/{workspace-d53dp3ny.js → repository-fcsd4zs5.js} +11 -11
  136. package/dist/chunks/{workspace-3trbxeqx.js → repository-fgh0kbhd.js} +1 -1
  137. package/dist/chunks/{workspace-rme5v0wm.js → repository-fmyvj1jr.js} +10 -10
  138. package/dist/chunks/{workspace-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{workspace-fq1h1v14.js → repository-fygdb7h7.js} +3 -3
  140. package/dist/chunks/{workspace-cwtysmh4.js → repository-g48a3zmh.js} +12 -12
  141. package/dist/chunks/{workspace-qzyph8ek.js → repository-g71p6t9p.js} +11 -11
  142. package/dist/chunks/{workspace-awhdw3pf.js → repository-g8e8xch5.js} +81 -81
  143. package/dist/chunks/{workspace-kma43rbx.js → repository-gb6yb404.js} +35 -35
  144. package/dist/chunks/{workspace-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{workspace-3fc6dm20.js → repository-gdvy8fx6.js} +4 -4
  146. package/dist/chunks/{workspace-2nyvck04.js → repository-gn1fbr6b.js} +9 -9
  147. package/dist/chunks/{workspace-1ev0k7s6.js → repository-gs888y4z.js} +8 -8
  148. package/dist/chunks/{workspace-bgqpk6ej.js → repository-gszsphzc.js} +5 -5
  149. package/dist/chunks/{workspace-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  150. package/dist/chunks/{workspace-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  151. package/dist/chunks/{workspace-5nzafj0m.js → repository-h0r85tvv.js} +11 -11
  152. package/dist/chunks/{workspace-3q6hd4jt.js → repository-h165c536.js} +12 -12
  153. package/dist/chunks/{workspace-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{workspace-ed1arge1.js → repository-h7q5ckcv.js} +18 -18
  155. package/dist/chunks/{workspace-h7ygw6q4.js → repository-h7ygw6q4.js} +2 -2
  156. package/dist/chunks/{workspace-zqpyhaa2.js → repository-hjza1htt.js} +10 -10
  157. package/dist/chunks/{workspace-af04s6ss.js → repository-hkfg6fzm.js} +5 -5
  158. package/dist/chunks/{workspace-c4t116nm.js → repository-hrxs1993.js} +3 -3
  159. package/dist/chunks/{workspace-c82pnra3.js → repository-hteedcyj.js} +32 -32
  160. package/dist/chunks/{workspace-2yamwwtx.js → repository-hvbtbey6.js} +10 -10
  161. package/dist/chunks/{workspace-j56e64zr.js → repository-j56e64zr.js} +1 -1
  162. package/dist/chunks/{workspace-1vtz46z8.js → repository-j9c14zc8.js} +8 -8
  163. package/dist/chunks/{workspace-s6jr34qb.js → repository-jb0x01rj.js} +26 -26
  164. package/dist/chunks/{workspace-gf3khw20.js → repository-jgw85x6m.js} +15 -15
  165. package/dist/chunks/{workspace-q3jq24j1.js → repository-jhhkcjkk.js} +18 -18
  166. package/dist/chunks/{workspace-9m6qag95.js → repository-jk1sm5e0.js} +23 -23
  167. package/dist/chunks/{workspace-7vbk9m4e.js → repository-jpcfnxx6.js} +15 -15
  168. package/dist/chunks/{workspace-48hw3qw3.js → repository-jqb83hwr.js} +22 -22
  169. package/dist/chunks/{workspace-nrdmrqsx.js → repository-jw80jp6b.js} +4 -4
  170. package/dist/chunks/{workspace-4zb7zm34.js → repository-jyjh1hv5.js} +11 -11
  171. package/dist/chunks/{workspace-9k2v62xn.js → repository-k16ay38w.js} +1 -1
  172. package/dist/chunks/{workspace-bh0wyjv7.js → repository-k1dwx0ea.js} +6 -6
  173. package/dist/chunks/{workspace-wzkwse1s.js → repository-k6mvgpmx.js} +13 -13
  174. package/dist/chunks/{workspace-kg06axw8.js → repository-kg06axw8.js} +1 -1
  175. package/dist/chunks/{workspace-8hpffc5d.js → repository-kpgmbxv4.js} +12 -12
  176. package/dist/chunks/{workspace-vabb23s0.js → repository-ksz0h0wp.js} +1 -1
  177. package/dist/chunks/{workspace-4tq5d7x2.js → repository-kw9bzk6g.js} +20 -20
  178. package/dist/chunks/{workspace-ewztbjbx.js → repository-kzx5e7cb.js} +169 -169
  179. package/dist/chunks/{workspace-j69p6wmc.js → repository-m1kdqrrt.js} +26 -26
  180. package/dist/chunks/{workspace-1tbv6t5g.js → repository-m23z2hgx.js} +43 -43
  181. package/dist/chunks/{workspace-84tssp1s.js → repository-m27pyyd3.js} +6 -6
  182. package/dist/chunks/{workspace-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{workspace-fmah640z.js → repository-mf7gv44a.js} +24 -20
  184. package/dist/chunks/{workspace-42h2bxtq.js → repository-mh0z80me.js} +10 -10
  185. package/dist/chunks/{workspace-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
  186. package/dist/chunks/{workspace-2fsj26k1.js → repository-mmwr6ta3.js} +15 -15
  187. package/dist/chunks/{workspace-81czwxpn.js → repository-msq0jde0.js} +4 -4
  188. package/dist/chunks/{workspace-ve0zfa78.js → repository-mvptyta3.js} +9 -9
  189. package/dist/chunks/{workspace-mtd5x7py.js → repository-n4w1yhk7.js} +16 -16
  190. package/dist/chunks/{workspace-5aktmhjp.js → repository-n7698azc.js} +15 -15
  191. package/dist/chunks/{workspace-rs226bz6.js → repository-n76fdqym.js} +5 -5
  192. package/dist/chunks/{workspace-t7b1xacm.js → repository-nv9askeb.js} +8 -8
  193. package/dist/chunks/{workspace-40ztfmwz.js → repository-nyw36zg8.js} +15 -15
  194. package/dist/chunks/{workspace-xmh8jj88.js → repository-p33ejz0k.js} +1 -1
  195. package/dist/chunks/{workspace-mrk2ms14.js → repository-p55xqwj6.js} +35 -35
  196. package/dist/chunks/{workspace-5yrg3hxm.js → repository-p66jjbas.js} +8 -8
  197. package/dist/chunks/{workspace-6gfd5xf8.js → repository-paks601p.js} +30 -30
  198. package/dist/chunks/{workspace-s7731dqm.js → repository-php4m0nf.js} +2 -2
  199. package/dist/chunks/repository-phz3h32g.js +18 -0
  200. package/dist/chunks/{workspace-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{workspace-93hpb89x.js → repository-pk2244jm.js} +3 -3
  202. package/dist/chunks/{workspace-pknna89w.js → repository-pknna89w.js} +1 -1
  203. package/dist/chunks/{workspace-srvat6zp.js → repository-pt8770bk.js} +6 -6
  204. package/dist/chunks/{workspace-1s5kemrg.js → repository-qa2rds3b.js} +25 -25
  205. package/dist/chunks/{workspace-93dyhyad.js → repository-qg6rt9vr.js} +17 -17
  206. package/dist/chunks/{workspace-0jwsre1p.js → repository-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{workspace-zyzp2298.js → repository-qmxj8h0d.js} +9 -9
  208. package/dist/chunks/{workspace-b8gwhbay.js → repository-qsdt89h7.js} +22 -22
  209. package/dist/chunks/{workspace-qsdy395h.js → repository-qsdy395h.js} +1 -1
  210. package/dist/chunks/{workspace-v84z85pp.js → repository-r4prmjef.js} +15 -15
  211. package/dist/chunks/{workspace-esdnemd6.js → repository-r9babyk8.js} +1 -1
  212. package/dist/chunks/{workspace-g8d3gcyj.js → repository-ratrq7cm.js} +5 -5
  213. package/dist/chunks/{workspace-0gdmqesm.js → repository-rhjbct0v.js} +4 -4
  214. package/dist/chunks/{workspace-xp88wr07.js → repository-rk0rec3h.js} +9 -9
  215. package/dist/chunks/{workspace-b94pmmqr.js → repository-rwey6xtr.js} +284 -284
  216. package/dist/chunks/{workspace-p129658b.js → repository-s1taq3yv.js} +15 -15
  217. package/dist/chunks/{workspace-t6qa8pj9.js → repository-s6wjkaab.js} +18 -18
  218. package/dist/chunks/{workspace-a68v6zx7.js → repository-sbnsh8k5.js} +8 -8
  219. package/dist/chunks/{workspace-2vg72gbq.js → repository-swtg4spb.js} +9 -9
  220. package/dist/chunks/{workspace-61tdtcny.js → repository-t0db4qcz.js} +10 -10
  221. package/dist/chunks/{workspace-1yafz2c2.js → repository-t5vzjtwz.js} +21 -21
  222. package/dist/chunks/{workspace-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  223. package/dist/chunks/repository-tb3zndzb.js +247 -0
  224. package/dist/chunks/{workspace-5jfbnsm9.js → repository-tbcgmyg4.js} +50 -50
  225. package/dist/chunks/{workspace-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{workspace-j6rj9xt6.js → repository-tcjn4qbc.js} +41 -41
  227. package/dist/chunks/{workspace-tdstcens.js → repository-tdstcens.js} +1 -1
  228. package/dist/chunks/{workspace-zke2pdp6.js → repository-tesasq7y.js} +11 -11
  229. package/dist/chunks/{workspace-wkwfxgj3.js → repository-tfngb0ww.js} +4 -4
  230. package/dist/chunks/{workspace-pn6nrrpr.js → repository-tkms5754.js} +27 -27
  231. package/dist/chunks/{workspace-hrhrxexm.js → repository-tq3zj2mx.js} +4 -4
  232. package/dist/chunks/{workspace-8p83gb6h.js → repository-ttm38dpy.js} +6 -6
  233. package/dist/chunks/{workspace-5kmnb5g6.js → repository-tts5d3vq.js} +15 -15
  234. package/dist/chunks/{workspace-tvtrv512.js → repository-tvtrv512.js} +1 -1
  235. package/dist/chunks/{workspace-6st33d4x.js → repository-txft1z8e.js} +25 -25
  236. package/dist/chunks/{workspace-0qnka9n6.js → repository-v9t95238.js} +17 -17
  237. package/dist/chunks/{workspace-4zbs3q2b.js → repository-vbzh8kc2.js} +25 -25
  238. package/dist/chunks/{workspace-jab8rdhp.js → repository-vepva715.js} +9 -9
  239. package/dist/chunks/{workspace-veqvce7d.js → repository-veqvce7d.js} +1 -1
  240. package/dist/chunks/{workspace-v1cqtm69.js → repository-vmvf27d6.js} +16 -16
  241. package/dist/chunks/{workspace-q2b1ymqp.js → repository-vncycja5.js} +4 -4
  242. package/dist/chunks/{workspace-4jmdj23e.js → repository-vxwzppst.js} +9 -9
  243. package/dist/chunks/{workspace-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{workspace-0s5v0p6k.js → repository-vzkegt94.js} +51 -51
  245. package/dist/chunks/{workspace-90qgvd9n.js → repository-w3b0evb0.js} +23 -23
  246. package/dist/chunks/{workspace-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{workspace-rdz2tx67.js → repository-w4x6a4ey.js} +3 -3
  248. package/dist/chunks/{workspace-gj9xpvv3.js → repository-wa9n8nyq.js} +8 -8
  249. package/dist/chunks/{workspace-wd87259q.js → repository-wd87259q.js} +1 -1
  250. package/dist/chunks/{workspace-5cwvq4ff.js → repository-wjvnh3e5.js} +2 -2
  251. package/dist/chunks/{workspace-3v77a270.js → repository-wn91f6p1.js} +24 -24
  252. package/dist/chunks/{workspace-86jav2f7.js → repository-wq9rcnez.js} +23 -23
  253. package/dist/chunks/{workspace-s2bazk07.js → repository-wr1pgfqd.js} +16 -16
  254. package/dist/chunks/{workspace-5pq3v0sk.js → repository-wsnptkpy.js} +12 -12
  255. package/dist/chunks/{workspace-7gb606e6.js → repository-wt2bvgvt.js} +11 -11
  256. package/dist/chunks/{workspace-qqbqqn54.js → repository-ww34bdfa.js} +36 -36
  257. package/dist/chunks/{workspace-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{workspace-asmz7wyz.js → repository-x3et2xth.js} +8 -8
  259. package/dist/chunks/{workspace-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
  260. package/dist/chunks/{workspace-v9ct93z2.js → repository-x5wwe36q.js} +8 -8
  261. package/dist/chunks/{workspace-wwhdthxc.js → repository-y01f7qch.js} +24 -24
  262. package/dist/chunks/{workspace-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{workspace-y71avatq.js → repository-y71avatq.js} +1 -1
  264. package/dist/chunks/{workspace-ya5s98jd.js → repository-y7vh14v8.js} +11 -11
  265. package/dist/chunks/{workspace-12jdhdht.js → repository-yfc3q1gy.js} +8 -8
  266. package/dist/chunks/{workspace-beamd2gc.js → repository-yg76m3am.js} +7 -7
  267. package/dist/chunks/{workspace-qn4ba14w.js → repository-yjptyezs.js} +5 -5
  268. package/dist/chunks/{workspace-15pjexzy.js → repository-yn917984.js} +13 -13
  269. package/dist/chunks/{workspace-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{workspace-yrznvahk.js → repository-yrznvahk.js} +2 -2
  271. package/dist/chunks/{workspace-dgmwn8ez.js → repository-yy3gmdz3.js} +8 -8
  272. package/dist/chunks/{workspace-43bvnm0c.js → repository-yzygp3kb.js} +27 -27
  273. package/dist/chunks/{workspace-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{workspace-n51qh0r9.js → repository-z0tfr0p6.js} +6 -6
  275. package/dist/chunks/{workspace-0yq4eb34.js → repository-z2v8zvr3.js} +24 -24
  276. package/dist/chunks/{workspace-z63w68vq.js → repository-z63w68vq.js} +2 -2
  277. package/dist/chunks/{workspace-mrw4weg4.js → repository-z69s9t6b.js} +5 -5
  278. package/dist/chunks/{workspace-91xp5nbf.js → repository-zaph8b8m.js} +7 -7
  279. package/dist/chunks/{workspace-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{workspace-jxn2j4b1.js → repository-zgjvenhq.js} +4 -4
  281. package/dist/chunks/{workspace-pq4st5kv.js → repository-zhxw6mnd.js} +2 -2
  282. package/dist/chunks/{workspace-q265yh5d.js → repository-zk0g9nwz.js} +7 -7
  283. package/dist/chunks/{workspace-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{workspace-c0mtdgpv.js → repository-zsf3bcce.js} +16 -16
  285. package/dist/chunks/{workspace-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{workspace-bt8hdx22.js → repository-zxy676qc.js} +17 -17
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +77 -77
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +115 -115
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +115 -115
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +134 -134
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +113 -113
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +64 -64
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +74 -74
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +88 -88
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +90 -90
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +68 -68
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +89 -89
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +99 -99
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +96 -96
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +78 -78
  426. package/dist/generate.js +91 -91
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +7 -7
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +81 -81
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +84 -84
  457. package/dist/job.js +75 -75
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +128 -128
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +81 -81
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +82 -82
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +103 -103
  467. package/dist/mcp/instructions.js +122 -122
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +7 -7
  472. package/dist/model-resolver.js +86 -86
  473. package/dist/model.js +8 -8
  474. package/dist/models-dev.js +86 -86
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +76 -76
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +100 -100
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +97 -97
  485. package/dist/plugin/command.js +94 -94
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +80 -80
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +72 -72
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +340 -340
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +85 -85
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +88 -88
  558. package/dist/reference/instructions.js +82 -82
  559. package/dist/reference.js +84 -84
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +93 -93
  564. package/dist/rpc.js +81 -81
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +129 -129
  568. package/dist/session/context.js +145 -145
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +216 -216
  573. package/dist/session/execution.js +124 -124
  574. package/dist/session/generate.js +146 -146
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +88 -88
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +77 -77
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +113 -113
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +126 -126
  586. package/dist/session/projector.js +84 -84
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +1 -1
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +225 -225
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +110 -110
  597. package/dist/session/runner/step.js +119 -119
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +71 -71
  605. package/dist/session/store.js +85 -85
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +203 -203
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +149 -149
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +212 -212
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +209 -209
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +13 -13
  618. package/dist/shell.js +133 -133
  619. package/dist/skill/discovery.js +2 -2
  620. package/dist/skill/instructions.js +100 -100
  621. package/dist/skill.js +103 -103
  622. package/dist/snapshot.js +86 -86
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +121 -121
  627. package/dist/tool/plugin/edit.js +115 -115
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +120 -120
  630. package/dist/tool/plugin/grep.js +118 -118
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +100 -100
  634. package/dist/tool/plugin/read.js +121 -121
  635. package/dist/tool/plugin/shell.js +210 -210
  636. package/dist/tool/plugin/skill.js +108 -108
  637. package/dist/tool/plugin/subagent.js +214 -214
  638. package/dist/tool/plugin/webfetch.js +107 -107
  639. package/dist/tool/plugin/websearch.js +107 -107
  640. package/dist/tool/plugin/write.js +115 -115
  641. package/dist/tool/read-filesystem.js +96 -96
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +5 -5
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +72 -72
  674. package/dist/wellknown.js +77 -77
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +78 -78
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +89 -89
  683. package/package.json +8 -8
  684. package/dist/chunks/workspace-q509s3k3.js +0 -18
  685. package/dist/chunks/workspace-x04nape8.js +0 -247
  686. package/dist/chunks/workspace-y31r8zkp.js +0 -22
  687. /package/dist/chunks/{workspace-0mesazry.js → repository-0mesazry.js} +0 -0
  688. /package/dist/chunks/{workspace-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{workspace-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{workspace-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{workspace-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{workspace-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{workspace-2710q6r3.js → repository-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{workspace-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{workspace-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{workspace-359p4xyc.js → repository-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{workspace-3asan66x.js → repository-3asan66x.js} +0 -0
  698. /package/dist/chunks/{workspace-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{workspace-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{workspace-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{workspace-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{workspace-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{workspace-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{workspace-53557ph1.js → repository-53557ph1.js} +0 -0
  705. /package/dist/chunks/{workspace-550bvhaj.js → repository-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{workspace-6prwharc.js → repository-6prwharc.js} +0 -0
  707. /package/dist/chunks/{workspace-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{workspace-7m9af43g.js → repository-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{workspace-822emrt2.js → repository-822emrt2.js} +0 -0
  710. /package/dist/chunks/{workspace-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{workspace-8n3pysct.js → repository-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{workspace-922hggd3.js → repository-922hggd3.js} +0 -0
  713. /package/dist/chunks/{workspace-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{workspace-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{workspace-a1tpkmh4.js → repository-a1tpkmh4.js} +0 -0
  716. /package/dist/chunks/{workspace-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{workspace-af5trqkr.js → repository-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{workspace-afrmfg78.js → repository-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{workspace-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{workspace-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{workspace-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{workspace-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{workspace-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{workspace-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{workspace-d9fn303g.js → repository-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{workspace-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{workspace-dajrwvna.js → repository-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{workspace-dap0rakb.js → repository-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{workspace-df08tz66.js → repository-df08tz66.js} +0 -0
  730. /package/dist/chunks/{workspace-dy18nga0.js → repository-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{workspace-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{workspace-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{workspace-ec1grn59.js → repository-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{workspace-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{workspace-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{workspace-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{workspace-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{workspace-faypxj3z.js → repository-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{workspace-fd410y7t.js → repository-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{workspace-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{workspace-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{workspace-g86h250q.js → repository-g86h250q.js} +0 -0
  743. /package/dist/chunks/{workspace-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{workspace-gftt206x.js → repository-gftt206x.js} +0 -0
  745. /package/dist/chunks/{workspace-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{workspace-hk9envan.js → repository-hk9envan.js} +0 -0
  747. /package/dist/chunks/{workspace-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  748. /package/dist/chunks/{workspace-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{workspace-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{workspace-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{workspace-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{workspace-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{workspace-mp448xyj.js → repository-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{workspace-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{workspace-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{workspace-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{workspace-njntx4h6.js → repository-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{workspace-paphc93g.js → repository-paphc93g.js} +0 -0
  759. /package/dist/chunks/{workspace-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{workspace-q74kybfr.js → repository-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{workspace-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{workspace-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{workspace-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{workspace-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{workspace-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{workspace-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{workspace-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{workspace-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{workspace-twg0f83k.js → repository-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{workspace-w803qqfp.js → repository-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{workspace-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{workspace-wtztk69x.js → repository-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{workspace-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{workspace-x61499pn.js → repository-x61499pn.js} +0 -0
  775. /package/dist/chunks/{workspace-y44na4kk.js → repository-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{workspace-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{workspace-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{workspace-ym463w8f.js → repository-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{workspace-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./workspace-9n5bgjha.js";
3
+ } from "./repository-5naxf7j8.js";
4
4
  import {
5
5
  Service79
6
- } from "./workspace-wn4kdw9q.js";
6
+ } from "./repository-e3rrrskg.js";
7
7
  import {
8
- Service53
9
- } from "./workspace-0hf9g8pg.js";
8
+ Service49
9
+ } from "./repository-0bps82y7.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./workspace-922hggd3.js";
12
+ } from "./repository-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service34
16
- } from "./workspace-4zbs3q2b.js";
14
+ ID10,
15
+ Service58
16
+ } from "./repository-vbzh8kc2.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./workspace-ec1grn59.js";
19
+ } from "./repository-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./workspace-gftt206x.js";
22
+ } from "./repository-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./workspace-c4t116nm.js";
25
+ } from "./repository-hrxs1993.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./workspace-a1bz86dw.js";
28
+ } from "./repository-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./workspace-9rqn6x4v.js";
31
+ } from "./repository-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service53;
45
+ const instances = yield* Service49;
46
46
  const database = yield* Service80;
47
47
  const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service34;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service58;
50
+ const original = input.session.revert?.snapshot ? ID10.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service53;
77
+ const instances = yield* Service49;
78
78
  const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service34;
80
+ const snapshot = yield* Service58;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID10.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID10.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,128 +1,128 @@
1
1
  import {
2
2
  Metadata2,
3
- node75
4
- } from "./workspace-qzyph8ek.js";
3
+ node48
4
+ } from "./repository-g71p6t9p.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./workspace-wn4kdw9q.js";
8
+ } from "./repository-e3rrrskg.js";
9
9
  import {
10
- ID8,
11
- Service59,
12
- node62
13
- } from "./workspace-1yafz2c2.js";
10
+ ID9,
11
+ Service56,
12
+ node60
13
+ } from "./repository-t5vzjtwz.js";
14
14
  import {
15
- ID16
16
- } from "./workspace-84tssp1s.js";
15
+ ID18
16
+ } from "./repository-m27pyyd3.js";
17
17
  import {
18
- Service69,
19
- node73
20
- } from "./workspace-5nzafj0m.js";
18
+ Service74,
19
+ node79
20
+ } from "./repository-h0r85tvv.js";
21
21
  import {
22
- ID15
23
- } from "./workspace-g5twr0sp.js";
22
+ ID17
23
+ } from "./repository-1awm1f41.js";
24
24
  import {
25
- ID17,
25
+ ID16,
26
26
  OAuth3
27
- } from "./workspace-0cmfkvjr.js";
27
+ } from "./repository-dj0r9pya.js";
28
28
  import {
29
- ID11,
29
+ ID14,
30
30
  MethodID2,
31
31
  AttemptID2,
32
32
  Method2,
33
- Service65,
34
- node68
35
- } from "./workspace-eh4km76q.js";
33
+ Service76,
34
+ node81
35
+ } from "./repository-66cmz1z4.js";
36
36
  import {
37
- Service64,
38
- node67
39
- } from "./workspace-1s5kemrg.js";
37
+ Service75,
38
+ node80
39
+ } from "./repository-qa2rds3b.js";
40
40
  import {
41
- Service78,
42
- node83
43
- } from "./workspace-3v77a270.js";
41
+ Service35,
42
+ node39
43
+ } from "./repository-wn91f6p1.js";
44
44
  import {
45
- Service77,
46
- node82
47
- } from "./workspace-61tdtcny.js";
45
+ Service65,
46
+ node69
47
+ } from "./repository-t0db4qcz.js";
48
48
  import {
49
49
  AbsolutePath2
50
- } from "./workspace-922hggd3.js";
50
+ } from "./repository-922hggd3.js";
51
51
  import {
52
- Info22,
52
+ Info26,
53
53
  Ref2,
54
- Service61,
55
- node64
56
- } from "./workspace-v1cqtm69.js";
54
+ Service70,
55
+ node75
56
+ } from "./repository-vmvf27d6.js";
57
57
  import {
58
- Service54,
59
- node57
60
- } from "./workspace-t7b1xacm.js";
58
+ Service57,
59
+ node61
60
+ } from "./repository-nv9askeb.js";
61
61
  import {
62
- ID14
63
- } from "./workspace-dffz74yj.js";
62
+ ID11
63
+ } from "./repository-76dvax8j.js";
64
64
  import {
65
- Service31,
66
- node35
67
- } from "./workspace-5jfbnsm9.js";
65
+ Service32,
66
+ node36
67
+ } from "./repository-tbcgmyg4.js";
68
68
  import {
69
- Service60,
70
- node63
71
- } from "./workspace-1vtz46z8.js";
72
- import {
73
- Service56,
69
+ Service55,
74
70
  node59
75
- } from "./workspace-50p99xk2.js";
71
+ } from "./repository-j9c14zc8.js";
76
72
  import {
77
- Service44,
78
- node48
79
- } from "./workspace-rjqwr5dw.js";
73
+ Service52,
74
+ node56
75
+ } from "./repository-8g9ptmgy.js";
76
+ import {
77
+ Service39,
78
+ node43
79
+ } from "./repository-ckjvqjqe.js";
80
80
  import {
81
81
  Source5,
82
- Service71,
83
- node76
84
- } from "./workspace-s6jr34qb.js";
82
+ Service63,
83
+ node67
84
+ } from "./repository-jb0x01rj.js";
85
85
  import {
86
- Info17,
87
- Service46,
88
- node50
89
- } from "./workspace-s2bazk07.js";
86
+ Info7,
87
+ Service41,
88
+ node45
89
+ } from "./repository-wr1pgfqd.js";
90
90
  import {
91
- Service20,
92
- node24
93
- } from "./workspace-awhdw3pf.js";
91
+ Service22,
92
+ node26
93
+ } from "./repository-g8e8xch5.js";
94
94
  import {
95
- Service47,
96
- node51
97
- } from "./workspace-kfdzm4dd.js";
95
+ Service60,
96
+ node64
97
+ } from "./repository-9j04cpa9.js";
98
98
  import {
99
- Service35,
100
- node39
101
- } from "./workspace-4rd6evxz.js";
99
+ Service42,
100
+ node46
101
+ } from "./repository-ebn37zs9.js";
102
102
  import {
103
- Service36,
104
- node40
105
- } from "./workspace-mxj2eewr.js";
103
+ Service43,
104
+ node47
105
+ } from "./repository-6c6pe1h9.js";
106
106
  import {
107
- ID18,
108
- Service76,
109
- node81
110
- } from "./workspace-6st33d4x.js";
107
+ ID4,
108
+ Service21,
109
+ node25
110
+ } from "./repository-txft1z8e.js";
111
111
  import {
112
112
  StrategyID2,
113
- Info5,
113
+ Info4,
114
114
  ListEntry3,
115
115
  UnsupportedLocationError2,
116
- Service33,
117
- node37
118
- } from "./workspace-mrk2ms14.js";
116
+ Service20,
117
+ node24
118
+ } from "./repository-p55xqwj6.js";
119
119
  import {
120
- Service37,
121
- node41
122
- } from "./workspace-48hw3qw3.js";
120
+ Service66,
121
+ node70
122
+ } from "./repository-jqb83hwr.js";
123
123
  import {
124
124
  __export
125
- } from "./workspace-9rqn6x4v.js";
125
+ } from "./repository-9rqn6x4v.js";
126
126
 
127
127
  // src/plugin/host.ts
128
128
  var exports_host = {};
@@ -140,36 +140,36 @@ var mutable = (value) => value;
140
140
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
141
141
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
142
142
  const app = yield* Metadata2;
143
- const agents = yield* Service59;
144
- const aisdk = yield* Service69;
145
- const catalog = yield* Service64;
146
- const commands = yield* Service78;
143
+ const agents = yield* Service56;
144
+ const aisdk = yield* Service74;
145
+ const catalog = yield* Service75;
146
+ const commands = yield* Service35;
147
147
  const bus = yield* Service79;
148
- const integration = yield* Service65;
149
- const kv = yield* Service77;
150
- const mcp = yield* Service31;
151
- const location = yield* Service61;
152
- const reference = yield* Service71;
153
- const rpc = yield* Service35;
154
- const skill = yield* Service46;
155
- const tools = yield* Service44;
156
- const vcs = yield* Service36;
157
- const websearch = yield* Service76;
158
- const generate = yield* Service37;
159
- const permission = yield* Service56;
160
- const hooks = yield* Service60;
161
- const sessions = yield* Service20;
162
- const persistentPty = yield* Service47;
163
- const locations = yield* Service54;
164
- const worktrees = yield* Service33;
165
- const locationInfo = () => new Info22({
148
+ const integration = yield* Service76;
149
+ const kv = yield* Service65;
150
+ const mcp = yield* Service32;
151
+ const location = yield* Service70;
152
+ const reference = yield* Service63;
153
+ const rpc = yield* Service42;
154
+ const skill = yield* Service41;
155
+ const tools = yield* Service39;
156
+ const vcs = yield* Service43;
157
+ const websearch = yield* Service21;
158
+ const generate = yield* Service66;
159
+ const permission = yield* Service52;
160
+ const hooks = yield* Service55;
161
+ const sessions = yield* Service22;
162
+ const persistentPty = yield* Service60;
163
+ const locations = yield* Service57;
164
+ const worktrees = yield* Service20;
165
+ const locationInfo = () => new Info26({
166
166
  directory: location.directory,
167
167
  workspaceID: location.workspaceID,
168
168
  project: location.project
169
169
  });
170
170
  const locationRef = (input) => input?.location === undefined ? undefined : Ref2.make({
171
171
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
172
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID14.make(input.location.workspace)
172
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
173
173
  });
174
174
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
175
175
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
@@ -181,18 +181,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
181
181
  return Effect.gen(function* () {
182
182
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
183
183
  const plugins = yield* Plugin.Service;
184
- const target = yield* Service33;
184
+ const target = yield* Service20;
185
185
  yield* plugins.awaitActivation;
186
186
  return yield* run(target);
187
187
  }).pipe(Effect.provide(locations.get(ref)));
188
188
  };
189
- const decodeWorktree = Schema.decodeUnknownEffect(Info5);
189
+ const decodeWorktree = Schema.decodeUnknownEffect(Info4);
190
190
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
191
191
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
192
- const location = yield* Service61;
193
- const agents = yield* Service59;
192
+ const location = yield* Service70;
193
+ const agents = yield* Service56;
194
194
  return {
195
- location: new Info22({
195
+ location: new Info26({
196
196
  directory: location.directory,
197
197
  workspaceID: location.workspaceID,
198
198
  project: location.project
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
224
224
  transform: (callback) => agents.transform((editor) => {
225
225
  callback({
226
226
  list: () => mutable(editor.list()),
227
- get: (id) => mutable(editor.get(ID8.make(id))),
228
- default: (id) => editor.default(id === undefined ? undefined : ID8.make(id)),
229
- update: (id, update) => editor.update(ID8.make(id), update),
230
- remove: (id) => editor.remove(ID8.make(id))
227
+ get: (id) => mutable(editor.get(ID9.make(id))),
228
+ default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
229
+ update: (id, update) => editor.update(ID9.make(id), update),
230
+ remove: (id) => editor.remove(ID9.make(id))
231
231
  });
232
232
  })
233
233
  },
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  catalog: {
263
263
  provider: {
264
264
  list: () => response(catalog.provider.available()),
265
- get: (input) => catalog.provider.get(ID16.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
265
+ get: (input) => catalog.provider.get(ID18.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
266
266
  },
267
267
  model: {
268
268
  list: () => response(catalog.model.available()),
@@ -273,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
273
273
  callback({
274
274
  provider: {
275
275
  list: () => mutable(editor.provider.list()),
276
- get: (id) => mutable(editor.provider.get(ID16.make(id))),
277
- update: (id, update) => editor.provider.update(ID16.make(id), update),
278
- remove: (id) => editor.provider.remove(ID16.make(id))
276
+ get: (id) => mutable(editor.provider.get(ID18.make(id))),
277
+ update: (id, update) => editor.provider.update(ID18.make(id), update),
278
+ remove: (id) => editor.provider.remove(ID18.make(id))
279
279
  },
280
280
  model: {
281
- get: (providerID, modelID) => mutable(editor.model.get(ID16.make(providerID), ID15.make(modelID))),
282
- update: (providerID, modelID, update) => editor.model.update(ID16.make(providerID), ID15.make(modelID), update),
283
- remove: (providerID, modelID) => editor.model.remove(ID16.make(providerID), ID15.make(modelID)),
281
+ get: (providerID, modelID) => mutable(editor.model.get(ID18.make(providerID), ID17.make(modelID))),
282
+ update: (providerID, modelID, update) => editor.model.update(ID18.make(providerID), ID17.make(modelID), update),
283
+ remove: (providerID, modelID) => editor.model.remove(ID18.make(providerID), ID17.make(modelID)),
284
284
  default: {
285
285
  get: editor.model.default.get,
286
- set: (providerID, modelID) => editor.model.default.set(ID16.make(providerID), ID15.make(modelID))
286
+ set: (providerID, modelID) => editor.model.default.set(ID18.make(providerID), ID17.make(modelID))
287
287
  }
288
288
  }
289
289
  });
@@ -307,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
307
307
  },
308
308
  integration: {
309
309
  list: () => response(integration.list()),
310
- get: (input) => response(integration.get(ID11.make(input.integrationID))),
310
+ get: (input) => response(integration.get(ID14.make(input.integrationID))),
311
311
  connect: {
312
312
  key: (input) => integration.connection.key({
313
- integrationID: ID11.make(input.integrationID),
313
+ integrationID: ID14.make(input.integrationID),
314
314
  key: input.key,
315
315
  answer: input.answer,
316
316
  label: input.label
@@ -318,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
318
318
  },
319
319
  oauth: {
320
320
  connect: (input) => response(integration.oauth.connect({
321
- integrationID: ID11.make(input.integrationID),
321
+ integrationID: ID14.make(input.integrationID),
322
322
  methodID: MethodID2.make(input.methodID),
323
323
  answer: input.answer,
324
324
  label: input.label
325
325
  })),
326
326
  status: (input) => response(integration.oauth.status({
327
- integrationID: ID11.make(input.integrationID),
327
+ integrationID: ID14.make(input.integrationID),
328
328
  attemptID: AttemptID2.make(input.attemptID)
329
329
  })),
330
330
  complete: (input) => integration.oauth.complete({
331
- integrationID: ID11.make(input.integrationID),
331
+ integrationID: ID14.make(input.integrationID),
332
332
  attemptID: AttemptID2.make(input.attemptID),
333
333
  code: input.code
334
334
  }),
335
335
  cancel: (input) => integration.oauth.cancel({
336
- integrationID: ID11.make(input.integrationID),
336
+ integrationID: ID14.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })
339
339
  },
340
340
  command: {
341
341
  connect: (input) => response(integration.command.connect({
342
- integrationID: ID11.make(input.integrationID),
342
+ integrationID: ID14.make(input.integrationID),
343
343
  methodID: MethodID2.make(input.methodID),
344
344
  label: input.label
345
345
  })),
346
346
  status: (input) => response(integration.command.status({
347
- integrationID: ID11.make(input.integrationID),
347
+ integrationID: ID14.make(input.integrationID),
348
348
  attemptID: AttemptID2.make(input.attemptID)
349
349
  })),
350
350
  cancel: (input) => integration.command.cancel({
351
- integrationID: ID11.make(input.integrationID),
351
+ integrationID: ID14.make(input.integrationID),
352
352
  attemptID: AttemptID2.make(input.attemptID)
353
353
  })
354
354
  },
355
355
  reload: integration.reload,
356
356
  connection: {
357
- active: (id) => integration.connection.active(ID11.make(id)),
358
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection)
357
+ active: (id) => integration.connection.active(ID14.make(id)),
358
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection)
359
359
  },
360
360
  transform: (callback) => integration.transform((editor) => {
361
361
  callback({
362
362
  list: () => mutable(editor.list()),
363
- get: (id) => mutable(editor.get(ID11.make(id))),
364
- update: (id, update) => editor.update(ID11.make(id), update),
365
- remove: (id) => editor.remove(ID11.make(id)),
363
+ get: (id) => mutable(editor.get(ID14.make(id))),
364
+ update: (id, update) => editor.update(ID14.make(id), update),
365
+ remove: (id) => editor.remove(ID14.make(id)),
366
366
  method: {
367
- list: (id) => editor.method.list(ID11.make(id)),
367
+ list: (id) => editor.method.list(ID14.make(id)),
368
368
  update: (input) => editor.method.update(methodImplementation(input)),
369
- remove: (id, method) => editor.method.remove(ID11.make(id), Schema.decodeUnknownSync(Method2)(method))
369
+ remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
370
370
  }
371
371
  });
372
372
  })
@@ -376,10 +376,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
376
376
  const ref = locationRef(input);
377
377
  if (ref && !isCurrentLocation(ref))
378
378
  return Effect.gen(function* () {
379
- const location = yield* Service61;
380
- const mcp = yield* Service31;
379
+ const location = yield* Service70;
380
+ const mcp = yield* Service32;
381
381
  return {
382
- location: new Info22({
382
+ location: new Info26({
383
383
  directory: location.directory,
384
384
  workspaceID: location.workspaceID,
385
385
  project: location.project
@@ -428,7 +428,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
428
428
  callback({
429
429
  list: () => mutable(editor.list()),
430
430
  get: editor.get,
431
- add: (value) => editor.add(Schema.decodeUnknownSync(Info17)(value)),
431
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info7)(value)),
432
432
  update: editor.update,
433
433
  remove: editor.remove
434
434
  });
@@ -456,19 +456,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
456
456
  providers: () => response(websearch.providers()),
457
457
  query: (input) => response(websearch.query({
458
458
  query: input.query,
459
- providerID: input.providerID === undefined ? undefined : ID18.make(input.providerID)
459
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
460
460
  })),
461
461
  reload: websearch.reload,
462
462
  transform: (callback) => websearch.transform((editor) => {
463
463
  callback({
464
464
  add: (definition) => editor.add({
465
- id: ID18.make(definition.id),
465
+ id: ID4.make(definition.id),
466
466
  name: definition.name,
467
467
  execute: definition.execute
468
468
  }),
469
469
  default: {
470
470
  get: editor.default.get,
471
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID18.make(selection))
471
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
472
472
  }
473
473
  });
474
474
  })
@@ -514,29 +514,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
514
514
  return context;
515
515
  });
516
516
  var requirements3 = LayerNode.group([
517
- node75,
518
- node62,
519
- node73,
520
- node67,
521
- node83,
522
- node84,
523
- node68,
524
- node82,
525
- node35,
526
- node64,
527
- node76,
528
- node39,
529
- node50,
530
517
  node48,
531
- node40,
518
+ node60,
519
+ node79,
520
+ node80,
521
+ node39,
522
+ node84,
532
523
  node81,
533
- node37,
534
- node41,
535
- node59,
536
- node63,
524
+ node69,
525
+ node36,
526
+ node75,
527
+ node67,
528
+ node46,
529
+ node45,
530
+ node43,
531
+ node47,
532
+ node25,
537
533
  node24,
538
- node51,
539
- node57
534
+ node70,
535
+ node56,
536
+ node59,
537
+ node26,
538
+ node64,
539
+ node61
540
540
  ]);
541
541
  function storage2(kv, pluginID) {
542
542
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -563,7 +563,7 @@ function methodImplementation(input) {
563
563
  if ("authorize" in input) {
564
564
  const refresh = input.refresh;
565
565
  return {
566
- integrationID: ID11.make(input.integrationID),
566
+ integrationID: ID14.make(input.integrationID),
567
567
  method: { ...input.method, id: MethodID2.make(input.method.id) },
568
568
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
569
569
  if (authorization.mode === "auto") {
@@ -583,18 +583,18 @@ function methodImplementation(input) {
583
583
  }
584
584
  if (input.method.type === "env") {
585
585
  return {
586
- integrationID: ID11.make(input.integrationID),
586
+ integrationID: ID14.make(input.integrationID),
587
587
  method: input.method
588
588
  };
589
589
  }
590
590
  if (input.method.type === "command") {
591
591
  return {
592
- integrationID: ID11.make(input.integrationID),
592
+ integrationID: ID14.make(input.integrationID),
593
593
  method: { ...input.method, id: MethodID2.make(input.method.id) }
594
594
  };
595
595
  }
596
596
  return {
597
- integrationID: ID11.make(input.integrationID),
597
+ integrationID: ID14.make(input.integrationID),
598
598
  method: input.method
599
599
  };
600
600
  }