@opencode/core 0.0.0-dev-19280 → 0.0.0-dev-19282

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 +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +2 -2
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +77 -77
  8. package/dist/chunks/{location-service-map-7v6bx775.js → bus-01nje3d7.js} +3 -3
  9. package/dist/chunks/{location-service-map-zj96yyh5.js → bus-095cpp92.js} +35 -35
  10. package/dist/chunks/{location-service-map-67eqsqcw.js → bus-0ch8tq9c.js} +11 -11
  11. package/dist/chunks/{location-service-map-4vgmnd2k.js → bus-0e6zaxnc.js} +4 -4
  12. package/dist/chunks/{location-service-map-5gn61kgv.js → bus-0g3tnqy3.js} +15 -15
  13. package/dist/chunks/{location-service-map-j15mfg1p.js → bus-0gaj4617.js} +4 -4
  14. package/dist/chunks/{location-service-map-jrv1xbev.js → bus-0khbs0qs.js} +3 -3
  15. package/dist/chunks/{location-service-map-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{location-service-map-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{location-service-map-76fg4f71.js → bus-0tm0kv5t.js} +26 -26
  18. package/dist/chunks/{location-service-map-vncycja5.js → bus-0v53mg2y.js} +4 -4
  19. package/dist/chunks/{location-service-map-bwzhs6r2.js → bus-0vqg61vt.js} +20 -20
  20. package/dist/chunks/{location-service-map-yxc59d7f.js → bus-0w62qmxp.js} +8 -8
  21. package/dist/chunks/{location-service-map-aabn5n86.js → bus-111gxffx.js} +6 -6
  22. package/dist/chunks/{location-service-map-xrgnr4vw.js → bus-15qsbqmq.js} +18 -18
  23. package/dist/chunks/{location-service-map-ryr25ayn.js → bus-19vf66h0.js} +4 -4
  24. package/dist/chunks/{location-service-map-7gepjn4b.js → bus-1ajrde1x.js} +11 -11
  25. package/dist/chunks/{location-service-map-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{location-service-map-1dfhrqqs.js → bus-1dfhrqqs.js} +2 -2
  27. package/dist/chunks/{location-service-map-061af93m.js → bus-1g0hxw53.js} +31 -31
  28. package/dist/chunks/{location-service-map-1crzq34m.js → bus-1pv26y79.js} +20 -20
  29. package/dist/chunks/{location-service-map-vqmx0vgv.js → bus-1qfm9ec4.js} +11 -11
  30. package/dist/chunks/{location-service-map-9x70wdpr.js → bus-1w4paq8s.js} +27 -27
  31. package/dist/chunks/{location-service-map-q0dj6ebj.js → bus-1wsj65et.js} +23 -23
  32. package/dist/chunks/{location-service-map-21r38tys.js → bus-21r38tys.js} +1 -1
  33. package/dist/chunks/{location-service-map-54rgpan3.js → bus-27rw376c.js} +83 -83
  34. package/dist/chunks/{location-service-map-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{location-service-map-eaxv9vp3.js → bus-2ee18q3c.js} +8 -8
  36. package/dist/chunks/{location-service-map-xxynqx5z.js → bus-2f04pwep.js} +3 -3
  37. package/dist/chunks/{location-service-map-f4p5cr8k.js → bus-2gqyg9n5.js} +20 -20
  38. package/dist/chunks/{location-service-map-076fdf6x.js → bus-2rrdrtgw.js} +6 -6
  39. package/dist/chunks/{location-service-map-4v4bfvma.js → bus-2vgzs72b.js} +5 -5
  40. package/dist/chunks/{location-service-map-2sr0pdaw.js → bus-2z7mxnbp.js} +28 -28
  41. package/dist/chunks/{location-service-map-3kwjdgrz.js → bus-31nc7ye1.js} +17 -17
  42. package/dist/chunks/{location-service-map-n9mdbeqq.js → bus-35s1r081.js} +15 -15
  43. package/dist/chunks/{location-service-map-2aa0fsm0.js → bus-3dkb1mkq.js} +33 -33
  44. package/dist/chunks/{location-service-map-8gnjjt4m.js → bus-3fqa324q.js} +11 -11
  45. package/dist/chunks/{location-service-map-bk4s3tx3.js → bus-3fvkbj1e.js} +55 -55
  46. package/dist/chunks/{location-service-map-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{location-service-map-4zpskbgw.js → bus-3r5z9a2m.js} +23 -23
  48. package/dist/chunks/{location-service-map-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{location-service-map-v7w426qw.js → bus-3sx2gfrt.js} +35 -35
  50. package/dist/chunks/{location-service-map-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{location-service-map-capp4e5v.js → bus-41tqqwbx.js} +9 -9
  52. package/dist/chunks/{location-service-map-47gsdddb.js → bus-47gsdddb.js} +1 -1
  53. package/dist/chunks/{location-service-map-841pgex1.js → bus-49t4jawx.js} +32 -32
  54. package/dist/chunks/{location-service-map-xnfkgz8z.js → bus-4etzfxb1.js} +27 -27
  55. package/dist/chunks/{location-service-map-3aqv7wxc.js → bus-4mjzz0d5.js} +25 -25
  56. package/dist/chunks/{location-service-map-tpsh7nep.js → bus-4pc0t7v2.js} +12 -12
  57. package/dist/chunks/{location-service-map-xxs862kg.js → bus-4yd2q2gq.js} +12 -12
  58. package/dist/chunks/{location-service-map-sn6jpf3k.js → bus-50tgre74.js} +23 -23
  59. package/dist/chunks/{location-service-map-j28tp19m.js → bus-527n8bmw.js} +29 -29
  60. package/dist/chunks/{location-service-map-mfqp6xfm.js → bus-56gdpj1q.js} +6 -6
  61. package/dist/chunks/{location-service-map-kqa41daq.js → bus-58mjts13.js} +20 -20
  62. package/dist/chunks/{location-service-map-xtgp4803.js → bus-5ahfvgqs.js} +138 -138
  63. package/dist/chunks/{location-service-map-5jg3sy5t.js → bus-5cry39zx.js} +16 -16
  64. package/dist/chunks/{location-service-map-5daktx2q.js → bus-5daktx2q.js} +1 -1
  65. package/dist/chunks/{location-service-map-dz2mtk21.js → bus-5fm2rry0.js} +10 -10
  66. package/dist/chunks/{location-service-map-kk8h1mek.js → bus-5hk4b2g6.js} +8 -8
  67. package/dist/chunks/{location-service-map-0r7wabnc.js → bus-5kx2m9j7.js} +11 -11
  68. package/dist/chunks/{location-service-map-zzx7yemb.js → bus-5kxxz5p9.js} +23 -23
  69. package/dist/chunks/{location-service-map-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{location-service-map-669tq793.js → bus-669tq793.js} +1 -1
  71. package/dist/chunks/{location-service-map-13vmeyva.js → bus-6b30g155.js} +17 -17
  72. package/dist/chunks/{location-service-map-6fgbakp6.js → bus-6ez8fd9t.js} +48 -48
  73. package/dist/chunks/{location-service-map-2402vzrj.js → bus-6h73sxmp.js} +5 -5
  74. package/dist/chunks/{location-service-map-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{location-service-map-6dxh1ctg.js → bus-6sg4x804.js} +4 -4
  76. package/dist/chunks/{location-service-map-vnhrgrcz.js → bus-6zhe6btj.js} +27 -27
  77. package/dist/chunks/{location-service-map-n3p3jf1x.js → bus-710w2ech.js} +1 -1
  78. package/dist/chunks/{location-service-map-71q4at8m.js → bus-71q4at8m.js} +1 -1
  79. package/dist/chunks/{location-service-map-61tk1b3w.js → bus-749mk3f5.js} +22 -22
  80. package/dist/chunks/{location-service-map-6cm37j9r.js → bus-750rpxws.js} +3 -3
  81. package/dist/chunks/{location-service-map-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{location-service-map-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
  83. package/dist/chunks/{location-service-map-er71arxf.js → bus-7s03h6w8.js} +18 -18
  84. package/dist/chunks/{location-service-map-81swgkk7.js → bus-81swgkk7.js} +2 -2
  85. package/dist/chunks/{location-service-map-2end795d.js → bus-8292cgjf.js} +16 -16
  86. package/dist/chunks/{location-service-map-9hmzd01s.js → bus-84zmkpg3.js} +46 -46
  87. package/dist/chunks/{location-service-map-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{location-service-map-907sgp7f.js → bus-8e0dmvmv.js} +14 -14
  89. package/dist/chunks/{location-service-map-dm6exe3b.js → bus-8ey7957k.js} +13 -13
  90. package/dist/chunks/{location-service-map-b6pgh42p.js → bus-8madsdx3.js} +11 -11
  91. package/dist/chunks/{location-service-map-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{location-service-map-q2h0z8ma.js → bus-8qk9tw02.js} +1 -1
  93. package/dist/chunks/{location-service-map-w9f4sbje.js → bus-91ewnwxd.js} +30 -30
  94. package/dist/chunks/bus-92fxycsj.js +247 -0
  95. package/dist/chunks/{location-service-map-fbddvgjq.js → bus-93495grw.js} +5 -5
  96. package/dist/chunks/{location-service-map-8w01z9h0.js → bus-9ffmp1f5.js} +10 -10
  97. package/dist/chunks/{location-service-map-4hzyr4ps.js → bus-9j23snw0.js} +10 -10
  98. package/dist/chunks/{location-service-map-npntah3r.js → bus-9qn3qky1.js} +8 -8
  99. package/dist/chunks/{location-service-map-mzv60zsr.js → bus-9v7msvga.js} +11 -11
  100. package/dist/chunks/{location-service-map-5c4hm403.js → bus-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{location-service-map-6rsdt8e9.js → bus-a4r18kjz.js} +2 -2
  102. package/dist/chunks/{location-service-map-37v971k2.js → bus-a9ab9jmj.js} +5 -5
  103. package/dist/chunks/{location-service-map-aaet6srn.js → bus-aaet6srn.js} +2 -2
  104. package/dist/chunks/{location-service-map-jmaqwnm5.js → bus-abqnwdt9.js} +34 -34
  105. package/dist/chunks/{location-service-map-4x7wp6bv.js → bus-ahpydw3r.js} +33 -33
  106. package/dist/chunks/{location-service-map-4zned0t3.js → bus-anhc60mz.js} +4 -4
  107. package/dist/chunks/{location-service-map-tfrhnqth.js → bus-arcj627b.js} +11 -11
  108. package/dist/chunks/{location-service-map-2qwrzt4p.js → bus-at3ejqj0.js} +12 -12
  109. package/dist/chunks/{location-service-map-8dnnpvxn.js → bus-atw9v79g.js} +25 -25
  110. package/dist/chunks/{location-service-map-eedqqt57.js → bus-b66t5cb8.js} +7 -7
  111. package/dist/chunks/{location-service-map-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{location-service-map-fab8hzt3.js → bus-bha4atvq.js} +4 -4
  113. package/dist/chunks/{location-service-map-nzdya8zy.js → bus-brzgr68a.js} +24 -24
  114. package/dist/chunks/{location-service-map-znpwehhw.js → bus-c2q1mjgh.js} +8 -8
  115. package/dist/chunks/{location-service-map-tn0aqsam.js → bus-c78bbtc9.js} +5 -5
  116. package/dist/chunks/{location-service-map-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/bus-cptd71b8.js +462 -0
  118. package/dist/chunks/{location-service-map-4796q64q.js → bus-csec5e4m.js} +9 -9
  119. package/dist/chunks/{location-service-map-qak59w04.js → bus-cvb05pnf.js} +19 -19
  120. package/dist/chunks/{location-service-map-qej9sj1w.js → bus-d21tpfeg.js} +4 -4
  121. package/dist/chunks/{location-service-map-d2aac7k2.js → bus-d2aac7k2.js} +2 -2
  122. package/dist/chunks/{location-service-map-8sghyhzw.js → bus-dc76j9wz.js} +8 -8
  123. package/dist/chunks/{location-service-map-asmz7wyz.js → bus-dgj0dq1g.js} +8 -8
  124. package/dist/chunks/{location-service-map-qjn3382e.js → bus-e39t2h66.js} +14 -14
  125. package/dist/chunks/{location-service-map-tftr6m9x.js → bus-e406nj4k.js} +6 -6
  126. package/dist/chunks/{location-service-map-tnkz2q47.js → bus-e47b9zhk.js} +1 -1
  127. package/dist/chunks/{location-service-map-93cx6esp.js → bus-e8bm4rm7.js} +12 -12
  128. package/dist/chunks/{location-service-map-rhjbct0v.js → bus-eaj1djv9.js} +8 -8
  129. package/dist/chunks/{location-service-map-67rqfjp4.js → bus-edsk2t6a.js} +9 -9
  130. package/dist/chunks/{location-service-map-bfvgachw.js → bus-ekxn0p07.js} +19 -19
  131. package/dist/chunks/{location-service-map-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{location-service-map-y7w5tfeq.js → bus-f5ckxc6k.js} +10 -10
  133. package/dist/chunks/{location-service-map-hdnk95c8.js → bus-f828m53h.js} +2 -2
  134. package/dist/chunks/{location-service-map-y64575h1.js → bus-fa0cr6zp.js} +3 -3
  135. package/dist/chunks/{location-service-map-f5h9zjps.js → bus-ffx4mq6v.js} +1 -1
  136. package/dist/chunks/{location-service-map-p1wf2k30.js → bus-fjmrr6sh.js} +9 -9
  137. package/dist/chunks/{location-service-map-jywbac0n.js → bus-fjta8say.js} +25 -25
  138. package/dist/chunks/{location-service-map-s534qmrw.js → bus-frwpyczr.js} +4 -4
  139. package/dist/chunks/{location-service-map-y0zvy8xh.js → bus-fw00bc85.js} +29 -29
  140. package/dist/chunks/{location-service-map-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{location-service-map-nqgwmxz9.js → bus-fxdzhz3a.js} +43 -43
  142. package/dist/chunks/{location-service-map-fjjp0bek.js → bus-gcx2w7qz.js} +20 -20
  143. package/dist/chunks/{location-service-map-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{location-service-map-pzx9vzqb.js → bus-gdvdcvqc.js} +17 -17
  145. package/dist/chunks/{location-service-map-3fc6dm20.js → bus-gdvy8fx6.js} +4 -4
  146. package/dist/chunks/{location-service-map-8v0m4qy5.js → bus-gezb754f.js} +11 -11
  147. package/dist/chunks/{location-service-map-6jnybvqn.js → bus-gsx0ryk4.js} +9 -9
  148. package/dist/chunks/{location-service-map-1g2ww1p9.js → bus-gsy9mqvk.js} +11 -11
  149. package/dist/chunks/{location-service-map-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
  150. package/dist/chunks/{location-service-map-krm5fbzy.js → bus-gwp5w4wb.js} +9 -9
  151. package/dist/chunks/{location-service-map-jv9ns0w3.js → bus-gxnpxzy4.js} +30 -30
  152. package/dist/chunks/{location-service-map-y2fvzcwf.js → bus-h03br4j9.js} +16 -16
  153. package/dist/chunks/{location-service-map-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
  154. package/dist/chunks/{location-service-map-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{location-service-map-6cf0kwbj.js → bus-hmy5m0zn.js} +20 -20
  156. package/dist/chunks/{location-service-map-wygcwagr.js → bus-hpd8f1qh.js} +2 -2
  157. package/dist/chunks/{location-service-map-cy3hhnd8.js → bus-j4zenrww.js} +7 -7
  158. package/dist/chunks/{location-service-map-2y34zzjz.js → bus-j5208yae.js} +4 -4
  159. package/dist/chunks/{location-service-map-j56e64zr.js → bus-j56e64zr.js} +1 -1
  160. package/dist/chunks/{location-service-map-nhez0whe.js → bus-jdmm99th.js} +12 -12
  161. package/dist/chunks/{location-service-map-8ce9gjz0.js → bus-jkvdn3cn.js} +38 -38
  162. package/dist/chunks/{location-service-map-pdpf3tt7.js → bus-jmvyb28c.js} +17 -17
  163. package/dist/chunks/{location-service-map-8b2cqggs.js → bus-jny78evx.js} +38 -38
  164. package/dist/chunks/{location-service-map-0h6kt2by.js → bus-jvq7qv7z.js} +28 -28
  165. package/dist/chunks/{location-service-map-qgxb7vr4.js → bus-jzvr1g73.js} +20 -20
  166. package/dist/chunks/{location-service-map-yap3mhkf.js → bus-k0h28rmr.js} +17 -17
  167. package/dist/chunks/{location-service-map-80t34wb3.js → bus-k0vm1vsh.js} +11 -11
  168. package/dist/chunks/{location-service-map-g190xswt.js → bus-k2h4r4s0.js} +4 -4
  169. package/dist/chunks/{location-service-map-5c7att9k.js → bus-k6gg2q9r.js} +16 -16
  170. package/dist/chunks/{location-service-map-g46phx72.js → bus-k7d0894y.js} +3 -3
  171. package/dist/chunks/{location-service-map-b7wf9cse.js → bus-k8ebjhqy.js} +15 -15
  172. package/dist/chunks/{location-service-map-jgvckwgj.js → bus-kdc4anf3.js} +2 -2
  173. package/dist/chunks/{location-service-map-30021mhd.js → bus-kfxc74n2.js} +22 -22
  174. package/dist/chunks/{location-service-map-kg06axw8.js → bus-kg06axw8.js} +1 -1
  175. package/dist/chunks/{location-service-map-7qr4d326.js → bus-kj0cw3p7.js} +41 -41
  176. package/dist/chunks/{location-service-map-rd0bynaw.js → bus-knth1fvs.js} +14 -14
  177. package/dist/chunks/{location-service-map-1hmee049.js → bus-kxxjg53x.js} +64 -64
  178. package/dist/chunks/{location-service-map-rsxg3zg0.js → bus-kycn6yts.js} +6 -6
  179. package/dist/chunks/{location-service-map-w74r38yk.js → bus-kz255f3e.js} +9 -9
  180. package/dist/chunks/{location-service-map-2m9apge2.js → bus-m08xmbhd.js} +13 -13
  181. package/dist/chunks/{location-service-map-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{location-service-map-gczbgzva.js → bus-mctj3t5d.js} +15 -15
  183. package/dist/chunks/{location-service-map-mkcjrzeh.js → bus-mkcjrzeh.js} +1 -1
  184. package/dist/chunks/{location-service-map-vpytprf9.js → bus-mkyh9633.js} +39 -39
  185. package/dist/chunks/{location-service-map-ensq9cxs.js → bus-mm6hcqyy.js} +15 -15
  186. package/dist/chunks/{location-service-map-z00wvf46.js → bus-mnrz82hq.js} +3 -3
  187. package/dist/chunks/{location-service-map-mhkvc446.js → bus-mvfsc1pv.js} +3 -3
  188. package/dist/chunks/{location-service-map-s8ab6230.js → bus-mykmszv9.js} +9 -9
  189. package/dist/chunks/{location-service-map-ae8ff96s.js → bus-n0xr8ydk.js} +28 -28
  190. package/dist/chunks/{location-service-map-xkwrsmqc.js → bus-n7myrqvg.js} +11 -11
  191. package/dist/chunks/{location-service-map-24ye1wdt.js → bus-n8acapy8.js} +6 -6
  192. package/dist/chunks/{location-service-map-ms0zmdaj.js → bus-nk7ds145.js} +17 -17
  193. package/dist/chunks/{location-service-map-xvx8vm3y.js → bus-nnchxen3.js} +42 -42
  194. package/dist/chunks/{location-service-map-t29szwpj.js → bus-nnmhqe7b.js} +15 -15
  195. package/dist/chunks/{location-service-map-aa78bncg.js → bus-ntazn48k.js} +75 -75
  196. package/dist/chunks/{location-service-map-zj09a0ew.js → bus-nw2nz702.js} +4 -4
  197. package/dist/chunks/{location-service-map-41gq8gm7.js → bus-nx25f60x.js} +19 -19
  198. package/dist/chunks/{location-service-map-xrywhj35.js → bus-nx8jdvz1.js} +32 -32
  199. package/dist/chunks/{location-service-map-5h8vdksd.js → bus-p0cja4mf.js} +5 -5
  200. package/dist/chunks/{location-service-map-2gfgcbzh.js → bus-p72z5xx6.js} +2 -2
  201. package/dist/chunks/{location-service-map-s9ysmem1.js → bus-pf6z3403.js} +5 -5
  202. package/dist/chunks/{location-service-map-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{location-service-map-pknna89w.js → bus-pknna89w.js} +1 -1
  204. package/dist/chunks/{location-service-map-xmmda1hq.js → bus-qaed280k.js} +5 -5
  205. package/dist/chunks/bus-qc068m1q.js +18 -0
  206. package/dist/chunks/{location-service-map-77gr2wf6.js → bus-qdd4vj03.js} +21 -21
  207. package/dist/chunks/{location-service-map-xtjyn408.js → bus-qr92006n.js} +14 -14
  208. package/dist/chunks/{location-service-map-ps8w6tdx.js → bus-qrtv3c58.js} +17 -17
  209. package/dist/chunks/{location-service-map-qsdy395h.js → bus-qsdy395h.js} +1 -1
  210. package/dist/chunks/{location-service-map-qte5z7bc.js → bus-qte5z7bc.js} +2 -2
  211. package/dist/chunks/{location-service-map-n8ja4s63.js → bus-r1mjw3sd.js} +17 -17
  212. package/dist/chunks/{location-service-map-saaf3fxb.js → bus-renqy12v.js} +8 -8
  213. package/dist/chunks/{location-service-map-p33ejz0k.js → bus-rfnzy394.js} +1 -1
  214. package/dist/chunks/{location-service-map-t0ba7kpe.js → bus-rgdf5anz.js} +11 -11
  215. package/dist/chunks/{location-service-map-az24r0qy.js → bus-rpsfnwf3.js} +40 -40
  216. package/dist/chunks/{location-service-map-wb3jcy3h.js → bus-rvyv87x2.js} +4 -4
  217. package/dist/chunks/{location-service-map-4tj7k7mp.js → bus-s2pmvhcg.js} +22 -22
  218. package/dist/chunks/{location-service-map-fnf4x40q.js → bus-s7xtjryh.js} +1 -1
  219. package/dist/chunks/{location-service-map-f3j7ywnm.js → bus-sqevgg1x.js} +6 -6
  220. package/dist/chunks/{location-service-map-a78p0fgv.js → bus-t9atnbvs.js} +32 -32
  221. package/dist/chunks/{location-service-map-zejb1v11.js → bus-t9dh7k1x.js} +14 -14
  222. package/dist/chunks/{location-service-map-4rt6grj7.js → bus-t9e6e84n.js} +1 -1
  223. package/dist/chunks/{location-service-map-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{location-service-map-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  225. package/dist/chunks/{location-service-map-tdstcens.js → bus-tdstcens.js} +1 -1
  226. package/dist/chunks/{location-service-map-6e1ynkjd.js → bus-tfym5c4x.js} +6 -6
  227. package/dist/chunks/{location-service-map-tvtrv512.js → bus-tvtrv512.js} +1 -1
  228. package/dist/chunks/{location-service-map-y8nnf61w.js → bus-ve2nztfh.js} +10 -10
  229. package/dist/chunks/{location-service-map-3c1tgrea.js → bus-ve6nm2s5.js} +6 -6
  230. package/dist/chunks/{location-service-map-veqvce7d.js → bus-veqvce7d.js} +1 -1
  231. package/dist/chunks/{location-service-map-0erzq2np.js → bus-vgjt9c5s.js} +5 -5
  232. package/dist/chunks/{location-service-map-36vh5heq.js → bus-vmmc4gn1.js} +29 -29
  233. package/dist/chunks/{location-service-map-hznkg6qn.js → bus-vn9qcck8.js} +34 -34
  234. package/dist/chunks/{location-service-map-zhz9x1ck.js → bus-vwqs12jy.js} +10 -10
  235. package/dist/chunks/{location-service-map-5z63511r.js → bus-vyjzrkx0.js} +9 -9
  236. package/dist/chunks/{location-service-map-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  237. package/dist/chunks/{location-service-map-msq0jde0.js → bus-w1k39n5e.js} +4 -4
  238. package/dist/chunks/{location-service-map-mwps40g7.js → bus-w3seh447.js} +28 -28
  239. package/dist/chunks/{location-service-map-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  240. package/dist/chunks/{location-service-map-amphtb7h.js → bus-w81afp83.js} +8 -8
  241. package/dist/chunks/{location-service-map-0xbgg0nv.js → bus-wccq2216.js} +7 -7
  242. package/dist/chunks/{location-service-map-wd87259q.js → bus-wd87259q.js} +1 -1
  243. package/dist/chunks/{location-service-map-9095qaaa.js → bus-whbvmyya.js} +25 -25
  244. package/dist/chunks/{location-service-map-0j4fym4e.js → bus-wjc2s1ba.js} +31 -31
  245. package/dist/chunks/{location-service-map-tfwap27p.js → bus-wk58jv74.js} +10 -10
  246. package/dist/chunks/{location-service-map-m24xnkg2.js → bus-wmbchhnn.js} +8 -8
  247. package/dist/chunks/{location-service-map-xqyszs4f.js → bus-wmshdsxh.js} +9 -9
  248. package/dist/chunks/{location-service-map-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  249. package/dist/chunks/{location-service-map-z0adqxrv.js → bus-x227z7gv.js} +24 -24
  250. package/dist/chunks/{location-service-map-x43y2vfs.js → bus-x43y2vfs.js} +2 -2
  251. package/dist/chunks/{location-service-map-vjq8w0ct.js → bus-x8d28zyr.js} +22 -22
  252. package/dist/chunks/{location-service-map-nkq24z0e.js → bus-xfbp7vg3.js} +28 -28
  253. package/dist/chunks/{location-service-map-b8b3f19r.js → bus-xhmq8qgk.js} +9 -9
  254. package/dist/chunks/{location-service-map-hbtjffsn.js → bus-xjr4j2j6.js} +39 -39
  255. package/dist/chunks/{location-service-map-g2xbs3ev.js → bus-xkvztyjm.js} +4 -4
  256. package/dist/chunks/{location-service-map-y0zx1wb0.js → bus-xtx0ppn2.js} +13 -13
  257. package/dist/chunks/{location-service-map-tmjae0pq.js → bus-xxcpn45b.js} +23 -23
  258. package/dist/chunks/{location-service-map-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{location-service-map-dpkg50ah.js → bus-y71avatq.js} +4 -4
  260. package/dist/chunks/{location-service-map-66fdfd31.js → bus-y7whqpt3.js} +13 -13
  261. package/dist/chunks/{location-service-map-gb30xeaa.js → bus-y8qpbdny.js} +7 -7
  262. package/dist/chunks/{location-service-map-tc59d7j5.js → bus-yms512cs.js} +10 -10
  263. package/dist/chunks/{location-service-map-16qsj906.js → bus-yn80fmw6.js} +21 -21
  264. package/dist/chunks/{location-service-map-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
  265. package/dist/chunks/bus-ypn041zc.js +22 -0
  266. package/dist/chunks/{location-service-map-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  267. package/dist/chunks/{location-service-map-h4kyb941.js → bus-yrm8zfgt.js} +18 -18
  268. package/dist/chunks/{location-service-map-yrznvahk.js → bus-yrznvahk.js} +2 -2
  269. package/dist/chunks/{location-service-map-mm89s5e8.js → bus-yv5atzv7.js} +6 -6
  270. package/dist/chunks/{location-service-map-qgde9kn8.js → bus-ywkmcjzw.js} +4 -4
  271. package/dist/chunks/{location-service-map-hsg9k7t6.js → bus-yxfbxqnd.js} +20 -20
  272. package/dist/chunks/{location-service-map-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{location-service-map-z63w68vq.js → bus-z63w68vq.js} +2 -2
  274. package/dist/chunks/{location-service-map-f64330d9.js → bus-z9e6b7he.js} +5 -5
  275. package/dist/chunks/{location-service-map-t0v1gnpj.js → bus-zardaqg6.js} +11 -11
  276. package/dist/chunks/{location-service-map-c7g3redb.js → bus-zc9t3nk1.js} +22 -22
  277. package/dist/chunks/{location-service-map-hn57h045.js → bus-zcrspsvn.js} +4 -4
  278. package/dist/chunks/{location-service-map-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{location-service-map-hvbks3tt.js → bus-zex37ywk.js} +8 -8
  280. package/dist/chunks/{location-service-map-98wajpgs.js → bus-zfaxcb8h.js} +4 -4
  281. package/dist/chunks/{location-service-map-5nh6m5vw.js → bus-zmgyev29.js} +21 -21
  282. package/dist/chunks/{location-service-map-tbxt9n2a.js → bus-zpp4pmky.js} +8 -8
  283. package/dist/chunks/{location-service-map-d0hhfdg4.js → bus-zq6w5y0q.js} +13 -13
  284. package/dist/chunks/{location-service-map-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{location-service-map-x3d13zqf.js → bus-zxgnc9zk.js} +1 -1
  286. package/dist/chunks/{location-service-map-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +81 -81
  291. package/dist/config/discovery.js +77 -77
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +115 -115
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +155 -155
  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 +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +115 -115
  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 +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +68 -68
  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.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +77 -77
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +88 -88
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +90 -90
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +72 -72
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +89 -89
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +222 -222
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +99 -99
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +96 -96
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +89 -89
  427. package/dist/git.js +7 -7
  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 +7 -7
  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/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +75 -75
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +74 -74
  457. package/dist/job.js +77 -77
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +81 -81
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +80 -80
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +97 -97
  467. package/dist/mcp/instructions.js +120 -120
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +7 -7
  472. package/dist/model-resolver.js +84 -84
  473. package/dist/model.js +10 -10
  474. package/dist/models-dev.js +84 -84
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +106 -106
  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 +82 -82
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +97 -97
  485. package/dist/plugin/command.js +94 -94
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +80 -80
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +72 -72
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +340 -340
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  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 +8 -8
  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.js +220 -220
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +75 -75
  553. package/dist/provider.js +7 -7
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +88 -88
  558. package/dist/reference/instructions.js +82 -82
  559. package/dist/reference.js +86 -86
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +91 -91
  564. package/dist/rpc.js +81 -81
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +127 -127
  568. package/dist/session/context.js +147 -147
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +219 -219
  573. package/dist/session/execution.js +120 -120
  574. package/dist/session/generate.js +146 -146
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +82 -82
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +77 -77
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +113 -113
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +126 -126
  586. package/dist/session/projector.js +84 -84
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +1 -1
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +225 -225
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +108 -108
  597. package/dist/session/runner/step.js +119 -119
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +167 -167
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +73 -73
  605. package/dist/session/store.js +85 -85
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +205 -205
  608. package/dist/session/system-prompt.js +1 -1
  609. package/dist/session/title.js +147 -147
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +215 -215
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +209 -209
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +7 -7
  618. package/dist/shell.js +131 -131
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +102 -102
  621. package/dist/skill.js +105 -105
  622. package/dist/snapshot.js +86 -86
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +121 -121
  627. package/dist/tool/plugin/edit.js +115 -115
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +120 -120
  630. package/dist/tool/plugin/grep.js +120 -120
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +100 -100
  634. package/dist/tool/plugin/read.js +121 -121
  635. package/dist/tool/plugin/shell.js +212 -212
  636. package/dist/tool/plugin/skill.js +108 -108
  637. package/dist/tool/plugin/subagent.js +214 -214
  638. package/dist/tool/plugin/webfetch.js +107 -107
  639. package/dist/tool/plugin/websearch.js +109 -109
  640. package/dist/tool/plugin/write.js +115 -115
  641. package/dist/tool/read-filesystem.js +96 -96
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +3 -3
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +3 -3
  661. package/dist/v1/config/mcp.js +2 -2
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +2 -2
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +82 -82
  673. package/dist/wellknown/plugin.js +74 -74
  674. package/dist/wellknown.js +77 -77
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +76 -76
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +5 -5
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +87 -87
  683. package/package.json +8 -8
  684. package/dist/chunks/location-service-map-5tkdef88.js +0 -462
  685. package/dist/chunks/location-service-map-6z5nery6.js +0 -247
  686. package/dist/chunks/location-service-map-9zdhvgqs.js +0 -18
  687. package/dist/chunks/location-service-map-a25zw1br.js +0 -22
  688. /package/dist/chunks/{location-service-map-0mesazry.js → bus-0mesazry.js} +0 -0
  689. /package/dist/chunks/{location-service-map-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{location-service-map-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{location-service-map-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{location-service-map-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{location-service-map-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{location-service-map-2710q6r3.js → bus-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{location-service-map-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{location-service-map-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{location-service-map-359p4xyc.js → bus-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{location-service-map-3asan66x.js → bus-3asan66x.js} +0 -0
  699. /package/dist/chunks/{location-service-map-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{location-service-map-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{location-service-map-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{location-service-map-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{location-service-map-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{location-service-map-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{location-service-map-53557ph1.js → bus-53557ph1.js} +0 -0
  706. /package/dist/chunks/{location-service-map-550bvhaj.js → bus-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{location-service-map-6prwharc.js → bus-6prwharc.js} +0 -0
  708. /package/dist/chunks/{location-service-map-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{location-service-map-7m9af43g.js → bus-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{location-service-map-822emrt2.js → bus-822emrt2.js} +0 -0
  711. /package/dist/chunks/{location-service-map-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{location-service-map-8n3pysct.js → bus-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{location-service-map-922hggd3.js → bus-922hggd3.js} +0 -0
  714. /package/dist/chunks/{location-service-map-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{location-service-map-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{location-service-map-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{location-service-map-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{location-service-map-af5trqkr.js → bus-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{location-service-map-afrmfg78.js → bus-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{location-service-map-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{location-service-map-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{location-service-map-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{location-service-map-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{location-service-map-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{location-service-map-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{location-service-map-d9fn303g.js → bus-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{location-service-map-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{location-service-map-dajrwvna.js → bus-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{location-service-map-dap0rakb.js → bus-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{location-service-map-df08tz66.js → bus-df08tz66.js} +0 -0
  731. /package/dist/chunks/{location-service-map-dy18nga0.js → bus-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{location-service-map-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{location-service-map-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{location-service-map-ec1grn59.js → bus-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{location-service-map-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{location-service-map-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{location-service-map-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{location-service-map-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{location-service-map-faypxj3z.js → bus-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{location-service-map-fd410y7t.js → bus-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{location-service-map-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{location-service-map-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{location-service-map-g86h250q.js → bus-g86h250q.js} +0 -0
  744. /package/dist/chunks/{location-service-map-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{location-service-map-gftt206x.js → bus-gftt206x.js} +0 -0
  746. /package/dist/chunks/{location-service-map-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{location-service-map-hk9envan.js → bus-hk9envan.js} +0 -0
  748. /package/dist/chunks/{location-service-map-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{location-service-map-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{location-service-map-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{location-service-map-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{location-service-map-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{location-service-map-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{location-service-map-mp448xyj.js → bus-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{location-service-map-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{location-service-map-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{location-service-map-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{location-service-map-njntx4h6.js → bus-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{location-service-map-paphc93g.js → bus-paphc93g.js} +0 -0
  760. /package/dist/chunks/{location-service-map-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{location-service-map-q74kybfr.js → bus-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{location-service-map-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{location-service-map-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{location-service-map-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{location-service-map-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{location-service-map-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{location-service-map-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{location-service-map-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{location-service-map-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{location-service-map-twg0f83k.js → bus-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{location-service-map-w803qqfp.js → bus-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{location-service-map-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{location-service-map-wtztk69x.js → bus-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{location-service-map-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{location-service-map-x61499pn.js → bus-x61499pn.js} +0 -0
  776. /package/dist/chunks/{location-service-map-y44na4kk.js → bus-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{location-service-map-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{location-service-map-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{location-service-map-ym463w8f.js → bus-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{location-service-map-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-service-map-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
- Service80,
6
- node85
7
- } from "./location-service-map-tfwap27p.js";
5
+ Service78,
6
+ node83
7
+ } from "./bus-wk58jv74.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./location-service-map-2402vzrj.js";
13
+ } from "./bus-6h73sxmp.js";
14
14
  import {
15
- Service71,
16
- node76
17
- } from "./location-service-map-66fdfd31.js";
15
+ Service69,
16
+ node74
17
+ } from "./bus-y7whqpt3.js";
18
18
  import {
19
19
  __export
20
- } from "./location-service-map-9rqn6x4v.js";
20
+ } from "./bus-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service69,
33
+ Service: () => Service57,
34
34
  isError: () => isError2,
35
- node: () => node74,
35
+ node: () => node61,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service69 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service57 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service69, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service80;
106
+ const git = yield* Service78;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service71;
110
- return Service69.of({
109
+ const kv = yield* Service69;
110
+ return Service57.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node74 = makeGlobalNode({
171
- service: Service69,
170
+ var node61 = makeGlobalNode({
171
+ service: Service57,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node76]
173
+ deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node74]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service69, isError2, validateBranch2, node74, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service57, isError2, validateBranch2, node61, exports_repository_cache };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service80,
3
+ node85
4
+ } from "./bus-arcj627b.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./location-service-map-tfrhnqth.js";
5
- import {
6
- Service78,
7
- node83
8
- } from "./location-service-map-2end795d.js";
8
+ } from "./bus-8292cgjf.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-service-map-pknna89w.js";
11
+ } from "./bus-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-service-map-0q0f95c6.js";
14
+ } from "./bus-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./location-service-map-9rqn6x4v.js";
17
+ } from "./bus-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: () => Event16,
24
- ID: () => ID12,
25
- Info: () => Info25,
26
- Key: () => Key4,
23
+ Event: () => Event17,
24
+ ID: () => ID10,
25
+ Info: () => Info24,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service61,
28
+ Service: () => Service66,
29
29
  Value: () => Value2,
30
- node: () => node65
30
+ node: () => node70
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID12 = Credential.ID;
37
+ var ID10 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event16 = Credential.Event;
41
+ var Event17 = Credential.Event;
42
42
 
43
- class Info25 extends Schema.Class("Credential.Info")({
44
- id: ID12,
43
+ class Info24 extends Schema.Class("Credential.Info")({
44
+ id: ID10,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service61 extends Context.Service()("@opencode/Credential") {
51
+ class Service66 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service61, Effect.gen(function* () {
54
- const db = (yield* Service79).db;
55
- const bus = yield* Service78;
53
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
54
+ const db = (yield* Service80).db;
55
+ const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info25({
60
+ return new Info24({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service61.of({
71
+ return Service66.of({
72
72
  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))),
73
73
  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))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info25({
80
- id: ID12.create(),
79
+ const credential = new Info24({
80
+ id: ID10.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event16.Updated, {}, { global: true });
105
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event17.Updated, {}, { global: true });
105
+ yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event16.Updated, {}, { global: true });
157
+ yield* bus.publish(Event17.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event16.Updated, {}, { global: true });
190
+ yield* bus.publish(Event17.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node65 = makeGlobalNode({ service: Service61, layer, deps: [node84, node83] });
196
+ var node70 = makeGlobalNode({ service: Service66, layer, deps: [node85, node84] });
197
197
 
198
- export { ID12, OAuth3, Key4, Value2, Event16, Info25, Service61, node65, exports_credential };
198
+ export { ID10, OAuth3, Key3, Value2, Event17, Info24, Service66, node70, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service41
3
- } from "./location-service-map-3c1tgrea.js";
2
+ Service43
3
+ } from "./bus-ve6nm2s5.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./location-service-map-9zdhvgqs.js";
6
+ } from "./bus-qc068m1q.js";
7
7
  import {
8
- Service51
9
- } from "./location-service-map-hbtjffsn.js";
8
+ Service59
9
+ } from "./bus-xjr4j2j6.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./location-service-map-fxbjtjnd.js";
12
+ } from "./bus-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./location-service-map-9rqn6x4v.js";
15
+ } from "./bus-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service41;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
25
+ const instances = yield* Service43;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service59), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
@@ -1,54 +1,54 @@
1
+ import {
2
+ Service79,
3
+ node84
4
+ } from "./bus-8292cgjf.js";
1
5
  import {
2
6
  Service78,
3
7
  node83
4
- } from "./location-service-map-2end795d.js";
5
- import {
6
- Service80,
7
- node85
8
- } from "./location-service-map-tfwap27p.js";
8
+ } from "./bus-wk58jv74.js";
9
9
  import {
10
10
  Service76,
11
11
  node81
12
- } from "./location-service-map-mm89s5e8.js";
12
+ } from "./bus-yv5atzv7.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./location-service-map-9zdhvgqs.js";
15
+ } from "./bus-qc068m1q.js";
16
16
  import {
17
- Service55,
18
- node58
19
- } from "./location-service-map-4tj7k7mp.js";
17
+ Service64,
18
+ node68
19
+ } from "./bus-s2pmvhcg.js";
20
20
  import {
21
- node24
22
- } from "./location-service-map-bwzhs6r2.js";
21
+ node20
22
+ } from "./bus-0vqg61vt.js";
23
23
  import {
24
- Service9,
25
- node12
26
- } from "./location-service-map-p1wf2k30.js";
24
+ Service7,
25
+ node10
26
+ } from "./bus-fjmrr6sh.js";
27
27
  import {
28
28
  __export
29
- } from "./location-service-map-9rqn6x4v.js";
29
+ } from "./bus-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service8,
36
- node: () => node11
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service8 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service8, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
46
  const location = yield* Service76;
47
- const watcher = yield* Service55;
48
- const bus = yield* Service78;
47
+ const watcher = yield* Service64;
48
+ const bus = yield* Service79;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
51
- const policy = yield* Service9;
50
+ const git = yield* Service78;
51
+ const policy = yield* Service7;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service8.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node11 = makeLocationNode({
106
- service: Service8,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node58, FSUtil.node, node81, node85, node83, node24, node12]
108
+ deps: [node68, FSUtil.node, node81, node83, node84, node20, node10]
109
109
  });
110
110
 
111
- export { Service8, node11, exports_location_watcher2 };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-service-map-tfrhnqth.js";
2
+ Service80,
3
+ node85
4
+ } from "./bus-arcj627b.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-service-map-dpkg50ah.js";
7
+ } from "./bus-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node71
12
- } from "./location-service-map-yxc59d7f.js";
11
+ node73
12
+ } from "./bus-0w62qmxp.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./location-service-map-faypxj3z.js";
15
+ } from "./bus-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./location-service-map-9rqn6x4v.js";
18
+ } from "./bus-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID14,
25
- Info: () => Info26,
24
+ ID: () => ID11,
25
+ Info: () => Info25,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service66,
27
+ Service: () => Service68,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured11,
30
- node: () => node70
30
+ node: () => node72
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID14 = Workspace.ID;
38
+ var ID11 = Workspace.ID;
39
39
 
40
- class Info26 extends Schema.Class("Workspace.Info")({
41
- id: ID14,
40
+ class Info25 extends Schema.Class("Workspace.Info")({
41
+ id: ID11,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,25 +46,25 @@ class Info26 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID14 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID14,
53
+ workspaceID: ID11,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service66 extends Context.Service()("@opencode/Workspace") {
59
+ class Service68 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service66,
62
+ service: Service68,
63
63
  layer: layer(options),
64
- deps: [node84, node71]
64
+ deps: [node85, node73]
65
65
  });
66
- var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
67
- const db = (yield* Service79).db;
66
+ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
67
+ const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
70
70
  const connections = new Map;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info26({
83
+ const info = (row, binding) => new Info25({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service66.of({
157
+ return Service68.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID14.create();
159
+ const workspaceID = input.id ?? ID11.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node70 = configured11();
224
+ var node72 = configured11();
225
225
 
226
- export { ID14, Info26, NotFound3, CreateConflict2, Service66, configured11, node70, exports_workspace };
226
+ export { ID11, Info25, NotFound3, CreateConflict2, Service68, configured11, node72, exports_workspace };