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

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{snapshot-6n1s1dfa.js → file-retention-004rgtvd.js} +7 -7
  8. package/dist/chunks/{snapshot-034tev2y.js → file-retention-034tev2y.js} +2 -2
  9. package/dist/chunks/{snapshot-7633k18y.js → file-retention-06443jab.js} +3 -3
  10. package/dist/chunks/{snapshot-r6wgv8c9.js → file-retention-0gka690g.js} +6 -6
  11. package/dist/chunks/{snapshot-791mgs72.js → file-retention-0pv52n9j.js} +12 -12
  12. package/dist/chunks/{snapshot-p1qgn14a.js → file-retention-0syxcydp.js} +9 -9
  13. package/dist/chunks/{snapshot-h740tfnc.js → file-retention-0t1mekc8.js} +5 -5
  14. package/dist/chunks/{snapshot-n95zghxh.js → file-retention-0txt22rj.js} +5 -5
  15. package/dist/chunks/file-retention-0y56atyb.js +257 -0
  16. package/dist/chunks/{snapshot-k4a9rn7k.js → file-retention-10jjfj8e.js} +32 -32
  17. package/dist/chunks/{snapshot-gs87y69e.js → file-retention-10s4rp80.js} +25 -25
  18. package/dist/chunks/{snapshot-qhacjaam.js → file-retention-12vgd738.js} +4 -4
  19. package/dist/chunks/{snapshot-skwwrjz6.js → file-retention-1b000e53.js} +47 -47
  20. package/dist/chunks/{snapshot-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{snapshot-9pjcyyyz.js → file-retention-1mn7gzbb.js} +52 -52
  22. package/dist/chunks/{snapshot-vkc62rge.js → file-retention-1thmyanr.js} +29 -29
  23. package/dist/chunks/{snapshot-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{snapshot-kc3jq4k5.js → file-retention-27g2d1zk.js} +9 -9
  25. package/dist/chunks/{snapshot-veg4raah.js → file-retention-2fbg880x.js} +50 -50
  26. package/dist/chunks/{snapshot-jxffhsbt.js → file-retention-2mrk5sk4.js} +19 -19
  27. package/dist/chunks/{snapshot-06efqm8m.js → file-retention-2y5s3d4p.js} +17 -17
  28. package/dist/chunks/{snapshot-6hzzfs8d.js → file-retention-2yeqtm01.js} +23 -23
  29. package/dist/chunks/{snapshot-2z1j29yd.js → file-retention-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{snapshot-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{snapshot-an558sqv.js → file-retention-3js5sq8v.js} +4 -4
  32. package/dist/chunks/{snapshot-dz8hhvgv.js → file-retention-3mgb105e.js} +9 -9
  33. package/dist/chunks/{snapshot-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
  34. package/dist/chunks/{snapshot-67pdg5mz.js → file-retention-3xbbjsgy.js} +14 -14
  35. package/dist/chunks/{snapshot-fp2kss3x.js → file-retention-3xv5yes5.js} +6 -6
  36. package/dist/chunks/{snapshot-rtza7ceg.js → file-retention-40x2gp1a.js} +19 -19
  37. package/dist/chunks/{snapshot-w2eysc6j.js → file-retention-40za9wsf.js} +9 -9
  38. package/dist/chunks/{snapshot-b5g8zywb.js → file-retention-41ae5eq3.js} +5 -5
  39. package/dist/chunks/{snapshot-brpe5pm9.js → file-retention-4944f0f3.js} +3 -3
  40. package/dist/chunks/{snapshot-jcvhz0ne.js → file-retention-4rnx58kd.js} +5 -5
  41. package/dist/chunks/{snapshot-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
  42. package/dist/chunks/{snapshot-k5q8ak4g.js → file-retention-4xj5yeb9.js} +18 -18
  43. package/dist/chunks/{snapshot-4xvmh7wp.js → file-retention-4xvmh7wp.js} +3 -3
  44. package/dist/chunks/{snapshot-xfzdx1cq.js → file-retention-4yyqx4s3.js} +1 -1
  45. package/dist/chunks/{snapshot-pg6c20a0.js → file-retention-51g9mfss.js} +16 -16
  46. package/dist/chunks/{snapshot-erw1a2px.js → file-retention-52m7r17y.js} +11 -11
  47. package/dist/chunks/{snapshot-r3t0nk92.js → file-retention-58j32a3p.js} +11 -11
  48. package/dist/chunks/{snapshot-k8repwgk.js → file-retention-5e27t7kq.js} +33 -33
  49. package/dist/chunks/{snapshot-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{snapshot-5nnwax6m.js → file-retention-5nnwax6m.js} +2 -2
  51. package/dist/chunks/{snapshot-d4txh1kp.js → file-retention-5tdnk8gt.js} +30 -30
  52. package/dist/chunks/{snapshot-pyr79hg3.js → file-retention-6bqt0z5z.js} +14 -14
  53. package/dist/chunks/{snapshot-9xvj91tm.js → file-retention-6ejhvxx1.js} +30 -30
  54. package/dist/chunks/{snapshot-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
  55. package/dist/chunks/{snapshot-0pchwhq8.js → file-retention-6phpkkwx.js} +10 -10
  56. package/dist/chunks/{snapshot-6pjqjmy2.js → file-retention-6pjqjmy2.js} +1 -1
  57. package/dist/chunks/file-retention-6zjm2phc.js +18 -0
  58. package/dist/chunks/{snapshot-41peksc2.js → file-retention-6zzg071e.js} +14 -14
  59. package/dist/chunks/{snapshot-8xmxx3r8.js → file-retention-706d41vq.js} +24 -24
  60. package/dist/chunks/{snapshot-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
  61. package/dist/chunks/{snapshot-zy2m570x.js → file-retention-78etnvtx.js} +11 -11
  62. package/dist/chunks/{snapshot-tej0rhj5.js → file-retention-7ax5pvs2.js} +22 -22
  63. package/dist/chunks/{snapshot-c76bvptd.js → file-retention-7b6m6kjp.js} +23 -23
  64. package/dist/chunks/{snapshot-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{snapshot-7m8hecea.js → file-retention-7p5j3bg8.js} +18 -18
  66. package/dist/chunks/{snapshot-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
  67. package/dist/chunks/{snapshot-ftzbw7kw.js → file-retention-81xmdkgf.js} +9 -9
  68. package/dist/chunks/{snapshot-d2121cgz.js → file-retention-8775xmr7.js} +15 -15
  69. package/dist/chunks/{snapshot-q6swskfy.js → file-retention-895yj7sv.js} +44 -44
  70. package/dist/chunks/{snapshot-hw621kav.js → file-retention-8d2bz6m6.js} +8 -8
  71. package/dist/chunks/{snapshot-jaqz1j5c.js → file-retention-8h66aeq1.js} +15 -15
  72. package/dist/chunks/{snapshot-dhn570bz.js → file-retention-8jv5e0ry.js} +2 -2
  73. package/dist/chunks/{snapshot-6e1r9k58.js → file-retention-8q24scts.js} +19 -19
  74. package/dist/chunks/{snapshot-62w55z8x.js → file-retention-8q4csfv6.js} +8 -8
  75. package/dist/chunks/file-retention-8rzgfn7k.js +26 -0
  76. package/dist/chunks/{snapshot-ed24c9s1.js → file-retention-8v2hjwdb.js} +28 -28
  77. package/dist/chunks/{snapshot-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
  78. package/dist/chunks/{snapshot-hyg60882.js → file-retention-8y08emeq.js} +27 -27
  79. package/dist/chunks/{snapshot-c0jtyzjh.js → file-retention-90h4gxms.js} +18 -18
  80. package/dist/chunks/{snapshot-91rj84md.js → file-retention-91rj84md.js} +1 -1
  81. package/dist/chunks/{snapshot-p1nmqc4v.js → file-retention-96zt377w.js} +38 -38
  82. package/dist/chunks/{snapshot-998yhzzq.js → file-retention-998yhzzq.js} +3 -3
  83. package/dist/chunks/{snapshot-hp1h3ap0.js → file-retention-9aytyba7.js} +8 -8
  84. package/dist/chunks/{snapshot-yc89j42n.js → file-retention-9e6thw54.js} +23 -23
  85. package/dist/chunks/{snapshot-0p88zpcm.js → file-retention-9gkymt4j.js} +4 -4
  86. package/dist/chunks/{snapshot-nb2pkzvt.js → file-retention-9wrzmk82.js} +9 -9
  87. package/dist/chunks/{snapshot-5bn25yvx.js → file-retention-a1kcf5d2.js} +9 -9
  88. package/dist/chunks/{snapshot-znnhxh9a.js → file-retention-a6zs52qt.js} +12 -12
  89. package/dist/chunks/{snapshot-p0z6e7n7.js → file-retention-a8qqmhn7.js} +13 -13
  90. package/dist/chunks/{snapshot-f5pnm9ht.js → file-retention-a9kms1wj.js} +5 -5
  91. package/dist/chunks/{snapshot-pgbwge99.js → file-retention-an0ed0qm.js} +27 -27
  92. package/dist/chunks/{snapshot-jy35taan.js → file-retention-ap543zt0.js} +26 -26
  93. package/dist/chunks/{snapshot-bjhzkqyk.js → file-retention-ar2j3j0f.js} +4 -4
  94. package/dist/chunks/{snapshot-v2k3kh21.js → file-retention-aydsvzbb.js} +14 -14
  95. package/dist/chunks/{snapshot-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
  96. package/dist/chunks/{snapshot-b0mv4wxm.js → file-retention-b0mv4wxm.js} +2 -2
  97. package/dist/chunks/{snapshot-rvyv8nvn.js → file-retention-b4ay2ffd.js} +45 -45
  98. package/dist/chunks/{snapshot-n6v2b7cw.js → file-retention-b50rsrab.js} +5 -5
  99. package/dist/chunks/{snapshot-0kjrd2qd.js → file-retention-b69pzmrp.js} +35 -35
  100. package/dist/chunks/{snapshot-6g24mm1y.js → file-retention-bar9hexn.js} +3 -3
  101. package/dist/chunks/{snapshot-81sa6vvk.js → file-retention-bbfkmt36.js} +20 -20
  102. package/dist/chunks/{snapshot-0vn2ss9c.js → file-retention-be4vgese.js} +5 -5
  103. package/dist/chunks/{snapshot-1nqgcrc1.js → file-retention-bg38yaka.js} +45 -45
  104. package/dist/chunks/{snapshot-tjbpd8jx.js → file-retention-bjec6aaf.js} +17 -17
  105. package/dist/chunks/{snapshot-k8hjh5qf.js → file-retention-bn42ez4f.js} +15 -15
  106. package/dist/chunks/{snapshot-bstexjd6.js → file-retention-bstexjd6.js} +1 -1
  107. package/dist/chunks/{snapshot-p2y5jf41.js → file-retention-bx2edf7r.js} +19 -19
  108. package/dist/chunks/{snapshot-146q7e0b.js → file-retention-byrp127m.js} +12 -12
  109. package/dist/chunks/{snapshot-9bqzx224.js → file-retention-c03k9zs8.js} +28 -28
  110. package/dist/chunks/{snapshot-c3cfh5w6.js → file-retention-c3cfh5w6.js} +2 -2
  111. package/dist/chunks/{snapshot-tasvem1v.js → file-retention-c8666r4c.js} +6 -6
  112. package/dist/chunks/{snapshot-d2887f8n.js → file-retention-c9t2ty9q.js} +4 -4
  113. package/dist/chunks/{snapshot-zng1ess9.js → file-retention-cebdmmc8.js} +12 -12
  114. package/dist/chunks/{snapshot-bjk9yhz6.js → file-retention-d1fhw6xp.js} +19 -19
  115. package/dist/chunks/{snapshot-4t0h3ecc.js → file-retention-d2ckxhpm.js} +11 -11
  116. package/dist/chunks/{snapshot-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
  117. package/dist/chunks/{snapshot-tqxvqvy9.js → file-retention-dbvdvcnm.js} +13 -13
  118. package/dist/chunks/{snapshot-zv5q208p.js → file-retention-dhka8w8f.js} +3 -3
  119. package/dist/chunks/{snapshot-59t3c98x.js → file-retention-dvgja063.js} +6 -6
  120. package/dist/chunks/{snapshot-fkdm3x4n.js → file-retention-dx9hwm58.js} +15 -15
  121. package/dist/chunks/{snapshot-ky596kc3.js → file-retention-e45fk36t.js} +4 -4
  122. package/dist/chunks/{snapshot-dak4ewys.js → file-retention-e5qrk7kc.js} +29 -29
  123. package/dist/chunks/{snapshot-zpn8gsta.js → file-retention-e7h3kv1s.js} +36 -36
  124. package/dist/chunks/{snapshot-e834z07m.js → file-retention-e834z07m.js} +1 -1
  125. package/dist/chunks/{snapshot-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{snapshot-kfbj1vfn.js → file-retention-etc4v71r.js} +13 -13
  127. package/dist/chunks/{snapshot-xqya8bhb.js → file-retention-etzytfjk.js} +24 -24
  128. package/dist/chunks/{snapshot-9g4cv0f3.js → file-retention-ex2ghmgq.js} +5 -5
  129. package/dist/chunks/{snapshot-8vvxxr3d.js → file-retention-f5bp1zt3.js} +21 -21
  130. package/dist/chunks/{snapshot-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
  131. package/dist/chunks/{snapshot-w2frxgzv.js → file-retention-fjbza28h.js} +90 -90
  132. package/dist/chunks/{snapshot-qt0rakd9.js → file-retention-fvgj1da1.js} +7 -7
  133. package/dist/chunks/{snapshot-6vh6abp7.js → file-retention-fx2h2ek3.js} +4 -4
  134. package/dist/chunks/{snapshot-z0h4wvmy.js → file-retention-fy85b4j6.js} +16 -16
  135. package/dist/chunks/{snapshot-pyka91yh.js → file-retention-fyg8cwdt.js} +18 -18
  136. package/dist/chunks/{snapshot-g5h9c0rr.js → file-retention-g5h9c0rr.js} +2 -2
  137. package/dist/chunks/{snapshot-d69d80k0.js → file-retention-g6hpx9wf.js} +11 -11
  138. package/dist/chunks/{snapshot-bkh5f3ma.js → file-retention-gnswcmy6.js} +4 -4
  139. package/dist/chunks/{snapshot-5x10bg3a.js → file-retention-gsgdtt07.js} +20 -20
  140. package/dist/chunks/{snapshot-frncqm0b.js → file-retention-h1eg3vk4.js} +22 -22
  141. package/dist/chunks/{snapshot-6zxm3gf7.js → file-retention-h1y7dhnp.js} +9 -9
  142. package/dist/chunks/{snapshot-2njjtkdw.js → file-retention-h401316e.js} +44 -44
  143. package/dist/chunks/{snapshot-zedte0ep.js → file-retention-hamx4eyd.js} +13 -13
  144. package/dist/chunks/{snapshot-8ny5g7zq.js → file-retention-haz7d3nj.js} +21 -21
  145. package/dist/chunks/{snapshot-0v17xkyr.js → file-retention-hmhshprh.js} +8 -8
  146. package/dist/chunks/{snapshot-cbdaszja.js → file-retention-hvtqj62d.js} +28 -28
  147. package/dist/chunks/{snapshot-j113cymg.js → file-retention-j113cymg.js} +1 -1
  148. package/dist/chunks/{snapshot-ew333j68.js → file-retention-j1jygztj.js} +33 -33
  149. package/dist/chunks/{snapshot-ky5h0dy4.js → file-retention-j21s6pys.js} +12 -12
  150. package/dist/chunks/{snapshot-49waears.js → file-retention-j22gxa80.js} +32 -32
  151. package/dist/chunks/{snapshot-hvbtf1fc.js → file-retention-j4qs9z9f.js} +12 -12
  152. package/dist/chunks/{snapshot-0k1j1wdr.js → file-retention-j4rz9p31.js} +11 -11
  153. package/dist/chunks/{snapshot-qz087kyw.js → file-retention-jbkw413w.js} +8 -8
  154. package/dist/chunks/{snapshot-9ekt8wk3.js → file-retention-jff6x0jb.js} +4 -4
  155. package/dist/chunks/{snapshot-q110d9ad.js → file-retention-jfp7edqe.js} +18 -18
  156. package/dist/chunks/{snapshot-jj9caqwr.js → file-retention-jj9caqwr.js} +3 -3
  157. package/dist/chunks/{snapshot-5tnc4nbn.js → file-retention-jjyvd6es.js} +33 -33
  158. package/dist/chunks/{snapshot-rwppv50t.js → file-retention-jtgyhacv.js} +27 -27
  159. package/dist/chunks/{snapshot-f4p1w2yj.js → file-retention-jv443j8m.js} +14 -14
  160. package/dist/chunks/{snapshot-pcc0bmtm.js → file-retention-jy10t676.js} +25 -25
  161. package/dist/chunks/{snapshot-mbvkkv9q.js → file-retention-jz4cjtb2.js} +4 -4
  162. package/dist/chunks/{snapshot-pbdpbsbw.js → file-retention-k5qr9t5z.js} +5 -5
  163. package/dist/chunks/{snapshot-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
  164. package/dist/chunks/{snapshot-3y5jkgnv.js → file-retention-kd261f9v.js} +11 -11
  165. package/dist/chunks/{snapshot-fk87wxfh.js → file-retention-kfd0jx8z.js} +20 -20
  166. package/dist/chunks/{snapshot-y3g4yaer.js → file-retention-kkgp9ksj.js} +35 -35
  167. package/dist/chunks/{snapshot-m1714858.js → file-retention-m1714858.js} +1 -1
  168. package/dist/chunks/{snapshot-9ydy8fkm.js → file-retention-m463fjkb.js} +10 -10
  169. package/dist/chunks/{snapshot-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{snapshot-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
  171. package/dist/chunks/{snapshot-1nhpz7zk.js → file-retention-mh30raav.js} +4 -4
  172. package/dist/chunks/{snapshot-vpm8vpz0.js → file-retention-mtpeagzc.js} +3 -3
  173. package/dist/chunks/{snapshot-n0p0277s.js → file-retention-n0p0277s.js} +1 -1
  174. package/dist/chunks/{snapshot-4kk5y41y.js → file-retention-n0wndcqz.js} +40 -40
  175. package/dist/chunks/{snapshot-sxs6dstq.js → file-retention-n2zgan0r.js} +11 -11
  176. package/dist/chunks/{snapshot-xajebrz9.js → file-retention-na0a39nw.js} +49 -49
  177. package/dist/chunks/{snapshot-nah043kf.js → file-retention-nah043kf.js} +1 -1
  178. package/dist/chunks/{snapshot-4v48c47j.js → file-retention-nbkd2rx6.js} +12 -12
  179. package/dist/chunks/{snapshot-rfwvsy21.js → file-retention-ncfxqt3s.js} +10 -10
  180. package/dist/chunks/{snapshot-07c3528d.js → file-retention-nf4f45p9.js} +37 -37
  181. package/dist/chunks/{snapshot-30ee3db1.js → file-retention-nk9akxx5.js} +2 -2
  182. package/dist/chunks/{snapshot-stzta4q0.js → file-retention-nk9n5r8p.js} +15 -15
  183. package/dist/chunks/{snapshot-7yect7x1.js → file-retention-nkr5r85d.js} +2 -2
  184. package/dist/chunks/{snapshot-n3q07mde.js → file-retention-nm20qxyr.js} +20 -20
  185. package/dist/chunks/{snapshot-bcey06z6.js → file-retention-nrb1vmgh.js} +33 -33
  186. package/dist/chunks/{snapshot-m8nqxsmt.js → file-retention-ny5fjnrw.js} +20 -20
  187. package/dist/chunks/{snapshot-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
  188. package/dist/chunks/{snapshot-nca90r8m.js → file-retention-p4j299q5.js} +17 -17
  189. package/dist/chunks/{snapshot-5zrxpy3q.js → file-retention-p7vhpwh8.js} +5 -5
  190. package/dist/chunks/{snapshot-5crety7g.js → file-retention-pc1v25hk.js} +3 -3
  191. package/dist/chunks/{snapshot-1g4xnxab.js → file-retention-pd5s7czc.js} +11 -11
  192. package/dist/chunks/{snapshot-c63yzxyg.js → file-retention-pjw5exqh.js} +11 -11
  193. package/dist/chunks/{snapshot-pknna89w.js → file-retention-pknna89w.js} +1 -1
  194. package/dist/chunks/{snapshot-tvw5eq5w.js → file-retention-pm973k6d.js} +4 -4
  195. package/dist/chunks/{snapshot-5js31cy8.js → file-retention-pp47ehpg.js} +4 -4
  196. package/dist/chunks/{snapshot-a5qg0yvf.js → file-retention-pv64vp27.js} +11 -11
  197. package/dist/chunks/{snapshot-c547q8a8.js → file-retention-qada39n4.js} +3 -3
  198. package/dist/chunks/{snapshot-fagjz3hv.js → file-retention-qcv3trs9.js} +9 -9
  199. package/dist/chunks/{snapshot-ks2yvdq8.js → file-retention-qer95tax.js} +19 -19
  200. package/dist/chunks/{snapshot-teer94dd.js → file-retention-qgqvdsez.js} +11 -11
  201. package/dist/chunks/{snapshot-qjgzc4b4.js → file-retention-qjgzc4b4.js} +1 -1
  202. package/dist/chunks/{snapshot-v67055n8.js → file-retention-qv2ex6zx.js} +14 -14
  203. package/dist/chunks/{snapshot-j0mfwgby.js → file-retention-qx10fapg.js} +24 -24
  204. package/dist/chunks/{snapshot-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
  205. package/dist/chunks/{snapshot-96te9d4b.js → file-retention-r2jew814.js} +5 -5
  206. package/dist/chunks/{snapshot-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
  207. package/dist/chunks/{snapshot-qrnt2mf5.js → file-retention-rbhan2a8.js} +43 -43
  208. package/dist/chunks/{snapshot-wrj7qkae.js → file-retention-remxw044.js} +1 -1
  209. package/dist/chunks/{snapshot-zndjfy4q.js → file-retention-rmd2jjvw.js} +4 -4
  210. package/dist/chunks/{snapshot-gxket47c.js → file-retention-rqbwb7q3.js} +18 -18
  211. package/dist/chunks/{snapshot-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
  212. package/dist/chunks/{snapshot-3qwxnent.js → file-retention-rw5cqjms.js} +33 -33
  213. package/dist/chunks/{snapshot-jevs3q22.js → file-retention-ry63fkbp.js} +8 -8
  214. package/dist/chunks/{snapshot-gkwb1x3r.js → file-retention-s774txbb.js} +37 -37
  215. package/dist/chunks/{snapshot-9jfbssnq.js → file-retention-s8tktxtj.js} +13 -13
  216. package/dist/chunks/{snapshot-p9pds4nr.js → file-retention-s9zqy389.js} +8 -8
  217. package/dist/chunks/{snapshot-r1nmjmkp.js → file-retention-sbexhbnh.js} +11 -11
  218. package/dist/chunks/{snapshot-x453mv9b.js → file-retention-sdgwjry1.js} +45 -45
  219. package/dist/chunks/{snapshot-58rbgd2h.js → file-retention-sgj3v8j3.js} +22 -22
  220. package/dist/chunks/{snapshot-8f85gbek.js → file-retention-sjx4qwkt.js} +13 -13
  221. package/dist/chunks/{snapshot-c1ny7psb.js → file-retention-spxhva7x.js} +13 -13
  222. package/dist/chunks/{snapshot-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
  223. package/dist/chunks/{snapshot-p180b23n.js → file-retention-t5qy80th.js} +15 -15
  224. package/dist/chunks/{snapshot-4xz63ymp.js → file-retention-t6qzkm7d.js} +34 -34
  225. package/dist/chunks/{snapshot-gxj7r0cm.js → file-retention-t9mb6c21.js} +4 -4
  226. package/dist/chunks/{snapshot-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
  227. package/dist/chunks/{snapshot-xh9mmxn9.js → file-retention-tpdxm5tk.js} +6 -6
  228. package/dist/chunks/{snapshot-8xa1336w.js → file-retention-tth2ngyv.js} +72 -72
  229. package/dist/chunks/{snapshot-z642n2d8.js → file-retention-tthyd1ww.js} +12 -12
  230. package/dist/chunks/{snapshot-tw8zr1ps.js → file-retention-tw8zr1ps.js} +1 -1
  231. package/dist/chunks/{snapshot-twv2r8f4.js → file-retention-twv2r8f4.js} +2 -2
  232. package/dist/chunks/{snapshot-r83r493t.js → file-retention-v2bxwf46.js} +34 -34
  233. package/dist/chunks/{snapshot-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
  234. package/dist/chunks/{snapshot-gxrd13cp.js → file-retention-v3t7qrd6.js} +178 -178
  235. package/dist/chunks/{snapshot-kk6qbz20.js → file-retention-v3vpydwx.js} +22 -22
  236. package/dist/chunks/{snapshot-f3zns29m.js → file-retention-v70qecbj.js} +15 -15
  237. package/dist/chunks/{snapshot-qgt613xz.js → file-retention-vb1h3fk1.js} +3 -3
  238. package/dist/chunks/{snapshot-vd3b3yk9.js → file-retention-vd3b3yk9.js} +1 -1
  239. package/dist/chunks/{snapshot-wfa3pkfz.js → file-retention-vdrf2z40.js} +27 -27
  240. package/dist/chunks/{snapshot-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  241. package/dist/chunks/{snapshot-vmfhgzt5.js → file-retention-vmfhgzt5.js} +1 -1
  242. package/dist/chunks/{snapshot-hx3mz2q2.js → file-retention-vq1ppevj.js} +8 -8
  243. package/dist/chunks/{snapshot-x9s9q40r.js → file-retention-vq7nwj9a.js} +17 -17
  244. package/dist/chunks/{snapshot-n7bnkb3p.js → file-retention-vrcsa8qx.js} +9 -9
  245. package/dist/chunks/{snapshot-y3rgpzve.js → file-retention-vw5yqba1.js} +21 -21
  246. package/dist/chunks/{snapshot-rh14b8v9.js → file-retention-w1j6kydb.js} +11 -11
  247. package/dist/chunks/{snapshot-vzmjdaw1.js → file-retention-w22yp63b.js} +9 -9
  248. package/dist/chunks/{snapshot-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{snapshot-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
  250. package/dist/chunks/{snapshot-t4jqr6z5.js → file-retention-wbs5jnf2.js} +7 -7
  251. package/dist/chunks/{snapshot-wd87259q.js → file-retention-wd87259q.js} +1 -1
  252. package/dist/chunks/{snapshot-s4gp6xhn.js → file-retention-wetwfxab.js} +23 -23
  253. package/dist/chunks/{snapshot-nnbr5qt6.js → file-retention-wj0whgje.js} +14 -14
  254. package/dist/chunks/{snapshot-w71sye8r.js → file-retention-wkcmpner.js} +6 -6
  255. package/dist/chunks/{snapshot-wqscedq8.js → file-retention-wqscedq8.js} +1 -1
  256. package/dist/chunks/{snapshot-fznmdakp.js → file-retention-wr3re1en.js} +4 -4
  257. package/dist/chunks/{snapshot-22whgeeb.js → file-retention-wvskh021.js} +18 -18
  258. package/dist/chunks/{snapshot-j368hqxn.js → file-retention-wyzcntk3.js} +41 -41
  259. package/dist/chunks/{snapshot-rsgnsn16.js → file-retention-wz1jcdgb.js} +22 -22
  260. package/dist/chunks/{snapshot-r8f6rk3c.js → file-retention-wzwsv8q3.js} +8 -8
  261. package/dist/chunks/{snapshot-1vdntpm3.js → file-retention-x3t9xer4.js} +5 -5
  262. package/dist/chunks/{snapshot-6tjk5bs4.js → file-retention-x3xjyz42.js} +7 -7
  263. package/dist/chunks/{snapshot-z6p19xhz.js → file-retention-x43as62j.js} +18 -18
  264. package/dist/chunks/{snapshot-t0n1m2fz.js → file-retention-x6v8tecr.js} +84 -84
  265. package/dist/chunks/file-retention-x90fzfq6.js +517 -0
  266. package/dist/chunks/{snapshot-damdxvc5.js → file-retention-xcbr4qhr.js} +28 -28
  267. package/dist/chunks/{snapshot-80pwfyqn.js → file-retention-xs35f6gm.js} +16 -16
  268. package/dist/chunks/{snapshot-henamrq6.js → file-retention-xv753k3w.js} +27 -27
  269. package/dist/chunks/{snapshot-s7v4tzf9.js → file-retention-xvs21e7s.js} +11 -11
  270. package/dist/chunks/{snapshot-e5dqjz6v.js → file-retention-y2tacs4v.js} +6 -6
  271. package/dist/chunks/{snapshot-5kbev7nh.js → file-retention-y31s63n5.js} +3 -3
  272. package/dist/chunks/{snapshot-75dns9y2.js → file-retention-y81yjmmg.js} +16 -16
  273. package/dist/chunks/{snapshot-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
  274. package/dist/chunks/{snapshot-pbnk69jw.js → file-retention-yg7ytxzr.js} +11 -11
  275. package/dist/chunks/{snapshot-z1v7eazc.js → file-retention-yh5vc5ym.js} +29 -29
  276. package/dist/chunks/{snapshot-01ve1yxr.js → file-retention-yszz6e3t.js} +27 -27
  277. package/dist/chunks/{snapshot-dds9zz6p.js → file-retention-yydqqga9.js} +4 -4
  278. package/dist/chunks/{snapshot-xyjma05j.js → file-retention-yyqm007w.js} +9 -9
  279. package/dist/chunks/{snapshot-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{snapshot-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
  281. package/dist/chunks/{snapshot-epqefa0z.js → file-retention-z781txa6.js} +5 -5
  282. package/dist/chunks/{snapshot-99e1pwyw.js → file-retention-zfcxpxqg.js} +56 -56
  283. package/dist/chunks/{snapshot-fjdpkb6n.js → file-retention-zjrmgn7z.js} +17 -17
  284. package/dist/chunks/{snapshot-kv3e8w2a.js → file-retention-zjzg4f6c.js} +4 -4
  285. package/dist/chunks/{snapshot-zkg84ctx.js → file-retention-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{snapshot-a8azxzn2.js → file-retention-zpr39raf.js} +26 -26
  287. package/dist/chunks/{snapshot-bzhcfbtm.js → file-retention-zvp9t4zy.js} +35 -35
  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 +83 -83
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -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 +104 -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 +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +89 -89
  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 +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -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 +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -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 +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +100 -100
  429. package/dist/form.js +88 -88
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +85 -85
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +10 -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 +93 -93
  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 +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +159 -159
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  473. package/dist/mcp/instructions.js +132 -132
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +109 -109
  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 +115 -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 +82 -82
  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 +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -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 +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +114 -114
  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 +95 -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 +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -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 +94 -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 +92 -92
  529. package/dist/plugin/provider/openai.js +118 -118
  530. package/dist/plugin/provider/opencode.js +100 -100
  531. package/dist/plugin/provider/openrouter.js +93 -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 +93 -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 +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -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 +351 -351
  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 +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -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 +6 -6
  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 +223 -223
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +86 -86
  565. package/dist/provider.js +103 -103
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -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 +138 -138
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +130 -130
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +95 -95
  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 +99 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -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 +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +128 -128
  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 +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -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 +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +220 -220
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +214 -214
  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 +13 -13
  631. package/dist/shell.js +130 -130
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +95 -95
  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 +139 -139
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +107 -107
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +115 -115
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +132 -132
  653. package/dist/tool/plugin/webfetch.js +115 -115
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +102 -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/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +3 -3
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +1 -1
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +86 -86
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/snapshot-4a4jqpwz.js +0 -257
  692. package/dist/chunks/snapshot-a610t88q.js +0 -18
  693. package/dist/chunks/snapshot-cyy23x7w.js +0 -517
  694. package/dist/chunks/snapshot-ps2yext1.js +0 -26
  695. /package/dist/chunks/{snapshot-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{snapshot-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{snapshot-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{snapshot-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{snapshot-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{snapshot-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{snapshot-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{snapshot-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{snapshot-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{snapshot-3asan66x.js → file-retention-3asan66x.js} +0 -0
  705. /package/dist/chunks/{snapshot-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{snapshot-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{snapshot-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{snapshot-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{snapshot-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{snapshot-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{snapshot-53557ph1.js → file-retention-53557ph1.js} +0 -0
  712. /package/dist/chunks/{snapshot-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{snapshot-5fjb7ams.js → file-retention-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{snapshot-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{snapshot-6prwharc.js → file-retention-6prwharc.js} +0 -0
  716. /package/dist/chunks/{snapshot-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{snapshot-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{snapshot-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{snapshot-822emrt2.js → file-retention-822emrt2.js} +0 -0
  720. /package/dist/chunks/{snapshot-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{snapshot-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{snapshot-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{snapshot-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{snapshot-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{snapshot-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{snapshot-a058387c.js → file-retention-a058387c.js} +0 -0
  727. /package/dist/chunks/{snapshot-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{snapshot-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{snapshot-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{snapshot-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{snapshot-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{snapshot-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{snapshot-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{snapshot-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{snapshot-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{snapshot-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{snapshot-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{snapshot-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{snapshot-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{snapshot-df08tz66.js → file-retention-df08tz66.js} +0 -0
  741. /package/dist/chunks/{snapshot-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{snapshot-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{snapshot-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{snapshot-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{snapshot-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{snapshot-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{snapshot-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{snapshot-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{snapshot-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{snapshot-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{snapshot-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{snapshot-g86h250q.js → file-retention-g86h250q.js} +0 -0
  753. /package/dist/chunks/{snapshot-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{snapshot-gftt206x.js → file-retention-gftt206x.js} +0 -0
  755. /package/dist/chunks/{snapshot-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{snapshot-hk9envan.js → file-retention-hk9envan.js} +0 -0
  757. /package/dist/chunks/{snapshot-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{snapshot-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{snapshot-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{snapshot-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{snapshot-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{snapshot-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{snapshot-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{snapshot-m18g726c.js → file-retention-m18g726c.js} +0 -0
  765. /package/dist/chunks/{snapshot-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{snapshot-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{snapshot-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{snapshot-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{snapshot-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{snapshot-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{snapshot-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{snapshot-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{snapshot-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{snapshot-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{snapshot-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{snapshot-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{snapshot-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{snapshot-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{snapshot-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{snapshot-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{snapshot-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{snapshot-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{snapshot-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{snapshot-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{snapshot-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{snapshot-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{snapshot-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{snapshot-x61499pn.js → file-retention-x61499pn.js} +0 -0
  789. /package/dist/chunks/{snapshot-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{snapshot-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{snapshot-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{snapshot-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{snapshot-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{snapshot-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./snapshot-zkg84ctx.js";
3
+ } from "./file-retention-zkg84ctx.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./snapshot-g5h9c0rr.js";
6
+ } from "./file-retention-g5h9c0rr.js";
7
7
  import {
8
8
  Service86,
9
9
  node90
10
- } from "./snapshot-7633k18y.js";
10
+ } from "./file-retention-06443jab.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./snapshot-qjgzc4b4.js";
13
+ } from "./file-retention-qjgzc4b4.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node54
18
- } from "./snapshot-jevs3q22.js";
17
+ node85
18
+ } from "./file-retention-ry63fkbp.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./snapshot-faypxj3z.js";
21
+ } from "./file-retention-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./snapshot-9rqn6x4v.js";
24
+ } from "./file-retention-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID5,
31
- Info: () => Info8,
30
+ ID: () => ID16,
31
+ Info: () => Info26,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service50,
33
+ Service: () => Service81,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured6,
36
- node: () => node53
35
+ configured: () => configured11,
36
+ node: () => node84
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID5 = Workspace.ID;
44
+ var ID16 = Workspace.ID;
45
45
 
46
- class Info8 extends Schema.Class("Workspace.Info")({
47
- id: ID5,
46
+ class Info26 extends Schema.Class("Workspace.Info")({
47
+ id: ID16,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info8 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID5,
59
+ workspaceID: ID16,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service50 extends Context.Service()("@opencode/Workspace") {
65
+ class Service81 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured6 = (options = {}) => makeGlobalNode({
68
- service: Service50,
67
+ var configured11 = (options = {}) => makeGlobalNode({
68
+ service: Service81,
69
69
  layer: layer(options),
70
- deps: [node90, node54]
70
+ deps: [node90, node85]
71
71
  });
72
- var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
73
73
  const db = (yield* Service86).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info8({
89
+ const info = (row, binding) => new Info26({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service50.of({
167
+ return Service81.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID5.create();
169
+ const workspaceID = input.id ?? ID16.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node53 = configured6();
245
+ var node84 = configured11();
246
246
 
247
- export { ID5, Info8, NotFound2, CreateConflict2, Service50, configured6, node53, exports_workspace };
247
+ export { ID16, Info26, NotFound2, CreateConflict2, Service81, configured11, node84, exports_workspace };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./snapshot-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./snapshot-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  policy3
3
- } from "./snapshot-n0p0277s.js";
3
+ } from "./file-retention-n0p0277s.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./snapshot-ec1grn59.js";
6
+ } from "./file-retention-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./snapshot-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make10,
16
+ make: () => make9,
17
17
  policy: () => policy2
18
18
  });
19
19
  import { isRetryable as isRetryable2 } from "@opencode/ai";
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
39
39
  return { retry: true, attempt: next.attempt, delay: normalized };
40
40
  });
41
41
  });
42
- var make10 = (bus, sessionID) => Effect.gen(function* () {
42
+ var make9 = (bus, sessionID) => Effect.gen(function* () {
43
43
  const decide = yield* policy2(sessionID);
44
44
  const wait = (input) => Effect.gen(function* () {
45
45
  const scheduled = yield* Clock.currentTimeMillis;
@@ -56,4 +56,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
56
56
  return { decide, wait };
57
57
  });
58
58
 
59
- export { isRetryable2, policy2, make10, exports_retry };
59
+ export { isRetryable2, policy2, make9, exports_retry };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make17
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make17 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -79,4 +79,4 @@ var make17 = (options) => Effect.gen(function* () {
79
79
  return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
80
80
  });
81
81
 
82
- export { make17, exports_run_coordinator };
82
+ export { make16, exports_run_coordinator };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service82
3
- } from "./snapshot-146q7e0b.js";
2
+ Service85
3
+ } from "./file-retention-byrp127m.js";
4
4
  import {
5
- Service73,
6
- Event13
7
- } from "./snapshot-tej0rhj5.js";
5
+ Service53,
6
+ Event7
7
+ } from "./file-retention-7ax5pvs2.js";
8
8
  import {
9
9
  __export
10
- } from "./snapshot-9rqn6x4v.js";
10
+ } from "./file-retention-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin20,
15
+ Plugin: () => Plugin2,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin20 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service82;
24
- const wellknown = yield* Service73;
23
+ const bus = yield* Service85;
24
+ const wellknown = yield* Service53;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin20 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event7.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin20, exports_plugin };
48
+ export { Plugin2, exports_plugin };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./snapshot-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
- node87
6
- } from "./snapshot-791mgs72.js";
5
+ node88
6
+ } from "./file-retention-0pv52n9j.js";
7
7
  import {
8
- Service80,
9
- node83
10
- } from "./snapshot-67pdg5mz.js";
8
+ Service82,
9
+ node86
10
+ } from "./file-retention-3xbbjsgy.js";
11
11
  import {
12
12
  create3
13
- } from "./snapshot-vd3b3yk9.js";
13
+ } from "./file-retention-vd3b3yk9.js";
14
14
  import {
15
15
  make19
16
- } from "./snapshot-h740tfnc.js";
16
+ } from "./file-retention-0t1mekc8.js";
17
17
  import {
18
18
  __export
19
- } from "./snapshot-9rqn6x4v.js";
19
+ } from "./file-retention-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service65,
24
+ Service: () => Service57,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node68
26
+ node: () => node60
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service65 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service57 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service65, Effect.gen(function* () {
37
- const location = yield* Service80;
36
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
37
+ const location = yield* Service82;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make19;
40
40
  const state = create3({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service65.of({ ...state, directory: location.directory });
58
+ return Service57.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node68 = makeLocationNode({
61
- service: Service65,
60
+ var node60 = makeLocationNode({
61
+ service: Service57,
62
62
  layer,
63
- deps: [node83, Global.node, node87, FSUtil.node]
63
+ deps: [node86, Global.node, node88, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service65, node68, exports_strategies };
66
+ export { Service57, node60, exports_strategies };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID13,
2
+ ID8,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./snapshot-0kjrd2qd.js";
5
+ } from "./file-retention-b69pzmrp.js";
6
6
  import {
7
- ID12,
7
+ ID7,
8
8
  VariantID2,
9
9
  Family2,
10
- Info21
11
- } from "./snapshot-y3g4yaer.js";
10
+ Info17
11
+ } from "./file-retention-kkgp9ksj.js";
12
12
  import {
13
13
  __export
14
- } from "./snapshot-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models2 = {};
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID7.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info21.make({
122
- ...Info21.default(ID13.githubCopilot, id),
121
+ return Info17.make({
122
+ ...Info17.default(ID8.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID7.make(remote.id),
125
+ providerID: ID8.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./snapshot-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./snapshot-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./snapshot-e5dqjz6v.js";
6
+ } from "./file-retention-y2tacs4v.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./snapshot-skwwrjz6.js";
9
+ } from "./file-retention-1b000e53.js";
10
10
  import {
11
- Service30,
12
- node33
13
- } from "./snapshot-9pjcyyyz.js";
11
+ Service32,
12
+ node35
13
+ } from "./file-retention-1mn7gzbb.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./snapshot-gkwb1x3r.js";
16
+ name15
17
+ } from "./file-retention-s774txbb.js";
18
18
  import {
19
19
  __export
20
- } from "./snapshot-9rqn6x4v.js";
20
+ } from "./file-retention-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
23
  var exports_instructions5 = {};
@@ -68,11 +68,11 @@ var update = (previous, current) => {
68
68
  class Service27 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
70
  var layer12 = Layer.effect(Service27, Effect.gen(function* () {
71
- const mcp = yield* Service30;
71
+ const mcp = yield* Service32;
72
72
  return Service27.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
74
  const source = (value) => make20({
75
- key: Key3.make("core/mcp-guidance"),
75
+ key: Key4.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node30 = makeLocationNode({ service: Service27, layer: layer12, deps: [node33] });
103
+ var node30 = makeLocationNode({ service: Service27, layer: layer12, deps: [node35] });
104
104
 
105
105
  export { Service27, layer12, node30, exports_instructions5 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./snapshot-wrj7qkae.js";
5
+ } from "./file-retention-remxw044.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./snapshot-qgt613xz.js";
11
+ } from "./file-retention-vb1h3fk1.js";
12
12
  import {
13
13
  __export
14
- } from "./snapshot-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./snapshot-e834z07m.js";
3
+ } from "./file-retention-e834z07m.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./snapshot-z5v4ffb3.js";
6
+ } from "./file-retention-z5v4ffb3.js";
7
7
  import {
8
- ID4,
8
+ ID6,
9
9
  Name2
10
- } from "./snapshot-pcc0bmtm.js";
10
+ } from "./file-retention-jy10t676.js";
11
11
  import {
12
12
  __export
13
- } from "./snapshot-9rqn6x4v.js";
13
+ } from "./file-retention-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
62
62
  return {
63
63
  _tag: "Parsed",
64
64
  skill: {
65
- id: ID4.make(id),
65
+ id: ID6.make(id),
66
66
  name: Name2.make(frontmatter.name ?? id),
67
67
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
68
68
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./snapshot-7633k18y.js";
4
+ } from "./file-retention-06443jab.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
8
  make20,
9
9
  combine2
10
- } from "./snapshot-e5dqjz6v.js";
10
+ } from "./file-retention-y2tacs4v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./snapshot-998yhzzq.js";
13
+ } from "./file-retention-998yhzzq.js";
14
14
  import {
15
15
  __export
16
- } from "./snapshot-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service32,
25
+ Service: () => Service25,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node36,
29
+ node: () => node29,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service32 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service25 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
64
  var source = (entry) => make20({
65
- key: Key3.make(`api/${entry.key}`),
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service32, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
79
79
  const { db } = yield* Service86;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service32.of({ list, put, remove, load });
111
+ return Service25.of({ list, put, remove, load });
112
112
  }));
113
- var node36 = makeLocationNode({ service: Service32, layer, deps: [node90] });
113
+ var node29 = makeLocationNode({ service: Service25, layer, deps: [node90] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node29, exports_instruction_entry };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service52,
9
+ Service: () => Service46,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service52 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service46 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service52, exports_runner };
18
+ export { DrainResult2, Service46, exports_runner };