@opencode/core 0.0.0-dev-98 → 0.0.0-dev-106

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 (821) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{worktree-8aj0e00m.js → file-retention-00ensp01.js} +7 -7
  8. package/dist/chunks/{worktree-4zcty71r.js → file-retention-01cw0x8c.js} +25 -25
  9. package/dist/chunks/{worktree-034tev2y.js → file-retention-034tev2y.js} +2 -2
  10. package/dist/chunks/{worktree-0a6kvvk1.js → file-retention-05acc43v.js} +6 -6
  11. package/dist/chunks/{worktree-x16bhr4k.js → file-retention-0d5wzp0a.js} +46 -46
  12. package/dist/chunks/{worktree-g1ay4zd8.js → file-retention-0gbb59p9.js} +9 -9
  13. package/dist/chunks/{worktree-srjnrtdm.js → file-retention-0geb145b.js} +10 -10
  14. package/dist/chunks/{worktree-274xa1yy.js → file-retention-10fq91z6.js} +44 -44
  15. package/dist/chunks/{worktree-ez2q5kwx.js → file-retention-11b27yxh.js} +15 -15
  16. package/dist/chunks/{worktree-mhr56224.js → file-retention-11fnx5ad.js} +3 -3
  17. package/dist/chunks/{worktree-67b952gf.js → file-retention-13ebf3mq.js} +2 -2
  18. package/dist/chunks/{worktree-f10xpbr6.js → file-retention-17qfb74n.js} +11 -11
  19. package/dist/chunks/{worktree-6ydy7p7m.js → file-retention-18fr36ja.js} +8 -8
  20. package/dist/chunks/{worktree-qb1ewmbb.js → file-retention-1bazgwy0.js} +28 -28
  21. package/dist/chunks/{worktree-x6ys6dqa.js → file-retention-1dmvqq8e.js} +17 -17
  22. package/dist/chunks/{worktree-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{worktree-wk5m6zfg.js → file-retention-1gc92e9b.js} +40 -40
  24. package/dist/chunks/{worktree-xt0z8zst.js → file-retention-1kn6jdkn.js} +4 -4
  25. package/dist/chunks/{worktree-5knecm0z.js → file-retention-1npk31dn.js} +5 -5
  26. package/dist/chunks/{worktree-6mfpzx4a.js → file-retention-1p7ae65c.js} +11 -11
  27. package/dist/chunks/{worktree-7we5y53n.js → file-retention-1tpd8jbg.js} +55 -55
  28. package/dist/chunks/{worktree-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{worktree-w0d7zwbf.js → file-retention-1xawp968.js} +4 -4
  30. package/dist/chunks/{worktree-1yq9hg58.js → file-retention-1yq9hg58.js} +1 -1
  31. package/dist/chunks/{worktree-204s3925.js → file-retention-204s3925.js} +1 -1
  32. package/dist/chunks/{worktree-2xppje48.js → file-retention-213ntr4e.js} +27 -27
  33. package/dist/chunks/{worktree-fknb39f2.js → file-retention-220xmsjv.js} +18 -18
  34. package/dist/chunks/{worktree-4s0kbtm0.js → file-retention-257338nf.js} +14 -14
  35. package/dist/chunks/{worktree-vsqvcqta.js → file-retention-26x8chrq.js} +6 -6
  36. package/dist/chunks/{worktree-6k87w37n.js → file-retention-284vr7mk.js} +5 -5
  37. package/dist/chunks/{worktree-711qwxwb.js → file-retention-2djfsmxs.js} +21 -21
  38. package/dist/chunks/{worktree-95ztg1a4.js → file-retention-2hrs92et.js} +16 -16
  39. package/dist/chunks/{worktree-b5qegak8.js → file-retention-2jznjq70.js} +11 -11
  40. package/dist/chunks/{worktree-mny8z6gn.js → file-retention-2n2jra7h.js} +2 -2
  41. package/dist/chunks/{worktree-0n85nhyf.js → file-retention-2ny0ezjb.js} +21 -21
  42. package/dist/chunks/{worktree-q66cx4q6.js → file-retention-2v29ms50.js} +23 -23
  43. package/dist/chunks/{worktree-mwg3qc11.js → file-retention-3cbzjvxf.js} +70 -25
  44. package/dist/chunks/{worktree-ymz7p2c9.js → file-retention-3cgskxpq.js} +3 -3
  45. package/dist/chunks/{worktree-9m7ybg0k.js → file-retention-3ctwxhf6.js} +21 -21
  46. package/dist/chunks/{worktree-1tf37zww.js → file-retention-3grw85tc.js} +11 -11
  47. package/dist/chunks/{worktree-cewv1c6c.js → file-retention-3gxdekad.js} +8 -8
  48. package/dist/chunks/{worktree-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{worktree-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  50. package/dist/chunks/{worktree-2azy8kv6.js → file-retention-3ryz99p0.js} +4 -4
  51. package/dist/chunks/{worktree-2jr8wvhe.js → file-retention-3t7s1jht.js} +23 -23
  52. package/dist/chunks/{worktree-s6tqy0m8.js → file-retention-4app0d5h.js} +22 -22
  53. package/dist/chunks/{worktree-797vxkjx.js → file-retention-4en8p6w3.js} +8 -8
  54. package/dist/chunks/{worktree-2xc47qz5.js → file-retention-4exy2tgb.js} +70 -70
  55. package/dist/chunks/{worktree-9dcysxpf.js → file-retention-4p3hg7qr.js} +8 -8
  56. package/dist/chunks/{worktree-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
  57. package/dist/chunks/{worktree-pf2pdych.js → file-retention-4tsasp0w.js} +17 -17
  58. package/dist/chunks/{worktree-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  59. package/dist/chunks/{worktree-a4ww6fpm.js → file-retention-51d35nkj.js} +6 -6
  60. package/dist/chunks/{worktree-fne0txhj.js → file-retention-530qnn32.js} +54 -54
  61. package/dist/chunks/{worktree-q8dhc66a.js → file-retention-5c35a5tr.js} +9 -9
  62. package/dist/chunks/{worktree-w2eysc6j.js → file-retention-5enarcya.js} +6 -6
  63. package/dist/chunks/{worktree-pbbktnbz.js → file-retention-5gyja307.js} +4 -4
  64. package/dist/chunks/{worktree-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{worktree-d1dqn4r8.js → file-retention-6617bgsd.js} +19 -19
  66. package/dist/chunks/{worktree-bzk881f8.js → file-retention-6d987nwp.js} +32 -32
  67. package/dist/chunks/{worktree-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
  68. package/dist/chunks/{worktree-fxbc68d4.js → file-retention-6mc65ctj.js} +23 -23
  69. package/dist/chunks/{worktree-9kynvh8b.js → file-retention-6pnx88k5.js} +31 -31
  70. package/dist/chunks/{worktree-0f3cfs5z.js → file-retention-6qcwe8h6.js} +7 -7
  71. package/dist/chunks/{worktree-4pw98qd4.js → file-retention-6ss6ngz0.js} +4 -4
  72. package/dist/chunks/{worktree-n6v2b7cw.js → file-retention-6y263vp8.js} +5 -5
  73. package/dist/chunks/{worktree-kmsddh9w.js → file-retention-6y6e3gcj.js} +28 -28
  74. package/dist/chunks/{worktree-s99nkvx1.js → file-retention-70qgk999.js} +4 -4
  75. package/dist/chunks/{worktree-wm98xywf.js → file-retention-79gnnek8.js} +12 -12
  76. package/dist/chunks/{worktree-h8jxej25.js → file-retention-7b491anb.js} +12 -12
  77. package/dist/chunks/{worktree-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{worktree-b77a7q8t.js → file-retention-7c1hejwc.js} +41 -41
  79. package/dist/chunks/{worktree-9kdv0jfc.js → file-retention-7hgt5e5w.js} +3 -3
  80. package/dist/chunks/{worktree-m4ptef75.js → file-retention-7kf2nsex.js} +10 -10
  81. package/dist/chunks/{worktree-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  82. package/dist/chunks/{worktree-tzyd7gqa.js → file-retention-7yect7x1.js} +2 -2
  83. package/dist/chunks/{worktree-362wt1pd.js → file-retention-82kem97q.js} +18 -18
  84. package/dist/chunks/{worktree-yezzex3p.js → file-retention-858yc3fz.js} +17 -17
  85. package/dist/chunks/{worktree-17ze4ean.js → file-retention-8dnm6rqe.js} +29 -29
  86. package/dist/chunks/{worktree-pb04fmg7.js → file-retention-8h66evbt.js} +29 -29
  87. package/dist/chunks/{worktree-r66xew5k.js → file-retention-8jwdpn38.js} +8 -8
  88. package/dist/chunks/{worktree-8jztxfpf.js → file-retention-8jztxfpf.js} +1 -1
  89. package/dist/chunks/{worktree-hwa72p18.js → file-retention-8p9z5v1r.js} +22 -22
  90. package/dist/chunks/{worktree-fwp9mfc9.js → file-retention-8r9nj4s8.js} +4 -4
  91. package/dist/chunks/{worktree-ttkktqdh.js → file-retention-8w2sjm13.js} +13 -13
  92. package/dist/chunks/{worktree-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  93. package/dist/chunks/{worktree-0anyt1n6.js → file-retention-8yhc7zrg.js} +9 -9
  94. package/dist/chunks/{worktree-90zstvax.js → file-retention-90zstvax.js} +1 -1
  95. package/dist/chunks/{worktree-jvdszxx2.js → file-retention-94khjvtj.js} +28 -28
  96. package/dist/chunks/{worktree-8ys4y03d.js → file-retention-97vq97zw.js} +12 -12
  97. package/dist/chunks/{worktree-dxn6tk5h.js → file-retention-9c0sbrgq.js} +5 -5
  98. package/dist/chunks/{worktree-ez1g32xq.js → file-retention-9grvd76r.js} +8 -8
  99. package/dist/chunks/{worktree-w35wzz9x.js → file-retention-9q8g9sv8.js} +4 -4
  100. package/dist/chunks/{worktree-46jh5j06.js → file-retention-9qyfvz4m.js} +10 -10
  101. package/dist/chunks/{worktree-y8spwn8e.js → file-retention-aahkq6z2.js} +10 -10
  102. package/dist/chunks/{worktree-fettsp85.js → file-retention-abwhxwyy.js} +3 -8
  103. package/dist/chunks/{worktree-f2ajh7mh.js → file-retention-akjr89gm.js} +3 -3
  104. package/dist/chunks/{worktree-ac3qkg23.js → file-retention-ant32n8a.js} +14 -14
  105. package/dist/chunks/{worktree-we2rejfg.js → file-retention-at3ha3gd.js} +13 -13
  106. package/dist/chunks/{worktree-xyq0rax3.js → file-retention-atk704ss.js} +12 -12
  107. package/dist/chunks/{worktree-313gsj56.js → file-retention-aw4q487d.js} +25 -25
  108. package/dist/chunks/{worktree-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
  109. package/dist/chunks/{worktree-fk6tkz52.js → file-retention-b27sr8xw.js} +19 -19
  110. package/dist/chunks/{worktree-b8fkm456.js → file-retention-b2e3mpfn.js} +18 -18
  111. package/dist/chunks/{worktree-cmextvb5.js → file-retention-b4fxnh5x.js} +4 -4
  112. package/dist/chunks/{worktree-5nnwax6m.js → file-retention-b6vsg801.js} +5 -5
  113. package/dist/chunks/{worktree-8rjqw3ef.js → file-retention-b78pvnk0.js} +18 -18
  114. package/dist/chunks/{worktree-t21b4txv.js → file-retention-bdady26x.js} +35 -35
  115. package/dist/chunks/{worktree-bqmhzrvj.js → file-retention-bdxrme4x.js} +22 -22
  116. package/dist/chunks/{worktree-hrc5qanb.js → file-retention-bewng5xt.js} +16 -16
  117. package/dist/chunks/{worktree-s54472q3.js → file-retention-bg4dmm5d.js} +17 -17
  118. package/dist/chunks/{worktree-zzdv5d93.js → file-retention-bjhzkqyk.js} +4 -4
  119. package/dist/chunks/{worktree-as96ffcv.js → file-retention-bqhtr9km.js} +16 -16
  120. package/dist/chunks/{worktree-xd9cc171.js → file-retention-bstexjd6.js} +5 -5
  121. package/dist/chunks/{worktree-qad7dvhx.js → file-retention-bzk4ydrv.js} +83 -83
  122. package/dist/chunks/{worktree-h9mpa2cp.js → file-retention-c0wmmjhw.js} +40 -40
  123. package/dist/chunks/{worktree-szxm1cp3.js → file-retention-cap58psb.js} +11 -11
  124. package/dist/chunks/{worktree-kamfaf4d.js → file-retention-cbn5qz6c.js} +16 -16
  125. package/dist/chunks/{worktree-5mm8f81r.js → file-retention-ce8850xx.js} +5 -5
  126. package/dist/chunks/{worktree-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
  127. package/dist/chunks/{worktree-8eks9rwf.js → file-retention-d0hcg7jd.js} +28 -28
  128. package/dist/chunks/{worktree-c9t2ty9q.js → file-retention-d2887f8n.js} +4 -4
  129. package/dist/chunks/{worktree-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
  130. package/dist/chunks/{worktree-n28y46dr.js → file-retention-d6bett94.js} +26 -26
  131. package/dist/chunks/{worktree-e7d3gm04.js → file-retention-dnphr175.js} +11 -11
  132. package/dist/chunks/{worktree-pbq8xx0j.js → file-retention-dskmn5nd.js} +32 -32
  133. package/dist/chunks/{worktree-dt77769w.js → file-retention-dt77769w.js} +1 -1
  134. package/dist/chunks/{worktree-53phj0kz.js → file-retention-dvpav3c8.js} +18 -18
  135. package/dist/chunks/{worktree-mr77yge8.js → file-retention-dzpz9w51.js} +28 -28
  136. package/dist/chunks/{worktree-yjbxb6qy.js → file-retention-e0h4m4ge.js} +4 -4
  137. package/dist/chunks/{worktree-m56cjv3e.js → file-retention-e2mp0d97.js} +19 -19
  138. package/dist/chunks/{worktree-fg35kqc5.js → file-retention-e486tjyp.js} +5 -5
  139. package/dist/chunks/{worktree-m7fqq1ew.js → file-retention-e684jnvx.js} +9 -9
  140. package/dist/chunks/{worktree-e834z07m.js → file-retention-e834z07m.js} +1 -1
  141. package/dist/chunks/{worktree-v3xbt8j3.js → file-retention-ectwy8nt.js} +5 -5
  142. package/dist/chunks/{worktree-y6396az8.js → file-retention-ed1jg8md.js} +28 -28
  143. package/dist/chunks/{worktree-zmbtf289.js → file-retention-ed1x3daz.js} +21 -21
  144. package/dist/chunks/{worktree-ymw70ds8.js → file-retention-ek5b82yj.js} +37 -37
  145. package/dist/chunks/{worktree-vpvfxw07.js → file-retention-ep2aybfb.js} +15 -15
  146. package/dist/chunks/{worktree-k9zkdd2y.js → file-retention-epbqh0vp.js} +4 -4
  147. package/dist/chunks/{worktree-hepvyceb.js → file-retention-exqnczdn.js} +18 -18
  148. package/dist/chunks/{worktree-t2wdt0at.js → file-retention-f6n5e1dm.js} +14 -14
  149. package/dist/chunks/file-retention-f8ma18fn.js +18 -0
  150. package/dist/chunks/{worktree-5jnqyxbn.js → file-retention-f9nn1sjd.js} +21 -21
  151. package/dist/chunks/file-retention-fb3r9cnw.js +26 -0
  152. package/dist/chunks/{worktree-8f9mezn2.js → file-retention-fd09956s.js} +4 -4
  153. package/dist/chunks/{worktree-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
  154. package/dist/chunks/{worktree-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
  155. package/dist/chunks/{worktree-j6gqx17m.js → file-retention-fng6wk28.js} +11 -11
  156. package/dist/chunks/{worktree-bym8k3a1.js → file-retention-fz3avstq.js} +16 -16
  157. package/dist/chunks/{worktree-agqd6nxz.js → file-retention-g6dfma3d.js} +6 -6
  158. package/dist/chunks/{worktree-gg8p9cgs.js → file-retention-gg8p9cgs.js} +3 -3
  159. package/dist/chunks/{worktree-r3q41g9c.js → file-retention-gk998fjy.js} +29 -29
  160. package/dist/chunks/{worktree-wa1hcjw6.js → file-retention-gwb4hjpw.js} +5 -5
  161. package/dist/chunks/{worktree-3b432v26.js → file-retention-h3hvekyy.js} +11 -11
  162. package/dist/chunks/{worktree-tk7n563y.js → file-retention-h4v9p5rq.js} +3 -3
  163. package/dist/chunks/{worktree-be2e5rnf.js → file-retention-h5tttybt.js} +21 -21
  164. package/dist/chunks/{worktree-6sqa993f.js → file-retention-h6t0znmf.js} +9 -9
  165. package/dist/chunks/{worktree-mzt2fbnn.js → file-retention-h9awvcw8.js} +35 -35
  166. package/dist/chunks/{worktree-ds7r37yp.js → file-retention-haf3v3hy.js} +5 -5
  167. package/dist/chunks/{worktree-mmkbt6v3.js → file-retention-hdfrs5mg.js} +9 -9
  168. package/dist/chunks/{worktree-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
  169. package/dist/chunks/{worktree-vg0erq9k.js → file-retention-hqxkkta1.js} +3 -3
  170. package/dist/chunks/{worktree-16fb6946.js → file-retention-hrgy1ehp.js} +3 -3
  171. package/dist/chunks/{worktree-w87a0wfe.js → file-retention-hrzny8v8.js} +24 -24
  172. package/dist/chunks/{worktree-p93v64fd.js → file-retention-htrvxm7y.js} +21 -21
  173. package/dist/chunks/{worktree-mjc6f1aw.js → file-retention-hwg9r3t9.js} +45 -45
  174. package/dist/chunks/{worktree-3d73cf36.js → file-retention-jb9hj9nr.js} +6 -6
  175. package/dist/chunks/{worktree-xyrxtpny.js → file-retention-je0z6vt0.js} +19 -19
  176. package/dist/chunks/{worktree-jfaecv01.js → file-retention-jfaecv01.js} +1 -1
  177. package/dist/chunks/{worktree-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
  178. package/dist/chunks/{worktree-2z24bsrh.js → file-retention-jyq1zm3m.js} +35 -35
  179. package/dist/chunks/{worktree-118agfgj.js → file-retention-jz9sppn7.js} +4 -4
  180. package/dist/chunks/{worktree-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
  181. package/dist/chunks/{worktree-4601np8m.js → file-retention-kexjjz2s.js} +32 -32
  182. package/dist/chunks/{worktree-c7rwyadp.js → file-retention-ksbsws88.js} +12 -12
  183. package/dist/chunks/{worktree-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{worktree-m1714858.js → file-retention-m1714858.js} +1 -1
  185. package/dist/chunks/{worktree-pf3rwkdy.js → file-retention-m37mrzs7.js} +10 -10
  186. package/dist/chunks/{worktree-m37sd98t.js → file-retention-m37sd98t.js} +1 -1
  187. package/dist/chunks/{worktree-wqtd6dn9.js → file-retention-m4qbnc51.js} +6 -6
  188. package/dist/chunks/{worktree-hcwqz2vp.js → file-retention-m5z5bky1.js} +27 -27
  189. package/dist/chunks/{worktree-sy9ykmfq.js → file-retention-m8d78p9r.js} +3 -3
  190. package/dist/chunks/{worktree-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{worktree-ns70zq6v.js → file-retention-ma8y8rx5.js} +6 -6
  192. package/dist/chunks/{worktree-7a3mcgk4.js → file-retention-mc71x809.js} +4 -4
  193. package/dist/chunks/{worktree-sre4ebqw.js → file-retention-mq7hpmjw.js} +4 -4
  194. package/dist/chunks/{worktree-z6j3zz1h.js → file-retention-mqr8efz6.js} +9 -9
  195. package/dist/chunks/{worktree-nqp32kgw.js → file-retention-mxhqtbmm.js} +12 -12
  196. package/dist/chunks/{worktree-vcccw22k.js → file-retention-mz3668s9.js} +20 -20
  197. package/dist/chunks/{worktree-nxbxez3p.js → file-retention-n4mbpr34.js} +52 -52
  198. package/dist/chunks/{worktree-7thfwj7f.js → file-retention-n4q7tcga.js} +19 -19
  199. package/dist/chunks/{worktree-nah043kf.js → file-retention-nah043kf.js} +1 -1
  200. package/dist/chunks/{worktree-snmd1rw9.js → file-retention-nbbcay66.js} +11 -11
  201. package/dist/chunks/{worktree-2dhrh792.js → file-retention-nd9x6dx5.js} +7 -7
  202. package/dist/chunks/{worktree-ey5667np.js → file-retention-nspspvnz.js} +20 -20
  203. package/dist/chunks/{worktree-vq1ppevj.js → file-retention-nwyfjcs7.js} +8 -8
  204. package/dist/chunks/{worktree-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
  205. package/dist/chunks/{worktree-bgn2x603.js → file-retention-p2dy9dmh.js} +15 -15
  206. package/dist/chunks/file-retention-p44nm9sv.js +257 -0
  207. package/dist/chunks/{worktree-bds5er22.js → file-retention-pdbk0b84.js} +25 -25
  208. package/dist/chunks/{worktree-rxgbbj8k.js → file-retention-pg7tzw83.js} +22 -22
  209. package/dist/chunks/{worktree-pknna89w.js → file-retention-pknna89w.js} +1 -1
  210. package/dist/chunks/{worktree-9t2khtsw.js → file-retention-pnwsrq7c.js} +8 -8
  211. package/dist/chunks/{worktree-18z1h0b9.js → file-retention-pqz8f4xz.js} +11 -11
  212. package/dist/chunks/{worktree-48j5p4ar.js → file-retention-prdb4jtf.js} +15 -15
  213. package/dist/chunks/{worktree-3jb4p7sz.js → file-retention-ptdgs7e1.js} +14 -14
  214. package/dist/chunks/{worktree-n9qdtdvs.js → file-retention-pxsskgvr.js} +7 -7
  215. package/dist/chunks/{worktree-tyv518va.js → file-retention-q2a1qg4p.js} +5 -5
  216. package/dist/chunks/{worktree-yfwf0v7j.js → file-retention-qc86zz63.js} +5 -5
  217. package/dist/chunks/{worktree-vs44t7fa.js → file-retention-qerk2cbg.js} +12 -12
  218. package/dist/chunks/{worktree-0ngm2ts5.js → file-retention-qjdvspq8.js} +4 -4
  219. package/dist/chunks/{worktree-3kwhg78p.js → file-retention-qp0h8mz4.js} +37 -37
  220. package/dist/chunks/{worktree-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
  221. package/dist/chunks/{worktree-xn6gceck.js → file-retention-qtgtdkvq.js} +8 -8
  222. package/dist/chunks/{worktree-h6qfzy2w.js → file-retention-qymv4vqy.js} +6 -6
  223. package/dist/chunks/{worktree-3escd5af.js → file-retention-qz7zdzmc.js} +9 -9
  224. package/dist/chunks/{worktree-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
  225. package/dist/chunks/{worktree-r542h3bh.js → file-retention-r542h3bh.js} +1 -1
  226. package/dist/chunks/{worktree-m7fnv24s.js → file-retention-r67zf7b0.js} +42 -42
  227. package/dist/chunks/{worktree-txwj3gge.js → file-retention-r8c7z53f.js} +16 -16
  228. package/dist/chunks/{worktree-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  229. package/dist/chunks/{worktree-6twykydk.js → file-retention-rmt6m6se.js} +9 -9
  230. package/dist/chunks/{worktree-fz81h3y8.js → file-retention-rnnfdfqg.js} +25 -25
  231. package/dist/chunks/{worktree-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
  232. package/dist/chunks/{worktree-wsr9qs6j.js → file-retention-ryddx2hx.js} +26 -26
  233. package/dist/chunks/{worktree-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
  234. package/dist/chunks/{worktree-ysbey0jp.js → file-retention-saqfpqv7.js} +20 -20
  235. package/dist/chunks/file-retention-sd7aqspp.js +511 -0
  236. package/dist/chunks/{worktree-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
  237. package/dist/chunks/{worktree-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
  238. package/dist/chunks/{worktree-cfg92mm1.js → file-retention-t9vygg4h.js} +12 -12
  239. package/dist/chunks/{worktree-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  240. package/dist/chunks/{worktree-hzn7nsdm.js → file-retention-tpm8y58e.js} +42 -42
  241. package/dist/chunks/{worktree-66s7d1kd.js → file-retention-tv6nmqg6.js} +13 -13
  242. package/dist/chunks/{worktree-a2jfm1hx.js → file-retention-tvbcxp3f.js} +11 -11
  243. package/dist/chunks/{worktree-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
  244. package/dist/chunks/{worktree-mhc61mdg.js → file-retention-tya21j9a.js} +30 -30
  245. package/dist/chunks/{worktree-tsv2z92f.js → file-retention-tzm99g9n.js} +11 -11
  246. package/dist/chunks/{worktree-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{worktree-21vhc8jx.js → file-retention-v5h34zxn.js} +6 -6
  248. package/dist/chunks/{worktree-9kf1aax8.js → file-retention-va65z9ez.js} +10 -10
  249. package/dist/chunks/{worktree-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  250. package/dist/chunks/{worktree-9409nsbj.js → file-retention-vfqzwbd6.js} +27 -27
  251. package/dist/chunks/{worktree-ex49bqgb.js → file-retention-vh7hpp0n.js} +11 -11
  252. package/dist/chunks/{worktree-5epte933.js → file-retention-vpm8vpz0.js} +2 -2
  253. package/dist/chunks/{worktree-7a6mw2zv.js → file-retention-vtftkppy.js} +32 -32
  254. package/dist/chunks/{worktree-bca42jyk.js → file-retention-w046pjj9.js} +16 -16
  255. package/dist/chunks/{worktree-1cwaa6j3.js → file-retention-w1ampmdn.js} +85 -85
  256. package/dist/chunks/{worktree-qtp439t2.js → file-retention-w1n8wyt0.js} +20 -20
  257. package/dist/chunks/{worktree-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{worktree-wr3re1en.js → file-retention-w687dnns.js} +4 -4
  259. package/dist/chunks/{worktree-w8qtt4th.js → file-retention-w8qtt4th.js} +1 -1
  260. package/dist/chunks/{worktree-jv4aastz.js → file-retention-w9g7809j.js} +11 -11
  261. package/dist/chunks/{worktree-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{worktree-dzb2begy.js → file-retention-wc3hvwsb.js} +23 -23
  263. package/dist/chunks/{worktree-8rgcjn3a.js → file-retention-wcjz4gw8.js} +15 -15
  264. package/dist/chunks/{worktree-wd87259q.js → file-retention-wd87259q.js} +1 -1
  265. package/dist/chunks/{worktree-4pgj6j2t.js → file-retention-wdj410na.js} +29 -29
  266. package/dist/chunks/{worktree-f5grfhzb.js → file-retention-wdx8z5j2.js} +8 -8
  267. package/dist/chunks/{worktree-1d5mc1c2.js → file-retention-wevd75am.js} +9 -9
  268. package/dist/chunks/{worktree-jbs867qq.js → file-retention-wmrfeaxa.js} +34 -34
  269. package/dist/chunks/{worktree-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
  270. package/dist/chunks/{worktree-vmsmp5eq.js → file-retention-x08t3gav.js} +17 -17
  271. package/dist/chunks/{worktree-t5qvjzk2.js → file-retention-x38q2hx0.js} +19 -19
  272. package/dist/chunks/{worktree-c84tv7mg.js → file-retention-xaz3vqte.js} +4 -4
  273. package/dist/chunks/{worktree-3z9x6b48.js → file-retention-xdjf2s1h.js} +21 -21
  274. package/dist/chunks/{worktree-3ptmacdb.js → file-retention-xkjzrxhz.js} +17 -17
  275. package/dist/chunks/{worktree-g897beg1.js → file-retention-xm94g0fx.js} +188 -188
  276. package/dist/chunks/{worktree-cy84twbn.js → file-retention-xmt6n58z.js} +48 -48
  277. package/dist/chunks/{worktree-6dme9bqw.js → file-retention-xwfc5a9y.js} +22 -22
  278. package/dist/chunks/{worktree-yara3q77.js → file-retention-yara3q77.js} +2 -2
  279. package/dist/chunks/{worktree-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  280. package/dist/chunks/{worktree-ra6js1h8.js → file-retention-ydsespw1.js} +8 -8
  281. package/dist/chunks/{worktree-6gm26dnv.js → file-retention-yes5e36g.js} +15 -15
  282. package/dist/chunks/{worktree-vpzpgvq9.js → file-retention-yjq04dxh.js} +44 -44
  283. package/dist/chunks/{worktree-k9y3d0tp.js → file-retention-ymetyeqh.js} +11 -11
  284. package/dist/chunks/{worktree-nx6hk0ja.js → file-retention-ys5044sq.js} +1 -1
  285. package/dist/chunks/{worktree-5fmzxywh.js → file-retention-yztxn572.js} +4 -4
  286. package/dist/chunks/{worktree-1hraz18d.js → file-retention-z04zt6pc.js} +18 -18
  287. package/dist/chunks/{worktree-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/{worktree-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
  289. package/dist/chunks/{worktree-wsp5yfww.js → file-retention-z6te0x2y.js} +35 -35
  290. package/dist/chunks/{worktree-0n9fydpr.js → file-retention-z9rbxwes.js} +5 -5
  291. package/dist/chunks/{worktree-zgkm4kzm.js → file-retention-zgkm4kzm.js} +3 -3
  292. package/dist/chunks/{worktree-6z9ynqn9.js → file-retention-zhvf8v5k.js} +9 -9
  293. package/dist/chunks/{worktree-r18rdv8f.js → file-retention-zqfva1zy.js} +1 -1
  294. package/dist/chunks/{worktree-7d2a7xbs.js → file-retention-zw4pk1bw.js} +5 -5
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +7 -7
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +87 -87
  300. package/dist/config/discovery.js +90 -90
  301. package/dist/config/integration.js +3 -3
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +121 -121
  305. package/dist/config/plugin/command.js +219 -219
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +121 -121
  313. package/dist/config/plugin/mcp.js +128 -128
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +123 -123
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +1 -1
  320. package/dist/config/plugin/skill.js +145 -145
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +124 -124
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +122 -122
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +122 -122
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +89 -89
  332. package/dist/database/database.js +72 -72
  333. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  334. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +13 -13
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +14 -14
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +100 -100
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +381 -381
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +1 -1
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -101
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +103 -103
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +3 -3
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +76 -76
  428. package/dist/file-access.js +148 -148
  429. package/dist/file-mutation.js +100 -100
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +83 -83
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +228 -228
  438. package/dist/filesystem/protected.js +1 -1
  439. package/dist/filesystem/search.js +105 -105
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +9 -9
  442. package/dist/filesystem.js +110 -110
  443. package/dist/form.js +88 -88
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +91 -91
  446. package/dist/generate.js +113 -113
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +107 -107
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon-normalize.js +1 -1
  468. package/dist/image/photon-worker.js +1 -1
  469. package/dist/image/photon.js +4 -4
  470. package/dist/image.js +6 -6
  471. package/dist/instance/service.js +5 -5
  472. package/dist/instance.js +372 -372
  473. package/dist/instruction-discovery.js +88 -88
  474. package/dist/instructions/builtins.js +95 -95
  475. package/dist/instructions/index.js +3 -3
  476. package/dist/integration/connection.js +3 -3
  477. package/dist/integration.js +95 -95
  478. package/dist/job.js +84 -84
  479. package/dist/kv/sql.js +2 -2
  480. package/dist/kv.js +79 -79
  481. package/dist/location-activity.js +163 -163
  482. package/dist/location-lifecycle.js +142 -142
  483. package/dist/location-service-map.js +94 -94
  484. package/dist/location-services.js +369 -369
  485. package/dist/location.js +97 -97
  486. package/dist/managed-policy.js +3 -3
  487. package/dist/mcp/client.js +99 -99
  488. package/dist/mcp/index.js +117 -117
  489. package/dist/mcp/instructions.js +168 -168
  490. package/dist/mcp/oauth.js +84 -84
  491. package/dist/mcp/socket-client.js +1 -1
  492. package/dist/mcp/stdio.js +98 -98
  493. package/dist/mime.js +1 -1
  494. package/dist/modal/models.js +107 -107
  495. package/dist/model-resolver.js +107 -107
  496. package/dist/model-retry.js +1 -1
  497. package/dist/model.js +108 -108
  498. package/dist/models-dev/v1.js +1 -1
  499. package/dist/models-dev.js +116 -116
  500. package/dist/oauth/page.js +1 -1
  501. package/dist/permission/saved.js +86 -86
  502. package/dist/permission/sql.js +5 -5
  503. package/dist/permission.js +141 -141
  504. package/dist/persistent-pty/binary.bun.js +1 -1
  505. package/dist/persistent-pty/daemon.js +1 -1
  506. package/dist/persistent-pty/index.js +92 -92
  507. package/dist/persistent-pty/pty-binding.js +1 -1
  508. package/dist/persistent-pty.js +81 -81
  509. package/dist/plugin/agent.js +80 -80
  510. package/dist/plugin/command.js +108 -108
  511. package/dist/plugin/hooks.js +5 -5
  512. package/dist/plugin/host.js +227 -227
  513. package/dist/plugin/identity.js +5 -5
  514. package/dist/plugin/instance.js +5 -5
  515. package/dist/plugin/internal.js +342 -342
  516. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  517. package/dist/plugin/models-dev.js +105 -105
  518. package/dist/plugin/module.js +123 -123
  519. package/dist/plugin/optimize.js +4 -4
  520. package/dist/plugin/plan.js +138 -138
  521. package/dist/plugin/promise.js +1 -1
  522. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  523. package/dist/plugin/provider/azure.js +121 -121
  524. package/dist/plugin/provider/cerebras.js +1 -1
  525. package/dist/plugin/provider/chatgpt.js +121 -121
  526. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  527. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  528. package/dist/plugin/provider/cohere.js +2 -2
  529. package/dist/plugin/provider/configured.js +117 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +101 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/factory.js +1 -1
  534. package/dist/plugin/provider/github-copilot.js +103 -103
  535. package/dist/plugin/provider/gitlab.js +101 -101
  536. package/dist/plugin/provider/google-vertex.js +118 -118
  537. package/dist/plugin/provider/kilo.js +1 -1
  538. package/dist/plugin/provider/llmgateway.js +84 -84
  539. package/dist/plugin/provider/lmstudio.js +130 -130
  540. package/dist/plugin/provider/local.js +127 -127
  541. package/dist/plugin/provider/modal.js +100 -100
  542. package/dist/plugin/provider/neon.js +1 -1
  543. package/dist/plugin/provider/nvidia.js +1 -1
  544. package/dist/plugin/provider/ollama.js +130 -130
  545. package/dist/plugin/provider/openai-context-caps.js +98 -98
  546. package/dist/plugin/provider/openai.js +123 -123
  547. package/dist/plugin/provider/opencode.js +124 -124
  548. package/dist/plugin/provider/openrouter.js +99 -99
  549. package/dist/plugin/provider/perplexity.js +2 -2
  550. package/dist/plugin/provider/poe.js +85 -85
  551. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  552. package/dist/plugin/provider/sap-ai-core.js +99 -99
  553. package/dist/plugin/provider/sdk-factory.js +1 -1
  554. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  555. package/dist/plugin/provider/vercel.js +98 -98
  556. package/dist/plugin/provider/vllm.js +130 -130
  557. package/dist/plugin/provider/xai.js +99 -99
  558. package/dist/plugin/provider/zenmux.js +1 -1
  559. package/dist/plugin/provider.js +175 -175
  560. package/dist/plugin/sdk.js +82 -82
  561. package/dist/plugin/service.js +3 -3
  562. package/dist/plugin/skill.js +141 -141
  563. package/dist/plugin/source-directory.js +1 -1
  564. package/dist/plugin/supervisor.js +361 -361
  565. package/dist/plugin/tool-input-repair.js +4 -4
  566. package/dist/plugin/update.js +6 -6
  567. package/dist/plugin/vcs/git.js +94 -94
  568. package/dist/plugin/vcs/hg.js +94 -94
  569. package/dist/plugin/verbosity.js +101 -101
  570. package/dist/plugin/warming.js +119 -119
  571. package/dist/plugin/websearch/exa.js +7 -7
  572. package/dist/plugin/websearch/firecrawl.js +6 -6
  573. package/dist/plugin/websearch/index.js +9 -9
  574. package/dist/plugin/websearch/mcp.js +4 -4
  575. package/dist/plugin/websearch/parallel.js +8 -8
  576. package/dist/plugin/websearch/tavily.js +6 -6
  577. package/dist/plugin/websearch/tinyfish.js +8 -8
  578. package/dist/plugin.js +236 -236
  579. package/dist/project/icon.js +5 -5
  580. package/dist/project/schema.js +8 -8
  581. package/dist/project/sql.js +4 -4
  582. package/dist/project.js +98 -98
  583. package/dist/provider.js +105 -105
  584. package/dist/pty/protocol.js +1 -1
  585. package/dist/pty/ticket.js +1 -1
  586. package/dist/pty.js +106 -106
  587. package/dist/reference/instructions.js +94 -94
  588. package/dist/reference.js +94 -94
  589. package/dist/repository-cache.js +88 -88
  590. package/dist/repository.js +3 -3
  591. package/dist/ripgrep/binary.js +2 -2
  592. package/dist/ripgrep.js +103 -103
  593. package/dist/rpc.js +94 -94
  594. package/dist/schema.js +1 -1
  595. package/dist/session/affinity.js +1 -1
  596. package/dist/session/blob.js +120 -120
  597. package/dist/session/command.js +80 -80
  598. package/dist/session/compaction.js +164 -164
  599. package/dist/session/context.js +188 -188
  600. package/dist/session/diff.js +96 -96
  601. package/dist/session/environment.js +5 -5
  602. package/dist/session/error.js +5 -5
  603. package/dist/session/event.js +1 -1
  604. package/dist/session/execution/restart.js +228 -228
  605. package/dist/session/execution.js +154 -154
  606. package/dist/session/generate.js +188 -188
  607. package/dist/session/history.js +127 -127
  608. package/dist/session/inbox.js +138 -138
  609. package/dist/session/info.js +3 -3
  610. package/dist/session/instruction-entry.js +83 -83
  611. package/dist/session/instruction-state.js +8 -8
  612. package/dist/session/instructions.js +132 -132
  613. package/dist/session/message-updater.js +4 -4
  614. package/dist/session/message.js +1 -1
  615. package/dist/session/model-request.js +155 -155
  616. package/dist/session/model-transport.js +9 -9
  617. package/dist/session/move.js +156 -156
  618. package/dist/session/projector.js +134 -134
  619. package/dist/session/prompt.js +140 -140
  620. package/dist/session/recent-text.js +1 -1
  621. package/dist/session/revert.js +130 -130
  622. package/dist/session/run-coordinator.js +3 -3
  623. package/dist/session/runner/index.js +3 -3
  624. package/dist/session/runner/llm.js +238 -238
  625. package/dist/session/runner/max-steps.js +1 -1
  626. package/dist/session/runner/model.js +108 -108
  627. package/dist/session/runner/publish-llm-event.js +141 -141
  628. package/dist/session/runner/retry.js +5 -5
  629. package/dist/session/runner/step.js +154 -154
  630. package/dist/session/runner/to-llm-message.js +128 -128
  631. package/dist/session/schema.js +3 -3
  632. package/dist/session/session.js +170 -170
  633. package/dist/session/shell.js +135 -135
  634. package/dist/session/skill.js +139 -139
  635. package/dist/session/sql.js +5 -5
  636. package/dist/session/stats.js +79 -79
  637. package/dist/session/store.js +133 -133
  638. package/dist/session/stored.js +2 -2
  639. package/dist/session/subagent-completion.js +1 -1
  640. package/dist/session/subagent-job.js +219 -219
  641. package/dist/session/system-prompt.js +1 -1
  642. package/dist/session/title.js +192 -192
  643. package/dist/session/to-session-error.js +140 -140
  644. package/dist/session/transfer.js +222 -222
  645. package/dist/session/usage.js +1 -1
  646. package/dist/session.js +221 -221
  647. package/dist/shell/parse.js +6 -6
  648. package/dist/shell/result.js +1 -1
  649. package/dist/shell/scan.js +1 -1
  650. package/dist/shell/select.js +7 -7
  651. package/dist/shell.js +137 -137
  652. package/dist/skill/discovery.js +6 -6
  653. package/dist/skill/instructions.js +141 -141
  654. package/dist/skill.js +144 -144
  655. package/dist/snapshot.js +99 -99
  656. package/dist/state.js +1 -1
  657. package/dist/tool/html-markdown.js +1 -1
  658. package/dist/tool/http-body.js +1 -1
  659. package/dist/tool/mcp.js +163 -163
  660. package/dist/tool/plugin/edit.js +156 -156
  661. package/dist/tool/plugin/file-diff.js +1 -1
  662. package/dist/tool/plugin/glob.js +156 -156
  663. package/dist/tool/plugin/grep.js +158 -158
  664. package/dist/tool/plugin/mcp-resource.js +154 -154
  665. package/dist/tool/plugin/opencode.js +153 -153
  666. package/dist/tool/plugin/patch.js +158 -158
  667. package/dist/tool/plugin/question.js +138 -138
  668. package/dist/tool/plugin/read.js +161 -161
  669. package/dist/tool/plugin/shell.js +224 -224
  670. package/dist/tool/plugin/skill.js +149 -149
  671. package/dist/tool/plugin/subagent.js +224 -224
  672. package/dist/tool/plugin/todo.js +145 -145
  673. package/dist/tool/plugin/webfetch.js +147 -147
  674. package/dist/tool/plugin/websearch.js +147 -147
  675. package/dist/tool/plugin/write.js +158 -158
  676. package/dist/tool/read-filesystem.js +110 -110
  677. package/dist/tool/runtime.js +1 -1
  678. package/dist/tool-output.js +7 -7
  679. package/dist/tool.js +12 -12
  680. package/dist/types/model.d.ts +3 -13
  681. package/dist/usage-limits.js +93 -93
  682. package/dist/util/error-summary.js +1 -1
  683. package/dist/util/git-executable.js +3 -3
  684. package/dist/util/lazy.js +1 -1
  685. package/dist/util/slug.js +1 -1
  686. package/dist/util/token.js +1 -1
  687. package/dist/util/which.js +1 -1
  688. package/dist/util/wildcard.js +1 -1
  689. package/dist/v1/config/agent.js +5 -5
  690. package/dist/v1/config/command.js +3 -3
  691. package/dist/v1/config/mcp.js +4 -4
  692. package/dist/v1/config/migrate.js +100 -100
  693. package/dist/v1/config/permission.js +3 -3
  694. package/dist/v1/config/plugin.js +1 -1
  695. package/dist/v1/config/provider-options.js +1 -1
  696. package/dist/v1/config/provider.js +4 -4
  697. package/dist/variant.js +99 -99
  698. package/dist/vcs/patch.js +1 -1
  699. package/dist/vcs.js +95 -95
  700. package/dist/voice.js +92 -92
  701. package/dist/websearch.js +90 -90
  702. package/dist/wellknown/plugin.js +82 -82
  703. package/dist/wellknown.js +85 -85
  704. package/dist/workspace/driver.js +3 -3
  705. package/dist/workspace/sql.js +1 -1
  706. package/dist/workspace.js +86 -86
  707. package/dist/worktree/directory.js +2 -2
  708. package/dist/worktree/git.js +11 -11
  709. package/dist/worktree/sql.js +5 -5
  710. package/dist/worktree/strategies.js +97 -97
  711. package/dist/worktree.js +108 -108
  712. package/package.json +8 -8
  713. package/dist/chunks/worktree-2bz716tq.js +0 -511
  714. package/dist/chunks/worktree-7gwz4hhv.js +0 -257
  715. package/dist/chunks/worktree-a610t88q.js +0 -18
  716. package/dist/chunks/worktree-kc53vfpk.js +0 -26
  717. /package/dist/chunks/{worktree-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  718. /package/dist/chunks/{worktree-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  719. /package/dist/chunks/{worktree-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  720. /package/dist/chunks/{worktree-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  721. /package/dist/chunks/{worktree-1jakw16s.js → file-retention-1jakw16s.js} +0 -0
  722. /package/dist/chunks/{worktree-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  723. /package/dist/chunks/{worktree-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  724. /package/dist/chunks/{worktree-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  725. /package/dist/chunks/{worktree-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  726. /package/dist/chunks/{worktree-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  727. /package/dist/chunks/{worktree-3asan66x.js → file-retention-3asan66x.js} +0 -0
  728. /package/dist/chunks/{worktree-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  729. /package/dist/chunks/{worktree-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  730. /package/dist/chunks/{worktree-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  731. /package/dist/chunks/{worktree-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  732. /package/dist/chunks/{worktree-4m86bj6y.js → file-retention-4m86bj6y.js} +0 -0
  733. /package/dist/chunks/{worktree-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  734. /package/dist/chunks/{worktree-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  735. /package/dist/chunks/{worktree-53557ph1.js → file-retention-53557ph1.js} +0 -0
  736. /package/dist/chunks/{worktree-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  737. /package/dist/chunks/{worktree-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
  738. /package/dist/chunks/{worktree-6prwharc.js → file-retention-6prwharc.js} +0 -0
  739. /package/dist/chunks/{worktree-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  740. /package/dist/chunks/{worktree-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  741. /package/dist/chunks/{worktree-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  742. /package/dist/chunks/{worktree-822emrt2.js → file-retention-822emrt2.js} +0 -0
  743. /package/dist/chunks/{worktree-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  744. /package/dist/chunks/{worktree-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  745. /package/dist/chunks/{worktree-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  746. /package/dist/chunks/{worktree-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  747. /package/dist/chunks/{worktree-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  748. /package/dist/chunks/{worktree-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  749. /package/dist/chunks/{worktree-a058387c.js → file-retention-a058387c.js} +0 -0
  750. /package/dist/chunks/{worktree-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  751. /package/dist/chunks/{worktree-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  752. /package/dist/chunks/{worktree-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  753. /package/dist/chunks/{worktree-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  754. /package/dist/chunks/{worktree-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  755. /package/dist/chunks/{worktree-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
  756. /package/dist/chunks/{worktree-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  757. /package/dist/chunks/{worktree-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  758. /package/dist/chunks/{worktree-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  759. /package/dist/chunks/{worktree-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
  760. /package/dist/chunks/{worktree-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  761. /package/dist/chunks/{worktree-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  762. /package/dist/chunks/{worktree-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  763. /package/dist/chunks/{worktree-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  764. /package/dist/chunks/{worktree-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  765. /package/dist/chunks/{worktree-df08tz66.js → file-retention-df08tz66.js} +0 -0
  766. /package/dist/chunks/{worktree-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  767. /package/dist/chunks/{worktree-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  768. /package/dist/chunks/{worktree-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  769. /package/dist/chunks/{worktree-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  770. /package/dist/chunks/{worktree-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  771. /package/dist/chunks/{worktree-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  772. /package/dist/chunks/{worktree-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  773. /package/dist/chunks/{worktree-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  774. /package/dist/chunks/{worktree-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  775. /package/dist/chunks/{worktree-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  776. /package/dist/chunks/{worktree-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
  777. /package/dist/chunks/{worktree-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  778. /package/dist/chunks/{worktree-g86h250q.js → file-retention-g86h250q.js} +0 -0
  779. /package/dist/chunks/{worktree-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  780. /package/dist/chunks/{worktree-gftt206x.js → file-retention-gftt206x.js} +0 -0
  781. /package/dist/chunks/{worktree-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  782. /package/dist/chunks/{worktree-hk9envan.js → file-retention-hk9envan.js} +0 -0
  783. /package/dist/chunks/{worktree-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  784. /package/dist/chunks/{worktree-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  785. /package/dist/chunks/{worktree-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  786. /package/dist/chunks/{worktree-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  787. /package/dist/chunks/{worktree-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  788. /package/dist/chunks/{worktree-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
  789. /package/dist/chunks/{worktree-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
  790. /package/dist/chunks/{worktree-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  791. /package/dist/chunks/{worktree-m18g726c.js → file-retention-m18g726c.js} +0 -0
  792. /package/dist/chunks/{worktree-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  793. /package/dist/chunks/{worktree-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  794. /package/dist/chunks/{worktree-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  795. /package/dist/chunks/{worktree-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  796. /package/dist/chunks/{worktree-ncqqe42p.js → file-retention-ncqqe42p.js} +0 -0
  797. /package/dist/chunks/{worktree-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  798. /package/dist/chunks/{worktree-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
  799. /package/dist/chunks/{worktree-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  800. /package/dist/chunks/{worktree-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  801. /package/dist/chunks/{worktree-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  802. /package/dist/chunks/{worktree-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  803. /package/dist/chunks/{worktree-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  804. /package/dist/chunks/{worktree-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  805. /package/dist/chunks/{worktree-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  806. /package/dist/chunks/{worktree-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  807. /package/dist/chunks/{worktree-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  808. /package/dist/chunks/{worktree-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  809. /package/dist/chunks/{worktree-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  810. /package/dist/chunks/{worktree-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  811. /package/dist/chunks/{worktree-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  812. /package/dist/chunks/{worktree-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  813. /package/dist/chunks/{worktree-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  814. /package/dist/chunks/{worktree-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  815. /package/dist/chunks/{worktree-x61499pn.js → file-retention-x61499pn.js} +0 -0
  816. /package/dist/chunks/{worktree-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  817. /package/dist/chunks/{worktree-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  818. /package/dist/chunks/{worktree-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  819. /package/dist/chunks/{worktree-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  820. /package/dist/chunks/{worktree-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  821. /package/dist/chunks/{worktree-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,144 +1,144 @@
1
1
  import {
2
2
  Metadata2,
3
- node57
4
- } from "./worktree-797vxkjx.js";
3
+ node46
4
+ } from "./file-retention-4en8p6w3.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./worktree-sre4ebqw.js";
8
+ } from "./file-retention-mq7hpmjw.js";
9
9
  import {
10
10
  ID9,
11
- Service58,
12
- node61
13
- } from "./worktree-vpvfxw07.js";
11
+ Service66,
12
+ node69
13
+ } from "./file-retention-ep2aybfb.js";
14
14
  import {
15
- ID17,
15
+ ID15,
16
16
  OAuth3
17
- } from "./worktree-qb1ewmbb.js";
17
+ } from "./file-retention-1bazgwy0.js";
18
18
  import {
19
- ID16,
19
+ ID13,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service82,
24
- node86
25
- } from "./worktree-8eks9rwf.js";
23
+ Service73,
24
+ node76
25
+ } from "./file-retention-d0hcg7jd.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./worktree-z5v4ffb3.js";
28
+ } from "./file-retention-z5v4ffb3.js";
29
29
  import {
30
- Info23,
31
- Ref4,
32
- Service76,
33
- node80
34
- } from "./worktree-yezzex3p.js";
30
+ Info28,
31
+ Ref5,
32
+ Service82,
33
+ node86
34
+ } from "./file-retention-858yc3fz.js";
35
35
  import {
36
- ID13,
37
- Service75,
38
- node79
39
- } from "./worktree-wsp5yfww.js";
36
+ ID12,
37
+ Service71,
38
+ node74
39
+ } from "./file-retention-z6te0x2y.js";
40
40
  import {
41
- Service73,
42
- node77
43
- } from "./worktree-c7rwyadp.js";
41
+ Service56,
42
+ node59
43
+ } from "./file-retention-ksbsws88.js";
44
44
  import {
45
- Service37,
45
+ Service38,
46
46
  node40
47
- } from "./worktree-t5qvjzk2.js";
47
+ } from "./file-retention-x38q2hx0.js";
48
48
  import {
49
- Service79,
50
- node83
51
- } from "./worktree-srjnrtdm.js";
49
+ Service72,
50
+ node75
51
+ } from "./file-retention-0geb145b.js";
52
52
  import {
53
- Service65,
54
- node68
55
- } from "./worktree-e7d3gm04.js";
53
+ Service40,
54
+ node42
55
+ } from "./file-retention-dnphr175.js";
56
56
  import {
57
- ID12,
58
- Service74,
59
- node78
60
- } from "./worktree-9kynvh8b.js";
57
+ ID11,
58
+ Service70,
59
+ node73
60
+ } from "./file-retention-6pnx88k5.js";
61
61
  import {
62
- ID11
63
- } from "./worktree-n28y46dr.js";
62
+ ID16
63
+ } from "./file-retention-d6bett94.js";
64
64
  import {
65
- Service32,
66
- node36
67
- } from "./worktree-nxbxez3p.js";
65
+ Service31,
66
+ node34
67
+ } from "./file-retention-n4mbpr34.js";
68
68
  import {
69
69
  Key2,
70
- Service24,
71
- node28
72
- } from "./worktree-66s7d1kd.js";
70
+ Service28,
71
+ node32
72
+ } from "./file-retention-tv6nmqg6.js";
73
73
  import {
74
- Service59,
75
- node62
76
- } from "./worktree-6ydy7p7m.js";
74
+ Service76,
75
+ node79
76
+ } from "./file-retention-18fr36ja.js";
77
77
  import {
78
- Service55,
79
- node58
80
- } from "./worktree-3kwhg78p.js";
78
+ Service63,
79
+ node66
80
+ } from "./file-retention-qp0h8mz4.js";
81
81
  import {
82
- Service47,
83
- node49,
82
+ Service61,
83
+ node64,
84
84
  Error3
85
- } from "./worktree-hwa72p18.js";
85
+ } from "./file-retention-8p9z5v1r.js";
86
86
  import {
87
87
  Source4,
88
- Service51,
89
- node53
90
- } from "./worktree-bqmhzrvj.js";
88
+ Service45,
89
+ node48
90
+ } from "./file-retention-bdxrme4x.js";
91
91
  import {
92
- Info7,
93
- Service40,
92
+ Info8,
93
+ Service41,
94
94
  node43
95
- } from "./worktree-fk6tkz52.js";
95
+ } from "./file-retention-b27sr8xw.js";
96
96
  import {
97
- Service21,
98
- node24
99
- } from "./worktree-1cwaa6j3.js";
100
- import {
101
- Service53,
102
- node55
103
- } from "./worktree-bds5er22.js";
97
+ Service19,
98
+ node22
99
+ } from "./file-retention-w1ampmdn.js";
104
100
  import {
105
101
  Service50,
106
- node52,
102
+ node53
103
+ } from "./file-retention-pdbk0b84.js";
104
+ import {
105
+ Service18,
106
+ node21,
107
107
  eventDefinition2
108
- } from "./worktree-b8fkm456.js";
108
+ } from "./file-retention-b2e3mpfn.js";
109
109
  import {
110
- Service52,
111
- node54
112
- } from "./worktree-1hraz18d.js";
110
+ Service46,
111
+ node49
112
+ } from "./file-retention-z04zt6pc.js";
113
113
  import {
114
- ID4,
115
- Service20,
116
- node23
117
- } from "./worktree-fz81h3y8.js";
114
+ ID6,
115
+ Service51,
116
+ node54
117
+ } from "./file-retention-rnnfdfqg.js";
118
118
  import {
119
- Service64,
120
- node67
121
- } from "./worktree-3z9x6b48.js";
119
+ Service15,
120
+ node18
121
+ } from "./file-retention-xdjf2s1h.js";
122
122
  import {
123
123
  StrategyID2,
124
- Info19,
125
- ListEntry3,
126
- Service63,
127
- node66
128
- } from "./worktree-hzn7nsdm.js";
124
+ Info4,
125
+ ListEntry2,
126
+ Service14,
127
+ node17
128
+ } from "./file-retention-tpm8y58e.js";
129
129
  import {
130
- Service71,
131
- node75
132
- } from "./worktree-2xppje48.js";
130
+ Service48,
131
+ node51
132
+ } from "./file-retention-213ntr4e.js";
133
133
  import {
134
134
  __export
135
- } from "./worktree-9rqn6x4v.js";
135
+ } from "./file-retention-9rqn6x4v.js";
136
136
 
137
137
  // src/plugin/host.ts
138
138
  var exports_host = {};
139
139
  __export(exports_host, {
140
140
  PluginHost: () => exports_host,
141
- make: () => make12,
141
+ make: () => make11,
142
142
  requirements: () => requirements3,
143
143
  storage: () => storage2
144
144
  });
@@ -150,53 +150,53 @@ var mutable = (value) => value;
150
150
  var isRpcType = (type) => type.startsWith("rpc.");
151
151
  var isRpcEvent = (event) => isRpcType(event.type);
152
152
  var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
153
- var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
153
+ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
154
154
  const app = yield* Metadata2;
155
- const agents = yield* Service58;
156
- const aisdk = yield* Service73;
157
- const providers = yield* Service75;
158
- const models = yield* Service74;
159
- const commands = yield* Service37;
155
+ const agents = yield* Service66;
156
+ const aisdk = yield* Service56;
157
+ const providers = yield* Service71;
158
+ const models = yield* Service70;
159
+ const commands = yield* Service38;
160
160
  const bus = yield* Service85;
161
- const integration = yield* Service82;
162
- const kv = yield* Service79;
163
- const mcp = yield* Service32;
164
- const location = yield* Service76;
165
- const reference = yield* Service51;
166
- const rpc = yield* Service50;
167
- const skill = yield* Service40;
168
- const tools = yield* Service47;
169
- const vcs = yield* Service52;
170
- const websearch = yield* Service20;
171
- const generate = yield* Service71;
161
+ const integration = yield* Service73;
162
+ const kv = yield* Service72;
163
+ const mcp = yield* Service31;
164
+ const location = yield* Service82;
165
+ const reference = yield* Service45;
166
+ const rpc = yield* Service18;
167
+ const skill = yield* Service41;
168
+ const tools = yield* Service61;
169
+ const vcs = yield* Service46;
170
+ const websearch = yield* Service51;
171
+ const generate = yield* Service48;
172
172
  const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
173
- const permission = yield* Service55;
174
- const hooks = yield* Service59;
175
- const sessions = yield* Service21;
176
- const instructionEntries = yield* Service24;
177
- const persistentPty = yield* Service53;
178
- const locations = yield* Service65;
179
- const worktrees = yield* Service63;
180
- const worktreeStrategies = yield* Service64;
173
+ const permission = yield* Service63;
174
+ const hooks = yield* Service76;
175
+ const sessions = yield* Service19;
176
+ const instructionEntries = yield* Service28;
177
+ const persistentPty = yield* Service50;
178
+ const locations = yield* Service40;
179
+ const worktrees = yield* Service14;
180
+ const worktreeStrategies = yield* Service15;
181
181
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
182
- const locationInfo = () => new Info23({
182
+ const locationInfo = () => new Info28({
183
183
  directory: location.directory,
184
184
  workspaceID: location.workspaceID,
185
185
  project: location.project
186
186
  });
187
- const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
187
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
188
188
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
189
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
189
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID16.make(input.location.workspace)
190
190
  });
191
191
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
192
192
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
193
- const decodeWorktree = Schema.decodeUnknownEffect(Info19);
194
- const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
193
+ const decodeWorktree = Schema.decodeUnknownEffect(Info4);
194
+ const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
195
195
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
196
- const location = yield* Service76;
197
- const agents = yield* Service58;
196
+ const location = yield* Service82;
197
+ const agents = yield* Service66;
198
198
  return {
199
- location: new Info23({
199
+ location: new Info28({
200
200
  directory: location.directory,
201
201
  workspaceID: location.workspaceID,
202
202
  project: location.project
@@ -265,22 +265,22 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
265
265
  },
266
266
  provider: {
267
267
  list: () => response(providers.available()),
268
- get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
268
+ get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
269
269
  reload: providers.reload,
270
270
  transform: (callback) => providers.transform((editor) => {
271
271
  callback({
272
272
  list: editor.list,
273
- get: (id) => editor.get(ID13.make(id)),
273
+ get: (id) => editor.get(ID12.make(id)),
274
274
  add: (definition) => editor.add({
275
275
  ...definition,
276
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID17.make(definition.sourceConnection.id) } : definition.sourceConnection
276
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
277
277
  }),
278
- update: (id, update) => editor.update(ID13.make(id), update),
279
- remove: (id) => editor.remove(ID13.make(id)),
278
+ update: (id, update) => editor.update(ID12.make(id), update),
279
+ remove: (id) => editor.remove(ID12.make(id)),
280
280
  models: {
281
- set: (id, models) => editor.models.set(ID13.make(id), models),
282
- update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
283
- remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
281
+ set: (id, models) => editor.models.set(ID12.make(id), models),
282
+ update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
283
+ remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
284
284
  }
285
285
  });
286
286
  })
@@ -290,17 +290,17 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
290
290
  default: () => response(models.default()),
291
291
  reload: models.reload,
292
292
  transform: (callback) => models.transform((editor) => callback({
293
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
294
- get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
295
- update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
296
- remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
293
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
294
+ get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
295
+ update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
296
+ remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
297
297
  default: {
298
298
  get: editor.default.get,
299
- set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
299
+ set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
300
300
  },
301
301
  provider: {
302
302
  list: editor.provider.list,
303
- get: (id) => editor.provider.get(ID13.make(id))
303
+ get: (id) => editor.provider.get(ID12.make(id))
304
304
  }
305
305
  }))
306
306
  },
@@ -347,20 +347,20 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
347
347
  integration: {
348
348
  list: () => response(integration.list()),
349
349
  get: Effect.fn(function* (input) {
350
- const item = yield* integration.get(ID16.make(input.integrationID));
350
+ const item = yield* integration.get(ID13.make(input.integrationID));
351
351
  if (!item)
352
352
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
353
353
  return yield* response(Effect.succeed(item));
354
354
  }),
355
355
  connect: {
356
356
  key: (input) => integration.connection.key({
357
- integrationID: ID16.make(input.integrationID),
357
+ integrationID: ID13.make(input.integrationID),
358
358
  key: input.key,
359
359
  answer: input.answer,
360
360
  label: input.label
361
361
  }),
362
362
  external: (input) => integration.connection.external({
363
- integrationID: ID16.make(input.integrationID),
363
+ integrationID: ID13.make(input.integrationID),
364
364
  methodID: MethodID2.make(input.methodID),
365
365
  answer: input.answer,
366
366
  label: input.label
@@ -368,60 +368,60 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
368
368
  },
369
369
  oauth: {
370
370
  connect: (input) => response(integration.oauth.connect({
371
- integrationID: ID16.make(input.integrationID),
371
+ integrationID: ID13.make(input.integrationID),
372
372
  methodID: MethodID2.make(input.methodID),
373
373
  answer: input.answer,
374
374
  label: input.label
375
375
  })),
376
376
  status: (input) => response(integration.oauth.status({
377
- integrationID: ID16.make(input.integrationID),
377
+ integrationID: ID13.make(input.integrationID),
378
378
  attemptID: AttemptID2.make(input.attemptID)
379
379
  })),
380
380
  complete: (input) => integration.oauth.complete({
381
- integrationID: ID16.make(input.integrationID),
381
+ integrationID: ID13.make(input.integrationID),
382
382
  attemptID: AttemptID2.make(input.attemptID),
383
383
  code: input.code
384
384
  }),
385
385
  cancel: (input) => integration.oauth.cancel({
386
- integrationID: ID16.make(input.integrationID),
386
+ integrationID: ID13.make(input.integrationID),
387
387
  attemptID: AttemptID2.make(input.attemptID)
388
388
  })
389
389
  },
390
390
  command: {
391
391
  connect: (input) => response(integration.command.connect({
392
- integrationID: ID16.make(input.integrationID),
392
+ integrationID: ID13.make(input.integrationID),
393
393
  methodID: MethodID2.make(input.methodID),
394
394
  label: input.label
395
395
  })),
396
396
  status: (input) => response(integration.command.status({
397
- integrationID: ID16.make(input.integrationID),
397
+ integrationID: ID13.make(input.integrationID),
398
398
  attemptID: AttemptID2.make(input.attemptID)
399
399
  })),
400
400
  cancel: (input) => integration.command.cancel({
401
- integrationID: ID16.make(input.integrationID),
401
+ integrationID: ID13.make(input.integrationID),
402
402
  attemptID: AttemptID2.make(input.attemptID)
403
403
  })
404
404
  },
405
405
  reload: integration.reload,
406
406
  connection: {
407
- active: (id) => integration.connection.active(ID16.make(id)),
408
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection),
407
+ active: (id) => integration.connection.active(ID13.make(id)),
408
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
409
409
  status: (input) => integration.connection.status({
410
- integrationID: ID16.make(input.integrationID),
411
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID17.make(input.connection.id) } : input.connection,
410
+ integrationID: ID13.make(input.integrationID),
411
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.make(input.connection.id) } : input.connection,
412
412
  status: input.status
413
413
  })
414
414
  },
415
415
  transform: (callback) => integration.transform((editor) => {
416
416
  callback({
417
417
  list: editor.list,
418
- get: (id) => editor.get(ID16.make(id)),
419
- update: (id, update) => editor.update(ID16.make(id), update),
420
- remove: (id) => editor.remove(ID16.make(id)),
418
+ get: (id) => editor.get(ID13.make(id)),
419
+ update: (id, update) => editor.update(ID13.make(id), update),
420
+ remove: (id) => editor.remove(ID13.make(id)),
421
421
  method: {
422
- list: (id) => editor.method.list(ID16.make(id)),
422
+ list: (id) => editor.method.list(ID13.make(id)),
423
423
  update: (input) => editor.method.update(methodImplementation(input)),
424
- remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
424
+ remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
425
425
  }
426
426
  });
427
427
  })
@@ -431,10 +431,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
431
431
  const ref = locationRef(input);
432
432
  if (ref && !isCurrentLocation(ref))
433
433
  return Effect.gen(function* () {
434
- const location = yield* Service76;
435
- const mcp = yield* Service32;
434
+ const location = yield* Service82;
435
+ const mcp = yield* Service31;
436
436
  return {
437
- location: new Info23({
437
+ location: new Info28({
438
438
  directory: location.directory,
439
439
  workspaceID: location.workspaceID,
440
440
  project: location.project
@@ -488,7 +488,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
488
488
  callback({
489
489
  list: () => mutable(editor.list()),
490
490
  get: editor.get,
491
- add: (value) => editor.add(Schema.decodeUnknownSync(Info7)(value)),
491
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info8)(value)),
492
492
  update: editor.update,
493
493
  remove: editor.remove
494
494
  });
@@ -519,19 +519,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
519
519
  providers: () => response(websearch.providers()),
520
520
  query: (input) => response(websearch.query({
521
521
  query: input.query,
522
- providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
522
+ providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
523
523
  })),
524
524
  reload: websearch.reload,
525
525
  transform: (callback) => websearch.transform((editor) => {
526
526
  callback({
527
527
  add: (definition) => editor.add({
528
- id: ID4.make(definition.id),
528
+ id: ID6.make(definition.id),
529
529
  name: definition.name,
530
530
  execute: definition.execute
531
531
  }),
532
532
  default: {
533
533
  get: editor.default.get,
534
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
534
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
535
535
  }
536
536
  });
537
537
  })
@@ -562,7 +562,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
562
562
  metadata: input?.metadata,
563
563
  permissions: input?.permissions,
564
564
  ...input?.parentID === undefined ? {
565
- location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
565
+ location: input?.location ?? Ref5.make({ directory: location.directory, workspaceID: location.workspaceID })
566
566
  } : { parentID: input.parentID }
567
567
  }),
568
568
  get: (input) => sessions.get(input.sessionID),
@@ -610,32 +610,32 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
610
610
  return context;
611
611
  });
612
612
  var requirements3 = LayerNode.group([
613
- node57,
614
- node61,
615
- node77,
616
- node79,
617
- node78,
613
+ node46,
614
+ node69,
615
+ node59,
616
+ node74,
617
+ node73,
618
618
  node40,
619
619
  node89,
620
+ node76,
621
+ node75,
622
+ node34,
620
623
  node86,
621
- node83,
622
- node36,
623
- node80,
624
- node53,
625
- node52,
624
+ node48,
625
+ node21,
626
626
  node43,
627
+ node64,
627
628
  node49,
628
629
  node54,
629
- node23,
630
+ node17,
631
+ node18,
632
+ node51,
630
633
  node66,
631
- node67,
632
- node75,
633
- node58,
634
- node62,
635
- node24,
636
- node28,
637
- node55,
638
- node68
634
+ node79,
635
+ node22,
636
+ node32,
637
+ node53,
638
+ node42
639
639
  ]);
640
640
  function storage2(kv, pluginID) {
641
641
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -662,7 +662,7 @@ function methodImplementation(input) {
662
662
  if ("authorize" in input) {
663
663
  const refresh = input.refresh;
664
664
  return {
665
- integrationID: ID16.make(input.integrationID),
665
+ integrationID: ID13.make(input.integrationID),
666
666
  method: { ...input.method, id: MethodID2.make(input.method.id) },
667
667
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
668
668
  if (authorization.mode === "auto") {
@@ -682,24 +682,24 @@ function methodImplementation(input) {
682
682
  }
683
683
  if (input.method.type === "env") {
684
684
  return {
685
- integrationID: ID16.make(input.integrationID),
685
+ integrationID: ID13.make(input.integrationID),
686
686
  method: input.method
687
687
  };
688
688
  }
689
689
  if (input.method.type === "command") {
690
690
  return {
691
- integrationID: ID16.make(input.integrationID),
691
+ integrationID: ID13.make(input.integrationID),
692
692
  method: { ...input.method, id: MethodID2.make(input.method.id) }
693
693
  };
694
694
  }
695
695
  if (input.method.type === "external") {
696
696
  return {
697
- integrationID: ID16.make(input.integrationID),
697
+ integrationID: ID13.make(input.integrationID),
698
698
  method: { ...input.method, id: MethodID2.make(input.method.id) }
699
699
  };
700
700
  }
701
701
  return {
702
- integrationID: ID16.make(input.integrationID),
702
+ integrationID: ID13.make(input.integrationID),
703
703
  method: input.method
704
704
  };
705
705
  }
@@ -707,4 +707,4 @@ function credential(value) {
707
707
  return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
708
708
  }
709
709
 
710
- export { make12, requirements3, storage2, exports_host };
710
+ export { make11, requirements3, storage2, exports_host };