@opencode/core 2.1.0 → 2.1.1

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{shell-jn0tk1mz.js → repository-cache-00x4qneg.js} +8 -8
  8. package/dist/chunks/{shell-zk3946p4.js → repository-cache-065m31h9.js} +11 -11
  9. package/dist/chunks/{shell-kgcb372b.js → repository-cache-0fztarvd.js} +13 -11
  10. package/dist/chunks/{shell-2ndqr24s.js → repository-cache-0qb6tpgj.js} +23 -23
  11. package/dist/chunks/{shell-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{shell-dajdhw2j.js → repository-cache-0vf8bfn5.js} +4 -4
  13. package/dist/chunks/{shell-w921m42b.js → repository-cache-0vtn597b.js} +24 -24
  14. package/dist/chunks/{shell-g4qztyvf.js → repository-cache-0xfcnhey.js} +35 -35
  15. package/dist/chunks/{shell-ey7dv0w4.js → repository-cache-15e8hpnt.js} +7 -7
  16. package/dist/chunks/{shell-1acjjqhc.js → repository-cache-1acjjqhc.js} +1 -1
  17. package/dist/chunks/{shell-1ep4rre3.js → repository-cache-1ep4rre3.js} +1 -1
  18. package/dist/chunks/{shell-9vyc8vj1.js → repository-cache-1ngx28bn.js} +4 -4
  19. package/dist/chunks/{shell-41gge36f.js → repository-cache-1ptgpzsy.js} +16 -16
  20. package/dist/chunks/{shell-wyepen03.js → repository-cache-1q92ejr7.js} +21 -21
  21. package/dist/chunks/{shell-baqyxak2.js → repository-cache-1ze9gtzp.js} +4 -4
  22. package/dist/chunks/{shell-v715hp7c.js → repository-cache-21n0xhjn.js} +13 -13
  23. package/dist/chunks/{shell-5jjsdkbk.js → repository-cache-2577k5af.js} +17 -17
  24. package/dist/chunks/{shell-kbxy4n3g.js → repository-cache-2ky2kwtz.js} +4 -4
  25. package/dist/chunks/{shell-kcrn19zp.js → repository-cache-2v5tj3gs.js} +20 -20
  26. package/dist/chunks/{shell-6559rxr6.js → repository-cache-37cqxn50.js} +3 -3
  27. package/dist/chunks/{shell-2fxx0rz9.js → repository-cache-3fcx2j2w.js} +15 -15
  28. package/dist/chunks/{shell-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{shell-kg4680zm.js → repository-cache-3hkcw4we.js} +13 -13
  30. package/dist/chunks/{shell-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
  31. package/dist/chunks/{shell-jaqs594m.js → repository-cache-3ns80m0h.js} +18 -18
  32. package/dist/chunks/{shell-pg6gmj9m.js → repository-cache-3rq8r7zt.js} +12 -12
  33. package/dist/chunks/{shell-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{shell-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{shell-2qhkdr5r.js → repository-cache-3ty6jwen.js} +6 -6
  36. package/dist/chunks/{shell-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{shell-6c27xjax.js → repository-cache-43x4yszk.js} +17 -17
  38. package/dist/chunks/{shell-2g93jbb8.js → repository-cache-46mephjz.js} +45 -45
  39. package/dist/chunks/{shell-pdf17x7p.js → repository-cache-47cwnsyn.js} +11 -11
  40. package/dist/chunks/{shell-k51kf5tx.js → repository-cache-4bk9s89f.js} +9 -9
  41. package/dist/chunks/{shell-0jkbja5p.js → repository-cache-4prqf89h.js} +24 -24
  42. package/dist/chunks/{shell-vdwzhxqd.js → repository-cache-4tyzw6xh.js} +7 -7
  43. package/dist/chunks/{shell-70y17xeh.js → repository-cache-4v4bfvma.js} +5 -5
  44. package/dist/chunks/{shell-c1bdvjkd.js → repository-cache-4wehpdsn.js} +22 -22
  45. package/dist/chunks/{shell-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
  46. package/dist/chunks/{shell-6yz0wx8n.js → repository-cache-57myy5jh.js} +5 -5
  47. package/dist/chunks/{shell-75w6s6ma.js → repository-cache-5dycw2n2.js} +22 -22
  48. package/dist/chunks/{shell-h0bzvw2w.js → repository-cache-5f5dfnyg.js} +2 -2
  49. package/dist/chunks/{shell-wrmbd4ct.js → repository-cache-5m84d531.js} +8 -8
  50. package/dist/chunks/{shell-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{shell-kfmczrqx.js → repository-cache-63t8kvdx.js} +16 -16
  52. package/dist/chunks/{shell-6827pfxn.js → repository-cache-6827pfxn.js} +1 -1
  53. package/dist/chunks/{shell-1ncsq4gc.js → repository-cache-6bq45c98.js} +44 -44
  54. package/dist/chunks/{shell-k0ev5b6x.js → repository-cache-6e57763q.js} +5 -5
  55. package/dist/chunks/{shell-depwzj9d.js → repository-cache-6hjx5zpb.js} +8 -8
  56. package/dist/chunks/{shell-c7fvvtsq.js → repository-cache-6kthashm.js} +32 -32
  57. package/dist/chunks/{shell-y0st3mmr.js → repository-cache-6nq3099y.js} +2 -2
  58. package/dist/chunks/{shell-wqfheh0m.js → repository-cache-6qn8gjqg.js} +20 -20
  59. package/dist/chunks/{shell-16fye9k3.js → repository-cache-6s242g8e.js} +45 -45
  60. package/dist/chunks/{shell-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{shell-f2mw6jyj.js → repository-cache-6xjvsea3.js} +11 -11
  62. package/dist/chunks/{shell-nb27xjmq.js → repository-cache-7303zb1f.js} +18 -18
  63. package/dist/chunks/{shell-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
  64. package/dist/chunks/{shell-yzkfk5qj.js → repository-cache-77a66swy.js} +9 -9
  65. package/dist/chunks/{shell-envzrdm3.js → repository-cache-77d0na5t.js} +47 -47
  66. package/dist/chunks/{shell-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{shell-rw4jj2rk.js → repository-cache-7jwh32ts.js} +20 -20
  68. package/dist/chunks/{shell-ahe504bx.js → repository-cache-7p9sqgn0.js} +16 -16
  69. package/dist/chunks/{shell-7v6vae4w.js → repository-cache-7v6vae4w.js} +3 -3
  70. package/dist/chunks/{shell-f5852yed.js → repository-cache-7vt9yzvg.js} +10 -10
  71. package/dist/chunks/{shell-432psgyy.js → repository-cache-7z1jx34y.js} +21 -21
  72. package/dist/chunks/{shell-0x5xc4da.js → repository-cache-83whknbm.js} +35 -35
  73. package/dist/chunks/{shell-tqr4vm00.js → repository-cache-842mqg42.js} +11 -11
  74. package/dist/chunks/{shell-ffxxyzcb.js → repository-cache-86eqfcce.js} +9 -9
  75. package/dist/chunks/{shell-8bee7htz.js → repository-cache-8d1pd201.js} +21 -21
  76. package/dist/chunks/{shell-3ys3ran9.js → repository-cache-8g2mbw9h.js} +20 -20
  77. package/dist/chunks/{shell-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
  78. package/dist/chunks/{shell-8mywswrd.js → repository-cache-8mywswrd.js} +1 -1
  79. package/dist/chunks/{shell-trg827xp.js → repository-cache-8reangzk.js} +4 -4
  80. package/dist/chunks/{shell-fvgqktbw.js → repository-cache-8t50b4ww.js} +18 -18
  81. package/dist/chunks/{shell-jp35yjqz.js → repository-cache-8vy56zzm.js} +29 -29
  82. package/dist/chunks/{shell-4b0g6gv7.js → repository-cache-94p6wp9x.js} +24 -24
  83. package/dist/chunks/{shell-9w64rzck.js → repository-cache-95tpv30c.js} +13 -13
  84. package/dist/chunks/{shell-tpw6cwsb.js → repository-cache-9hn6k4tm.js} +8 -8
  85. package/dist/chunks/{shell-0dwthkwv.js → repository-cache-9hzyxvsk.js} +12 -12
  86. package/dist/chunks/{shell-5xghjtfa.js → repository-cache-9m35c2r0.js} +32 -32
  87. package/dist/chunks/{shell-srmwk7dt.js → repository-cache-9v5raxs8.js} +5 -5
  88. package/dist/chunks/repository-cache-9wrj4pc9.js +257 -0
  89. package/dist/chunks/{shell-3zqqw7j0.js → repository-cache-a0kr73jj.js} +10 -10
  90. package/dist/chunks/{shell-tb1cafh6.js → repository-cache-a3c7ahw6.js} +4 -4
  91. package/dist/chunks/{shell-phz50fbd.js → repository-cache-a4db0rvv.js} +9 -9
  92. package/dist/chunks/{shell-zc34mber.js → repository-cache-a58n7r3a.js} +41 -41
  93. package/dist/chunks/{shell-5b64kxs9.js → repository-cache-a75ad8v4.js} +1 -1
  94. package/dist/chunks/{shell-3y377wv9.js → repository-cache-addxnjmp.js} +4 -4
  95. package/dist/chunks/{shell-vk2t4k53.js → repository-cache-b2ckp95n.js} +14 -14
  96. package/dist/chunks/{shell-zjtrsxny.js → repository-cache-b4nzaj04.js} +5 -5
  97. package/dist/chunks/{shell-zav06jzw.js → repository-cache-baaqp4zd.js} +4 -4
  98. package/dist/chunks/{shell-9vbreq9z.js → repository-cache-bf4bmw04.js} +11 -11
  99. package/dist/chunks/{shell-1ffvrpkg.js → repository-cache-bjx1sjef.js} +6 -6
  100. package/dist/chunks/{shell-04s17g1v.js → repository-cache-bq3hn31g.js} +50 -50
  101. package/dist/chunks/{shell-027ww35v.js → repository-cache-brcmb8c2.js} +41 -41
  102. package/dist/chunks/repository-cache-by5v678g.js +18 -0
  103. package/dist/chunks/{shell-fypxcyz2.js → repository-cache-c15zmvx5.js} +7 -7
  104. package/dist/chunks/{shell-c1fqxshp.js → repository-cache-c1fqxshp.js} +3 -3
  105. package/dist/chunks/{shell-axe3mf62.js → repository-cache-c2sed5cq.js} +3 -3
  106. package/dist/chunks/{shell-xwkencv2.js → repository-cache-c5ggqzvz.js} +12 -12
  107. package/dist/chunks/{shell-jfh8dh4w.js → repository-cache-cgc2saxs.js} +25 -25
  108. package/dist/chunks/{shell-hzdxw2qq.js → repository-cache-d2qeb4wf.js} +17 -17
  109. package/dist/chunks/{shell-x95qaydz.js → repository-cache-djbskq1b.js} +23 -23
  110. package/dist/chunks/{shell-1pd15nec.js → repository-cache-dmpxat65.js} +4 -4
  111. package/dist/chunks/{shell-a98yv52t.js → repository-cache-dqjdwcmj.js} +11 -11
  112. package/dist/chunks/{shell-ypxp1xp8.js → repository-cache-dv4jvz6s.js} +21 -21
  113. package/dist/chunks/{shell-y8cyz0t7.js → repository-cache-dzr38x1r.js} +11 -11
  114. package/dist/chunks/{shell-h896pcm5.js → repository-cache-dzse07y5.js} +6 -6
  115. package/dist/chunks/{shell-dcspakzd.js → repository-cache-dzxp512b.js} +54 -54
  116. package/dist/chunks/{shell-r2z489rp.js → repository-cache-e80seqcp.js} +3 -3
  117. package/dist/chunks/{shell-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
  118. package/dist/chunks/{shell-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  119. package/dist/chunks/{shell-89e5dy4j.js → repository-cache-ek4c2f0v.js} +9 -9
  120. package/dist/chunks/{shell-e3s3zy1r.js → repository-cache-ewj35nqb.js} +10 -10
  121. package/dist/chunks/{shell-jmb2cr8q.js → repository-cache-exgm3bba.js} +11 -11
  122. package/dist/chunks/{shell-hdgwvq1e.js → repository-cache-ezhy60ay.js} +32 -32
  123. package/dist/chunks/{shell-hdn28k8z.js → repository-cache-f39mejfg.js} +13 -13
  124. package/dist/chunks/{shell-awefsnnk.js → repository-cache-f94wsmf1.js} +4 -4
  125. package/dist/chunks/{shell-r5ndtmnm.js → repository-cache-fbxj9tpm.js} +4 -4
  126. package/dist/chunks/{shell-2k8khapm.js → repository-cache-fcrkznn8.js} +5 -5
  127. package/dist/chunks/{shell-fcy631f0.js → repository-cache-fcy631f0.js} +1 -1
  128. package/dist/chunks/{shell-0x7kry74.js → repository-cache-fj6qct2w.js} +42 -42
  129. package/dist/chunks/{shell-9zv65pgs.js → repository-cache-fmnd8f8t.js} +16 -16
  130. package/dist/chunks/{shell-j148atrz.js → repository-cache-fncqf4dd.js} +5 -5
  131. package/dist/chunks/{shell-fww2ha2b.js → repository-cache-fww2ha2b.js} +2 -2
  132. package/dist/chunks/{shell-fxaymqdw.js → repository-cache-fxaymqdw.js} +1 -1
  133. package/dist/chunks/{shell-adehtbxa.js → repository-cache-fzdrxngq.js} +3 -3
  134. package/dist/chunks/{shell-6775gw9z.js → repository-cache-g2kfam58.js} +17 -17
  135. package/dist/chunks/{shell-50d2yybn.js → repository-cache-g5g9rrdp.js} +28 -28
  136. package/dist/chunks/{shell-1j769d1c.js → repository-cache-g9rqxbv3.js} +3 -3
  137. package/dist/chunks/{shell-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{shell-1cbagaqy.js → repository-cache-gec8gq51.js} +8 -8
  139. package/dist/chunks/{shell-rnfredjj.js → repository-cache-gkge597h.js} +21 -21
  140. package/dist/chunks/{shell-a36y64am.js → repository-cache-gnrrjsmd.js} +16 -16
  141. package/dist/chunks/{shell-maneqgxr.js → repository-cache-gp5jn49f.js} +25 -25
  142. package/dist/chunks/{shell-f6aytc7n.js → repository-cache-gpqw730e.js} +10 -10
  143. package/dist/chunks/{shell-7wdpyrwx.js → repository-cache-gpz4bnby.js} +5 -5
  144. package/dist/chunks/{shell-yn5t1h2v.js → repository-cache-gtsbe4v4.js} +10 -10
  145. package/dist/chunks/{shell-3atk1qyf.js → repository-cache-h1f52gh9.js} +33 -33
  146. package/dist/chunks/{shell-vm9wfeep.js → repository-cache-h1schjng.js} +28 -28
  147. package/dist/chunks/{shell-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{shell-6srycd3a.js → repository-cache-h74mnx9x.js} +13 -13
  149. package/dist/chunks/{shell-qv079c4h.js → repository-cache-h7q4kewv.js} +35 -35
  150. package/dist/chunks/{shell-xr38e3s7.js → repository-cache-haz4dce7.js} +17 -17
  151. package/dist/chunks/{shell-tt8gc4fv.js → repository-cache-hbb7npd7.js} +6 -6
  152. package/dist/chunks/{shell-hj7zb2g9.js → repository-cache-hfkjwy2f.js} +16 -16
  153. package/dist/chunks/{shell-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{shell-79zqvytx.js → repository-cache-hh0jpq4c.js} +70 -70
  155. package/dist/chunks/{shell-htx26fav.js → repository-cache-hjygm116.js} +37 -37
  156. package/dist/chunks/{shell-s389npg2.js → repository-cache-hs0qwjvp.js} +42 -42
  157. package/dist/chunks/{shell-asecphd2.js → repository-cache-ht1p01b4.js} +13 -13
  158. package/dist/chunks/{shell-kzy2940e.js → repository-cache-j5w7gx2k.js} +36 -36
  159. package/dist/chunks/{shell-kcz1zv3y.js → repository-cache-jargxt5j.js} +20 -20
  160. package/dist/chunks/{shell-sh0qrkbh.js → repository-cache-jaym3td0.js} +17 -17
  161. package/dist/chunks/{shell-6eey2wfv.js → repository-cache-jnk63p10.js} +36 -36
  162. package/dist/chunks/{shell-x3p3s57s.js → repository-cache-jsg4jcbs.js} +3 -3
  163. package/dist/chunks/{shell-51ajtkpf.js → repository-cache-k1jycaz7.js} +27 -27
  164. package/dist/chunks/{shell-bj7p7j85.js → repository-cache-k9gaxmgh.js} +17 -17
  165. package/dist/chunks/{shell-0kt21gsk.js → repository-cache-kf0zwkk2.js} +22 -22
  166. package/dist/chunks/{shell-9d6xe95g.js → repository-cache-kh81xvt5.js} +3 -3
  167. package/dist/chunks/{shell-6p4g3g3k.js → repository-cache-knhxpfbp.js} +19 -19
  168. package/dist/chunks/{shell-6rx6hnnq.js → repository-cache-kq77jz7h.js} +3 -3
  169. package/dist/chunks/{shell-g6bqk7eb.js → repository-cache-kqe08t1d.js} +11 -11
  170. package/dist/chunks/{shell-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{shell-4d10bng8.js → repository-cache-kx8xg74a.js} +12 -12
  172. package/dist/chunks/{shell-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{shell-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
  174. package/dist/chunks/{shell-wjjv5c56.js → repository-cache-mhdex35g.js} +9 -9
  175. package/dist/chunks/{shell-xayeaa42.js → repository-cache-mk935gd8.js} +9 -9
  176. package/dist/chunks/{shell-02vamycj.js → repository-cache-mmfyj663.js} +5 -5
  177. package/dist/chunks/{shell-v6abvp0h.js → repository-cache-mn5j6xz9.js} +5 -5
  178. package/dist/chunks/{shell-pw4zabmd.js → repository-cache-ms89s1xg.js} +179 -179
  179. package/dist/chunks/{shell-603vct5e.js → repository-cache-mx97exft.js} +30 -30
  180. package/dist/chunks/{shell-qajney5x.js → repository-cache-n268d91j.js} +11 -11
  181. package/dist/chunks/{shell-387dpq4s.js → repository-cache-na3b46a7.js} +18 -18
  182. package/dist/chunks/{shell-jmxxwznn.js → repository-cache-nbs22qen.js} +4 -4
  183. package/dist/chunks/{shell-jtjk5p9j.js → repository-cache-njebe5fw.js} +19 -19
  184. package/dist/chunks/{shell-2exgm5zs.js → repository-cache-nxhdjhjw.js} +45 -45
  185. package/dist/chunks/{shell-nz56sr1f.js → repository-cache-nz56sr1f.js} +2 -2
  186. package/dist/chunks/{shell-mhpexy54.js → repository-cache-p7pstqch.js} +15 -15
  187. package/dist/chunks/{shell-ae0va0j1.js → repository-cache-pfhhvb3w.js} +5 -5
  188. package/dist/chunks/{shell-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{shell-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  190. package/dist/chunks/{shell-17drjap0.js → repository-cache-pmx6p9t5.js} +34 -34
  191. package/dist/chunks/{shell-dpkssma6.js → repository-cache-pmx89wj9.js} +12 -12
  192. package/dist/chunks/{shell-xg9m98z8.js → repository-cache-pnf7bv7v.js} +34 -34
  193. package/dist/chunks/{shell-6hj3adh9.js → repository-cache-ps8kb85m.js} +15 -15
  194. package/dist/chunks/{shell-8sze2n9a.js → repository-cache-py3kkmfq.js} +6 -6
  195. package/dist/chunks/{shell-9bh5q6pj.js → repository-cache-q0p071b0.js} +2 -2
  196. package/dist/chunks/{shell-37kervd6.js → repository-cache-qcy13bhz.js} +17 -17
  197. package/dist/chunks/{shell-cwa6csj7.js → repository-cache-qmqgtz8f.js} +9 -9
  198. package/dist/chunks/{shell-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
  199. package/dist/chunks/{shell-jgp4qpwz.js → repository-cache-qsbh95pa.js} +18 -18
  200. package/dist/chunks/{shell-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  201. package/dist/chunks/{shell-fbxzvvsv.js → repository-cache-r38tb40c.js} +8 -8
  202. package/dist/chunks/{shell-9jf0f2cs.js → repository-cache-r8mc9fw8.js} +7 -7
  203. package/dist/chunks/{shell-wx13yw6b.js → repository-cache-r8qzytx6.js} +11 -11
  204. package/dist/chunks/{shell-4nejsby7.js → repository-cache-r8tt5pdh.js} +20 -20
  205. package/dist/chunks/{shell-e738kmdw.js → repository-cache-rd8qctj1.js} +6 -6
  206. package/dist/chunks/{shell-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{shell-rert0e01.js → repository-cache-rert0e01.js} +2 -2
  208. package/dist/chunks/{shell-5tt655ph.js → repository-cache-rfmm8jvy.js} +28 -28
  209. package/dist/chunks/{shell-s8d7rejh.js → repository-cache-rhjbct0v.js} +4 -4
  210. package/dist/chunks/{shell-rj3eygr5.js → repository-cache-rj3eygr5.js} +2 -2
  211. package/dist/chunks/{shell-8z3cvr3k.js → repository-cache-rjf4ffg7.js} +18 -18
  212. package/dist/chunks/{shell-gt7zzye3.js → repository-cache-rmtct2jg.js} +19 -19
  213. package/dist/chunks/{shell-k7myrtme.js → repository-cache-rpjgfq5s.js} +9 -9
  214. package/dist/chunks/{shell-kxnmaf3s.js → repository-cache-rrymd76b.js} +23 -23
  215. package/dist/chunks/{shell-vdaaq34n.js → repository-cache-s2b0mt3v.js} +1 -1
  216. package/dist/chunks/{shell-fqtvmpfq.js → repository-cache-s5met55r.js} +8 -8
  217. package/dist/chunks/{shell-sa8ekw3f.js → repository-cache-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{shell-h055mtc6.js → repository-cache-savvjd0x.js} +20 -18
  219. package/dist/chunks/{shell-6f33sypz.js → repository-cache-scqf7y3w.js} +82 -82
  220. package/dist/chunks/{shell-pnzpyq4k.js → repository-cache-sxy57xts.js} +86 -86
  221. package/dist/chunks/{shell-syv4x271.js → repository-cache-syv4x271.js} +1 -1
  222. package/dist/chunks/{shell-mqqhst8y.js → repository-cache-sz15zhhw.js} +4 -4
  223. package/dist/chunks/{shell-2sq5abjd.js → repository-cache-szwj80cc.js} +3 -3
  224. package/dist/chunks/{shell-wmxpb99x.js → repository-cache-t4rnqcab.js} +3 -3
  225. package/dist/chunks/{shell-8dfnjpdr.js → repository-cache-t5gc52ef.js} +18 -18
  226. package/dist/chunks/{shell-gmbs0yfc.js → repository-cache-t5nm1h7p.js} +49 -49
  227. package/dist/chunks/{shell-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{shell-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
  229. package/dist/chunks/{shell-cf6pg1xw.js → repository-cache-tdbmj82j.js} +8 -8
  230. package/dist/chunks/{shell-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  231. package/dist/chunks/{shell-41wjcvt0.js → repository-cache-tfp3dpkf.js} +5 -5
  232. package/dist/chunks/{shell-sjtzq83v.js → repository-cache-tgfxvvf8.js} +10 -10
  233. package/dist/chunks/{shell-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{shell-9hm03b9h.js → repository-cache-twy8yh4t.js} +25 -25
  235. package/dist/chunks/{shell-af8g5zb6.js → repository-cache-txwpsv2p.js} +21 -21
  236. package/dist/chunks/{shell-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
  237. package/dist/chunks/{shell-ehbg6y37.js → repository-cache-tza759th.js} +35 -35
  238. package/dist/chunks/{shell-hvp5ag27.js → repository-cache-tzaz3z0t.js} +6 -6
  239. package/dist/chunks/repository-cache-v061a9c2.js +517 -0
  240. package/dist/chunks/{shell-tx0gtb9m.js → repository-cache-v210v162.js} +9 -9
  241. package/dist/chunks/{shell-wfztk8xg.js → repository-cache-v30mg9q2.js} +8 -8
  242. package/dist/chunks/{shell-6hh8tjw2.js → repository-cache-v5dkyp31.js} +4 -4
  243. package/dist/chunks/{shell-ztk94t9n.js → repository-cache-v7kdkfkp.js} +25 -25
  244. package/dist/chunks/{shell-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
  245. package/dist/chunks/{shell-m0r31qfn.js → repository-cache-vbfgae2j.js} +4 -4
  246. package/dist/chunks/{shell-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  247. package/dist/chunks/{shell-8rnv749x.js → repository-cache-vhj1m4b0.js} +24 -24
  248. package/dist/chunks/{shell-ypg4226y.js → repository-cache-vhwx28nx.js} +18 -18
  249. package/dist/chunks/{shell-8471hwdy.js → repository-cache-vnm2wjz3.js} +14 -14
  250. package/dist/chunks/{shell-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{shell-vywzj4qb.js → repository-cache-w12shgbp.js} +23 -23
  252. package/dist/chunks/{shell-84txncab.js → repository-cache-w1eejvng.js} +5 -5
  253. package/dist/chunks/repository-cache-w2nph7ph.js +26 -0
  254. package/dist/chunks/{shell-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{shell-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  256. package/dist/chunks/{shell-03p3wnad.js → repository-cache-wp7khyzv.js} +46 -46
  257. package/dist/chunks/{shell-fmax1t4t.js → repository-cache-wqz8rkkb.js} +21 -21
  258. package/dist/chunks/{shell-j9abz2tj.js → repository-cache-x06a86kn.js} +16 -16
  259. package/dist/chunks/{shell-0ztvstyz.js → repository-cache-x2gnjtg4.js} +7 -7
  260. package/dist/chunks/{shell-mwpm31k7.js → repository-cache-x4jd4xmr.js} +28 -28
  261. package/dist/chunks/{shell-ajpgmfw4.js → repository-cache-x7wne18b.js} +15 -15
  262. package/dist/chunks/{shell-xfkkasph.js → repository-cache-xfkkasph.js} +1 -1
  263. package/dist/chunks/{shell-0w62qmxp.js → repository-cache-xkrbr206.js} +8 -8
  264. package/dist/chunks/{shell-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{shell-q41jq0qr.js → repository-cache-y50tnaxc.js} +11 -11
  266. package/dist/chunks/{shell-y71avatq.js → repository-cache-y71avatq.js} +1 -1
  267. package/dist/chunks/{shell-xkmpyy1n.js → repository-cache-y8tjtsy7.js} +9 -9
  268. package/dist/chunks/{shell-ccbzs5ke.js → repository-cache-yew0zm8m.js} +11 -11
  269. package/dist/chunks/{shell-xv32mmfd.js → repository-cache-yfdycbsw.js} +19 -19
  270. package/dist/chunks/{shell-7vj6fy4k.js → repository-cache-yfsa45n4.js} +32 -32
  271. package/dist/chunks/{shell-0ytk1mmd.js → repository-cache-yjxqy5ha.js} +8 -8
  272. package/dist/chunks/{shell-p20se939.js → repository-cache-ys5mczsm.js} +8 -8
  273. package/dist/chunks/{shell-08sd8799.js → repository-cache-yv2cmth8.js} +1 -1
  274. package/dist/chunks/{shell-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{shell-z18fegx4.js → repository-cache-z18fegx4.js} +1 -1
  276. package/dist/chunks/{shell-b674v2dg.js → repository-cache-z6c3x22d.js} +5 -5
  277. package/dist/chunks/{shell-v1bmpj3w.js → repository-cache-z6dhcqsk.js} +27 -27
  278. package/dist/chunks/{shell-0rsgqgrk.js → repository-cache-z86wre2g.js} +25 -25
  279. package/dist/chunks/{shell-5v1f1gfq.js → repository-cache-zmy0eq9j.js} +20 -20
  280. package/dist/chunks/{shell-eeggec7k.js → repository-cache-znqen040.js} +11 -11
  281. package/dist/chunks/{shell-rxxx7r4k.js → repository-cache-zp864mkb.js} +26 -26
  282. package/dist/chunks/{shell-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{shell-n2qdned2.js → repository-cache-zs22chpb.js} +26 -26
  284. package/dist/chunks/{shell-9jvjhjkm.js → repository-cache-zx24wvbj.js} +8 -8
  285. package/dist/chunks/{shell-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{shell-qhat5nnc.js → repository-cache-zz6a9he3.js} +32 -32
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +116 -116
  317. package/dist/config/variable.js +1 -1
  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 +83 -83
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +215 -215
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +91 -91
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +91 -91
  469. package/dist/managed-policy.js +2 -2
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +104 -104
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +82 -82
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +111 -111
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +123 -123
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +351 -351
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +4 -4
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +92 -92
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +89 -89
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +120 -120
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +162 -162
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +211 -211
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +128 -128
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +114 -114
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +82 -82
  680. package/dist/wellknown/plugin.js +76 -76
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +96 -96
  690. package/package.json +8 -8
  691. package/dist/chunks/shell-9t7nqqf0.js +0 -26
  692. package/dist/chunks/shell-dxj72tfx.js +0 -18
  693. package/dist/chunks/shell-eyv86r6e.js +0 -257
  694. package/dist/chunks/shell-w2swb6sv.js +0 -517
  695. /package/dist/chunks/{shell-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{shell-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{shell-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{shell-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{shell-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{shell-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{shell-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{shell-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{shell-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{shell-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{shell-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{shell-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  707. /package/dist/chunks/{shell-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{shell-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{shell-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{shell-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{shell-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{shell-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{shell-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{shell-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  715. /package/dist/chunks/{shell-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{shell-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{shell-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  718. /package/dist/chunks/{shell-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{shell-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{shell-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{shell-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  722. /package/dist/chunks/{shell-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{shell-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{shell-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{shell-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{shell-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{shell-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{shell-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{shell-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{shell-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{shell-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{shell-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{shell-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{shell-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{shell-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{shell-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{shell-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{shell-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{shell-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{shell-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{shell-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  742. /package/dist/chunks/{shell-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{shell-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{shell-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{shell-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{shell-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{shell-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{shell-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{shell-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{shell-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{shell-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{shell-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{shell-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  754. /package/dist/chunks/{shell-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{shell-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  756. /package/dist/chunks/{shell-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{shell-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  758. /package/dist/chunks/{shell-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{shell-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{shell-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{shell-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{shell-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{shell-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{shell-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{shell-m18g726c.js → repository-cache-m18g726c.js} +0 -0
  766. /package/dist/chunks/{shell-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{shell-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{shell-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{shell-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{shell-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{shell-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{shell-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{shell-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{shell-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{shell-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{shell-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{shell-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{shell-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{shell-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{shell-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{shell-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{shell-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{shell-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{shell-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{shell-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{shell-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{shell-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{shell-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{shell-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{shell-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  791. /package/dist/chunks/{shell-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{shell-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{shell-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{shell-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{shell-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{shell-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,132 +1,132 @@
1
1
  import {
2
2
  Metadata2,
3
- node57
4
- } from "./shell-ccbzs5ke.js";
3
+ node50
4
+ } from "./repository-cache-yew0zm8m.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./shell-trg827xp.js";
8
+ } from "./repository-cache-8reangzk.js";
9
9
  import {
10
- ID13,
11
- Service77,
12
- node81
13
- } from "./shell-fmax1t4t.js";
10
+ ID11,
11
+ Service68,
12
+ node72
13
+ } from "./repository-cache-wqz8rkkb.js";
14
14
  import {
15
- ID17,
15
+ ID16,
16
16
  OAuth3
17
- } from "./shell-rw4jj2rk.js";
17
+ } from "./repository-cache-7jwh32ts.js";
18
18
  import {
19
- ID16,
19
+ ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service82,
24
- node86
25
- } from "./shell-50d2yybn.js";
23
+ Service79,
24
+ node83
25
+ } from "./repository-cache-g5g9rrdp.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./shell-z5v4ffb3.js";
28
+ } from "./repository-cache-z5v4ffb3.js";
29
+ import {
30
+ Info27,
31
+ Ref4,
32
+ Service82,
33
+ node86
34
+ } from "./repository-cache-k9gaxmgh.js";
29
35
  import {
30
- Info23,
31
- Ref3,
36
+ ID13,
32
37
  Service78,
33
38
  node82
34
- } from "./shell-bj7p7j85.js";
39
+ } from "./repository-cache-9m35c2r0.js";
35
40
  import {
36
- ID8,
37
- Service64,
38
- node67
39
- } from "./shell-5xghjtfa.js";
41
+ Service77,
42
+ node81
43
+ } from "./repository-cache-bf4bmw04.js";
40
44
  import {
41
45
  Service54,
42
- node56
43
- } from "./shell-9vbreq9z.js";
46
+ node57
47
+ } from "./repository-cache-1q92ejr7.js";
44
48
  import {
45
- Service39,
46
- node42
47
- } from "./shell-wyepen03.js";
49
+ Service76,
50
+ node80
51
+ } from "./repository-cache-gtsbe4v4.js";
48
52
  import {
49
- Service62,
50
- node65
51
- } from "./shell-yn5t1h2v.js";
53
+ Service57,
54
+ node61
55
+ } from "./repository-cache-y50tnaxc.js";
52
56
  import {
57
+ ID12,
53
58
  Service72,
54
59
  node76
55
- } from "./shell-q41jq0qr.js";
60
+ } from "./repository-cache-h1f52gh9.js";
56
61
  import {
57
- ID7,
58
- Service63,
59
- node66
60
- } from "./shell-3atk1qyf.js";
61
- import {
62
- ID9
63
- } from "./shell-5tt655ph.js";
62
+ ID5
63
+ } from "./repository-cache-rfmm8jvy.js";
64
64
  import {
65
- Service36,
66
- node39
67
- } from "./shell-gmbs0yfc.js";
65
+ Service41,
66
+ node44
67
+ } from "./repository-cache-t5nm1h7p.js";
68
68
  import {
69
- Service76,
70
- node80
71
- } from "./shell-fqtvmpfq.js";
69
+ Service66,
70
+ node70
71
+ } from "./repository-cache-s5met55r.js";
72
72
  import {
73
- Service73,
74
- node77
75
- } from "./shell-envzrdm3.js";
73
+ Service63,
74
+ node67
75
+ } from "./repository-cache-77d0na5t.js";
76
76
  import {
77
- Service40,
78
- node43,
79
- Error2
80
- } from "./shell-0rsgqgrk.js";
77
+ Service43,
78
+ node46,
79
+ Error3
80
+ } from "./repository-cache-z86wre2g.js";
81
81
  import {
82
- Source4,
82
+ Source3,
83
83
  Service45,
84
84
  node48
85
- } from "./shell-8bee7htz.js";
85
+ } from "./repository-cache-8d1pd201.js";
86
86
  import {
87
- Info9,
88
- Service42,
89
- node45
90
- } from "./shell-8rnv749x.js";
87
+ Info16,
88
+ Service62,
89
+ node66
90
+ } from "./repository-cache-vhj1m4b0.js";
91
91
  import {
92
- Service26,
93
- node29
94
- } from "./shell-pnzpyq4k.js";
92
+ Service30,
93
+ node33
94
+ } from "./repository-cache-sxy57xts.js";
95
95
  import {
96
- Service17,
97
- node20
98
- } from "./shell-0kt21gsk.js";
96
+ Service27,
97
+ node30
98
+ } from "./repository-cache-kf0zwkk2.js";
99
99
  import {
100
- Service71,
101
- node75
102
- } from "./shell-kcz1zv3y.js";
100
+ Service19,
101
+ node22
102
+ } from "./repository-cache-jargxt5j.js";
103
103
  import {
104
- Service24,
105
- node27
106
- } from "./shell-af8g5zb6.js";
104
+ Service74,
105
+ node78
106
+ } from "./repository-cache-txwpsv2p.js";
107
107
  import {
108
108
  ID4,
109
- Service16,
110
- node19
111
- } from "./shell-fvgqktbw.js";
109
+ Service28,
110
+ node31
111
+ } from "./repository-cache-8t50b4ww.js";
112
112
  import {
113
- Service19,
114
- node22
115
- } from "./shell-xv32mmfd.js";
113
+ Service26,
114
+ node29
115
+ } from "./repository-cache-yfdycbsw.js";
116
116
  import {
117
117
  StrategyID2,
118
118
  Info5,
119
119
  ListEntry3,
120
- Service18,
121
- node21
122
- } from "./shell-6eey2wfv.js";
120
+ Service25,
121
+ node28
122
+ } from "./repository-cache-jnk63p10.js";
123
123
  import {
124
- Service23,
125
- node26
126
- } from "./shell-rxxx7r4k.js";
124
+ Service70,
125
+ node74
126
+ } from "./repository-cache-zp864mkb.js";
127
127
  import {
128
128
  __export
129
- } from "./shell-9rqn6x4v.js";
129
+ } from "./repository-cache-9rqn6x4v.js";
130
130
 
131
131
  // src/plugin/host.ts
132
132
  var exports_host = {};
@@ -144,49 +144,49 @@ var mutable = (value) => value;
144
144
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
145
145
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
146
146
  const app = yield* Metadata2;
147
- const agents = yield* Service77;
148
- const aisdk = yield* Service54;
149
- const providers = yield* Service64;
150
- const models = yield* Service63;
151
- const commands = yield* Service39;
147
+ const agents = yield* Service68;
148
+ const aisdk = yield* Service77;
149
+ const providers = yield* Service78;
150
+ const models = yield* Service72;
151
+ const commands = yield* Service54;
152
152
  const bus = yield* Service85;
153
- const integration = yield* Service82;
154
- const kv = yield* Service62;
155
- const mcp = yield* Service36;
156
- const location = yield* Service78;
153
+ const integration = yield* Service79;
154
+ const kv = yield* Service76;
155
+ const mcp = yield* Service41;
156
+ const location = yield* Service82;
157
157
  const reference = yield* Service45;
158
- const rpc = yield* Service71;
159
- const skill = yield* Service42;
160
- const tools = yield* Service40;
161
- const vcs = yield* Service24;
162
- const websearch = yield* Service16;
163
- const generate = yield* Service23;
164
- const permission = yield* Service73;
165
- const hooks = yield* Service76;
166
- const sessions = yield* Service26;
167
- const persistentPty = yield* Service17;
168
- const locations = yield* Service72;
169
- const worktrees = yield* Service18;
170
- const worktreeStrategies = yield* Service19;
158
+ const rpc = yield* Service19;
159
+ const skill = yield* Service62;
160
+ const tools = yield* Service43;
161
+ const vcs = yield* Service74;
162
+ const websearch = yield* Service28;
163
+ const generate = yield* Service70;
164
+ const permission = yield* Service63;
165
+ const hooks = yield* Service66;
166
+ const sessions = yield* Service30;
167
+ const persistentPty = yield* Service27;
168
+ const locations = yield* Service57;
169
+ const worktrees = yield* Service25;
170
+ const worktreeStrategies = yield* Service26;
171
171
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
172
- const locationInfo = () => new Info23({
172
+ const locationInfo = () => new Info27({
173
173
  directory: location.directory,
174
174
  workspaceID: location.workspaceID,
175
175
  project: location.project
176
176
  });
177
- const locationRef = (input) => input?.location === undefined ? undefined : Ref3.make({
177
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
178
178
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
179
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID9.make(input.location.workspace)
179
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
180
180
  });
181
181
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
182
182
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
183
183
  const decodeWorktree = Schema.decodeUnknownEffect(Info5);
184
184
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
185
185
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
186
- const location = yield* Service78;
187
- const agents = yield* Service77;
186
+ const location = yield* Service82;
187
+ const agents = yield* Service68;
188
188
  return {
189
- location: new Info23({
189
+ location: new Info27({
190
190
  directory: location.directory,
191
191
  workspaceID: location.workspaceID,
192
192
  project: location.project
@@ -218,10 +218,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
218
218
  transform: (callback) => agents.transform((editor) => {
219
219
  callback({
220
220
  list: () => mutable(editor.list()),
221
- get: (id) => mutable(editor.get(ID13.make(id))),
222
- default: (id) => editor.default(id === undefined ? undefined : ID13.make(id)),
223
- update: (id, update) => editor.update(ID13.make(id), update),
224
- remove: (id) => editor.remove(ID13.make(id))
221
+ get: (id) => mutable(editor.get(ID11.make(id))),
222
+ default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
223
+ update: (id, update) => editor.update(ID11.make(id), update),
224
+ remove: (id) => editor.remove(ID11.make(id))
225
225
  });
226
226
  })
227
227
  },
@@ -255,22 +255,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
255
255
  },
256
256
  provider: {
257
257
  list: () => response(providers.available()),
258
- get: (input) => providers.get(ID8.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
+ 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)))),
259
259
  reload: providers.reload,
260
260
  transform: (callback) => providers.transform((editor) => {
261
261
  callback({
262
262
  list: editor.list,
263
- get: (id) => editor.get(ID8.make(id)),
263
+ get: (id) => editor.get(ID13.make(id)),
264
264
  add: (definition) => editor.add({
265
265
  ...definition,
266
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID17.make(definition.sourceConnection.id) } : definition.sourceConnection
266
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
267
267
  }),
268
- update: (id, update) => editor.update(ID8.make(id), update),
269
- remove: (id) => editor.remove(ID8.make(id)),
268
+ update: (id, update) => editor.update(ID13.make(id), update),
269
+ remove: (id) => editor.remove(ID13.make(id)),
270
270
  models: {
271
- set: (id, models) => editor.models.set(ID8.make(id), models),
272
- update: (providerID, modelID, update) => editor.models.update(ID8.make(providerID), ID7.make(modelID), update),
273
- remove: (providerID, modelID) => editor.models.remove(ID8.make(providerID), ID7.make(modelID))
271
+ set: (id, models) => editor.models.set(ID13.make(id), models),
272
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
273
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
274
274
  }
275
275
  });
276
276
  })
@@ -280,17 +280,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
280
280
  default: () => response(models.default()),
281
281
  reload: models.reload,
282
282
  transform: (callback) => models.transform((editor) => callback({
283
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID8.make(providerID)),
284
- get: (providerID, modelID) => editor.get(ID8.make(providerID), ID7.make(modelID)),
285
- update: (providerID, modelID, update) => editor.update(ID8.make(providerID), ID7.make(modelID), update),
286
- remove: (providerID, modelID) => editor.remove(ID8.make(providerID), ID7.make(modelID)),
283
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
284
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
285
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
286
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
287
287
  default: {
288
288
  get: editor.default.get,
289
- set: (providerID, modelID) => editor.default.set(ID8.make(providerID), ID7.make(modelID))
289
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
290
290
  },
291
291
  provider: {
292
292
  list: editor.provider.list,
293
- get: (id) => editor.provider.get(ID8.make(id))
293
+ get: (id) => editor.provider.get(ID13.make(id))
294
294
  }
295
295
  }))
296
296
  },
@@ -316,20 +316,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
316
316
  integration: {
317
317
  list: () => response(integration.list()),
318
318
  get: Effect.fn(function* (input) {
319
- const item = yield* integration.get(ID16.make(input.integrationID));
319
+ const item = yield* integration.get(ID14.make(input.integrationID));
320
320
  if (!item)
321
321
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
322
322
  return yield* response(Effect.succeed(item));
323
323
  }),
324
324
  connect: {
325
325
  key: (input) => integration.connection.key({
326
- integrationID: ID16.make(input.integrationID),
326
+ integrationID: ID14.make(input.integrationID),
327
327
  key: input.key,
328
328
  answer: input.answer,
329
329
  label: input.label
330
330
  }),
331
331
  external: (input) => integration.connection.external({
332
- integrationID: ID16.make(input.integrationID),
332
+ integrationID: ID14.make(input.integrationID),
333
333
  methodID: MethodID2.make(input.methodID),
334
334
  answer: input.answer,
335
335
  label: input.label
@@ -337,60 +337,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
337
337
  },
338
338
  oauth: {
339
339
  connect: (input) => response(integration.oauth.connect({
340
- integrationID: ID16.make(input.integrationID),
340
+ integrationID: ID14.make(input.integrationID),
341
341
  methodID: MethodID2.make(input.methodID),
342
342
  answer: input.answer,
343
343
  label: input.label
344
344
  })),
345
345
  status: (input) => response(integration.oauth.status({
346
- integrationID: ID16.make(input.integrationID),
346
+ integrationID: ID14.make(input.integrationID),
347
347
  attemptID: AttemptID2.make(input.attemptID)
348
348
  })),
349
349
  complete: (input) => integration.oauth.complete({
350
- integrationID: ID16.make(input.integrationID),
350
+ integrationID: ID14.make(input.integrationID),
351
351
  attemptID: AttemptID2.make(input.attemptID),
352
352
  code: input.code
353
353
  }),
354
354
  cancel: (input) => integration.oauth.cancel({
355
- integrationID: ID16.make(input.integrationID),
355
+ integrationID: ID14.make(input.integrationID),
356
356
  attemptID: AttemptID2.make(input.attemptID)
357
357
  })
358
358
  },
359
359
  command: {
360
360
  connect: (input) => response(integration.command.connect({
361
- integrationID: ID16.make(input.integrationID),
361
+ integrationID: ID14.make(input.integrationID),
362
362
  methodID: MethodID2.make(input.methodID),
363
363
  label: input.label
364
364
  })),
365
365
  status: (input) => response(integration.command.status({
366
- integrationID: ID16.make(input.integrationID),
366
+ integrationID: ID14.make(input.integrationID),
367
367
  attemptID: AttemptID2.make(input.attemptID)
368
368
  })),
369
369
  cancel: (input) => integration.command.cancel({
370
- integrationID: ID16.make(input.integrationID),
370
+ integrationID: ID14.make(input.integrationID),
371
371
  attemptID: AttemptID2.make(input.attemptID)
372
372
  })
373
373
  },
374
374
  reload: integration.reload,
375
375
  connection: {
376
- active: (id) => integration.connection.active(ID16.make(id)),
377
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection),
376
+ active: (id) => integration.connection.active(ID14.make(id)),
377
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection),
378
378
  status: (input) => integration.connection.status({
379
- integrationID: ID16.make(input.integrationID),
380
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID17.make(input.connection.id) } : input.connection,
379
+ integrationID: ID14.make(input.integrationID),
380
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID16.make(input.connection.id) } : input.connection,
381
381
  status: input.status
382
382
  })
383
383
  },
384
384
  transform: (callback) => integration.transform((editor) => {
385
385
  callback({
386
386
  list: () => mutable(editor.list()),
387
- get: (id) => mutable(editor.get(ID16.make(id))),
388
- update: (id, update) => editor.update(ID16.make(id), update),
389
- remove: (id) => editor.remove(ID16.make(id)),
387
+ get: (id) => mutable(editor.get(ID14.make(id))),
388
+ update: (id, update) => editor.update(ID14.make(id), update),
389
+ remove: (id) => editor.remove(ID14.make(id)),
390
390
  method: {
391
- list: (id) => editor.method.list(ID16.make(id)),
391
+ list: (id) => editor.method.list(ID14.make(id)),
392
392
  update: (input) => editor.method.update(methodImplementation(input)),
393
- remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
393
+ remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
394
394
  }
395
395
  });
396
396
  })
@@ -400,10 +400,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
400
400
  const ref = locationRef(input);
401
401
  if (ref && !isCurrentLocation(ref))
402
402
  return Effect.gen(function* () {
403
- const location = yield* Service78;
404
- const mcp = yield* Service36;
403
+ const location = yield* Service82;
404
+ const mcp = yield* Service41;
405
405
  return {
406
- location: new Info23({
406
+ location: new Info27({
407
407
  directory: location.directory,
408
408
  workspaceID: location.workspaceID,
409
409
  project: location.project
@@ -430,9 +430,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
430
430
  get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
431
431
  reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
432
432
  assert: (input) => permission.assert(input).pipe(Effect.catchTags({
433
- "Permission.BlockedError": (error) => Effect.fail(new Error2({ message: error.message, error })),
434
- "Permission.CorrectedError": (error) => Effect.fail(new Error2({ message: error.feedback, error })),
435
- "Session.NotFoundError": (error) => Effect.fail(new Error2({ message: `Session not found: ${error.sessionID}`, error }))
433
+ "Permission.BlockedError": (error) => Effect.fail(new Error3({ message: error.message, error })),
434
+ "Permission.CorrectedError": (error) => Effect.fail(new Error3({ message: error.feedback, error })),
435
+ "Session.NotFoundError": (error) => Effect.fail(new Error3({ message: `Session not found: ${error.sessionID}`, error }))
436
436
  }))
437
437
  },
438
438
  plugin: {
@@ -443,7 +443,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
443
443
  reload: reference.reload,
444
444
  transform: (callback) => reference.transform((editor) => {
445
445
  callback({
446
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
446
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
447
447
  remove: editor.remove,
448
448
  list: editor.list,
449
449
  get: editor.get
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
457
457
  callback({
458
458
  list: () => mutable(editor.list()),
459
459
  get: editor.get,
460
- add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
460
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info16)(value)),
461
461
  update: editor.update,
462
462
  remove: editor.remove
463
463
  });
@@ -531,7 +531,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
531
531
  metadata: input?.metadata,
532
532
  permissions: input?.permissions,
533
533
  ...input?.parentID === undefined ? {
534
- location: input?.location ?? Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
534
+ location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
535
535
  } : { parentID: input.parentID }
536
536
  }),
537
537
  get: (input) => sessions.get(input.sessionID),
@@ -561,31 +561,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
561
561
  return context;
562
562
  });
563
563
  var requirements3 = LayerNode.group([
564
- node57,
564
+ node50,
565
+ node72,
565
566
  node81,
566
- node56,
567
- node67,
568
- node66,
569
- node42,
567
+ node82,
568
+ node76,
569
+ node57,
570
570
  node89,
571
+ node83,
572
+ node80,
573
+ node44,
571
574
  node86,
572
- node65,
573
- node39,
574
- node82,
575
575
  node48,
576
- node75,
577
- node45,
578
- node43,
579
- node27,
580
- node19,
581
- node21,
582
576
  node22,
583
- node26,
584
- node77,
585
- node80,
577
+ node66,
578
+ node46,
579
+ node78,
580
+ node31,
581
+ node28,
586
582
  node29,
587
- node20,
588
- node76
583
+ node74,
584
+ node67,
585
+ node70,
586
+ node33,
587
+ node30,
588
+ node61
589
589
  ]);
590
590
  function storage2(kv, pluginID) {
591
591
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -612,7 +612,7 @@ function methodImplementation(input) {
612
612
  if ("authorize" in input) {
613
613
  const refresh = input.refresh;
614
614
  return {
615
- integrationID: ID16.make(input.integrationID),
615
+ integrationID: ID14.make(input.integrationID),
616
616
  method: { ...input.method, id: MethodID2.make(input.method.id) },
617
617
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
618
618
  if (authorization.mode === "auto") {
@@ -632,24 +632,24 @@ function methodImplementation(input) {
632
632
  }
633
633
  if (input.method.type === "env") {
634
634
  return {
635
- integrationID: ID16.make(input.integrationID),
635
+ integrationID: ID14.make(input.integrationID),
636
636
  method: input.method
637
637
  };
638
638
  }
639
639
  if (input.method.type === "command") {
640
640
  return {
641
- integrationID: ID16.make(input.integrationID),
641
+ integrationID: ID14.make(input.integrationID),
642
642
  method: { ...input.method, id: MethodID2.make(input.method.id) }
643
643
  };
644
644
  }
645
645
  if (input.method.type === "external") {
646
646
  return {
647
- integrationID: ID16.make(input.integrationID),
647
+ integrationID: ID14.make(input.integrationID),
648
648
  method: { ...input.method, id: MethodID2.make(input.method.id) }
649
649
  };
650
650
  }
651
651
  return {
652
- integrationID: ID16.make(input.integrationID),
652
+ integrationID: ID14.make(input.integrationID),
653
653
  method: input.method
654
654
  };
655
655
  }