@opencode/core 0.0.0-dev-19406 → 0.0.0-dev-19411

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 (783) 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 +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{workspace-sm6980w8.js → location-service-map-01p65wz6.js} +16 -16
  9. package/dist/chunks/{workspace-48qrq2th.js → location-service-map-06d6k2sv.js} +13 -13
  10. package/dist/chunks/{workspace-k3s1wnxs.js → location-service-map-0bj24kwh.js} +18 -18
  11. package/dist/chunks/{workspace-scg96trk.js → location-service-map-0ejp64q8.js} +17 -17
  12. package/dist/chunks/{workspace-hkfg6fzm.js → location-service-map-0f9afca0.js} +5 -5
  13. package/dist/chunks/{workspace-ktdx9tqj.js → location-service-map-0j1nk8fm.js} +18 -18
  14. package/dist/chunks/{workspace-0jwsre1p.js → location-service-map-0jwsre1p.js} +1 -1
  15. package/dist/chunks/{workspace-d9sn21bc.js → location-service-map-0nm12y21.js} +2 -2
  16. package/dist/chunks/{workspace-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{workspace-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{workspace-6c6d27ky.js → location-service-map-0scfkq5x.js} +25 -25
  19. package/dist/chunks/{workspace-4brkry6z.js → location-service-map-16hqy22p.js} +7 -7
  20. package/dist/chunks/{workspace-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
  21. package/dist/chunks/location-service-map-1g9fyxr5.js +22 -0
  22. package/dist/chunks/{workspace-7d6jfxsy.js → location-service-map-1h9pan1v.js} +20 -20
  23. package/dist/chunks/{workspace-48vm7pvj.js → location-service-map-1htcdqw7.js} +16 -16
  24. package/dist/chunks/{workspace-rpb40cdh.js → location-service-map-1j3gw5vb.js} +11 -11
  25. package/dist/chunks/{workspace-j2e3vmqt.js → location-service-map-1wb39082.js} +15 -15
  26. package/dist/chunks/{workspace-56gdpj1q.js → location-service-map-1ygqh575.js} +9 -9
  27. package/dist/chunks/{workspace-we9gybbj.js → location-service-map-21qsgb56.js} +10 -10
  28. package/dist/chunks/{workspace-21r38tys.js → location-service-map-21r38tys.js} +1 -1
  29. package/dist/chunks/location-service-map-23r6rywa.js +462 -0
  30. package/dist/chunks/{workspace-772n9qp6.js → location-service-map-29zj8nk3.js} +2 -2
  31. package/dist/chunks/{workspace-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{workspace-6f71wzny.js → location-service-map-2kbv6083.js} +21 -21
  33. package/dist/chunks/{workspace-fyjrpq2n.js → location-service-map-2m8nxcnz.js} +5 -5
  34. package/dist/chunks/{workspace-acdf9wey.js → location-service-map-2sj0mhkh.js} +20 -20
  35. package/dist/chunks/{workspace-zgh2pzwp.js → location-service-map-2w88qe7q.js} +7 -7
  36. package/dist/chunks/{workspace-jx36ppfv.js → location-service-map-2y1k1gba.js} +4 -4
  37. package/dist/chunks/{workspace-fvev15ye.js → location-service-map-34j7emw3.js} +13 -13
  38. package/dist/chunks/{workspace-9wbxqmjz.js → location-service-map-388v9ggf.js} +28 -28
  39. package/dist/chunks/{workspace-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{workspace-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{workspace-3j1hp0ty.js → location-service-map-3m5y0en8.js} +32 -32
  42. package/dist/chunks/{workspace-2q352txm.js → location-service-map-3nxsbkd6.js} +46 -46
  43. package/dist/chunks/{workspace-gqay82r3.js → location-service-map-3skmj079.js} +11 -11
  44. package/dist/chunks/{workspace-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{workspace-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{workspace-6kkm1vms.js → location-service-map-3ywqk9m6.js} +32 -32
  47. package/dist/chunks/{workspace-ybpsbgjn.js → location-service-map-3zyxpmjt.js} +10 -10
  48. package/dist/chunks/{workspace-yrejkez5.js → location-service-map-41makasq.js} +5 -5
  49. package/dist/chunks/{workspace-08va5z8e.js → location-service-map-435pvmfy.js} +44 -44
  50. package/dist/chunks/{workspace-0df1zyj6.js → location-service-map-48d3jmrj.js} +59 -59
  51. package/dist/chunks/{workspace-x4f7xa08.js → location-service-map-4a0pdbth.js} +8 -8
  52. package/dist/chunks/{workspace-r2c1v5cs.js → location-service-map-4e4kessa.js} +11 -11
  53. package/dist/chunks/{workspace-1hfvq3hk.js → location-service-map-4hfexcc2.js} +9 -9
  54. package/dist/chunks/{workspace-qfzde7bh.js → location-service-map-4m2pmvxz.js} +6 -6
  55. package/dist/chunks/{workspace-zjp7g5zn.js → location-service-map-4rnenmp1.js} +35 -35
  56. package/dist/chunks/{workspace-1agm07vn.js → location-service-map-4ze8r4x4.js} +4 -4
  57. package/dist/chunks/{workspace-yaw72qpm.js → location-service-map-56dfxjhd.js} +18 -18
  58. package/dist/chunks/{workspace-paegk39x.js → location-service-map-5c0f1prt.js} +4 -4
  59. package/dist/chunks/{workspace-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
  60. package/dist/chunks/{workspace-xfmmbppy.js → location-service-map-5fk020e8.js} +20 -20
  61. package/dist/chunks/{workspace-1k8a3rj6.js → location-service-map-5kvfrgqq.js} +93 -93
  62. package/dist/chunks/{workspace-a5bp1xck.js → location-service-map-5qampah2.js} +8 -8
  63. package/dist/chunks/{workspace-pazbjste.js → location-service-map-5s846xnq.js} +9 -9
  64. package/dist/chunks/{workspace-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{workspace-ks28khcp.js → location-service-map-5tew0ahy.js} +32 -32
  66. package/dist/chunks/{workspace-nfgy6v4x.js → location-service-map-5z3bszm1.js} +8 -8
  67. package/dist/chunks/{workspace-669tq793.js → location-service-map-669tq793.js} +1 -1
  68. package/dist/chunks/{workspace-zgpjdkre.js → location-service-map-6bfjnmts.js} +28 -28
  69. package/dist/chunks/{workspace-dcvqdecp.js → location-service-map-6bhxam6g.js} +4 -4
  70. package/dist/chunks/{workspace-75my1bc5.js → location-service-map-6cd6tdvt.js} +6 -6
  71. package/dist/chunks/{workspace-17x03v7d.js → location-service-map-6ctw931a.js} +17 -17
  72. package/dist/chunks/{workspace-wyp518qd.js → location-service-map-6f5ttahn.js} +32 -32
  73. package/dist/chunks/{workspace-2402vzrj.js → location-service-map-6h73sxmp.js} +5 -5
  74. package/dist/chunks/{workspace-c8266qxr.js → location-service-map-6jqkynh6.js} +14 -14
  75. package/dist/chunks/location-service-map-6kdq0pjd.js +4 -0
  76. package/dist/chunks/{workspace-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{workspace-yd1p1r8q.js → location-service-map-6q2ygfvt.js} +91 -91
  78. package/dist/chunks/{workspace-av8gdzmj.js → location-service-map-6x8d9r7z.js} +19 -19
  79. package/dist/chunks/{workspace-ncyvmtt2.js → location-service-map-6ygqctmj.js} +17 -17
  80. package/dist/chunks/{workspace-j4w9fnyz.js → location-service-map-6zbjj1z9.js} +6 -6
  81. package/dist/chunks/{workspace-hww6a8kv.js → location-service-map-70gh47fw.js} +16 -16
  82. package/dist/chunks/{workspace-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
  83. package/dist/chunks/{workspace-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{workspace-beamfkq3.js → location-service-map-7g49kwy5.js} +16 -16
  85. package/dist/chunks/{workspace-prdj2v50.js → location-service-map-7h0en3hk.js} +5 -5
  86. package/dist/chunks/{workspace-9xw3tj2y.js → location-service-map-7mvbw8ws.js} +11 -11
  87. package/dist/chunks/{workspace-1eyaby9q.js → location-service-map-7sdps93t.js} +5 -5
  88. package/dist/chunks/{workspace-jefma2gq.js → location-service-map-7zdm33ac.js} +10 -10
  89. package/dist/chunks/{workspace-2hyh68ab.js → location-service-map-844ef7ks.js} +8 -8
  90. package/dist/chunks/{workspace-bn5b4a4k.js → location-service-map-86rhggpc.js} +14 -14
  91. package/dist/chunks/{workspace-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{workspace-pcyx20k3.js → location-service-map-8dt54qxk.js} +24 -24
  93. package/dist/chunks/{workspace-fsyg4b4p.js → location-service-map-8fye2tcx.js} +9 -9
  94. package/dist/chunks/{workspace-3wnr7h3v.js → location-service-map-8hb18wxv.js} +30 -30
  95. package/dist/chunks/{workspace-8p4f9s12.js → location-service-map-8p4f9s12.js} +2 -2
  96. package/dist/chunks/{workspace-gdvq22q3.js → location-service-map-91tp1xfa.js} +10 -10
  97. package/dist/chunks/{workspace-anadqz16.js → location-service-map-941xxfb4.js} +15 -15
  98. package/dist/chunks/{workspace-hggyschk.js → location-service-map-96yt6zt0.js} +1 -1
  99. package/dist/chunks/{workspace-6m75b8cv.js → location-service-map-9ecg8qvc.js} +5 -5
  100. package/dist/chunks/{workspace-rbfxpsrk.js → location-service-map-9h69x5vk.js} +13 -13
  101. package/dist/chunks/{workspace-v2dqap2x.js → location-service-map-9qq1jfny.js} +11 -11
  102. package/dist/chunks/location-service-map-9sh4wc5j.js +18 -0
  103. package/dist/chunks/{workspace-z7th72fz.js → location-service-map-9x4p09wd.js} +37 -37
  104. package/dist/chunks/{workspace-vcm9nwkf.js → location-service-map-9yhzq78q.js} +28 -28
  105. package/dist/chunks/{workspace-a1bz86dw.js → location-service-map-a1bz86dw.js} +3 -3
  106. package/dist/chunks/{workspace-j9987dbw.js → location-service-map-a3g94e75.js} +17 -17
  107. package/dist/chunks/{workspace-42z94ejy.js → location-service-map-a4455mjt.js} +8 -8
  108. package/dist/chunks/{workspace-jw80jp6b.js → location-service-map-a8bn8zg0.js} +4 -4
  109. package/dist/chunks/{workspace-h2r7bbkd.js → location-service-map-a8zr1srk.js} +8 -8
  110. package/dist/chunks/{workspace-ade7nb1r.js → location-service-map-aaa4d55n.js} +18 -18
  111. package/dist/chunks/{workspace-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  112. package/dist/chunks/{workspace-rybesq9t.js → location-service-map-abthsg09.js} +16 -16
  113. package/dist/chunks/{workspace-hn57h045.js → location-service-map-afdssyjb.js} +4 -4
  114. package/dist/chunks/{workspace-b2wde7ay.js → location-service-map-b11w0axe.js} +15 -15
  115. package/dist/chunks/{workspace-qyyvm09j.js → location-service-map-b2bydtjm.js} +8 -8
  116. package/dist/chunks/{workspace-w79zsp0s.js → location-service-map-b3t12aqp.js} +1 -1
  117. package/dist/chunks/{workspace-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{workspace-k8e0krnc.js → location-service-map-c576t1j6.js} +6 -6
  119. package/dist/chunks/{workspace-evbgk2k8.js → location-service-map-c78bbtc9.js} +5 -5
  120. package/dist/chunks/{workspace-7xpb4b38.js → location-service-map-c7b3nqtq.js} +9 -9
  121. package/dist/chunks/{workspace-cfpkc3c9.js → location-service-map-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{workspace-zwhke550.js → location-service-map-ckq0dq5k.js} +37 -37
  123. package/dist/chunks/{workspace-1n9v4yht.js → location-service-map-cqamk86d.js} +3 -3
  124. package/dist/chunks/{workspace-47z782k9.js → location-service-map-cs61nvka.js} +18 -18
  125. package/dist/chunks/{workspace-swa700vz.js → location-service-map-cwx43p47.js} +22 -22
  126. package/dist/chunks/{workspace-qwkytnft.js → location-service-map-d3j2qqy4.js} +6 -6
  127. package/dist/chunks/{workspace-81swgkk7.js → location-service-map-d67aqa6n.js} +9 -9
  128. package/dist/chunks/{workspace-gjg21rfc.js → location-service-map-dd0p5wnw.js} +28 -28
  129. package/dist/chunks/{workspace-zkdt6a6d.js → location-service-map-dg89zhc6.js} +41 -41
  130. package/dist/chunks/{workspace-564nwv9t.js → location-service-map-djkss86x.js} +28 -28
  131. package/dist/chunks/{workspace-25z0xxdg.js → location-service-map-dkzspkr0.js} +10 -10
  132. package/dist/chunks/{workspace-rf48fc3z.js → location-service-map-dq8zcm55.js} +20 -20
  133. package/dist/chunks/{workspace-e6jfrte4.js → location-service-map-dt11njbd.js} +20 -20
  134. package/dist/chunks/{workspace-rvbs1y5m.js → location-service-map-dzetj10f.js} +16 -16
  135. package/dist/chunks/{workspace-5va42dqn.js → location-service-map-ejcsa0er.js} +7 -7
  136. package/dist/chunks/{workspace-yxse6n4e.js → location-service-map-ek11p338.js} +24 -24
  137. package/dist/chunks/{workspace-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{workspace-tb3qt4de.js → location-service-map-ez0hnnpg.js} +32 -32
  139. package/dist/chunks/{workspace-2d4astz3.js → location-service-map-f0jbk8jb.js} +15 -15
  140. package/dist/chunks/{workspace-q1hq4vqk.js → location-service-map-f2wxj98d.js} +18 -18
  141. package/dist/chunks/{workspace-xaj3yemm.js → location-service-map-f74az5c1.js} +6 -6
  142. package/dist/chunks/{workspace-f828m53h.js → location-service-map-f828m53h.js} +2 -2
  143. package/dist/chunks/{workspace-sczgc2a3.js → location-service-map-f8q7mv7a.js} +1 -1
  144. package/dist/chunks/{workspace-wvmwf5r3.js → location-service-map-fedgjxw2.js} +35 -35
  145. package/dist/chunks/{workspace-aan3cyfv.js → location-service-map-fgh0kbhd.js} +1 -1
  146. package/dist/chunks/{workspace-t0x5rdq8.js → location-service-map-fjmrr6sh.js} +9 -9
  147. package/dist/chunks/{workspace-35agz59w.js → location-service-map-fvanntqq.js} +5 -5
  148. package/dist/chunks/{workspace-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{workspace-ns261efr.js → location-service-map-fygdb7h7.js} +3 -3
  150. package/dist/chunks/{workspace-a0z4fccy.js → location-service-map-g631ehbd.js} +4 -4
  151. package/dist/chunks/{workspace-svjbpvc0.js → location-service-map-g75qr6ta.js} +26 -26
  152. package/dist/chunks/{workspace-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{workspace-bv56xrks.js → location-service-map-gj9xpvv3.js} +6 -6
  154. package/dist/chunks/{workspace-k2v8w9sh.js → location-service-map-grfv6ppc.js} +17 -17
  155. package/dist/chunks/{workspace-xekzrwwc.js → location-service-map-gsx0ryk4.js} +9 -9
  156. package/dist/chunks/{workspace-aam5c1df.js → location-service-map-gt296ajv.js} +41 -41
  157. package/dist/chunks/{workspace-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{workspace-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{workspace-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{workspace-21kgkeg9.js → location-service-map-h9nbds67.js} +9 -9
  161. package/dist/chunks/{workspace-bha4atvq.js → location-service-map-hfdr1yjj.js} +4 -4
  162. package/dist/chunks/{workspace-yjptyezs.js → location-service-map-hnr5yq9h.js} +5 -5
  163. package/dist/chunks/{workspace-rw0gxka2.js → location-service-map-hrkgfcax.js} +16 -16
  164. package/dist/chunks/{workspace-gbze51rp.js → location-service-map-j3rsgqd3.js} +40 -40
  165. package/dist/chunks/{workspace-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
  166. package/dist/chunks/{workspace-00yj64tw.js → location-service-map-j7prjnjt.js} +5 -5
  167. package/dist/chunks/{workspace-0c2368v0.js → location-service-map-japjevg9.js} +26 -26
  168. package/dist/chunks/{workspace-mpd5qf4j.js → location-service-map-jdrh1tb9.js} +36 -36
  169. package/dist/chunks/{workspace-j7wq2tw5.js → location-service-map-jexxy024.js} +3 -3
  170. package/dist/chunks/{workspace-19p34cwj.js → location-service-map-jh6qknby.js} +9 -9
  171. package/dist/chunks/{workspace-hs7fbk9e.js → location-service-map-jjmtff00.js} +12 -12
  172. package/dist/chunks/{workspace-5xyecbgy.js → location-service-map-jk9pjw5g.js} +32 -32
  173. package/dist/chunks/{workspace-qnnfhh99.js → location-service-map-jv2a9yhk.js} +14 -14
  174. package/dist/chunks/{workspace-52vrzpkh.js → location-service-map-jwx4y25k.js} +9 -9
  175. package/dist/chunks/{workspace-zbt061zt.js → location-service-map-jy403fjy.js} +24 -24
  176. package/dist/chunks/{workspace-fb6ja2y4.js → location-service-map-k16ay38w.js} +1 -1
  177. package/dist/chunks/{workspace-y0n2m4xg.js → location-service-map-k52252t7.js} +4 -4
  178. package/dist/chunks/{workspace-ky29xcn8.js → location-service-map-k5yc666g.js} +28 -28
  179. package/dist/chunks/{workspace-vw4rsjqf.js → location-service-map-k8snxye3.js} +57 -57
  180. package/dist/chunks/{workspace-tmv3vrbh.js → location-service-map-kertznk7.js} +9 -9
  181. package/dist/chunks/{workspace-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
  182. package/dist/chunks/{workspace-260nsw4w.js → location-service-map-khhrtqdj.js} +15 -15
  183. package/dist/chunks/{workspace-t07nr89d.js → location-service-map-kk74q4k4.js} +15 -15
  184. package/dist/chunks/{workspace-r0vgb2sm.js → location-service-map-ksz0h0wp.js} +1 -1
  185. package/dist/chunks/{workspace-671axw96.js → location-service-map-kttq4sa3.js} +25 -25
  186. package/dist/chunks/{workspace-63c29q5z.js → location-service-map-m27pyyd3.js} +8 -8
  187. package/dist/chunks/{workspace-rtathh62.js → location-service-map-m3zza4qd.js} +8 -8
  188. package/dist/chunks/{workspace-98cg5nke.js → location-service-map-m8yqs7k0.js} +67 -67
  189. package/dist/chunks/{workspace-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{workspace-w8ssx6tw.js → location-service-map-md2mjq57.js} +4 -4
  191. package/dist/chunks/{workspace-mvfsc1pv.js → location-service-map-mhkvc446.js} +3 -3
  192. package/dist/chunks/{workspace-mkcjrzeh.js → location-service-map-mkcjrzeh.js} +1 -1
  193. package/dist/chunks/{workspace-mnvzjba7.js → location-service-map-mkj5wxw2.js} +43 -43
  194. package/dist/chunks/{workspace-0f5r6y21.js → location-service-map-ms1c6w5t.js} +13 -13
  195. package/dist/chunks/{workspace-0mvrzs3q.js → location-service-map-msvc9xvg.js} +27 -27
  196. package/dist/chunks/{workspace-q0syr9ta.js → location-service-map-mtp4y8rp.js} +14 -14
  197. package/dist/chunks/{workspace-87deq66t.js → location-service-map-my4qt5ka.js} +8 -8
  198. package/dist/chunks/{workspace-kc6m6sz4.js → location-service-map-my970cy4.js} +16 -16
  199. package/dist/chunks/{workspace-qnbyzqhb.js → location-service-map-mz9bf9p8.js} +31 -31
  200. package/dist/chunks/{workspace-90h7kwk9.js → location-service-map-n76fdqym.js} +5 -5
  201. package/dist/chunks/{workspace-j8qeg2b0.js → location-service-map-n7mwft18.js} +28 -28
  202. package/dist/chunks/{workspace-gpw9wb7z.js → location-service-map-ndwy16me.js} +29 -29
  203. package/dist/chunks/{workspace-hjt4xg1x.js → location-service-map-nhy5jxhy.js} +4 -4
  204. package/dist/chunks/{workspace-yjgcx94j.js → location-service-map-p6qm4e2m.js} +12 -12
  205. package/dist/chunks/location-service-map-pamccwr5.js +247 -0
  206. package/dist/chunks/{workspace-11f5ey5t.js → location-service-map-pfw9f0az.js} +9 -9
  207. package/dist/chunks/{workspace-rnwhwxkr.js → location-service-map-pj3035kn.js} +11 -11
  208. package/dist/chunks/{workspace-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{workspace-wycsdkc3.js → location-service-map-pkkwwmgt.js} +11 -11
  210. package/dist/chunks/{workspace-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  211. package/dist/chunks/{workspace-th7rxwpk.js → location-service-map-pms7pbs7.js} +11 -11
  212. package/dist/chunks/{workspace-5n23cvdt.js → location-service-map-pyra53hk.js} +23 -23
  213. package/dist/chunks/{workspace-w3c11q9a.js → location-service-map-q254dnr3.js} +29 -29
  214. package/dist/chunks/{workspace-8sghyhzw.js → location-service-map-q280h65c.js} +8 -8
  215. package/dist/chunks/{workspace-2nfnt4ye.js → location-service-map-q35hfxt0.js} +37 -37
  216. package/dist/chunks/{workspace-hxbwkwf2.js → location-service-map-qb1d5ec8.js} +44 -44
  217. package/dist/chunks/{workspace-pbrpfg1g.js → location-service-map-qg6hqsrz.js} +18 -18
  218. package/dist/chunks/{workspace-xyvg2pqc.js → location-service-map-qp17mr4w.js} +28 -28
  219. package/dist/chunks/{workspace-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  220. package/dist/chunks/{workspace-nyc7jxxp.js → location-service-map-qtk1vx6q.js} +37 -37
  221. package/dist/chunks/{workspace-7f86n5vp.js → location-service-map-r5pjmabx.js} +8 -8
  222. package/dist/chunks/{workspace-1acjjqhc.js → location-service-map-r8xr0va3.js} +4 -4
  223. package/dist/chunks/{workspace-xep7y6dg.js → location-service-map-r9babyk8.js} +1 -1
  224. package/dist/chunks/{workspace-jfqtm2ew.js → location-service-map-ratrq7cm.js} +4 -4
  225. package/dist/chunks/{workspace-xb38tjbm.js → location-service-map-rk90c5b4.js} +27 -27
  226. package/dist/chunks/{workspace-zg7z3sgq.js → location-service-map-rvv61nyv.js} +36 -36
  227. package/dist/chunks/{workspace-1a6tnz5m.js → location-service-map-s5apqtmf.js} +6 -6
  228. package/dist/chunks/{workspace-hhvjvf8g.js → location-service-map-s6t52pfj.js} +4 -4
  229. package/dist/chunks/{workspace-qp21pdsm.js → location-service-map-s6tekys1.js} +44 -44
  230. package/dist/chunks/{workspace-jwdv4y1w.js → location-service-map-s89z72k4.js} +11 -11
  231. package/dist/chunks/{workspace-eaj1djv9.js → location-service-map-s8d7rejh.js} +6 -6
  232. package/dist/chunks/{workspace-9hvf7zmn.js → location-service-map-shvbt0rk.js} +9 -9
  233. package/dist/chunks/{workspace-q6xe9kp6.js → location-service-map-sn599rg4.js} +24 -24
  234. package/dist/chunks/{workspace-9ex8f1cq.js → location-service-map-sp5zyyma.js} +8 -8
  235. package/dist/chunks/{workspace-vncycja5.js → location-service-map-sx1n432n.js} +4 -4
  236. package/dist/chunks/{workspace-mn4xswwv.js → location-service-map-sxy0ygpf.js} +26 -26
  237. package/dist/chunks/{workspace-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{workspace-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
  239. package/dist/chunks/{workspace-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  240. package/dist/chunks/{workspace-szqt16bj.js → location-service-map-tg4h8q13.js} +2 -2
  241. package/dist/chunks/{workspace-ftsj9eb4.js → location-service-map-tnf3mp9t.js} +17 -17
  242. package/dist/chunks/{workspace-cxssh81s.js → location-service-map-tnykvtv7.js} +3 -3
  243. package/dist/chunks/{workspace-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
  244. package/dist/chunks/{workspace-e9z75ypz.js → location-service-map-vav7xn8m.js} +13 -13
  245. package/dist/chunks/{workspace-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  246. package/dist/chunks/{workspace-bnf2jjvk.js → location-service-map-vjj0v91m.js} +15 -15
  247. package/dist/chunks/{workspace-r97fj8kj.js → location-service-map-vt5gy8cw.js} +27 -25
  248. package/dist/chunks/{workspace-cxqtyqa4.js → location-service-map-vty6n0wh.js} +30 -30
  249. package/dist/chunks/{workspace-qs1x3754.js → location-service-map-vvpv9ns1.js} +17 -17
  250. package/dist/chunks/{workspace-6h5kb07x.js → location-service-map-vwwev676.js} +20 -20
  251. package/dist/chunks/{workspace-6jgmv1yx.js → location-service-map-vwwr1smn.js} +13 -13
  252. package/dist/chunks/{workspace-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{workspace-x6cge8hj.js → location-service-map-vzde6xyn.js} +11 -11
  254. package/dist/chunks/{workspace-60swyqgb.js → location-service-map-w2qts10m.js} +6 -6
  255. package/dist/chunks/{workspace-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{workspace-c30fjtmk.js → location-service-map-w7dehz3m.js} +1 -1
  257. package/dist/chunks/{workspace-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  258. package/dist/chunks/{workspace-nm95p8zp.js → location-service-map-wh6fjzrx.js} +6 -6
  259. package/dist/chunks/{workspace-k6hm1c4z.js → location-service-map-wz2t62v3.js} +19 -19
  260. package/dist/chunks/{workspace-br1eash1.js → location-service-map-wz951ncz.js} +22 -22
  261. package/dist/chunks/{workspace-18e56dsp.js → location-service-map-x0511brf.js} +4 -4
  262. package/dist/chunks/{workspace-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{workspace-jwef205w.js → location-service-map-x3nsqd1m.js} +10 -10
  264. package/dist/chunks/{workspace-x43y2vfs.js → location-service-map-x43y2vfs.js} +2 -2
  265. package/dist/chunks/{workspace-w2tqht5n.js → location-service-map-x9v2dh4x.js} +3 -3
  266. package/dist/chunks/{workspace-9shdk57a.js → location-service-map-xgsctnpj.js} +51 -51
  267. package/dist/chunks/{workspace-31japxcc.js → location-service-map-xqwexc54.js} +27 -27
  268. package/dist/chunks/{workspace-g47eftgs.js → location-service-map-xrmecj4h.js} +9 -9
  269. package/dist/chunks/{workspace-4knw0yd9.js → location-service-map-y0cz2y4y.js} +43 -43
  270. package/dist/chunks/{workspace-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{workspace-y71avatq.js → location-service-map-y71avatq.js} +1 -1
  272. package/dist/chunks/{workspace-j2qyabf0.js → location-service-map-yam1kpwt.js} +36 -36
  273. package/dist/chunks/{workspace-xrnzdda7.js → location-service-map-yg5z348j.js} +25 -25
  274. package/dist/chunks/{workspace-2atctz6s.js → location-service-map-ygrvqt5w.js} +167 -167
  275. package/dist/chunks/{workspace-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{workspace-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
  277. package/dist/chunks/{workspace-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{workspace-5nrew705.js → location-service-map-z2qbjhyn.js} +5 -5
  279. package/dist/chunks/{workspace-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
  280. package/dist/chunks/{workspace-62jy5cfr.js → location-service-map-z69s9t6b.js} +5 -5
  281. package/dist/chunks/{workspace-r6fr6xhv.js → location-service-map-zbf6p4c7.js} +19 -18
  282. package/dist/chunks/{workspace-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{workspace-26hypp0s.js → location-service-map-zjpkrprg.js} +35 -35
  284. package/dist/chunks/{workspace-saahjfzz.js → location-service-map-zqk2wx4m.js} +7 -7
  285. package/dist/chunks/{workspace-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{workspace-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{workspace-behfe7zr.js → location-service-map-zz9j5mn1.js} +4 -4
  288. package/dist/chunks/{workspace-gha35mp7.js → location-service-map-zzmg2a8m.js} +53 -53
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  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 +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  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 +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +87 -87
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +108 -108
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +341 -341
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin.js +222 -222
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +94 -94
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +72 -72
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +219 -219
  576. package/dist/session/execution.js +124 -124
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +75 -75
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +223 -223
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +218 -218
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +213 -213
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +118 -118
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +15 -15
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +80 -80
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +75 -75
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +89 -89
  686. package/package.json +8 -8
  687. package/dist/chunks/workspace-0mesazry.js +0 -4
  688. package/dist/chunks/workspace-8g1qq46z.js +0 -247
  689. package/dist/chunks/workspace-by5v678g.js +0 -18
  690. package/dist/chunks/workspace-dx1xsamq.js +0 -462
  691. package/dist/chunks/workspace-mbnhm94y.js +0 -22
  692. /package/dist/chunks/{workspace-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{workspace-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{workspace-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{workspace-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{workspace-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{workspace-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{workspace-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{workspace-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{workspace-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{workspace-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  702. /package/dist/chunks/{workspace-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{workspace-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{workspace-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{workspace-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{workspace-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{workspace-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{workspace-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{workspace-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  710. /package/dist/chunks/{workspace-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{workspace-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  712. /package/dist/chunks/{workspace-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{workspace-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{workspace-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  715. /package/dist/chunks/{workspace-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{workspace-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{workspace-922hggd3.js → location-service-map-922hggd3.js} +0 -0
  718. /package/dist/chunks/{workspace-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{workspace-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{workspace-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{workspace-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{workspace-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{workspace-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{workspace-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{workspace-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{workspace-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{workspace-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{workspace-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{workspace-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{workspace-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{workspace-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{workspace-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{workspace-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  734. /package/dist/chunks/{workspace-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{workspace-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{workspace-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{workspace-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{workspace-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{workspace-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{workspace-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{workspace-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{workspace-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{workspace-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{workspace-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{workspace-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{workspace-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  747. /package/dist/chunks/{workspace-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{workspace-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  749. /package/dist/chunks/{workspace-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{workspace-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  751. /package/dist/chunks/{workspace-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{workspace-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{workspace-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{workspace-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{workspace-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{workspace-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{workspace-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{workspace-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{workspace-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{workspace-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{workspace-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{workspace-paphc93g.js → location-service-map-paphc93g.js} +0 -0
  763. /package/dist/chunks/{workspace-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{workspace-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{workspace-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{workspace-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{workspace-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{workspace-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{workspace-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{workspace-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{workspace-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{workspace-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{workspace-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{workspace-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{workspace-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{workspace-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{workspace-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{workspace-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  779. /package/dist/chunks/{workspace-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{workspace-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{workspace-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{workspace-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{workspace-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service42
3
- } from "./workspace-qs1x3754.js";
2
+ Service62
3
+ } from "./location-service-map-vvpv9ns1.js";
4
4
  import {
5
- Service22
6
- } from "./workspace-1k8a3rj6.js";
5
+ Service23
6
+ } from "./location-service-map-5kvfrgqq.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./workspace-x1ezjp6w.js";
10
+ } from "./location-service-map-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make6
19
+ make: () => make10
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make6 = Effect.gen(function* () {
23
- const sessions = yield* Service22;
24
- const jobs = yield* Service42;
22
+ var make10 = Effect.gen(function* () {
23
+ const sessions = yield* Service23;
24
+ const jobs = yield* Service62;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make6 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make6, exports_subagent_job };
61
+ export { make10, exports_subagent_job };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./workspace-beamfkq3.js";
2
+ Service78,
3
+ node83
4
+ } from "./location-service-map-7g49kwy5.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./workspace-sm6980w8.js";
6
+ Service73,
7
+ node78
8
+ } from "./location-service-map-01p65wz6.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./workspace-kg06axw8.js";
12
+ } from "./location-service-map-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./workspace-tazgh4e4.js";
17
+ } from "./location-service-map-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./workspace-9rqn6x4v.js";
20
+ } from "./location-service-map-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info5,
29
+ Info: () => Info4,
30
30
  Mode: () => Mode2,
31
- Service: () => Service20,
31
+ Service: () => Service17,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node24
33
+ node: () => node21
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service20 extends Context.Service()("@opencode/Vcs") {
48
+ class Service17 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service20, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
53
- const bus = yield* Service79;
52
+ const location = yield* Service73;
53
+ const bus = yield* Service78;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service20.of({
118
+ return Service17.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node24 = makeLocationNode({
165
- service: Service20,
164
+ var node21 = makeLocationNode({
165
+ service: Service17,
166
166
  layer,
167
- deps: [FSUtil.node, node81, node84]
167
+ deps: [FSUtil.node, node78, node83]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service20, node24, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service17, node21, exports_vcs };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./workspace-rpb40cdh.js";
2
+ Service79,
3
+ node84
4
+ } from "./location-service-map-1j3gw5vb.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./workspace-y71avatq.js";
7
+ } from "./location-service-map-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node74
12
- } from "./workspace-87deq66t.js";
11
+ node52
12
+ } from "./location-service-map-my4qt5ka.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./workspace-faypxj3z.js";
15
+ } from "./location-service-map-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./workspace-9rqn6x4v.js";
18
+ } from "./location-service-map-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: () => ID11,
25
- Info: () => Info25,
24
+ ID: () => ID6,
25
+ Info: () => Info20,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service69,
27
+ Service: () => Service47,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node73
29
+ configured: () => configured8,
30
+ node: () => node51
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 ID11 = Workspace.ID;
38
+ var ID6 = Workspace.ID;
39
39
 
40
- class Info25 extends Schema.Class("Workspace.Info")({
41
- id: ID11,
40
+ class Info20 extends Schema.Class("Workspace.Info")({
41
+ id: ID6,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,25 +46,25 @@ class Info25 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID11,
53
+ workspaceID: ID6,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service69 extends Context.Service()("@opencode/Workspace") {
59
+ class Service47 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service69,
61
+ var configured8 = (options = {}) => makeGlobalNode({
62
+ service: Service47,
63
63
  layer: layer(options),
64
- deps: [node85, node74]
64
+ deps: [node84, node52]
65
65
  });
66
- var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
67
- const db = (yield* Service80).db;
66
+ var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
67
+ const db = (yield* Service79).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(Service69, 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 Info25({
83
+ const info = (row, binding) => new Info20({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service69, 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 Service69.of({
157
+ return Service47.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID11.create();
159
+ const workspaceID = input.id ?? ID6.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(Service69, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node73 = configured11();
224
+ var node51 = configured8();
225
225
 
226
- export { ID11, Info25, NotFound3, CreateConflict2, Service69, configured11, node73, exports_workspace };
226
+ export { ID6, Info20, NotFound3, CreateConflict2, Service47, configured8, node51, exports_workspace };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./location-service-map-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: () => Service74,
10
- node: () => node79
9
+ Service: () => Service71,
10
+ node: () => node76
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 Service74 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service71 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service74, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service71, 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(Service74, 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 Service74.of({ has, register, trigger });
57
+ return Service71.of({ has, register, trigger });
58
58
  }));
59
- var node79 = makeLocationNode({ service: Service74, layer, deps: [] });
59
+ var node76 = makeLocationNode({ service: Service71, layer, deps: [] });
60
60
 
61
- export { Service74, node79, exports_hooks };
61
+ export { Service71, node76, exports_hooks };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./workspace-beamfkq3.js";
2
+ Service78,
3
+ node83
4
+ } from "./location-service-map-7g49kwy5.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./workspace-sm6980w8.js";
6
+ Service73,
7
+ node78
8
+ } from "./location-service-map-01p65wz6.js";
9
9
  import {
10
- ID2
11
- } from "./workspace-0mesazry.js";
10
+ ID4
11
+ } from "./location-service-map-6kdq0pjd.js";
12
12
  import {
13
- Service63,
13
+ Service43,
14
14
  login2,
15
- node67
16
- } from "./workspace-ncyvmtt2.js";
15
+ node47
16
+ } from "./location-service-map-6ygqctmj.js";
17
17
  import {
18
18
  lazy2
19
- } from "./workspace-88xbtdfr.js";
19
+ } from "./location-service-map-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./workspace-9rqn6x4v.js";
22
+ } from "./location-service-map-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput2,
28
- Event: () => Event2,
27
+ CreateInput: () => CreateInput3,
28
+ Event: () => Event6,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info2,
31
- NotFoundError: () => NotFoundError2,
30
+ Info: () => Info5,
31
+ NotFoundError: () => NotFoundError3,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service13,
33
+ Service: () => Service21,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node16
35
+ node: () => node25
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event2 } from "@opencode/schema/pty";
40
+ import { Event as Event6 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info2 = Pty.Info;
45
- var CreateInput2 = Pty.CreateInput;
44
+ var Info5 = Pty.Info;
45
+ var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID2
48
+ class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID4
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID2
54
+ ptyID: ID4
55
55
  }) {
56
56
  }
57
57
 
58
- class Service13 extends Context.Service()("@opencode/Pty") {
58
+ class Service21 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service13, Effect.gen(function* () {
61
- const bus = yield* Service79;
62
- const location = yield* Service76;
63
- const shell = yield* Service63;
60
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
61
+ const bus = yield* Service78;
62
+ const location = yield* Service73;
63
+ const shell = yield* Service43;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError2({ ptyID: id });
100
+ return yield* new NotFoundError3({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID2.ascending();
126
+ const id = ID4.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service13.of({ list, get, create, update, remove, write, attach });
271
+ return Service21.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node16 = makeLocationNode({
274
- service: Service13,
273
+ var node25 = makeLocationNode({
274
+ service: Service21,
275
275
  layer,
276
- deps: [node84, node81, node67]
276
+ deps: [node83, node78, node47]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node16, exports_pty, Event2 };
279
+ export { Info5, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service21, node25, exports_pty, Event6 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-922hggd3.js";
4
- import {
5
- Service80,
6
- node85
7
- } from "./workspace-rpb40cdh.js";
3
+ } from "./location-service-map-922hggd3.js";
8
4
  import {
9
5
  Service79,
10
6
  node84
11
- } from "./workspace-beamfkq3.js";
7
+ } from "./location-service-map-1j3gw5vb.js";
12
8
  import {
13
9
  Service78,
14
10
  node83
15
- } from "./workspace-jefma2gq.js";
11
+ } from "./location-service-map-7g49kwy5.js";
12
+ import {
13
+ Service75,
14
+ node80
15
+ } from "./location-service-map-7zdm33ac.js";
16
16
  import {
17
- ID18,
17
+ ID15,
18
18
  Current3,
19
- Info33,
19
+ Info30,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event18,
22
22
  Vcs3
23
- } from "./workspace-81swgkk7.js";
23
+ } from "./location-service-map-d67aqa6n.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./workspace-8p4f9s12.js";
27
+ } from "./location-service-map-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./workspace-cfpkc3c9.js";
30
+ } from "./location-service-map-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./workspace-9rqn6x4v.js";
33
+ } from "./location-service-map-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info32,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID14,
40
+ Info: () => Info29,
41
+ NotFoundError: () => NotFoundError9,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service74,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node79,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID14 = ID15;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info29 = Info30;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID14
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service74 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,12 +94,12 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service77, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service78;
99
+ const git = yield* Service75;
100
100
  const proc = yield* AppProcess.Service;
101
- const bus = yield* Service79;
102
- const db = (yield* Service80).db;
101
+ const bus = yield* Service78;
102
+ const db = (yield* Service79).db;
103
103
  const announcing = new Set;
104
104
  const persist = Effect.fnUntraced(function* (project) {
105
105
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event20.Updated, fromRow(row));
110
+ yield* bus.publish(Event18.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID17.global,
147
+ previous: project.previous ?? ID14.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
167
167
  time_updated: Date.now()
168
168
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
169
169
  if (!row)
170
- return yield* new NotFoundError10({ projectID: input.projectID });
170
+ return yield* new NotFoundError9({ projectID: input.projectID });
171
171
  const project = fromRow(row);
172
- yield* bus.publish(Event20.Updated, project);
172
+ yield* bus.publish(Event18.Updated, project);
173
173
  return project;
174
174
  });
175
175
  const cached = Effect.fnUntraced(function* (dir) {
176
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
177
177
  return;
178
178
  }));
179
179
  });
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
184
184
  const normalized = url(origin);
185
185
  if (!normalized)
186
186
  return;
187
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
+ return ID14.make(Hash.fast(`git-remote:${normalized}`));
188
188
  });
189
189
  function url(input) {
190
190
  const value = input.trim();
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
209
209
  }
210
210
  const rootCommit = Effect.fnUntraced(function* (repo) {
211
211
  const root = (yield* git.history.rootCommits(repo))[0];
212
- return root ? ID17.make(root) : undefined;
212
+ return root ? ID14.make(root) : undefined;
213
213
  });
214
214
  const hgRoot = Effect.fnUntraced(function* (worktree) {
215
215
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
225
225
  return;
226
226
  const node = result.stdout.toString("utf8").split(`
227
227
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
228
- return node ? ID17.make(node) : undefined;
228
+ return node ? ID14.make(node) : undefined;
229
229
  });
230
230
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
231
231
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
234
234
  const id = previous ?? (yield* hgRoot(worktree));
235
235
  return {
236
236
  previous,
237
- id: id ?? ID17.global,
237
+ id: id ?? ID14.global,
238
238
  directory: worktree,
239
239
  vcs: { type: "hg", store }
240
240
  };
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
251
251
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
252
252
  return yield* persist({
253
253
  previous,
254
- id: id ?? ID17.global,
254
+ id: id ?? ID14.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
265
265
  });
266
266
  }
267
267
  return yield* persist({
268
- id: ID17.make(Hash.fast(`directory:${directory}`)),
268
+ id: ID14.make(Hash.fast(`directory:${directory}`)),
269
269
  directory,
270
270
  canonical: directory,
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service77.of({ list, update, resolve });
274
+ return Service74.of({ list, update, resolve });
275
275
  }));
276
- var node82 = makeGlobalNode({
277
- service: Service77,
276
+ var node79 = makeGlobalNode({
277
+ service: Service74,
278
278
  layer,
279
- deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
279
+ deps: [node83, node84, FSUtil.node, node80, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
282
+ export { ID14, Vcs2, Current2, Info29, UpdateInput3, NotFoundError9, root2, Service74, node79, exports_project };