@opencode/core 0.0.0-dev-19342 → 0.0.0-dev-19345

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 (783) 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 +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-retention-e59w6ff2.js → mime-02tds00a.js} +13 -13
  9. package/dist/chunks/{file-retention-h66ky8mw.js → mime-088n5vnd.js} +51 -51
  10. package/dist/chunks/{file-retention-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{file-retention-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{file-retention-rv7h995b.js → mime-0rqbdkvg.js} +20 -20
  13. package/dist/chunks/{file-retention-6bdbvcy9.js → mime-11hdm724.js} +20 -20
  14. package/dist/chunks/{file-retention-jwjk52g2.js → mime-11tcp5y8.js} +4 -4
  15. package/dist/chunks/{file-retention-qb679xd1.js → mime-133g6x3j.js} +13 -13
  16. package/dist/chunks/{file-retention-8h998g6s.js → mime-168791n0.js} +1 -1
  17. package/dist/chunks/{file-retention-457xx6wr.js → mime-16x2etdg.js} +9 -9
  18. package/dist/chunks/{file-retention-4ram32jk.js → mime-1ar9tdzh.js} +21 -21
  19. package/dist/chunks/{file-retention-vt377krn.js → mime-1ct58dhd.js} +61 -61
  20. package/dist/chunks/{file-retention-ep52dk3v.js → mime-1d81kemj.js} +22 -22
  21. package/dist/chunks/{file-retention-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{file-retention-1dfhrqqs.js → mime-1dfhrqqs.js} +2 -2
  23. package/dist/chunks/{file-retention-emc1bwfy.js → mime-1f66m63a.js} +7 -7
  24. package/dist/chunks/{file-retention-xxmdkfzw.js → mime-1mj9jbws.js} +6 -6
  25. package/dist/chunks/{file-retention-21r38tys.js → mime-21r38tys.js} +1 -1
  26. package/dist/chunks/{file-retention-2402vzrj.js → mime-2402vzrj.js} +1 -1
  27. package/dist/chunks/{file-retention-495xzanh.js → mime-243y984z.js} +3 -3
  28. package/dist/chunks/{file-retention-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{file-retention-zcxgbk88.js → mime-2g95xqej.js} +4 -4
  30. package/dist/chunks/{file-retention-844ef7ks.js → mime-2hyh68ab.js} +8 -8
  31. package/dist/chunks/{file-retention-xmqphtg9.js → mime-2m09jy5t.js} +43 -43
  32. package/dist/chunks/{file-retention-6vfxs2dk.js → mime-33ca5pxe.js} +19 -19
  33. package/dist/chunks/{file-retention-z3pw5915.js → mime-37s12vcn.js} +5 -5
  34. package/dist/chunks/{file-retention-tk4atcvg.js → mime-3af28565.js} +10 -10
  35. package/dist/chunks/{file-retention-gdvy8fx6.js → mime-3fc6dm20.js} +4 -4
  36. package/dist/chunks/{file-retention-pqfk32hy.js → mime-3h1dh17g.js} +21 -21
  37. package/dist/chunks/{file-retention-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-retention-k16ay38w.js → mime-3hestq8p.js} +1 -1
  39. package/dist/chunks/{file-retention-z69s9t6b.js → mime-3kwvdx6y.js} +5 -5
  40. package/dist/chunks/{file-retention-vvv3thrh.js → mime-3qzfbvdy.js} +12 -12
  41. package/dist/chunks/{file-retention-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{file-retention-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{file-retention-szbk6at4.js → mime-438cv0y9.js} +6 -6
  44. package/dist/chunks/{file-retention-rajee5vh.js → mime-43np8af1.js} +8 -8
  45. package/dist/chunks/{file-retention-2wmkh6wf.js → mime-456rmk1m.js} +15 -15
  46. package/dist/chunks/{file-retention-8vg9ss2j.js → mime-47wgbh1b.js} +5 -5
  47. package/dist/chunks/{file-retention-aj8kkpvr.js → mime-4ccjrj4w.js} +4 -4
  48. package/dist/chunks/{file-retention-mas5vrzc.js → mime-4pxh79v4.js} +4 -4
  49. package/dist/chunks/{file-retention-35etrq90.js → mime-4szvz0dy.js} +22 -22
  50. package/dist/chunks/{file-retention-8pak98y4.js → mime-4yvhae7v.js} +20 -20
  51. package/dist/chunks/{file-retention-cz0cqjej.js → mime-5080dy1a.js} +5 -5
  52. package/dist/chunks/{file-retention-5qng0t1j.js → mime-55bk8pm9.js} +8 -8
  53. package/dist/chunks/{file-retention-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
  54. package/dist/chunks/{file-retention-m7ckg0ge.js → mime-56wgdq5b.js} +37 -37
  55. package/dist/chunks/{file-retention-wznsaygs.js → mime-57fqtxcw.js} +9 -9
  56. package/dist/chunks/{file-retention-5daktx2q.js → mime-5daktx2q.js} +1 -1
  57. package/dist/chunks/{file-retention-eksy8cvr.js → mime-5gyfktnb.js} +3 -3
  58. package/dist/chunks/{file-retention-m7a7ecn8.js → mime-5hxsjejd.js} +23 -23
  59. package/dist/chunks/{file-retention-fpasx09t.js → mime-5kvnsejc.js} +11 -11
  60. package/dist/chunks/{file-retention-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{file-retention-9wnjnk6r.js → mime-5txbv38z.js} +5 -5
  62. package/dist/chunks/{file-retention-p1tnmtrd.js → mime-64z8dyvg.js} +41 -41
  63. package/dist/chunks/{file-retention-669tq793.js → mime-669tq793.js} +1 -1
  64. package/dist/chunks/{file-retention-6tkx0wew.js → mime-69pxdd4k.js} +8 -8
  65. package/dist/chunks/{file-retention-epfxrcc1.js → mime-6aswj5x9.js} +27 -27
  66. package/dist/chunks/mime-6kdq0pjd.js +4 -0
  67. package/dist/chunks/{file-retention-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{file-retention-dcm7ab38.js → mime-6w0bcxbh.js} +27 -27
  69. package/dist/chunks/{file-retention-71q4at8m.js → mime-71q4at8m.js} +1 -1
  70. package/dist/chunks/{file-retention-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{file-retention-cvmpta01.js → mime-7gp47pj0.js} +161 -161
  72. package/dist/chunks/{file-retention-a6x36d81.js → mime-7jxaeb6r.js} +4 -4
  73. package/dist/chunks/{file-retention-bcnz578n.js → mime-7sgansy8.js} +2 -2
  74. package/dist/chunks/{file-retention-283c8amn.js → mime-7zzvg2d9.js} +23 -23
  75. package/dist/chunks/{file-retention-d67aqa6n.js → mime-81swgkk7.js} +9 -9
  76. package/dist/chunks/{file-retention-xhpvdsvw.js → mime-82eqrsw3.js} +13 -13
  77. package/dist/chunks/{file-retention-fgh0kbhd.js → mime-8489kzp1.js} +1 -1
  78. package/dist/chunks/{file-retention-rpd6j9rw.js → mime-85z7b11m.js} +19 -19
  79. package/dist/chunks/{file-retention-9t1jp5yp.js → mime-88xad3v8.js} +9 -9
  80. package/dist/chunks/{file-retention-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{file-retention-8p4f9s12.js → mime-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{file-retention-j26kwb45.js → mime-8pccszvy.js} +10 -10
  83. package/dist/chunks/{file-retention-nvxqht09.js → mime-8q7cq0y1.js} +2 -2
  84. package/dist/chunks/{file-retention-541f07s9.js → mime-8t2b84nn.js} +17 -17
  85. package/dist/chunks/{file-retention-3tc1r0mp.js → mime-93xhsgw0.js} +14 -14
  86. package/dist/chunks/{file-retention-dfdxrv27.js → mime-9c26h465.js} +26 -26
  87. package/dist/chunks/{file-retention-7eagj9kf.js → mime-9cpary1r.js} +9 -9
  88. package/dist/chunks/{file-retention-42fa2mq1.js → mime-9ftth5vm.js} +25 -25
  89. package/dist/chunks/{file-retention-xg28p7zb.js → mime-9g4m8n77.js} +20 -20
  90. package/dist/chunks/{file-retention-k3aec3va.js → mime-9mwfxnzp.js} +7 -7
  91. package/dist/chunks/{file-retention-wac04bcv.js → mime-a0t51jnz.js} +16 -16
  92. package/dist/chunks/{file-retention-a1bz86dw.js → mime-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{file-retention-er56z9m3.js → mime-a4xkxa28.js} +4 -4
  94. package/dist/chunks/{file-retention-baeg8a9n.js → mime-a5e04ee8.js} +4 -4
  95. package/dist/chunks/{file-retention-aaet6srn.js → mime-aaet6srn.js} +2 -2
  96. package/dist/chunks/{file-retention-e7058pvs.js → mime-agxarav8.js} +17 -17
  97. package/dist/chunks/{file-retention-9pyf0cwy.js → mime-ah8nfyxn.js} +15 -15
  98. package/dist/chunks/{file-retention-7b6kgw3h.js → mime-anhgbzpg.js} +43 -43
  99. package/dist/chunks/{file-retention-yy1nq4n5.js → mime-b08twemt.js} +22 -22
  100. package/dist/chunks/{file-retention-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{file-retention-hfdr1yjj.js → mime-bajakh74.js} +4 -4
  102. package/dist/chunks/{file-retention-d0zk2jym.js → mime-bc9737rz.js} +6 -6
  103. package/dist/chunks/{file-retention-2a9489x0.js → mime-bez6jkeq.js} +12 -12
  104. package/dist/chunks/{file-retention-0sdp51s0.js → mime-bmkkgyyb.js} +16 -16
  105. package/dist/chunks/{file-retention-e6d6pdps.js → mime-bscb95cy.js} +4 -4
  106. package/dist/chunks/{file-retention-y9btvcpe.js → mime-c22rd54z.js} +7 -7
  107. package/dist/chunks/{file-retention-fcnx6kxm.js → mime-c4thz8m2.js} +26 -26
  108. package/dist/chunks/{file-retention-ec8389mk.js → mime-c5gn303e.js} +4 -4
  109. package/dist/chunks/{file-retention-rr6hv98y.js → mime-c6k6mpeh.js} +7 -7
  110. package/dist/chunks/{file-retention-jf9e43jb.js → mime-c82tz0n6.js} +27 -27
  111. package/dist/chunks/{file-retention-dn5dwck5.js → mime-c8b5nr3q.js} +15 -15
  112. package/dist/chunks/{file-retention-jkg5sjyj.js → mime-cejv791v.js} +22 -22
  113. package/dist/chunks/{file-retention-cfpkc3c9.js → mime-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{file-retention-2dhvjk9m.js → mime-ck0ctze1.js} +38 -38
  115. package/dist/chunks/{file-retention-6xfzx76p.js → mime-ck2hnzkb.js} +11 -11
  116. package/dist/chunks/{file-retention-gexddpvz.js → mime-ck2vragq.js} +8 -8
  117. package/dist/chunks/{file-retention-7ebn0nc0.js → mime-cpy6gm2a.js} +4 -4
  118. package/dist/chunks/{file-retention-0djgsxfa.js → mime-csa3t7pa.js} +6 -6
  119. package/dist/chunks/{file-retention-v0pw5p58.js → mime-ct2c37mg.js} +24 -24
  120. package/dist/chunks/{file-retention-kntggcm2.js → mime-cwhjh763.js} +37 -37
  121. package/dist/chunks/{file-retention-hs0jw6ga.js → mime-cx8y2bn6.js} +38 -38
  122. package/dist/chunks/{file-retention-69ycz7qv.js → mime-d88yrek2.js} +30 -30
  123. package/dist/chunks/{file-retention-629h1w84.js → mime-d89wb828.js} +6 -6
  124. package/dist/chunks/{file-retention-7zypnq1v.js → mime-daa3vrdn.js} +12 -12
  125. package/dist/chunks/{file-retention-ccmdxyv2.js → mime-dc7knmg2.js} +11 -11
  126. package/dist/chunks/{file-retention-jdzbt2xe.js → mime-dc9gsvve.js} +5 -5
  127. package/dist/chunks/{file-retention-cne0g9zz.js → mime-dh23jx6d.js} +11 -11
  128. package/dist/chunks/{file-retention-m27pyyd3.js → mime-djwmzzhk.js} +6 -6
  129. package/dist/chunks/{file-retention-mwsqdqh0.js → mime-dvsy9eq6.js} +6 -6
  130. package/dist/chunks/{file-retention-hp4rcpke.js → mime-dw9etqnp.js} +27 -27
  131. package/dist/chunks/{file-retention-3bfh1azg.js → mime-dykcbgv3.js} +81 -81
  132. package/dist/chunks/{file-retention-agj0b0se.js → mime-e4kseffw.js} +17 -17
  133. package/dist/chunks/{file-retention-fs0qk05d.js → mime-e575995y.js} +18 -18
  134. package/dist/chunks/{file-retention-f8hk6r9n.js → mime-e5s1yzpb.js} +28 -28
  135. package/dist/chunks/mime-ec32znm2.js +462 -0
  136. package/dist/chunks/{file-retention-8qbgjw8c.js → mime-ep6z9mt6.js} +11 -11
  137. package/dist/chunks/{file-retention-6jnybvqn.js → mime-es1gkq3r.js} +9 -9
  138. package/dist/chunks/{file-retention-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{file-retention-dy2q6f9r.js → mime-ezj79k2w.js} +17 -17
  140. package/dist/chunks/{file-retention-qz85fsjb.js → mime-f4d9fb2p.js} +5 -5
  141. package/dist/chunks/{file-retention-f828m53h.js → mime-f828m53h.js} +2 -2
  142. package/dist/chunks/{file-retention-gnv2jnak.js → mime-ffgb433v.js} +11 -11
  143. package/dist/chunks/{file-retention-rm1xb6h6.js → mime-fjfzy0ft.js} +11 -11
  144. package/dist/chunks/{file-retention-kty5e6rg.js → mime-fstm3t6m.js} +25 -25
  145. package/dist/chunks/{file-retention-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{file-retention-mwxv72xg.js → mime-fxm6czzg.js} +27 -27
  147. package/dist/chunks/{file-retention-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{file-retention-gpa4jt68.js → mime-gqv90n74.js} +10 -10
  149. package/dist/chunks/{file-retention-4hqfr28c.js → mime-grkb1es6.js} +32 -32
  150. package/dist/chunks/{file-retention-yeyn4dnq.js → mime-gtkzr06a.js} +7 -7
  151. package/dist/chunks/{file-retention-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{file-retention-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{file-retention-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{file-retention-47gsdddb.js → mime-hjt4xg1x.js} +7 -7
  155. package/dist/chunks/{file-retention-ya188s48.js → mime-hpajbe9q.js} +28 -28
  156. package/dist/chunks/{file-retention-9p2ve8w2.js → mime-htjbf50c.js} +26 -26
  157. package/dist/chunks/{file-retention-a8zn6wm8.js → mime-hvtrc2sr.js} +21 -21
  158. package/dist/chunks/{file-retention-3cqavhax.js → mime-j068kma8.js} +8 -8
  159. package/dist/chunks/{file-retention-b65ks73n.js → mime-j0avgrhm.js} +33 -33
  160. package/dist/chunks/{file-retention-jfcgv9fx.js → mime-j1nc1ypa.js} +33 -33
  161. package/dist/chunks/{file-retention-j56e64zr.js → mime-j56e64zr.js} +1 -1
  162. package/dist/chunks/{file-retention-bs7hmeg3.js → mime-j5k41gmt.js} +18 -18
  163. package/dist/chunks/{file-retention-y7xpfv66.js → mime-jdv50zsr.js} +11 -11
  164. package/dist/chunks/{file-retention-qte5z7bc.js → mime-jv01nqvq.js} +5 -5
  165. package/dist/chunks/{file-retention-ephtsj6m.js → mime-jv7gg9s4.js} +77 -77
  166. package/dist/chunks/{file-retention-f7ehr2sm.js → mime-jwx4y25k.js} +2 -2
  167. package/dist/chunks/{file-retention-s1jhc5dh.js → mime-jxhkeq1z.js} +7 -7
  168. package/dist/chunks/{file-retention-mry8kks8.js → mime-jyag7kpd.js} +19 -19
  169. package/dist/chunks/{file-retention-kg06axw8.js → mime-kg06axw8.js} +1 -1
  170. package/dist/chunks/{file-retention-6dxcmtmc.js → mime-kkf18jfd.js} +27 -27
  171. package/dist/chunks/{file-retention-fygdb7h7.js → mime-m2j1zwfr.js} +3 -3
  172. package/dist/chunks/{file-retention-qqnpzgrv.js → mime-m6ssgqy9.js} +11 -11
  173. package/dist/chunks/{file-retention-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{file-retention-jr3tywxk.js → mime-magykp64.js} +21 -21
  175. package/dist/chunks/{file-retention-qzg4pp06.js → mime-mh6gcjg5.js} +3 -3
  176. package/dist/chunks/{file-retention-mkcjrzeh.js → mime-mkcjrzeh.js} +1 -1
  177. package/dist/chunks/{file-retention-64kphnzf.js → mime-msq0jde0.js} +4 -4
  178. package/dist/chunks/{file-retention-73tb2d7t.js → mime-mvfsc1pv.js} +3 -3
  179. package/dist/chunks/{file-retention-bd1zqjbj.js → mime-mxcdw21b.js} +15 -15
  180. package/dist/chunks/{file-retention-nqvtjg2n.js → mime-n53003ns.js} +54 -54
  181. package/dist/chunks/{file-retention-anhfpk2y.js → mime-n8ncag7m.js} +15 -15
  182. package/dist/chunks/mime-n95b3jav.js +18 -0
  183. package/dist/chunks/{file-retention-rmmwd74s.js → mime-npy0pcv6.js} +21 -21
  184. package/dist/chunks/{file-retention-gx1zhcta.js → mime-p33ejz0k.js} +1 -1
  185. package/dist/chunks/{file-retention-ng32y6cj.js → mime-p5ttnzxg.js} +15 -15
  186. package/dist/chunks/{file-retention-aywpdfxt.js → mime-p6cv4jkm.js} +13 -13
  187. package/dist/chunks/{file-retention-j935v87r.js → mime-paphc93g.js} +2 -2
  188. package/dist/chunks/{file-retention-nqk5w1a0.js → mime-peq2m4zd.js} +32 -32
  189. package/dist/chunks/{file-retention-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{file-retention-pknna89w.js → mime-pknna89w.js} +1 -1
  191. package/dist/chunks/{file-retention-bf0ztrs3.js → mime-pmr4s4kc.js} +4 -4
  192. package/dist/chunks/{file-retention-f8q7mv7a.js → mime-q6k0ydck.js} +1 -1
  193. package/dist/chunks/{file-retention-zv0544jz.js → mime-qa3qhgw8.js} +4 -4
  194. package/dist/chunks/{file-retention-51pqj4sw.js → mime-qf9x3e4y.js} +46 -46
  195. package/dist/chunks/{file-retention-cyymmyy1.js → mime-qfpdxyz6.js} +15 -15
  196. package/dist/chunks/{file-retention-7dqw4kz8.js → mime-qgn6gcr1.js} +5 -5
  197. package/dist/chunks/mime-qj9sgvpq.js +22 -0
  198. package/dist/chunks/{file-retention-6f22aege.js → mime-qnf2z1wn.js} +31 -31
  199. package/dist/chunks/{file-retention-qsdy395h.js → mime-qsdy395h.js} +1 -1
  200. package/dist/chunks/{file-retention-3eqpb9zq.js → mime-qxk2r6jc.js} +23 -23
  201. package/dist/chunks/{file-retention-0vqy458c.js → mime-r60jfj5j.js} +9 -9
  202. package/dist/chunks/{file-retention-vmcy0e8f.js → mime-rdhh766h.js} +4 -4
  203. package/dist/chunks/{file-retention-j62zf0j4.js → mime-rksemafj.js} +11 -11
  204. package/dist/chunks/{file-retention-p5gjast5.js → mime-rmc6y74k.js} +32 -32
  205. package/dist/chunks/{file-retention-1q5awywt.js → mime-rmk2c50f.js} +5 -5
  206. package/dist/chunks/{file-retention-1d0fhjp0.js → mime-rn61w89f.js} +9 -9
  207. package/dist/chunks/{file-retention-g917tkp4.js → mime-rp2k1chf.js} +17 -17
  208. package/dist/chunks/{file-retention-w9s5j4xj.js → mime-rwcemz8c.js} +2 -2
  209. package/dist/chunks/{file-retention-3tf484fr.js → mime-ryea99zr.js} +8 -8
  210. package/dist/chunks/{file-retention-6ppfrw8p.js → mime-s08ate44.js} +20 -20
  211. package/dist/chunks/{file-retention-45ax9jcn.js → mime-s1wede50.js} +27 -27
  212. package/dist/chunks/{file-retention-g7kcqsv9.js → mime-s22vqpmb.js} +10 -10
  213. package/dist/chunks/{file-retention-95fjfv4d.js → mime-s326psv9.js} +11 -11
  214. package/dist/chunks/{file-retention-6zagmew0.js → mime-s6dsm5hz.js} +10 -10
  215. package/dist/chunks/{file-retention-1d5qcw44.js → mime-semqf2xs.js} +12 -12
  216. package/dist/chunks/{file-retention-0bzed8qe.js → mime-sm5xrj98.js} +30 -30
  217. package/dist/chunks/{file-retention-4c9pdqrn.js → mime-smx0h7mz.js} +18 -18
  218. package/dist/chunks/{file-retention-dfwmnba5.js → mime-sqnwhwkn.js} +24 -24
  219. package/dist/chunks/{file-retention-68vz8m4p.js → mime-sqxedksp.js} +11 -11
  220. package/dist/chunks/mime-sth3c461.js +247 -0
  221. package/dist/chunks/{file-retention-5c9mjg6a.js → mime-svjx41xm.js} +29 -29
  222. package/dist/chunks/{file-retention-50mx3fww.js → mime-t0d6gkvd.js} +8 -8
  223. package/dist/chunks/{file-retention-1emffesh.js → mime-t0tjasbx.js} +5 -5
  224. package/dist/chunks/{file-retention-t0x5rdq8.js → mime-t0x5rdq8.js} +2 -2
  225. package/dist/chunks/{file-retention-s8d7rejh.js → mime-t550f9t1.js} +4 -4
  226. package/dist/chunks/{file-retention-yz6s7xzz.js → mime-t8h1d4xm.js} +9 -9
  227. package/dist/chunks/{file-retention-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{file-retention-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{file-retention-tdstcens.js → mime-tdstcens.js} +1 -1
  230. package/dist/chunks/{file-retention-89xjw27r.js → mime-te7pedy9.js} +36 -36
  231. package/dist/chunks/{file-retention-585pw9ae.js → mime-trnjn3sg.js} +24 -24
  232. package/dist/chunks/{file-retention-havkms48.js → mime-ts2eqmrv.js} +22 -22
  233. package/dist/chunks/{file-retention-tvtrv512.js → mime-tvtrv512.js} +1 -1
  234. package/dist/chunks/{file-retention-ksz0h0wp.js → mime-tye6f8h2.js} +1 -1
  235. package/dist/chunks/{file-retention-84e78dg0.js → mime-v4nx8rhf.js} +8 -8
  236. package/dist/chunks/{file-retention-62qy00sv.js → mime-v52wsnkd.js} +2 -2
  237. package/dist/chunks/{file-retention-nd0e9ps3.js → mime-v7jve9ab.js} +40 -40
  238. package/dist/chunks/{file-retention-b0p6ev8e.js → mime-v98pcphq.js} +6 -6
  239. package/dist/chunks/{file-retention-dn7xhbn4.js → mime-ve6nm2s5.js} +6 -6
  240. package/dist/chunks/{file-retention-veqvce7d.js → mime-veqvce7d.js} +1 -1
  241. package/dist/chunks/{file-retention-e2nxat5d.js → mime-vfnexndp.js} +6 -6
  242. package/dist/chunks/{file-retention-np25b77a.js → mime-vjcjk6v2.js} +16 -16
  243. package/dist/chunks/{file-retention-zzyk28zh.js → mime-vjm50dby.js} +20 -20
  244. package/dist/chunks/{file-retention-d8s0zgrq.js → mime-vr7gxye5.js} +15 -15
  245. package/dist/chunks/{file-retention-53b5596a.js → mime-vtb9d41w.js} +9 -9
  246. package/dist/chunks/{file-retention-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{file-retention-r9babyk8.js → mime-w3hg1by5.js} +1 -1
  248. package/dist/chunks/{file-retention-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{file-retention-qzf7gp6y.js → mime-w7zdnn3n.js} +18 -18
  250. package/dist/chunks/{file-retention-2a4f6v5q.js → mime-was7srj9.js} +5 -5
  251. package/dist/chunks/{file-retention-wd87259q.js → mime-wd87259q.js} +1 -1
  252. package/dist/chunks/{file-retention-96yt6zt0.js → mime-ww3j1jeh.js} +1 -1
  253. package/dist/chunks/{file-retention-k2fzxap7.js → mime-x0c1a7xp.js} +11 -11
  254. package/dist/chunks/{file-retention-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{file-retention-x43y2vfs.js → mime-x43y2vfs.js} +2 -2
  256. package/dist/chunks/{file-retention-8wsye86r.js → mime-x8gz1y8e.js} +8 -8
  257. package/dist/chunks/{file-retention-35gx5fr5.js → mime-xbar29gt.js} +12 -12
  258. package/dist/chunks/{file-retention-pmhn6z4y.js → mime-xbmh9apa.js} +17 -17
  259. package/dist/chunks/{file-retention-v98h3e24.js → mime-xeejjgkv.js} +11 -11
  260. package/dist/chunks/{file-retention-1p35s36r.js → mime-xngzz0fa.js} +19 -19
  261. package/dist/chunks/{file-retention-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{file-retention-ymbwjezv.js → mime-y400rwxv.js} +36 -36
  263. package/dist/chunks/{file-retention-dpkg50ah.js → mime-y71avatq.js} +4 -4
  264. package/dist/chunks/{file-retention-xxk5ry2v.js → mime-y8p3zjbc.js} +6 -6
  265. package/dist/chunks/{file-retention-pnean495.js → mime-yf4ks7mc.js} +5 -5
  266. package/dist/chunks/{file-retention-n76fdqym.js → mime-yp11bte6.js} +5 -5
  267. package/dist/chunks/{file-retention-r8xr0va3.js → mime-yp2x3t23.js} +4 -4
  268. package/dist/chunks/{file-retention-z8jx6s5t.js → mime-yr7ny2fv.js} +27 -27
  269. package/dist/chunks/{file-retention-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{file-retention-s4enseaf.js → mime-yrznvahk.js} +2 -2
  271. package/dist/chunks/{file-retention-mtft99cd.js → mime-yt0fqk68.js} +5 -5
  272. package/dist/chunks/{file-retention-49ej072a.js → mime-z01wqcwa.js} +3 -3
  273. package/dist/chunks/{file-retention-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{file-retention-ktd0ny7h.js → mime-z2p70en7.js} +26 -26
  275. package/dist/chunks/{file-retention-29x78va6.js → mime-z63w68vq.js} +6 -6
  276. package/dist/chunks/{file-retention-asqsdy15.js → mime-z6gx8zfr.js} +40 -40
  277. package/dist/chunks/{file-retention-ab3m9e4p.js → mime-zc93s7ce.js} +11 -11
  278. package/dist/chunks/{file-retention-k76fn4kw.js → mime-zcrspsvn.js} +4 -4
  279. package/dist/chunks/{file-retention-9a0n252a.js → mime-zdcf82tg.js} +53 -53
  280. package/dist/chunks/{file-retention-hgdkda7v.js → mime-zds8cgrm.js} +24 -24
  281. package/dist/chunks/{file-retention-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{file-retention-aqhnkr3e.js → mime-zejhr07q.js} +44 -44
  283. package/dist/chunks/{file-retention-wa9n8nyq.js → mime-zerdtc7d.js} +8 -8
  284. package/dist/chunks/{file-retention-fpffc2t3.js → mime-zf35384k.js} +23 -23
  285. package/dist/chunks/{file-retention-9pgqtxcp.js → mime-zpsd46jx.js} +20 -20
  286. package/dist/chunks/{file-retention-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-retention-8yc64hpa.js → mime-zspysg16.js} +13 -13
  288. package/dist/chunks/{file-retention-2wddc2mm.js → mime-zvk2568b.js} +15 -15
  289. package/dist/chunks/{file-retention-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +79 -79
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +115 -115
  298. package/dist/config/plugin/command.js +207 -207
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +115 -115
  305. package/dist/config/plugin/mcp.js +124 -124
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +134 -134
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +111 -111
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +113 -113
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +360 -360
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +2 -2
  420. package/dist/filesystem/location-watcher.js +216 -216
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +89 -89
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +92 -92
  426. package/dist/form.js +78 -78
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +91 -91
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +84 -84
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +128 -128
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +79 -79
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +105 -105
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +8 -8
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +74 -74
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +102 -102
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +95 -95
  488. package/dist/plugin/command.js +94 -94
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +80 -80
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +115 -115
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +131 -131
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +339 -339
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +87 -87
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +218 -218
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +108 -108
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +3 -3
  604. package/dist/session/session.js +167 -167
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +81 -81
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +147 -147
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +213 -213
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +207 -207
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +15 -15
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +105 -105
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +119 -119
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +111 -111
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +107 -107
  644. package/dist/tool/plugin/write.js +115 -115
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +11 -11
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +3 -3
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +5 -5
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/file-retention-0mesazry.js +0 -4
  689. package/dist/chunks/file-retention-79fjvhba.js +0 -247
  690. package/dist/chunks/file-retention-9sh4wc5j.js +0 -18
  691. package/dist/chunks/file-retention-a4qn8ft9.js +0 -462
  692. package/dist/chunks/file-retention-sb5atwea.js +0 -22
  693. /package/dist/chunks/{file-retention-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{file-retention-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{file-retention-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{file-retention-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{file-retention-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{file-retention-2710q6r3.js → mime-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{file-retention-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{file-retention-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{file-retention-359p4xyc.js → mime-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{file-retention-3asan66x.js → mime-3asan66x.js} +0 -0
  703. /package/dist/chunks/{file-retention-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{file-retention-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{file-retention-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{file-retention-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{file-retention-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{file-retention-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{file-retention-53557ph1.js → mime-53557ph1.js} +0 -0
  710. /package/dist/chunks/{file-retention-550bvhaj.js → mime-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{file-retention-6prwharc.js → mime-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-retention-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{file-retention-7m9af43g.js → mime-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{file-retention-822emrt2.js → mime-822emrt2.js} +0 -0
  715. /package/dist/chunks/{file-retention-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{file-retention-8n3pysct.js → mime-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{file-retention-922hggd3.js → mime-922hggd3.js} +0 -0
  718. /package/dist/chunks/{file-retention-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{file-retention-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{file-retention-a1tpkmh4.js → mime-a1tpkmh4.js} +0 -0
  721. /package/dist/chunks/{file-retention-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{file-retention-af5trqkr.js → mime-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{file-retention-afrmfg78.js → mime-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{file-retention-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{file-retention-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{file-retention-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{file-retention-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{file-retention-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{file-retention-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{file-retention-d9fn303g.js → mime-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{file-retention-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{file-retention-dajrwvna.js → mime-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{file-retention-dap0rakb.js → mime-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{file-retention-df08tz66.js → mime-df08tz66.js} +0 -0
  735. /package/dist/chunks/{file-retention-dy18nga0.js → mime-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{file-retention-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{file-retention-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{file-retention-ec1grn59.js → mime-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{file-retention-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{file-retention-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{file-retention-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{file-retention-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{file-retention-faypxj3z.js → mime-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{file-retention-fd410y7t.js → mime-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{file-retention-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{file-retention-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-retention-g86h250q.js → mime-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-retention-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-retention-gftt206x.js → mime-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-retention-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{file-retention-hk9envan.js → mime-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-retention-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{file-retention-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{file-retention-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{file-retention-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-retention-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-retention-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{file-retention-mp448xyj.js → mime-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{file-retention-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{file-retention-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{file-retention-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{file-retention-njntx4h6.js → mime-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{file-retention-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{file-retention-q74kybfr.js → mime-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{file-retention-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{file-retention-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{file-retention-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{file-retention-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{file-retention-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{file-retention-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{file-retention-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{file-retention-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{file-retention-twg0f83k.js → mime-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{file-retention-w803qqfp.js → mime-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{file-retention-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{file-retention-wtztk69x.js → mime-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{file-retention-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{file-retention-x61499pn.js → mime-x61499pn.js} +0 -0
  779. /package/dist/chunks/{file-retention-y44na4kk.js → mime-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{file-retention-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{file-retention-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-retention-ym463w8f.js → mime-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-retention-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,128 +1,128 @@
1
1
  import {
2
2
  Metadata2,
3
- node48
4
- } from "./file-retention-k2fzxap7.js";
3
+ node73
4
+ } from "./mime-x0c1a7xp.js";
5
5
  import {
6
- Service79,
7
- node84
8
- } from "./file-retention-1d5qcw44.js";
6
+ Service78,
7
+ node83
8
+ } from "./mime-semqf2xs.js";
9
9
  import {
10
10
  ID10,
11
- Service60,
11
+ Service62,
12
12
  node65
13
- } from "./file-retention-9pgqtxcp.js";
13
+ } from "./mime-zpsd46jx.js";
14
14
  import {
15
- ID18
16
- } from "./file-retention-m27pyyd3.js";
15
+ ID12
16
+ } from "./mime-djwmzzhk.js";
17
17
  import {
18
- Service63,
19
- node68
20
- } from "./file-retention-ccmdxyv2.js";
18
+ Service57,
19
+ node60
20
+ } from "./mime-dc7knmg2.js";
21
21
  import {
22
- ID16
23
- } from "./file-retention-vvv3thrh.js";
22
+ ID11
23
+ } from "./mime-3qzfbvdy.js";
24
24
  import {
25
- ID17,
25
+ ID15,
26
26
  OAuth3
27
- } from "./file-retention-6f22aege.js";
27
+ } from "./mime-qnf2z1wn.js";
28
28
  import {
29
- ID12,
29
+ ID13,
30
30
  MethodID2,
31
31
  AttemptID2,
32
32
  Method2,
33
- Service69,
33
+ Service70,
34
34
  node74
35
- } from "./file-retention-6dxcmtmc.js";
35
+ } from "./mime-kkf18jfd.js";
36
36
  import {
37
- Service68,
38
- node73
39
- } from "./file-retention-mwxv72xg.js";
37
+ Service49,
38
+ node52
39
+ } from "./mime-fxm6czzg.js";
40
40
  import {
41
- Service41,
42
- node45
43
- } from "./file-retention-havkms48.js";
41
+ Service46,
42
+ node49
43
+ } from "./mime-ts2eqmrv.js";
44
44
  import {
45
- Service77,
46
- node82
47
- } from "./file-retention-gpa4jt68.js";
45
+ Service79,
46
+ node84
47
+ } from "./mime-gqv90n74.js";
48
48
  import {
49
49
  AbsolutePath2
50
- } from "./file-retention-922hggd3.js";
50
+ } from "./mime-922hggd3.js";
51
51
  import {
52
- Info28,
53
- Ref3,
54
- Service73,
55
- node78
56
- } from "./file-retention-541f07s9.js";
52
+ Info31,
53
+ Ref4,
54
+ Service75,
55
+ node80
56
+ } from "./mime-8t2b84nn.js";
57
57
  import {
58
58
  Service56,
59
- node61
60
- } from "./file-retention-y9btvcpe.js";
59
+ node59
60
+ } from "./mime-c22rd54z.js";
61
61
  import {
62
- ID6
63
- } from "./file-retention-fcnx6kxm.js";
62
+ ID16
63
+ } from "./mime-c4thz8m2.js";
64
64
  import {
65
- Service33,
66
- node37
67
- } from "./file-retention-9a0n252a.js";
65
+ Service38,
66
+ node43
67
+ } from "./mime-zdcf82tg.js";
68
68
  import {
69
- Service61,
70
- node66
71
- } from "./file-retention-50mx3fww.js";
69
+ Service69,
70
+ node72
71
+ } from "./mime-t0d6gkvd.js";
72
72
  import {
73
- Service57,
73
+ Service59,
74
74
  node62
75
- } from "./file-retention-2dhvjk9m.js";
75
+ } from "./mime-ck0ctze1.js";
76
76
  import {
77
- Service44,
78
- node49
79
- } from "./file-retention-35etrq90.js";
77
+ Service67,
78
+ node70
79
+ } from "./mime-4szvz0dy.js";
80
80
  import {
81
81
  Source5,
82
- Service65,
83
- node70
84
- } from "./file-retention-45ax9jcn.js";
82
+ Service63,
83
+ node66
84
+ } from "./mime-s1wede50.js";
85
+ import {
86
+ Info19,
87
+ Service55,
88
+ node58
89
+ } from "./mime-z2p70en7.js";
85
90
  import {
86
- Info8,
87
- Service43,
88
- node47
89
- } from "./file-retention-ktd0ny7h.js";
91
+ Service27,
92
+ node31
93
+ } from "./mime-jv7gg9s4.js";
94
+ import {
95
+ Service20,
96
+ node24
97
+ } from "./mime-htjbf50c.js";
90
98
  import {
91
99
  Service23,
92
100
  node27
93
- } from "./file-retention-ephtsj6m.js";
94
- import {
95
- Service46,
96
- node51
97
- } from "./file-retention-9p2ve8w2.js";
101
+ } from "./mime-5hxsjejd.js";
98
102
  import {
99
103
  Service22,
100
104
  node26
101
- } from "./file-retention-m7a7ecn8.js";
102
- import {
103
- Service40,
104
- node44
105
- } from "./file-retention-3eqpb9zq.js";
105
+ } from "./mime-qxk2r6jc.js";
106
106
  import {
107
- ID11,
108
- Service64,
109
- node69
110
- } from "./file-retention-jf9e43jb.js";
107
+ ID3,
108
+ Service18,
109
+ node22
110
+ } from "./mime-c82tz0n6.js";
111
111
  import {
112
112
  StrategyID2,
113
- Info4,
113
+ Info3,
114
114
  ListEntry3,
115
115
  UnsupportedLocationError2,
116
- Service21,
117
- node25
118
- } from "./file-retention-hs0jw6ga.js";
116
+ Service17,
117
+ node21
118
+ } from "./mime-cx8y2bn6.js";
119
119
  import {
120
- Service39,
121
- node43
122
- } from "./file-retention-xg28p7zb.js";
120
+ Service19,
121
+ node23
122
+ } from "./mime-9g4m8n77.js";
123
123
  import {
124
124
  __export
125
- } from "./file-retention-9rqn6x4v.js";
125
+ } from "./mime-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* Service60;
144
- const aisdk = yield* Service63;
145
- const catalog = yield* Service68;
146
- const commands = yield* Service41;
147
- const bus = yield* Service79;
148
- const integration = yield* Service69;
149
- const kv = yield* Service77;
150
- const mcp = yield* Service33;
151
- const location = yield* Service73;
152
- const reference = yield* Service65;
153
- const rpc = yield* Service22;
154
- const skill = yield* Service43;
155
- const tools = yield* Service44;
156
- const vcs = yield* Service40;
157
- const websearch = yield* Service64;
158
- const generate = yield* Service39;
159
- const permission = yield* Service57;
160
- const hooks = yield* Service61;
161
- const sessions = yield* Service23;
162
- const persistentPty = yield* Service46;
143
+ const agents = yield* Service62;
144
+ const aisdk = yield* Service57;
145
+ const catalog = yield* Service49;
146
+ const commands = yield* Service46;
147
+ const bus = yield* Service78;
148
+ const integration = yield* Service70;
149
+ const kv = yield* Service79;
150
+ const mcp = yield* Service38;
151
+ const location = yield* Service75;
152
+ const reference = yield* Service63;
153
+ const rpc = yield* Service23;
154
+ const skill = yield* Service55;
155
+ const tools = yield* Service67;
156
+ const vcs = yield* Service22;
157
+ const websearch = yield* Service18;
158
+ const generate = yield* Service19;
159
+ const permission = yield* Service59;
160
+ const hooks = yield* Service69;
161
+ const sessions = yield* Service27;
162
+ const persistentPty = yield* Service20;
163
163
  const locations = yield* Service56;
164
- const worktrees = yield* Service21;
165
- const locationInfo = () => new Info28({
164
+ const worktrees = yield* Service17;
165
+ const locationInfo = () => new Info31({
166
166
  directory: location.directory,
167
167
  workspaceID: location.workspaceID,
168
168
  project: location.project
169
169
  });
170
- const locationRef = (input) => input?.location === undefined ? undefined : Ref3.make({
170
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
171
171
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
172
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID6.make(input.location.workspace)
172
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID16.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* Service21;
184
+ const target = yield* Service17;
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(Info4);
189
+ const decodeWorktree = Schema.decodeUnknownEffect(Info3);
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* Service73;
193
- const agents = yield* Service60;
192
+ const location = yield* Service75;
193
+ const agents = yield* Service62;
194
194
  return {
195
- location: new Info28({
195
+ location: new Info31({
196
196
  directory: location.directory,
197
197
  workspaceID: location.workspaceID,
198
198
  project: location.project
@@ -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(ID18.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(ID12.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(ID18.make(id))),
277
- update: (id, update) => editor.provider.update(ID18.make(id), update),
278
- remove: (id) => editor.provider.remove(ID18.make(id))
276
+ get: (id) => mutable(editor.provider.get(ID12.make(id))),
277
+ update: (id, update) => editor.provider.update(ID12.make(id), update),
278
+ remove: (id) => editor.provider.remove(ID12.make(id))
279
279
  },
280
280
  model: {
281
- get: (providerID, modelID) => mutable(editor.model.get(ID18.make(providerID), ID16.make(modelID))),
282
- update: (providerID, modelID, update) => editor.model.update(ID18.make(providerID), ID16.make(modelID), update),
283
- remove: (providerID, modelID) => editor.model.remove(ID18.make(providerID), ID16.make(modelID)),
281
+ get: (providerID, modelID) => mutable(editor.model.get(ID12.make(providerID), ID11.make(modelID))),
282
+ update: (providerID, modelID, update) => editor.model.update(ID12.make(providerID), ID11.make(modelID), update),
283
+ remove: (providerID, modelID) => editor.model.remove(ID12.make(providerID), ID11.make(modelID)),
284
284
  default: {
285
285
  get: editor.model.default.get,
286
- set: (providerID, modelID) => editor.model.default.set(ID18.make(providerID), ID16.make(modelID))
286
+ set: (providerID, modelID) => editor.model.default.set(ID12.make(providerID), ID11.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(ID12.make(input.integrationID))),
310
+ get: (input) => response(integration.get(ID13.make(input.integrationID))),
311
311
  connect: {
312
312
  key: (input) => integration.connection.key({
313
- integrationID: ID12.make(input.integrationID),
313
+ integrationID: ID13.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: ID12.make(input.integrationID),
321
+ integrationID: ID13.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: ID12.make(input.integrationID),
327
+ integrationID: ID13.make(input.integrationID),
328
328
  attemptID: AttemptID2.make(input.attemptID)
329
329
  })),
330
330
  complete: (input) => integration.oauth.complete({
331
- integrationID: ID12.make(input.integrationID),
331
+ integrationID: ID13.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: ID12.make(input.integrationID),
336
+ integrationID: ID13.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: ID12.make(input.integrationID),
342
+ integrationID: ID13.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: ID12.make(input.integrationID),
347
+ integrationID: ID13.make(input.integrationID),
348
348
  attemptID: AttemptID2.make(input.attemptID)
349
349
  })),
350
350
  cancel: (input) => integration.command.cancel({
351
- integrationID: ID12.make(input.integrationID),
351
+ integrationID: ID13.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(ID12.make(id)),
358
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection)
357
+ active: (id) => integration.connection.active(ID13.make(id)),
358
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.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(ID12.make(id))),
364
- update: (id, update) => editor.update(ID12.make(id), update),
365
- remove: (id) => editor.remove(ID12.make(id)),
363
+ get: (id) => mutable(editor.get(ID13.make(id))),
364
+ update: (id, update) => editor.update(ID13.make(id), update),
365
+ remove: (id) => editor.remove(ID13.make(id)),
366
366
  method: {
367
- list: (id) => editor.method.list(ID12.make(id)),
367
+ list: (id) => editor.method.list(ID13.make(id)),
368
368
  update: (input) => editor.method.update(methodImplementation(input)),
369
- remove: (id, method) => editor.method.remove(ID12.make(id), Schema.decodeUnknownSync(Method2)(method))
369
+ remove: (id, method) => editor.method.remove(ID13.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* Service73;
380
- const mcp = yield* Service33;
379
+ const location = yield* Service75;
380
+ const mcp = yield* Service38;
381
381
  return {
382
- location: new Info28({
382
+ location: new Info31({
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(Info8)(value)),
431
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info19)(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 : ID11.make(input.providerID)
459
+ providerID: input.providerID === undefined ? undefined : ID3.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: ID11.make(definition.id),
465
+ id: ID3.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 : ID11.make(selection))
471
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
472
472
  }
473
473
  });
474
474
  })
@@ -495,7 +495,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
495
495
  title: input?.title,
496
496
  agent: input?.agent,
497
497
  model: input?.model,
498
- location: input?.location ?? Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
498
+ location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
499
499
  }),
500
500
  get: (input) => sessions.get(input.sessionID),
501
501
  switchAgent: sessions.switchAgent,
@@ -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
- node48,
518
- node65,
519
- node68,
520
517
  node73,
521
- node45,
522
- node84,
523
- node74,
524
- node82,
525
- node37,
526
- node78,
527
- node70,
528
- node26,
529
- node47,
518
+ node65,
519
+ node60,
520
+ node52,
530
521
  node49,
531
- node44,
532
- node69,
533
- node25,
522
+ node83,
523
+ node74,
524
+ node84,
534
525
  node43,
535
- node62,
526
+ node80,
536
527
  node66,
537
528
  node27,
538
- node51,
539
- node61
529
+ node58,
530
+ node70,
531
+ node26,
532
+ node22,
533
+ node21,
534
+ node23,
535
+ node62,
536
+ node72,
537
+ node31,
538
+ node24,
539
+ node59
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: ID12.make(input.integrationID),
566
+ integrationID: ID13.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: ID12.make(input.integrationID),
586
+ integrationID: ID13.make(input.integrationID),
587
587
  method: input.method
588
588
  };
589
589
  }
590
590
  if (input.method.type === "command") {
591
591
  return {
592
- integrationID: ID12.make(input.integrationID),
592
+ integrationID: ID13.make(input.integrationID),
593
593
  method: { ...input.method, id: MethodID2.make(input.method.id) }
594
594
  };
595
595
  }
596
596
  return {
597
- integrationID: ID12.make(input.integrationID),
597
+ integrationID: ID13.make(input.integrationID),
598
598
  method: input.method
599
599
  };
600
600
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-k2fzxap7.js";
3
+ } from "./mime-x0c1a7xp.js";
4
4
  import {
5
- ID18
6
- } from "./file-retention-m27pyyd3.js";
5
+ ID12
6
+ } from "./mime-djwmzzhk.js";
7
7
 
8
8
  // src/plugin/provider/gitlab.ts
9
9
  import os from "os";
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
33
33
  });
34
34
  }));
35
35
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
36
- if (evt.model.providerID !== ID18.gitlab)
36
+ if (evt.model.providerID !== ID12.gitlab)
37
37
  return;
38
38
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
39
39
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./file-retention-m27pyyd3.js";
4
+ } from "./mime-djwmzzhk.js";
5
5
  import {
6
6
  __export
7
- } from "./file-retention-9rqn6x4v.js";
7
+ } from "./mime-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./file-retention-49ej072a.js";
3
+ } from "./mime-z01wqcwa.js";
4
4
  import {
5
- Service79
6
- } from "./file-retention-1d5qcw44.js";
5
+ Service78
6
+ } from "./mime-semqf2xs.js";
7
7
  import {
8
- Service54
9
- } from "./file-retention-dn7xhbn4.js";
8
+ Service43
9
+ } from "./mime-ve6nm2s5.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./file-retention-922hggd3.js";
12
+ } from "./mime-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service38
16
- } from "./file-retention-kty5e6rg.js";
14
+ ID5,
15
+ Service47
16
+ } from "./mime-fstm3t6m.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-retention-ec1grn59.js";
19
+ } from "./mime-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./file-retention-gftt206x.js";
22
+ } from "./mime-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./file-retention-k3aec3va.js";
25
+ } from "./mime-9mwfxnzp.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./file-retention-a1bz86dw.js";
28
+ } from "./mime-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./file-retention-9rqn6x4v.js";
31
+ } from "./mime-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* Service54;
45
+ const instances = yield* Service43;
46
46
  const database = yield* Service80;
47
- const bus = yield* Service79;
47
+ const bus = yield* Service78;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service38;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service47;
50
+ const original = input.session.revert?.snapshot ? ID5.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* Service54;
78
- const bus = yield* Service79;
77
+ const instances = yield* Service43;
78
+ const bus = yield* Service78;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service38;
80
+ const snapshot = yield* Service47;
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 ? ID5.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, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });