@opencode/core 0.0.0-dev-20581 → 0.0.0-dev-20583

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{managed-policy-xsjbfs7s.js → file-mutation-05j2y7x7.js} +12 -12
  8. package/dist/chunks/{managed-policy-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{managed-policy-wy8gm8jj.js → file-mutation-0pzykd19.js} +35 -35
  10. package/dist/chunks/{managed-policy-h4v137tq.js → file-mutation-0qtgexh9.js} +43 -43
  11. package/dist/chunks/{managed-policy-vsywyjzm.js → file-mutation-0swngr03.js} +23 -23
  12. package/dist/chunks/{managed-policy-5snyeemy.js → file-mutation-0t7934bj.js} +37 -37
  13. package/dist/chunks/{managed-policy-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{managed-policy-exstxen9.js → file-mutation-10t9a2f3.js} +13 -13
  15. package/dist/chunks/{managed-policy-zs5zztja.js → file-mutation-123xm1e3.js} +9 -9
  16. package/dist/chunks/{managed-policy-py9kw9tn.js → file-mutation-12wrqg79.js} +23 -23
  17. package/dist/chunks/{managed-policy-fqtvmpfq.js → file-mutation-166kng33.js} +8 -8
  18. package/dist/chunks/{managed-policy-w677k9fj.js → file-mutation-180jb965.js} +17 -17
  19. package/dist/chunks/{managed-policy-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{managed-policy-1dvck2a7.js → file-mutation-1dvck2a7.js} +2 -2
  21. package/dist/chunks/{managed-policy-dnge0aqq.js → file-mutation-1kprmeav.js} +29 -29
  22. package/dist/chunks/{managed-policy-npkdjxyy.js → file-mutation-1qxsyfe0.js} +22 -22
  23. package/dist/chunks/{managed-policy-enpcsfks.js → file-mutation-1r1edwa1.js} +35 -35
  24. package/dist/chunks/{managed-policy-nf65gqd5.js → file-mutation-21kzj585.js} +10 -10
  25. package/dist/chunks/{managed-policy-jr3bj4y0.js → file-mutation-24wzahvd.js} +18 -18
  26. package/dist/chunks/{managed-policy-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{managed-policy-78ymhwc6.js → file-mutation-2cwknq7w.js} +11 -11
  28. package/dist/chunks/{managed-policy-sxjxh3g8.js → file-mutation-2j93mrye.js} +11 -11
  29. package/dist/chunks/file-mutation-2r7ew65j.js +26 -0
  30. package/dist/chunks/{managed-policy-9qhqs605.js → file-mutation-2sq0rgeb.js} +27 -27
  31. package/dist/chunks/{managed-policy-t9zqd86n.js → file-mutation-2st2vgs8.js} +23 -23
  32. package/dist/chunks/{managed-policy-acnatzrp.js → file-mutation-2w56afta.js} +4 -4
  33. package/dist/chunks/{managed-policy-n9axn9y3.js → file-mutation-2w5dyyz8.js} +8 -8
  34. package/dist/chunks/{managed-policy-2kea3y2w.js → file-mutation-39kj94aj.js} +13 -13
  35. package/dist/chunks/{managed-policy-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{managed-policy-xvdg8f15.js → file-mutation-3gepn018.js} +8 -8
  37. package/dist/chunks/{managed-policy-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{managed-policy-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{managed-policy-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{managed-policy-3mentpw2.js → file-mutation-3xe73pcq.js} +18 -18
  41. package/dist/chunks/{managed-policy-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{managed-policy-j7v3c1ew.js → file-mutation-40bnz8b2.js} +11 -11
  43. package/dist/chunks/{managed-policy-9x8tc8sp.js → file-mutation-43mj7s4s.js} +9 -9
  44. package/dist/chunks/{managed-policy-ty7z4jb0.js → file-mutation-47qpzrds.js} +35 -35
  45. package/dist/chunks/{managed-policy-p1yfc9a8.js → file-mutation-48cwc0wb.js} +21 -21
  46. package/dist/chunks/{managed-policy-qvreyy9g.js → file-mutation-49exe669.js} +5 -5
  47. package/dist/chunks/{managed-policy-r9w3djhf.js → file-mutation-4rt0ga34.js} +5 -5
  48. package/dist/chunks/{managed-policy-4ts7tf6z.js → file-mutation-4ts7tf6z.js} +2 -2
  49. package/dist/chunks/{managed-policy-r94pvvab.js → file-mutation-54ma36ye.js} +4 -4
  50. package/dist/chunks/{managed-policy-dbc1qc54.js → file-mutation-58mk5nmy.js} +14 -14
  51. package/dist/chunks/{managed-policy-bqb67z36.js → file-mutation-5cz6gggr.js} +24 -24
  52. package/dist/chunks/{managed-policy-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  53. package/dist/chunks/{managed-policy-qwz8cpda.js → file-mutation-5h9mcdhs.js} +22 -22
  54. package/dist/chunks/{managed-policy-nepz78e5.js → file-mutation-5qrrcsc2.js} +9 -9
  55. package/dist/chunks/{managed-policy-2qx31yc6.js → file-mutation-5s0bmr25.js} +25 -25
  56. package/dist/chunks/{managed-policy-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{managed-policy-89nr6wfj.js → file-mutation-5w26m471.js} +11 -11
  58. package/dist/chunks/{managed-policy-xs81jx4r.js → file-mutation-608kr7kb.js} +10 -10
  59. package/dist/chunks/{managed-policy-zxyy8bfe.js → file-mutation-6136cgh5.js} +40 -40
  60. package/dist/chunks/{managed-policy-669tq793.js → file-mutation-669tq793.js} +1 -1
  61. package/dist/chunks/{managed-policy-bkwdfw9d.js → file-mutation-68cfq5az.js} +26 -26
  62. package/dist/chunks/{managed-policy-02wmet1s.js → file-mutation-6a6378pm.js} +18 -18
  63. package/dist/chunks/{managed-policy-x49sb692.js → file-mutation-6b9m9qth.js} +11 -11
  64. package/dist/chunks/{managed-policy-7avdme9t.js → file-mutation-6hbe8yta.js} +13 -13
  65. package/dist/chunks/{managed-policy-b15vkqsx.js → file-mutation-6nwe3trr.js} +10 -10
  66. package/dist/chunks/{managed-policy-r3d0j56v.js → file-mutation-6s812hbs.js} +25 -25
  67. package/dist/chunks/{managed-policy-4hh2xy14.js → file-mutation-6wz7chbs.js} +3 -3
  68. package/dist/chunks/{managed-policy-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{managed-policy-71az546q.js → file-mutation-71az546q.js} +2 -2
  70. package/dist/chunks/{managed-policy-e2p1qpzc.js → file-mutation-72p9t9gb.js} +34 -34
  71. package/dist/chunks/{managed-policy-dm99yka6.js → file-mutation-77hgjsk3.js} +27 -27
  72. package/dist/chunks/{managed-policy-pt0zkbkz.js → file-mutation-79ajbfyg.js} +4 -4
  73. package/dist/chunks/{managed-policy-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{managed-policy-j74g7mqr.js → file-mutation-7jdtyktx.js} +9 -9
  75. package/dist/chunks/{managed-policy-7a12vqq0.js → file-mutation-7jvbf81s.js} +30 -30
  76. package/dist/chunks/{managed-policy-dnt2jfde.js → file-mutation-7q62a8nt.js} +11 -11
  77. package/dist/chunks/{managed-policy-eq6gwms1.js → file-mutation-7tt1yyek.js} +23 -23
  78. package/dist/chunks/{managed-policy-vsbamy9h.js → file-mutation-7y74vpaj.js} +21 -21
  79. package/dist/chunks/{managed-policy-g8ytx0e6.js → file-mutation-7zkbhs7g.js} +11 -11
  80. package/dist/chunks/{managed-policy-w1eejvng.js → file-mutation-84txncab.js} +5 -5
  81. package/dist/chunks/{managed-policy-d8kjn5t6.js → file-mutation-84xy7cmd.js} +3 -3
  82. package/dist/chunks/{managed-policy-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/file-mutation-8fke18e1.js +253 -0
  84. package/dist/chunks/{managed-policy-18ztmhep.js → file-mutation-8gqyy45k.js} +18 -18
  85. package/dist/chunks/{managed-policy-3zbwexce.js → file-mutation-8hkfkb27.js} +8 -8
  86. package/dist/chunks/{managed-policy-dryhn22b.js → file-mutation-8k1b3hgn.js} +20 -20
  87. package/dist/chunks/{managed-policy-46v0s1hp.js → file-mutation-8ne23mfp.js} +15 -15
  88. package/dist/chunks/{managed-policy-1epzdntc.js → file-mutation-90hpmr2t.js} +11 -11
  89. package/dist/chunks/{managed-policy-955wy3qr.js → file-mutation-93cdtzk6.js} +11 -11
  90. package/dist/chunks/{managed-policy-k08ezkqp.js → file-mutation-93t1mf90.js} +11 -11
  91. package/dist/chunks/{managed-policy-eqkxs06z.js → file-mutation-93ygb5af.js} +6 -6
  92. package/dist/chunks/{managed-policy-6m3tp8mj.js → file-mutation-94mz8ebf.js} +29 -29
  93. package/dist/chunks/{managed-policy-975ebawg.js → file-mutation-94qxd8wt.js} +3 -3
  94. package/dist/chunks/{managed-policy-ncj4p4na.js → file-mutation-97jxdyep.js} +46 -46
  95. package/dist/chunks/{managed-policy-9e5bzkjp.js → file-mutation-9e5bzkjp.js} +3 -3
  96. package/dist/chunks/{managed-policy-e8vwfchq.js → file-mutation-9kr929zm.js} +6 -6
  97. package/dist/chunks/{managed-policy-hmgnztse.js → file-mutation-9n9hgcd8.js} +5 -5
  98. package/dist/chunks/{managed-policy-4qqmwkqx.js → file-mutation-9qwqd80z.js} +9 -9
  99. package/dist/chunks/{managed-policy-y2x5y4w5.js → file-mutation-9txt07q0.js} +71 -71
  100. package/dist/chunks/{managed-policy-zggnq27k.js → file-mutation-9xb4p3aq.js} +7 -7
  101. package/dist/chunks/{managed-policy-nrrmpm3c.js → file-mutation-9z4end1d.js} +11 -11
  102. package/dist/chunks/{managed-policy-a2zd3k2n.js → file-mutation-a026aj5z.js} +38 -38
  103. package/dist/chunks/{managed-policy-eq1pz5kg.js → file-mutation-a1gpj94z.js} +3 -3
  104. package/dist/chunks/{managed-policy-4awagc8g.js → file-mutation-a81dbpn4.js} +39 -39
  105. package/dist/chunks/{managed-policy-cavr175a.js → file-mutation-a8bn8zg0.js} +4 -4
  106. package/dist/chunks/{managed-policy-ct2a7kbt.js → file-mutation-a9bm1b1m.js} +39 -39
  107. package/dist/chunks/{managed-policy-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  108. package/dist/chunks/{managed-policy-29garr4v.js → file-mutation-aawfa1p8.js} +1 -1
  109. package/dist/chunks/{managed-policy-k7y67xhs.js → file-mutation-ab0bv3vs.js} +8 -8
  110. package/dist/chunks/{managed-policy-pyfrz2yp.js → file-mutation-agrw7dk4.js} +14 -14
  111. package/dist/chunks/{managed-policy-d8ck81wr.js → file-mutation-anfj9sc3.js} +8 -8
  112. package/dist/chunks/{managed-policy-2ysad2y1.js → file-mutation-awnyytxj.js} +29 -29
  113. package/dist/chunks/{managed-policy-9web0d32.js → file-mutation-awzyrsce.js} +6 -6
  114. package/dist/chunks/{managed-policy-qqcbs79k.js → file-mutation-ayb65py8.js} +6 -6
  115. package/dist/chunks/{managed-policy-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{managed-policy-gws45dxs.js → file-mutation-b6nfqgtw.js} +12 -12
  117. package/dist/chunks/{managed-policy-yj382vm2.js → file-mutation-bj8e23yz.js} +16 -16
  118. package/dist/chunks/{managed-policy-xkhn0stb.js → file-mutation-bmdr62wy.js} +5 -5
  119. package/dist/chunks/{managed-policy-zy43x3f1.js → file-mutation-btbmdjwj.js} +4 -4
  120. package/dist/chunks/{managed-policy-4q8xb7vk.js → file-mutation-bx1kzrbd.js} +26 -26
  121. package/dist/chunks/{managed-policy-dw835dm2.js → file-mutation-bygr0fca.js} +14 -14
  122. package/dist/chunks/{managed-policy-weagkh0e.js → file-mutation-c779czcw.js} +7 -7
  123. package/dist/chunks/{managed-policy-yp4vs6at.js → file-mutation-capa8hmm.js} +8 -8
  124. package/dist/chunks/{managed-policy-jmhp3g8p.js → file-mutation-cdbfhxhg.js} +20 -20
  125. package/dist/chunks/{managed-policy-wq3m38jw.js → file-mutation-cdy1429m.js} +22 -22
  126. package/dist/chunks/{managed-policy-g17w5wg1.js → file-mutation-ceetf7sw.js} +8 -8
  127. package/dist/chunks/{managed-policy-k34ckbn9.js → file-mutation-ceze7etz.js} +3 -3
  128. package/dist/chunks/{managed-policy-qmqgtz8f.js → file-mutation-cwa6csj7.js} +9 -9
  129. package/dist/chunks/{managed-policy-q6w467xr.js → file-mutation-cwsxj1fy.js} +16 -16
  130. package/dist/chunks/{managed-policy-jw2zym28.js → file-mutation-d15mmqf3.js} +14 -14
  131. package/dist/chunks/{managed-policy-txzjavxp.js → file-mutation-d2vx756y.js} +6 -6
  132. package/dist/chunks/{managed-policy-zam9eh49.js → file-mutation-d3gcvv3k.js} +10 -10
  133. package/dist/chunks/{managed-policy-k8k12ca3.js → file-mutation-d7y24xev.js} +13 -13
  134. package/dist/chunks/{managed-policy-kf13yp2f.js → file-mutation-d9ygp6ze.js} +4 -4
  135. package/dist/chunks/{managed-policy-6xn9vhwr.js → file-mutation-dra5cftj.js} +2 -2
  136. package/dist/chunks/{managed-policy-xmvy0rzp.js → file-mutation-dsq8k9r4.js} +29 -29
  137. package/dist/chunks/{managed-policy-w39jehkq.js → file-mutation-dssbfrwz.js} +5 -5
  138. package/dist/chunks/{managed-policy-0eb613mk.js → file-mutation-dx2gcj3s.js} +19 -19
  139. package/dist/chunks/{managed-policy-kc20gndt.js → file-mutation-dzbkcwn2.js} +16 -16
  140. package/dist/chunks/{managed-policy-w7066q4p.js → file-mutation-e2k83wgv.js} +5 -5
  141. package/dist/chunks/{managed-policy-9dgpp9cn.js → file-mutation-e2t1g78s.js} +169 -169
  142. package/dist/chunks/{managed-policy-hspec0h6.js → file-mutation-eea3fma5.js} +26 -26
  143. package/dist/chunks/{managed-policy-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{managed-policy-g4my6z3y.js → file-mutation-ehn96ckv.js} +11 -11
  145. package/dist/chunks/{managed-policy-jqjzdtvy.js → file-mutation-en7r6a3x.js} +11 -11
  146. package/dist/chunks/{managed-policy-qqrjxc2w.js → file-mutation-ep44p4pe.js} +12 -12
  147. package/dist/chunks/{managed-policy-sz0fczdy.js → file-mutation-eqv7r0bw.js} +6 -6
  148. package/dist/chunks/{managed-policy-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{managed-policy-t1xnf4e5.js → file-mutation-exm9kzsb.js} +2 -2
  150. package/dist/chunks/{managed-policy-wxj2pshp.js → file-mutation-f27gt3fb.js} +67 -67
  151. package/dist/chunks/{managed-policy-gw7cjrad.js → file-mutation-f29mbr7f.js} +4 -4
  152. package/dist/chunks/{managed-policy-6ba3xpax.js → file-mutation-f3d9psnk.js} +27 -27
  153. package/dist/chunks/{managed-policy-abx012e0.js → file-mutation-f56msdte.js} +49 -49
  154. package/dist/chunks/{managed-policy-ckf8nxjz.js → file-mutation-f73rjn58.js} +4 -4
  155. package/dist/chunks/{managed-policy-fw3mavjd.js → file-mutation-fbck328a.js} +21 -21
  156. package/dist/chunks/{managed-policy-57kx76x8.js → file-mutation-ft0c77xz.js} +15 -15
  157. package/dist/chunks/{managed-policy-t1ettrb7.js → file-mutation-ftmsc343.js} +15 -15
  158. package/dist/chunks/{managed-policy-chss3y4s.js → file-mutation-g1epjwmz.js} +8 -8
  159. package/dist/chunks/{managed-policy-5tcm9639.js → file-mutation-g31erja1.js} +9 -9
  160. package/dist/chunks/{managed-policy-d6qjz85w.js → file-mutation-g5krbyz9.js} +11 -11
  161. package/dist/chunks/{managed-policy-721zw7bm.js → file-mutation-g60yh954.js} +27 -27
  162. package/dist/chunks/{managed-policy-fzrjnfb3.js → file-mutation-g8srsgrp.js} +5 -5
  163. package/dist/chunks/{managed-policy-x2ntk5yv.js → file-mutation-gapccta5.js} +7 -7
  164. package/dist/chunks/{managed-policy-p4qmxczc.js → file-mutation-gbdpq833.js} +5 -5
  165. package/dist/chunks/{managed-policy-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  166. package/dist/chunks/{managed-policy-dq17f564.js → file-mutation-gez6wwhh.js} +13 -13
  167. package/dist/chunks/{managed-policy-db0nhp4v.js → file-mutation-gka6nvrt.js} +9 -9
  168. package/dist/chunks/{managed-policy-gqtdsdt7.js → file-mutation-gqtdsdt7.js} +1 -1
  169. package/dist/chunks/{managed-policy-c10q7bwq.js → file-mutation-gxxtbefb.js} +26 -26
  170. package/dist/chunks/{managed-policy-65jde4my.js → file-mutation-h0tn9bp1.js} +21 -21
  171. package/dist/chunks/{managed-policy-h2b79v29.js → file-mutation-h2b79v29.js} +2 -2
  172. package/dist/chunks/{managed-policy-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  173. package/dist/chunks/{managed-policy-x8v70qwz.js → file-mutation-hh8qm7ej.js} +16 -16
  174. package/dist/chunks/{managed-policy-e4vaeb0t.js → file-mutation-j3qw8rc6.js} +29 -29
  175. package/dist/chunks/{managed-policy-nhnhrcwq.js → file-mutation-j4dpp98w.js} +23 -23
  176. package/dist/chunks/{managed-policy-1rjc8rx3.js → file-mutation-j4jm9w3p.js} +21 -21
  177. package/dist/chunks/{managed-policy-1rw4rg9z.js → file-mutation-j4k4y6cp.js} +45 -45
  178. package/dist/chunks/{managed-policy-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  179. package/dist/chunks/{managed-policy-93hnm8e8.js → file-mutation-j8k9xj39.js} +26 -26
  180. package/dist/chunks/{managed-policy-cc75tkym.js → file-mutation-jcvj30yp.js} +2 -2
  181. package/dist/chunks/{managed-policy-xe69web5.js → file-mutation-jpqsftmp.js} +35 -35
  182. package/dist/chunks/{managed-policy-nedqmk46.js → file-mutation-k09a0f44.js} +15 -15
  183. package/dist/chunks/{managed-policy-5q13c62c.js → file-mutation-k1qrnqst.js} +8 -8
  184. package/dist/chunks/{managed-policy-119h30qy.js → file-mutation-k66mh8t8.js} +4 -4
  185. package/dist/chunks/{managed-policy-5qwkxp89.js → file-mutation-kb6vbnxp.js} +4 -4
  186. package/dist/chunks/{managed-policy-kmgavk04.js → file-mutation-kc6n47mc.js} +3 -3
  187. package/dist/chunks/file-mutation-kjjjense.js +507 -0
  188. package/dist/chunks/{managed-policy-zjxbxdfv.js → file-mutation-kzrvy21g.js} +12 -12
  189. package/dist/chunks/{managed-policy-145xw1zc.js → file-mutation-m1khtztb.js} +5 -5
  190. package/dist/chunks/{managed-policy-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{managed-policy-df8jaf6d.js → file-mutation-m80q8nre.js} +4 -4
  192. package/dist/chunks/{managed-policy-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{managed-policy-csdd969s.js → file-mutation-mbgxsypk.js} +31 -31
  194. package/dist/chunks/{managed-policy-phtj4jat.js → file-mutation-mbrh99t5.js} +5 -5
  195. package/dist/chunks/{managed-policy-33w4ejhs.js → file-mutation-mfqp6xfm.js} +9 -9
  196. package/dist/chunks/{managed-policy-q335xte2.js → file-mutation-n9vhqagr.js} +26 -26
  197. package/dist/chunks/{managed-policy-0ge1h6kx.js → file-mutation-ngt3qdhm.js} +3 -3
  198. package/dist/chunks/{managed-policy-459mc33k.js → file-mutation-nkh7czpt.js} +24 -24
  199. package/dist/chunks/{managed-policy-dpkg50ah.js → file-mutation-nxm207yx.js} +4 -4
  200. package/dist/chunks/{managed-policy-g0445xdp.js → file-mutation-pa8pe2x7.js} +8 -8
  201. package/dist/chunks/{managed-policy-vzfpntg8.js → file-mutation-peptrfgf.js} +27 -27
  202. package/dist/chunks/{managed-policy-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{managed-policy-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  204. package/dist/chunks/{managed-policy-5j1v3jqf.js → file-mutation-pwk6y6g7.js} +23 -23
  205. package/dist/chunks/{managed-policy-y0mc46pw.js → file-mutation-px76j0pk.js} +9 -9
  206. package/dist/chunks/{managed-policy-q0xm7vwc.js → file-mutation-q0xm7vwc.js} +2 -2
  207. package/dist/chunks/{managed-policy-dzh8x6fa.js → file-mutation-q752a12t.js} +18 -18
  208. package/dist/chunks/{managed-policy-qgn6gcr1.js → file-mutation-qgn6gcr1.js} +1 -1
  209. package/dist/chunks/{managed-policy-r9d9xsbb.js → file-mutation-qkrdv68w.js} +28 -28
  210. package/dist/chunks/{managed-policy-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{managed-policy-k0w7mqt4.js → file-mutation-qpjyd557.js} +13 -13
  212. package/dist/chunks/{managed-policy-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  213. package/dist/chunks/{managed-policy-4c2df9zx.js → file-mutation-qvb3nf84.js} +8 -8
  214. package/dist/chunks/{managed-policy-xyafkbt0.js → file-mutation-qxjc9qry.js} +3 -3
  215. package/dist/chunks/{managed-policy-zgww0ypy.js → file-mutation-qykvrrtg.js} +6 -6
  216. package/dist/chunks/{managed-policy-d9gc1nmt.js → file-mutation-r6s1zymw.js} +29 -29
  217. package/dist/chunks/{managed-policy-rhraev7y.js → file-mutation-r8xr0va3.js} +4 -4
  218. package/dist/chunks/file-mutation-rap9a73h.js +18 -0
  219. package/dist/chunks/{managed-policy-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{managed-policy-wxyynt4w.js → file-mutation-rk1r2hx8.js} +1 -1
  221. package/dist/chunks/{managed-policy-k15k6vrr.js → file-mutation-rpfmaskv.js} +67 -67
  222. package/dist/chunks/{managed-policy-t2fc4mz5.js → file-mutation-ryr25ayn.js} +4 -4
  223. package/dist/chunks/{managed-policy-j1rkkxtq.js → file-mutation-rzg0yy35.js} +11 -11
  224. package/dist/chunks/{managed-policy-5dpktnqk.js → file-mutation-s1gjyzhy.js} +12 -12
  225. package/dist/chunks/{managed-policy-tekbgh3x.js → file-mutation-s1wxmayf.js} +8 -8
  226. package/dist/chunks/{managed-policy-x9xhcyxb.js → file-mutation-s7h584sa.js} +9 -9
  227. package/dist/chunks/{managed-policy-ykty1417.js → file-mutation-sazhseep.js} +11 -11
  228. package/dist/chunks/{managed-policy-8xkqg01v.js → file-mutation-skq3snf0.js} +3 -3
  229. package/dist/chunks/{managed-policy-89c57hn9.js → file-mutation-sxsdhb2f.js} +31 -31
  230. package/dist/chunks/{managed-policy-m64xvjj1.js → file-mutation-sznyev98.js} +5 -5
  231. package/dist/chunks/{managed-policy-06yeazan.js → file-mutation-t6fvfsyt.js} +1 -1
  232. package/dist/chunks/{managed-policy-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{managed-policy-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{managed-policy-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  235. package/dist/chunks/{managed-policy-6gvgb8cz.js → file-mutation-tfj6v96f.js} +44 -44
  236. package/dist/chunks/{managed-policy-h07qkwg0.js → file-mutation-th8qagft.js} +5 -5
  237. package/dist/chunks/{managed-policy-t6ck8tem.js → file-mutation-tmjgp03p.js} +38 -38
  238. package/dist/chunks/{managed-policy-rkprpv83.js → file-mutation-ts23464c.js} +4 -4
  239. package/dist/chunks/{managed-policy-9jrdkbpa.js → file-mutation-v03f7qed.js} +8 -8
  240. package/dist/chunks/{managed-policy-v0es1rhs.js → file-mutation-v0es1rhs.js} +2 -2
  241. package/dist/chunks/{managed-policy-gear7qnb.js → file-mutation-v5azp370.js} +48 -48
  242. package/dist/chunks/{managed-policy-psy48106.js → file-mutation-vc6v0gj3.js} +4 -4
  243. package/dist/chunks/{managed-policy-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  244. package/dist/chunks/{managed-policy-thxbv41p.js → file-mutation-vkt86nx4.js} +18 -18
  245. package/dist/chunks/{managed-policy-a3fmd72w.js → file-mutation-vxmhavab.js} +13 -13
  246. package/dist/chunks/{managed-policy-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{managed-policy-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{managed-policy-drwq78ky.js → file-mutation-w19d8598.js} +7 -7
  249. package/dist/chunks/{managed-policy-vvmfhg21.js → file-mutation-w22zc6e5.js} +26 -26
  250. package/dist/chunks/{managed-policy-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{managed-policy-zt43srwq.js → file-mutation-w48dyk57.js} +9 -9
  252. package/dist/chunks/{managed-policy-5md23d48.js → file-mutation-w6pb9j5w.js} +14 -14
  253. package/dist/chunks/{managed-policy-d3y08a9a.js → file-mutation-w7n29mqq.js} +6 -6
  254. package/dist/chunks/{managed-policy-w973dr2w.js → file-mutation-w7w59cfp.js} +13 -13
  255. package/dist/chunks/{managed-policy-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  256. package/dist/chunks/{managed-policy-qygbw77c.js → file-mutation-wecqtg5s.js} +5 -5
  257. package/dist/chunks/{managed-policy-azks30c4.js → file-mutation-wjmj7svf.js} +21 -21
  258. package/dist/chunks/{managed-policy-4j20dbk1.js → file-mutation-wtr910ek.js} +17 -17
  259. package/dist/chunks/{managed-policy-wv396vej.js → file-mutation-wv396vej.js} +1 -1
  260. package/dist/chunks/{managed-policy-c9863qqk.js → file-mutation-wyahmztr.js} +5 -5
  261. package/dist/chunks/{managed-policy-d6bttsxy.js → file-mutation-wzpg4398.js} +5 -5
  262. package/dist/chunks/{managed-policy-2b2w1tdt.js → file-mutation-x48v3pqg.js} +8 -8
  263. package/dist/chunks/{managed-policy-ms8a7pq0.js → file-mutation-x6n59cg4.js} +11 -11
  264. package/dist/chunks/{managed-policy-xkntkrq7.js → file-mutation-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{managed-policy-8s59b704.js → file-mutation-xtqdhsn8.js} +3 -3
  266. package/dist/chunks/{managed-policy-91wpvk88.js → file-mutation-xz8rcs7k.js} +22 -22
  267. package/dist/chunks/{managed-policy-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{managed-policy-63db42yp.js → file-mutation-y5beyqvm.js} +2 -2
  269. package/dist/chunks/{managed-policy-j5rxtxht.js → file-mutation-y6mhz57t.js} +4 -4
  270. package/dist/chunks/{managed-policy-e315ch6h.js → file-mutation-ybtvq2mj.js} +14 -14
  271. package/dist/chunks/{managed-policy-kqjv8prj.js → file-mutation-yeav80qa.js} +20 -20
  272. package/dist/chunks/{managed-policy-9hwaqfsw.js → file-mutation-ygdna4kr.js} +5 -5
  273. package/dist/chunks/{managed-policy-pkqb68ka.js → file-mutation-yjx32v1s.js} +4 -4
  274. package/dist/chunks/{managed-policy-d8mxbdrt.js → file-mutation-yvd37te7.js} +10 -10
  275. package/dist/chunks/{managed-policy-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{managed-policy-2qqgyr6a.js → file-mutation-z39s51pd.js} +18 -18
  277. package/dist/chunks/{managed-policy-03qxw8pz.js → file-mutation-zkpkevqb.js} +22 -22
  278. package/dist/chunks/{managed-policy-ckgc4dc5.js → file-mutation-zqcjw91e.js} +15 -15
  279. package/dist/chunks/{managed-policy-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{managed-policy-zjb991y7.js → file-mutation-zrtb0087.js} +10 -10
  281. package/dist/chunks/{managed-policy-ss358qx3.js → file-mutation-zx95ftzb.js} +3 -3
  282. package/dist/chunks/{managed-policy-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{managed-policy-nkcpd5b2.js → file-mutation-zy0jt0ey.js} +41 -41
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +115 -115
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +9 -9
  421. package/dist/filesystem.js +100 -100
  422. package/dist/form.js +86 -86
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +1 -1
  453. package/dist/integration/connection.js +1 -1
  454. package/dist/integration.js +85 -85
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +81 -81
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +76 -76
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +100 -100
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +4 -4
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +112 -112
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +80 -80
  553. package/dist/provider.js +97 -97
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +91 -91
  557. package/dist/reference/instructions.js +83 -83
  558. package/dist/reference.js +87 -87
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +3 -3
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +149 -149
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +211 -211
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +125 -125
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +105 -105
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +81 -81
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +201 -201
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +207 -207
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +205 -205
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/managed-policy-619r8v3y.js +0 -18
  681. package/dist/chunks/managed-policy-ewksh3kr.js +0 -26
  682. package/dist/chunks/managed-policy-shrpyp41.js +0 -253
  683. package/dist/chunks/managed-policy-y5760nfk.js +0 -507
  684. /package/dist/chunks/{managed-policy-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{managed-policy-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{managed-policy-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{managed-policy-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{managed-policy-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{managed-policy-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{managed-policy-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{managed-policy-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{managed-policy-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{managed-policy-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{managed-policy-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{managed-policy-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  696. /package/dist/chunks/{managed-policy-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{managed-policy-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{managed-policy-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{managed-policy-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{managed-policy-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{managed-policy-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{managed-policy-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{managed-policy-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{managed-policy-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  705. /package/dist/chunks/{managed-policy-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{managed-policy-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{managed-policy-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  708. /package/dist/chunks/{managed-policy-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{managed-policy-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{managed-policy-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  711. /package/dist/chunks/{managed-policy-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{managed-policy-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{managed-policy-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{managed-policy-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{managed-policy-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{managed-policy-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{managed-policy-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{managed-policy-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{managed-policy-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{managed-policy-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{managed-policy-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{managed-policy-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{managed-policy-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{managed-policy-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{managed-policy-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{managed-policy-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{managed-policy-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{managed-policy-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{managed-policy-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  730. /package/dist/chunks/{managed-policy-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{managed-policy-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{managed-policy-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{managed-policy-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{managed-policy-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{managed-policy-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{managed-policy-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{managed-policy-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{managed-policy-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{managed-policy-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{managed-policy-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{managed-policy-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{managed-policy-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  743. /package/dist/chunks/{managed-policy-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{managed-policy-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  745. /package/dist/chunks/{managed-policy-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{managed-policy-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  747. /package/dist/chunks/{managed-policy-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{managed-policy-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{managed-policy-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{managed-policy-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{managed-policy-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{managed-policy-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{managed-policy-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{managed-policy-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{managed-policy-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{managed-policy-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{managed-policy-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{managed-policy-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{managed-policy-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{managed-policy-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{managed-policy-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{managed-policy-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{managed-policy-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{managed-policy-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{managed-policy-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{managed-policy-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{managed-policy-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{managed-policy-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{managed-policy-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{managed-policy-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{managed-policy-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{managed-policy-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{managed-policy-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  774. /package/dist/chunks/{managed-policy-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{managed-policy-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{managed-policy-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{managed-policy-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{managed-policy-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{managed-policy-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{managed-policy-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node73
4
- } from "./managed-policy-dnt2jfde.js";
3
+ node53
4
+ } from "./file-mutation-7q62a8nt.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./managed-policy-5dpktnqk.js";
6
+ Service83,
7
+ node87
8
+ } from "./file-mutation-s1gjyzhy.js";
9
9
  import {
10
- ID15,
11
- Service75,
12
- node79
13
- } from "./managed-policy-azks30c4.js";
10
+ ID14,
11
+ Service76,
12
+ node80
13
+ } from "./file-mutation-wjmj7svf.js";
14
14
  import {
15
- ID11,
15
+ ID9,
16
16
  OAuth3
17
- } from "./managed-policy-5j1v3jqf.js";
17
+ } from "./file-mutation-pwk6y6g7.js";
18
18
  import {
19
- ID9,
19
+ ID8,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service65,
24
- node68
25
- } from "./managed-policy-93hnm8e8.js";
23
+ Service67,
24
+ node70
25
+ } from "./file-mutation-j8k9xj39.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./managed-policy-z5v4ffb3.js";
28
+ } from "./file-mutation-z5v4ffb3.js";
29
29
  import {
30
30
  Info27,
31
31
  Ref4,
32
32
  Service80,
33
33
  node84
34
- } from "./managed-policy-cc75tkym.js";
34
+ } from "./file-mutation-jcvj30yp.js";
35
35
  import {
36
- ID8,
37
- Service64,
38
- node67
39
- } from "./managed-policy-dm99yka6.js";
36
+ ID7,
37
+ Service66,
38
+ node69
39
+ } from "./file-mutation-77hgjsk3.js";
40
40
  import {
41
- Service62,
42
- node65
43
- } from "./managed-policy-j1rkkxtq.js";
41
+ Service65,
42
+ node68
43
+ } from "./file-mutation-rzg0yy35.js";
44
44
  import {
45
- Service40,
46
- node43
47
- } from "./managed-policy-2qx31yc6.js";
45
+ Service42,
46
+ node45
47
+ } from "./file-mutation-5s0bmr25.js";
48
48
  import {
49
- Service78,
50
- node82
51
- } from "./managed-policy-xs81jx4r.js";
49
+ Service62,
50
+ node65
51
+ } from "./file-mutation-608kr7kb.js";
52
52
  import {
53
- Service79,
54
- node83
55
- } from "./managed-policy-nepz78e5.js";
53
+ Service77,
54
+ node81
55
+ } from "./file-mutation-5qrrcsc2.js";
56
56
  import {
57
- ID7,
58
- Service63,
59
- node66
60
- } from "./managed-policy-2ysad2y1.js";
57
+ ID6,
58
+ Service64,
59
+ node67
60
+ } from "./file-mutation-awnyytxj.js";
61
61
  import {
62
- ID5
63
- } from "./managed-policy-c10q7bwq.js";
62
+ ID10
63
+ } from "./file-mutation-gxxtbefb.js";
64
64
  import {
65
- Service31,
66
- node35
67
- } from "./managed-policy-abx012e0.js";
65
+ Service36,
66
+ node39
67
+ } from "./file-mutation-f56msdte.js";
68
68
  import {
69
- Service76,
70
- node80
71
- } from "./managed-policy-fqtvmpfq.js";
69
+ Service75,
70
+ node79
71
+ } from "./file-mutation-166kng33.js";
72
72
  import {
73
73
  Service72,
74
74
  node76
75
- } from "./managed-policy-zxyy8bfe.js";
75
+ } from "./file-mutation-6136cgh5.js";
76
76
  import {
77
- Service38,
78
- node41
79
- } from "./managed-policy-459mc33k.js";
77
+ Service37,
78
+ node40
79
+ } from "./file-mutation-nkh7czpt.js";
80
80
  import {
81
81
  Source3,
82
- Service41,
83
- node44
84
- } from "./managed-policy-9qhqs605.js";
82
+ Service38,
83
+ node41
84
+ } from "./file-mutation-2sq0rgeb.js";
85
85
  import {
86
- Info22,
87
- Service71,
88
- node75
89
- } from "./managed-policy-4q8xb7vk.js";
86
+ Info14,
87
+ Service50,
88
+ node54
89
+ } from "./file-mutation-bx1kzrbd.js";
90
90
  import {
91
91
  Service24,
92
92
  node27
93
- } from "./managed-policy-y2x5y4w5.js";
93
+ } from "./file-mutation-9txt07q0.js";
94
94
  import {
95
- Service67,
96
- node70
97
- } from "./managed-policy-89c57hn9.js";
95
+ Service21,
96
+ node24
97
+ } from "./file-mutation-sxsdhb2f.js";
98
98
  import {
99
- Service53,
100
- node57
101
- } from "./managed-policy-dbc1qc54.js";
99
+ Service71,
100
+ node75
101
+ } from "./file-mutation-58mk5nmy.js";
102
102
  import {
103
- Service23,
104
- node26
105
- } from "./managed-policy-65jde4my.js";
103
+ Service48,
104
+ node51
105
+ } from "./file-mutation-h0tn9bp1.js";
106
106
  import {
107
- ID6,
108
- Service59,
109
- node62
110
- } from "./managed-policy-bkwdfw9d.js";
107
+ ID4,
108
+ Service47,
109
+ node50
110
+ } from "./file-mutation-68cfq5az.js";
111
111
  import {
112
- Service44,
113
- node47
114
- } from "./managed-policy-thxbv41p.js";
112
+ Service23,
113
+ node26
114
+ } from "./file-mutation-vkt86nx4.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info8,
117
+ Info4,
118
118
  ListEntry3,
119
- Service43,
120
- node46
121
- } from "./managed-policy-xe69web5.js";
119
+ Service22,
120
+ node25
121
+ } from "./file-mutation-jpqsftmp.js";
122
122
  import {
123
- Service60,
124
- node63
125
- } from "./managed-policy-03qxw8pz.js";
123
+ Service52,
124
+ node56
125
+ } from "./file-mutation-zkpkevqb.js";
126
126
  import {
127
127
  __export
128
- } from "./managed-policy-9rqn6x4v.js";
128
+ } from "./file-mutation-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service75;
147
- const aisdk = yield* Service62;
148
- const providers = yield* Service64;
149
- const models = yield* Service63;
150
- const commands = yield* Service40;
151
- const bus = yield* Service82;
152
- const integration = yield* Service65;
153
- const kv = yield* Service78;
154
- const mcp = yield* Service31;
146
+ const agents = yield* Service76;
147
+ const aisdk = yield* Service65;
148
+ const providers = yield* Service66;
149
+ const models = yield* Service64;
150
+ const commands = yield* Service42;
151
+ const bus = yield* Service83;
152
+ const integration = yield* Service67;
153
+ const kv = yield* Service62;
154
+ const mcp = yield* Service36;
155
155
  const location = yield* Service80;
156
- const reference = yield* Service41;
157
- const rpc = yield* Service53;
158
- const skill = yield* Service71;
159
- const tools = yield* Service38;
160
- const vcs = yield* Service23;
161
- const websearch = yield* Service59;
162
- const generate = yield* Service60;
156
+ const reference = yield* Service38;
157
+ const rpc = yield* Service71;
158
+ const skill = yield* Service50;
159
+ const tools = yield* Service37;
160
+ const vcs = yield* Service48;
161
+ const websearch = yield* Service47;
162
+ const generate = yield* Service52;
163
163
  const permission = yield* Service72;
164
- const hooks = yield* Service76;
164
+ const hooks = yield* Service75;
165
165
  const sessions = yield* Service24;
166
- const persistentPty = yield* Service67;
167
- const locations = yield* Service79;
168
- const worktrees = yield* Service43;
169
- const worktreeStrategies = yield* Service44;
166
+ const persistentPty = yield* Service21;
167
+ const locations = yield* Service77;
168
+ const worktrees = yield* Service22;
169
+ const worktreeStrategies = yield* Service23;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info27({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info8);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info4);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
185
  const location = yield* Service80;
186
- const agents = yield* Service75;
186
+ const agents = yield* Service76;
187
187
  return {
188
188
  location: new Info27({
189
189
  directory: location.directory,
@@ -217,10 +217,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID15.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
222
- update: (id, update) => editor.update(ID15.make(id), update),
223
- remove: (id) => editor.remove(ID15.make(id))
220
+ get: (id) => mutable(editor.get(ID14.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID14.make(id)),
222
+ update: (id, update) => editor.update(ID14.make(id), update),
223
+ remove: (id) => editor.remove(ID14.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -254,22 +254,22 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
254
254
  },
255
255
  provider: {
256
256
  list: () => response(providers.available()),
257
- 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)))),
257
+ get: (input) => providers.get(ID7.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
258
  reload: providers.reload,
259
259
  transform: (callback) => providers.transform((editor) => {
260
260
  callback({
261
261
  list: editor.list,
262
- get: (id) => editor.get(ID8.make(id)),
262
+ get: (id) => editor.get(ID7.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID11.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID9.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
- update: (id, update) => editor.update(ID8.make(id), update),
268
- remove: (id) => editor.remove(ID8.make(id)),
267
+ update: (id, update) => editor.update(ID7.make(id), update),
268
+ remove: (id) => editor.remove(ID7.make(id)),
269
269
  models: {
270
- set: (id, models) => editor.models.set(ID8.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID8.make(providerID), ID7.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID8.make(providerID), ID7.make(modelID))
270
+ set: (id, models) => editor.models.set(ID7.make(id), models),
271
+ update: (providerID, modelID, update) => editor.models.update(ID7.make(providerID), ID6.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID7.make(providerID), ID6.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -279,17 +279,17 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
279
279
  default: () => response(models.default()),
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID8.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID8.make(providerID), ID7.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID8.make(providerID), ID7.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID8.make(providerID), ID7.make(modelID)),
282
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID7.make(providerID)),
283
+ get: (providerID, modelID) => editor.get(ID7.make(providerID), ID6.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID7.make(providerID), ID6.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID7.make(providerID), ID6.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID8.make(providerID), ID7.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID7.make(providerID), ID6.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
292
- get: (id) => editor.provider.get(ID8.make(id))
292
+ get: (id) => editor.provider.get(ID7.make(id))
293
293
  }
294
294
  }))
295
295
  },
@@ -312,14 +312,14 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
312
312
  integration: {
313
313
  list: () => response(integration.list()),
314
314
  get: Effect.fn(function* (input) {
315
- const item = yield* integration.get(ID9.make(input.integrationID));
315
+ const item = yield* integration.get(ID8.make(input.integrationID));
316
316
  if (!item)
317
317
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
318
318
  return yield* response(Effect.succeed(item));
319
319
  }),
320
320
  connect: {
321
321
  key: (input) => integration.connection.key({
322
- integrationID: ID9.make(input.integrationID),
322
+ integrationID: ID8.make(input.integrationID),
323
323
  key: input.key,
324
324
  answer: input.answer,
325
325
  label: input.label
@@ -327,60 +327,60 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
327
327
  },
328
328
  oauth: {
329
329
  connect: (input) => response(integration.oauth.connect({
330
- integrationID: ID9.make(input.integrationID),
330
+ integrationID: ID8.make(input.integrationID),
331
331
  methodID: MethodID2.make(input.methodID),
332
332
  answer: input.answer,
333
333
  label: input.label
334
334
  })),
335
335
  status: (input) => response(integration.oauth.status({
336
- integrationID: ID9.make(input.integrationID),
336
+ integrationID: ID8.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })),
339
339
  complete: (input) => integration.oauth.complete({
340
- integrationID: ID9.make(input.integrationID),
340
+ integrationID: ID8.make(input.integrationID),
341
341
  attemptID: AttemptID2.make(input.attemptID),
342
342
  code: input.code
343
343
  }),
344
344
  cancel: (input) => integration.oauth.cancel({
345
- integrationID: ID9.make(input.integrationID),
345
+ integrationID: ID8.make(input.integrationID),
346
346
  attemptID: AttemptID2.make(input.attemptID)
347
347
  })
348
348
  },
349
349
  command: {
350
350
  connect: (input) => response(integration.command.connect({
351
- integrationID: ID9.make(input.integrationID),
351
+ integrationID: ID8.make(input.integrationID),
352
352
  methodID: MethodID2.make(input.methodID),
353
353
  label: input.label
354
354
  })),
355
355
  status: (input) => response(integration.command.status({
356
- integrationID: ID9.make(input.integrationID),
356
+ integrationID: ID8.make(input.integrationID),
357
357
  attemptID: AttemptID2.make(input.attemptID)
358
358
  })),
359
359
  cancel: (input) => integration.command.cancel({
360
- integrationID: ID9.make(input.integrationID),
360
+ integrationID: ID8.make(input.integrationID),
361
361
  attemptID: AttemptID2.make(input.attemptID)
362
362
  })
363
363
  },
364
364
  reload: integration.reload,
365
365
  connection: {
366
- active: (id) => integration.connection.active(ID9.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID11.make(connection.id) } : connection),
366
+ active: (id) => integration.connection.active(ID8.make(id)),
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID9.make(connection.id) } : connection),
368
368
  status: (input) => integration.connection.status({
369
- integrationID: ID9.make(input.integrationID),
370
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID11.make(input.connection.id) } : input.connection,
369
+ integrationID: ID8.make(input.integrationID),
370
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID9.make(input.connection.id) } : input.connection,
371
371
  status: input.status
372
372
  })
373
373
  },
374
374
  transform: (callback) => integration.transform((editor) => {
375
375
  callback({
376
376
  list: () => mutable(editor.list()),
377
- get: (id) => mutable(editor.get(ID9.make(id))),
378
- update: (id, update) => editor.update(ID9.make(id), update),
379
- remove: (id) => editor.remove(ID9.make(id)),
377
+ get: (id) => mutable(editor.get(ID8.make(id))),
378
+ update: (id, update) => editor.update(ID8.make(id), update),
379
+ remove: (id) => editor.remove(ID8.make(id)),
380
380
  method: {
381
- list: (id) => editor.method.list(ID9.make(id)),
381
+ list: (id) => editor.method.list(ID8.make(id)),
382
382
  update: (input) => editor.method.update(methodImplementation(input)),
383
- remove: (id, method) => editor.method.remove(ID9.make(id), Schema.decodeUnknownSync(Method2)(method))
383
+ remove: (id, method) => editor.method.remove(ID8.make(id), Schema.decodeUnknownSync(Method2)(method))
384
384
  }
385
385
  });
386
386
  })
@@ -391,7 +391,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
391
391
  if (ref && !isCurrentLocation(ref))
392
392
  return Effect.gen(function* () {
393
393
  const location = yield* Service80;
394
- const mcp = yield* Service31;
394
+ const mcp = yield* Service36;
395
395
  return {
396
396
  location: new Info27({
397
397
  directory: location.directory,
@@ -442,7 +442,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
442
442
  callback({
443
443
  list: () => mutable(editor.list()),
444
444
  get: editor.get,
445
- add: (value) => editor.add(Schema.decodeUnknownSync(Info22)(value)),
445
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info14)(value)),
446
446
  update: editor.update,
447
447
  remove: editor.remove
448
448
  });
@@ -473,19 +473,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
473
473
  providers: () => response(websearch.providers()),
474
474
  query: (input) => response(websearch.query({
475
475
  query: input.query,
476
- providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
476
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
477
477
  })),
478
478
  reload: websearch.reload,
479
479
  transform: (callback) => websearch.transform((editor) => {
480
480
  callback({
481
481
  add: (definition) => editor.add({
482
- id: ID6.make(definition.id),
482
+ id: ID4.make(definition.id),
483
483
  name: definition.name,
484
484
  execute: definition.execute
485
485
  }),
486
486
  default: {
487
487
  get: editor.default.get,
488
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
488
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
489
489
  }
490
490
  });
491
491
  })
@@ -545,31 +545,31 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
545
545
  return context;
546
546
  });
547
547
  var requirements3 = LayerNode.group([
548
- node73,
549
- node79,
550
- node65,
551
- node67,
552
- node66,
553
- node43,
554
- node86,
548
+ node53,
549
+ node80,
555
550
  node68,
556
- node82,
557
- node35,
551
+ node69,
552
+ node67,
553
+ node45,
554
+ node87,
555
+ node70,
556
+ node65,
557
+ node39,
558
558
  node84,
559
- node44,
560
- node57,
561
- node75,
562
559
  node41,
560
+ node75,
561
+ node54,
562
+ node40,
563
+ node51,
564
+ node50,
565
+ node25,
563
566
  node26,
564
- node62,
565
- node46,
566
- node47,
567
- node63,
567
+ node56,
568
568
  node76,
569
- node80,
569
+ node79,
570
570
  node27,
571
- node70,
572
- node83
571
+ node24,
572
+ node81
573
573
  ]);
574
574
  function storage2(kv, pluginID) {
575
575
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -596,7 +596,7 @@ function methodImplementation(input) {
596
596
  if ("authorize" in input) {
597
597
  const refresh = input.refresh;
598
598
  return {
599
- integrationID: ID9.make(input.integrationID),
599
+ integrationID: ID8.make(input.integrationID),
600
600
  method: { ...input.method, id: MethodID2.make(input.method.id) },
601
601
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
602
602
  if (authorization.mode === "auto") {
@@ -616,18 +616,18 @@ function methodImplementation(input) {
616
616
  }
617
617
  if (input.method.type === "env") {
618
618
  return {
619
- integrationID: ID9.make(input.integrationID),
619
+ integrationID: ID8.make(input.integrationID),
620
620
  method: input.method
621
621
  };
622
622
  }
623
623
  if (input.method.type === "command") {
624
624
  return {
625
- integrationID: ID9.make(input.integrationID),
625
+ integrationID: ID8.make(input.integrationID),
626
626
  method: { ...input.method, id: MethodID2.make(input.method.id) }
627
627
  };
628
628
  }
629
629
  return {
630
- integrationID: ID9.make(input.integrationID),
630
+ integrationID: ID8.make(input.integrationID),
631
631
  method: input.method
632
632
  };
633
633
  }