@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,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./model-resolver-rdw6cm16.js";
3
+ } from "./location-lifecycle-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-lifecycle-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service12,
13
- node: () => node14
12
+ Service: () => Service6,
13
+ node: () => node8
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service12, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service12.of({
44
+ return Service6.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
51
+ var node8 = makeLocationNode({ service: Service6, layer, deps: [] });
52
52
 
53
- export { Service12, node14, exports_location_watcher_policy };
53
+ export { Service6, node8, exports_location_watcher_policy };
@@ -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/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
+ Service83,
3
+ node87
4
+ } from "./location-lifecycle-2xmwdb14.js";
5
+ import {
6
+ Key4,
2
7
  Service82,
3
8
  node86
4
- } from "./model-resolver-ssrgjt3e.js";
5
- import {
6
- Key3,
7
- Service74,
8
- node78
9
- } from "./model-resolver-1p1pjvaa.js";
9
+ } from "./location-lifecycle-hbp9e5gh.js";
10
10
  import {
11
11
  create3
12
- } from "./model-resolver-rdw6cm16.js";
12
+ } from "./location-lifecycle-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./model-resolver-x661k3y3.js";
15
+ } from "./location-lifecycle-zw2hpfmh.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./model-resolver-wgrcm666.js";
19
+ } from "./location-lifecycle-3ex7axyr.js";
20
20
  import {
21
21
  __export
22
- } from "./model-resolver-9rqn6x4v.js";
22
+ } from "./location-lifecycle-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event17,
38
- ID: () => ID13,
39
- Info: () => Info22,
37
+ Event: () => Event13,
38
+ ID: () => ID8,
39
+ Info: () => Info17,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service73,
47
- node: () => node77
46
+ Service: () => Service61,
47
+ node: () => node64
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event17 } from "@opencode/schema/integration";
70
- var ID13 = Integration.ID;
69
+ import { Event as Event13 } from "@opencode/schema/integration";
70
+ var ID8 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info22 = Integration.Info;
78
+ var Info17 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID13,
101
+ integrationID: ID8,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service73 extends Context.Service()("@opencode/Integration") {
107
+ class Service61 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service73, Effect.gen(function* () {
113
- const credentials = yield* Service74;
114
- const bus = yield* Service82;
112
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
113
+ const credentials = yield* Service82;
114
+ const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
117
117
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info22.make({
210
+ const project = (entry, connections) => Info17.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
294
294
  const persistence = yield* createCredential({
295
295
  integrationID: attempt.integrationID,
296
296
  label: attempt.label,
297
- value: Key3.make({ type: "key", key: exit.value })
297
+ value: Key4.make({ type: "key", key: exit.value })
298
298
  }).pipe(Effect.asVoid, Effect.exit);
299
299
  const settledAt = yield* Clock.currentTimeMillis;
300
300
  const terminal = Exit.isSuccess(persistence) ? {
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service73.of({
443
+ return Service61.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
462
462
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
463
463
  if (connection.type === "env") {
464
464
  const key = process.env[connection.name];
465
- return key ? Key3.make({ type: "key", key }) : undefined;
465
+ return key ? Key4.make({ type: "key", key }) : undefined;
466
466
  }
467
467
  const credential = yield* credentials.get(connection.id);
468
468
  if (!credential)
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
495
495
  yield* createCredential({
496
496
  integrationID: input.integrationID,
497
497
  label: input.label,
498
- value: Key3.make({
498
+ value: Key4.make({
499
499
  type: "key",
500
500
  key: input.key,
501
501
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node77 = makeLocationNode({
603
- service: Service73,
602
+ var node64 = makeLocationNode({
603
+ service: Service61,
604
604
  layer,
605
- deps: [node78, node86, AppProcess.node]
605
+ deps: [node86, node87, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node77, exports_integration, Event17 };
608
+ export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info17, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service61, node64, exports_integration, Event13 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./location-lifecycle-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-lifecycle-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service3,
11
+ Service: () => Service10,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node4
13
+ node: () => node12
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service3 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service3, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service3.of({
66
+ return Service10.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service3, node4, exports_discovery };
155
+ export { Service10, node12, exports_discovery };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-lifecycle-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service70,
10
- node: () => node74
9
+ Service: () => Service69,
10
+ node: () => node72
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service70 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service69 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service70, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service70.of({ has, register, trigger });
57
+ return Service69.of({ has, register, trigger });
58
58
  }));
59
- var node74 = makeLocationNode({ service: Service70, layer, deps: [] });
59
+ var node72 = makeLocationNode({ service: Service69, layer, deps: [] });
60
60
 
61
- export { Service70, node74, exports_hooks };
61
+ export { Service69, node72, exports_hooks };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-y6v1v83p.js";
3
+ } from "./location-lifecycle-sz15h4sp.js";
4
4
  import {
5
- Service82
6
- } from "./model-resolver-ssrgjt3e.js";
5
+ Service83
6
+ } from "./location-lifecycle-2xmwdb14.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./model-resolver-1p1pjvaa.js";
9
+ Event21
10
+ } from "./location-lifecycle-hbp9e5gh.js";
11
11
  import {
12
- ID13,
12
+ ID8,
13
13
  MethodID2
14
- } from "./model-resolver-2ex9v4dz.js";
14
+ } from "./location-lifecycle-gd6d6gzq.js";
15
15
  import {
16
- ID12
17
- } from "./model-resolver-6x448rs9.js";
16
+ ID7
17
+ } from "./location-lifecycle-t95mj38p.js";
18
18
  import {
19
- ID11,
19
+ ID6,
20
20
  Family2
21
- } from "./model-resolver-83009cjb.js";
21
+ } from "./location-lifecycle-78cd284a.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./model-resolver-pjvnvgmy.js";
24
+ } from "./location-lifecycle-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
30
- var providerID = ID12.make("digitalocean");
31
- var integrationID = ID13.make("digitalocean");
30
+ var providerID = ID7.make("digitalocean");
31
+ var integrationID = ID8.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service82;
119
+ const bus = yield* Service83;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID11.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID6.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./model-resolver-qnc92qwc.js";
4
+ } from "./location-lifecycle-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./model-resolver-qfa1cgps.js";
7
+ } from "./location-lifecycle-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -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/token.ts
6
6
  var exports_token = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-resolver-z5v4ffb3.js";
4
+ } from "./location-lifecycle-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-resolver-dpkg50ah.js";
7
+ } from "./location-lifecycle-nxm207yx.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./model-resolver-tazgh4e4.js";
12
+ } from "./location-lifecycle-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./model-resolver-ef5x83kb.js";
15
+ } from "./location-lifecycle-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./location-lifecycle-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service80,
26
+ Service: () => Service81,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node84
30
+ node: () => node85
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service80 extends Context.Service()("@opencode/Git") {
96
+ class Service81 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service80, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service80.of({
422
+ return Service81.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node84 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node84, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
@@ -1,65 +1,65 @@
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
10
  CredentialTable2
11
- } from "./model-resolver-pknna89w.js";
11
+ } from "./location-lifecycle-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./model-resolver-3zsf4n22.js";
14
+ } from "./location-lifecycle-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./model-resolver-9rqn6x4v.js";
17
+ } from "./location-lifecycle-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
23
+ Event: () => Event21,
24
24
  External: () => External2,
25
- ID: () => ID14,
26
- Info: () => Info24,
27
- Key: () => Key3,
25
+ ID: () => ID18,
26
+ Info: () => Info29,
27
+ Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service74,
29
+ Service: () => Service82,
30
30
  Value: () => Value2,
31
- node: () => node78
31
+ node: () => node86
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID14 = Credential.ID;
38
+ var ID18 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key3 = Credential.Key;
40
+ var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event18 = Credential.Event;
43
+ var Event21 = Credential.Event;
44
44
 
45
- class Info24 extends Schema.Class("Credential.Info")({
46
- id: ID14,
45
+ class Info29 extends Schema.Class("Credential.Info")({
46
+ id: ID18,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service74 extends Context.Service()("@opencode/Credential") {
53
+ class Service82 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service74, Effect.gen(function* () {
56
- const db = (yield* Service83).db;
57
- const bus = yield* Service82;
55
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
56
+ const db = (yield* Service84).db;
57
+ const bus = yield* Service83;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info24({
62
+ return new Info29({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service74.of({
73
+ return Service82.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info24({
82
- id: input.id ?? ID14.create(),
81
+ const credential = new Info29({
82
+ id: input.id ?? ID18.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event18.Updated, {}, { global: true });
113
+ yield* bus.publish(Event21.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event18.Updated, {}, { global: true });
167
+ yield* bus.publish(Event21.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event18.Updated, {}, { global: true });
200
+ yield* bus.publish(Event21.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node78 = makeGlobalNode({ service: Service74, layer, deps: [node87, node86] });
206
+ var node86 = makeGlobalNode({ service: Service82, layer, deps: [node88, node87] });
207
207
 
208
- export { ID14, OAuth3, Key3, External2, Value2, Event18, Info24, Service74, node78, exports_credential };
208
+ export { ID18, OAuth3, Key4, External2, Value2, Event21, Info29, Service82, node86, exports_credential };