@opencode/core 0.0.0-dev-20615 → 0.0.0-dev-20619

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +92 -92
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{tool-15brx7xh.js → location-service-map-010seb99.js} +26 -26
  8. package/dist/chunks/{tool-wchs5kcb.js → location-service-map-07th4jzr.js} +38 -4
  9. package/dist/chunks/{tool-dfjg1bp5.js → location-service-map-0bp78v74.js} +56 -56
  10. package/dist/chunks/{tool-a72skx39.js → location-service-map-0dscybm1.js} +5 -5
  11. package/dist/chunks/{tool-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{tool-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{tool-8m8eqb0p.js → location-service-map-0z6d4rmk.js} +11 -11
  14. package/dist/chunks/{tool-gccjnz6h.js → location-service-map-127b9nq3.js} +2 -2
  15. package/dist/chunks/{tool-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{tool-jb98t3yg.js → location-service-map-1e2txdvf.js} +6 -6
  17. package/dist/chunks/{tool-nxn2kzp1.js → location-service-map-1eyzcjgj.js} +7 -7
  18. package/dist/chunks/{tool-faawnrv4.js → location-service-map-1gq323dy.js} +12 -12
  19. package/dist/chunks/{tool-psb6wvpf.js → location-service-map-1qcjtthm.js} +14 -14
  20. package/dist/chunks/{tool-33w4ejhs.js → location-service-map-1ygqh575.js} +6 -6
  21. package/dist/chunks/{tool-vq1q2ta7.js → location-service-map-20jgfyrr.js} +8 -8
  22. package/dist/chunks/{tool-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{tool-w9wfhscg.js → location-service-map-2py0agnv.js} +5 -5
  24. package/dist/chunks/{tool-djszqvmq.js → location-service-map-2sejkfem.js} +9 -9
  25. package/dist/chunks/{tool-f2ynrejf.js → location-service-map-2v0n029n.js} +13 -13
  26. package/dist/chunks/{tool-htbz2s2q.js → location-service-map-39a087jp.js} +22 -22
  27. package/dist/chunks/{tool-h2b79v29.js → location-service-map-3cegwx68.js} +2 -2
  28. package/dist/chunks/{tool-nd79nxgk.js → location-service-map-3e49pc6f.js} +17 -17
  29. package/dist/chunks/{tool-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{tool-6gwk5m7m.js → location-service-map-3gvjv2ch.js} +95 -95
  31. package/dist/chunks/{tool-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{tool-150yg2gd.js → location-service-map-3j9bgvtg.js} +5 -5
  33. package/dist/chunks/{tool-8aaqm6qj.js → location-service-map-3rtxz4nr.js} +8 -8
  34. package/dist/chunks/{tool-ycm51zrg.js → location-service-map-3sca11j3.js} +14 -14
  35. package/dist/chunks/{tool-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{tool-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{tool-4rsta4nx.js → location-service-map-3xf8dyep.js} +23 -23
  38. package/dist/chunks/{tool-642av4pa.js → location-service-map-3z5tz087.js} +8 -8
  39. package/dist/chunks/{tool-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{tool-fkngwg2k.js → location-service-map-454g5gmk.js} +27 -27
  41. package/dist/chunks/{tool-sj09p6fx.js → location-service-map-4e3rfxea.js} +24 -24
  42. package/dist/chunks/{tool-3aqx67na.js → location-service-map-4nb8q36b.js} +34 -34
  43. package/dist/chunks/{tool-4ts7tf6z.js → location-service-map-4ts7tf6z.js} +2 -2
  44. package/dist/chunks/{tool-wh6zw745.js → location-service-map-4xpgt2w9.js} +5 -5
  45. package/dist/chunks/{tool-2stxsqvh.js → location-service-map-4zs71apm.js} +4 -4
  46. package/dist/chunks/{tool-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
  47. package/dist/chunks/{tool-9bwc8hw1.js → location-service-map-56n56y98.js} +4 -4
  48. package/dist/chunks/{tool-7d7rzqbv.js → location-service-map-5c68qayq.js} +32 -32
  49. package/dist/chunks/{tool-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
  50. package/dist/chunks/{tool-kt3hcyyz.js → location-service-map-5h6z90ew.js} +24 -24
  51. package/dist/chunks/{tool-5bx9xx12.js → location-service-map-5kga03r5.js} +27 -27
  52. package/dist/chunks/{tool-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{tool-3k34870w.js → location-service-map-5p51aa78.js} +19 -19
  54. package/dist/chunks/{tool-ec3xbt7p.js → location-service-map-5s264ej7.js} +5 -5
  55. package/dist/chunks/{tool-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{tool-3hqn980y.js → location-service-map-5wfscpdf.js} +24 -24
  57. package/dist/chunks/{tool-5yzzbxa7.js → location-service-map-5yzzbxa7.js} +1 -1
  58. package/dist/chunks/{tool-4nj4bn9q.js → location-service-map-6b2zjn2e.js} +9 -9
  59. package/dist/chunks/{tool-h412aj1p.js → location-service-map-6c14dhht.js} +47 -47
  60. package/dist/chunks/{tool-4434d9q2.js → location-service-map-6g7e4dd5.js} +9 -9
  61. package/dist/chunks/{tool-rh254cas.js → location-service-map-6khy56qy.js} +22 -22
  62. package/dist/chunks/{tool-wcwsz0n1.js → location-service-map-6mpgrs7g.js} +12 -12
  63. package/dist/chunks/{tool-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{tool-gnje2431.js → location-service-map-6xvm70p2.js} +1 -1
  65. package/dist/chunks/{tool-73tb2d7t.js → location-service-map-73tb2d7t.js} +1 -1
  66. package/dist/chunks/{tool-bwp70caj.js → location-service-map-74z2pekp.js} +18 -18
  67. package/dist/chunks/{tool-3rwvqde1.js → location-service-map-769zxr4g.js} +22 -22
  68. package/dist/chunks/{tool-pfhas51f.js → location-service-map-78m5jnv1.js} +11 -11
  69. package/dist/chunks/{tool-k2rcv5mf.js → location-service-map-7ajdsyfz.js} +19 -19
  70. package/dist/chunks/{tool-2r4zy24c.js → location-service-map-7bm3957h.js} +36 -36
  71. package/dist/chunks/{tool-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{tool-1spn70p8.js → location-service-map-7d15eyz8.js} +33 -33
  73. package/dist/chunks/{tool-0jwsre1p.js → location-service-map-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{tool-jebbcwb7.js → location-service-map-7gjj60kp.js} +179 -179
  75. package/dist/chunks/{tool-7z8hv35c.js → location-service-map-7hs4xefr.js} +41 -41
  76. package/dist/chunks/{tool-qptn7k98.js → location-service-map-7q2mmdwt.js} +23 -23
  77. package/dist/chunks/{tool-8f6m8c4b.js → location-service-map-7t7wryz1.js} +11 -11
  78. package/dist/chunks/{tool-1e1wjnhp.js → location-service-map-7yg6rx9g.js} +7 -7
  79. package/dist/chunks/{tool-98tegs2y.js → location-service-map-83h15a4g.js} +26 -26
  80. package/dist/chunks/{tool-1dvck2a7.js → location-service-map-84h8c373.js} +2 -2
  81. package/dist/chunks/{tool-sp63qzw1.js → location-service-map-84hrpz0c.js} +26 -26
  82. package/dist/chunks/{tool-wvpq0bw3.js → location-service-map-86andz90.js} +1 -1
  83. package/dist/chunks/{tool-01txzqdp.js → location-service-map-8azwypgr.js} +38 -38
  84. package/dist/chunks/{tool-t5rxgedn.js → location-service-map-8bw9sbtk.js} +3 -3
  85. package/dist/chunks/{tool-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{tool-tj5stkpz.js → location-service-map-8dyv2drs.js} +24 -24
  87. package/dist/chunks/{tool-q8dg0qrx.js → location-service-map-8ngk0gag.js} +18 -18
  88. package/dist/chunks/{tool-cfsekr6v.js → location-service-map-8sze2n9a.js} +6 -6
  89. package/dist/chunks/{tool-9m1qv4sr.js → location-service-map-8x1h6qvw.js} +17 -17
  90. package/dist/chunks/{tool-jghb6zsz.js → location-service-map-8z8t28dy.js} +25 -25
  91. package/dist/chunks/{tool-d761m3y3.js → location-service-map-96g0xk8f.js} +9 -9
  92. package/dist/chunks/{tool-y3cnjxb9.js → location-service-map-9j2j83bv.js} +25 -25
  93. package/dist/chunks/{tool-veq1ptvw.js → location-service-map-9j9t3aqc.js} +28 -28
  94. package/dist/chunks/{tool-h6nxw0pd.js → location-service-map-9szwjyee.js} +8 -8
  95. package/dist/chunks/{tool-rvzqsjbs.js → location-service-map-9w81ccxg.js} +15 -15
  96. package/dist/chunks/{tool-mh8avh3a.js → location-service-map-9wh8y7ww.js} +28 -28
  97. package/dist/chunks/{tool-5qwkxp89.js → location-service-map-9x77fmbz.js} +4 -4
  98. package/dist/chunks/{tool-d13qwqgh.js → location-service-map-9y7qykjj.js} +20 -20
  99. package/dist/chunks/{tool-at1f3efs.js → location-service-map-9yfsze0z.js} +16 -16
  100. package/dist/chunks/{tool-7v9xsq6d.js → location-service-map-a04314x9.js} +21 -21
  101. package/dist/chunks/{tool-wdg5bjkg.js → location-service-map-a6jacbea.js} +7 -7
  102. package/dist/chunks/{tool-e9w3b6g9.js → location-service-map-aaerayjc.js} +2 -2
  103. package/dist/chunks/{tool-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  104. package/dist/chunks/{tool-0vgvvwxq.js → location-service-map-ag4dv9qd.js} +6 -6
  105. package/dist/chunks/{tool-5hj0wrn5.js → location-service-map-awqjr0f0.js} +19 -19
  106. package/dist/chunks/{tool-722t8cr8.js → location-service-map-b3drqneq.js} +3 -3
  107. package/dist/chunks/{tool-z6c3x22d.js → location-service-map-b674v2dg.js} +5 -5
  108. package/dist/chunks/{tool-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{tool-c2jpvny9.js → location-service-map-bsg68v4g.js} +24 -24
  110. package/dist/chunks/{tool-1djc6rq1.js → location-service-map-bvddx0k2.js} +27 -27
  111. package/dist/chunks/{tool-7t6d0zf6.js → location-service-map-c1b3n5g6.js} +5 -5
  112. package/dist/chunks/{tool-bbd0f1y9.js → location-service-map-c1p19z3d.js} +17 -17
  113. package/dist/chunks/{tool-j75aexbk.js → location-service-map-c3k8tvkr.js} +35 -35
  114. package/dist/chunks/{tool-v7wmy86e.js → location-service-map-c7ecsckw.js} +5 -5
  115. package/dist/chunks/{tool-rfg5269m.js → location-service-map-cdt8bzej.js} +11 -11
  116. package/dist/chunks/{tool-dr9qm9pw.js → location-service-map-cgdwpeh2.js} +8 -8
  117. package/dist/chunks/{tool-f372e9hx.js → location-service-map-d0bzyg63.js} +4 -4
  118. package/dist/chunks/{tool-kvq6zm8d.js → location-service-map-d1nt0n2x.js} +11 -11
  119. package/dist/chunks/{tool-99rd90tq.js → location-service-map-d3hqfx68.js} +48 -48
  120. package/dist/chunks/{tool-dy8n0qm6.js → location-service-map-d5vprnsh.js} +23 -23
  121. package/dist/chunks/{tool-dh608gq4.js → location-service-map-d78c1g6f.js} +29 -29
  122. package/dist/chunks/{tool-88t4yrn9.js → location-service-map-de3xt6b6.js} +23 -23
  123. package/dist/chunks/location-service-map-depzh27s.js +26 -0
  124. package/dist/chunks/{tool-eq44gh0z.js → location-service-map-dfmhxrz0.js} +19 -19
  125. package/dist/chunks/{tool-2vs2nh1n.js → location-service-map-dhmh7aw6.js} +4 -4
  126. package/dist/chunks/{tool-cx5j657v.js → location-service-map-dmgm8hbn.js} +5 -5
  127. package/dist/chunks/{tool-m6hkzgzt.js → location-service-map-dmst3jkw.js} +19 -19
  128. package/dist/chunks/{tool-5a9tff2n.js → location-service-map-dnxbd4cz.js} +13 -13
  129. package/dist/chunks/{tool-xp6p1dgv.js → location-service-map-e4d6vapj.js} +14 -14
  130. package/dist/chunks/{tool-7wnkabmt.js → location-service-map-e7gdn37t.js} +12 -12
  131. package/dist/chunks/{tool-jyqxqm4f.js → location-service-map-e7qee91r.js} +8 -8
  132. package/dist/chunks/{tool-9t7a50xb.js → location-service-map-eaj1djv9.js} +8 -8
  133. package/dist/chunks/{tool-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{tool-v1gpf2yb.js → location-service-map-egepr5de.js} +38 -38
  135. package/dist/chunks/{tool-wrhmq8wv.js → location-service-map-egwmgdj8.js} +8 -8
  136. package/dist/chunks/{tool-svdf0mx4.js → location-service-map-eqrqh4gv.js} +35 -35
  137. package/dist/chunks/{tool-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{tool-60vkhqe6.js → location-service-map-exrvrd9z.js} +25 -25
  139. package/dist/chunks/{tool-d2czbp48.js → location-service-map-f29mbr7f.js} +4 -4
  140. package/dist/chunks/{tool-71az546q.js → location-service-map-f75zav2x.js} +2 -2
  141. package/dist/chunks/{tool-58xwj6qx.js → location-service-map-fkvh3sbb.js} +71 -71
  142. package/dist/chunks/{tool-ewp9wevh.js → location-service-map-fmjcavrh.js} +3 -3
  143. package/dist/chunks/{tool-vdqy2d40.js → location-service-map-fr2bbqk1.js} +11 -11
  144. package/dist/chunks/{tool-xf8f9mz3.js → location-service-map-fzvcadtp.js} +35 -35
  145. package/dist/chunks/{tool-k86ctsz1.js → location-service-map-g472fneb.js} +9 -9
  146. package/dist/chunks/{tool-x5z5qag1.js → location-service-map-g7f0ex2r.js} +32 -32
  147. package/dist/chunks/{tool-gzwmz214.js → location-service-map-gccvjmvx.js} +35 -35
  148. package/dist/chunks/{tool-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{tool-eg18rmn3.js → location-service-map-gfeskyg4.js} +23 -23
  150. package/dist/chunks/{tool-8a6ws7jr.js → location-service-map-gh5z95q3.js} +9 -9
  151. package/dist/chunks/{tool-maqk305m.js → location-service-map-gmmdfr2g.js} +8 -8
  152. package/dist/chunks/{tool-72rw85ce.js → location-service-map-gn31e51v.js} +11 -11
  153. package/dist/chunks/{tool-3y377wv9.js → location-service-map-gqtdsdt7.js} +4 -4
  154. package/dist/chunks/{tool-58pr7qh6.js → location-service-map-gsjfqrw2.js} +3 -3
  155. package/dist/chunks/{tool-mx1sz4x7.js → location-service-map-gsm55t7w.js} +26 -26
  156. package/dist/chunks/{tool-yk3b2hhw.js → location-service-map-gw4e0q0x.js} +9 -9
  157. package/dist/chunks/{tool-nb12znkd.js → location-service-map-gxg80x33.js} +23 -23
  158. package/dist/chunks/{tool-zy43x3f1.js → location-service-map-h6310vsd.js} +4 -4
  159. package/dist/chunks/{tool-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{tool-dktv53ts.js → location-service-map-h7k8q2pp.js} +42 -42
  161. package/dist/chunks/{tool-64mbz47k.js → location-service-map-ha607pgt.js} +6 -6
  162. package/dist/chunks/{tool-fqa841x5.js → location-service-map-he6yfzaa.js} +16 -16
  163. package/dist/chunks/{tool-gce79w0q.js → location-service-map-hwqq4ms1.js} +19 -19
  164. package/dist/chunks/{tool-4rs0m8vn.js → location-service-map-j4g12xyk.js} +11 -11
  165. package/dist/chunks/{tool-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
  166. package/dist/chunks/{tool-sge72mws.js → location-service-map-je2wj9bc.js} +15 -15
  167. package/dist/chunks/{tool-0ma4vy4p.js → location-service-map-jp0kz9fa.js} +4 -4
  168. package/dist/chunks/location-service-map-jrwe4k30.js +253 -0
  169. package/dist/chunks/{tool-agssjnsy.js → location-service-map-k1pw1nmv.js} +9 -9
  170. package/dist/chunks/{tool-af6c9m8w.js → location-service-map-k5p5r8cn.js} +24 -24
  171. package/dist/chunks/{tool-x48reza4.js → location-service-map-k8aeqdhx.js} +23 -23
  172. package/dist/chunks/{tool-9e5bzkjp.js → location-service-map-kb9j3d72.js} +3 -3
  173. package/dist/chunks/{tool-7ex9xsd9.js → location-service-map-km3npgs7.js} +11 -11
  174. package/dist/chunks/{tool-qycxan82.js → location-service-map-kmr57zyr.js} +12 -12
  175. package/dist/chunks/{tool-s3skzd7w.js → location-service-map-krzfd9gj.js} +25 -25
  176. package/dist/chunks/{tool-gkh9snj0.js → location-service-map-ktjka1hj.js} +21 -21
  177. package/dist/chunks/{tool-qbsvtwmm.js → location-service-map-m0z1mck7.js} +7 -7
  178. package/dist/chunks/{tool-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{tool-1zqsf2j9.js → location-service-map-m3zza4qd.js} +5 -5
  180. package/dist/chunks/{tool-f5gy8qwh.js → location-service-map-m6f3t844.js} +8 -8
  181. package/dist/chunks/{tool-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{tool-cavr175a.js → location-service-map-magykp64.js} +4 -4
  183. package/dist/chunks/{tool-a5fdf1es.js → location-service-map-mkvtt44j.js} +10 -10
  184. package/dist/chunks/{tool-8bha9w2p.js → location-service-map-mm6scpq0.js} +12 -12
  185. package/dist/chunks/{tool-58072hz9.js → location-service-map-mtpeagzc.js} +3 -3
  186. package/dist/chunks/{tool-6c0e94qj.js → location-service-map-n1czvmwq.js} +11 -11
  187. package/dist/chunks/{tool-mw7fyssf.js → location-service-map-namy803z.js} +10 -10
  188. package/dist/chunks/{tool-8yavwngc.js → location-service-map-njjewnx6.js} +13 -13
  189. package/dist/chunks/{tool-w1ry99tz.js → location-service-map-nrq6zt4y.js} +22 -22
  190. package/dist/chunks/{tool-w11tz2pw.js → location-service-map-nxahtb87.js} +35 -35
  191. package/dist/chunks/{tool-dpkg50ah.js → location-service-map-nxm207yx.js} +4 -4
  192. package/dist/chunks/{tool-nm9kjter.js → location-service-map-p1qb3drj.js} +15 -15
  193. package/dist/chunks/{tool-cjmm0qt3.js → location-service-map-p4wg1ppv.js} +60 -60
  194. package/dist/chunks/location-service-map-phz3h32g.js +18 -0
  195. package/dist/chunks/{tool-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{tool-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  197. package/dist/chunks/{tool-v4zkdgc9.js → location-service-map-pkp66tt9.js} +13 -13
  198. package/dist/chunks/{tool-b2mfa9xz.js → location-service-map-pkykh1c4.js} +24 -24
  199. package/dist/chunks/{tool-3rtbn312.js → location-service-map-pp136rg2.js} +27 -27
  200. package/dist/chunks/{tool-0ay65vhm.js → location-service-map-ppw5pgfr.js} +19 -19
  201. package/dist/chunks/{tool-p872nfyh.js → location-service-map-prszkkra.js} +51 -51
  202. package/dist/chunks/{tool-rva2vaqy.js → location-service-map-pvqh8ezh.js} +33 -33
  203. package/dist/chunks/{tool-3srzt07f.js → location-service-map-pxe6kq0w.js} +46 -46
  204. package/dist/chunks/{tool-q0xm7vwc.js → location-service-map-q0xm7vwc.js} +2 -2
  205. package/dist/chunks/{tool-b5w00b0k.js → location-service-map-qdfmmfmw.js} +13 -13
  206. package/dist/chunks/{tool-9e5p6t2h.js → location-service-map-qgx3m4fk.js} +14 -14
  207. package/dist/chunks/{tool-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{tool-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  209. package/dist/chunks/{tool-hksy7w0e.js → location-service-map-qwmkc30s.js} +9 -9
  210. package/dist/chunks/{tool-3px2wxdf.js → location-service-map-qwrw8s1f.js} +22 -22
  211. package/dist/chunks/{tool-xyafkbt0.js → location-service-map-qxjc9qry.js} +3 -3
  212. package/dist/chunks/{tool-scgrse2b.js → location-service-map-qygbw77c.js} +5 -5
  213. package/dist/chunks/{tool-v5twwn9z.js → location-service-map-r05dm99z.js} +19 -19
  214. package/dist/chunks/{tool-esx0q18m.js → location-service-map-r0fjcrds.js} +7 -7
  215. package/dist/chunks/{tool-j2mwjwzb.js → location-service-map-r2jrepys.js} +14 -14
  216. package/dist/chunks/{tool-zhrz246t.js → location-service-map-r7pnpgef.js} +45 -45
  217. package/dist/chunks/{tool-1acjjqhc.js → location-service-map-r8xr0va3.js} +4 -4
  218. package/dist/chunks/{tool-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{tool-atmvy895.js → location-service-map-rj7v2vbk.js} +8 -8
  220. package/dist/chunks/{tool-a4ae1mqs.js → location-service-map-rk1r2hx8.js} +1 -1
  221. package/dist/chunks/{tool-a694798e.js → location-service-map-rmk2c50f.js} +5 -5
  222. package/dist/chunks/{tool-1402mhzs.js → location-service-map-rnp1jeej.js} +45 -45
  223. package/dist/chunks/{tool-pfthk98r.js → location-service-map-rxjhzbnj.js} +6 -6
  224. package/dist/chunks/{tool-qa3qhgw8.js → location-service-map-ryr25ayn.js} +4 -4
  225. package/dist/chunks/{tool-599d5hrs.js → location-service-map-rztntraz.js} +3 -3
  226. package/dist/chunks/{tool-e41k2zcz.js → location-service-map-s64dwba7.js} +31 -31
  227. package/dist/chunks/{tool-hh30mmv6.js → location-service-map-s6ekajw7.js} +4 -4
  228. package/dist/chunks/{tool-qkfezwh6.js → location-service-map-sds13m34.js} +13 -13
  229. package/dist/chunks/{tool-djravzrm.js → location-service-map-szjs91dx.js} +10 -10
  230. package/dist/chunks/{tool-7ad5y3s6.js → location-service-map-szxrsjqx.js} +45 -45
  231. package/dist/chunks/{tool-2hzmp1dp.js → location-service-map-t0aj6zfa.js} +4 -4
  232. package/dist/chunks/{tool-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{tool-4mwpykj0.js → location-service-map-tcay1cqt.js} +6 -6
  234. package/dist/chunks/{tool-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{tool-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  236. package/dist/chunks/{tool-epxcr31w.js → location-service-map-tq5qgs2t.js} +3 -3
  237. package/dist/chunks/{tool-z98n36ea.js → location-service-map-twek8x35.js} +12 -12
  238. package/dist/chunks/{tool-n5w4zgy3.js → location-service-map-twt05vvt.js} +8 -8
  239. package/dist/chunks/{tool-ab5g3gyt.js → location-service-map-v54qpgr0.js} +17 -17
  240. package/dist/chunks/{tool-kzc3h1h3.js → location-service-map-vbfgae2j.js} +4 -4
  241. package/dist/chunks/{tool-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  242. package/dist/chunks/{tool-0gh1f601.js → location-service-map-vey9hnfm.js} +30 -30
  243. package/dist/chunks/{tool-v4xb2j5s.js → location-service-map-vgsk5xvr.js} +22 -22
  244. package/dist/chunks/{tool-m6pz7yaw.js → location-service-map-vjwwgqcm.js} +33 -33
  245. package/dist/chunks/{tool-90ytmqma.js → location-service-map-vwfsyanb.js} +16 -16
  246. package/dist/chunks/{tool-jg9mfmbc.js → location-service-map-vz4efdz7.js} +33 -33
  247. package/dist/chunks/{tool-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{tool-84txncab.js → location-service-map-w1eejvng.js} +5 -5
  249. package/dist/chunks/{tool-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{tool-ykkbspqz.js → location-service-map-w5axg3f4.js} +17 -17
  251. package/dist/chunks/{tool-xa84tjd1.js → location-service-map-w8naej9r.js} +46 -46
  252. package/dist/chunks/{tool-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  253. package/dist/chunks/{tool-pwge32e4.js → location-service-map-wgeww5nz.js} +1 -1
  254. package/dist/chunks/location-service-map-wgyje60p.js +507 -0
  255. package/dist/chunks/{tool-3t6p5jdv.js → location-service-map-wn07hjne.js} +4 -4
  256. package/dist/chunks/{tool-emd75jk3.js → location-service-map-wn1yfdfn.js} +11 -11
  257. package/dist/chunks/{tool-2zdrkm9b.js → location-service-map-wxfxn6b6.js} +9 -9
  258. package/dist/chunks/{tool-veqef7sc.js → location-service-map-x1nrqjen.js} +5 -5
  259. package/dist/chunks/{tool-78ss49vf.js → location-service-map-xa80rzga.js} +13 -13
  260. package/dist/chunks/{tool-vn72gsba.js → location-service-map-xasyx0as.js} +4 -4
  261. package/dist/chunks/{tool-9frdx5hm.js → location-service-map-xcgyncvr.js} +6 -6
  262. package/dist/chunks/{tool-ts9txmc3.js → location-service-map-xf2pa8zd.js} +11 -11
  263. package/dist/chunks/{tool-g5w8qwbj.js → location-service-map-xfkkasph.js} +4 -4
  264. package/dist/chunks/{tool-xkntkrq7.js → location-service-map-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{tool-75ey17xe.js → location-service-map-xn4rysh4.js} +15 -15
  266. package/dist/chunks/{tool-2evx7vn6.js → location-service-map-xr6s0kj2.js} +32 -32
  267. package/dist/chunks/{tool-w3nq1sqw.js → location-service-map-xsgk3b13.js} +9 -9
  268. package/dist/chunks/{tool-ngqw0ypv.js → location-service-map-xv3zg2q6.js} +83 -83
  269. package/dist/chunks/{tool-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{tool-81xr82zh.js → location-service-map-y1rxxbk0.js} +4 -4
  271. package/dist/chunks/{tool-n9gejz5b.js → location-service-map-yathvfgy.js} +5 -5
  272. package/dist/chunks/{tool-p9why5pw.js → location-service-map-yp9bn2b3.js} +31 -31
  273. package/dist/chunks/{tool-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{tool-331jtpav.js → location-service-map-zaf7gkec.js} +11 -11
  275. package/dist/chunks/{tool-2zt2ydz3.js → location-service-map-zb967tnj.js} +8 -8
  276. package/dist/chunks/{tool-0mw89yjh.js → location-service-map-zbfz3xwr.js} +5 -5
  277. package/dist/chunks/{tool-at1kfnmk.js → location-service-map-ze75yzft.js} +8 -8
  278. package/dist/chunks/{tool-0tbrh5mv.js → location-service-map-zfn91hgf.js} +40 -40
  279. package/dist/chunks/{tool-esfye6zx.js → location-service-map-zpewkee0.js} +11 -11
  280. package/dist/chunks/{tool-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{tool-k0aa2bpn.js → location-service-map-zt2bzptc.js} +10 -10
  282. package/dist/chunks/{tool-9hvgyr50.js → location-service-map-zx2ydjtq.js} +38 -38
  283. package/dist/chunks/{tool-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +99 -99
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +2 -2
  424. package/dist/formatter.js +83 -83
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +89 -89
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +89 -89
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +107 -107
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +111 -111
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +90 -90
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +1 -1
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +114 -114
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +90 -90
  553. package/dist/provider.js +97 -97
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +108 -108
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +118 -118
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +105 -105
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +204 -204
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +120 -120
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  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/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +9 -9
  680. package/dist/chunks/tool-55f5yhnr.js +0 -507
  681. package/dist/chunks/tool-c652knrp.js +0 -253
  682. package/dist/chunks/tool-cqsczj1k.js +0 -26
  683. package/dist/chunks/tool-ht5y0zrb.js +0 -18
  684. /package/dist/chunks/{tool-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{tool-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{tool-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{tool-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{tool-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{tool-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{tool-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{tool-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{tool-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{tool-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{tool-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{tool-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  696. /package/dist/chunks/{tool-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{tool-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{tool-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{tool-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{tool-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{tool-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{tool-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{tool-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{tool-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  705. /package/dist/chunks/{tool-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{tool-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{tool-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  708. /package/dist/chunks/{tool-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{tool-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{tool-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{tool-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  712. /package/dist/chunks/{tool-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{tool-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{tool-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{tool-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{tool-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{tool-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{tool-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{tool-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{tool-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{tool-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{tool-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{tool-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{tool-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{tool-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{tool-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{tool-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{tool-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{tool-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{tool-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  731. /package/dist/chunks/{tool-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{tool-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{tool-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{tool-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{tool-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{tool-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{tool-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{tool-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{tool-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{tool-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{tool-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{tool-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{tool-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  744. /package/dist/chunks/{tool-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{tool-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  746. /package/dist/chunks/{tool-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  747. /package/dist/chunks/{tool-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{tool-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{tool-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{tool-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{tool-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{tool-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{tool-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{tool-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{tool-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{tool-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{tool-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{tool-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{tool-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{tool-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{tool-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{tool-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{tool-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{tool-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{tool-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{tool-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{tool-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{tool-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{tool-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{tool-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{tool-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{tool-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{tool-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  774. /package/dist/chunks/{tool-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{tool-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{tool-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{tool-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{tool-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{tool-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{tool-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service84
3
- } from "./tool-epxcr31w.js";
3
+ } from "./location-service-map-tq5qgs2t.js";
4
4
  import {
5
- Service83
6
- } from "./tool-ycm51zrg.js";
5
+ Service81
6
+ } from "./location-service-map-3sca11j3.js";
7
7
  import {
8
- Service43
9
- } from "./tool-4mwpykj0.js";
8
+ Service48
9
+ } from "./location-service-map-tcay1cqt.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./tool-vzs5sf6e.js";
12
+ } from "./location-service-map-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./tool-gftt206x.js";
15
+ } from "./location-service-map-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError10,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./tool-9frdx5hm.js";
23
+ } from "./location-service-map-xcgyncvr.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./tool-ec1grn59.js";
26
+ } from "./location-service-map-ec1grn59.js";
27
27
  import {
28
- Service70
29
- } from "./tool-9e5p6t2h.js";
28
+ Service76
29
+ } from "./location-service-map-qgx3m4fk.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service41
34
- } from "./tool-dy8n0qm6.js";
33
+ Service47
34
+ } from "./location-service-map-d5vprnsh.js";
35
35
  import {
36
- Service39
37
- } from "./tool-0tbrh5mv.js";
36
+ Service45
37
+ } from "./location-service-map-zfn91hgf.js";
38
38
  import {
39
39
  prepare2
40
- } from "./tool-at1f3efs.js";
40
+ } from "./location-service-map-9yfsze0z.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./tool-v5twwn9z.js";
45
+ } from "./location-service-map-r05dm99z.js";
46
46
  import {
47
47
  start2
48
- } from "./tool-hksy7w0e.js";
48
+ } from "./location-service-map-qwmkc30s.js";
49
49
  import {
50
50
  get4
51
- } from "./tool-d761m3y3.js";
51
+ } from "./location-service-map-96g0xk8f.js";
52
52
  import {
53
53
  __export
54
- } from "./tool-9rqn6x4v.js";
54
+ } from "./location-service-map-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make14
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make14 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service83;
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service81;
67
67
  const database = yield* Service84;
68
- const store = yield* Service70;
69
- const instances = yield* Service43;
70
- const execution = yield* Service39;
71
- const admission = yield* Service41;
68
+ const store = yield* Service76;
69
+ const instances = yield* Service48;
70
+ const execution = yield* Service45;
71
+ const admission = yield* Service47;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError8({ sessionID });
77
+ return yield* new NotFoundError10({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service84, database), Effect.provideService(Service81, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service81, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make14, exports_session2 };
332
+ export { make13, exports_session2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make24,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make24 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make24, exports_keyed_mutex };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./tool-z5v4ffb3.js";
5
+ } from "./location-service-map-z5v4ffb3.js";
6
6
  import {
7
- Service59,
8
- node61
9
- } from "./tool-b2mfa9xz.js";
7
+ Service52,
8
+ node54
9
+ } from "./location-service-map-pkykh1c4.js";
10
10
  import {
11
11
  Content2
12
- } from "./tool-15brx7xh.js";
12
+ } from "./location-service-map-010seb99.js";
13
13
  import {
14
14
  detect2
15
- } from "./tool-3smtnn6g.js";
15
+ } from "./location-service-map-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-9rqn6x4v.js";
18
+ } from "./location-service-map-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service4,
36
+ Service: () => Service6,
37
37
  TextPage: () => TextPage2,
38
- node: () => node5,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service4 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service4, Effect.gen(function* () {
334
- const environment = yield* Service59;
335
- return Service4.of({
333
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
334
+ const environment = yield* Service52;
335
+ return Service6.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node5 = makeLocationNode({ service: Service4, layer, deps: [node61] });
340
+ var node7 = makeLocationNode({ service: Service6, layer, deps: [node54] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service4, read2, node5, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./tool-epxcr31w.js";
4
+ } from "./location-service-map-tq5qgs2t.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./tool-ycm51zrg.js";
6
+ Service81,
7
+ node84
8
+ } from "./location-service-map-3sca11j3.js";
9
9
  import {
10
- Service43,
11
- node45
12
- } from "./tool-4mwpykj0.js";
10
+ Service48,
11
+ node50
12
+ } from "./location-service-map-tcay1cqt.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./tool-z5v4ffb3.js";
16
+ } from "./location-service-map-z5v4ffb3.js";
17
17
  import {
18
- Service76,
19
- node80
20
- } from "./tool-1402mhzs.js";
18
+ Service80,
19
+ node83
20
+ } from "./location-service-map-rnp1jeej.js";
21
21
  import {
22
- Ref3
23
- } from "./tool-ab5g3gyt.js";
22
+ Ref4
23
+ } from "./location-service-map-v54qpgr0.js";
24
24
  import {
25
- Service73,
26
- node77
27
- } from "./tool-vdqy2d40.js";
25
+ Service72,
26
+ node75
27
+ } from "./location-service-map-fr2bbqk1.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./tool-gftt206x.js";
30
+ } from "./location-service-map-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./tool-9frdx5hm.js";
32
+ NotFoundError10
33
+ } from "./location-service-map-xcgyncvr.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./tool-ec1grn59.js";
36
+ } from "./location-service-map-ec1grn59.js";
37
37
  import {
38
- Service40
39
- } from "./tool-2vs2nh1n.js";
38
+ Service46
39
+ } from "./location-service-map-dhmh7aw6.js";
40
40
  import {
41
- Service70,
42
- node74
43
- } from "./tool-9e5p6t2h.js";
41
+ Service76,
42
+ node79
43
+ } from "./location-service-map-qgx3m4fk.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service41,
48
- node43,
47
+ Service47,
48
+ node49,
49
49
  moveIDs2
50
- } from "./tool-dy8n0qm6.js";
50
+ } from "./location-service-map-d5vprnsh.js";
51
51
  import {
52
- Service39,
53
- node42
54
- } from "./tool-0tbrh5mv.js";
52
+ Service45,
53
+ node48
54
+ } from "./location-service-map-zfn91hgf.js";
55
55
  import {
56
- node34
57
- } from "./tool-5hj0wrn5.js";
56
+ node26
57
+ } from "./location-service-map-awqjr0f0.js";
58
58
  import {
59
59
  __export
60
- } from "./tool-9rqn6x4v.js";
60
+ } from "./location-service-map-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service27,
68
+ Service: () => Service22,
69
69
  SessionMove: () => exports_move,
70
- node: () => node30
70
+ node: () => node25
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service27 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service22 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service27, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service76;
92
- const locations = yield* Service73;
93
- const store = yield* Service70;
94
- const execution = yield* Service39;
95
- const instances = yield* Service43;
96
- const admission = yield* Service41;
91
+ const projects = yield* Service80;
92
+ const locations = yield* Service72;
93
+ const store = yield* Service76;
94
+ const execution = yield* Service45;
95
+ const instances = yield* Service48;
96
+ const admission = yield* Service47;
97
97
  const database = yield* Service84;
98
- const bus = yield* Service83;
98
+ const bus = yield* Service81;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError10({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref3.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref4.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service40.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service46.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service27.of({
136
+ return Service22.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node30 = makeGlobalNode({
167
- service: Service27,
166
+ var node25 = makeGlobalNode({
167
+ service: Service22,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node80,
173
- node77,
174
- node74,
175
- node42,
176
- node45,
177
- node43,
172
+ node83,
173
+ node75,
174
+ node79,
175
+ node48,
176
+ node50,
177
+ node49,
178
178
  node88,
179
- node87,
180
- node34
179
+ node84,
180
+ node26
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node30, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service22, node25, exports_move };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./location-service-map-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service23,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service23 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service23, awaitActivation2, exports_service };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./tool-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";
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service75
3
- } from "./tool-ab5g3gyt.js";
2
+ Service79
3
+ } from "./location-service-map-v54qpgr0.js";
4
4
  import {
5
- Service52
6
- } from "./tool-3srzt07f.js";
5
+ Service59
6
+ } from "./location-service-map-pxe6kq0w.js";
7
7
  import {
8
8
  Service13
9
- } from "./tool-1e1wjnhp.js";
9
+ } from "./location-service-map-7yg6rx9g.js";
10
10
  import {
11
11
  make10
12
- } from "./tool-73tb2d7t.js";
12
+ } from "./location-service-map-73tb2d7t.js";
13
13
  import {
14
14
  observe2
15
- } from "./tool-qsdy395h.js";
15
+ } from "./location-service-map-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-9rqn6x4v.js";
18
+ } from "./location-service-map-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/formatter.ts
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin35
24
+ Plugin: () => Plugin34
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin35 = define({
32
+ var Plugin34 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service52;
35
+ const config = yield* Service59;
36
36
  const formatter = yield* Service13;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
- const location = yield* Service75;
39
+ const location = yield* Service79;
40
40
  const npm = yield* Npm.Service;
41
41
  const processes = yield* AppProcess.Service;
42
42
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin35, exports_formatter };
88
+ export { Plugin34, exports_formatter };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./tool-2a5m3afh.js";
6
+ } from "./location-service-map-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./tool-1dazxqgg.js";
9
+ } from "./location-service-map-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./tool-b6gygkdw.js";
12
+ } from "./location-service-map-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./tool-aaet6srn.js";
15
+ } from "./location-service-map-aaet6srn.js";
16
16
  import {
17
- Service75,
18
- node79
19
- } from "./tool-ab5g3gyt.js";
17
+ Service79,
18
+ node82
19
+ } from "./location-service-map-v54qpgr0.js";
20
20
  import {
21
- Service60,
22
- node62
23
- } from "./tool-98tegs2y.js";
21
+ Service83,
22
+ node86
23
+ } from "./location-service-map-83h15a4g.js";
24
24
  import {
25
25
  __export
26
- } from "./tool-9rqn6x4v.js";
26
+ } from "./location-service-map-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service59,
33
- node: () => node61
32
+ Service: () => Service52,
33
+ node: () => node54
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service59,
46
+ Service: () => Service52,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node61,
52
+ node: () => node54,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service59 extends Context.Service()("@opencode/Environment") {
61
+ class Service52 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service59, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service75;
66
- const workspace = yield* Service60;
65
+ const location = yield* Service79;
66
+ const workspace = yield* Service83;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service59.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service52.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node61 = makeLocationNode({
71
- service: Service59,
70
+ var node54 = makeLocationNode({
71
+ service: Service52,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node79, node62]
73
+ deps: [CrossSpawnSpawner.node, node82, node86]
74
74
  });
75
75
 
76
- export { Service59, node61, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service52, node54, exports_environment2, makeFiles2, exports_environment3 };