@opencode/core 0.0.0-dev-372 → 0.0.0-dev-385

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 (919) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -85
  3. package/dist/aisdk-native.js +102 -101
  4. package/dist/aisdk.js +108 -107
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +242 -240
  7. package/dist/bus.js +80 -79
  8. package/dist/chunks/{repository-egabpkp4.js → filesystem-02sby4r7.js} +4 -4
  9. package/dist/chunks/{repository-963hk181.js → filesystem-0b5y8qrs.js} +9 -9
  10. package/dist/chunks/{repository-0j7gp832.js → filesystem-0j7gp832.js} +1 -1
  11. package/dist/chunks/{repository-7w8btzrz.js → filesystem-0s767t8h.js} +4 -4
  12. package/dist/chunks/{repository-teyt2nzc.js → filesystem-0y32geeb.js} +42 -42
  13. package/dist/chunks/{repository-x6sm40hj.js → filesystem-0zsaa7q1.js} +32 -32
  14. package/dist/chunks/{repository-akg67h4m.js → filesystem-1acdmn0m.js} +21 -21
  15. package/dist/chunks/{repository-1aqsckx4.js → filesystem-1aqsckx4.js} +1 -1
  16. package/dist/chunks/{repository-anh26fwf.js → filesystem-1cbt02ab.js} +4 -4
  17. package/dist/chunks/{repository-dkn9eszv.js → filesystem-1n9etsek.js} +26 -26
  18. package/dist/chunks/{repository-yd895q0a.js → filesystem-1qj53enc.js} +45 -45
  19. package/dist/chunks/{repository-22322d3s.js → filesystem-1vz1ms8q.js} +4 -4
  20. package/dist/chunks/{repository-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{repository-43tmkezd.js → filesystem-1y12nts7.js} +15 -15
  22. package/dist/chunks/{repository-20hgg5jf.js → filesystem-20hgg5jf.js} +3 -3
  23. package/dist/chunks/{repository-05qq9bxb.js → filesystem-2413zvty.js} +5 -5
  24. package/dist/chunks/{repository-27w5k9zf.js → filesystem-27w5k9zf.js} +2 -2
  25. package/dist/chunks/filesystem-2db194wd.js +261 -0
  26. package/dist/chunks/{repository-pnjvkgxk.js → filesystem-2j17t4ma.js} +19 -19
  27. package/dist/chunks/{repository-gvs8gaq9.js → filesystem-2parprfh.js} +16 -16
  28. package/dist/chunks/{repository-35gq0sf5.js → filesystem-2swc61r8.js} +11 -11
  29. package/dist/chunks/{repository-cy1pdnrn.js → filesystem-2xqw2xge.js} +36 -36
  30. package/dist/chunks/{repository-5pbade4g.js → filesystem-30np0s0y.js} +10 -10
  31. package/dist/chunks/{repository-2gk79xxr.js → filesystem-31xrnzxp.js} +9 -9
  32. package/dist/chunks/{repository-jgd4e8e6.js → filesystem-38aws4xb.js} +4 -4
  33. package/dist/chunks/{repository-3cbjf1nt.js → filesystem-3cbjf1nt.js} +2 -2
  34. package/dist/chunks/{repository-5hrgbkyt.js → filesystem-3d2mgs8e.js} +30 -30
  35. package/dist/chunks/{repository-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{repository-tway3w7r.js → filesystem-3jh66j93.js} +13 -13
  37. package/dist/chunks/{repository-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{repository-bakhbh47.js → filesystem-3v49se44.js} +6 -6
  39. package/dist/chunks/{repository-40y6dtc2.js → filesystem-40y6dtc2.js} +1 -1
  40. package/dist/chunks/{repository-r67ym705.js → filesystem-4bwwa86y.js} +29 -29
  41. package/dist/chunks/{repository-v2kb3w8t.js → filesystem-4c01b23b.js} +15 -15
  42. package/dist/chunks/{repository-4d2dtj2f.js → filesystem-4d2dtj2f.js} +1 -1
  43. package/dist/chunks/{repository-4dx1dgte.js → filesystem-4dx1dgte.js} +1 -1
  44. package/dist/chunks/{repository-9vb9hd08.js → filesystem-4e588zmg.js} +27 -27
  45. package/dist/chunks/{repository-r542h3bh.js → filesystem-4f25tdd0.js} +5 -5
  46. package/dist/chunks/{repository-4h9x2q52.js → filesystem-4jmrnn9a.js} +63 -59
  47. package/dist/chunks/{repository-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
  48. package/dist/chunks/{repository-zemg0r8q.js → filesystem-4s2hr3n5.js} +9 -9
  49. package/dist/chunks/{repository-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
  50. package/dist/chunks/{repository-23zggm3m.js → filesystem-50nzf0t7.js} +14 -14
  51. package/dist/chunks/{repository-56q51v0r.js → filesystem-53kbtjgk.js} +6 -6
  52. package/dist/chunks/{repository-q1ybpa6r.js → filesystem-54y7003s.js} +17 -17
  53. package/dist/chunks/{repository-7afjxmym.js → filesystem-5d5m1bnp.js} +8 -8
  54. package/dist/chunks/{repository-w2eysc6j.js → filesystem-5enarcya.js} +6 -6
  55. package/dist/chunks/{repository-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{repository-sn1gkk9y.js → filesystem-5mxg0681.js} +53 -53
  57. package/dist/chunks/{repository-1yq9hg58.js → filesystem-5zrxpy3q.js} +5 -5
  58. package/dist/chunks/{repository-4e4y46vz.js → filesystem-69gkttxc.js} +5 -5
  59. package/dist/chunks/{repository-stkk57rt.js → filesystem-6agm2x70.js} +19 -0
  60. package/dist/chunks/{repository-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
  61. package/dist/chunks/{repository-d4ww958s.js → filesystem-6z13xg5v.js} +4 -4
  62. package/dist/chunks/{repository-msn6cp5h.js → filesystem-746ypka0.js} +21 -21
  63. package/dist/chunks/{repository-05s84c9e.js → filesystem-75sqr8bp.js} +26 -26
  64. package/dist/chunks/{repository-80mg3ag8.js → filesystem-775hqbnd.js} +3 -3
  65. package/dist/chunks/{repository-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{repository-29pkxvwt.js → filesystem-7dmr4t8m.js} +18 -18
  67. package/dist/chunks/{repository-zmwfj6xw.js → filesystem-7gyk422d.js} +14 -14
  68. package/dist/chunks/{repository-7kr66rt3.js → filesystem-7kr66rt3.js} +1 -1
  69. package/dist/chunks/{repository-77cd4dah.js → filesystem-7kzq0522.js} +16 -16
  70. package/dist/chunks/{repository-aejnhepz.js → filesystem-7n4dg79f.js} +5 -5
  71. package/dist/chunks/{repository-7fdj7k1k.js → filesystem-7syp706q.js} +14 -14
  72. package/dist/chunks/{repository-ytb3906e.js → filesystem-7v32djr5.js} +9 -9
  73. package/dist/chunks/{repository-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
  74. package/dist/chunks/{repository-8x9y3wj0.js → filesystem-851knd86.js} +9 -9
  75. package/dist/chunks/filesystem-86kd7kzh.js +16 -0
  76. package/dist/chunks/{repository-cg0ajkg6.js → filesystem-88vdz3ne.js} +11 -11
  77. package/dist/chunks/{repository-89287pr7.js → filesystem-89287pr7.js} +1 -1
  78. package/dist/chunks/{repository-8b3vzgkx.js → filesystem-8b3vzgkx.js} +1 -1
  79. package/dist/chunks/{repository-7hx80dab.js → filesystem-8eb5dz3y.js} +32 -32
  80. package/dist/chunks/{repository-ees6xmtq.js → filesystem-8fb0arrr.js} +14 -14
  81. package/dist/chunks/{repository-pnwsrq7c.js → filesystem-8fb3spgr.js} +6 -6
  82. package/dist/chunks/{repository-2gyf2v4k.js → filesystem-8frsqbrq.js} +101 -47
  83. package/dist/chunks/{repository-tcwqkgek.js → filesystem-8pbhkp7h.js} +4 -4
  84. package/dist/chunks/{repository-cfzy73q7.js → filesystem-8qv3wgvp.js} +37 -37
  85. package/dist/chunks/{repository-9hm7p4mp.js → filesystem-8r6v9khj.js} +20 -20
  86. package/dist/chunks/{repository-3x7atde9.js → filesystem-8rab1k8r.js} +25 -25
  87. package/dist/chunks/{repository-znj3gbds.js → filesystem-8rbph9sy.js} +27 -27
  88. package/dist/chunks/{repository-8t99kr38.js → filesystem-8t99kr38.js} +1 -1
  89. package/dist/chunks/{repository-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
  90. package/dist/chunks/{repository-kbgs7tyr.js → filesystem-8xz27cp9.js} +4 -4
  91. package/dist/chunks/{repository-8z6m94af.js → filesystem-8z6m94af.js} +3 -3
  92. package/dist/chunks/{repository-90zstvax.js → filesystem-90zstvax.js} +1 -1
  93. package/dist/chunks/{repository-z7m42cav.js → filesystem-911syh2y.js} +24 -24
  94. package/dist/chunks/{repository-qk5sk9d1.js → filesystem-93xmyh8q.js} +4 -4
  95. package/dist/chunks/{repository-j0cnhtw8.js → filesystem-95kpfxbj.js} +5 -5
  96. package/dist/chunks/{repository-96djdqw5.js → filesystem-96djdqw5.js} +4 -4
  97. package/dist/chunks/{repository-r9haahrh.js → filesystem-99jjt1dz.js} +13 -13
  98. package/dist/chunks/{repository-9bjq5xf8.js → filesystem-9fatc37w.js} +48 -48
  99. package/dist/chunks/{repository-bvafq468.js → filesystem-9hff56gs.js} +28 -28
  100. package/dist/chunks/{repository-8ns5k15t.js → filesystem-9jzjkbjk.js} +14 -14
  101. package/dist/chunks/{repository-9q8g9sv8.js → filesystem-9q8g9sv8.js} +1 -1
  102. package/dist/chunks/{repository-68zsf5nd.js → filesystem-9tp1sxbe.js} +13 -13
  103. package/dist/chunks/{repository-crnga6rk.js → filesystem-9vag47b5.js} +15 -15
  104. package/dist/chunks/{repository-qjmmxvsx.js → filesystem-9wb03w19.js} +7 -7
  105. package/dist/chunks/{repository-a1qwck5h.js → filesystem-9yd64rvx.js} +8 -8
  106. package/dist/chunks/{repository-zf1yrpm1.js → filesystem-a15qcg7t.js} +5 -5
  107. package/dist/chunks/{repository-v2psmyxx.js → filesystem-a4867apv.js} +5 -5
  108. package/dist/chunks/{repository-7nqkf5r1.js → filesystem-a5fx33f2.js} +6 -6
  109. package/dist/chunks/{repository-7qkfad8a.js → filesystem-ac5tzc4s.js} +5 -5
  110. package/dist/chunks/{repository-8nftj1yp.js → filesystem-ag3jbkx2.js} +8 -8
  111. package/dist/chunks/{repository-aj7mw0zk.js → filesystem-aj7mw0zk.js} +2 -2
  112. package/dist/chunks/{repository-8d2bw64f.js → filesystem-ajstjzwv.js} +10 -10
  113. package/dist/chunks/{repository-b9jmvddr.js → filesystem-apms2mrw.js} +11 -11
  114. package/dist/chunks/{repository-q2xtnwk4.js → filesystem-awr76603.js} +25 -25
  115. package/dist/chunks/{repository-hmnqfn4v.js → filesystem-ayfqptq7.js} +5 -5
  116. package/dist/chunks/{repository-x7arxcmm.js → filesystem-b42hm3pt.js} +34 -34
  117. package/dist/chunks/{repository-sf6bpkgk.js → filesystem-b6apdh58.js} +24 -24
  118. package/dist/chunks/{repository-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
  119. package/dist/chunks/{repository-3bbxymw0.js → filesystem-bb0pw8zc.js} +33 -33
  120. package/dist/chunks/{repository-dcwabf9x.js → filesystem-be2qad6y.js} +15 -15
  121. package/dist/chunks/{repository-t48dq7pj.js → filesystem-bf4f9x8x.js} +96 -35
  122. package/dist/chunks/{repository-m7f5x9f3.js → filesystem-bkxq22ca.js} +81 -81
  123. package/dist/chunks/{repository-35ya7az0.js → filesystem-bn9c6z9f.js} +6 -6
  124. package/dist/chunks/{repository-gc4t6v4h.js → filesystem-bnah3mpw.js} +21 -21
  125. package/dist/chunks/{repository-zkerd49f.js → filesystem-bnv5zz2f.js} +11 -11
  126. package/dist/chunks/{repository-p553nwyy.js → filesystem-bst7srfy.js} +9 -9
  127. package/dist/chunks/{repository-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
  128. package/dist/chunks/{repository-ytebkfn0.js → filesystem-bvjhtxhe.js} +6 -6
  129. package/dist/chunks/{repository-t2853657.js → filesystem-c0scmcj4.js} +9 -9
  130. package/dist/chunks/{repository-pek8xmkz.js → filesystem-c4qjnaqh.js} +28 -28
  131. package/dist/chunks/{repository-fbp89s9v.js → filesystem-c951tkze.js} +7 -7
  132. package/dist/chunks/{repository-djvpvna9.js → filesystem-ce6y1dpc.js} +3 -3
  133. package/dist/chunks/{repository-ze1p7jqp.js → filesystem-ch4aym42.js} +15 -15
  134. package/dist/chunks/{repository-cvfsgrs7.js → filesystem-chxzm0p6.js} +6 -6
  135. package/dist/chunks/{repository-dyczxt3a.js → filesystem-ckwjbbtz.js} +21 -21
  136. package/dist/chunks/{repository-t0ekvtpp.js → filesystem-cp4fm39h.js} +11 -11
  137. package/dist/chunks/{repository-cr4rfj9z.js → filesystem-cr4rfj9z.js} +1 -1
  138. package/dist/chunks/{repository-qtee3wnm.js → filesystem-cw6n7824.js} +5 -5
  139. package/dist/chunks/{repository-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
  140. package/dist/chunks/{repository-hcneb2c8.js → filesystem-d5fxwhvd.js} +30 -30
  141. package/dist/chunks/{repository-dt77769w.js → filesystem-dt77769w.js} +1 -1
  142. package/dist/chunks/{repository-dv96216k.js → filesystem-dv96216k.js} +1 -1
  143. package/dist/chunks/{repository-4n2bf6zf.js → filesystem-dxan1mrp.js} +7 -7
  144. package/dist/chunks/{repository-0rscem4b.js → filesystem-e0f7z133.js} +5 -5
  145. package/dist/chunks/{repository-7n810yga.js → filesystem-e2r08tg1.js} +10 -10
  146. package/dist/chunks/{repository-e834z07m.js → filesystem-e834z07m.js} +1 -1
  147. package/dist/chunks/{repository-zmdhjf1v.js → filesystem-e8k50g8j.js} +12 -12
  148. package/dist/chunks/{repository-qfqmsygf.js → filesystem-e95pk719.js} +25 -25
  149. package/dist/chunks/{repository-86ng5cw0.js → filesystem-eab5a047.js} +4 -4
  150. package/dist/chunks/{repository-eavcrtrz.js → filesystem-eavcrtrz.js} +2 -2
  151. package/dist/chunks/{repository-nrghxvsp.js → filesystem-emb4gwtt.js} +11 -11
  152. package/dist/chunks/{repository-hfv14dtg.js → filesystem-entb9tz6.js} +19 -19
  153. package/dist/chunks/{repository-1y7drcmg.js → filesystem-epk2gzwc.js} +9 -9
  154. package/dist/chunks/{repository-s1f1w4yj.js → filesystem-epnmz11s.js} +18 -18
  155. package/dist/chunks/{repository-eqw4pqj1.js → filesystem-eqw4pqj1.js} +2 -2
  156. package/dist/chunks/filesystem-ev660z6k.js +18 -0
  157. package/dist/chunks/{repository-zaf43er9.js → filesystem-ew022wxf.js} +20 -20
  158. package/dist/chunks/{repository-hsnq1va6.js → filesystem-f30vev53.js} +2 -2
  159. package/dist/chunks/{repository-zmesx4nb.js → filesystem-f3205147.js} +27 -27
  160. package/dist/chunks/{repository-y4wxtq6w.js → filesystem-fbghex4f.js} +14 -14
  161. package/dist/chunks/{repository-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
  162. package/dist/chunks/{repository-fg9p65nk.js → filesystem-fg9p65nk.js} +2 -2
  163. package/dist/chunks/{repository-w2h55x57.js → filesystem-fge9q26e.js} +12 -12
  164. package/dist/chunks/{repository-zesyj9kh.js → filesystem-fhxbqm4w.js} +15 -15
  165. package/dist/chunks/{repository-7a2kvczc.js → filesystem-fje97jh5.js} +32 -32
  166. package/dist/chunks/{repository-kkn8km6v.js → filesystem-fq7kzv5e.js} +40 -40
  167. package/dist/chunks/{repository-1c417wd5.js → filesystem-fqm9ha3d.js} +15 -15
  168. package/dist/chunks/{repository-nkaf1g71.js → filesystem-ftbvkkmh.js} +9 -9
  169. package/dist/chunks/{repository-tf05bass.js → filesystem-fte7kk04.js} +44 -43
  170. package/dist/chunks/{repository-zzfr1xvn.js → filesystem-fze2smjz.js} +27 -27
  171. package/dist/chunks/{repository-0h8y3ex8.js → filesystem-fznmdakp.js} +4 -4
  172. package/dist/chunks/{repository-128hmwhq.js → filesystem-g7kaawny.js} +11 -11
  173. package/dist/chunks/{repository-b2c1mvj5.js → filesystem-gb53k21n.js} +36 -36
  174. package/dist/chunks/{repository-ggk8302d.js → filesystem-gbd4m27s.js} +3 -3
  175. package/dist/chunks/{repository-gbjdnr5j.js → filesystem-gbjdnr5j.js} +2 -2
  176. package/dist/chunks/{repository-jzqxvfnq.js → filesystem-gcjvkr7v.js} +30 -30
  177. package/dist/chunks/{repository-tmyps9a8.js → filesystem-ghzysasn.js} +35 -35
  178. package/dist/chunks/{repository-fzf2sxt5.js → filesystem-gj1by2n5.js} +5 -5
  179. package/dist/chunks/{repository-27q9sh4d.js → filesystem-gjdx25xd.js} +18 -18
  180. package/dist/chunks/{repository-65sg5ez6.js → filesystem-gk1nhyk8.js} +12 -12
  181. package/dist/chunks/{repository-awr3zj91.js → filesystem-gkjtw3vz.js} +10 -10
  182. package/dist/chunks/{repository-e5c0k95c.js → filesystem-gmfpnxc6.js} +3 -3
  183. package/dist/chunks/{repository-d4v9tmah.js → filesystem-gn8tkhbf.js} +2 -2
  184. package/dist/chunks/{repository-a7dted3c.js → filesystem-gnbjw61v.js} +4 -4
  185. package/dist/chunks/{repository-pny0hvca.js → filesystem-gwgzfe9g.js} +11 -11
  186. package/dist/chunks/{repository-tg7s7b5t.js → filesystem-gxs71cxp.js} +4 -4
  187. package/dist/chunks/{repository-61qraad9.js → filesystem-gz7axp6c.js} +5 -5
  188. package/dist/chunks/{repository-8rwpp194.js → filesystem-h4nf0qxy.js} +10 -10
  189. package/dist/chunks/{repository-q318mmxc.js → filesystem-h8ky61s5.js} +11 -11
  190. package/dist/chunks/{repository-gcpxngxx.js → filesystem-hczps8gs.js} +5 -5
  191. package/dist/chunks/{repository-hh7kjqtw.js → filesystem-hh7kjqtw.js} +1 -1
  192. package/dist/chunks/{repository-vzj9tmwp.js → filesystem-hpce2bxp.js} +32 -32
  193. package/dist/chunks/{repository-hpg1pkwy.js → filesystem-hpg1pkwy.js} +1 -1
  194. package/dist/chunks/{repository-526g40ts.js → filesystem-j1qc7ve1.js} +5 -5
  195. package/dist/chunks/{repository-j376ae4e.js → filesystem-j376ae4e.js} +1 -1
  196. package/dist/chunks/{repository-qd7wbecs.js → filesystem-j3sy6vx4.js} +43 -43
  197. package/dist/chunks/{repository-acnapkdx.js → filesystem-j6dbc10v.js} +26 -26
  198. package/dist/chunks/{repository-ze75qvmd.js → filesystem-j9nxzz3g.js} +3 -3
  199. package/dist/chunks/{repository-s8e2nyv7.js → filesystem-ja3akpp7.js} +48 -48
  200. package/dist/chunks/{repository-19g9fh03.js → filesystem-jdq9dv0a.js} +12 -12
  201. package/dist/chunks/{repository-tzxp984n.js → filesystem-jjkv0xf5.js} +19 -19
  202. package/dist/chunks/{repository-62zd5tzk.js → filesystem-jjvvtnfs.js} +5 -5
  203. package/dist/chunks/{repository-jtnps1zs.js → filesystem-jtnps1zs.js} +2 -2
  204. package/dist/chunks/{repository-t97kwyt7.js → filesystem-jw30vyg7.js} +13 -13
  205. package/dist/chunks/{repository-3bgf9gas.js → filesystem-jwve1gmd.js} +4 -4
  206. package/dist/chunks/{repository-01f58weh.js → filesystem-jwxa6amh.js} +6 -6
  207. package/dist/chunks/{repository-jxd6f16v.js → filesystem-jxd6f16v.js} +2 -2
  208. package/dist/chunks/{repository-jcw9q93v.js → filesystem-jy5kj527.js} +11 -11
  209. package/dist/chunks/{repository-k46dd5bg.js → filesystem-k46dd5bg.js} +1 -1
  210. package/dist/chunks/{repository-awrz1b32.js → filesystem-k4nexr3a.js} +17 -17
  211. package/dist/chunks/{repository-0t21jw6h.js → filesystem-kf80r4v2.js} +9 -9
  212. package/dist/chunks/{repository-5pmtkemt.js → filesystem-kgx5mhz5.js} +21 -21
  213. package/dist/chunks/{repository-t4vf48t8.js → filesystem-kkb7zeg6.js} +8 -8
  214. package/dist/chunks/{repository-6d7ar4jq.js → filesystem-kmvhrvnb.js} +21 -21
  215. package/dist/chunks/{repository-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
  216. package/dist/chunks/{repository-svt5zkkd.js → filesystem-kvgb5j4p.js} +16 -16
  217. package/dist/chunks/{repository-tc9nb9a0.js → filesystem-kw362g4m.js} +9 -9
  218. package/dist/chunks/filesystem-kzczzf4v.js +25 -0
  219. package/dist/chunks/{repository-fdfqcyn8.js → filesystem-m0vh58p1.js} +28 -28
  220. package/dist/chunks/{repository-4esnxtst.js → filesystem-m0yvy5wq.js} +3 -3
  221. package/dist/chunks/{repository-m1714858.js → filesystem-m1714858.js} +1 -1
  222. package/dist/chunks/{repository-ae3bbkjz.js → filesystem-m3dvshv8.js} +3 -3
  223. package/dist/chunks/{repository-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  224. package/dist/chunks/{repository-g6fcj31y.js → filesystem-mak3w6xr.js} +16 -16
  225. package/dist/chunks/{repository-bh54cvah.js → filesystem-mb69jzyx.js} +12 -12
  226. package/dist/chunks/{repository-ja5h2ebt.js → filesystem-mn00fh9h.js} +17 -17
  227. package/dist/chunks/{repository-rxcfmx0a.js → filesystem-mrngp2m4.js} +17 -17
  228. package/dist/chunks/{repository-mamxj3ye.js → filesystem-mstrsafp.js} +1 -1
  229. package/dist/chunks/{repository-ztw1sh5h.js → filesystem-msvaqh22.js} +30 -30
  230. package/dist/chunks/{repository-81vzgppv.js → filesystem-mv5c0h3x.js} +6 -6
  231. package/dist/chunks/{repository-6k31ra67.js → filesystem-mvrp13k1.js} +79 -79
  232. package/dist/chunks/{repository-95sp4hdf.js → filesystem-mzm8bzzq.js} +4 -4
  233. package/dist/chunks/{repository-8nxpa0mz.js → filesystem-mzpzfnav.js} +32 -32
  234. package/dist/chunks/{repository-0q74zvx8.js → filesystem-na0k9was.js} +5 -5
  235. package/dist/chunks/{repository-nah043kf.js → filesystem-nah043kf.js} +1 -1
  236. package/dist/chunks/{repository-x01ndw86.js → filesystem-npk60vfe.js} +76 -75
  237. package/dist/chunks/{repository-f341sazs.js → filesystem-nt907s04.js} +3 -3
  238. package/dist/chunks/{repository-nx4vzyjd.js → filesystem-nx4vzyjd.js} +2 -2
  239. package/dist/chunks/{repository-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
  240. package/dist/chunks/{repository-zjmn475w.js → filesystem-p4cp848n.js} +12 -12
  241. package/dist/chunks/{repository-pknna89w.js → filesystem-pknna89w.js} +1 -1
  242. package/dist/chunks/{repository-rnpdff07.js → filesystem-pvtdn4cq.js} +4 -4
  243. package/dist/chunks/{repository-2md5m33k.js → filesystem-pwsg9qb0.js} +3 -3
  244. package/dist/chunks/{repository-dg5naf6e.js → filesystem-px7qpgcn.js} +4 -4
  245. package/dist/chunks/{repository-qkw2jr9b.js → filesystem-pxtfkpje.js} +2 -2
  246. package/dist/chunks/{repository-b9wfzyf7.js → filesystem-q2nmdwkj.js} +43 -43
  247. package/dist/chunks/{repository-g00r64yf.js → filesystem-qdgzn1sm.js} +10 -10
  248. package/dist/chunks/{repository-9skas3fk.js → filesystem-qez3dbcf.js} +19 -19
  249. package/dist/chunks/{repository-nmhjkwy5.js → filesystem-qfne6emw.js} +12 -12
  250. package/dist/chunks/{repository-trgewt4a.js → filesystem-qg1qtv71.js} +45 -45
  251. package/dist/chunks/{repository-bk2kp955.js → filesystem-qmernfek.js} +35 -35
  252. package/dist/chunks/{repository-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
  253. package/dist/chunks/{repository-qqvy8y24.js → filesystem-qqvy8y24.js} +1 -1
  254. package/dist/chunks/{repository-qsdghx1p.js → filesystem-qsdghx1p.js} +1 -1
  255. package/dist/chunks/{repository-vzppetdn.js → filesystem-qw2t3dzn.js} +6 -6
  256. package/dist/chunks/{repository-4knj1y15.js → filesystem-qwvsjm6j.js} +11 -11
  257. package/dist/chunks/{repository-p3g3b7x5.js → filesystem-ra34yqmw.js} +5 -5
  258. package/dist/chunks/{repository-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
  259. package/dist/chunks/{repository-df4j3dme.js → filesystem-rgxvcxqq.js} +8 -8
  260. package/dist/chunks/{repository-fpqm7851.js → filesystem-rhewgjmk.js} +27 -27
  261. package/dist/chunks/{repository-ggem1gnx.js → filesystem-rhkye7cx.js} +4 -4
  262. package/dist/chunks/{repository-jhhtxfg3.js → filesystem-rjkfg8bm.js} +3 -3
  263. package/dist/chunks/{repository-wefmxetv.js → filesystem-rkrz0p91.js} +26 -26
  264. package/dist/chunks/{repository-0pkedc33.js → filesystem-rr9dce24.js} +35 -35
  265. package/dist/chunks/{repository-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
  266. package/dist/chunks/{repository-p5jsydzp.js → filesystem-rx1waf6z.js} +11 -11
  267. package/dist/chunks/{repository-zhhyazj6.js → filesystem-rxh8q6q6.js} +12 -12
  268. package/dist/chunks/{repository-57fxnk3e.js → filesystem-s064dzw5.js} +18 -18
  269. package/dist/chunks/{repository-nkgn593q.js → filesystem-s1a15ccr.js} +6 -6
  270. package/dist/chunks/{repository-s1ba0vj0.js → filesystem-s1ba0vj0.js} +2 -2
  271. package/dist/chunks/{repository-k1c2s8ns.js → filesystem-s57ahyn0.js} +7 -7
  272. package/dist/chunks/{repository-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
  273. package/dist/chunks/{repository-sbya78hr.js → filesystem-sbya78hr.js} +1 -1
  274. package/dist/chunks/{repository-j0a3xxs6.js → filesystem-sf3p967d.js} +48 -48
  275. package/dist/chunks/{repository-1bn0y5tn.js → filesystem-skxmj5sa.js} +18 -18
  276. package/dist/chunks/{repository-1qt7sfqe.js → filesystem-smhgajzj.js} +22 -22
  277. package/dist/chunks/{repository-7cs1fm83.js → filesystem-smjfwefw.js} +17 -17
  278. package/dist/chunks/{repository-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
  279. package/dist/chunks/{repository-mtpyhzaw.js → filesystem-tc9vsh1h.js} +35 -35
  280. package/dist/chunks/{repository-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
  281. package/dist/chunks/{repository-z1g44n9p.js → filesystem-tf33zyjq.js} +28 -28
  282. package/dist/chunks/{repository-0vh0ztag.js → filesystem-tfr9yjjd.js} +31 -31
  283. package/dist/chunks/{repository-9kg5w032.js → filesystem-tg1vr1qt.js} +8 -8
  284. package/dist/chunks/{repository-349sqrbt.js → filesystem-trs6degs.js} +31 -31
  285. package/dist/chunks/{repository-593mzzr4.js → filesystem-tvp0dzzs.js} +2 -2
  286. package/dist/chunks/{repository-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
  287. package/dist/chunks/{repository-062cscqh.js → filesystem-tx11yp5c.js} +30 -30
  288. package/dist/chunks/{repository-gsn6ff7q.js → filesystem-tyk53y9h.js} +31 -31
  289. package/dist/chunks/{repository-x9vm5pcw.js → filesystem-v02g83pj.js} +18 -18
  290. package/dist/chunks/{repository-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
  291. package/dist/chunks/{repository-ew0azyk8.js → filesystem-vb6dc4cy.js} +23 -23
  292. package/dist/chunks/{repository-z7p88xxg.js → filesystem-venm01wt.js} +18 -18
  293. package/dist/chunks/{repository-mqe7nf5n.js → filesystem-vg0erq9k.js} +3 -3
  294. package/dist/chunks/{repository-vjf35v1f.js → filesystem-vjf35v1f.js} +1 -1
  295. package/dist/chunks/{repository-kk1ky6ne.js → filesystem-vkde5m3x.js} +34 -34
  296. package/dist/chunks/{repository-edf5jh0e.js → filesystem-vqgxj1ns.js} +17 -17
  297. package/dist/chunks/filesystem-vqkw5cgx.js +549 -0
  298. package/dist/chunks/{repository-q3y5wvej.js → filesystem-vr9fx7j5.js} +8 -8
  299. package/dist/chunks/filesystem-vtarvj67.js +60 -0
  300. package/dist/chunks/{repository-0zf8fpw9.js → filesystem-w2tkwyqq.js} +24 -24
  301. package/dist/chunks/{repository-4xpt6t8e.js → filesystem-w3b8frf0.js} +15 -15
  302. package/dist/chunks/{repository-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  303. package/dist/chunks/{repository-w8qtt4th.js → filesystem-w8qtt4th.js} +1 -1
  304. package/dist/chunks/{repository-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
  305. package/dist/chunks/{repository-wd87259q.js → filesystem-wd87259q.js} +1 -1
  306. package/dist/chunks/filesystem-wefpawbm.js +26 -0
  307. package/dist/chunks/{repository-888nng90.js → filesystem-wexf2k6a.js} +7 -7
  308. package/dist/chunks/{repository-10rfqpb9.js → filesystem-wey7npy0.js} +13 -13
  309. package/dist/chunks/{repository-yabh6y4a.js → filesystem-wgegyvat.js} +45 -45
  310. package/dist/chunks/{repository-wnhgecwx.js → filesystem-wnhgecwx.js} +1 -1
  311. package/dist/chunks/{repository-wttgcv7s.js → filesystem-wr7t8v2s.js} +21 -21
  312. package/dist/chunks/{repository-wvr8xscb.js → filesystem-wvr8xscb.js} +1 -1
  313. package/dist/chunks/{repository-6xw3seg4.js → filesystem-wz5tj16h.js} +5 -5
  314. package/dist/chunks/{repository-9vyktpg8.js → filesystem-x243gcnx.js} +19 -19
  315. package/dist/chunks/{repository-2fpkg984.js → filesystem-x7bzwpv5.js} +21 -21
  316. package/dist/chunks/{repository-45sn5fkz.js → filesystem-x7ddy58s.js} +15 -15
  317. package/dist/chunks/{repository-ctmpqb7w.js → filesystem-x7de2wha.js} +9 -9
  318. package/dist/chunks/{repository-55qjdesv.js → filesystem-xbhg6p9k.js} +13 -13
  319. package/dist/chunks/{repository-kp2tkdrb.js → filesystem-xhza9kst.js} +3 -3
  320. package/dist/chunks/{repository-3ryz99p0.js → filesystem-xmx7xj34.js} +4 -4
  321. package/dist/chunks/{repository-783vkagc.js → filesystem-xrktf55d.js} +8 -8
  322. package/dist/chunks/{repository-3v50s0nm.js → filesystem-xsvq7cjt.js} +4 -4
  323. package/dist/chunks/{repository-r5dj3ay3.js → filesystem-xzc3sbzj.js} +11 -11
  324. package/dist/chunks/{repository-4sshptwq.js → filesystem-xzyap3kx.js} +11 -11
  325. package/dist/chunks/{repository-a7m7r1wt.js → filesystem-xzyc158b.js} +11 -11
  326. package/dist/chunks/{repository-ct3v1yt3.js → filesystem-y24dv8sg.js} +195 -195
  327. package/dist/chunks/{repository-3vyp6j4y.js → filesystem-y2byerj0.js} +20 -20
  328. package/dist/chunks/{repository-4x4a4djr.js → filesystem-y34nwz0g.js} +7 -7
  329. package/dist/chunks/{repository-5xvv6snx.js → filesystem-y3de7ed5.js} +16 -16
  330. package/dist/chunks/{repository-ppjsjmvn.js → filesystem-yayjxqrm.js} +11 -11
  331. package/dist/chunks/{repository-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{repository-0h86f0az.js → filesystem-ybws1qgk.js} +4 -4
  333. package/dist/chunks/{repository-yr705xyq.js → filesystem-yr705xyq.js} +1 -1
  334. package/dist/chunks/{repository-09kn1hvj.js → filesystem-ywy4tt7w.js} +11 -11
  335. package/dist/chunks/{repository-qkd3x3nb.js → filesystem-zfrx22gp.js} +4 -4
  336. package/dist/chunks/{repository-qgv0hrxy.js → filesystem-zqzzyd4q.js} +44 -44
  337. package/dist/chunks/{repository-8n9m5z10.js → filesystem-zsqyp6r6.js} +7 -7
  338. package/dist/chunks/{repository-2mbjfaxd.js → filesystem-ztf6n3de.js} +4 -4
  339. package/dist/chunks/{repository-xar188fb.js → filesystem-ztn69bwn.js} +2 -2
  340. package/dist/codemode/catalog.js +1 -1
  341. package/dist/codemode/execution.js +5 -5
  342. package/dist/codemode/fetch.js +145 -144
  343. package/dist/codemode/instructions.js +5 -5
  344. package/dist/codemode/tool.js +151 -150
  345. package/dist/command.js +88 -87
  346. package/dist/config/discovery.js +95 -94
  347. package/dist/config/integration.js +1 -1
  348. package/dist/config/managed.js +1 -1
  349. package/dist/config/markdown.js +1 -1
  350. package/dist/config/normalize.js +112 -111
  351. package/dist/config/plugin/agent.js +130 -129
  352. package/dist/config/plugin/command.js +229 -227
  353. package/dist/config/plugin/compaction.js +171 -170
  354. package/dist/config/plugin/compatibility.js +150 -149
  355. package/dist/config/plugin/entry-observer.js +1 -1
  356. package/dist/config/plugin/formatter.js +131 -130
  357. package/dist/config/plugin/image.js +130 -129
  358. package/dist/config/plugin/instruction.js +130 -129
  359. package/dist/config/plugin/location-watcher.js +130 -129
  360. package/dist/config/plugin/mcp.js +137 -136
  361. package/dist/config/plugin/policy.js +130 -129
  362. package/dist/config/plugin/provider.js +130 -129
  363. package/dist/config/plugin/reference.js +132 -131
  364. package/dist/config/plugin/shell.js +132 -131
  365. package/dist/config/plugin/skill-file.js +146 -145
  366. package/dist/config/plugin/skill-scan.js +1 -1
  367. package/dist/config/plugin/skill.js +153 -152
  368. package/dist/config/plugin/snapshot.js +130 -129
  369. package/dist/config/plugin/source.js +133 -132
  370. package/dist/config/plugin/tool-output.js +131 -130
  371. package/dist/config/plugin/websearch.js +131 -130
  372. package/dist/config/plugin/worktree.js +132 -131
  373. package/dist/config/variable.js +1 -1
  374. package/dist/config/watch.js +1 -1
  375. package/dist/config.js +135 -134
  376. package/dist/console-access.js +1 -1
  377. package/dist/credential/sql.js +2 -2
  378. package/dist/credential.js +94 -93
  379. package/dist/database/database.js +77 -76
  380. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  381. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  382. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  383. package/dist/database/drizzle/index.js +13 -13
  384. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  385. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  387. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  388. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  389. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  390. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  394. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  395. package/dist/database/drizzle.js +14 -14
  396. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  397. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  398. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  399. package/dist/database/migration/20260225215848_workspace.js +1 -1
  400. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  401. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  402. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  403. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  404. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  405. package/dist/database/migration/20260323234822_events.js +1 -1
  406. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  407. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  408. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  409. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  410. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  411. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  412. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  413. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  414. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  415. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  416. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  417. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  418. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  419. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  420. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  421. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  422. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  423. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  424. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  425. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  426. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  427. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  428. package/dist/database/migration/20260611035744_credential.js +1 -1
  429. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  430. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  431. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  432. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  433. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  434. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  435. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  436. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  437. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  438. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  439. package/dist/database/migration/20260812213948_worktree.js +1 -1
  440. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  441. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  442. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  443. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  444. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  445. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  446. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  447. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  448. package/dist/database/migration/20261025123711_blob.js +1 -1
  449. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  450. package/dist/database/migration/20261026223005_schedule.js +1 -1
  451. package/dist/database/migration/20261029002625_session_part.js +1 -1
  452. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  453. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  454. package/dist/database/migration/20261030054400_job.js +6 -0
  455. package/dist/database/migration.gen.js +60 -59
  456. package/dist/database/migration.js +62 -61
  457. package/dist/database/path.js +2 -2
  458. package/dist/database/schema.gen.js +1 -1
  459. package/dist/database/schema.sql.js +1 -1
  460. package/dist/database/sqlite.bun.js +1 -1
  461. package/dist/database/sqlite.js +1 -1
  462. package/dist/database/sqlite.node.js +1 -1
  463. package/dist/database/sqlite.workerd.js +1 -1
  464. package/dist/database/v1-migration.bun.js +105 -104
  465. package/dist/database/v1-migration.js +1 -1
  466. package/dist/effect/app-node-builder.js +426 -424
  467. package/dist/effect/app-node-platform.js +2 -2
  468. package/dist/effect/keyed-mutex.js +1 -1
  469. package/dist/effect/websocket-constructor.js +1 -1
  470. package/dist/environment/driver.js +1 -1
  471. package/dist/environment/environment.js +106 -105
  472. package/dist/environment/exec-defaults.js +2 -2
  473. package/dist/environment/files.js +1 -1
  474. package/dist/environment/index.js +108 -107
  475. package/dist/environment/local.js +2 -2
  476. package/dist/environment/memory.js +2 -2
  477. package/dist/environment/unavailable.js +3 -3
  478. package/dist/event/sql.js +1 -1
  479. package/dist/event-logger.js +81 -80
  480. package/dist/file-access.js +156 -155
  481. package/dist/file-mutation.js +107 -106
  482. package/dist/file-retention.js +1 -1
  483. package/dist/filesystem/fff.bun.js +2 -2
  484. package/dist/filesystem/fff.js +1 -1
  485. package/dist/filesystem/fff.node.js +2 -2
  486. package/dist/filesystem/fff.workerd.js +2 -2
  487. package/dist/filesystem/file-watch.js +88 -87
  488. package/dist/filesystem/location-watcher-policy.js +6 -6
  489. package/dist/filesystem/location-watcher.js +243 -241
  490. package/dist/filesystem/protected.js +1 -1
  491. package/dist/filesystem/search.js +112 -111
  492. package/dist/filesystem/watcher-binding.js +1 -1
  493. package/dist/filesystem/watcher.js +11 -11
  494. package/dist/filesystem.js +115 -114
  495. package/dist/form.js +95 -94
  496. package/dist/formatter/builtins.js +4 -4
  497. package/dist/formatter.js +100 -99
  498. package/dist/generate.js +122 -121
  499. package/dist/git.js +11 -11
  500. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  501. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  502. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  503. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  504. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  505. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  506. package/dist/github-copilot/copilot-provider.js +17 -17
  507. package/dist/github-copilot/models.js +104 -103
  508. package/dist/github-copilot/openai-compatible-error.js +1 -1
  509. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  510. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  511. package/dist/github-copilot/responses/openai-error.js +1 -1
  512. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  513. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  514. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  515. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  516. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  517. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  518. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  519. package/dist/image/notice.js +1 -1
  520. package/dist/image/photon-normalize.js +1 -1
  521. package/dist/image/photon-worker.js +1 -1
  522. package/dist/image/photon.js +4 -4
  523. package/dist/image.js +6 -6
  524. package/dist/instance/service.js +3 -3
  525. package/dist/instance.js +417 -415
  526. package/dist/instruction-discovery.js +93 -92
  527. package/dist/instructions/builtins.js +100 -99
  528. package/dist/instructions/index.js +1 -1
  529. package/dist/integration/connection.js +3 -3
  530. package/dist/integration.js +100 -99
  531. package/dist/job/sql.js +7 -0
  532. package/dist/job.js +88 -88
  533. package/dist/kv/sql.js +2 -2
  534. package/dist/kv.js +84 -83
  535. package/dist/location-activity.js +171 -169
  536. package/dist/location-lifecycle.js +150 -149
  537. package/dist/location-service-map.js +99 -98
  538. package/dist/location-services.js +416 -414
  539. package/dist/location.js +102 -101
  540. package/dist/managed-policy.js +3 -3
  541. package/dist/mcp/client.js +104 -103
  542. package/dist/mcp/index.js +116 -115
  543. package/dist/mcp/instructions.js +179 -178
  544. package/dist/mcp/oauth.js +89 -88
  545. package/dist/mcp/socket-client.js +1 -1
  546. package/dist/mcp/stdio.js +103 -102
  547. package/dist/mime.js +1 -1
  548. package/dist/modal/models.js +104 -103
  549. package/dist/model-resolver.js +112 -111
  550. package/dist/model-retry.js +1 -1
  551. package/dist/model.js +113 -112
  552. package/dist/models-dev/v1.js +1 -1
  553. package/dist/models-dev.js +117 -116
  554. package/dist/oauth/page.js +1 -1
  555. package/dist/permission/saved.js +89 -88
  556. package/dist/permission/sql.js +5 -5
  557. package/dist/permission.js +149 -148
  558. package/dist/persistent-pty/binary.bun.js +1 -1
  559. package/dist/persistent-pty/daemon.js +1 -1
  560. package/dist/persistent-pty/index.js +97 -96
  561. package/dist/persistent-pty/pty-binding.js +1 -1
  562. package/dist/persistent-pty.js +86 -85
  563. package/dist/plugin/agent.js +85 -84
  564. package/dist/plugin/command.js +113 -112
  565. package/dist/plugin/goal.js +3 -3
  566. package/dist/plugin/hooks.js +5 -5
  567. package/dist/plugin/host.js +236 -234
  568. package/dist/plugin/identity.js +5 -5
  569. package/dist/plugin/instance.js +5 -5
  570. package/dist/plugin/internal.js +395 -393
  571. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  572. package/dist/plugin/models-dev.js +110 -109
  573. package/dist/plugin/module.js +129 -128
  574. package/dist/plugin/optimize.js +4 -4
  575. package/dist/plugin/plan.js +146 -145
  576. package/dist/plugin/promise.js +1 -1
  577. package/dist/plugin/provider/amazon-bedrock.js +104 -103
  578. package/dist/plugin/provider/azure.js +130 -129
  579. package/dist/plugin/provider/cerebras.js +1 -1
  580. package/dist/plugin/provider/chatgpt.js +130 -129
  581. package/dist/plugin/provider/claude-agent/aisdk.js +117 -116
  582. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  587. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  589. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  590. package/dist/plugin/provider/claude-agent/index.js +145 -144
  591. package/dist/plugin/provider/claude-agent/instructions.js +114 -113
  592. package/dist/plugin/provider/claude-agent/integration.js +113 -112
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  595. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  596. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  600. package/dist/plugin/provider/claude-agent/provider.js +108 -107
  601. package/dist/plugin/provider/claude-agent/session.js +112 -111
  602. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  603. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  606. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  608. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  612. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -127
  613. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -127
  614. package/dist/plugin/provider/configured.js +126 -125
  615. package/dist/plugin/provider/credential-settings.js +85 -84
  616. package/dist/plugin/provider/databricks.js +1 -1
  617. package/dist/plugin/provider/digitalocean.js +106 -105
  618. package/dist/plugin/provider/dynamic.js +2 -2
  619. package/dist/plugin/provider/github-copilot.js +108 -107
  620. package/dist/plugin/provider/gitlab.js +107 -106
  621. package/dist/plugin/provider/google-vertex.js +127 -126
  622. package/dist/plugin/provider/kilo.js +1 -1
  623. package/dist/plugin/provider/llmgateway.js +89 -88
  624. package/dist/plugin/provider/lmstudio.js +139 -138
  625. package/dist/plugin/provider/local.js +136 -135
  626. package/dist/plugin/provider/modal.js +105 -104
  627. package/dist/plugin/provider/neon.js +1 -1
  628. package/dist/plugin/provider/nvidia.js +1 -1
  629. package/dist/plugin/provider/ollama.js +139 -138
  630. package/dist/plugin/provider/openai-context-caps.js +103 -102
  631. package/dist/plugin/provider/openai.js +132 -131
  632. package/dist/plugin/provider/opencode.js +132 -131
  633. package/dist/plugin/provider/openrouter.js +104 -103
  634. package/dist/plugin/provider/poe.js +90 -89
  635. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  636. package/dist/plugin/provider/sap-ai-core.js +104 -103
  637. package/dist/plugin/provider/sdk-factory.js +1 -1
  638. package/dist/plugin/provider/snowflake-cortex.js +129 -128
  639. package/dist/plugin/provider/vllm.js +139 -138
  640. package/dist/plugin/provider/xai.js +104 -103
  641. package/dist/plugin/provider/zenmux.js +1 -1
  642. package/dist/plugin/provider.js +210 -209
  643. package/dist/plugin/sdk.js +87 -86
  644. package/dist/plugin/service.js +3 -3
  645. package/dist/plugin/skill.js +149 -148
  646. package/dist/plugin/source-directory.js +1 -1
  647. package/dist/plugin/supervisor.js +407 -405
  648. package/dist/plugin/tool-input-repair.js +4 -4
  649. package/dist/plugin/update.js +6 -6
  650. package/dist/plugin/vcs/git.js +99 -98
  651. package/dist/plugin/vcs/hg.js +99 -98
  652. package/dist/plugin/verbosity.js +106 -105
  653. package/dist/plugin/warming.js +128 -127
  654. package/dist/plugin/websearch/exa.js +5 -5
  655. package/dist/plugin/websearch/firecrawl.js +6 -6
  656. package/dist/plugin/websearch/index.js +9 -9
  657. package/dist/plugin/websearch/mcp.js +4 -4
  658. package/dist/plugin/websearch/parallel.js +6 -6
  659. package/dist/plugin/websearch/tavily.js +6 -6
  660. package/dist/plugin/websearch/tinyfish.js +8 -8
  661. package/dist/plugin.js +247 -245
  662. package/dist/project/icon.js +5 -5
  663. package/dist/project/schema.js +8 -8
  664. package/dist/project/sql.js +4 -4
  665. package/dist/project.js +103 -102
  666. package/dist/provider.js +112 -111
  667. package/dist/pty/protocol.js +1 -1
  668. package/dist/pty/ticket.js +1 -1
  669. package/dist/pty.js +111 -110
  670. package/dist/reference/instructions.js +101 -100
  671. package/dist/reference.js +103 -102
  672. package/dist/repository-cache.js +93 -92
  673. package/dist/repository.js +1 -1
  674. package/dist/ripgrep/binary.js +2 -2
  675. package/dist/ripgrep.js +108 -107
  676. package/dist/rpc.js +99 -98
  677. package/dist/schedule/check.js +241 -239
  678. package/dist/schedule/sql.js +6 -6
  679. package/dist/schedule.js +255 -253
  680. package/dist/schema.js +1 -1
  681. package/dist/session/affinity.js +1 -1
  682. package/dist/session/background.js +1 -1
  683. package/dist/session/blob.js +129 -128
  684. package/dist/session/command.js +85 -84
  685. package/dist/session/compaction.js +173 -172
  686. package/dist/session/context.js +198 -197
  687. package/dist/session/diff.js +101 -100
  688. package/dist/session/environment.js +5 -5
  689. package/dist/session/error.js +3 -3
  690. package/dist/session/event.js +1 -1
  691. package/dist/session/execution/restart.js +266 -269
  692. package/dist/session/execution.js +161 -159
  693. package/dist/session/generate.js +200 -199
  694. package/dist/session/history.js +136 -135
  695. package/dist/session/inbox.js +141 -140
  696. package/dist/session/info.js +3 -3
  697. package/dist/session/instruction-entry.js +88 -87
  698. package/dist/session/instruction-state.js +8 -8
  699. package/dist/session/instructions.js +143 -142
  700. package/dist/session/message-updater.js +2 -2
  701. package/dist/session/message.js +1 -1
  702. package/dist/session/model-request.js +168 -167
  703. package/dist/session/model-transport.js +9 -9
  704. package/dist/session/move.js +165 -163
  705. package/dist/session/projector.js +143 -142
  706. package/dist/session/prompt.js +148 -147
  707. package/dist/session/recent-text.js +1 -1
  708. package/dist/session/revert.js +139 -138
  709. package/dist/session/run-coordinator.js +1 -1
  710. package/dist/session/runner/index.js +3 -3
  711. package/dist/session/runner/llm.js +250 -248
  712. package/dist/session/runner/max-steps.js +1 -1
  713. package/dist/session/runner/model.js +113 -112
  714. package/dist/session/runner/publish-llm-event.js +149 -148
  715. package/dist/session/runner/retry.js +5 -5
  716. package/dist/session/runner/step.js +163 -162
  717. package/dist/session/runner/to-llm-message.js +137 -136
  718. package/dist/session/schema.js +1 -1
  719. package/dist/session/session.js +179 -177
  720. package/dist/session/shell.js +144 -143
  721. package/dist/session/skill.js +147 -146
  722. package/dist/session/sql.js +5 -5
  723. package/dist/session/stats.js +84 -83
  724. package/dist/session/store.js +142 -141
  725. package/dist/session/stored.js +2 -2
  726. package/dist/session/subagent-completion.js +1 -1
  727. package/dist/session/subagent-job.js +229 -227
  728. package/dist/session/system-prompt.js +1 -1
  729. package/dist/session/title.js +202 -201
  730. package/dist/session/to-session-error.js +148 -147
  731. package/dist/session/transfer.js +234 -232
  732. package/dist/session/usage.js +3 -3
  733. package/dist/session.js +227 -225
  734. package/dist/shell/parse.js +6 -6
  735. package/dist/shell/result.js +1 -1
  736. package/dist/shell/scan.js +1 -1
  737. package/dist/shell/select.js +13 -13
  738. package/dist/shell.js +144 -143
  739. package/dist/skill/discovery.js +6 -6
  740. package/dist/skill/instructions.js +145 -144
  741. package/dist/skill.js +154 -153
  742. package/dist/snapshot.js +102 -101
  743. package/dist/state.js +1 -1
  744. package/dist/tool/html-markdown.js +1 -1
  745. package/dist/tool/http-body.js +1 -1
  746. package/dist/tool/mcp.js +176 -175
  747. package/dist/tool/plugin/artifact.js +228 -226
  748. package/dist/tool/plugin/edit.js +164 -163
  749. package/dist/tool/plugin/file-diff.js +1 -1
  750. package/dist/tool/plugin/glob.js +168 -167
  751. package/dist/tool/plugin/grep.js +168 -167
  752. package/dist/tool/plugin/image-generate.js +237 -235
  753. package/dist/tool/plugin/mcp-resource.js +162 -161
  754. package/dist/tool/plugin/opencode.js +161 -160
  755. package/dist/tool/plugin/patch.js +166 -165
  756. package/dist/tool/plugin/question.js +146 -145
  757. package/dist/tool/plugin/read.js +169 -168
  758. package/dist/tool/plugin/schedule.js +247 -245
  759. package/dist/tool/plugin/shell.js +231 -229
  760. package/dist/tool/plugin/skill.js +157 -156
  761. package/dist/tool/plugin/subagent.js +236 -234
  762. package/dist/tool/plugin/todo.js +153 -152
  763. package/dist/tool/plugin/webfetch.js +157 -156
  764. package/dist/tool/plugin/websearch.js +155 -154
  765. package/dist/tool/plugin/write.js +166 -165
  766. package/dist/tool/read-filesystem.js +113 -112
  767. package/dist/tool/runtime.js +1 -1
  768. package/dist/tool-output.js +7 -7
  769. package/dist/tool.js +157 -156
  770. package/dist/types/database/migration/20261030054400_job.d.ts +3 -0
  771. package/dist/types/job/sql.d.ts +215 -0
  772. package/dist/types/job.d.ts +5 -7
  773. package/dist/types/schedule.d.ts +3 -2
  774. package/dist/types/session/model-request.d.ts +1 -1
  775. package/dist/usage-limits.js +98 -97
  776. package/dist/util/error-summary.js +1 -1
  777. package/dist/util/git-executable.js +3 -3
  778. package/dist/util/lazy.js +1 -1
  779. package/dist/util/slug.js +1 -1
  780. package/dist/util/token.js +1 -1
  781. package/dist/util/which.js +1 -1
  782. package/dist/util/wildcard.js +1 -1
  783. package/dist/v1/config/agent.js +5 -5
  784. package/dist/v1/config/command.js +3 -3
  785. package/dist/v1/config/mcp.js +4 -4
  786. package/dist/v1/config/migrate.js +105 -104
  787. package/dist/v1/config/permission.js +1 -1
  788. package/dist/v1/config/plugin.js +3 -3
  789. package/dist/v1/config/provider-options.js +1 -1
  790. package/dist/v1/config/provider.js +2 -2
  791. package/dist/variant.js +104 -103
  792. package/dist/vcs/patch.js +1 -1
  793. package/dist/vcs.js +102 -101
  794. package/dist/voice.js +101 -100
  795. package/dist/websearch.js +101 -100
  796. package/dist/wellknown/plugin.js +85 -84
  797. package/dist/wellknown.js +90 -89
  798. package/dist/workspace/driver.js +3 -3
  799. package/dist/workspace/sql.js +1 -1
  800. package/dist/workspace.js +93 -92
  801. package/dist/worktree/directory.js +2 -2
  802. package/dist/worktree/git.js +9 -9
  803. package/dist/worktree/sql.js +5 -5
  804. package/dist/worktree/strategies.js +102 -101
  805. package/dist/worktree.js +109 -108
  806. package/package.json +9 -9
  807. package/dist/chunks/repository-6bshxcsx.js +0 -18
  808. package/dist/chunks/repository-79nv3791.js +0 -261
  809. package/dist/chunks/repository-bnp18vzy.js +0 -26
  810. package/dist/chunks/repository-eqy0zkf5.js +0 -549
  811. package/dist/chunks/repository-x3c9tvtc.js +0 -16
  812. /package/dist/chunks/{repository-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  813. /package/dist/chunks/{repository-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  814. /package/dist/chunks/{repository-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  815. /package/dist/chunks/{repository-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  816. /package/dist/chunks/{repository-1kah00gy.js → filesystem-1kah00gy.js} +0 -0
  817. /package/dist/chunks/{repository-1pevy3nx.js → filesystem-1pevy3nx.js} +0 -0
  818. /package/dist/chunks/{repository-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  819. /package/dist/chunks/{repository-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  820. /package/dist/chunks/{repository-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
  821. /package/dist/chunks/{repository-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  822. /package/dist/chunks/{repository-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  823. /package/dist/chunks/{repository-3asan66x.js → filesystem-3asan66x.js} +0 -0
  824. /package/dist/chunks/{repository-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  825. /package/dist/chunks/{repository-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  826. /package/dist/chunks/{repository-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  827. /package/dist/chunks/{repository-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  828. /package/dist/chunks/{repository-4qk9sjk2.js → filesystem-4qk9sjk2.js} +0 -0
  829. /package/dist/chunks/{repository-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  830. /package/dist/chunks/{repository-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  831. /package/dist/chunks/{repository-53557ph1.js → filesystem-53557ph1.js} +0 -0
  832. /package/dist/chunks/{repository-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  833. /package/dist/chunks/{repository-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
  834. /package/dist/chunks/{repository-6prwharc.js → filesystem-6prwharc.js} +0 -0
  835. /package/dist/chunks/{repository-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
  836. /package/dist/chunks/{repository-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  837. /package/dist/chunks/{repository-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  838. /package/dist/chunks/{repository-7stb81gk.js → filesystem-7stb81gk.js} +0 -0
  839. /package/dist/chunks/{repository-822emrt2.js → filesystem-822emrt2.js} +0 -0
  840. /package/dist/chunks/{repository-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
  841. /package/dist/chunks/{repository-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  842. /package/dist/chunks/{repository-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  843. /package/dist/chunks/{repository-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  844. /package/dist/chunks/{repository-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  845. /package/dist/chunks/{repository-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  846. /package/dist/chunks/{repository-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  847. /package/dist/chunks/{repository-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  848. /package/dist/chunks/{repository-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  849. /package/dist/chunks/{repository-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  850. /package/dist/chunks/{repository-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  851. /package/dist/chunks/{repository-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
  852. /package/dist/chunks/{repository-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  853. /package/dist/chunks/{repository-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  854. /package/dist/chunks/{repository-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  855. /package/dist/chunks/{repository-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
  856. /package/dist/chunks/{repository-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  857. /package/dist/chunks/{repository-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  858. /package/dist/chunks/{repository-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  859. /package/dist/chunks/{repository-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  860. /package/dist/chunks/{repository-df08tz66.js → filesystem-df08tz66.js} +0 -0
  861. /package/dist/chunks/{repository-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  862. /package/dist/chunks/{repository-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  863. /package/dist/chunks/{repository-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  864. /package/dist/chunks/{repository-ean2d8b5.js → filesystem-ean2d8b5.js} +0 -0
  865. /package/dist/chunks/{repository-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  866. /package/dist/chunks/{repository-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  867. /package/dist/chunks/{repository-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  868. /package/dist/chunks/{repository-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  869. /package/dist/chunks/{repository-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  870. /package/dist/chunks/{repository-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  871. /package/dist/chunks/{repository-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  872. /package/dist/chunks/{repository-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
  873. /package/dist/chunks/{repository-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  874. /package/dist/chunks/{repository-g86h250q.js → filesystem-g86h250q.js} +0 -0
  875. /package/dist/chunks/{repository-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  876. /package/dist/chunks/{repository-gftt206x.js → filesystem-gftt206x.js} +0 -0
  877. /package/dist/chunks/{repository-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
  878. /package/dist/chunks/{repository-hk9envan.js → filesystem-hk9envan.js} +0 -0
  879. /package/dist/chunks/{repository-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  880. /package/dist/chunks/{repository-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  881. /package/dist/chunks/{repository-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  882. /package/dist/chunks/{repository-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  883. /package/dist/chunks/{repository-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  884. /package/dist/chunks/{repository-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
  885. /package/dist/chunks/{repository-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
  886. /package/dist/chunks/{repository-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  887. /package/dist/chunks/{repository-m18g726c.js → filesystem-m18g726c.js} +0 -0
  888. /package/dist/chunks/{repository-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  889. /package/dist/chunks/{repository-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  890. /package/dist/chunks/{repository-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  891. /package/dist/chunks/{repository-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  892. /package/dist/chunks/{repository-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
  893. /package/dist/chunks/{repository-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  894. /package/dist/chunks/{repository-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
  895. /package/dist/chunks/{repository-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  896. /package/dist/chunks/{repository-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  897. /package/dist/chunks/{repository-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  898. /package/dist/chunks/{repository-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  899. /package/dist/chunks/{repository-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  900. /package/dist/chunks/{repository-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  901. /package/dist/chunks/{repository-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  902. /package/dist/chunks/{repository-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  903. /package/dist/chunks/{repository-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  904. /package/dist/chunks/{repository-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  905. /package/dist/chunks/{repository-t03h4f5z.js → filesystem-t03h4f5z.js} +0 -0
  906. /package/dist/chunks/{repository-ty7weeps.js → filesystem-ty7weeps.js} +0 -0
  907. /package/dist/chunks/{repository-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
  908. /package/dist/chunks/{repository-vnjc296t.js → filesystem-vnjc296t.js} +0 -0
  909. /package/dist/chunks/{repository-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  910. /package/dist/chunks/{repository-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  911. /package/dist/chunks/{repository-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  912. /package/dist/chunks/{repository-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  913. /package/dist/chunks/{repository-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  914. /package/dist/chunks/{repository-x61499pn.js → filesystem-x61499pn.js} +0 -0
  915. /package/dist/chunks/{repository-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  916. /package/dist/chunks/{repository-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  917. /package/dist/chunks/{repository-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  918. /package/dist/chunks/{repository-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  919. /package/dist/chunks/{repository-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,74 +1,74 @@
1
1
  import {
2
2
  Service88,
3
3
  node91
4
- } from "./repository-rnpdff07.js";
4
+ } from "./filesystem-pvtdn4cq.js";
5
5
  import {
6
- Service74,
7
- node76
8
- } from "./repository-8d2bw64f.js";
6
+ Service69,
7
+ node71
8
+ } from "./filesystem-ajstjzwv.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./repository-40y6dtc2.js";
12
+ } from "./filesystem-40y6dtc2.js";
13
13
  import {
14
14
  __export
15
- } from "./repository-9rqn6x4v.js";
15
+ } from "./filesystem-9rqn6x4v.js";
16
16
 
17
17
  // src/websearch.ts
18
18
  var exports_websearch3 = {};
19
19
  __export(exports_websearch3, {
20
- DisabledError: () => DisabledError4,
21
- Event: () => Event9,
22
- ID: () => ID9,
23
- Input: () => Input16,
24
- Provider: () => Provider3,
20
+ DisabledError: () => DisabledError3,
21
+ Event: () => Event4,
22
+ ID: () => ID6,
23
+ Input: () => Input15,
24
+ Provider: () => Provider2,
25
25
  ProviderKey: () => ProviderKey2,
26
- ProviderNotFoundError: () => ProviderNotFoundError3,
26
+ ProviderNotFoundError: () => ProviderNotFoundError2,
27
27
  ProviderRequiredError: () => ProviderRequiredError2,
28
28
  RequestError: () => RequestError2,
29
29
  Response: () => Response2,
30
30
  Result: () => Result2,
31
31
  Selection: () => Selection2,
32
- Service: () => Service50,
32
+ Service: () => Service18,
33
33
  WebSearch: () => exports_websearch3,
34
- node: () => node51
34
+ node: () => node21
35
35
  });
36
36
  import { WebSearch } from "@opencode/schema/websearch";
37
37
  import { SessionEvent } from "@opencode/schema/session-event";
38
38
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
39
39
  import { HttpClientError } from "effect/http";
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
- import { Event as Event9 } from "@opencode/schema/websearch";
42
- var ID9 = WebSearch.ID;
43
- var Provider3 = WebSearch.Provider;
44
- var Input16 = WebSearch.Input;
41
+ import { Event as Event4 } from "@opencode/schema/websearch";
42
+ var ID6 = WebSearch.ID;
43
+ var Provider2 = WebSearch.Provider;
44
+ var Input15 = WebSearch.Input;
45
45
  var Result2 = WebSearch.Result;
46
46
  var Response2 = WebSearch.Response;
47
47
  var ProviderKey2 = "websearch:provider";
48
- var Selection2 = Schema.Union([ID9, Schema.Literal("random"), Schema.Literal(false)]);
48
+ var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
49
49
 
50
50
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
51
51
  }
52
52
 
53
- class ProviderNotFoundError3 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
- providerID: ID9
53
+ class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
+ providerID: ID6
55
55
  }) {
56
56
  }
57
57
 
58
- class DisabledError4 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
+ class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
59
59
  }
60
60
 
61
61
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
62
- providerID: ID9,
62
+ providerID: ID6,
63
63
  cause: Schema.Defect()
64
64
  }) {
65
65
  }
66
66
 
67
- class Service50 extends Context.Service()("@opencode/WebSearch") {
67
+ class Service18 extends Context.Service()("@opencode/WebSearch") {
68
68
  }
69
- var layer = Layer.effect(Service50, Effect.gen(function* () {
69
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
70
70
  const bus = yield* Service88;
71
- const kv = yield* Service74;
71
+ const kv = yield* Service69;
72
72
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
73
73
  const cooldowns = new Map;
74
74
  const preferred = new Map;
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
95
95
  });
96
96
  const requireProvider = (providers, providerID) => {
97
97
  const provider = providers.get(providerID);
98
- return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError3({ providerID }));
98
+ return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError2({ providerID }));
99
99
  };
100
100
  const selection = Effect.fn("WebSearch.selection")(function* () {
101
101
  const data = state.get();
@@ -124,14 +124,14 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
124
124
  };
125
125
  const defaultProvider = Effect.fn("WebSearch.default")(function* (choice) {
126
126
  if (choice === false)
127
- return yield* new DisabledError4;
127
+ return yield* new DisabledError3;
128
128
  if (choice === "random") {
129
129
  const active = preferred.get(undefined)?.provider;
130
130
  return (active === undefined ? undefined : state.get().providers.get(active)) ?? state.get().providers.values().next().value;
131
131
  }
132
132
  return choice ? state.get().providers.get(choice) : undefined;
133
133
  });
134
- return Service50.of({
134
+ return Service18.of({
135
135
  transform: state.transform,
136
136
  reload: state.reload,
137
137
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
188
188
  const date = Date.parse(value);
189
189
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
190
190
  }
191
- var node51 = makeLocationNode({
192
- service: Service50,
191
+ var node21 = makeLocationNode({
192
+ service: Service18,
193
193
  layer,
194
- deps: [node91, node76]
194
+ deps: [node91, node71]
195
195
  });
196
196
 
197
- export { ID9, Provider3, Input16, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError3, DisabledError4, RequestError2, Service50, node51, exports_websearch3, Event9 };
197
+ export { ID6, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service18, node21, exports_websearch3, Event4 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-4sshptwq.js";
3
+ } from "./filesystem-xzyap3kx.js";
4
4
  import {
5
5
  Service88
6
- } from "./repository-rnpdff07.js";
6
+ } from "./filesystem-pvtdn4cq.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./repository-z1g44n9p.js";
9
+ Event21
10
+ } from "./filesystem-tf33zyjq.js";
11
11
  import {
12
- ID17,
12
+ ID20,
13
13
  MethodID2
14
- } from "./repository-pek8xmkz.js";
14
+ } from "./filesystem-c4qjnaqh.js";
15
15
  import {
16
- ID16
17
- } from "./repository-5hrgbkyt.js";
16
+ ID17
17
+ } from "./filesystem-3d2mgs8e.js";
18
18
  import {
19
- ID15,
19
+ ID16,
20
20
  Family2
21
- } from "./repository-x6sm40hj.js";
21
+ } from "./filesystem-0zsaa7q1.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./repository-yb20nhc3.js";
24
+ } from "./filesystem-yb20nhc3.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID16.make("digitalocean");
31
- var integrationID = ID17.make("digitalocean");
30
+ var providerID = ID17.make("digitalocean");
31
+ var integrationID = ID20.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID15.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID16.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,25 +1,29 @@
1
1
  import {
2
- Service74,
3
- node76
4
- } from "./repository-8d2bw64f.js";
2
+ Service89,
3
+ node92
4
+ } from "./filesystem-xhza9kst.js";
5
+ import {
6
+ JobTable2
7
+ } from "./filesystem-kzczzf4v.js";
5
8
  import {
6
9
  SessionMessage2
7
- } from "./repository-gftt206x.js";
10
+ } from "./filesystem-gftt206x.js";
8
11
  import {
9
12
  SessionSchema2
10
- } from "./repository-vnjc296t.js";
13
+ } from "./filesystem-vnjc296t.js";
11
14
  import {
12
15
  __export
13
- } from "./repository-9rqn6x4v.js";
16
+ } from "./filesystem-9rqn6x4v.js";
14
17
 
15
18
  // src/job.ts
16
19
  var exports_job = {};
17
20
  __export(exports_job, {
18
21
  Job: () => exports_job,
19
- Service: () => Service51,
20
- make: () => make28,
21
- node: () => node52
22
+ Service: () => Service59,
23
+ make: () => make29,
24
+ node: () => node61
22
25
  });
26
+ import { asc, eq, or } from "drizzle-orm";
23
27
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
28
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
25
29
  var Background = Schema.Struct({
@@ -51,10 +55,9 @@ var Background = Schema.Struct({
51
55
  error: Schema.optionalKey(Schema.String)
52
56
  });
53
57
  var decodeBackground = Schema.decodeUnknownResult(Background);
54
- var backgroundPrefix = "job.background/";
55
58
  var COMPLETED_LIMIT = 25;
56
59
 
57
- class Service51 extends Context.Service()("@opencode/Job") {
60
+ class Service59 extends Context.Service()("@opencode/Job") {
58
61
  }
59
62
  function snapshot(job) {
60
63
  return {
@@ -62,6 +65,29 @@ function snapshot(job) {
62
65
  ...job.info.metadata ? { metadata: { ...job.info.metadata } } : {}
63
66
  };
64
67
  }
68
+ function ownerSessionID(recovery) {
69
+ return recovery.kind === "subagent" ? recovery.parentSessionID : recovery.sessionID;
70
+ }
71
+ function recoveryTitle(job, recovery) {
72
+ if (job.info.title !== undefined)
73
+ return job.info.title;
74
+ if (recovery.kind === "shell")
75
+ return recovery.command;
76
+ if (recovery.kind === "subagent")
77
+ return recovery.description;
78
+ return recovery.path;
79
+ }
80
+ function matchesSession(job, sessionID) {
81
+ if (job.info.metadata?.sessionID === sessionID)
82
+ return true;
83
+ if (job.blockingSessions.has(sessionID))
84
+ return true;
85
+ if (!job.recovery)
86
+ return false;
87
+ if (job.recovery.kind === "subagent")
88
+ return job.recovery.parentSessionID === sessionID || job.recovery.childSessionID === sessionID;
89
+ return job.recovery.sessionID === sessionID;
90
+ }
65
91
  function errorText(cause) {
66
92
  const render = (error) => {
67
93
  const message = error.message || error.name || "Unknown error";
@@ -89,8 +115,8 @@ function decrementSession(input, sessionID) {
89
115
  next.set(sessionID, count - 1);
90
116
  return next;
91
117
  }
92
- var make28 = Effect.gen(function* () {
93
- const kv = yield* Service74;
118
+ var make29 = Effect.gen(function* () {
119
+ const db = (yield* Service89).db;
94
120
  const state = {
95
121
  jobs: yield* SynchronizedRef.make(new Map),
96
122
  scope: yield* Scope.Scope
@@ -110,14 +136,31 @@ var make28 = Effect.gen(function* () {
110
136
  const persistBackground = Effect.fnUntraced(function* (job) {
111
137
  if (!job.recovery || !job.info.notificationID)
112
138
  return;
113
- yield* kv.set(`${backgroundPrefix}${job.info.notificationID}`, {
139
+ const now = yield* Clock.currentTimeMillis;
140
+ const values = {
141
+ notification_id: job.info.notificationID,
114
142
  id: job.info.id,
115
- notificationID: job.info.notificationID,
116
- recovery: job.recovery,
143
+ session_id: ownerSessionID(job.recovery),
144
+ child_session_id: job.recovery.kind === "subagent" ? job.recovery.childSessionID : null,
145
+ kind: job.recovery.kind,
146
+ title: recoveryTitle(job, job.recovery),
117
147
  status: job.info.status,
118
- ...job.info.output !== undefined ? { output: job.info.output } : {},
119
- ...job.info.error !== undefined ? { error: job.info.error } : {}
120
- });
148
+ output: job.info.output ?? null,
149
+ error: job.info.error ?? null,
150
+ recovery: job.recovery,
151
+ time_created: job.info.started_at,
152
+ time_updated: now
153
+ };
154
+ yield* db.insert(JobTable2).values(values).onConflictDoUpdate({
155
+ target: JobTable2.notification_id,
156
+ set: {
157
+ status: values.status,
158
+ output: values.output,
159
+ error: values.error,
160
+ recovery: values.recovery,
161
+ time_updated: now
162
+ }
163
+ }).run().pipe(Effect.orDie);
121
164
  });
122
165
  const settle = Effect.fnUntraced(function* (id, scope, exit) {
123
166
  const completed_at = yield* Clock.currentTimeMillis;
@@ -209,7 +252,7 @@ var make28 = Effect.gen(function* () {
209
252
  if (info._tag === "Some")
210
253
  return { info: info.value, timedOut: false };
211
254
  return { info: snapshot(job), timedOut: true };
212
- }).pipe(Effect.tap((result) => result.info.status === "running" || job.recovery ? Effect.void : consume(input.id, job.scope)));
255
+ }).pipe(Effect.tap((result) => result.info?.status === "running" || job.recovery ? Effect.void : consume(input.id, job.scope)));
213
256
  });
214
257
  const removeBlock = Effect.fnUntraced(function* (input) {
215
258
  yield* SynchronizedRef.update(state.jobs, (jobs) => {
@@ -298,7 +341,7 @@ var make28 = Effect.gen(function* () {
298
341
  yield* Effect.forEach(result, (item) => Deferred.succeed(item.backgrounded, item.info), { discard: true });
299
342
  return result.map((item) => item.info);
300
343
  });
301
- const cancel = Effect.fn("Job.cancel")(function* (id) {
344
+ const cancelInternal = Effect.fnUntraced(function* (id, persist = true) {
302
345
  const completed_at = yield* Clock.currentTimeMillis;
303
346
  const result = yield* SynchronizedRef.modifyEffect(state.jobs, Effect.fnUntraced(function* (jobs) {
304
347
  const job = jobs.get(id);
@@ -315,7 +358,8 @@ var make28 = Effect.gen(function* () {
315
358
  completed_at
316
359
  }
317
360
  };
318
- yield* persistBackground(next);
361
+ if (persist)
362
+ yield* persistBackground(next);
319
363
  return [
320
364
  { info: snapshot(next), done: job.done, scope: job.scope, generation: job.scope },
321
365
  new Map(jobs).set(id, next)
@@ -329,19 +373,35 @@ var make28 = Effect.gen(function* () {
329
373
  yield* consume(id, result.generation);
330
374
  return result.info;
331
375
  });
376
+ const cancel = Effect.fn("Job.cancel")((id) => cancelInternal(id, true));
377
+ const cancelSession = Effect.fn("Job.cancelSession")(function* (sessionID) {
378
+ const ids = [...(yield* SynchronizedRef.get(state.jobs)).values()].filter((job) => job.info.status === "running" && matchesSession(job, sessionID)).map((job) => job.info.id);
379
+ const cancelled = yield* Effect.forEach(ids, (id) => cancelInternal(id, false));
380
+ yield* db.delete(JobTable2).where(or(eq(JobTable2.session_id, sessionID), eq(JobTable2.child_session_id, sessionID))).run().pipe(Effect.orDie);
381
+ yield* SynchronizedRef.update(state.jobs, (jobs) => {
382
+ const next = new Map(jobs);
383
+ for (const [id, job] of jobs) {
384
+ if (matchesSession(job, sessionID))
385
+ next.delete(id);
386
+ }
387
+ return next;
388
+ });
389
+ return cancelled.filter((info) => info !== undefined);
390
+ });
332
391
  const pendingBackground = Effect.gen(function* () {
333
- const recovered = [];
334
- let after;
335
- do {
336
- const page = yield* kv.scan({ prefix: backgroundPrefix, after });
337
- recovered.push(...Array.filterMap(page.entries, (entry) => decodeBackground(entry.value)));
338
- after = page.next;
339
- } while (after);
340
- return recovered;
392
+ const rows = yield* db.select().from(JobTable2).orderBy(asc(JobTable2.time_created), asc(JobTable2.notification_id)).all().pipe(Effect.orDie);
393
+ return Array.filterMap(rows, (row) => decodeBackground({
394
+ id: row.id,
395
+ notificationID: row.notification_id,
396
+ recovery: row.recovery,
397
+ status: row.status,
398
+ ...row.output !== null ? { output: row.output } : {},
399
+ ...row.error !== null ? { error: row.error } : {}
400
+ }));
341
401
  }).pipe(Effect.withSpan("Job.pendingBackground"));
342
402
  const runningBackground = SynchronizedRef.get(state.jobs).pipe(Effect.map((jobs) => [...jobs.values()].flatMap((job) => job.isBackgrounded && job.info.status === "running" && job.recovery ? [job.recovery] : [])), Effect.withSpan("Job.runningBackground"));
343
403
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => SynchronizedRef.updateEffect(state.jobs, (jobs) => Effect.gen(function* () {
344
- yield* kv.remove(`${backgroundPrefix}${notificationID}`);
404
+ yield* db.delete(JobTable2).where(eq(JobTable2.notification_id, notificationID)).run().pipe(Effect.orDie);
345
405
  const entry = [...jobs].find(([, job]) => job.info.notificationID === notificationID);
346
406
  if (!entry || entry[1].info.status === "running")
347
407
  return jobs;
@@ -349,7 +409,7 @@ var make28 = Effect.gen(function* () {
349
409
  next.delete(entry[0]);
350
410
  return next;
351
411
  })));
352
- return Service51.of({
412
+ return Service59.of({
353
413
  get,
354
414
  start,
355
415
  wait,
@@ -357,12 +417,13 @@ var make28 = Effect.gen(function* () {
357
417
  background,
358
418
  backgroundAll,
359
419
  cancel,
420
+ cancelSession,
360
421
  pendingBackground,
361
422
  runningBackground,
362
423
  completeBackground
363
424
  });
364
425
  });
365
- var layer = Layer.effect(Service51, make28);
366
- var node52 = makeGlobalNode({ service: Service51, layer, deps: [node76] });
426
+ var layer = Layer.effect(Service59, make29);
427
+ var node61 = makeGlobalNode({ service: Service59, layer, deps: [node92] });
367
428
 
368
- export { Service51, make28, node52, exports_job };
429
+ export { Service59, make29, node61, exports_job };