@opencode/core 0.0.0-dev-21748 → 0.0.0-dev-21761

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +92 -91
  4. package/dist/aisdk.js +98 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/aisdk-00ve6mdn.js +18 -0
  8. package/dist/chunks/{file-retention-wbs5jnf2.js → aisdk-00xj84pr.js} +7 -7
  9. package/dist/chunks/{file-retention-s9zqy389.js → aisdk-01xkvnr3.js} +8 -8
  10. package/dist/chunks/{file-retention-034tev2y.js → aisdk-034tev2y.js} +2 -2
  11. package/dist/chunks/{file-retention-4rnx58kd.js → aisdk-049c72zv.js} +5 -5
  12. package/dist/chunks/{file-retention-z781txa6.js → aisdk-04sye11p.js} +10 -10
  13. package/dist/chunks/{file-retention-8jv5e0ry.js → aisdk-05y9e0hf.js} +2 -2
  14. package/dist/chunks/{file-retention-kd261f9v.js → aisdk-0a71s41t.js} +11 -11
  15. package/dist/chunks/{file-retention-wr3re1en.js → aisdk-0h8y3ex8.js} +4 -4
  16. package/dist/chunks/{file-retention-y31s63n5.js → aisdk-0p25w9ph.js} +6 -6
  17. package/dist/chunks/{file-retention-9gkymt4j.js → aisdk-0p88zpcm.js} +4 -4
  18. package/dist/chunks/{file-retention-58j32a3p.js → aisdk-0teydma5.js} +12 -12
  19. package/dist/chunks/{file-retention-90h4gxms.js → aisdk-12nb02t2.js} +18 -18
  20. package/dist/chunks/{file-retention-1ep2p91f.js → aisdk-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{file-retention-hvtqj62d.js → aisdk-1ja24dq6.js} +22 -22
  22. package/dist/chunks/{file-retention-x6v8tecr.js → aisdk-1qcedexj.js} +83 -83
  23. package/dist/chunks/{file-retention-1x2knyw4.js → aisdk-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{file-retention-rmd2jjvw.js → aisdk-220mdhzb.js} +4 -4
  25. package/dist/chunks/{file-retention-zfcxpxqg.js → aisdk-26j25cha.js} +56 -56
  26. package/dist/chunks/{file-retention-haz7d3nj.js → aisdk-29hrpqng.js} +12 -12
  27. package/dist/chunks/{file-retention-bg38yaka.js → aisdk-2wdrvq6a.js} +45 -45
  28. package/dist/chunks/{file-retention-t6qzkm7d.js → aisdk-2y7eyeza.js} +34 -34
  29. package/dist/chunks/{file-retention-2z1j29yd.js → aisdk-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{file-retention-vq1ppevj.js → aisdk-3416qbwy.js} +8 -8
  31. package/dist/chunks/{file-retention-rw5cqjms.js → aisdk-35fwsjrv.js} +30 -30
  32. package/dist/chunks/{file-retention-0gka690g.js → aisdk-36qx82yz.js} +15 -5
  33. package/dist/chunks/{file-retention-zjrmgn7z.js → aisdk-37geb7z3.js} +17 -17
  34. package/dist/chunks/{file-retention-remxw044.js → aisdk-38shjhjm.js} +1 -1
  35. package/dist/chunks/{file-retention-2mrk5sk4.js → aisdk-3d48af3m.js} +30 -30
  36. package/dist/chunks/{file-retention-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{file-retention-3nnrz6f6.js → aisdk-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{file-retention-w22yp63b.js → aisdk-3p1jq0np.js} +9 -9
  39. package/dist/chunks/{file-retention-h1y7dhnp.js → aisdk-3x08tjx8.js} +9 -9
  40. package/dist/chunks/{file-retention-v3t7qrd6.js → aisdk-3x857x5x.js} +177 -177
  41. package/dist/chunks/{file-retention-x43as62j.js → aisdk-3zycr9qn.js} +20 -20
  42. package/dist/chunks/{file-retention-10jjfj8e.js → aisdk-4bnk94p6.js} +35 -35
  43. package/dist/chunks/{file-retention-nf4f45p9.js → aisdk-4cq5g4wa.js} +40 -40
  44. package/dist/chunks/{file-retention-40x2gp1a.js → aisdk-4e2nnt3c.js} +17 -17
  45. package/dist/chunks/{file-retention-yszz6e3t.js → aisdk-4fwdgzfb.js} +23 -23
  46. package/dist/chunks/{file-retention-wz1jcdgb.js → aisdk-4gyktcna.js} +19 -19
  47. package/dist/chunks/{file-retention-4v008n1t.js → aisdk-4v008n1t.js} +1 -1
  48. package/dist/chunks/{file-retention-4xvmh7wp.js → aisdk-4xvmh7wp.js} +3 -3
  49. package/dist/chunks/{file-retention-2fbg880x.js → aisdk-55ry4qzj.js} +50 -50
  50. package/dist/chunks/{file-retention-pm973k6d.js → aisdk-587x5jpz.js} +4 -4
  51. package/dist/chunks/{file-retention-j21s6pys.js → aisdk-5avxzg1d.js} +12 -12
  52. package/dist/chunks/{file-retention-81xmdkgf.js → aisdk-5cs07f0d.js} +9 -9
  53. package/dist/chunks/{file-retention-jff6x0jb.js → aisdk-5d8bg0wt.js} +4 -4
  54. package/dist/chunks/{file-retention-40za9wsf.js → aisdk-5enarcya.js} +6 -6
  55. package/dist/chunks/{file-retention-pp47ehpg.js → aisdk-5kg1rr73.js} +4 -4
  56. package/dist/chunks/{file-retention-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{file-retention-yydqqga9.js → aisdk-5w1mdqt7.js} +4 -4
  58. package/dist/chunks/{file-retention-rqbwb7q3.js → aisdk-5zr4pxbw.js} +18 -18
  59. package/dist/chunks/{file-retention-nrb1vmgh.js → aisdk-65xt1b15.js} +25 -25
  60. package/dist/chunks/{file-retention-51g9mfss.js → aisdk-6673z0jd.js} +12 -12
  61. package/dist/chunks/{file-retention-6esdw8yj.js → aisdk-6esdw8yj.js} +1 -1
  62. package/dist/chunks/{file-retention-v2bxwf46.js → aisdk-6gveg3af.js} +36 -36
  63. package/dist/chunks/{file-retention-be4vgese.js → aisdk-6gvhtv45.js} +5 -5
  64. package/dist/chunks/{file-retention-xcbr4qhr.js → aisdk-6k4nvbs0.js} +28 -28
  65. package/dist/chunks/{file-retention-2y5s3d4p.js → aisdk-6nw7xe5v.js} +15 -15
  66. package/dist/chunks/{file-retention-6pjqjmy2.js → aisdk-6pjqjmy2.js} +1 -1
  67. package/dist/chunks/{file-retention-bn42ez4f.js → aisdk-6v1bxwq1.js} +15 -15
  68. package/dist/chunks/{file-retention-x3xjyz42.js → aisdk-77j7mfrn.js} +15 -15
  69. package/dist/chunks/{file-retention-a8qqmhn7.js → aisdk-78qdxz5c.js} +10 -10
  70. package/dist/chunks/{file-retention-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{file-retention-xv753k3w.js → aisdk-7gv8tktv.js} +16 -16
  72. package/dist/chunks/{file-retention-vw5yqba1.js → aisdk-7tnvyfx2.js} +21 -21
  73. package/dist/chunks/{file-retention-7w2ypzdf.js → aisdk-7w2ypzdf.js} +1 -1
  74. package/dist/chunks/{file-retention-8y08emeq.js → aisdk-7wxtqqfa.js} +25 -25
  75. package/dist/chunks/{file-retention-b50rsrab.js → aisdk-7xg2jm5b.js} +5 -5
  76. package/dist/chunks/{file-retention-qcv3trs9.js → aisdk-7z013g1v.js} +7 -7
  77. package/dist/chunks/{file-retention-9e6thw54.js → aisdk-80sbmjz5.js} +19 -19
  78. package/dist/chunks/{file-retention-v70qecbj.js → aisdk-87j4n1tv.js} +17 -17
  79. package/dist/chunks/{file-retention-a6zs52qt.js → aisdk-88gdvb0f.js} +12 -12
  80. package/dist/chunks/{file-retention-pc1v25hk.js → aisdk-8bc2ahr8.js} +3 -3
  81. package/dist/chunks/{file-retention-qjgzc4b4.js → aisdk-8jztxfpf.js} +4 -4
  82. package/dist/chunks/{file-retention-dhka8w8f.js → aisdk-8kyn5d4c.js} +5 -5
  83. package/dist/chunks/{file-retention-f5bp1zt3.js → aisdk-8mb6a7e8.js} +23 -23
  84. package/dist/chunks/{file-retention-52m7r17y.js → aisdk-8pme5eag.js} +11 -11
  85. package/dist/chunks/{file-retention-8wtp7s3z.js → aisdk-8wtp7s3z.js} +1 -1
  86. package/dist/chunks/{file-retention-6bqt0z5z.js → aisdk-8wxdtvx4.js} +14 -14
  87. package/dist/chunks/{file-retention-1thmyanr.js → aisdk-8x10f120.js} +25 -25
  88. package/dist/chunks/{file-retention-r2jew814.js → aisdk-8y31xnqm.js} +5 -5
  89. package/dist/chunks/{file-retention-91rj84md.js → aisdk-91rj84md.js} +1 -1
  90. package/dist/chunks/{file-retention-998yhzzq.js → aisdk-998yhzzq.js} +3 -3
  91. package/dist/chunks/{file-retention-jjyvd6es.js → aisdk-9a91xz6j.js} +32 -32
  92. package/dist/chunks/{file-retention-qv2ex6zx.js → aisdk-9c04767k.js} +12 -12
  93. package/dist/chunks/{file-retention-3xv5yes5.js → aisdk-9cbnrx2n.js} +6 -6
  94. package/dist/chunks/aisdk-9dkfkrqe.js +257 -0
  95. package/dist/chunks/{file-retention-wzwsv8q3.js → aisdk-9grvd76r.js} +8 -8
  96. package/dist/chunks/{file-retention-jy10t676.js → aisdk-9zz0xvdb.js} +21 -21
  97. package/dist/chunks/{file-retention-tth2ngyv.js → aisdk-a4c7tjfz.js} +57 -57
  98. package/dist/chunks/{file-retention-s774txbb.js → aisdk-a60wbeh3.js} +28 -28
  99. package/dist/chunks/{file-retention-etc4v71r.js → aisdk-a9eckmg9.js} +11 -11
  100. package/dist/chunks/{file-retention-xs35f6gm.js → aisdk-abr9m9q2.js} +15 -15
  101. package/dist/chunks/aisdk-ag1sebv8.js +111 -0
  102. package/dist/chunks/{file-retention-4yyqx4s3.js → aisdk-ajz4j5wg.js} +1 -1
  103. package/dist/chunks/{file-retention-3mgb105e.js → aisdk-apd5jra7.js} +9 -9
  104. package/dist/chunks/{file-retention-mtpeagzc.js → aisdk-arz7hw7x.js} +3 -3
  105. package/dist/chunks/{file-retention-10s4rp80.js → aisdk-ax2hm835.js} +46 -46
  106. package/dist/chunks/{file-retention-yh5vc5ym.js → aisdk-axmgkvat.js} +16 -16
  107. package/dist/chunks/{file-retention-hmhshprh.js → aisdk-aybq7ad1.js} +8 -8
  108. package/dist/chunks/{file-retention-ayjs7tqn.js → aisdk-ayjs7tqn.js} +2 -2
  109. package/dist/chunks/{file-retention-b0mv4wxm.js → aisdk-b0mv4wxm.js} +2 -2
  110. package/dist/chunks/{file-retention-nm20qxyr.js → aisdk-b0v3gy1q.js} +18 -18
  111. package/dist/chunks/{file-retention-5nnwax6m.js → aisdk-b6vsg801.js} +5 -5
  112. package/dist/chunks/{file-retention-tthyd1ww.js → aisdk-b9zkcqt6.js} +10 -10
  113. package/dist/chunks/{file-retention-j4rz9p31.js → aisdk-bkc2tac9.js} +11 -11
  114. package/dist/chunks/{file-retention-wkcmpner.js → aisdk-br70t734.js} +6 -6
  115. package/dist/chunks/{file-retention-bstexjd6.js → aisdk-bstexjd6.js} +1 -1
  116. package/dist/chunks/{file-retention-tpdxm5tk.js → aisdk-bsym7w2k.js} +6 -6
  117. package/dist/chunks/{file-retention-k5qr9t5z.js → aisdk-c3f7s1z4.js} +5 -5
  118. package/dist/chunks/{file-retention-06443jab.js → aisdk-c84xww2z.js} +3 -3
  119. package/dist/chunks/{file-retention-zvp9t4zy.js → aisdk-cd1mybd7.js} +33 -33
  120. package/dist/chunks/{file-retention-7b6m6kjp.js → aisdk-ckpcc1p6.js} +21 -21
  121. package/dist/chunks/{file-retention-b4ay2ffd.js → aisdk-cq35sb18.js} +40 -40
  122. package/dist/chunks/{file-retention-895yj7sv.js → aisdk-csbefy86.js} +41 -41
  123. package/dist/chunks/{file-retention-6phpkkwx.js → aisdk-d0a8twh9.js} +12 -12
  124. package/dist/chunks/{file-retention-d4v9tmah.js → aisdk-d4v9tmah.js} +2 -2
  125. package/dist/chunks/{file-retention-8d2bz6m6.js → aisdk-ddvn7d3w.js} +8 -8
  126. package/dist/chunks/{file-retention-wvskh021.js → aisdk-dg7jpt9k.js} +18 -18
  127. package/dist/chunks/{file-retention-h401316e.js → aisdk-dgyr5e3n.js} +54 -47
  128. package/dist/chunks/{file-retention-jj9caqwr.js → aisdk-djwtgbda.js} +8 -8
  129. package/dist/chunks/{file-retention-vq7nwj9a.js → aisdk-dpaznkka.js} +29 -29
  130. package/dist/chunks/{file-retention-78etnvtx.js → aisdk-dzz03wkf.js} +9 -9
  131. package/dist/chunks/{file-retention-y2tacs4v.js → aisdk-e5dqjz6v.js} +6 -6
  132. package/dist/chunks/{file-retention-0txt22rj.js → aisdk-e7f9c5nc.js} +5 -5
  133. package/dist/chunks/{file-retention-e834z07m.js → aisdk-e834z07m.js} +1 -1
  134. package/dist/chunks/{file-retention-wyzcntk3.js → aisdk-ebzzn2wv.js} +43 -43
  135. package/dist/chunks/{file-retention-wqscedq8.js → aisdk-eg2ky145.js} +4 -4
  136. package/dist/chunks/{file-retention-ry63fkbp.js → aisdk-eg4538tj.js} +6 -6
  137. package/dist/chunks/{file-retention-x3t9xer4.js → aisdk-eq3fc1qc.js} +5 -5
  138. package/dist/chunks/{file-retention-c03k9zs8.js → aisdk-er6r66k3.js} +28 -28
  139. package/dist/chunks/{file-retention-wetwfxab.js → aisdk-ewvn0npq.js} +17 -17
  140. package/dist/chunks/{file-retention-xvs21e7s.js → aisdk-f2h28766.js} +11 -11
  141. package/dist/chunks/{file-retention-ny5fjnrw.js → aisdk-f3esefgg.js} +19 -19
  142. package/dist/chunks/{file-retention-sgj3v8j3.js → aisdk-f6nndrrh.js} +24 -24
  143. package/dist/chunks/aisdk-fffr9x0a.js +26 -0
  144. package/dist/chunks/{file-retention-fffv3p7h.js → aisdk-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{file-retention-rbhan2a8.js → aisdk-fs61zt0f.js} +40 -40
  146. package/dist/chunks/{file-retention-spxhva7x.js → aisdk-fsgf2sts.js} +13 -13
  147. package/dist/chunks/{file-retention-an0ed0qm.js → aisdk-fvh2vv9m.js} +24 -24
  148. package/dist/chunks/{file-retention-dx9hwm58.js → aisdk-g0ca4n64.js} +15 -15
  149. package/dist/chunks/{file-retention-g5h9c0rr.js → aisdk-g5h9c0rr.js} +2 -2
  150. package/dist/chunks/{file-retention-vrcsa8qx.js → aisdk-gcjdgkn2.js} +9 -9
  151. package/dist/chunks/{file-retention-fvgj1da1.js → aisdk-gfk8shh2.js} +7 -7
  152. package/dist/chunks/{file-retention-fyg8cwdt.js → aisdk-gggmd2rh.js} +14 -14
  153. package/dist/chunks/{file-retention-qx10fapg.js → aisdk-grnky8r7.js} +21 -21
  154. package/dist/chunks/{file-retention-sbexhbnh.js → aisdk-gy7s430a.js} +11 -11
  155. package/dist/chunks/{file-retention-96zt377w.js → aisdk-h6vh40gh.js} +31 -31
  156. package/dist/chunks/{file-retention-1b000e53.js → aisdk-h7pdcx31.js} +49 -49
  157. package/dist/chunks/{file-retention-b69pzmrp.js → aisdk-h83fqc2v.js} +32 -32
  158. package/dist/chunks/{file-retention-nkr5r85d.js → aisdk-hhafapa0.js} +2 -2
  159. package/dist/chunks/{file-retention-hamx4eyd.js → aisdk-hpdmknzn.js} +13 -13
  160. package/dist/chunks/{file-retention-w1j6kydb.js → aisdk-hv6j6j2x.js} +14 -14
  161. package/dist/chunks/{file-retention-12vgd738.js → aisdk-hvssq0y7.js} +4 -4
  162. package/dist/chunks/{file-retention-j113cymg.js → aisdk-j113cymg.js} +1 -1
  163. package/dist/chunks/{file-retention-zpr39raf.js → aisdk-j2t5kkxj.js} +24 -24
  164. package/dist/chunks/{file-retention-a1kcf5d2.js → aisdk-j43965rx.js} +9 -9
  165. package/dist/chunks/{file-retention-5tdnk8gt.js → aisdk-j461w920.js} +32 -32
  166. package/dist/chunks/{file-retention-6zzg071e.js → aisdk-j61vbze9.js} +7 -7
  167. package/dist/chunks/{file-retention-jfp7edqe.js → aisdk-jawg49hk.js} +20 -20
  168. package/dist/chunks/{file-retention-pv64vp27.js → aisdk-jtpvmkzs.js} +11 -11
  169. package/dist/chunks/{file-retention-d2ckxhpm.js → aisdk-k3a9bzeg.js} +22 -22
  170. package/dist/chunks/{file-retention-qada39n4.js → aisdk-k63vy0cm.js} +3 -3
  171. package/dist/chunks/{file-retention-k814nvkf.js → aisdk-k814nvkf.js} +1 -1
  172. package/dist/chunks/{file-retention-ap543zt0.js → aisdk-kcp9cvk2.js} +28 -28
  173. package/dist/chunks/{file-retention-41ae5eq3.js → aisdk-kfwzpye5.js} +5 -5
  174. package/dist/chunks/{file-retention-0pv52n9j.js → aisdk-kgwvpfhe.js} +16 -16
  175. package/dist/chunks/{file-retention-dbvdvcnm.js → aisdk-kpx1d59m.js} +18 -18
  176. package/dist/chunks/{file-retention-cebdmmc8.js → aisdk-kwfd8efh.js} +10 -10
  177. package/dist/chunks/{file-retention-m1714858.js → aisdk-m1714858.js} +1 -1
  178. package/dist/chunks/{file-retention-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{file-retention-maspj1v3.js → aisdk-maspj1v3.js} +1 -1
  180. package/dist/chunks/{file-retention-5e27t7kq.js → aisdk-mb36f359.js} +36 -36
  181. package/dist/chunks/{file-retention-c3cfh5w6.js → aisdk-mmkbt6v3.js} +9 -9
  182. package/dist/chunks/{file-retention-0t1mekc8.js → aisdk-mqzq7ps5.js} +8 -8
  183. package/dist/chunks/{file-retention-c9t2ty9q.js → aisdk-mtkfycnh.js} +4 -4
  184. package/dist/chunks/{file-retention-n0p0277s.js → aisdk-n0p0277s.js} +1 -1
  185. package/dist/chunks/{file-retention-gnswcmy6.js → aisdk-n3y3wd5f.js} +4 -4
  186. package/dist/chunks/{file-retention-6ejhvxx1.js → aisdk-n8da7heg.js} +32 -32
  187. package/dist/chunks/{file-retention-nah043kf.js → aisdk-nah043kf.js} +1 -1
  188. package/dist/chunks/{file-retention-fy85b4j6.js → aisdk-nefstypy.js} +12 -12
  189. package/dist/chunks/{file-retention-qer95tax.js → aisdk-nnp54cts.js} +16 -16
  190. package/dist/chunks/{file-retention-p015t6z3.js → aisdk-p015t6z3.js} +2 -2
  191. package/dist/chunks/{file-retention-9wrzmk82.js → aisdk-p7pnaddp.js} +9 -9
  192. package/dist/chunks/{file-retention-g6hpx9wf.js → aisdk-pdfka3qf.js} +11 -11
  193. package/dist/chunks/{file-retention-d1fhw6xp.js → aisdk-pft6njjq.js} +21 -21
  194. package/dist/chunks/{file-retention-yyqm007w.js → aisdk-pgh89q3r.js} +9 -9
  195. package/dist/chunks/{file-retention-706d41vq.js → aisdk-pj44ejs4.js} +21 -21
  196. package/dist/chunks/{file-retention-pknna89w.js → aisdk-pknna89w.js} +1 -1
  197. package/dist/chunks/{file-retention-e45fk36t.js → aisdk-prd8gnhb.js} +4 -4
  198. package/dist/chunks/{file-retention-zjzg4f6c.js → aisdk-q1z4kk8n.js} +4 -4
  199. package/dist/chunks/{file-retention-m463fjkb.js → aisdk-q3drqv0m.js} +10 -10
  200. package/dist/chunks/{file-retention-yg7ytxzr.js → aisdk-q409csbg.js} +11 -11
  201. package/dist/chunks/{file-retention-nbkd2rx6.js → aisdk-q5ewbhp3.js} +12 -12
  202. package/dist/chunks/{file-retention-4944f0f3.js → aisdk-q7ke1em1.js} +3 -3
  203. package/dist/chunks/{file-retention-nk9n5r8p.js → aisdk-q9aq9fqv.js} +15 -15
  204. package/dist/chunks/{file-retention-n0wndcqz.js → aisdk-q9epxj2b.js} +37 -37
  205. package/dist/chunks/{file-retention-t5qy80th.js → aisdk-qacamjxb.js} +16 -16
  206. package/dist/chunks/{file-retention-7p5j3bg8.js → aisdk-qm80d3sz.js} +18 -18
  207. package/dist/chunks/{file-retention-y81yjmmg.js → aisdk-qsqxvd8d.js} +16 -16
  208. package/dist/chunks/{file-retention-v3vpydwx.js → aisdk-qx09r870.js} +20 -20
  209. package/dist/chunks/{file-retention-e7h3kv1s.js → aisdk-qyrdhqaa.js} +27 -27
  210. package/dist/chunks/{file-retention-aydsvzbb.js → aisdk-r0td1pez.js} +14 -14
  211. package/dist/chunks/{file-retention-r0yr0wbs.js → aisdk-r0yr0wbs.js} +1 -1
  212. package/dist/chunks/{file-retention-1mn7gzbb.js → aisdk-r892vp5m.js} +44 -44
  213. package/dist/chunks/{file-retention-rb9dy4dg.js → aisdk-rb9dy4dg.js} +1 -1
  214. package/dist/chunks/{file-retention-t9mb6c21.js → aisdk-rfd5kqhk.js} +4 -4
  215. package/dist/chunks/aisdk-rmezgp6m.js +517 -0
  216. package/dist/chunks/{file-retention-ar2j3j0f.js → aisdk-rrad2nt9.js} +4 -4
  217. package/dist/chunks/{file-retention-byrp127m.js → aisdk-rrfmzwpm.js} +4 -4
  218. package/dist/chunks/{file-retention-rt5dr6hb.js → aisdk-rt5dr6hb.js} +1 -1
  219. package/dist/chunks/{file-retention-7ax5pvs2.js → aisdk-rytxqrsr.js} +20 -20
  220. package/dist/chunks/{file-retention-jv443j8m.js → aisdk-s2p0a5nx.js} +14 -14
  221. package/dist/chunks/{file-retention-mh30raav.js → aisdk-s99p9jh6.js} +8 -6
  222. package/dist/chunks/aisdk-sa3fpqfw.js +46 -0
  223. package/dist/chunks/{file-retention-8q24scts.js → aisdk-sa8jxy57.js} +17 -17
  224. package/dist/chunks/{file-retention-kkgp9ksj.js → aisdk-sc3bsvgm.js} +32 -32
  225. package/dist/chunks/{file-retention-ncfxqt3s.js → aisdk-shn52zna.js} +10 -10
  226. package/dist/chunks/{file-retention-sqjzf8x2.js → aisdk-sqjzf8x2.js} +1 -1
  227. package/dist/chunks/{file-retention-j1jygztj.js → aisdk-srazx2b7.js} +30 -30
  228. package/dist/chunks/{file-retention-sdgwjry1.js → aisdk-ss04k2gg.js} +47 -47
  229. package/dist/chunks/{file-retention-bx2edf7r.js → aisdk-syjzf9mk.js} +19 -19
  230. package/dist/chunks/{file-retention-p4j299q5.js → aisdk-szkfmpq9.js} +17 -17
  231. package/dist/chunks/{file-retention-j22gxa80.js → aisdk-szxd9w50.js} +30 -30
  232. package/dist/chunks/{file-retention-nk9akxx5.js → aisdk-t60595ww.js} +2 -2
  233. package/dist/chunks/{file-retention-jz4cjtb2.js → aisdk-t9yxd4g7.js} +4 -4
  234. package/dist/chunks/{file-retention-tczq8hjw.js → aisdk-tczq8hjw.js} +1 -1
  235. package/dist/chunks/{file-retention-8h66aeq1.js → aisdk-tq0qt55e.js} +17 -17
  236. package/dist/chunks/{file-retention-kfd0jx8z.js → aisdk-tsgcpws0.js} +20 -20
  237. package/dist/chunks/{file-retention-tw8zr1ps.js → aisdk-tw8zr1ps.js} +1 -1
  238. package/dist/chunks/{file-retention-twv2r8f4.js → aisdk-twv2r8f4.js} +2 -2
  239. package/dist/chunks/{file-retention-bar9hexn.js → aisdk-tz9bjn7r.js} +6 -6
  240. package/dist/chunks/{file-retention-s8tktxtj.js → aisdk-v2e82ypn.js} +13 -13
  241. package/dist/chunks/{file-retention-v2r1d0zg.js → aisdk-v2r1d0zg.js} +1 -1
  242. package/dist/chunks/{file-retention-3xbbjsgy.js → aisdk-v2ywx7d9.js} +17 -17
  243. package/dist/chunks/{file-retention-qgqvdsez.js → aisdk-v9b1jn8p.js} +21 -21
  244. package/dist/chunks/{file-retention-0syxcydp.js → aisdk-v9esy932.js} +11 -11
  245. package/dist/chunks/{file-retention-p7vhpwh8.js → aisdk-v9ez2kgh.js} +5 -5
  246. package/dist/chunks/{file-retention-jbkw413w.js → aisdk-vbhy04yp.js} +8 -8
  247. package/dist/chunks/{file-retention-vd3b3yk9.js → aisdk-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{file-retention-jtgyhacv.js → aisdk-ve5z042r.js} +27 -27
  249. package/dist/chunks/{file-retention-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  250. package/dist/chunks/{file-retention-8v2hjwdb.js → aisdk-vf2v61ts.js} +28 -28
  251. package/dist/chunks/{file-retention-bbfkmt36.js → aisdk-vh0jeg5q.js} +22 -22
  252. package/dist/chunks/{file-retention-vmfhgzt5.js → aisdk-vmfhgzt5.js} +1 -1
  253. package/dist/chunks/{file-retention-dvgja063.js → aisdk-vspp8v6d.js} +6 -6
  254. package/dist/chunks/{file-retention-wj0whgje.js → aisdk-vzarcnq3.js} +16 -16
  255. package/dist/chunks/{file-retention-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{file-retention-etzytfjk.js → aisdk-w4c0j6zg.js} +24 -24
  257. package/dist/chunks/{file-retention-76cb1hcw.js → aisdk-w8qtt4th.js} +4 -4
  258. package/dist/chunks/{file-retention-wakvkjy4.js → aisdk-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{file-retention-wd87259q.js → aisdk-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-retention-gsgdtt07.js → aisdk-wezhzhbw.js} +15 -15
  261. package/dist/chunks/{file-retention-j4qs9z9f.js → aisdk-whhz53d6.js} +23 -23
  262. package/dist/chunks/{file-retention-ex2ghmgq.js → aisdk-wp4rg1a9.js} +5 -5
  263. package/dist/chunks/{file-retention-na0a39nw.js → aisdk-ws84jjae.js} +49 -49
  264. package/dist/chunks/{file-retention-4xj5yeb9.js → aisdk-x0v1qxj5.js} +15 -15
  265. package/dist/chunks/{file-retention-vb1h3fk1.js → aisdk-x4r9ezkk.js} +6 -6
  266. package/dist/chunks/{file-retention-pjw5exqh.js → aisdk-x7vk9p31.js} +11 -11
  267. package/dist/chunks/{file-retention-n2zgan0r.js → aisdk-x8n50tyc.js} +11 -11
  268. package/dist/chunks/{file-retention-c8666r4c.js → aisdk-xkympmbz.js} +6 -6
  269. package/dist/chunks/{file-retention-004rgtvd.js → aisdk-xrwhez4s.js} +7 -7
  270. package/dist/chunks/{file-retention-fjbza28h.js → aisdk-xvdmjtkf.js} +87 -87
  271. package/dist/chunks/{file-retention-8q4csfv6.js → aisdk-xwbr60jz.js} +8 -8
  272. package/dist/chunks/{file-retention-9aytyba7.js → aisdk-y1tjw70v.js} +8 -8
  273. package/dist/chunks/{file-retention-e5qrk7kc.js → aisdk-y89skamq.js} +35 -35
  274. package/dist/chunks/{file-retention-yb20nhc3.js → aisdk-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{file-retention-27g2d1zk.js → aisdk-yjwcb63e.js} +9 -9
  276. package/dist/chunks/{file-retention-vdrf2z40.js → aisdk-yk9hzv9x.js} +23 -23
  277. package/dist/chunks/{file-retention-8775xmr7.js → aisdk-ypr958tt.js} +15 -15
  278. package/dist/chunks/{file-retention-3js5sq8v.js → aisdk-yr1nt44v.js} +5 -5
  279. package/dist/chunks/{file-retention-2yeqtm01.js → aisdk-yyb821fg.js} +23 -23
  280. package/dist/chunks/{file-retention-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{file-retention-h1eg3vk4.js → aisdk-z0dwwj88.js} +22 -22
  282. package/dist/chunks/{file-retention-z38nccrw.js → aisdk-z38nccrw.js} +1 -1
  283. package/dist/chunks/{file-retention-zkg84ctx.js → aisdk-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{file-retention-fx2h2ek3.js → aisdk-zmr7x0ed.js} +4 -4
  285. package/dist/chunks/{file-retention-sjx4qwkt.js → aisdk-zp2rbezs.js} +11 -11
  286. package/dist/chunks/{file-retention-pd5s7czc.js → aisdk-zyzsrgv4.js} +11 -11
  287. package/dist/chunks/{file-retention-a9kms1wj.js → aisdk-zzwtngp7.js} +5 -5
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +87 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +102 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +105 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +95 -94
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +96 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +98 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +107 -106
  416. package/dist/file-mutation.js +97 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +105 -104
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +90 -89
  432. package/dist/generate.js +108 -107
  433. package/dist/git.js +11 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +102 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +88 -87
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +106 -105
  467. package/dist/location-service-map.js +89 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +92 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +94 -93
  472. package/dist/mcp/index.js +106 -105
  473. package/dist/mcp/instructions.js +141 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +93 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +102 -101
  479. package/dist/model-resolver.js +104 -103
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +103 -102
  482. package/dist/models-dev.js +104 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +116 -115
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +92 -92
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +105 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +5 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +99 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +5 -3
  503. package/dist/plugin/plan.js +105 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +93 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +96 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +98 -97
  518. package/dist/plugin/provider/gitlab.js +96 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +95 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +93 -92
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +101 -100
  531. package/dist/plugin/provider/openrouter.js +94 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +94 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +93 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +94 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +168 -168
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +349 -349
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +89 -88
  551. package/dist/plugin/vcs/hg.js +89 -88
  552. package/dist/plugin/verbosity.js +96 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +93 -92
  565. package/dist/provider.js +104 -103
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +101 -101
  569. package/dist/reference/instructions.js +92 -91
  570. package/dist/reference.js +92 -91
  571. package/dist/repository-cache.js +84 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +98 -97
  575. package/dist/rpc.js +89 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +137 -136
  580. package/dist/session/context.js +165 -164
  581. package/dist/session/diff.js +91 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +131 -130
  587. package/dist/session/generate.js +165 -164
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +93 -93
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +96 -95
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +123 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +133 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +108 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +97 -96
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +229 -229
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +103 -102
  608. package/dist/session/runner/publish-llm-event.js +117 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +127 -126
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +163 -163
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +106 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +163 -162
  623. package/dist/session/to-session-error.js +115 -114
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +110 -109
  634. package/dist/skill.js +113 -112
  635. package/dist/snapshot.js +94 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +138 -137
  640. package/dist/tool/plugin/edit.js +123 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +127 -126
  643. package/dist/tool/plugin/grep.js +127 -126
  644. package/dist/tool/plugin/mcp-resource.js +127 -126
  645. package/dist/tool/plugin/opencode.js +112 -111
  646. package/dist/tool/plugin/patch.js +123 -122
  647. package/dist/tool/plugin/question.js +104 -103
  648. package/dist/tool/plugin/read.js +128 -127
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +112 -111
  651. package/dist/tool/plugin/subagent.js +217 -217
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +114 -113
  654. package/dist/tool/plugin/websearch.js +115 -114
  655. package/dist/tool/plugin/write.js +125 -124
  656. package/dist/tool/read-filesystem.js +103 -102
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +12 -12
  660. package/dist/types/plugin/optimize.d.ts +26 -0
  661. package/dist/types/util/git-executable.d.ts +6 -2
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/git-executable.js +5 -2
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +95 -94
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +96 -95
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +92 -91
  680. package/dist/voice.js +90 -90
  681. package/dist/websearch.js +80 -80
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +83 -83
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +84 -84
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +11 -10
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +92 -91
  691. package/dist/worktree.js +101 -100
  692. package/package.json +8 -8
  693. package/dist/chunks/file-retention-0y56atyb.js +0 -257
  694. package/dist/chunks/file-retention-6zjm2phc.js +0 -18
  695. package/dist/chunks/file-retention-8rzgfn7k.js +0 -26
  696. package/dist/chunks/file-retention-bjec6aaf.js +0 -82
  697. package/dist/chunks/file-retention-ef5x83kb.js +0 -15
  698. package/dist/chunks/file-retention-x90fzfq6.js +0 -517
  699. /package/dist/chunks/{file-retention-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{file-retention-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{file-retention-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{file-retention-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{file-retention-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{file-retention-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{file-retention-2bv980vf.js → aisdk-2bv980vf.js} +0 -0
  706. /package/dist/chunks/{file-retention-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{file-retention-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{file-retention-3asan66x.js → aisdk-3asan66x.js} +0 -0
  709. /package/dist/chunks/{file-retention-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{file-retention-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{file-retention-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{file-retention-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{file-retention-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{file-retention-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{file-retention-53557ph1.js → aisdk-53557ph1.js} +0 -0
  716. /package/dist/chunks/{file-retention-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{file-retention-5fjb7ams.js → aisdk-5fjb7ams.js} +0 -0
  718. /package/dist/chunks/{file-retention-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{file-retention-6prwharc.js → aisdk-6prwharc.js} +0 -0
  720. /package/dist/chunks/{file-retention-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
  721. /package/dist/chunks/{file-retention-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{file-retention-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{file-retention-822emrt2.js → aisdk-822emrt2.js} +0 -0
  724. /package/dist/chunks/{file-retention-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
  725. /package/dist/chunks/{file-retention-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{file-retention-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{file-retention-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{file-retention-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{file-retention-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{file-retention-a058387c.js → aisdk-a058387c.js} +0 -0
  731. /package/dist/chunks/{file-retention-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{file-retention-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{file-retention-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{file-retention-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{file-retention-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{file-retention-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{file-retention-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{file-retention-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{file-retention-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{file-retention-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{file-retention-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{file-retention-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{file-retention-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{file-retention-df08tz66.js → aisdk-df08tz66.js} +0 -0
  745. /package/dist/chunks/{file-retention-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{file-retention-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{file-retention-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{file-retention-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{file-retention-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{file-retention-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{file-retention-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{file-retention-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{file-retention-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{file-retention-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{file-retention-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{file-retention-g86h250q.js → aisdk-g86h250q.js} +0 -0
  757. /package/dist/chunks/{file-retention-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{file-retention-gftt206x.js → aisdk-gftt206x.js} +0 -0
  759. /package/dist/chunks/{file-retention-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
  760. /package/dist/chunks/{file-retention-hk9envan.js → aisdk-hk9envan.js} +0 -0
  761. /package/dist/chunks/{file-retention-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{file-retention-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{file-retention-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{file-retention-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{file-retention-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{file-retention-jze0r7bz.js → aisdk-jze0r7bz.js} +0 -0
  767. /package/dist/chunks/{file-retention-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{file-retention-m18g726c.js → aisdk-m18g726c.js} +0 -0
  769. /package/dist/chunks/{file-retention-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{file-retention-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{file-retention-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{file-retention-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{file-retention-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{file-retention-pkyv6v7h.js → aisdk-pkyv6v7h.js} +0 -0
  775. /package/dist/chunks/{file-retention-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{file-retention-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{file-retention-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{file-retention-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{file-retention-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{file-retention-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{file-retention-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{file-retention-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{file-retention-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{file-retention-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{file-retention-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
  786. /package/dist/chunks/{file-retention-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{file-retention-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{file-retention-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{file-retention-wjj7prxr.js → aisdk-wjj7prxr.js} +0 -0
  790. /package/dist/chunks/{file-retention-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{file-retention-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{file-retention-x61499pn.js → aisdk-x61499pn.js} +0 -0
  793. /package/dist/chunks/{file-retention-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{file-retention-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{file-retention-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{file-retention-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{file-retention-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
  798. /package/dist/chunks/{file-retention-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./file-retention-06443jab.js";
4
+ } from "./aisdk-c84xww2z.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./file-retention-byrp127m.js";
8
+ } from "./aisdk-rrfmzwpm.js";
9
9
  import {
10
- Service50,
11
- node53
12
- } from "./file-retention-wj0whgje.js";
10
+ Service52,
11
+ node54
12
+ } from "./aisdk-vzarcnq3.js";
13
13
  import {
14
- Service48,
15
- node51
16
- } from "./file-retention-3xv5yes5.js";
14
+ Service39,
15
+ node41
16
+ } from "./aisdk-9cbnrx2n.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-retention-ec1grn59.js";
19
+ } from "./aisdk-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./file-retention-c9t2ty9q.js";
21
+ make15
22
+ } from "./aisdk-mtkfycnh.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service46
26
- } from "./file-retention-e45fk36t.js";
25
+ Service36
26
+ } from "./aisdk-prd8gnhb.js";
27
27
  import {
28
- Service77,
29
- node80
30
- } from "./file-retention-nbkd2rx6.js";
28
+ Service64,
29
+ node68
30
+ } from "./aisdk-q5ewbhp3.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./file-retention-4rnx58kd.js";
33
+ } from "./aisdk-049c72zv.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./file-retention-wetwfxab.js";
36
+ } from "./aisdk-ewvn0npq.js";
37
37
  import {
38
38
  __export
39
- } from "./file-retention-9rqn6x4v.js";
39
+ } from "./aisdk-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service45,
44
+ Service: () => Service35,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer21,
47
- node: () => node49,
48
- noopLayer: () => noopLayer3,
46
+ layer: () => layer16,
47
+ node: () => node38,
48
+ noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service45 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service35 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer21 = Layer.effect(Service45, Effect.gen(function* () {
63
- const store = yield* Service77;
64
- const instances = yield* Service48;
62
+ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
63
+ const store = yield* Service64;
64
+ const instances = yield* Service39;
65
65
  const bus = yield* Service85;
66
- const jobs = yield* Service50;
66
+ const jobs = yield* Service52;
67
67
  const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service45, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service36.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make16({
86
+ const coordinator = yield* make15({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service45, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service45.of({
107
+ return Service35.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service45, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node49 = makeGlobalNode({
127
- service: Service45,
128
- layer: layer21,
129
- deps: [node80, node51, node89, node90, node53]
126
+ var node38 = makeGlobalNode({
127
+ service: Service35,
128
+ layer: layer16,
129
+ deps: [node68, node41, node89, node90, node54]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service45, Service45.of({
131
+ var noopLayer2 = Layer.succeed(Service35, Service35.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service45, Service45.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service45, terminal2, layer21, node49, noopLayer3, exports_execution };
140
+ export { Service35, terminal2, layer16, node38, noopLayer2, exports_execution };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./aisdk-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./file-retention-wqscedq8.js";
6
+ } from "./aisdk-eg2ky145.js";
7
7
  import {
8
- Info11
9
- } from "./file-retention-jj9caqwr.js";
8
+ Info9
9
+ } from "./aisdk-djwtgbda.js";
10
10
  import {
11
11
  Info8
12
- } from "./file-retention-3js5sq8v.js";
12
+ } from "./aisdk-yr1nt44v.js";
13
13
  import {
14
- Info9
15
- } from "./file-retention-x3t9xer4.js";
14
+ Info12
15
+ } from "./aisdk-eq3fc1qc.js";
16
16
  import {
17
17
  Spec2
18
- } from "./file-retention-p7vhpwh8.js";
18
+ } from "./aisdk-v9ez2kgh.js";
19
19
  import {
20
- Info10
21
- } from "./file-retention-b50rsrab.js";
20
+ Info11
21
+ } from "./aisdk-7xg2jm5b.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -28,10 +28,10 @@ import {
28
28
  migrateMcp2,
29
29
  migrateProvider2,
30
30
  providerID2
31
- } from "./file-retention-jz4cjtb2.js";
31
+ } from "./aisdk-t9yxd4g7.js";
32
32
  import {
33
33
  __export
34
- } from "./file-retention-9rqn6x4v.js";
34
+ } from "./aisdk-9rqn6x4v.js";
35
35
 
36
36
  // src/config/normalize.ts
37
37
  var exports_normalize = {};
@@ -103,7 +103,7 @@ function normalize2(input) {
103
103
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
104
104
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
105
105
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
106
- const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info9, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
107
107
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
108
108
  const migratedSmallModel = modelSelection2(legacySmallModel);
109
109
  if (legacySmallModel && !migratedSmallModel)
@@ -117,7 +117,7 @@ function normalize2(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info9, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
121
121
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
122
122
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
123
123
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
219
219
  normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
220
220
  return;
221
221
  }
222
- const server = decodeValue(Info9, value, path, diagnostics);
222
+ const server = decodeValue(Info12, value, path, diagnostics);
223
223
  if (server !== undefined)
224
224
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
225
225
  });
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
440
440
  diagnoseProviderUnsupported(raw, path, diagnostics);
441
441
  if (invalidProviderOverlays(raw, path, diagnostics))
442
442
  return [];
443
- const provider = decodeValue(Info10, raw, path, diagnostics);
443
+ const provider = decodeValue(Info11, raw, path, diagnostics);
444
444
  if (provider === undefined)
445
445
  return [];
446
446
  const destination = providerID2(name);
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service62,
3
- node65
4
- } from "./file-retention-an0ed0qm.js";
2
+ Service47,
3
+ node49
4
+ } from "./aisdk-fvh2vv9m.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
8
  make20,
9
9
  diffByKey2
10
- } from "./file-retention-y2tacs4v.js";
10
+ } from "./aisdk-e5dqjz6v.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./aisdk-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions4 = {};
17
- __export(exports_instructions4, {
18
- ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service23,
20
- node: () => node26
16
+ var exports_instructions5 = {};
17
+ __export(exports_instructions5, {
18
+ ReferenceInstructions: () => exports_instructions5,
19
+ Service: () => Service34,
20
+ node: () => node37
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,11 +61,11 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service23 extends Context.Service()("@opencode/ReferenceInstructions") {
64
+ class Service34 extends Context.Service()("@opencode/ReferenceInstructions") {
65
65
  }
66
- var layer = Layer.effect(Service23, Effect.gen(function* () {
67
- const references = yield* Service62;
68
- return Service23.of({
66
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
67
+ const references = yield* Service47;
68
+ return Service34.of({
69
69
  load: Effect.fn("ReferenceInstructions.load")(function* () {
70
70
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
71
71
  name: reference.name,
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
73
73
  description: reference.description
74
74
  })).toSorted((a, b) => a.name.localeCompare(b.name));
75
75
  return make20({
76
- key: Key4.make("core/reference-guidance"),
76
+ key: Key3.make("core/reference-guidance"),
77
77
  codec: Schema.toCodecJson(Schema.Array(Summary)),
78
78
  read: Effect.succeed(available.length === 0 ? removed2 : available),
79
79
  render: {
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node26 = makeLocationNode({ service: Service23, layer, deps: [node65] });
88
+ var node37 = makeLocationNode({ service: Service34, layer, deps: [node49] });
89
89
 
90
- export { Service23, node26, exports_instructions4 };
90
+ export { Service34, node37, exports_instructions5 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service54
3
- } from "./file-retention-a1kcf5d2.js";
2
+ Service53
3
+ } from "./aisdk-j43965rx.js";
4
4
  import {
5
- Service48
6
- } from "./file-retention-3xv5yes5.js";
5
+ Service39
6
+ } from "./aisdk-9cbnrx2n.js";
7
7
  import {
8
8
  detect2
9
- } from "./file-retention-2z1j29yd.js";
9
+ } from "./aisdk-2z1j29yd.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./file-retention-6zjm2phc.js";
12
+ } from "./aisdk-00ve6mdn.js";
13
13
  import {
14
- Service79
15
- } from "./file-retention-jbkw413w.js";
14
+ Service66
15
+ } from "./aisdk-vbhy04yp.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./file-retention-y31s63n5.js";
19
+ } from "./aisdk-0p25w9ph.js";
20
20
  import {
21
21
  prepare3,
22
- Service65
23
- } from "./file-retention-jy10t676.js";
22
+ Service62
23
+ } from "./aisdk-9zz0xvdb.js";
24
24
  import {
25
25
  __export
26
- } from "./file-retention-9rqn6x4v.js";
26
+ } from "./aisdk-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service48;
42
+ const instances = yield* Service39;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service79;
45
+ const hooks = yield* Service66;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service65;
64
+ const skillService = yield* Service62;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
124
124
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
125
125
  if (!mime.startsWith("image/"))
126
126
  return { data: Base64.make(data), mime };
127
- const image = yield* Service54;
127
+ const image = yield* Service53;
128
128
  const label = attachmentLabel(input);
129
129
  const content = { uri: label, content: data, encoding: "base64", mime };
130
130
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-n2zgan0r.js";
3
+ } from "./aisdk-x8n50tyc.js";
4
4
  import {
5
5
  Service85
6
- } from "./file-retention-byrp127m.js";
6
+ } from "./aisdk-rrfmzwpm.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./file-retention-rw5cqjms.js";
9
+ Event19
10
+ } from "./aisdk-35fwsjrv.js";
11
11
  import {
12
12
  key2
13
- } from "./file-retention-ar2j3j0f.js";
13
+ } from "./aisdk-rrad2nt9.js";
14
14
  import {
15
- ID9,
15
+ ID16,
16
16
  MethodID2
17
- } from "./file-retention-jjyvd6es.js";
17
+ } from "./aisdk-9a91xz6j.js";
18
18
  import {
19
- ID8,
19
+ ID13,
20
20
  aisdk2,
21
- Service71
22
- } from "./file-retention-b69pzmrp.js";
21
+ Service77
22
+ } from "./aisdk-h83fqc2v.js";
23
23
  import {
24
- ID7,
25
- Info17
26
- } from "./file-retention-kkgp9ksj.js";
24
+ ID12,
25
+ Info21
26
+ } from "./aisdk-sc3bsvgm.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./file-retention-yb20nhc3.js";
30
+ } from "./aisdk-yb20nhc3.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
35
35
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
- var providerID = ID8.gitlab;
39
- var integrationID = ID9.make("gitlab");
38
+ var providerID = ID13.gitlab;
39
+ var integrationID = ID16.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service71;
60
+ const providers = yield* Service77;
61
61
  const bus = yield* Service85;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info17.default(providerID, ID7.make(model.id)),
188
+ ...Info21.default(providerID, ID12.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
219
219
  });
220
220
  }));
221
221
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
222
- if (evt.model.providerID !== ID8.gitlab)
222
+ if (evt.model.providerID !== ID13.gitlab)
223
223
  return;
224
224
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
225
225
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-retention-byrp127m.js";
4
+ } from "./aisdk-rrfmzwpm.js";
5
5
  import {
6
- Service74,
7
- node77
8
- } from "./file-retention-1thmyanr.js";
6
+ Service84,
7
+ node88
8
+ } from "./aisdk-8x10f120.js";
9
9
  import {
10
- Service83,
11
- node87
12
- } from "./file-retention-10s4rp80.js";
10
+ Service79,
11
+ node83
12
+ } from "./aisdk-ax2hm835.js";
13
13
  import {
14
- Ref4,
15
- Service82,
16
- node86
17
- } from "./file-retention-3xbbjsgy.js";
14
+ Ref3,
15
+ Service78,
16
+ node82
17
+ } from "./aisdk-v2ywx7d9.js";
18
18
  import {
19
19
  canonical3
20
- } from "./file-retention-0syxcydp.js";
20
+ } from "./aisdk-v9esy932.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./file-retention-ec1grn59.js";
23
+ } from "./aisdk-ec1grn59.js";
24
24
  import {
25
- Service76,
26
- node79
27
- } from "./file-retention-1b000e53.js";
25
+ Service63,
26
+ node67
27
+ } from "./aisdk-h7pdcx31.js";
28
28
  import {
29
- Service43,
30
- node46
31
- } from "./file-retention-wvskh021.js";
29
+ Service56,
30
+ node58
31
+ } from "./aisdk-dg7jpt9k.js";
32
32
  import {
33
33
  __export
34
- } from "./file-retention-9rqn6x4v.js";
34
+ } from "./aisdk-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
@@ -49,11 +49,11 @@ class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
50
  var layer = Layer.effect(Service16, Effect.gen(function* () {
51
51
  const bus = yield* Service85;
52
- const location = yield* Service82;
53
- const permission = yield* Service76;
54
- const forms = yield* Service74;
55
- const rpc = yield* Service43;
56
- const project = yield* Service83;
52
+ const location = yield* Service78;
53
+ const permission = yield* Service63;
54
+ const forms = yield* Service84;
55
+ const rpc = yield* Service56;
56
+ const project = yield* Service79;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -76,7 +76,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
76
76
  yield* forms.close;
77
77
  yield* rpc.close;
78
78
  yield* bus.publish(LocationEvent.Shutdown, {}, {
79
- location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
79
+ location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
88
88
  var node18 = makeLocationNode({
89
89
  service: Service16,
90
90
  layer,
91
- deps: [node89, node86, node79, node87, node77, node46]
91
+ deps: [node89, node82, node67, node83, node88, node58]
92
92
  });
93
93
 
94
94
  export { Service16, node18, exports_location_lifecycle };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID15,
2
+ ID10,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./file-retention-wz1jcdgb.js";
5
+ } from "./aisdk-4gyktcna.js";
6
6
  import {
7
7
  __export
8
- } from "./file-retention-9rqn6x4v.js";
8
+ } from "./aisdk-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent = {};
12
- __export(exports_agent, {
13
- AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin14
11
+ var exports_agent2 = {};
12
+ __export(exports_agent2, {
13
+ AgentPlugin: () => exports_agent2,
14
+ Plugin: () => Plugin30
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin14 = define({
60
+ var Plugin30 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -67,32 +67,32 @@ var Plugin14 = define({
67
67
  item.mode = "primary";
68
68
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
69
69
  });
70
- editor.update(ID15.make("general"), (item) => {
70
+ editor.update(ID10.make("general"), (item) => {
71
71
  item.name = Name3.make("General");
72
72
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
73
73
  item.mode = "subagent";
74
74
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
75
75
  });
76
- editor.update(ID15.make("explore"), (item) => {
76
+ editor.update(ID10.make("explore"), (item) => {
77
77
  item.name = Name3.make("Explore");
78
78
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
79
79
  item.system = PROMPT_EXPLORE;
80
80
  item.mode = "subagent";
81
81
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
82
82
  });
83
- editor.update(ID15.make("compaction"), (item) => {
83
+ editor.update(ID10.make("compaction"), (item) => {
84
84
  item.name = Name3.make("Compaction");
85
85
  item.mode = "primary";
86
86
  item.hidden = true;
87
87
  });
88
- editor.update(ID15.make("title"), (item) => {
88
+ editor.update(ID10.make("title"), (item) => {
89
89
  item.name = Name3.make("Title");
90
90
  item.mode = "primary";
91
91
  item.hidden = true;
92
92
  item.system = PROMPT_TITLE;
93
93
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
94
94
  });
95
- editor.update(ID15.make("summary"), (item) => {
95
+ editor.update(ID10.make("summary"), (item) => {
96
96
  item.name = Name3.make("Summary");
97
97
  item.mode = "primary";
98
98
  item.hidden = true;
@@ -103,4 +103,4 @@ var Plugin14 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin14, exports_agent };
106
+ export { Plugin30, exports_agent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./aisdk-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};