@opencode/core 0.0.0-dev-201 → 0.0.0-dev-210

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 (835) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -88
  3. package/dist/aisdk-native.js +98 -98
  4. package/dist/aisdk.js +104 -104
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +80 -80
  7. package/dist/chunks/{location-services-aj7mw0zk.js → filesystem-034tev2y.js} +2 -2
  8. package/dist/chunks/{location-services-kep2v7tx.js → filesystem-08w4mgsv.js} +36 -36
  9. package/dist/chunks/{location-services-ds7r37yp.js → filesystem-09bv4atg.js} +5 -5
  10. package/dist/chunks/{location-services-8m5mq5h7.js → filesystem-0g3nw2rk.js} +5 -5
  11. package/dist/chunks/{location-services-gnmrya69.js → filesystem-0nhbejy7.js} +29 -29
  12. package/dist/chunks/{location-services-9tbaz46k.js → filesystem-0vt12t1a.js} +17 -17
  13. package/dist/chunks/{location-services-11hfp36g.js → filesystem-11hfp36g.js} +1 -1
  14. package/dist/chunks/{location-services-vk0mqcpj.js → filesystem-14hxjxc8.js} +11 -11
  15. package/dist/chunks/{location-services-ajhs9baq.js → filesystem-14k2p94z.js} +8 -8
  16. package/dist/chunks/{location-services-9pjkh98s.js → filesystem-1596dtyg.js} +14 -14
  17. package/dist/chunks/{location-services-9bjvbnp5.js → filesystem-15rqtvc6.js} +21 -21
  18. package/dist/chunks/{location-services-f12bs9yg.js → filesystem-18crnhyq.js} +11 -11
  19. package/dist/chunks/{location-services-vrcsa8qx.js → filesystem-18g90bpv.js} +9 -9
  20. package/dist/chunks/{location-services-3cyhhena.js → filesystem-1a6vdzep.js} +12 -12
  21. package/dist/chunks/{location-services-27w5k9zf.js → filesystem-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{location-services-za14dw9p.js → filesystem-1hmj4y1x.js} +29 -29
  23. package/dist/chunks/{location-services-ymz7p2c9.js → filesystem-1r7af8ee.js} +3 -3
  24. package/dist/chunks/{location-services-wzp9wckv.js → filesystem-1vz7yhpq.js} +22 -22
  25. package/dist/chunks/{location-services-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
  26. package/dist/chunks/{location-services-tbbrpwak.js → filesystem-1ym1r093.js} +50 -50
  27. package/dist/chunks/{location-services-1yq9hg58.js → filesystem-1yq9hg58.js} +1 -1
  28. package/dist/chunks/{location-services-3qe7c5w1.js → filesystem-1z5aa1s9.js} +2 -2
  29. package/dist/chunks/{location-services-204s3925.js → filesystem-204s3925.js} +1 -1
  30. package/dist/chunks/{location-services-dp2bc5b9.js → filesystem-24c2n9k1.js} +22 -22
  31. package/dist/chunks/{location-services-wab3t0nt.js → filesystem-2ede0ce3.js} +18 -18
  32. package/dist/chunks/{location-services-2aq8spf6.js → filesystem-2pb4csn2.js} +42 -42
  33. package/dist/chunks/{location-services-8efstdn0.js → filesystem-2ps4vp47.js} +55 -55
  34. package/dist/chunks/{location-services-vr95fah1.js → filesystem-2vzb41ed.js} +5 -5
  35. package/dist/chunks/{location-services-yg6mcpcz.js → filesystem-2yqf0428.js} +10 -4
  36. package/dist/chunks/{location-services-31avdb49.js → filesystem-31avdb49.js} +3 -3
  37. package/dist/chunks/{location-services-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{location-services-vks33rvn.js → filesystem-3kwyfx5c.js} +22 -22
  39. package/dist/chunks/{location-services-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{location-services-pmx7hay9.js → filesystem-3rhjxprg.js} +12 -12
  41. package/dist/chunks/{location-services-t5gkqm34.js → filesystem-3ztadfm7.js} +37 -37
  42. package/dist/chunks/{location-services-dadnkh66.js → filesystem-434rvpkg.js} +9 -9
  43. package/dist/chunks/{location-services-se9a988r.js → filesystem-444az151.js} +30 -30
  44. package/dist/chunks/{location-services-4ftzhtn2.js → filesystem-45wb8ppp.js} +5 -5
  45. package/dist/chunks/{location-services-42pxhkhe.js → filesystem-4dxkx4vc.js} +15 -15
  46. package/dist/chunks/{location-services-dhseayww.js → filesystem-4nyhany0.js} +19 -19
  47. package/dist/chunks/{location-services-9tvpxs1q.js → filesystem-4pw98qd4.js} +4 -4
  48. package/dist/chunks/{location-services-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
  49. package/dist/chunks/{location-services-q1h8wfhm.js → filesystem-4se3fcjy.js} +22 -16
  50. package/dist/chunks/{location-services-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
  51. package/dist/chunks/{location-services-9zdg1nht.js → filesystem-55y85j01.js} +15 -15
  52. package/dist/chunks/{location-services-n7d88tpn.js → filesystem-5ect6tx9.js} +3 -3
  53. package/dist/chunks/{location-services-b8ymz842.js → filesystem-5jmrcfpw.js} +25 -17
  54. package/dist/chunks/{location-services-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{location-services-5w0q3qgz.js → filesystem-5yght9ra.js} +35 -35
  56. package/dist/chunks/{location-services-6r25anyw.js → filesystem-60wv84he.js} +12 -12
  57. package/dist/chunks/{location-services-g1sszzvh.js → filesystem-61ee6dgv.js} +22 -22
  58. package/dist/chunks/{location-services-bjhzkqyk.js → filesystem-61ennm6n.js} +4 -4
  59. package/dist/chunks/{location-services-73shg0b5.js → filesystem-6bafzmvy.js} +166 -166
  60. package/dist/chunks/{location-services-me57jfex.js → filesystem-6cems51h.js} +11 -11
  61. package/dist/chunks/{location-services-7ene4gkn.js → filesystem-6easw4m5.js} +4 -4
  62. package/dist/chunks/{location-services-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{location-services-kn8g1zqp.js → filesystem-6r5tx5vd.js} +15 -15
  64. package/dist/chunks/{location-services-76cb1hcw.js → filesystem-76cb1hcw.js} +1 -1
  65. package/dist/chunks/{location-services-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{location-services-gwjnap29.js → filesystem-7m5yeeqj.js} +25 -25
  67. package/dist/chunks/{location-services-3gsja8av.js → filesystem-7rct0254.js} +16 -16
  68. package/dist/chunks/{location-services-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
  69. package/dist/chunks/{location-services-gkdfcy6p.js → filesystem-890cq6zw.js} +23 -23
  70. package/dist/chunks/{location-services-69gwve97.js → filesystem-89jkg93w.js} +21 -21
  71. package/dist/chunks/{location-services-xh49vxj8.js → filesystem-89vjf07m.js} +5 -5
  72. package/dist/chunks/{location-services-rezqpw0g.js → filesystem-8aem79f2.js} +21 -21
  73. package/dist/chunks/{location-services-ap4sczth.js → filesystem-8cykdwq1.js} +44 -44
  74. package/dist/chunks/{location-services-gw2pq1m3.js → filesystem-8hwf4h4a.js} +29 -29
  75. package/dist/chunks/{location-services-6y263vp8.js → filesystem-8wc2fpae.js} +5 -5
  76. package/dist/chunks/{location-services-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
  77. package/dist/chunks/{location-services-zk2gvj1a.js → filesystem-8z7fx9da.js} +25 -25
  78. package/dist/chunks/{location-services-hwn8hb14.js → filesystem-8zh671ad.js} +35 -35
  79. package/dist/chunks/{location-services-90zstvax.js → filesystem-90zstvax.js} +1 -1
  80. package/dist/chunks/{location-services-q75hjfnr.js → filesystem-91bvc4ty.js} +4 -4
  81. package/dist/chunks/{location-services-ne9mmrs0.js → filesystem-94wxcshz.js} +9 -9
  82. package/dist/chunks/{location-services-gfk8shh2.js → filesystem-97ctmtmy.js} +7 -7
  83. package/dist/chunks/{location-services-g2hh2b2h.js → filesystem-9d50e9x8.js} +10 -10
  84. package/dist/chunks/{location-services-1gw76x6h.js → filesystem-9wm1sbvz.js} +30 -30
  85. package/dist/chunks/{location-services-kh99ak1n.js → filesystem-annen545.js} +8 -8
  86. package/dist/chunks/{location-services-mwya9ecc.js → filesystem-aq96vb51.js} +18 -18
  87. package/dist/chunks/{location-services-vj7gf67a.js → filesystem-armxxs9m.js} +9 -9
  88. package/dist/chunks/{location-services-f2ykvxgv.js → filesystem-aw4xetmc.js} +11 -11
  89. package/dist/chunks/{location-services-2f747z2w.js → filesystem-aw8sakew.js} +25 -25
  90. package/dist/chunks/{location-services-mtx8ysqm.js → filesystem-ax7jxbq7.js} +51 -51
  91. package/dist/chunks/{location-services-3cbjf1nt.js → filesystem-ayjs7tqn.js} +2 -2
  92. package/dist/chunks/{location-services-sty3kahr.js → filesystem-b46dpqs0.js} +14 -14
  93. package/dist/chunks/{location-services-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
  94. package/dist/chunks/{location-services-k7023vhv.js → filesystem-bdf3r1gz.js} +59 -59
  95. package/dist/chunks/{location-services-r0ft14n5.js → filesystem-bdpbxs8g.js} +21 -21
  96. package/dist/chunks/{location-services-z6v532az.js → filesystem-bhvs01y7.js} +6 -6
  97. package/dist/chunks/{location-services-rya6xdym.js → filesystem-bmrbft0k.js} +27 -27
  98. package/dist/chunks/{location-services-v0gec4ky.js → filesystem-bprm2g42.js} +33 -33
  99. package/dist/chunks/filesystem-bsgt82ad.js +257 -0
  100. package/dist/chunks/{location-services-01mh9jkm.js → filesystem-bsjb0v70.js} +3 -3
  101. package/dist/chunks/{location-services-xd9cc171.js → filesystem-bstexjd6.js} +5 -5
  102. package/dist/chunks/{location-services-yry8y2z0.js → filesystem-bw7c9nwt.js} +17 -17
  103. package/dist/chunks/{location-services-fswr6j0v.js → filesystem-bwqn28c5.js} +3 -3
  104. package/dist/chunks/{location-services-t24rj6wz.js → filesystem-c34yv8jr.js} +11 -11
  105. package/dist/chunks/{location-services-xnawt8mb.js → filesystem-c7xcdgb3.js} +1 -1
  106. package/dist/chunks/{location-services-vetf84hs.js → filesystem-c8fxmp84.js} +4 -4
  107. package/dist/chunks/{location-services-xhyfvswv.js → filesystem-cj5ykkxh.js} +8 -3
  108. package/dist/chunks/{location-services-ma5c6kmc.js → filesystem-ck72d7f2.js} +8 -8
  109. package/dist/chunks/{location-services-hz5mdqd1.js → filesystem-cm18kf9d.js} +14 -14
  110. package/dist/chunks/{location-services-nv66c0g2.js → filesystem-cnaqb1tg.js} +12 -12
  111. package/dist/chunks/{location-services-3ryz99p0.js → filesystem-cpvd08na.js} +4 -4
  112. package/dist/chunks/{location-services-91kqmn6m.js → filesystem-crxr35d9.js} +37 -37
  113. package/dist/chunks/{location-services-hqcwe82e.js → filesystem-csvfcyj3.js} +19 -19
  114. package/dist/chunks/{location-services-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
  115. package/dist/chunks/{location-services-hqe124ch.js → filesystem-czzevw5a.js} +15 -15
  116. package/dist/chunks/filesystem-d3bra3vm.js +34 -0
  117. package/dist/chunks/{location-services-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
  118. package/dist/chunks/{location-services-z8f86d31.js → filesystem-df9zz4rf.js} +8 -8
  119. package/dist/chunks/{location-services-2wers40p.js → filesystem-dma5n97j.js} +37 -37
  120. package/dist/chunks/{location-services-46668phf.js → filesystem-dr326g96.js} +9 -9
  121. package/dist/chunks/{location-services-agqd6nxz.js → filesystem-drvbhkez.js} +2 -2
  122. package/dist/chunks/{location-services-dt77769w.js → filesystem-dt77769w.js} +1 -1
  123. package/dist/chunks/{location-services-z1m0y3dj.js → filesystem-dvaraee2.js} +23 -23
  124. package/dist/chunks/{location-services-k9zkdd2y.js → filesystem-e07q2w5p.js} +4 -4
  125. package/dist/chunks/{location-services-5by3bz79.js → filesystem-e3g479a6.js} +75 -75
  126. package/dist/chunks/{location-services-6r8m24fe.js → filesystem-e618q6jv.js} +9 -9
  127. package/dist/chunks/{location-services-e834z07m.js → filesystem-e834z07m.js} +1 -1
  128. package/dist/chunks/{location-services-t784ja64.js → filesystem-emz5z3x7.js} +2 -2
  129. package/dist/chunks/{location-services-cygdy78r.js → filesystem-esbzcf2v.js} +3 -3
  130. package/dist/chunks/{location-services-8ehvsr2e.js → filesystem-ex5adzvz.js} +9 -9
  131. package/dist/chunks/{location-services-5pjyqbjm.js → filesystem-f1g9v2n6.js} +3 -3
  132. package/dist/chunks/{location-services-6pca4248.js → filesystem-fcrv3p1c.js} +13 -13
  133. package/dist/chunks/{location-services-mafwm63e.js → filesystem-fe5m0zbk.js} +25 -25
  134. package/dist/chunks/{location-services-d3w8c6ae.js → filesystem-fej4fvmz.js} +15 -15
  135. package/dist/chunks/{location-services-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
  136. package/dist/chunks/{location-services-w0dy55r8.js → filesystem-fg2aznv6.js} +13 -13
  137. package/dist/chunks/{location-services-qvba1qmh.js → filesystem-fj2tjxmw.js} +32 -32
  138. package/dist/chunks/{location-services-r487f7wy.js → filesystem-fn2p6yf2.js} +24 -24
  139. package/dist/chunks/{location-services-gm8h4frt.js → filesystem-fncrvfr8.js} +9 -9
  140. package/dist/chunks/{location-services-m7ee3x5c.js → filesystem-fny70jpy.js} +8 -8
  141. package/dist/chunks/{location-services-he00d8qs.js → filesystem-g4pcw3ts.js} +24 -24
  142. package/dist/chunks/{location-services-c3q0wwqw.js → filesystem-g82fkzhe.js} +15 -15
  143. package/dist/chunks/{location-services-3vagpa22.js → filesystem-g8763th5.js} +18 -18
  144. package/dist/chunks/{location-services-ep59zg61.js → filesystem-gg8p9cgs.js} +3 -3
  145. package/dist/chunks/{location-services-cwzb6akg.js → filesystem-gm2f0atq.js} +18 -18
  146. package/dist/chunks/{location-services-nrdzy92p.js → filesystem-gmqegw1e.js} +12 -12
  147. package/dist/chunks/{location-services-a6ekb6p5.js → filesystem-gsnkxft0.js} +11 -11
  148. package/dist/chunks/{location-services-a544w0n6.js → filesystem-gxwtb78g.js} +17 -17
  149. package/dist/chunks/{location-services-r1x2w1ym.js → filesystem-h01md3m8.js} +6 -6
  150. package/dist/chunks/{location-services-d0h96hzn.js → filesystem-h7gvp0tv.js} +2 -2
  151. package/dist/chunks/{location-services-2mc6z38r.js → filesystem-hc4wny2n.js} +11 -11
  152. package/dist/chunks/{location-services-e2x7gzav.js → filesystem-hdfrs5mg.js} +7 -7
  153. package/dist/chunks/{location-services-m37sd98t.js → filesystem-hfgk9wzg.js} +4 -4
  154. package/dist/chunks/{location-services-j5e69w9m.js → filesystem-hjaahymy.js} +50 -50
  155. package/dist/chunks/{location-services-64c2pewf.js → filesystem-hjwwwxxw.js} +22 -22
  156. package/dist/chunks/{location-services-hpg1pkwy.js → filesystem-hpg1pkwy.js} +1 -1
  157. package/dist/chunks/{location-services-hh7psv2k.js → filesystem-hrp7h9k8.js} +11 -11
  158. package/dist/chunks/{location-services-hw5kz99h.js → filesystem-hry4p7je.js} +13 -13
  159. package/dist/chunks/{location-services-k03zy2hn.js → filesystem-hs9b4b47.js} +9 -9
  160. package/dist/chunks/{location-services-k7fcp7vh.js → filesystem-hx3mz2q2.js} +8 -8
  161. package/dist/chunks/{location-services-rqmcybmq.js → filesystem-hyyve62m.js} +29 -29
  162. package/dist/chunks/filesystem-j5ge61vx.js +312 -0
  163. package/dist/chunks/{location-services-e609836v.js → filesystem-j6fmvzx1.js} +25 -25
  164. package/dist/chunks/{location-services-ann6jqpt.js → filesystem-j8b46n9s.js} +28 -28
  165. package/dist/chunks/{location-services-ftmjfqeg.js → filesystem-jc4yfsds.js} +7 -7
  166. package/dist/chunks/{location-services-jfaecv01.js → filesystem-jfaecv01.js} +1 -1
  167. package/dist/chunks/{location-services-jhh81dyr.js → filesystem-jg2yb00g.js} +38 -38
  168. package/dist/chunks/{location-services-jtnps1zs.js → filesystem-jtnps1zs.js} +2 -2
  169. package/dist/chunks/{location-services-sk5ey1ff.js → filesystem-k079z09p.js} +4 -4
  170. package/dist/chunks/{location-services-d0eapxbw.js → filesystem-k1txdcnn.js} +25 -25
  171. package/dist/chunks/{location-services-1h7j31t8.js → filesystem-k3febq9m.js} +30 -33
  172. package/dist/chunks/{location-services-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
  173. package/dist/chunks/{location-services-m7bmrshs.js → filesystem-kaaytn36.js} +23 -23
  174. package/dist/chunks/{location-services-qzy6y7mb.js → filesystem-kj6bvb2j.js} +3 -3
  175. package/dist/chunks/{location-services-38shjhjm.js → filesystem-kjst82ar.js} +1 -1
  176. package/dist/chunks/{location-services-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
  177. package/dist/chunks/{location-services-zp8re2db.js → filesystem-m146rhxa.js} +17 -17
  178. package/dist/chunks/{location-services-m1714858.js → filesystem-m1714858.js} +1 -1
  179. package/dist/chunks/{location-services-kajq6kw3.js → filesystem-m3bdadrj.js} +14 -14
  180. package/dist/chunks/{location-services-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{location-services-cdj17kd2.js → filesystem-majcfxdx.js} +9 -9
  182. package/dist/chunks/{location-services-bkjbe0jh.js → filesystem-mgxqcbam.js} +10 -2
  183. package/dist/chunks/{location-services-s7p6whyp.js → filesystem-n0raz6dg.js} +4 -4
  184. package/dist/chunks/{location-services-ezpa2rgc.js → filesystem-n1gr2kpt.js} +4 -4
  185. package/dist/chunks/{location-services-zdmnyygs.js → filesystem-n2h4jtew.js} +2 -2
  186. package/dist/chunks/{location-services-8q0vay4d.js → filesystem-n61g9vyf.js} +33 -33
  187. package/dist/chunks/{location-services-w42rwbpm.js → filesystem-n6v0k17x.js} +11 -11
  188. package/dist/chunks/{location-services-770pw0s1.js → filesystem-nah043kf.js} +4 -4
  189. package/dist/chunks/{location-services-fgxw29yc.js → filesystem-nbdtng8k.js} +23 -23
  190. package/dist/chunks/{location-services-0g64hxqv.js → filesystem-nk58jtss.js} +21 -21
  191. package/dist/chunks/{location-services-55dcfv8x.js → filesystem-nkdehe09.js} +33 -33
  192. package/dist/chunks/{location-services-tn5gxkrv.js → filesystem-nv9tsjma.js} +6 -6
  193. package/dist/chunks/{location-services-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
  194. package/dist/chunks/{location-services-sptzjft0.js → filesystem-p6aax6q6.js} +17 -17
  195. package/dist/chunks/{location-services-g42b6ca9.js → filesystem-p76me67c.js} +4 -4
  196. package/dist/chunks/{location-services-pkf3y2cc.js → filesystem-pbbktnbz.js} +4 -4
  197. package/dist/chunks/{location-services-rd7zvbs4.js → filesystem-pcrfxpzv.js} +20 -15
  198. package/dist/chunks/{location-services-x6x2eb9s.js → filesystem-pd94qqs3.js} +10 -10
  199. package/dist/chunks/{location-services-h9w9z87g.js → filesystem-pgzqbqf1.js} +8 -8
  200. package/dist/chunks/{location-services-dbd02vxg.js → filesystem-phmgxt2f.js} +3 -3
  201. package/dist/chunks/{location-services-2d01vmvx.js → filesystem-pj65rgyr.js} +1 -1
  202. package/dist/chunks/{location-services-pknna89w.js → filesystem-pknna89w.js} +1 -1
  203. package/dist/chunks/{location-services-fg9p65nk.js → filesystem-prq7xxp2.js} +6 -6
  204. package/dist/chunks/{location-services-v1heev1a.js → filesystem-psfkywbe.js} +25 -25
  205. package/dist/chunks/{location-services-n6wm1y8w.js → filesystem-pvpa9p11.js} +41 -41
  206. package/dist/chunks/{location-services-1rken8tp.js → filesystem-pw343ads.js} +34 -34
  207. package/dist/chunks/{location-services-702vahjz.js → filesystem-qbhjbqdd.js} +15 -15
  208. package/dist/chunks/{location-services-mwm9x9q2.js → filesystem-qf8srjpf.js} +25 -16
  209. package/dist/chunks/{location-services-a0mx2tpn.js → filesystem-qgjxsz2y.js} +18 -18
  210. package/dist/chunks/{location-services-m4376bw8.js → filesystem-qmx7pqgw.js} +12 -12
  211. package/dist/chunks/{location-services-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
  212. package/dist/chunks/{location-services-qggetshm.js → filesystem-qpa23kw8.js} +32 -32
  213. package/dist/chunks/{location-services-z356t07w.js → filesystem-qqvy8y24.js} +19 -13
  214. package/dist/chunks/filesystem-qv57zvvg.js +525 -0
  215. package/dist/chunks/{location-services-gm2a68z7.js → filesystem-r0dsnsr8.js} +16 -16
  216. package/dist/chunks/{location-services-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
  217. package/dist/chunks/{location-services-4sx046aw.js → filesystem-r2rzgj46.js} +22 -22
  218. package/dist/chunks/{location-services-r542h3bh.js → filesystem-r542h3bh.js} +1 -1
  219. package/dist/chunks/{location-services-31bqbk2x.js → filesystem-r8m134k8.js} +11 -11
  220. package/dist/chunks/{location-services-5kkvb5q9.js → filesystem-r98dxkx5.js} +24 -24
  221. package/dist/chunks/{location-services-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
  222. package/dist/chunks/{location-services-e7wnnxma.js → filesystem-rcthcsey.js} +13 -13
  223. package/dist/chunks/{location-services-nggscxdc.js → filesystem-rerxfbrr.js} +19 -19
  224. package/dist/chunks/{location-services-sngd0g0b.js → filesystem-rfy1qsv0.js} +5 -5
  225. package/dist/chunks/{location-services-yqhz1kx0.js → filesystem-rgzggw2r.js} +2 -2
  226. package/dist/chunks/{location-services-vstygr49.js → filesystem-rngmar94.js} +35 -35
  227. package/dist/chunks/{location-services-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
  228. package/dist/chunks/{location-services-1zp8bfhq.js → filesystem-rvp0ckfz.js} +31 -31
  229. package/dist/chunks/{location-services-0w3xgafh.js → filesystem-s43pka83.js} +3 -3
  230. package/dist/chunks/filesystem-s7ertgdh.js +26 -0
  231. package/dist/chunks/{location-services-s7gmm2q3.js → filesystem-s7gmm2q3.js} +3 -3
  232. package/dist/chunks/{location-services-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
  233. package/dist/chunks/{location-services-6ccbmx30.js → filesystem-sjq3mznt.js} +11 -11
  234. package/dist/chunks/{location-services-ewr5k9wg.js → filesystem-snfsmn1e.js} +8 -8
  235. package/dist/chunks/{location-services-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
  236. package/dist/chunks/{location-services-b1pn0vxn.js → filesystem-ssfehs1z.js} +4 -4
  237. package/dist/chunks/{location-services-63d5p1eg.js → filesystem-stka8v7r.js} +5 -5
  238. package/dist/chunks/{location-services-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
  239. package/dist/chunks/{location-services-f6fa8ktk.js → filesystem-t1ncdzfb.js} +32 -32
  240. package/dist/chunks/{location-services-csz5e332.js → filesystem-t54qx1t0.js} +6 -6
  241. package/dist/chunks/{location-services-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
  242. package/dist/chunks/{location-services-tas7fs57.js → filesystem-tf83vx35.js} +7 -7
  243. package/dist/chunks/{location-services-pt8q01rp.js → filesystem-thq4q9my.js} +10 -10
  244. package/dist/chunks/{location-services-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
  245. package/dist/chunks/{location-services-v0t96s7a.js → filesystem-v0t96s7a.js} +1 -1
  246. package/dist/chunks/{location-services-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{location-services-ra6js1h8.js → filesystem-v5hpj9dd.js} +8 -8
  248. package/dist/chunks/{location-services-j2nwqr75.js → filesystem-v7rdhf5e.js} +17 -17
  249. package/dist/chunks/{location-services-2b5hc06j.js → filesystem-vdfc3vwf.js} +26 -26
  250. package/dist/chunks/{location-services-2zp5a6yg.js → filesystem-vg0erq9k.js} +3 -3
  251. package/dist/chunks/{location-services-aw1nwnam.js → filesystem-vm40an3j.js} +11 -11
  252. package/dist/chunks/{location-services-vzppetdn.js → filesystem-vsqvcqta.js} +6 -6
  253. package/dist/chunks/{location-services-a6k9xjxk.js → filesystem-w1fms507.js} +20 -20
  254. package/dist/chunks/{location-services-w2eysc6j.js → filesystem-w2eysc6j.js} +2 -2
  255. package/dist/chunks/{location-services-abazfvew.js → filesystem-w3p04qes.js} +35 -35
  256. package/dist/chunks/{location-services-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{location-services-yp6t9n48.js → filesystem-w5qh0yp9.js} +19 -19
  258. package/dist/chunks/{location-services-r4fe16v6.js → filesystem-w6763yes.js} +32 -32
  259. package/dist/chunks/{location-services-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
  260. package/dist/chunks/{location-services-xtj9bp1x.js → filesystem-wappnbgt.js} +11 -11
  261. package/dist/chunks/{location-services-wd87259q.js → filesystem-wd87259q.js} +1 -1
  262. package/dist/chunks/{location-services-wnhgecwx.js → filesystem-wnhgecwx.js} +1 -1
  263. package/dist/chunks/{location-services-mjyhtj6b.js → filesystem-wq31c655.js} +30 -30
  264. package/dist/chunks/{location-services-wr3re1en.js → filesystem-wr3re1en.js} +1 -1
  265. package/dist/chunks/{location-services-ra4hznbt.js → filesystem-ws6kh7b7.js} +12 -12
  266. package/dist/chunks/{location-services-1xf7nfrf.js → filesystem-wxrneye3.js} +8 -8
  267. package/dist/chunks/{location-services-rvkbhdv1.js → filesystem-x2kwmbaj.js} +6 -6
  268. package/dist/chunks/{location-services-z0wqvcxr.js → filesystem-x4vrc5nf.js} +17 -17
  269. package/dist/chunks/{location-services-43e24x2b.js → filesystem-x4z26120.js} +12 -12
  270. package/dist/chunks/{location-services-ywbjnqrq.js → filesystem-xajgh51x.js} +13 -13
  271. package/dist/chunks/{location-services-6x9271ts.js → filesystem-xarg0qdr.js} +6 -6
  272. package/dist/chunks/{location-services-pqbq7shd.js → filesystem-xbc6qp68.js} +6 -6
  273. package/dist/chunks/{location-services-wrdfsmbk.js → filesystem-xdkjcj8h.js} +25 -25
  274. package/dist/chunks/{location-services-t60595ww.js → filesystem-xgjn9k1a.js} +2 -2
  275. package/dist/chunks/{location-services-9v27091d.js → filesystem-xhesmbhs.js} +23 -23
  276. package/dist/chunks/{location-services-dn59zr14.js → filesystem-xptjxdz6.js} +16 -16
  277. package/dist/chunks/{location-services-395g2d1p.js → filesystem-xqx7k15x.js} +53 -53
  278. package/dist/chunks/{location-services-gtn9c16a.js → filesystem-xt0z8zst.js} +4 -4
  279. package/dist/chunks/{location-services-g97pjfkw.js → filesystem-y20gse86.js} +11 -11
  280. package/dist/chunks/{location-services-5kfhck2s.js → filesystem-y47dt2v0.js} +26 -26
  281. package/dist/chunks/{location-services-kpe2ster.js → filesystem-y5d65aff.js} +15 -15
  282. package/dist/chunks/{location-services-qkw2jr9b.js → filesystem-yara3q77.js} +2 -2
  283. package/dist/chunks/{location-services-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
  284. package/dist/chunks/{location-services-1b1gv51r.js → filesystem-ye085k5q.js} +96 -96
  285. package/dist/chunks/{location-services-szv4nqnj.js → filesystem-ykamt9jm.js} +29 -29
  286. package/dist/chunks/{location-services-hc5tnge5.js → filesystem-ynaqhc8e.js} +9 -9
  287. package/dist/chunks/{location-services-8a0vbgqw.js → filesystem-ytys4wt6.js} +36 -36
  288. package/dist/chunks/{location-services-xkr18nqd.js → filesystem-ywjp853w.js} +45 -43
  289. package/dist/chunks/{location-services-mcsw7q1w.js → filesystem-yxy26kq2.js} +12 -12
  290. package/dist/chunks/filesystem-z355x5yr.js +18 -0
  291. package/dist/chunks/{location-services-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
  292. package/dist/chunks/{location-services-dtz8ehjs.js → filesystem-z6vvjhzx.js} +16 -16
  293. package/dist/chunks/{location-services-q3ytx1n6.js → filesystem-zes7n4m2.js} +92 -92
  294. package/dist/chunks/{location-services-hvy79q2t.js → filesystem-zgd8t41s.js} +9 -9
  295. package/dist/chunks/{location-services-svjraj3c.js → filesystem-zgtpaate.js} +19 -19
  296. package/dist/chunks/{location-services-y7xh4g9a.js → filesystem-zyfw5drr.js} +9 -9
  297. package/dist/codemode/catalog.js +1 -1
  298. package/dist/codemode/instructions.js +7 -7
  299. package/dist/codemode/tool.js +3 -3
  300. package/dist/codemode/web.js +1 -1
  301. package/dist/command.js +90 -90
  302. package/dist/config/discovery.js +91 -91
  303. package/dist/config/integration.js +3 -3
  304. package/dist/config/markdown.js +1 -1
  305. package/dist/config/normalize.js +108 -108
  306. package/dist/config/plugin/agent.js +122 -122
  307. package/dist/config/plugin/command.js +220 -220
  308. package/dist/config/plugin/compaction.js +163 -163
  309. package/dist/config/plugin/compatibility.js +143 -143
  310. package/dist/config/plugin/entry-observer.js +1 -1
  311. package/dist/config/plugin/formatter.js +123 -123
  312. package/dist/config/plugin/image.js +122 -122
  313. package/dist/config/plugin/instruction.js +122 -122
  314. package/dist/config/plugin/location-watcher.js +122 -122
  315. package/dist/config/plugin/mcp.js +129 -129
  316. package/dist/config/plugin/policy.js +124 -124
  317. package/dist/config/plugin/provider.js +123 -123
  318. package/dist/config/plugin/reference.js +124 -124
  319. package/dist/config/plugin/shell.js +124 -124
  320. package/dist/config/plugin/skill-file.js +139 -139
  321. package/dist/config/plugin/skill-scan.js +3 -3
  322. package/dist/config/plugin/skill.js +146 -146
  323. package/dist/config/plugin/snapshot.js +122 -122
  324. package/dist/config/plugin/source.js +119 -119
  325. package/dist/config/plugin/tool-output.js +123 -123
  326. package/dist/config/plugin/websearch.js +123 -123
  327. package/dist/config/plugin/worktree.js +124 -124
  328. package/dist/config/variable.js +1 -1
  329. package/dist/config/watch.js +1 -1
  330. package/dist/config.js +121 -121
  331. package/dist/console-access.js +1 -1
  332. package/dist/credential/sql.js +2 -2
  333. package/dist/credential.js +90 -90
  334. package/dist/database/database.js +77 -77
  335. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  336. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  337. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  338. package/dist/database/drizzle/index.js +13 -13
  339. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  342. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  345. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  347. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  348. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  349. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  350. package/dist/database/drizzle.js +14 -14
  351. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  352. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  353. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  354. package/dist/database/migration/20260225215848_workspace.js +1 -1
  355. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  356. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  357. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  358. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  359. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  360. package/dist/database/migration/20260323234822_events.js +1 -1
  361. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  362. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  363. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  364. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  365. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  366. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  367. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  368. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  369. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  370. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  371. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  372. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  373. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  374. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  375. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  376. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  377. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  378. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  379. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  380. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  381. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  382. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  383. package/dist/database/migration/20260611035744_credential.js +1 -1
  384. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  385. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  386. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  387. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  388. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  389. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  390. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  391. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  392. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  393. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  394. package/dist/database/migration/20260812213948_worktree.js +1 -1
  395. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  396. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  397. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  398. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  399. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  400. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  401. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  402. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  403. package/dist/database/migration/20261025123711_blob.js +1 -1
  404. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  405. package/dist/database/migration/20261026223005_schedule.js +1 -1
  406. package/dist/database/migration.gen.js +56 -56
  407. package/dist/database/migration.js +58 -58
  408. package/dist/database/path.js +2 -2
  409. package/dist/database/schema.gen.js +1 -1
  410. package/dist/database/schema.sql.js +1 -1
  411. package/dist/database/sqlite.bun.js +1 -1
  412. package/dist/database/sqlite.js +1 -1
  413. package/dist/database/sqlite.node.js +1 -1
  414. package/dist/database/sqlite.workerd.js +1 -1
  415. package/dist/database/v1-migration.bun.js +99 -99
  416. package/dist/database/v1-migration.js +1 -1
  417. package/dist/effect/app-node-builder.js +382 -380
  418. package/dist/effect/app-node-platform.js +2 -2
  419. package/dist/effect/keyed-mutex.js +1 -1
  420. package/dist/effect/websocket-constructor.js +1 -1
  421. package/dist/environment/driver.js +1 -1
  422. package/dist/environment/environment.js +102 -102
  423. package/dist/environment/exec-defaults.js +2 -2
  424. package/dist/environment/files.js +1 -1
  425. package/dist/environment/index.js +104 -104
  426. package/dist/environment/local.js +2 -2
  427. package/dist/environment/memory.js +2 -2
  428. package/dist/environment/unavailable.js +1 -1
  429. package/dist/event/sql.js +1 -1
  430. package/dist/event-logger.js +81 -81
  431. package/dist/file-access.js +149 -149
  432. package/dist/file-mutation.js +103 -103
  433. package/dist/file-retention.js +1 -1
  434. package/dist/filesystem/fff.bun.js +2 -2
  435. package/dist/filesystem/fff.js +1 -1
  436. package/dist/filesystem/fff.node.js +2 -2
  437. package/dist/filesystem/fff.workerd.js +2 -2
  438. package/dist/filesystem/file-watch.js +87 -87
  439. package/dist/filesystem/location-watcher-policy.js +6 -6
  440. package/dist/filesystem/location-watcher.js +229 -229
  441. package/dist/filesystem/protected.js +1 -1
  442. package/dist/filesystem/search.js +108 -108
  443. package/dist/filesystem/watcher-binding.js +1 -1
  444. package/dist/filesystem/watcher.js +7 -7
  445. package/dist/filesystem.js +113 -113
  446. package/dist/form.js +83 -83
  447. package/dist/formatter/builtins.js +4 -4
  448. package/dist/formatter.js +96 -96
  449. package/dist/generate.js +116 -116
  450. package/dist/git.js +11 -11
  451. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  452. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  453. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  455. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  456. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  457. package/dist/github-copilot/copilot-provider.js +17 -17
  458. package/dist/github-copilot/models.js +108 -108
  459. package/dist/github-copilot/openai-compatible-error.js +1 -1
  460. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  461. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  462. package/dist/github-copilot/responses/openai-error.js +1 -1
  463. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  464. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  465. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  466. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  467. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  468. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  469. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  470. package/dist/image/photon-normalize.js +1 -1
  471. package/dist/image/photon-worker.js +1 -1
  472. package/dist/image/photon.js +4 -4
  473. package/dist/image.js +6 -6
  474. package/dist/instance/service.js +5 -5
  475. package/dist/instance.js +373 -371
  476. package/dist/instruction-discovery.js +91 -91
  477. package/dist/instructions/builtins.js +96 -96
  478. package/dist/instructions/index.js +3 -3
  479. package/dist/integration/connection.js +3 -3
  480. package/dist/integration.js +92 -92
  481. package/dist/job.js +85 -85
  482. package/dist/kv/sql.js +2 -2
  483. package/dist/kv.js +80 -80
  484. package/dist/location-activity.js +168 -168
  485. package/dist/location-lifecycle.js +143 -143
  486. package/dist/location-service-map.js +95 -95
  487. package/dist/location-services.js +370 -368
  488. package/dist/location.js +96 -96
  489. package/dist/managed-policy.js +3 -3
  490. package/dist/mcp/client.js +100 -100
  491. package/dist/mcp/index.js +118 -118
  492. package/dist/mcp/instructions.js +169 -169
  493. package/dist/mcp/oauth.js +85 -85
  494. package/dist/mcp/socket-client.js +1 -1
  495. package/dist/mcp/stdio.js +99 -99
  496. package/dist/mime.js +1 -1
  497. package/dist/modal/models.js +108 -108
  498. package/dist/model-resolver.js +108 -108
  499. package/dist/model-retry.js +1 -1
  500. package/dist/model.js +109 -109
  501. package/dist/models-dev/v1.js +1 -1
  502. package/dist/models-dev.js +117 -117
  503. package/dist/oauth/page.js +1 -1
  504. package/dist/permission/saved.js +87 -87
  505. package/dist/permission/sql.js +5 -5
  506. package/dist/permission.js +148 -148
  507. package/dist/persistent-pty/binary.bun.js +1 -1
  508. package/dist/persistent-pty/daemon.js +1 -1
  509. package/dist/persistent-pty/index.js +97 -97
  510. package/dist/persistent-pty/pty-binding.js +1 -1
  511. package/dist/persistent-pty.js +82 -82
  512. package/dist/plugin/agent.js +81 -81
  513. package/dist/plugin/command.js +109 -109
  514. package/dist/plugin/goal.js +3 -3
  515. package/dist/plugin/hooks.js +5 -5
  516. package/dist/plugin/host.js +228 -228
  517. package/dist/plugin/identity.js +5 -5
  518. package/dist/plugin/instance.js +5 -5
  519. package/dist/plugin/internal.js +343 -340
  520. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  521. package/dist/plugin/models-dev.js +106 -106
  522. package/dist/plugin/module.js +124 -124
  523. package/dist/plugin/optimize.js +2 -2
  524. package/dist/plugin/plan.js +137 -137
  525. package/dist/plugin/promise.js +1 -1
  526. package/dist/plugin/provider/amazon-bedrock.js +100 -99
  527. package/dist/plugin/provider/azure.js +122 -122
  528. package/dist/plugin/provider/cerebras.js +1 -1
  529. package/dist/plugin/provider/chatgpt.js +122 -122
  530. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -119
  531. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -119
  532. package/dist/plugin/provider/configured.js +118 -118
  533. package/dist/plugin/provider/credential-settings.js +88 -0
  534. package/dist/plugin/provider/databricks.js +1 -1
  535. package/dist/plugin/provider/digitalocean.js +102 -102
  536. package/dist/plugin/provider/dynamic.js +2 -2
  537. package/dist/plugin/provider/github-copilot.js +104 -104
  538. package/dist/plugin/provider/gitlab.js +103 -102
  539. package/dist/plugin/provider/google-vertex.js +119 -119
  540. package/dist/plugin/provider/kilo.js +1 -1
  541. package/dist/plugin/provider/llmgateway.js +85 -85
  542. package/dist/plugin/provider/lmstudio.js +131 -131
  543. package/dist/plugin/provider/local.js +128 -128
  544. package/dist/plugin/provider/modal.js +101 -101
  545. package/dist/plugin/provider/neon.js +1 -1
  546. package/dist/plugin/provider/nvidia.js +1 -1
  547. package/dist/plugin/provider/ollama.js +129 -129
  548. package/dist/plugin/provider/openai-context-caps.js +99 -99
  549. package/dist/plugin/provider/openai.js +122 -122
  550. package/dist/plugin/provider/opencode.js +125 -125
  551. package/dist/plugin/provider/openrouter.js +100 -100
  552. package/dist/plugin/provider/poe.js +86 -86
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +100 -100
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  557. package/dist/plugin/provider/vllm.js +131 -131
  558. package/dist/plugin/provider/xai.js +100 -100
  559. package/dist/plugin/provider/zenmux.js +1 -1
  560. package/dist/plugin/provider.js +173 -172
  561. package/dist/plugin/sdk.js +81 -81
  562. package/dist/plugin/service.js +3 -3
  563. package/dist/plugin/skill.js +140 -140
  564. package/dist/plugin/source-directory.js +1 -1
  565. package/dist/plugin/supervisor.js +357 -355
  566. package/dist/plugin/tool-input-repair.js +4 -4
  567. package/dist/plugin/update.js +6 -6
  568. package/dist/plugin/vcs/git.js +93 -93
  569. package/dist/plugin/vcs/hg.js +95 -95
  570. package/dist/plugin/verbosity.js +102 -102
  571. package/dist/plugin/warming.js +120 -120
  572. package/dist/plugin/websearch/exa.js +7 -7
  573. package/dist/plugin/websearch/firecrawl.js +8 -8
  574. package/dist/plugin/websearch/index.js +9 -9
  575. package/dist/plugin/websearch/mcp.js +2 -2
  576. package/dist/plugin/websearch/parallel.js +4 -4
  577. package/dist/plugin/websearch/tavily.js +6 -6
  578. package/dist/plugin/websearch/tinyfish.js +8 -8
  579. package/dist/plugin.js +235 -235
  580. package/dist/project/icon.js +5 -5
  581. package/dist/project/schema.js +6 -6
  582. package/dist/project/sql.js +4 -4
  583. package/dist/project.js +95 -95
  584. package/dist/provider.js +106 -106
  585. package/dist/pty/protocol.js +1 -1
  586. package/dist/pty/ticket.js +1 -1
  587. package/dist/pty.js +107 -107
  588. package/dist/reference/instructions.js +95 -95
  589. package/dist/reference.js +99 -99
  590. package/dist/repository-cache.js +89 -89
  591. package/dist/repository.js +3 -3
  592. package/dist/ripgrep/binary.js +2 -2
  593. package/dist/ripgrep.js +106 -106
  594. package/dist/rpc.js +95 -95
  595. package/dist/schedule/sql.js +6 -6
  596. package/dist/schedule.js +231 -231
  597. package/dist/schema.js +1 -1
  598. package/dist/session/affinity.js +1 -1
  599. package/dist/session/background.js +1 -1
  600. package/dist/session/blob.js +121 -121
  601. package/dist/session/command.js +81 -81
  602. package/dist/session/compaction.js +159 -159
  603. package/dist/session/context.js +189 -189
  604. package/dist/session/diff.js +97 -97
  605. package/dist/session/environment.js +5 -5
  606. package/dist/session/error.js +5 -5
  607. package/dist/session/event.js +1 -1
  608. package/dist/session/execution/restart.js +254 -233
  609. package/dist/session/execution.js +155 -155
  610. package/dist/session/generate.js +191 -191
  611. package/dist/session/history.js +128 -128
  612. package/dist/session/inbox.js +139 -139
  613. package/dist/session/info.js +3 -3
  614. package/dist/session/instruction-entry.js +86 -86
  615. package/dist/session/instruction-state.js +8 -8
  616. package/dist/session/instructions.js +133 -133
  617. package/dist/session/message-updater.js +2 -2
  618. package/dist/session/message.js +1 -1
  619. package/dist/session/model-request.js +156 -156
  620. package/dist/session/model-transport.js +9 -9
  621. package/dist/session/move.js +157 -157
  622. package/dist/session/projector.js +135 -135
  623. package/dist/session/prompt.js +141 -141
  624. package/dist/session/recent-text.js +1 -1
  625. package/dist/session/revert.js +131 -131
  626. package/dist/session/run-coordinator.js +3 -3
  627. package/dist/session/runner/index.js +3 -3
  628. package/dist/session/runner/llm.js +238 -238
  629. package/dist/session/runner/max-steps.js +1 -1
  630. package/dist/session/runner/model.js +109 -109
  631. package/dist/session/runner/publish-llm-event.js +142 -142
  632. package/dist/session/runner/retry.js +5 -5
  633. package/dist/session/runner/step.js +153 -153
  634. package/dist/session/runner/to-llm-message.js +129 -129
  635. package/dist/session/schema.js +5 -5
  636. package/dist/session/session.js +173 -173
  637. package/dist/session/shell.js +136 -136
  638. package/dist/session/skill.js +140 -140
  639. package/dist/session/sql.js +5 -5
  640. package/dist/session/stats.js +82 -82
  641. package/dist/session/store.js +134 -134
  642. package/dist/session/stored.js +4 -4
  643. package/dist/session/subagent-completion.js +1 -1
  644. package/dist/session/subagent-job.js +220 -220
  645. package/dist/session/system-prompt.js +3 -3
  646. package/dist/session/title.js +187 -187
  647. package/dist/session/to-session-error.js +141 -141
  648. package/dist/session/transfer.js +231 -231
  649. package/dist/session/usage.js +1 -1
  650. package/dist/session.js +224 -224
  651. package/dist/shell/parse.js +8 -8
  652. package/dist/shell/result.js +1 -1
  653. package/dist/shell/scan.js +1 -1
  654. package/dist/shell/select.js +17 -17
  655. package/dist/shell.js +138 -138
  656. package/dist/skill/discovery.js +6 -6
  657. package/dist/skill/instructions.js +142 -142
  658. package/dist/skill.js +145 -145
  659. package/dist/snapshot.js +102 -102
  660. package/dist/state.js +1 -1
  661. package/dist/tool/html-markdown.js +1 -1
  662. package/dist/tool/http-body.js +1 -1
  663. package/dist/tool/mcp.js +168 -168
  664. package/dist/tool/plugin/edit.js +157 -157
  665. package/dist/tool/plugin/file-diff.js +1 -1
  666. package/dist/tool/plugin/glob.js +161 -161
  667. package/dist/tool/plugin/grep.js +161 -161
  668. package/dist/tool/plugin/image-generate.js +237 -0
  669. package/dist/tool/plugin/mcp-resource.js +155 -155
  670. package/dist/tool/plugin/opencode.js +154 -154
  671. package/dist/tool/plugin/patch.js +159 -159
  672. package/dist/tool/plugin/question.js +145 -145
  673. package/dist/tool/plugin/read.js +162 -162
  674. package/dist/tool/plugin/shell.js +225 -225
  675. package/dist/tool/plugin/skill.js +148 -148
  676. package/dist/tool/plugin/subagent.js +225 -225
  677. package/dist/tool/plugin/todo.js +146 -146
  678. package/dist/tool/plugin/webfetch.js +142 -142
  679. package/dist/tool/plugin/websearch.js +146 -146
  680. package/dist/tool/plugin/write.js +159 -159
  681. package/dist/tool/read-filesystem.js +111 -111
  682. package/dist/tool/runtime.js +1 -1
  683. package/dist/tool-output.js +7 -7
  684. package/dist/tool.js +16 -16
  685. package/dist/types/job.d.ts +7 -0
  686. package/dist/types/plugin/internal.d.ts +3 -2
  687. package/dist/types/plugin/provider/amazon-bedrock.d.ts +1 -1
  688. package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +1 -1
  689. package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +1 -1
  690. package/dist/types/plugin/provider/credential-settings.d.ts +33 -0
  691. package/dist/types/plugin/provider/gitlab.d.ts +2 -1
  692. package/dist/types/session/background.d.ts +14 -0
  693. package/dist/types/tool/plugin/image-generate.d.ts +35 -0
  694. package/dist/types/tool/plugin/opencode.d.ts +1 -0
  695. package/dist/usage-limits.js +94 -94
  696. package/dist/util/error-summary.js +1 -1
  697. package/dist/util/git-executable.js +3 -3
  698. package/dist/util/lazy.js +1 -1
  699. package/dist/util/slug.js +1 -1
  700. package/dist/util/token.js +1 -1
  701. package/dist/util/which.js +1 -1
  702. package/dist/util/wildcard.js +1 -1
  703. package/dist/v1/config/agent.js +3 -3
  704. package/dist/v1/config/command.js +3 -3
  705. package/dist/v1/config/mcp.js +4 -4
  706. package/dist/v1/config/migrate.js +101 -101
  707. package/dist/v1/config/permission.js +1 -1
  708. package/dist/v1/config/plugin.js +1 -1
  709. package/dist/v1/config/provider-options.js +1 -1
  710. package/dist/v1/config/provider.js +4 -4
  711. package/dist/variant.js +102 -102
  712. package/dist/vcs/patch.js +1 -1
  713. package/dist/vcs.js +98 -98
  714. package/dist/voice.js +93 -93
  715. package/dist/websearch.js +91 -91
  716. package/dist/wellknown/plugin.js +83 -83
  717. package/dist/wellknown.js +86 -86
  718. package/dist/workspace/driver.js +7 -7
  719. package/dist/workspace/sql.js +1 -1
  720. package/dist/workspace.js +87 -87
  721. package/dist/worktree/directory.js +2 -2
  722. package/dist/worktree/git.js +11 -11
  723. package/dist/worktree/sql.js +5 -5
  724. package/dist/worktree/strategies.js +98 -98
  725. package/dist/worktree.js +109 -109
  726. package/package.json +8 -8
  727. package/dist/chunks/location-services-00ve6mdn.js +0 -18
  728. package/dist/chunks/location-services-csqm35kb.js +0 -515
  729. package/dist/chunks/location-services-nb8ms8t2.js +0 -257
  730. package/dist/chunks/location-services-pxqj8rbj.js +0 -26
  731. /package/dist/chunks/{location-services-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  732. /package/dist/chunks/{location-services-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  733. /package/dist/chunks/{location-services-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  734. /package/dist/chunks/{location-services-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  735. /package/dist/chunks/{location-services-1jakw16s.js → filesystem-1jakw16s.js} +0 -0
  736. /package/dist/chunks/{location-services-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  737. /package/dist/chunks/{location-services-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  738. /package/dist/chunks/{location-services-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
  739. /package/dist/chunks/{location-services-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  740. /package/dist/chunks/{location-services-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  741. /package/dist/chunks/{location-services-3asan66x.js → filesystem-3asan66x.js} +0 -0
  742. /package/dist/chunks/{location-services-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  743. /package/dist/chunks/{location-services-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  744. /package/dist/chunks/{location-services-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  745. /package/dist/chunks/{location-services-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  746. /package/dist/chunks/{location-services-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  747. /package/dist/chunks/{location-services-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  748. /package/dist/chunks/{location-services-53557ph1.js → filesystem-53557ph1.js} +0 -0
  749. /package/dist/chunks/{location-services-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  750. /package/dist/chunks/{location-services-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
  751. /package/dist/chunks/{location-services-6prwharc.js → filesystem-6prwharc.js} +0 -0
  752. /package/dist/chunks/{location-services-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
  753. /package/dist/chunks/{location-services-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  754. /package/dist/chunks/{location-services-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  755. /package/dist/chunks/{location-services-822emrt2.js → filesystem-822emrt2.js} +0 -0
  756. /package/dist/chunks/{location-services-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
  757. /package/dist/chunks/{location-services-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  758. /package/dist/chunks/{location-services-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  759. /package/dist/chunks/{location-services-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  760. /package/dist/chunks/{location-services-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  761. /package/dist/chunks/{location-services-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  762. /package/dist/chunks/{location-services-a058387c.js → filesystem-a058387c.js} +0 -0
  763. /package/dist/chunks/{location-services-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  764. /package/dist/chunks/{location-services-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  765. /package/dist/chunks/{location-services-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  766. /package/dist/chunks/{location-services-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  767. /package/dist/chunks/{location-services-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  768. /package/dist/chunks/{location-services-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
  769. /package/dist/chunks/{location-services-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  770. /package/dist/chunks/{location-services-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  771. /package/dist/chunks/{location-services-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  772. /package/dist/chunks/{location-services-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
  773. /package/dist/chunks/{location-services-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  774. /package/dist/chunks/{location-services-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  775. /package/dist/chunks/{location-services-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  776. /package/dist/chunks/{location-services-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  777. /package/dist/chunks/{location-services-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  778. /package/dist/chunks/{location-services-df08tz66.js → filesystem-df08tz66.js} +0 -0
  779. /package/dist/chunks/{location-services-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  780. /package/dist/chunks/{location-services-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  781. /package/dist/chunks/{location-services-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  782. /package/dist/chunks/{location-services-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  783. /package/dist/chunks/{location-services-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  784. /package/dist/chunks/{location-services-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  785. /package/dist/chunks/{location-services-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  786. /package/dist/chunks/{location-services-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  787. /package/dist/chunks/{location-services-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  788. /package/dist/chunks/{location-services-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  789. /package/dist/chunks/{location-services-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
  790. /package/dist/chunks/{location-services-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  791. /package/dist/chunks/{location-services-g86h250q.js → filesystem-g86h250q.js} +0 -0
  792. /package/dist/chunks/{location-services-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  793. /package/dist/chunks/{location-services-gftt206x.js → filesystem-gftt206x.js} +0 -0
  794. /package/dist/chunks/{location-services-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
  795. /package/dist/chunks/{location-services-hk9envan.js → filesystem-hk9envan.js} +0 -0
  796. /package/dist/chunks/{location-services-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  797. /package/dist/chunks/{location-services-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  798. /package/dist/chunks/{location-services-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  799. /package/dist/chunks/{location-services-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  800. /package/dist/chunks/{location-services-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  801. /package/dist/chunks/{location-services-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
  802. /package/dist/chunks/{location-services-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
  803. /package/dist/chunks/{location-services-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  804. /package/dist/chunks/{location-services-m18g726c.js → filesystem-m18g726c.js} +0 -0
  805. /package/dist/chunks/{location-services-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  806. /package/dist/chunks/{location-services-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  807. /package/dist/chunks/{location-services-myztnk54.js → filesystem-myztnk54.js} +0 -0
  808. /package/dist/chunks/{location-services-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  809. /package/dist/chunks/{location-services-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  810. /package/dist/chunks/{location-services-ncqqe42p.js → filesystem-ncqqe42p.js} +0 -0
  811. /package/dist/chunks/{location-services-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
  812. /package/dist/chunks/{location-services-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  813. /package/dist/chunks/{location-services-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
  814. /package/dist/chunks/{location-services-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  815. /package/dist/chunks/{location-services-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  816. /package/dist/chunks/{location-services-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  817. /package/dist/chunks/{location-services-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  818. /package/dist/chunks/{location-services-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  819. /package/dist/chunks/{location-services-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  820. /package/dist/chunks/{location-services-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  821. /package/dist/chunks/{location-services-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  822. /package/dist/chunks/{location-services-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  823. /package/dist/chunks/{location-services-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  824. /package/dist/chunks/{location-services-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
  825. /package/dist/chunks/{location-services-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  826. /package/dist/chunks/{location-services-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  827. /package/dist/chunks/{location-services-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  828. /package/dist/chunks/{location-services-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  829. /package/dist/chunks/{location-services-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  830. /package/dist/chunks/{location-services-x61499pn.js → filesystem-x61499pn.js} +0 -0
  831. /package/dist/chunks/{location-services-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  832. /package/dist/chunks/{location-services-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  833. /package/dist/chunks/{location-services-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  834. /package/dist/chunks/{location-services-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  835. /package/dist/chunks/{location-services-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./location-services-svcy3p9a.js";
3
+ } from "./filesystem-svcy3p9a.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./location-services-jtnps1zs.js";
6
+ } from "./filesystem-jtnps1zs.js";
7
7
  import {
8
- Service85,
9
- node89
10
- } from "./location-services-t24rj6wz.js";
8
+ Service86,
9
+ node90
10
+ } from "./filesystem-c34yv8jr.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./location-services-11hfp36g.js";
13
+ } from "./filesystem-11hfp36g.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node49
18
- } from "./location-services-ajhs9baq.js";
17
+ node73
18
+ } from "./filesystem-14k2p94z.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./location-services-faypxj3z.js";
21
+ } from "./filesystem-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./location-services-9rqn6x4v.js";
24
+ } from "./filesystem-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: () => ID6,
31
- Info: () => Info8,
30
+ ID: () => ID11,
31
+ Info: () => Info16,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service44,
33
+ Service: () => Service70,
34
34
  Workspace: () => exports_workspace,
35
35
  configured: () => configured7,
36
- node: () => node48
36
+ node: () => node72
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 ID6 = Workspace.ID;
44
+ var ID11 = Workspace.ID;
45
45
 
46
- class Info8 extends Schema.Class("Workspace.Info")({
47
- id: ID6,
46
+ class Info16 extends Schema.Class("Workspace.Info")({
47
+ id: ID11,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,25 +52,25 @@ class Info8 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID6,
59
+ workspaceID: ID11,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service44 extends Context.Service()("@opencode/Workspace") {
65
+ class Service70 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
67
  var configured7 = (options = {}) => makeGlobalNode({
68
- service: Service44,
68
+ service: Service70,
69
69
  layer: layer(options),
70
- deps: [node89, node49]
70
+ deps: [node90, node73]
71
71
  });
72
- var layer = (options) => Layer.effect(Service44, Effect.gen(function* () {
73
- const db = (yield* Service85).db;
72
+ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
73
+ const db = (yield* Service86).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
76
76
  const connections = new Map;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service44, 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 Info16({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service44, 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 Service44.of({
167
+ return Service70.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID6.create();
169
+ const workspaceID = input.id ?? ID11.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(Service44, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node48 = configured7();
245
+ var node72 = configured7();
246
246
 
247
- export { ID6, Info8, NotFound2, CreateConflict2, Service44, configured7, node48, exports_workspace };
247
+ export { ID11, Info16, NotFound2, CreateConflict2, Service70, configured7, node72, exports_workspace };
@@ -0,0 +1,312 @@
1
+ import {
2
+ Ref3,
3
+ Service76
4
+ } from "./filesystem-wq31c655.js";
5
+ import {
6
+ Service73
7
+ } from "./filesystem-8cykdwq1.js";
8
+ import {
9
+ Service69
10
+ } from "./filesystem-r98dxkx5.js";
11
+ import {
12
+ SessionMessage2
13
+ } from "./filesystem-gftt206x.js";
14
+ import {
15
+ Service55
16
+ } from "./filesystem-hjaahymy.js";
17
+ import {
18
+ Service19
19
+ } from "./filesystem-7m5yeeqj.js";
20
+ import {
21
+ Service21
22
+ } from "./filesystem-9wm1sbvz.js";
23
+ import {
24
+ Service54
25
+ } from "./filesystem-4se3fcjy.js";
26
+ import {
27
+ detect2
28
+ } from "./filesystem-4pyp9zr9.js";
29
+ import {
30
+ Service27
31
+ } from "./filesystem-ye085k5q.js";
32
+ import {
33
+ collectBoundedResponseBody2
34
+ } from "./filesystem-3v8g72cx.js";
35
+ import {
36
+ __export
37
+ } from "./filesystem-9rqn6x4v.js";
38
+
39
+ // src/tool/plugin/image-generate.ts
40
+ var exports_image_generate = {};
41
+ __export(exports_image_generate, {
42
+ ImageGenerateTool: () => exports_image_generate,
43
+ Input: () => Input12,
44
+ MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
45
+ Output: () => Output8,
46
+ Plugin: () => Plugin31,
47
+ defaultModel: () => defaultModel2,
48
+ description: () => description6,
49
+ name: () => name12
50
+ });
51
+ import path from "path";
52
+ import { ToolFailure } from "@opencode/ai/effect";
53
+ import { Identifier } from "@opencode/schema/identifier";
54
+ import { Global } from "@opencode/util/global";
55
+ import { Duration, Effect, Schema, Scope, Stream } from "effect";
56
+ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
57
+ var name12 = "image_generate";
58
+ var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
59
+ var DOWNLOAD_TIMEOUT = Duration.seconds(30);
60
+ var GENERATE_TIMEOUT = Duration.minutes(30);
61
+ var INPUT_TYPES = ["image/png", "image/jpeg", "image/webp", "image/gif"];
62
+ var EXTENSIONS = {
63
+ "image/png": ".png",
64
+ "image/jpeg": ".jpg",
65
+ "image/webp": ".webp",
66
+ "image/gif": ".gif"
67
+ };
68
+ var description6 = "Generate or edit an image. Pass images to edit them or to guide style and subject. To make several images, call the tool once per image with distinct prompts. Omit model to use the default. Runs in the background: the call returns right away and you are notified automatically when the image is saved or fails. DO NOT sleep, poll, or check whether the file exists while it runs; continue with other work or end your response. After the notice, use the read tool on the path to view the image and mention the path to the user. Each call costs money, so don't regenerate unless asked or the result is clearly wrong.";
69
+ var Input12 = Schema.Struct({
70
+ prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
71
+ description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
72
+ }),
73
+ images: Schema.optionalKey(Schema.Array(Schema.String.check(Schema.isMinLength(1))).check(Schema.isMinLength(1), Schema.isMaxLength(8))).annotate({
74
+ description: "Images to edit or use as references, in order. Local file paths (relative to the session directory or absolute) or http(s) URLs. Omit to create a new image."
75
+ }),
76
+ model: Schema.optionalKey(Schema.String).annotate({
77
+ description: 'NEVER set this unless the user explicitly asks for a particular image model or variant. The value is written as "providerID/modelID", or "providerID/modelID#variant" to include a variant. Do not guess the ID: look it up with the models tool using type: "image", filtering to your own provider first.'
78
+ }),
79
+ path: Schema.optionalKey(Schema.String).annotate({
80
+ description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
81
+ })
82
+ });
83
+ var Output8 = Schema.Struct({
84
+ path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
85
+ model: Schema.String.annotate({ description: "providerID/modelID" })
86
+ });
87
+ var Plugin31 = {
88
+ id: "opencode.tool.image-generate",
89
+ effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
90
+ const access = yield* Service19;
91
+ const environment = yield* Service69;
92
+ const generate = yield* Service21;
93
+ const global = yield* Global.Service;
94
+ const http = yield* HttpClient.HttpClient;
95
+ const config = yield* Service73;
96
+ const jobs = yield* Service54;
97
+ const scope = yield* Scope.Scope;
98
+ const sessions = yield* Service27;
99
+ const models = yield* Service76;
100
+ const permission = yield* Service55;
101
+ const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
102
+ const available = yield* models.available(["image"]);
103
+ if (!input) {
104
+ const configured = configuredModel(yield* config.entries());
105
+ const preferred = configured ? available.find((model) => model.providerID === configured.providerID && model.id === configured.model) : undefined;
106
+ const variantMissing = configured?.variant !== undefined && preferred !== undefined && !preferred.variants.some((variant) => variant.id === configured.variant);
107
+ if (preferred && !variantMissing && (!images || acceptsImages(preferred)))
108
+ return { model: preferred, variant: configured?.variant };
109
+ const providerID = (yield* ctx.session.get({ sessionID })).model?.providerID;
110
+ const model = defaultModel2(available, { providerID, images });
111
+ if (!model)
112
+ return yield* new ToolFailure({
113
+ message: images ? "None of the available image models accept input images." : "No image model is available."
114
+ });
115
+ if (!configured)
116
+ return { model };
117
+ const ref = `${configured.providerID}/${configured.model}${configured.variant ? `#${configured.variant}` : ""}`;
118
+ const reason = !preferred ? "isn't available" : variantMissing ? `has no variant "${configured.variant}"` : "doesn't accept input images";
119
+ return { model, note: ` ${ref} ${reason}; used ${model.providerID}/${model.id}.` };
120
+ }
121
+ const ref = yield* Effect.try({
122
+ try: () => Ref3.parse(input),
123
+ catch: () => new ToolFailure({
124
+ message: `Invalid model "${input}". Use "providerID/modelID" or "providerID/modelID#variant".`
125
+ })
126
+ });
127
+ const model = available.find((model) => model.providerID === ref.providerID && model.id === ref.id);
128
+ if (model === undefined)
129
+ return yield* new ToolFailure({
130
+ message: `Model "${ref.providerID}/${ref.id}" is not an available image model. Use the models tool with type: "image" to see what is available.`
131
+ });
132
+ if (ref.variant !== undefined && !model.variants.some((variant) => variant.id === ref.variant))
133
+ return yield* new ToolFailure({
134
+ message: model.variants.length === 0 ? `Model "${ref.providerID}/${ref.id}" has no variants. Omit the variant.` : `Variant "${ref.variant}" is not available for "${ref.providerID}/${ref.id}". Available: ${model.variants.map((variant) => variant.id).join(", ")}.`
135
+ });
136
+ if (images && !acceptsImages(model)) {
137
+ const capable = available.filter(acceptsImages).slice(0, 3);
138
+ return yield* new ToolFailure({
139
+ message: capable.length === 0 ? `Model "${ref.providerID}/${ref.id}" does not accept input images, and no available image model does.` : `Model "${ref.providerID}/${ref.id}" does not accept input images. Image models that do: ${capable.map((model) => `${model.providerID}/${model.id}`).join(", ")}.`
140
+ });
141
+ }
142
+ return { model, variant: ref.variant };
143
+ });
144
+ const readImage = Effect.fn("ImageGenerateTool.readImage")(function* (source, context, fetchAllowed) {
145
+ const bytes = yield* readBytes(source, context, fetchAllowed);
146
+ const mime = detect2(bytes);
147
+ if (!INPUT_TYPES.includes(mime))
148
+ return yield* new ToolFailure({ message: `${source} is not a PNG, JPEG, WebP or GIF image.` });
149
+ return { data: Buffer.from(bytes).toString("base64"), mime, name: path.basename(source) };
150
+ });
151
+ const readBytes = Effect.fn("ImageGenerateTool.readBytes")(function* (source, context, fetchAllowed) {
152
+ if (/^https?:\/\//i.test(source)) {
153
+ yield* fetchAllowed(source);
154
+ return yield* Effect.gen(function* () {
155
+ const response = yield* http.execute(HttpClientRequest.get(source)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
156
+ return yield* collectBoundedResponseBody2(response, MAX_INPUT_BYTES2, () => new ToolFailure({ message: `${source} is larger than 20 MiB.` }));
157
+ }).pipe(Effect.timeoutOrElse({
158
+ duration: DOWNLOAD_TIMEOUT,
159
+ orElse: () => Effect.fail(new ToolFailure({ message: `Timed out downloading ${source}.` }))
160
+ }), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to download ${source}`, error })));
161
+ }
162
+ const target = yield* access.authorizeRead(source, context);
163
+ const info = yield* environment.files.stat(target.absolute).pipe(Effect.catchTag("Environment.NotFound", () => new ToolFailure({ message: `File not found: ${source}` })));
164
+ if (info.size > MAX_INPUT_BYTES2)
165
+ return yield* new ToolFailure({ message: `${source} is larger than 20 MiB.` });
166
+ return (yield* environment.files.read(target.absolute)).bytes;
167
+ });
168
+ const notifyWhenDone = Effect.fn("ImageGenerateTool.notifyWhenDone")(function* (sessionID, id, notificationID, file) {
169
+ const info = (yield* jobs.wait({ id })).info;
170
+ if (!info || info.status === "running")
171
+ return;
172
+ yield* sessions.synthetic({
173
+ id: notificationID,
174
+ sessionID,
175
+ description: "Image generation",
176
+ text: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${file}.` : `Image request for ${file} was cancelled.`,
177
+ metadata: { source: name12, jobID: id, state: info.status, path: file }
178
+ });
179
+ yield* jobs.completeBackground(notificationID);
180
+ }, Effect.forkIn(scope, { startImmediately: true }));
181
+ const wanted = models.available(["image"]).pipe(Effect.map((available) => available.length > 0));
182
+ let enabled = false;
183
+ const refresh = wanted.pipe(Effect.flatMap((next) => {
184
+ if (next === enabled)
185
+ return Effect.void;
186
+ enabled = next;
187
+ return ctx.tool.reload();
188
+ }));
189
+ yield* ctx.event.subscribe({ types: ["model.updated"] }).pipe(Stream.runForEach(() => refresh), Effect.forkScoped({ startImmediately: true }));
190
+ enabled = yield* wanted;
191
+ yield* ctx.tool.transform((editor) => {
192
+ if (!enabled)
193
+ return;
194
+ editor.add({
195
+ name: name12,
196
+ options: { codemode: false },
197
+ description: description6,
198
+ input: Input12,
199
+ output: Output8,
200
+ execute: (input, context) => Effect.gen(function* () {
201
+ const source = { type: "tool", messageID: context.messageID, id: context.id };
202
+ const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
203
+ const model = resolved.model;
204
+ const variant = resolved.variant;
205
+ const ref = `${model.providerID}/${model.id}${variant ? `#${variant}` : ""}`;
206
+ const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
207
+ const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
208
+ yield* permission.assert({
209
+ action: name12,
210
+ resources: [ref],
211
+ save: ["*"],
212
+ metadata: { ...input, model: ref },
213
+ sessionID: context.sessionID,
214
+ agent: context.agent,
215
+ source
216
+ });
217
+ if (target) {
218
+ yield* access.authorizeExternal([target], context);
219
+ yield* permission.assert({
220
+ action: "edit",
221
+ resources: [target.resource],
222
+ save: ["*"],
223
+ sessionID: context.sessionID,
224
+ agent: context.agent,
225
+ source
226
+ });
227
+ }
228
+ const images = input.images ? yield* Effect.forEach(input.images, (image) => readImage(image, context, (url) => permission.assert({
229
+ action: "webfetch",
230
+ resources: [url],
231
+ save: ["*"],
232
+ metadata: { url },
233
+ sessionID: context.sessionID,
234
+ agent: context.agent,
235
+ source
236
+ }))) : undefined;
237
+ const run = Effect.gen(function* () {
238
+ const result = yield* generate.image({
239
+ model: Ref3.make({
240
+ providerID: model.providerID,
241
+ id: model.id,
242
+ ...variant ? { variant } : {}
243
+ }),
244
+ prompt: input.prompt,
245
+ n: 1,
246
+ ...images ? { images } : {}
247
+ }).pipe(Effect.timeoutOrElse({
248
+ duration: GENERATE_TIMEOUT,
249
+ orElse: () => Effect.fail(new Error("Image generation timed out after 30 minutes."))
250
+ }));
251
+ const image = result.images[0];
252
+ if (!image)
253
+ return yield* Effect.fail(new Error(`${ref} returned no image.`));
254
+ const bytes = Buffer.from(image.data, "base64");
255
+ const file = stem + (EXTENSIONS[detect2(bytes)] ?? ".png");
256
+ if (target && file !== target.absolute) {
257
+ const actual = yield* access.resolve({ path: file, kind: "file" });
258
+ const replaces = yield* environment.files.stat(file).pipe(Effect.as(true), Effect.catchTag("Environment.NotFound", () => Effect.succeed(false)));
259
+ const request = {
260
+ action: "edit",
261
+ resources: [actual.resource],
262
+ sessionID: context.sessionID,
263
+ agent: context.agent,
264
+ source
265
+ };
266
+ yield* replaces ? permission.assert({ ...request, save: ["*"] }) : permission.assertNotDenied(request);
267
+ }
268
+ yield* environment.files.write(file, bytes);
269
+ return `Image request finished. Saved image: ${file} (${ref}).
270
+ Use the read tool on this path to view the image.`;
271
+ }).pipe(Effect.mapError((error) => new Error(`Image request failed for ${stem}: ${error.message}`)));
272
+ const id = `image_${Identifier.create(false)}`;
273
+ const notificationID = SessionMessage2.ID.create();
274
+ const job = yield* jobs.start({
275
+ id,
276
+ notificationID,
277
+ type: name12,
278
+ title: input.prompt,
279
+ metadata: { sessionID: context.sessionID, path: stem, model: ref },
280
+ recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
281
+ run
282
+ });
283
+ yield* jobs.background(job.id);
284
+ yield* notifyWhenDone(context.sessionID, job.id, notificationID, stem);
285
+ return {
286
+ output: { path: stem, model: ref },
287
+ content: [
288
+ `Image request started in the background with ${ref}. It will be saved as ${stem} with the extension of its real format (.png, .jpg, .webp or .gif); the notice gives the exact path.${resolved.note ?? ""}`,
289
+ "You will be notified automatically when it finishes or fails.",
290
+ "DO NOT sleep, poll, check whether the file exists, or request the same image again while it runs.",
291
+ "Work on other tasks, or briefly tell the user what you started and end your response."
292
+ ].join(`
293
+ `),
294
+ metadata: { path: stem, model: ref, jobID: job.id }
295
+ };
296
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to generate image", error })))
297
+ });
298
+ }).pipe(Effect.orDie);
299
+ })
300
+ };
301
+ function defaultModel2(available, input) {
302
+ const candidates = input.images ? available.filter(acceptsImages) : available;
303
+ return candidates.find((model) => model.providerID === input.providerID) ?? candidates[0];
304
+ }
305
+ function configuredModel(entries) {
306
+ return entries.findLast((entry) => entry.type === "document" && entry.info.experimental?.image_model !== undefined)?.info.experimental?.image_model;
307
+ }
308
+ function acceptsImages(model) {
309
+ return model.capabilities.input.some((item) => item.startsWith("image"));
310
+ }
311
+
312
+ export { name12, MAX_INPUT_BYTES2, description6, Input12, Output8, Plugin31, defaultModel2, exports_image_generate };
@@ -1,74 +1,74 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./location-services-t24rj6wz.js";
2
+ Service86,
3
+ node90
4
+ } from "./filesystem-c34yv8jr.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service84,
8
- node88
9
- } from "./location-services-dn59zr14.js";
7
+ Service85,
8
+ node89
9
+ } from "./filesystem-xptjxdz6.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./location-services-ec1grn59.js";
12
+ } from "./filesystem-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./location-services-gftt206x.js";
15
+ } from "./filesystem-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./location-services-b6vsg801.js";
18
+ } from "./filesystem-b6vsg801.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./location-services-z5v4ffb3.js";
22
+ } from "./filesystem-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./location-services-aj7mw0zk.js";
25
+ } from "./filesystem-034tev2y.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./location-services-ep59zg61.js";
30
+ } from "./filesystem-gg8p9cgs.js";
31
31
  import {
32
32
  User3
33
- } from "./location-services-fg9p65nk.js";
33
+ } from "./filesystem-prq7xxp2.js";
34
34
  import {
35
35
  externalize2,
36
36
  recordRefs2,
37
37
  syncRefs2,
38
38
  releaseFrom2,
39
39
  releaseSession2
40
- } from "./location-services-rvkbhdv1.js";
40
+ } from "./filesystem-x2kwmbaj.js";
41
41
  import {
42
42
  apply2,
43
43
  initialize3,
44
44
  advanceEpoch2,
45
45
  rewind2
46
- } from "./location-services-pkf3y2cc.js";
46
+ } from "./filesystem-pbbktnbz.js";
47
47
  import {
48
48
  decodeMessageRowSync2
49
- } from "./location-services-y7xh4g9a.js";
49
+ } from "./filesystem-zyfw5drr.js";
50
50
  import {
51
51
  projectAdmitted2,
52
52
  projectDelivered2,
53
53
  projectCancelled2,
54
54
  projectDeliveryChanged2
55
- } from "./location-services-szv4nqnj.js";
55
+ } from "./filesystem-ykamt9jm.js";
56
56
  import {
57
57
  initialize2
58
- } from "./location-services-a0mx2tpn.js";
58
+ } from "./filesystem-qgjxsz2y.js";
59
59
  import {
60
60
  Slug2
61
- } from "./location-services-gebd4c9n.js";
61
+ } from "./filesystem-gebd4c9n.js";
62
62
  import {
63
63
  __export
64
- } from "./location-services-9rqn6x4v.js";
64
+ } from "./filesystem-9rqn6x4v.js";
65
65
 
66
66
  // src/session/projector.ts
67
67
  var exports_projector = {};
68
68
  __export(exports_projector, {
69
69
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
70
70
  SessionProjector: () => exports_projector,
71
- node: () => node21
71
+ node: () => node32
72
72
  });
73
73
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
74
74
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -312,8 +312,8 @@ function projectIdle(db, event) {
312
312
  });
313
313
  }
314
314
  var layer = Layer.effectDiscard(Effect.gen(function* () {
315
- const bus = yield* Service84;
316
- const db = (yield* Service85).db;
315
+ const bus = yield* Service85;
316
+ const db = (yield* Service86).db;
317
317
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
318
318
  const stored = yield* db.insert(SessionTable2).values({
319
319
  id: event.data.sessionID,
@@ -508,6 +508,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
508
508
  return publishSessionUsage(db, bus, event.data.sessionID);
509
509
  }), Effect.forkScoped({ startImmediately: true }));
510
510
  }));
511
- var node21 = makeGlobalNode({ name: "session-projector", layer, deps: [node88, node89] });
511
+ var node32 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
512
512
 
513
- export { SessionAlreadyProjected2, node21, exports_projector };
513
+ export { SessionAlreadyProjected2, node32, exports_projector };