@opencode/core 0.0.0-dev-20682 → 0.0.0-dev-20684

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{model-resolver-a7bcxdzj.js → location-lifecycle-02khppbe.js} +9 -9
  8. package/dist/chunks/{model-resolver-10c97xc6.js → location-lifecycle-05gsqr97.js} +9 -9
  9. package/dist/chunks/{model-resolver-zf19209g.js → location-lifecycle-063h6gxx.js} +5 -5
  10. package/dist/chunks/{model-resolver-rp6bd9wq.js → location-lifecycle-06r90ppk.js} +11 -11
  11. package/dist/chunks/{model-resolver-gd0tnyjc.js → location-lifecycle-075nkgpd.js} +1 -1
  12. package/dist/chunks/{model-resolver-qgn6gcr1.js → location-lifecycle-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{model-resolver-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{model-resolver-0vbcp93d.js → location-lifecycle-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{model-resolver-wbtjy708.js → location-lifecycle-0vmmsz07.js} +44 -44
  16. package/dist/chunks/{model-resolver-r01t9b5y.js → location-lifecycle-0w1gqsy8.js} +6 -6
  17. package/dist/chunks/{model-resolver-8kddseeh.js → location-lifecycle-0wpwzxxn.js} +10 -10
  18. package/dist/chunks/{model-resolver-38g0pyy9.js → location-lifecycle-0yac1820.js} +4 -4
  19. package/dist/chunks/{model-resolver-11hct9f4.js → location-lifecycle-0zkygwfx.js} +36 -36
  20. package/dist/chunks/{model-resolver-8htghz5d.js → location-lifecycle-10cxwvde.js} +14 -14
  21. package/dist/chunks/{model-resolver-1acjjqhc.js → location-lifecycle-1acjjqhc.js} +1 -1
  22. package/dist/chunks/{model-resolver-g0445xdp.js → location-lifecycle-1ajx6rf5.js} +8 -8
  23. package/dist/chunks/{model-resolver-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{model-resolver-84h8c373.js → location-lifecycle-1dvck2a7.js} +2 -2
  25. package/dist/chunks/{model-resolver-69fj14ep.js → location-lifecycle-1jnd0kpw.js} +24 -24
  26. package/dist/chunks/{model-resolver-tk14y25j.js → location-lifecycle-1pxz8ven.js} +5 -5
  27. package/dist/chunks/{model-resolver-dxqyj49f.js → location-lifecycle-1tkxjym4.js} +3 -3
  28. package/dist/chunks/{model-resolver-gpnd5mkj.js → location-lifecycle-1w4qtqrn.js} +9 -9
  29. package/dist/chunks/{model-resolver-qhf50je4.js → location-lifecycle-20h11dtt.js} +24 -24
  30. package/dist/chunks/{model-resolver-wzmhb02r.js → location-lifecycle-226eh3y5.js} +22 -22
  31. package/dist/chunks/{model-resolver-mw9atry4.js → location-lifecycle-26a57194.js} +12 -12
  32. package/dist/chunks/{model-resolver-h4a7s26t.js → location-lifecycle-26ye3vwj.js} +5 -5
  33. package/dist/chunks/{model-resolver-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{model-resolver-ep06henm.js → location-lifecycle-2ahzvgw1.js} +18 -18
  35. package/dist/chunks/{model-resolver-jrqb24zm.js → location-lifecycle-2bfa9kaw.js} +11 -11
  36. package/dist/chunks/{model-resolver-t32zyhfe.js → location-lifecycle-2hvzr5ar.js} +7 -7
  37. package/dist/chunks/{model-resolver-2txn9rvg.js → location-lifecycle-2rvp7s7b.js} +3 -3
  38. package/dist/chunks/{model-resolver-t29swve2.js → location-lifecycle-2s7ybbgh.js} +3 -3
  39. package/dist/chunks/{model-resolver-0tpcnmcw.js → location-lifecycle-2vbg8t8g.js} +6 -6
  40. package/dist/chunks/{model-resolver-ssrgjt3e.js → location-lifecycle-2xmwdb14.js} +16 -16
  41. package/dist/chunks/{model-resolver-kax3gvj5.js → location-lifecycle-2zk65mq5.js} +19 -19
  42. package/dist/chunks/{model-resolver-hh65bbrn.js → location-lifecycle-32psh0q2.js} +21 -21
  43. package/dist/chunks/{model-resolver-dm21k72n.js → location-lifecycle-337zht14.js} +9 -9
  44. package/dist/chunks/{model-resolver-d8tgnve2.js → location-lifecycle-35ec284s.js} +13 -13
  45. package/dist/chunks/{model-resolver-hnyhndd0.js → location-lifecycle-3a2m6res.js} +5 -5
  46. package/dist/chunks/{model-resolver-66hc15ng.js → location-lifecycle-3b8j6ss7.js} +33 -33
  47. package/dist/chunks/{model-resolver-8bgdgvzg.js → location-lifecycle-3egv5ypg.js} +19 -19
  48. package/dist/chunks/{model-resolver-wgrcm666.js → location-lifecycle-3ex7axyr.js} +27 -27
  49. package/dist/chunks/{model-resolver-tg3ranp2.js → location-lifecycle-3f1961x7.js} +23 -23
  50. package/dist/chunks/{model-resolver-y0qr5jf7.js → location-lifecycle-3f8vzngw.js} +5 -5
  51. package/dist/chunks/{model-resolver-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
  52. package/dist/chunks/{model-resolver-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{model-resolver-ypnjcb15.js → location-lifecycle-3p8ay4bf.js} +37 -37
  54. package/dist/chunks/{model-resolver-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{model-resolver-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{model-resolver-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
  57. package/dist/chunks/{model-resolver-ds811dtb.js → location-lifecycle-41pxaskz.js} +5 -5
  58. package/dist/chunks/{model-resolver-bth1fran.js → location-lifecycle-48hq3w28.js} +11 -11
  59. package/dist/chunks/{model-resolver-bmd39q5q.js → location-lifecycle-4c5kx5jf.js} +15 -15
  60. package/dist/chunks/{model-resolver-fd7cqx9x.js → location-lifecycle-4ckeh75z.js} +13 -13
  61. package/dist/chunks/{model-resolver-yyk24bey.js → location-lifecycle-4hkjffgj.js} +17 -17
  62. package/dist/chunks/{model-resolver-z0r25cb3.js → location-lifecycle-4qjpxqqa.js} +14 -14
  63. package/dist/chunks/{model-resolver-ngghfn62.js → location-lifecycle-4sa8jbrs.js} +5 -5
  64. package/dist/chunks/{model-resolver-2ccvkpx1.js → location-lifecycle-4ts7tf6z.js} +2 -2
  65. package/dist/chunks/{model-resolver-6m42r3np.js → location-lifecycle-50mzsvk4.js} +21 -21
  66. package/dist/chunks/{model-resolver-31xw4se4.js → location-lifecycle-51g1atb3.js} +1 -1
  67. package/dist/chunks/{model-resolver-dwyev0pn.js → location-lifecycle-531cyra5.js} +33 -33
  68. package/dist/chunks/{model-resolver-r94pvvab.js → location-lifecycle-54ma36ye.js} +4 -4
  69. package/dist/chunks/location-lifecycle-55bz3zr2.js +253 -0
  70. package/dist/chunks/{model-resolver-p5qcrc4c.js → location-lifecycle-5bcb55yf.js} +6 -6
  71. package/dist/chunks/{model-resolver-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
  72. package/dist/chunks/location-lifecycle-5fxk43wy.js +507 -0
  73. package/dist/chunks/{model-resolver-8y31xnqm.js → location-lifecycle-5hx7d1d6.js} +5 -5
  74. package/dist/chunks/{model-resolver-g3g4kd0v.js → location-lifecycle-5jvwydpq.js} +17 -17
  75. package/dist/chunks/{model-resolver-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
  76. package/dist/chunks/{model-resolver-f00eh3k7.js → location-lifecycle-5ngaw42y.js} +14 -14
  77. package/dist/chunks/{model-resolver-vepq4dqg.js → location-lifecycle-5pjp1k1g.js} +60 -60
  78. package/dist/chunks/{model-resolver-e3qxr5gk.js → location-lifecycle-5qd3pb7m.js} +2 -2
  79. package/dist/chunks/{model-resolver-vsn506cm.js → location-lifecycle-5qnej2js.js} +18 -18
  80. package/dist/chunks/{model-resolver-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
  81. package/dist/chunks/{model-resolver-g7rd8z26.js → location-lifecycle-60jf5vcr.js} +4 -4
  82. package/dist/chunks/{model-resolver-8nn1yj6z.js → location-lifecycle-6b1rhtd5.js} +11 -11
  83. package/dist/chunks/{model-resolver-km7an3ep.js → location-lifecycle-6bvm89f4.js} +24 -24
  84. package/dist/chunks/{model-resolver-5kp4xrh9.js → location-lifecycle-6d8pmp5n.js} +9 -9
  85. package/dist/chunks/{model-resolver-3rd28rcz.js → location-lifecycle-6kgskxtw.js} +11 -11
  86. package/dist/chunks/{model-resolver-btak5zqv.js → location-lifecycle-6svbk6pm.js} +10 -10
  87. package/dist/chunks/{model-resolver-6xb47vfp.js → location-lifecycle-6xb47vfp.js} +1 -1
  88. package/dist/chunks/{model-resolver-33dajdt0.js → location-lifecycle-6xcdvqxh.js} +98 -98
  89. package/dist/chunks/{model-resolver-4dfbsgcw.js → location-lifecycle-6y9gnpfg.js} +19 -19
  90. package/dist/chunks/{model-resolver-f75zav2x.js → location-lifecycle-71az546q.js} +2 -2
  91. package/dist/chunks/{model-resolver-83009cjb.js → location-lifecycle-78cd284a.js} +35 -35
  92. package/dist/chunks/{model-resolver-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{model-resolver-gz16832s.js → location-lifecycle-7hdckppd.js} +24 -24
  94. package/dist/chunks/{model-resolver-tttwfjc6.js → location-lifecycle-86a9aqm7.js} +5 -5
  95. package/dist/chunks/{model-resolver-2becn8wt.js → location-lifecycle-87af0jnx.js} +7 -7
  96. package/dist/chunks/{model-resolver-tcezcvh9.js → location-lifecycle-89znhe33.js} +4 -4
  97. package/dist/chunks/{model-resolver-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
  98. package/dist/chunks/{model-resolver-9g5xkymg.js → location-lifecycle-8dqzgcf3.js} +2 -2
  99. package/dist/chunks/{model-resolver-yfa68f7n.js → location-lifecycle-8f67g1dm.js} +43 -43
  100. package/dist/chunks/{model-resolver-x38qdzk1.js → location-lifecycle-8g3g94ah.js} +48 -48
  101. package/dist/chunks/{model-resolver-rwegcfpf.js → location-lifecycle-8jkabng0.js} +16 -16
  102. package/dist/chunks/{model-resolver-wdr7g53b.js → location-lifecycle-8jsp840a.js} +30 -30
  103. package/dist/chunks/{model-resolver-m6f3t844.js → location-lifecycle-8paq7gnc.js} +8 -8
  104. package/dist/chunks/{model-resolver-kb9j3d72.js → location-lifecycle-9e5bzkjp.js} +3 -3
  105. package/dist/chunks/{model-resolver-4twwj3gr.js → location-lifecycle-9ng1f03y.js} +16 -16
  106. package/dist/chunks/{model-resolver-yp8tn9p0.js → location-lifecycle-9r2jpf9t.js} +20 -20
  107. package/dist/chunks/{model-resolver-vbwbd6d7.js → location-lifecycle-9sgp6b5z.js} +9 -9
  108. package/dist/chunks/{model-resolver-9n8a201b.js → location-lifecycle-9vbq82tv.js} +78 -78
  109. package/dist/chunks/{model-resolver-e8sy2har.js → location-lifecycle-9xdh3x8b.js} +35 -35
  110. package/dist/chunks/{model-resolver-ge7bq23y.js → location-lifecycle-9xssfh81.js} +32 -32
  111. package/dist/chunks/{model-resolver-6qcr098f.js → location-lifecycle-9y5b0gtx.js} +5 -5
  112. package/dist/chunks/{model-resolver-dmghp31x.js → location-lifecycle-9yb256cm.js} +27 -27
  113. package/dist/chunks/location-lifecycle-9zdhvgqs.js +18 -0
  114. package/dist/chunks/{model-resolver-j028xdjb.js → location-lifecycle-a1gpj94z.js} +3 -3
  115. package/dist/chunks/{model-resolver-wj76ss2k.js → location-lifecycle-a89e0tac.js} +4 -4
  116. package/dist/chunks/{model-resolver-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
  117. package/dist/chunks/{model-resolver-h14zrqyq.js → location-lifecycle-apzzd3ax.js} +23 -23
  118. package/dist/chunks/{model-resolver-jjwtv0ah.js → location-lifecycle-aw1j1f4r.js} +11 -11
  119. package/dist/chunks/{model-resolver-vbdkyqz4.js → location-lifecycle-b0dt9z8w.js} +4 -4
  120. package/dist/chunks/{model-resolver-8sze2n9a.js → location-lifecycle-b4twkq7r.js} +2 -2
  121. package/dist/chunks/{model-resolver-n8vdnqrc.js → location-lifecycle-b674v2dg.js} +5 -5
  122. package/dist/chunks/{model-resolver-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
  123. package/dist/chunks/{model-resolver-dafg2r43.js → location-lifecycle-b8agvgd6.js} +38 -38
  124. package/dist/chunks/{model-resolver-7s2tn799.js → location-lifecycle-bh0zzf2s.js} +8 -8
  125. package/dist/chunks/{model-resolver-e5s5dhnn.js → location-lifecycle-bm7qbsac.js} +11 -11
  126. package/dist/chunks/{model-resolver-63db42yp.js → location-lifecycle-brk5xemp.js} +2 -2
  127. package/dist/chunks/{model-resolver-fd65jbzw.js → location-lifecycle-bspqpb0c.js} +11 -11
  128. package/dist/chunks/{model-resolver-pbwe4c5d.js → location-lifecycle-bvydwcnj.js} +91 -91
  129. package/dist/chunks/{model-resolver-19y7fb49.js → location-lifecycle-bw3ab5h2.js} +15 -15
  130. package/dist/chunks/{model-resolver-v3n49zdf.js → location-lifecycle-by37hsaf.js} +17 -17
  131. package/dist/chunks/{model-resolver-4z58m4b4.js → location-lifecycle-c35597j6.js} +4 -4
  132. package/dist/chunks/{model-resolver-grwyepjm.js → location-lifecycle-c9n2nen5.js} +35 -35
  133. package/dist/chunks/{model-resolver-110b8ek2.js → location-lifecycle-cbcehkva.js} +32 -32
  134. package/dist/chunks/{model-resolver-mtf9y83c.js → location-lifecycle-ccaf0804.js} +11 -11
  135. package/dist/chunks/{model-resolver-909p1r3q.js → location-lifecycle-d1mtykxg.js} +6 -6
  136. package/dist/chunks/{model-resolver-fm2qvscf.js → location-lifecycle-d216944b.js} +7 -7
  137. package/dist/chunks/{model-resolver-cxsfdq8a.js → location-lifecycle-d94vkxnx.js} +26 -26
  138. package/dist/chunks/{model-resolver-afjydgk3.js → location-lifecycle-d9sgy5v4.js} +4 -4
  139. package/dist/chunks/{model-resolver-kne8f3cn.js → location-lifecycle-ddt2bs9e.js} +4 -4
  140. package/dist/chunks/{model-resolver-ss358qx3.js → location-lifecycle-dgma0v0g.js} +3 -3
  141. package/dist/chunks/{model-resolver-azd5zvnq.js → location-lifecycle-djdtsz5x.js} +20 -20
  142. package/dist/chunks/{model-resolver-6c6jf3me.js → location-lifecycle-dkbtsjnq.js} +24 -24
  143. package/dist/chunks/{model-resolver-xkntkrq7.js → location-lifecycle-dmqcgk4z.js} +5 -5
  144. package/dist/chunks/{model-resolver-11nrpngx.js → location-lifecycle-dnezdd38.js} +11 -11
  145. package/dist/chunks/{model-resolver-08d6azjt.js → location-lifecycle-e6cvegzg.js} +9 -9
  146. package/dist/chunks/{model-resolver-tptdvtpk.js → location-lifecycle-edm9s4jn.js} +20 -20
  147. package/dist/chunks/{model-resolver-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{model-resolver-sgksxw7g.js → location-lifecycle-ej6h7vq7.js} +3 -3
  149. package/dist/chunks/{model-resolver-14p1364x.js → location-lifecycle-et3fks45.js} +32 -32
  150. package/dist/chunks/{model-resolver-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{model-resolver-c9kv66wf.js → location-lifecycle-etyaes4m.js} +25 -25
  152. package/dist/chunks/{model-resolver-211z80cq.js → location-lifecycle-ex7zhkfb.js} +7 -7
  153. package/dist/chunks/{model-resolver-e53gjx43.js → location-lifecycle-ezqzpjms.js} +48 -48
  154. package/dist/chunks/{model-resolver-av7v7zb0.js → location-lifecycle-eztpkhjq.js} +23 -23
  155. package/dist/chunks/{model-resolver-0bg0bx69.js → location-lifecycle-fpecnkgp.js} +7 -7
  156. package/dist/chunks/{model-resolver-z4ztj7g0.js → location-lifecycle-ftjf86m5.js} +8 -8
  157. package/dist/chunks/{model-resolver-tjscfx4m.js → location-lifecycle-fz63517n.js} +30 -30
  158. package/dist/chunks/{model-resolver-xfkkasph.js → location-lifecycle-g5w8qwbj.js} +4 -4
  159. package/dist/chunks/{model-resolver-cwa6csj7.js → location-lifecycle-g6q9qykm.js} +9 -9
  160. package/dist/chunks/{model-resolver-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{model-resolver-2ex9v4dz.js → location-lifecycle-gd6d6gzq.js} +32 -32
  162. package/dist/chunks/{model-resolver-nqc2a42y.js → location-lifecycle-gh5z95q3.js} +9 -9
  163. package/dist/chunks/{model-resolver-pnaxc6j9.js → location-lifecycle-gs3s1a1g.js} +8 -8
  164. package/dist/chunks/{model-resolver-rs7zj18r.js → location-lifecycle-gtbprh07.js} +17 -17
  165. package/dist/chunks/{model-resolver-3cegwx68.js → location-lifecycle-h2b79v29.js} +2 -2
  166. package/dist/chunks/{model-resolver-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{model-resolver-eatejewc.js → location-lifecycle-hafepx0m.js} +12 -12
  168. package/dist/chunks/{model-resolver-1p1pjvaa.js → location-lifecycle-hbp9e5gh.js} +35 -35
  169. package/dist/chunks/{model-resolver-dmkm46ch.js → location-lifecycle-hdr6pzp4.js} +13 -13
  170. package/dist/chunks/{model-resolver-nvkjfv9x.js → location-lifecycle-hhqxc54w.js} +18 -18
  171. package/dist/chunks/{model-resolver-b3pet2zg.js → location-lifecycle-hjdfbhvj.js} +4 -4
  172. package/dist/chunks/{model-resolver-eyxk1qnq.js → location-lifecycle-hpp5kapg.js} +35 -35
  173. package/dist/chunks/{model-resolver-hv8xeme1.js → location-lifecycle-hvvc8a2w.js} +9 -9
  174. package/dist/chunks/{model-resolver-2vecpzew.js → location-lifecycle-hz5tq5t5.js} +18 -18
  175. package/dist/chunks/{model-resolver-wbprqre7.js → location-lifecycle-j0957gea.js} +13 -13
  176. package/dist/chunks/{model-resolver-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
  177. package/dist/chunks/{model-resolver-2f659e5x.js → location-lifecycle-jmcmn6kx.js} +11 -11
  178. package/dist/chunks/{model-resolver-8z06avg2.js → location-lifecycle-jnzzg47p.js} +15 -15
  179. package/dist/chunks/location-lifecycle-js13ey7k.js +26 -0
  180. package/dist/chunks/{model-resolver-zwcyw4cb.js → location-lifecycle-k7wh6m2v.js} +4 -4
  181. package/dist/chunks/{model-resolver-kx9rc79n.js → location-lifecycle-k9hdpf1d.js} +23 -23
  182. package/dist/chunks/{model-resolver-k4asghnp.js → location-lifecycle-kcbhgjfd.js} +16 -16
  183. package/dist/chunks/{model-resolver-qqbg84xg.js → location-lifecycle-kdp23qt0.js} +17 -17
  184. package/dist/chunks/{model-resolver-77jv0j1h.js → location-lifecycle-kwsqnjcj.js} +11 -11
  185. package/dist/chunks/{model-resolver-0364ndsb.js → location-lifecycle-m1edx7vx.js} +49 -49
  186. package/dist/chunks/{model-resolver-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{model-resolver-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{model-resolver-xbmhsw7f.js → location-lifecycle-mc094nv4.js} +31 -31
  189. package/dist/chunks/{model-resolver-amehwh5s.js → location-lifecycle-mfgthqa8.js} +9 -9
  190. package/dist/chunks/{model-resolver-56gdpj1q.js → location-lifecycle-mfqp6xfm.js} +6 -6
  191. package/dist/chunks/{model-resolver-txqvqyew.js → location-lifecycle-mhd024zz.js} +45 -45
  192. package/dist/chunks/{model-resolver-40fy2d9q.js → location-lifecycle-mmtzy2cx.js} +1 -1
  193. package/dist/chunks/{model-resolver-8nwvde6v.js → location-lifecycle-mx2aqj59.js} +8 -8
  194. package/dist/chunks/{model-resolver-m9wbq610.js → location-lifecycle-mxbg3ygs.js} +40 -40
  195. package/dist/chunks/{model-resolver-ypjnx83w.js → location-lifecycle-mxw8m4vv.js} +185 -185
  196. package/dist/chunks/{model-resolver-pj9tg3xc.js → location-lifecycle-mz0r50hh.js} +29 -29
  197. package/dist/chunks/{model-resolver-zny3dpd0.js → location-lifecycle-n0yjf684.js} +8 -8
  198. package/dist/chunks/{model-resolver-h76ep6gq.js → location-lifecycle-n7nkg0mk.js} +11 -11
  199. package/dist/chunks/{model-resolver-3jbr2x8z.js → location-lifecycle-nm0wvxtq.js} +15 -15
  200. package/dist/chunks/{model-resolver-xjd9n2sp.js → location-lifecycle-nm2f9wrr.js} +32 -32
  201. package/dist/chunks/{model-resolver-x2d9qy7d.js → location-lifecycle-npwy0cf6.js} +5 -5
  202. package/dist/chunks/{model-resolver-dy92ps29.js → location-lifecycle-nraamc83.js} +6 -6
  203. package/dist/chunks/{model-resolver-dpkg50ah.js → location-lifecycle-nxm207yx.js} +4 -4
  204. package/dist/chunks/{model-resolver-wyy60m0y.js → location-lifecycle-pf32sebb.js} +3 -3
  205. package/dist/chunks/{model-resolver-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{model-resolver-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
  207. package/dist/chunks/{model-resolver-7y628me3.js → location-lifecycle-pngk9xk6.js} +36 -36
  208. package/dist/chunks/{model-resolver-je7fg4hd.js → location-lifecycle-pyjrn7r3.js} +20 -20
  209. package/dist/chunks/{model-resolver-0j77ygfz.js → location-lifecycle-q0xm7vwc.js} +6 -6
  210. package/dist/chunks/{model-resolver-1y9c9szs.js → location-lifecycle-q1h3h95e.js} +24 -24
  211. package/dist/chunks/{model-resolver-3dygqxay.js → location-lifecycle-qb5a6frm.js} +11 -11
  212. package/dist/chunks/{model-resolver-7ecay89j.js → location-lifecycle-qgc4rrcj.js} +18 -18
  213. package/dist/chunks/{model-resolver-qnc92qwc.js → location-lifecycle-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{model-resolver-nv85q5yc.js → location-lifecycle-qqqy3pvs.js} +13 -13
  215. package/dist/chunks/{model-resolver-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
  216. package/dist/chunks/{model-resolver-qxjc9qry.js → location-lifecycle-qxjc9qry.js} +3 -3
  217. package/dist/chunks/{model-resolver-r54yw92w.js → location-lifecycle-qyt1w9k6.js} +11 -11
  218. package/dist/chunks/{model-resolver-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{model-resolver-meahagrb.js → location-lifecycle-rk51z9mh.js} +43 -43
  220. package/dist/chunks/{model-resolver-q8nwznbs.js → location-lifecycle-rt1b0z2g.js} +4 -4
  221. package/dist/chunks/{model-resolver-yvehv8j4.js → location-lifecycle-rykbmd5h.js} +22 -22
  222. package/dist/chunks/{model-resolver-0ybx6e4j.js → location-lifecycle-s08b3w1e.js} +19 -19
  223. package/dist/chunks/{model-resolver-4warvet6.js → location-lifecycle-s19wcxkc.js} +25 -25
  224. package/dist/chunks/{model-resolver-es92z2hg.js → location-lifecycle-s612q12g.js} +6 -6
  225. package/dist/chunks/{model-resolver-fvp47qe4.js → location-lifecycle-s8b189qv.js} +22 -22
  226. package/dist/chunks/{model-resolver-wv396vej.js → location-lifecycle-s8d7rejh.js} +8 -8
  227. package/dist/chunks/{model-resolver-yc5k47t6.js → location-lifecycle-sahbbq5s.js} +21 -21
  228. package/dist/chunks/{model-resolver-fzz3hcr3.js → location-lifecycle-sfn58asn.js} +28 -28
  229. package/dist/chunks/{model-resolver-0q2fecvk.js → location-lifecycle-sj78244k.js} +15 -15
  230. package/dist/chunks/{model-resolver-ht2a8fky.js → location-lifecycle-spbjn7pa.js} +11 -11
  231. package/dist/chunks/{model-resolver-evbj9t57.js → location-lifecycle-swntjeps.js} +47 -47
  232. package/dist/chunks/{model-resolver-y6v1v83p.js → location-lifecycle-sz15h4sp.js} +11 -11
  233. package/dist/chunks/{model-resolver-s6v33hhs.js → location-lifecycle-sza4v6bf.js} +8 -8
  234. package/dist/chunks/{model-resolver-ymr5aw12.js → location-lifecycle-t62pw5c1.js} +18 -18
  235. package/dist/chunks/{model-resolver-6x448rs9.js → location-lifecycle-t95mj38p.js} +35 -35
  236. package/dist/chunks/{model-resolver-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{model-resolver-hhxvcfmq.js → location-lifecycle-tbmkjjbj.js} +4 -4
  238. package/dist/chunks/{model-resolver-2weqyc98.js → location-lifecycle-tcth2cmk.js} +24 -24
  239. package/dist/chunks/{model-resolver-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
  240. package/dist/chunks/{model-resolver-a4jzv6pb.js → location-lifecycle-txk44qj0.js} +27 -27
  241. package/dist/chunks/{model-resolver-zf4p7bms.js → location-lifecycle-v5m63bep.js} +24 -24
  242. package/dist/chunks/{model-resolver-24kyvzj3.js → location-lifecycle-v6vkzzt1.js} +60 -60
  243. package/dist/chunks/{model-resolver-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
  244. package/dist/chunks/{model-resolver-nw91k3fh.js → location-lifecycle-vfjhn2wd.js} +4 -4
  245. package/dist/chunks/{model-resolver-5120j63r.js → location-lifecycle-vjm1nyv7.js} +10 -10
  246. package/dist/chunks/{model-resolver-gaav3xfc.js → location-lifecycle-vtkehqnv.js} +13 -13
  247. package/dist/chunks/{model-resolver-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{model-resolver-84txncab.js → location-lifecycle-w1eejvng.js} +5 -5
  249. package/dist/chunks/{model-resolver-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{model-resolver-x623mxjj.js → location-lifecycle-w4zz6nd0.js} +17 -17
  251. package/dist/chunks/{model-resolver-2mn1ra9m.js → location-lifecycle-w98pcy5g.js} +38 -38
  252. package/dist/chunks/{model-resolver-f5en7f74.js → location-lifecycle-wa0hznzt.js} +5 -5
  253. package/dist/chunks/{model-resolver-ynx1sbyb.js → location-lifecycle-wa80y0bh.js} +8 -8
  254. package/dist/chunks/{model-resolver-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
  255. package/dist/chunks/{model-resolver-b3f8fkhc.js → location-lifecycle-wecqtg5s.js} +5 -5
  256. package/dist/chunks/{model-resolver-h182e1ya.js → location-lifecycle-ws6ndszr.js} +12 -12
  257. package/dist/chunks/{model-resolver-4yxeygct.js → location-lifecycle-wxc0khkc.js} +9 -9
  258. package/dist/chunks/{model-resolver-4x518902.js → location-lifecycle-wye7nvcy.js} +35 -35
  259. package/dist/chunks/{model-resolver-h5eb1stf.js → location-lifecycle-wysxdp34.js} +51 -51
  260. package/dist/chunks/{model-resolver-w7zyscj3.js → location-lifecycle-xc20pkzj.js} +11 -11
  261. package/dist/chunks/{model-resolver-yg62bcth.js → location-lifecycle-xcmk6yw7.js} +11 -11
  262. package/dist/chunks/{model-resolver-94mn3p3s.js → location-lifecycle-xj71rk50.js} +11 -11
  263. package/dist/chunks/{model-resolver-ctzssw83.js → location-lifecycle-xs12am9p.js} +8 -8
  264. package/dist/chunks/{model-resolver-vb454w7p.js → location-lifecycle-y0c4c2h5.js} +3 -3
  265. package/dist/chunks/{model-resolver-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{model-resolver-16zkvp84.js → location-lifecycle-y3c20489.js} +37 -37
  267. package/dist/chunks/{model-resolver-d355hkrp.js → location-lifecycle-y4a37d1e.js} +44 -44
  268. package/dist/chunks/{model-resolver-jmskrp9g.js → location-lifecycle-yez4jscq.js} +27 -27
  269. package/dist/chunks/{model-resolver-g2qj6ddr.js → location-lifecycle-yme16cyz.js} +25 -25
  270. package/dist/chunks/{model-resolver-f53vpfqg.js → location-lifecycle-yrx1a3r0.js} +21 -21
  271. package/dist/chunks/{model-resolver-e6vcv3sh.js → location-lifecycle-ys0rdjsq.js} +36 -36
  272. package/dist/chunks/{model-resolver-8cv9sccg.js → location-lifecycle-ytr85qwh.js} +28 -28
  273. package/dist/chunks/{model-resolver-bd819fhp.js → location-lifecycle-yv3x7tkh.js} +8 -8
  274. package/dist/chunks/{model-resolver-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{model-resolver-h0wm3sd5.js → location-lifecycle-z7rvg8nx.js} +4 -4
  276. package/dist/chunks/{model-resolver-5vs2d7gx.js → location-lifecycle-ze9cz0xh.js} +21 -21
  277. package/dist/chunks/{model-resolver-0me0fk48.js → location-lifecycle-zfs8ae4p.js} +4 -4
  278. package/dist/chunks/{model-resolver-55vcwskv.js → location-lifecycle-zfsa101a.js} +10 -10
  279. package/dist/chunks/{model-resolver-3qnt817w.js → location-lifecycle-zmc286va.js} +12 -12
  280. package/dist/chunks/{model-resolver-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{model-resolver-sgg17eyk.js → location-lifecycle-ztne98yc.js} +22 -22
  282. package/dist/chunks/{model-resolver-x661k3y3.js → location-lifecycle-zw2hpfmh.js} +4 -4
  283. package/dist/chunks/{model-resolver-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{model-resolver-8wf1bn9q.js → location-lifecycle-zzk5q109.js} +13 -13
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +70 -70
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +79 -79
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +102 -102
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +115 -115
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +88 -88
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +74 -74
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +115 -115
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +4 -4
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +220 -220
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +88 -88
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +97 -97
  558. package/dist/reference/instructions.js +87 -87
  559. package/dist/reference.js +85 -85
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +3 -3
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +123 -123
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +82 -82
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +105 -105
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +75 -75
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +216 -216
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +110 -110
  624. package/dist/snapshot.js +89 -89
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +128 -128
  629. package/dist/tool/plugin/edit.js +114 -114
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +120 -120
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +110 -110
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +91 -91
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +80 -80
  670. package/dist/wellknown/plugin.js +74 -74
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +94 -94
  680. package/package.json +8 -8
  681. package/dist/chunks/model-resolver-7mcy0e9k.js +0 -26
  682. package/dist/chunks/model-resolver-ctefx7dc.js +0 -18
  683. package/dist/chunks/model-resolver-n66nyqav.js +0 -253
  684. package/dist/chunks/model-resolver-yvv17s0z.js +0 -507
  685. /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{model-resolver-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{model-resolver-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{model-resolver-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{model-resolver-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{model-resolver-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{model-resolver-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{model-resolver-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{model-resolver-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{model-resolver-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
  697. /package/dist/chunks/{model-resolver-3t0ybcrp.js → location-lifecycle-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{model-resolver-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{model-resolver-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{model-resolver-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{model-resolver-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{model-resolver-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{model-resolver-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
  706. /package/dist/chunks/{model-resolver-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{model-resolver-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
  708. /package/dist/chunks/{model-resolver-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{model-resolver-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{model-resolver-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{model-resolver-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
  712. /package/dist/chunks/{model-resolver-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{model-resolver-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{model-resolver-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{model-resolver-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{model-resolver-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{model-resolver-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{model-resolver-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{model-resolver-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{model-resolver-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{model-resolver-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{model-resolver-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{model-resolver-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{model-resolver-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
  731. /package/dist/chunks/{model-resolver-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{model-resolver-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{model-resolver-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{model-resolver-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{model-resolver-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{model-resolver-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{model-resolver-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{model-resolver-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{model-resolver-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{model-resolver-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{model-resolver-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
  744. /package/dist/chunks/{model-resolver-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{model-resolver-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
  746. /package/dist/chunks/{model-resolver-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
  747. /package/dist/chunks/{model-resolver-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{model-resolver-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{model-resolver-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{model-resolver-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{model-resolver-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{model-resolver-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{model-resolver-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{model-resolver-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{model-resolver-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{model-resolver-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{model-resolver-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{model-resolver-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{model-resolver-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{model-resolver-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{model-resolver-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{model-resolver-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{model-resolver-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{model-resolver-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{model-resolver-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{model-resolver-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
  774. /package/dist/chunks/{model-resolver-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{model-resolver-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{model-resolver-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{model-resolver-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{model-resolver-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{model-resolver-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./location-lifecycle-z5v4ffb3.js";
4
4
  import {
5
- node84
6
- } from "./model-resolver-eatejewc.js";
5
+ node85
6
+ } from "./location-lifecycle-hafepx0m.js";
7
7
  import {
8
- Service78,
9
- node82
10
- } from "./model-resolver-k4asghnp.js";
8
+ Service79,
9
+ node83
10
+ } from "./location-lifecycle-kcbhgjfd.js";
11
11
  import {
12
12
  create3
13
- } from "./model-resolver-rdw6cm16.js";
13
+ } from "./location-lifecycle-rdw6cm16.js";
14
14
  import {
15
15
  make13
16
- } from "./model-resolver-h4a7s26t.js";
16
+ } from "./location-lifecycle-26ye3vwj.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./location-lifecycle-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service24,
24
+ Service: () => Service21,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node27
26
+ node: () => node24
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service24 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service21 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service24, Effect.gen(function* () {
37
- const location = yield* Service78;
36
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
37
+ const location = yield* Service79;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make13;
40
40
  const state = create3({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service24.of({ ...state, directory: location.directory });
58
+ return Service21.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node27 = makeLocationNode({
61
- service: Service24,
60
+ var node24 = makeLocationNode({
61
+ service: Service21,
62
62
  layer,
63
- deps: [node82, Global.node, node84, FSUtil.node]
63
+ deps: [node83, Global.node, node85, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service24, node27, exports_strategies };
66
+ export { Service21, node24, exports_strategies };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./model-resolver-ssrgjt3e.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-lifecycle-2xmwdb14.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./location-lifecycle-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event16,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info25,
19
+ ID: () => ID13,
20
+ Info: () => Info23,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
23
+ NotFoundError: () => NotFoundError8,
24
24
  Reply: () => Reply3,
25
- Service: () => Service75,
25
+ Service: () => Service70,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer24,
29
- node: () => node79,
28
+ layer: () => layer22,
29
+ node: () => node73,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event16 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info25 = Form.Info;
38
+ var ID13 = Form.ID;
39
+ var Info23 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID13
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID13
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID13
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID13,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service75 extends Context.Service()("@opencode/Form") {
82
+ class Service70 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer24 = Layer.effect(Service75, Effect.gen(function* () {
85
- const bus = yield* Service82;
84
+ var layer22 = Layer.effect(Service70, Effect.gen(function* () {
85
+ const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID13.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer24 = Layer.effect(Service75, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service75.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service70.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node79 = makeLocationNode({ service: Service75, layer: layer24, deps: [node86] });
167
+ var node73 = makeLocationNode({ service: Service70, layer: layer22, deps: [node87] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer24, node79, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID13, Info23, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service70, layer22, node73, validateAnswer2, validateFields2, exports_form, Event16 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./model-resolver-ssrgjt3e.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-lifecycle-2xmwdb14.js";
5
5
  import {
6
- parse4,
6
+ parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./model-resolver-84txncab.js";
11
+ } from "./location-lifecycle-w1eejvng.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./model-resolver-z5v4ffb3.js";
14
+ } from "./location-lifecycle-z5v4ffb3.js";
15
15
  import {
16
- Service48,
17
- node50
18
- } from "./model-resolver-h14zrqyq.js";
16
+ Service46,
17
+ node48
18
+ } from "./location-lifecycle-apzzd3ax.js";
19
19
  import {
20
20
  create3
21
- } from "./model-resolver-rdw6cm16.js";
21
+ } from "./location-lifecycle-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./location-lifecycle-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
@@ -31,9 +31,9 @@ __export(exports_reference2, {
31
31
  Info: () => Info8,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service47,
34
+ Service: () => Service41,
35
35
  Source: () => Source3,
36
- node: () => node49
36
+ node: () => node43
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
@@ -45,12 +45,12 @@ var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
46
  var Info8 = Reference.Info;
47
47
 
48
- class Service47 extends Context.Service()("@opencode/Reference") {
48
+ class Service41 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service47, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service82;
53
- const cache = yield* Service48;
52
+ const bus = yield* Service83;
53
+ const cache = yield* Service46;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
61
61
  };
62
62
  if (source.type === "local")
63
63
  return [Info8.make({ ...info, path: source.path })];
64
- const repository = parse4(source.repository);
64
+ const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service47.of({
107
+ return Service41.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node49 = makeLocationNode({
116
- service: Service47,
115
+ var node43 = makeLocationNode({
116
+ service: Service41,
117
117
  layer,
118
- deps: [Global.node, node86, node50]
118
+ deps: [Global.node, node87, node48]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info8, Service47, node49, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source3, Info8, Service41, node43, exports_reference2, Event7 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./model-resolver-6x448rs9.js";
2
+ ID7
3
+ } from "./location-lifecycle-t95mj38p.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID12.googleVertex)
62
+ if (evt.model.providerID !== ID7.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-resolver-qfa1cgps.js";
3
+ } from "./location-lifecycle-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,56 +1,56 @@
1
+ import {
2
+ Service84,
3
+ node88
4
+ } from "./location-lifecycle-xj71rk50.js";
1
5
  import {
2
6
  Service83,
3
7
  node87
4
- } from "./model-resolver-94mn3p3s.js";
5
- import {
6
- Service82,
7
- node86
8
- } from "./model-resolver-ssrgjt3e.js";
8
+ } from "./location-lifecycle-2xmwdb14.js";
9
9
  import {
10
- Service60,
11
- node63
12
- } from "./model-resolver-4twwj3gr.js";
10
+ Service45,
11
+ node47
12
+ } from "./location-lifecycle-9ng1f03y.js";
13
13
  import {
14
- Service46,
15
- node48
16
- } from "./model-resolver-909p1r3q.js";
14
+ Service39,
15
+ node41
16
+ } from "./location-lifecycle-d1mtykxg.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./model-resolver-ec1grn59.js";
19
+ } from "./location-lifecycle-ec1grn59.js";
20
20
  import {
21
21
  make17
22
- } from "./model-resolver-1acjjqhc.js";
22
+ } from "./location-lifecycle-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service43
26
- } from "./model-resolver-kne8f3cn.js";
25
+ Service36
26
+ } from "./location-lifecycle-ddt2bs9e.js";
27
27
  import {
28
- Service54,
29
- node56
30
- } from "./model-resolver-x623mxjj.js";
28
+ Service67,
29
+ node70
30
+ } from "./location-lifecycle-w4zz6nd0.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./model-resolver-tttwfjc6.js";
33
+ } from "./location-lifecycle-86a9aqm7.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./model-resolver-yp8tn9p0.js";
36
+ } from "./location-lifecycle-9r2jpf9t.js";
37
37
  import {
38
38
  __export
39
- } from "./model-resolver-9rqn6x4v.js";
39
+ } from "./location-lifecycle-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service42,
44
+ Service: () => Service35,
45
45
  SessionExecution: () => exports_execution,
46
46
  layer: () => layer16,
47
- node: () => node45,
47
+ node: () => node38,
48
48
  noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service42 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service35 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer16 = Layer.effect(Service42, Effect.gen(function* () {
63
- const store = yield* Service54;
64
- const instances = yield* Service46;
65
- const bus = yield* Service82;
66
- const jobs = yield* Service60;
67
- const db = (yield* Service83).db;
62
+ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
63
+ const store = yield* Service67;
64
+ const instances = yield* Service39;
65
+ const bus = yield* Service83;
66
+ const jobs = yield* Service45;
67
+ const db = (yield* Service84).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
70
70
  commit: () => store.claim(sessionID)
@@ -76,7 +76,7 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service43.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service36.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -104,7 +104,7 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service42.of({
107
+ return Service35.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node45 = makeGlobalNode({
127
- service: Service42,
126
+ var node38 = makeGlobalNode({
127
+ service: Service35,
128
128
  layer: layer16,
129
- deps: [node56, node48, node86, node87, node63]
129
+ deps: [node70, node41, node87, node88, node47]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service42, Service42.of({
131
+ var noopLayer2 = Layer.succeed(Service35, Service35.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service42, terminal2, layer16, node45, noopLayer2, exports_execution };
140
+ export { Service35, terminal2, layer16, node38, noopLayer2, exports_execution };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID12
3
- } from "./model-resolver-6x448rs9.js";
2
+ ID7
3
+ } from "./location-lifecycle-t95mj38p.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./model-resolver-6q2bdcd1.js";
6
+ } from "./location-lifecycle-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID12.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID7.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID12.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID7.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-resolver-gftt206x.js";
3
+ } from "./location-lifecycle-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./model-resolver-ss358qx3.js";
6
+ } from "./location-lifecycle-dgma0v0g.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./model-resolver-dm21k72n.js";
9
+ } from "./location-lifecycle-337zht14.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./model-resolver-wv396vej.js";
13
+ } from "./location-lifecycle-s8d7rejh.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./model-resolver-kb9j3d72.js";
16
+ } from "./location-lifecycle-9e5bzkjp.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./model-resolver-0me0fk48.js";
20
+ } from "./location-lifecycle-zfs8ae4p.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./model-resolver-4z58m4b4.js";
25
+ } from "./location-lifecycle-c35597j6.js";
26
26
  import {
27
27
  __export
28
- } from "./model-resolver-9rqn6x4v.js";
28
+ } from "./location-lifecycle-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };