@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,10 +1,10 @@
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
6
  __export
7
- } from "./workspace-9rqn6x4v.js";
7
+ } from "./location-service-map-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event14,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID7,
20
- Info: () => Info21,
19
+ ID: () => ID16,
20
+ Info: () => Info31,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError6,
24
- Reply: () => Reply2,
25
- Service: () => Service58,
23
+ NotFoundError: () => NotFoundError10,
24
+ Reply: () => Reply3,
25
+ Service: () => Service76,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer23,
29
- node: () => node62,
28
+ layer: () => layer25,
29
+ node: () => node81,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event14 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID7 = Form.ID;
39
- var Info21 = Form.Info;
38
+ var ID16 = Form.ID;
39
+ var Info31 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID7
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID16
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID7
56
+ id: ID16
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID7
64
+ id: ID16
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID7,
72
+ id: ID16,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service58 extends Context.Service()("@opencode/Form") {
82
+ class Service76 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer23 = Layer.effect(Service58, Effect.gen(function* () {
85
- const bus = yield* Service79;
84
+ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
85
+ const bus = yield* Service78;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID7.create();
92
+ const id = input.id ?? ID16.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service58.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service76.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node62 = makeLocationNode({ service: Service58, layer: layer23, deps: [node84] });
158
+ var node81 = makeLocationNode({ service: Service76, layer: layer25, deps: [node83] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID7, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service58, layer23, node62, validateAnswer2, validateFields2, exports_form, Event14 };
310
+ export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node81, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
9
+ make: () => make14,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
32
+ function make14(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./workspace-gd4qta3r.js";
3
+ } from "./location-service-map-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./workspace-tvtrv512.js";
6
+ } from "./location-service-map-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./workspace-kg06axw8.js";
9
+ } from "./location-service-map-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./workspace-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service48,
21
+ Service: () => Service53,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node52
23
+ node: () => node59
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service48 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service53 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service48, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service48.of({
125
+ return Service53.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node52 = makeLocationNode({
143
- service: Service48,
142
+ var node59 = makeLocationNode({
143
+ service: Service53,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service48, node52, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service53, node59, exports_tool_output2 };
@@ -0,0 +1,247 @@
1
+ import {
2
+ node72
3
+ } from "./location-service-map-ek11p338.js";
4
+ import {
5
+ node85
6
+ } from "./location-service-map-4e4kessa.js";
7
+ import {
8
+ node81
9
+ } from "./location-service-map-ndwy16me.js";
10
+ import {
11
+ node75
12
+ } from "./location-service-map-mz9bf9p8.js";
13
+ import {
14
+ node74
15
+ } from "./location-service-map-388v9ggf.js";
16
+ import {
17
+ node40
18
+ } from "./location-service-map-0scfkq5x.js";
19
+ import {
20
+ node78,
21
+ boundNode2
22
+ } from "./location-service-map-01p65wz6.js";
23
+ import {
24
+ configured5,
25
+ node44
26
+ } from "./location-service-map-s6tekys1.js";
27
+ import {
28
+ node50
29
+ } from "./location-service-map-jy403fjy.js";
30
+ import {
31
+ node26
32
+ } from "./location-service-map-vav7xn8m.js";
33
+ import {
34
+ node58
35
+ } from "./location-service-map-b11w0axe.js";
36
+ import {
37
+ node17
38
+ } from "./location-service-map-3ywqk9m6.js";
39
+ import {
40
+ node16
41
+ } from "./location-service-map-msvc9xvg.js";
42
+ import {
43
+ node73
44
+ } from "./location-service-map-j3rsgqd3.js";
45
+ import {
46
+ node23
47
+ } from "./location-service-map-941xxfb4.js";
48
+ import {
49
+ node62
50
+ } from "./location-service-map-xrmecj4h.js";
51
+ import {
52
+ node39
53
+ } from "./location-service-map-zzmg2a8m.js";
54
+ import {
55
+ Service60,
56
+ node65
57
+ } from "./location-service-map-4m2pmvxz.js";
58
+ import {
59
+ node34
60
+ } from "./location-service-map-abthsg09.js";
61
+ import {
62
+ node76
63
+ } from "./location-service-map-q280h65c.js";
64
+ import {
65
+ node69
66
+ } from "./location-service-map-k8snxye3.js";
67
+ import {
68
+ node66
69
+ } from "./location-service-map-mtp4y8rp.js";
70
+ import {
71
+ configured11,
72
+ node57
73
+ } from "./location-service-map-djkss86x.js";
74
+ import {
75
+ node29
76
+ } from "./location-service-map-1htcdqw7.js";
77
+ import {
78
+ node61
79
+ } from "./location-service-map-yg5z348j.js";
80
+ import {
81
+ node38
82
+ } from "./location-service-map-k5yc666g.js";
83
+ import {
84
+ node48
85
+ } from "./location-service-map-qp17mr4w.js";
86
+ import {
87
+ node37
88
+ } from "./location-service-map-56dfxjhd.js";
89
+ import {
90
+ node41
91
+ } from "./location-service-map-6bfjnmts.js";
92
+ import {
93
+ node30
94
+ } from "./location-service-map-dt11njbd.js";
95
+ import {
96
+ node28
97
+ } from "./location-service-map-6q2ygfvt.js";
98
+ import {
99
+ node60
100
+ } from "./location-service-map-dd0p5wnw.js";
101
+ import {
102
+ node47
103
+ } from "./location-service-map-6ygqctmj.js";
104
+ import {
105
+ node59
106
+ } from "./location-service-map-p6qm4e2m.js";
107
+ import {
108
+ node42
109
+ } from "./location-service-map-xgsctnpj.js";
110
+ import {
111
+ node55
112
+ } from "./location-service-map-aaa4d55n.js";
113
+ import {
114
+ node21
115
+ } from "./location-service-map-pyra53hk.js";
116
+ import {
117
+ node22
118
+ } from "./location-service-map-g75qr6ta.js";
119
+ import {
120
+ node20
121
+ } from "./location-service-map-ckq0dq5k.js";
122
+ import {
123
+ node19
124
+ } from "./location-service-map-2kbv6083.js";
125
+ import {
126
+ node2
127
+ } from "./location-service-map-zjpkrprg.js";
128
+ import {
129
+ node56
130
+ } from "./location-service-map-f2wxj98d.js";
131
+ import {
132
+ node8,
133
+ bound2
134
+ } from "./location-service-map-844ef7ks.js";
135
+ import {
136
+ node13
137
+ } from "./location-service-map-vty6n0wh.js";
138
+ import {
139
+ node14
140
+ } from "./location-service-map-wz951ncz.js";
141
+ import {
142
+ node15
143
+ } from "./location-service-map-a3g94e75.js";
144
+ import {
145
+ node5
146
+ } from "./location-service-map-435pvmfy.js";
147
+ import {
148
+ node4
149
+ } from "./location-service-map-6x8d9r7z.js";
150
+ import {
151
+ node25
152
+ } from "./location-service-map-q35hfxt0.js";
153
+ import {
154
+ node12
155
+ } from "./location-service-map-5tew0ahy.js";
156
+ import {
157
+ node3
158
+ } from "./location-service-map-m8yqs7k0.js";
159
+ import {
160
+ __export
161
+ } from "./location-service-map-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service60,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node65
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode/util/effect/layer-node";
174
+ import { Node } from "@opencode/util/effect/app-node";
175
+ var nodes = [
176
+ node78,
177
+ node50,
178
+ node44,
179
+ node72,
180
+ node40,
181
+ node48,
182
+ node55,
183
+ node22,
184
+ node75,
185
+ node74,
186
+ node73,
187
+ node85,
188
+ node19,
189
+ node76,
190
+ node8,
191
+ node5,
192
+ node4,
193
+ node20,
194
+ node17,
195
+ node16,
196
+ node47,
197
+ node25,
198
+ node42,
199
+ node41,
200
+ node29,
201
+ node57,
202
+ node56,
203
+ node26,
204
+ node58,
205
+ node39,
206
+ node69,
207
+ node61,
208
+ node59,
209
+ node62,
210
+ node30,
211
+ node37,
212
+ node34,
213
+ node81,
214
+ node23,
215
+ node15,
216
+ node38,
217
+ node14,
218
+ node66,
219
+ node13,
220
+ node12,
221
+ node28,
222
+ node60,
223
+ node3,
224
+ node21,
225
+ node2
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node44.replace(configured5({ project: false, global: false })),
230
+ node57.replace(configured11({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node78.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node8.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service49
3
- } from "./workspace-qp21pdsm.js";
2
+ Service40
3
+ } from "./location-service-map-s6tekys1.js";
4
4
  import {
5
5
  match2
6
- } from "./workspace-y1fvbwt7.js";
6
+ } from "./location-service-map-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./workspace-qsdy395h.js";
9
+ } from "./location-service-map-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./workspace-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin17
18
+ Plugin: () => Plugin20
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin17 = define({
22
+ var Plugin20 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service49;
25
+ const config = yield* Service40;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin17 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin17, exports_policy };
38
+ export { Plugin20, exports_policy };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured4,
11
- layer: () => layer17,
12
- make: () => make19,
13
- node: () => node46,
10
+ configured: () => configured10,
11
+ layer: () => layer20,
12
+ make: () => make17,
13
+ node: () => node54,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make19()
19
+ defaultValue: () => make17()
20
20
  });
21
- function make19(input = {}) {
21
+ function make17(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make19(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer17 = (input) => Layer.succeed(Metadata2, make19(input));
32
- var configured4 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
33
- var node46 = configured4();
31
+ var layer20 = (input) => Layer.succeed(Metadata2, make17(input));
32
+ var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
+ var node54 = configured10();
34
34
 
35
- export { Metadata2, make19, useragent2, layer17, configured4, node46, exports_app };
35
+ export { Metadata2, make17, useragent2, layer20, configured10, node54, exports_app };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./workspace-5t3nmthw.js";
3
+ } from "./location-service-map-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service25,
11
+ Service: () => Service31,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer11,
13
+ layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node29
15
+ node: () => node36
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service25.of({ bind, close, closeAll });
359
+ return Service31.of({ bind, close, closeAll });
360
360
  }));
361
- var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node29 = makeGlobalNode({ service: Service25, layer: layer11, deps: [webSocketConstructor2] });
364
+ var node36 = makeGlobalNode({ service: Service31, layer: layer13, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service25, makeLayer2, layer11, node29, exports_model_transport };
366
+ export { Service31, makeLayer2, layer13, node36, exports_model_transport };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./workspace-qfa1cgps.js";
3
+ } from "./location-service-map-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";