@opencode/core 2.0.1 → 2.0.2

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{repository-ezbaq0hv.js → location-services-03g9n59p.js} +4 -4
  9. package/dist/chunks/{repository-cg1ew3t4.js → location-services-0artwwxx.js} +3 -3
  10. package/dist/chunks/{repository-2k8khapm.js → location-services-0jwsre1p.js} +5 -5
  11. package/dist/chunks/location-services-0mesazry.js +4 -0
  12. package/dist/chunks/{repository-36564s8r.js → location-services-0mt0kscd.js} +29 -29
  13. package/dist/chunks/{repository-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-8c7y8dn0.js → location-services-0pb75hch.js} +5 -5
  15. package/dist/chunks/{repository-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{repository-5892jdtn.js → location-services-0r684n0p.js} +8 -8
  17. package/dist/chunks/{repository-8gs4w1fy.js → location-services-107p1e5w.js} +30 -30
  18. package/dist/chunks/{repository-pctvcs1g.js → location-services-15f8axbg.js} +14 -14
  19. package/dist/chunks/{repository-g4kbd5hn.js → location-services-1a66p2eq.js} +22 -22
  20. package/dist/chunks/{repository-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{repository-1bbkgx8g.js → location-services-1bbkgx8g.js} +1 -1
  22. package/dist/chunks/{repository-h90k734v.js → location-services-1cw6jyks.js} +9 -9
  23. package/dist/chunks/{repository-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{repository-ehajtz8g.js → location-services-1emffesh.js} +5 -5
  25. package/dist/chunks/{repository-fmdgzt8c.js → location-services-1ewwg606.js} +45 -45
  26. package/dist/chunks/{repository-de42ff3x.js → location-services-1ezhg5n2.js} +19 -19
  27. package/dist/chunks/{repository-3yetcf2r.js → location-services-1m7gs3ah.js} +49 -49
  28. package/dist/chunks/{repository-r33ff4dw.js → location-services-1s3p39g4.js} +4 -4
  29. package/dist/chunks/{repository-s2t8c8fj.js → location-services-1txhhsar.js} +4 -4
  30. package/dist/chunks/{repository-w75dnx21.js → location-services-20ct9c8y.js} +42 -42
  31. package/dist/chunks/{repository-fv2d43cy.js → location-services-20tey5zg.js} +25 -25
  32. package/dist/chunks/{repository-qkrnz1pz.js → location-services-219neeqh.js} +5 -5
  33. package/dist/chunks/{repository-21r38tys.js → location-services-21r38tys.js} +1 -1
  34. package/dist/chunks/{repository-bkhh0yw4.js → location-services-24w6x0js.js} +16 -16
  35. package/dist/chunks/{repository-peejr10p.js → location-services-265kqrgy.js} +1 -1
  36. package/dist/chunks/{repository-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  37. package/dist/chunks/location-services-2est6f04.js +76 -0
  38. package/dist/chunks/{repository-yz39bey7.js → location-services-2gv9ss0t.js} +29 -29
  39. package/dist/chunks/{repository-1g6ktzxp.js → location-services-2hf86re2.js} +46 -46
  40. package/dist/chunks/{repository-haj0byqn.js → location-services-2mk0xfrn.js} +4 -4
  41. package/dist/chunks/{repository-j5xt7epv.js → location-services-2p1x4cae.js} +12 -12
  42. package/dist/chunks/{repository-cq37gk0t.js → location-services-2tfmgkzg.js} +4 -4
  43. package/dist/chunks/{repository-58e8mpmb.js → location-services-2xh74eyw.js} +7 -7
  44. package/dist/chunks/{repository-pye8sh6e.js → location-services-33n3bzdy.js} +6 -6
  45. package/dist/chunks/{repository-56gdpj1q.js → location-services-33w4ejhs.js} +6 -6
  46. package/dist/chunks/{repository-c9wtqnwj.js → location-services-34cjg5aj.js} +11 -11
  47. package/dist/chunks/{repository-b6hy6gkz.js → location-services-35wynegs.js} +2 -2
  48. package/dist/chunks/{repository-gdvy8fx6.js → location-services-3fc6dm20.js} +4 -4
  49. package/dist/chunks/{repository-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{repository-4emgtgzt.js → location-services-3hrj6hc1.js} +22 -22
  51. package/dist/chunks/{repository-84czwvzw.js → location-services-3kx4em2y.js} +13 -13
  52. package/dist/chunks/{repository-q8rd9qhs.js → location-services-3qccx5hy.js} +30 -30
  53. package/dist/chunks/{repository-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  54. package/dist/chunks/{repository-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  55. package/dist/chunks/{repository-dj9sq318.js → location-services-3w0fmcng.js} +5 -5
  56. package/dist/chunks/{repository-3seenrp7.js → location-services-3z34j0cx.js} +9 -9
  57. package/dist/chunks/{repository-bejabbw1.js → location-services-42etq36e.js} +32 -32
  58. package/dist/chunks/{repository-1tjfkw5v.js → location-services-4tka16dg.js} +25 -25
  59. package/dist/chunks/{repository-4y66k410.js → location-services-4y66k410.js} +2 -2
  60. package/dist/chunks/{repository-rsbh8q26.js → location-services-542ghrza.js} +51 -51
  61. package/dist/chunks/{repository-a8ygtzbq.js → location-services-585kdyqn.js} +19 -19
  62. package/dist/chunks/{repository-02dev0ez.js → location-services-5a8my2dm.js} +15 -15
  63. package/dist/chunks/{repository-fmvngk0a.js → location-services-5adankya.js} +29 -29
  64. package/dist/chunks/{repository-1n274c67.js → location-services-5agpr7j3.js} +15 -15
  65. package/dist/chunks/{repository-a1bz86dw.js → location-services-5c4hm403.js} +3 -3
  66. package/dist/chunks/{repository-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  67. package/dist/chunks/{repository-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{repository-5cy52y0z.js → location-services-615073jg.js} +6 -6
  69. package/dist/chunks/{repository-669tq793.js → location-services-669tq793.js} +1 -1
  70. package/dist/chunks/{repository-x6rcf4cj.js → location-services-69j49pks.js} +16 -16
  71. package/dist/chunks/location-services-69vkpgwa.js +26 -0
  72. package/dist/chunks/{repository-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{repository-g8d3gcyj.js → location-services-6hh8tjw2.js} +7 -7
  74. package/dist/chunks/{repository-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{repository-b5n11jz6.js → location-services-6vgebzwc.js} +24 -24
  76. package/dist/chunks/{repository-r2dfp6se.js → location-services-6xpnb31x.js} +37 -37
  77. package/dist/chunks/{repository-zc2xj3qj.js → location-services-70d2s7af.js} +1 -1
  78. package/dist/chunks/{repository-71q4at8m.js → location-services-71q4at8m.js} +1 -1
  79. package/dist/chunks/{repository-ky16kd9n.js → location-services-76h67nm5.js} +12 -12
  80. package/dist/chunks/{repository-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{repository-cedwm630.js → location-services-7fyj755m.js} +40 -40
  82. package/dist/chunks/{repository-pecb0brz.js → location-services-7gvwkz6m.js} +5 -5
  83. package/dist/chunks/{repository-zdwyj9y5.js → location-services-7mrkexn2.js} +32 -32
  84. package/dist/chunks/{repository-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{repository-pwf15mvc.js → location-services-8pysh2wa.js} +4 -4
  86. package/dist/chunks/{repository-y1b098n8.js → location-services-8qgkpww5.js} +9 -9
  87. package/dist/chunks/{repository-xqzn0vp7.js → location-services-8ztsynak.js} +9 -9
  88. package/dist/chunks/{repository-xp6wb0v9.js → location-services-948cxjmy.js} +23 -23
  89. package/dist/chunks/{repository-petjzngd.js → location-services-97gsetns.js} +14 -14
  90. package/dist/chunks/{repository-2fbr18f9.js → location-services-97x9kwse.js} +42 -42
  91. package/dist/chunks/{repository-c968x2fe.js → location-services-9bxfga2g.js} +11 -11
  92. package/dist/chunks/{repository-yjknk9j9.js → location-services-9q7w8qe9.js} +5 -5
  93. package/dist/chunks/{repository-pn143qvt.js → location-services-9yz08dhv.js} +19 -19
  94. package/dist/chunks/{repository-nxamnhdf.js → location-services-a2jtfxjw.js} +14 -14
  95. package/dist/chunks/{repository-47vy4edm.js → location-services-a5nry4jq.js} +5 -5
  96. package/dist/chunks/{repository-j8g7a3j8.js → location-services-a8kyr2x4.js} +8 -8
  97. package/dist/chunks/{repository-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  98. package/dist/chunks/{repository-88zp0tbv.js → location-services-adadcvct.js} +10 -10
  99. package/dist/chunks/{repository-h71w788e.js → location-services-akybccbs.js} +9 -9
  100. package/dist/chunks/{repository-fmpkkhtn.js → location-services-awf1vrqt.js} +18 -18
  101. package/dist/chunks/{repository-3mdgf1e2.js → location-services-b1h6aq5y.js} +24 -24
  102. package/dist/chunks/{repository-213v9py0.js → location-services-b1yrrjjr.js} +6 -6
  103. package/dist/chunks/{repository-w0cvk6jr.js → location-services-b2r28sfe.js} +25 -25
  104. package/dist/chunks/{repository-j4z2qnee.js → location-services-b3frasm9.js} +7 -7
  105. package/dist/chunks/{repository-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{repository-h0gkjmvb.js → location-services-bcb9n2af.js} +13 -13
  107. package/dist/chunks/{repository-drknmmyh.js → location-services-bna2jm49.js} +9 -9
  108. package/dist/chunks/{repository-10jtetaj.js → location-services-bscb95cy.js} +4 -4
  109. package/dist/chunks/{repository-evxnsm19.js → location-services-bx9k359n.js} +15 -15
  110. package/dist/chunks/{repository-ext3js1z.js → location-services-byj6491s.js} +20 -20
  111. package/dist/chunks/{repository-cabt264k.js → location-services-c04yyk0p.js} +14 -14
  112. package/dist/chunks/{repository-y5pstp70.js → location-services-c293rtmv.js} +6 -6
  113. package/dist/chunks/{repository-kkdm9ajw.js → location-services-ccxa221s.js} +5 -5
  114. package/dist/chunks/{repository-v3v5frkk.js → location-services-cfq2tqyc.js} +31 -31
  115. package/dist/chunks/{repository-eprkdeyt.js → location-services-cgryk3d0.js} +18 -18
  116. package/dist/chunks/{repository-jzksghxf.js → location-services-cj7k1vck.js} +30 -30
  117. package/dist/chunks/{repository-p6v0vyws.js → location-services-csqhwd0e.js} +23 -23
  118. package/dist/chunks/{repository-gtm8txn9.js → location-services-cv4zdsrn.js} +28 -28
  119. package/dist/chunks/{repository-bbarxbyb.js → location-services-cvtmmhw6.js} +1 -1
  120. package/dist/chunks/{repository-t59s3hhv.js → location-services-cydqfn8g.js} +36 -36
  121. package/dist/chunks/{repository-pzjh8mr9.js → location-services-d5t04rjd.js} +15 -15
  122. package/dist/chunks/{repository-jby58kjs.js → location-services-d9627bvv.js} +13 -13
  123. package/dist/chunks/{repository-qrj9d2ct.js → location-services-db0ywk9p.js} +22 -22
  124. package/dist/chunks/{repository-4e540xxx.js → location-services-dgmwn8ez.js} +8 -8
  125. package/dist/chunks/{repository-8p4f9s12.js → location-services-dj2t23y0.js} +2 -2
  126. package/dist/chunks/{repository-y71avatq.js → location-services-dpkg50ah.js} +4 -4
  127. package/dist/chunks/{repository-9xb0s4b9.js → location-services-dpv3ckk4.js} +28 -28
  128. package/dist/chunks/{repository-he3792rk.js → location-services-drkq60sc.js} +32 -32
  129. package/dist/chunks/{repository-cmwkp3r5.js → location-services-dv1qgsyq.js} +8 -8
  130. package/dist/chunks/{repository-wxpch4dk.js → location-services-e1m73h80.js} +27 -27
  131. package/dist/chunks/{repository-csp720wb.js → location-services-e7vk223c.js} +22 -22
  132. package/dist/chunks/{repository-rhjbct0v.js → location-services-eaj1djv9.js} +8 -8
  133. package/dist/chunks/{repository-q8bcy8ws.js → location-services-endx0wqw.js} +2 -2
  134. package/dist/chunks/{repository-txzqvs6q.js → location-services-eqtkqxc7.js} +22 -22
  135. package/dist/chunks/{repository-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{repository-ykpr0q7c.js → location-services-fe7neb4g.js} +55 -55
  137. package/dist/chunks/{repository-pvp1cs2e.js → location-services-fkbdwje6.js} +18 -18
  138. package/dist/chunks/{repository-ct93djtc.js → location-services-fmcxa852.js} +9 -9
  139. package/dist/chunks/{repository-sgk3431w.js → location-services-fme7gyv2.js} +27 -27
  140. package/dist/chunks/{repository-5b88mxz1.js → location-services-fv23cpfe.js} +7 -7
  141. package/dist/chunks/{repository-qfmvv2sm.js → location-services-fx8h9evn.js} +3 -3
  142. package/dist/chunks/{repository-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{repository-r14cnnrw.js → location-services-garbmm90.js} +4 -4
  144. package/dist/chunks/{repository-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{repository-yahs3f01.js → location-services-ghv2730f.js} +46 -46
  146. package/dist/chunks/{repository-sm236kpq.js → location-services-gsr2pv6w.js} +11 -11
  147. package/dist/chunks/{repository-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{repository-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{repository-w4wc2211.js → location-services-h0e829jw.js} +32 -32
  150. package/dist/chunks/{repository-za4pw5w1.js → location-services-h2r7bbkd.js} +8 -8
  151. package/dist/chunks/{repository-sksn9mf1.js → location-services-h43s0y1m.js} +9 -9
  152. package/dist/chunks/{repository-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{repository-xhhmv89y.js → location-services-ha8q569c.js} +4 -4
  154. package/dist/chunks/{repository-ztky2hbm.js → location-services-hajzqnjk.js} +14 -14
  155. package/dist/chunks/{repository-f828m53h.js → location-services-hdnk95c8.js} +2 -2
  156. package/dist/chunks/{repository-mqsc2h20.js → location-services-hj95hp1y.js} +24 -24
  157. package/dist/chunks/{repository-hjt4xg1x.js → location-services-hjt4xg1x.js} +1 -1
  158. package/dist/chunks/{repository-2yv9jfkc.js → location-services-hkn3d3em.js} +10 -10
  159. package/dist/chunks/{repository-0zkv00cg.js → location-services-htcxsbd3.js} +31 -31
  160. package/dist/chunks/{repository-51cmmk6m.js → location-services-hyqjefsy.js} +85 -85
  161. package/dist/chunks/{repository-1gnhqkth.js → location-services-j26kwb45.js} +10 -10
  162. package/dist/chunks/{repository-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  163. package/dist/chunks/{repository-w96k05dy.js → location-services-j7t2khjb.js} +11 -11
  164. package/dist/chunks/{repository-y6f0p4jw.js → location-services-j7wq2tw5.js} +3 -3
  165. package/dist/chunks/{repository-mgx963cj.js → location-services-jj63jgrn.js} +8 -8
  166. package/dist/chunks/{repository-mw6spqsr.js → location-services-js2cb58t.js} +15 -15
  167. package/dist/chunks/{repository-0r7yqxbf.js → location-services-jv01nqvq.js} +5 -5
  168. package/dist/chunks/{repository-g190xswt.js → location-services-jw80jp6b.js} +4 -4
  169. package/dist/chunks/{repository-hj2f0bzq.js → location-services-jwd472vv.js} +7 -7
  170. package/dist/chunks/{repository-ff9w6xrb.js → location-services-jxnawz51.js} +9 -9
  171. package/dist/chunks/{repository-g9cr3d5v.js → location-services-jxyew9fw.js} +4 -4
  172. package/dist/chunks/{repository-9rs4eqfv.js → location-services-jy6ssemz.js} +16 -16
  173. package/dist/chunks/{repository-59j62b79.js → location-services-k46ek28k.js} +11 -11
  174. package/dist/chunks/{repository-6wjjjhy6.js → location-services-k4e7wm7p.js} +17 -17
  175. package/dist/chunks/{repository-kg06axw8.js → location-services-kg06axw8.js} +1 -1
  176. package/dist/chunks/{repository-87v8z91d.js → location-services-kj36tdkt.js} +11 -11
  177. package/dist/chunks/{repository-fmykz272.js → location-services-kke3pb1j.js} +7 -7
  178. package/dist/chunks/{repository-jwjk52g2.js → location-services-kqd2wwpf.js} +4 -4
  179. package/dist/chunks/{repository-cfpkc3c9.js → location-services-m0jqrx5p.js} +2 -2
  180. package/dist/chunks/{repository-m2d0j7c0.js → location-services-m2d0j7c0.js} +2 -2
  181. package/dist/chunks/{repository-w4axh9wz.js → location-services-m91gvp7t.js} +6 -6
  182. package/dist/chunks/{repository-fcgysgr5.js → location-services-m9e6zxeh.js} +11 -11
  183. package/dist/chunks/{repository-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{repository-b0sf2pns.js → location-services-mjbh00zx.js} +6 -6
  185. package/dist/chunks/{repository-eztf1wzg.js → location-services-mz6ae2yf.js} +1 -1
  186. package/dist/chunks/{repository-je6c5z5p.js → location-services-n5xg6qpj.js} +9 -9
  187. package/dist/chunks/{repository-0xfnng1h.js → location-services-n9qvx0dx.js} +16 -16
  188. package/dist/chunks/{repository-zr3d0gxg.js → location-services-nh7bjnck.js} +22 -22
  189. package/dist/chunks/{repository-my7gf51c.js → location-services-nqntf4eh.js} +68 -68
  190. package/dist/chunks/{repository-39fveamk.js → location-services-nsme3wtk.js} +27 -25
  191. package/dist/chunks/{repository-3tamc9js.js → location-services-nvksyjxq.js} +28 -28
  192. package/dist/chunks/{repository-sztg2hv4.js → location-services-nwd6ekzm.js} +35 -35
  193. package/dist/chunks/{repository-1bvekr7f.js → location-services-p0a23dx6.js} +6 -6
  194. package/dist/chunks/{repository-n4a6bgqk.js → location-services-p1qy1t52.js} +14 -14
  195. package/dist/chunks/{repository-a5h5qkjp.js → location-services-p3sqqmz6.js} +35 -35
  196. package/dist/chunks/{repository-msq0jde0.js → location-services-paegk39x.js} +4 -4
  197. package/dist/chunks/location-services-pd96nw7e.js +462 -0
  198. package/dist/chunks/{repository-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{repository-pknna89w.js → location-services-pknna89w.js} +1 -1
  200. package/dist/chunks/{repository-rgmexsye.js → location-services-pn0ragf5.js} +13 -13
  201. package/dist/chunks/{repository-h4e6z68e.js → location-services-pqxmvtn6.js} +15 -15
  202. package/dist/chunks/{repository-t2x602yk.js → location-services-pvdm847m.js} +18 -18
  203. package/dist/chunks/{repository-ppq9etn0.js → location-services-pz39f4ja.js} +34 -34
  204. package/dist/chunks/{repository-1j4qb6e1.js → location-services-q6fregp6.js} +8 -8
  205. package/dist/chunks/{repository-9yhr46n3.js → location-services-qr5f7037.js} +22 -22
  206. package/dist/chunks/{repository-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  207. package/dist/chunks/{repository-3x8gcmrs.js → location-services-qwkytnft.js} +6 -6
  208. package/dist/chunks/{repository-27wgnz1z.js → location-services-r4p7g342.js} +11 -11
  209. package/dist/chunks/{repository-xjmr3883.js → location-services-r6qxwhmr.js} +6 -6
  210. package/dist/chunks/{repository-x384g1hs.js → location-services-r986sde3.js} +15 -15
  211. package/dist/chunks/{repository-r9mregkx.js → location-services-r9mregkx.js} +2 -2
  212. package/dist/chunks/{repository-r94mrtfv.js → location-services-r9x9035c.js} +18 -18
  213. package/dist/chunks/{repository-smnv2tch.js → location-services-req99jdj.js} +95 -46
  214. package/dist/chunks/{repository-mhbk2b8a.js → location-services-rh0bdmv0.js} +15 -15
  215. package/dist/chunks/{repository-shg3amz7.js → location-services-rkkpgdp7.js} +20 -20
  216. package/dist/chunks/{repository-ztwfyng4.js → location-services-rmmsmjb4.js} +4 -4
  217. package/dist/chunks/{repository-0wjw63yk.js → location-services-rq8nv58m.js} +26 -26
  218. package/dist/chunks/{repository-hqjg1cx1.js → location-services-rsym84ch.js} +9 -9
  219. package/dist/chunks/location-services-sakrjbba.js +247 -0
  220. package/dist/chunks/{repository-hrncarcf.js → location-services-sas8pg5s.js} +1 -1
  221. package/dist/chunks/{repository-tat7nwhe.js → location-services-sczemkxt.js} +10 -10
  222. package/dist/chunks/{repository-2m84dfka.js → location-services-sjzmzw6k.js} +22 -22
  223. package/dist/chunks/{repository-19c2b9rb.js → location-services-sng378jj.js} +11 -11
  224. package/dist/chunks/{repository-6tpt9h9q.js → location-services-ssjhvfxk.js} +62 -62
  225. package/dist/chunks/{repository-rg2zvvyz.js → location-services-sxat3wmc.js} +11 -11
  226. package/dist/chunks/{repository-t0x5rdq8.js → location-services-t0x5rdq8.js} +2 -2
  227. package/dist/chunks/{repository-h1rn3ct5.js → location-services-t1y5sq03.js} +83 -83
  228. package/dist/chunks/{repository-f78hydwg.js → location-services-t6wppts7.js} +6 -6
  229. package/dist/chunks/{repository-y973e7aq.js → location-services-t71tw57v.js} +13 -13
  230. package/dist/chunks/{repository-5n0sh9d6.js → location-services-t9wdc6hm.js} +7 -7
  231. package/dist/chunks/{repository-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{repository-gxgjkd0x.js → location-services-tbbfetw3.js} +13 -13
  233. package/dist/chunks/{repository-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{repository-tdstcens.js → location-services-tdstcens.js} +1 -1
  235. package/dist/chunks/{repository-0k7wafs3.js → location-services-tf1j6dqp.js} +28 -28
  236. package/dist/chunks/{repository-8vg4n516.js → location-services-tnrzkm65.js} +20 -20
  237. package/dist/chunks/{repository-72ds7gf6.js → location-services-tqntqbg3.js} +30 -30
  238. package/dist/chunks/{repository-tvtrv512.js → location-services-tvtrv512.js} +1 -1
  239. package/dist/chunks/{repository-7zs56f9j.js → location-services-twbrtgyh.js} +6 -6
  240. package/dist/chunks/{repository-tx9qvpbt.js → location-services-tx9qvpbt.js} +2 -2
  241. package/dist/chunks/location-services-v1faaxn9.js +18 -0
  242. package/dist/chunks/{repository-1t2s0wry.js → location-services-v64gcnw2.js} +5 -5
  243. package/dist/chunks/{repository-8m31s27t.js → location-services-v9b1dqp1.js} +11 -11
  244. package/dist/chunks/{repository-c13f7gjw.js → location-services-vbjhd26x.js} +34 -34
  245. package/dist/chunks/{repository-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  246. package/dist/chunks/{repository-z0xnky3q.js → location-services-vgm7d86c.js} +31 -31
  247. package/dist/chunks/{repository-20q8k894.js → location-services-vjngb1jq.js} +9 -9
  248. package/dist/chunks/{repository-j83byb14.js → location-services-vncycja5.js} +4 -4
  249. package/dist/chunks/{repository-ksjan0t5.js → location-services-vpbqjthg.js} +13 -13
  250. package/dist/chunks/{repository-penaav09.js → location-services-vv213pfm.js} +30 -30
  251. package/dist/chunks/{repository-me4pxbk2.js → location-services-vzaj5ab4.js} +32 -32
  252. package/dist/chunks/{repository-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{repository-8db04et3.js → location-services-w365kw1b.js} +8 -8
  254. package/dist/chunks/{repository-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{repository-p33ejz0k.js → location-services-w79zsp0s.js} +1 -1
  256. package/dist/chunks/{repository-a3n1dpj2.js → location-services-wajnf5bs.js} +9 -9
  257. package/dist/chunks/{repository-pjrv1sn1.js → location-services-wavq5vqb.js} +1 -1
  258. package/dist/chunks/{repository-2cgm8dc1.js → location-services-wcg6xr7g.js} +11 -11
  259. package/dist/chunks/{repository-wd87259q.js → location-services-wd87259q.js} +1 -1
  260. package/dist/chunks/{repository-seps633m.js → location-services-wv08tht3.js} +28 -28
  261. package/dist/chunks/{repository-0k3t14ts.js → location-services-x0mzf5sc.js} +7 -7
  262. package/dist/chunks/{repository-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{repository-d75w7jnc.js → location-services-x8f1tbsj.js} +18 -18
  264. package/dist/chunks/{repository-j5346eb1.js → location-services-x9k84rm6.js} +169 -169
  265. package/dist/chunks/{repository-g8mks886.js → location-services-xd2p8b6x.js} +11 -11
  266. package/dist/chunks/{repository-2v08kgv1.js → location-services-xfm7bwgx.js} +23 -23
  267. package/dist/chunks/{repository-b09hzw3k.js → location-services-xg9t41r3.js} +2 -2
  268. package/dist/chunks/{repository-g0dr00md.js → location-services-xvqk5qet.js} +29 -29
  269. package/dist/chunks/{repository-18e56dsp.js → location-services-xwwz9aqf.js} +4 -4
  270. package/dist/chunks/{repository-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{repository-5y5h33xd.js → location-services-y5r1chhz.js} +5 -5
  272. package/dist/chunks/{repository-j38hs89b.js → location-services-y7wy22rx.js} +31 -25
  273. package/dist/chunks/{repository-tkvvdtgj.js → location-services-yd6mkx5z.js} +5 -5
  274. package/dist/chunks/{repository-aa4x36r7.js → location-services-yj94a1d5.js} +47 -47
  275. package/dist/chunks/{repository-386j3b86.js → location-services-yqzynv2p.js} +20 -20
  276. package/dist/chunks/{repository-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{repository-yrznvahk.js → location-services-yrznvahk.js} +2 -2
  278. package/dist/chunks/{repository-qt3bdkqw.js → location-services-ywn91hmh.js} +22 -22
  279. package/dist/chunks/{repository-1jnd8eq9.js → location-services-yz6937d7.js} +16 -16
  280. package/dist/chunks/{repository-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{repository-3ke3s58r.js → location-services-z4fsc67a.js} +15 -14
  282. package/dist/chunks/{repository-z63w68vq.js → location-services-z63w68vq.js} +2 -2
  283. package/dist/chunks/{repository-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{repository-nrk5vjbf.js → location-services-zk8c4w5t.js} +5 -5
  285. package/dist/chunks/{repository-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{repository-8gxqpgph.js → location-services-zvt5dnpc.js} +4 -4
  287. package/dist/chunks/{repository-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +69 -69
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  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 +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  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 +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  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 +2 -2
  419. package/dist/filesystem/location-watcher.js +217 -217
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +99 -97
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +79 -79
  428. package/dist/generate.js +92 -92
  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 +3 -3
  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 -352
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +76 -76
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +350 -349
  466. package/dist/location.js +85 -85
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +102 -102
  469. package/dist/mcp/instructions.js +121 -121
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +75 -75
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +107 -107
  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 +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +98 -98
  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/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +116 -116
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -79
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +116 -116
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +71 -71
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +339 -338
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +13 -0
  551. package/dist/plugin.js +225 -225
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +86 -86
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +95 -95
  560. package/dist/reference/instructions.js +85 -85
  561. package/dist/reference.js +87 -87
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +92 -92
  566. package/dist/rpc.js +82 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +130 -130
  570. package/dist/session/context.js +148 -148
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +220 -220
  575. package/dist/session/execution.js +123 -123
  576. package/dist/session/generate.js +147 -147
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +87 -87
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +74 -74
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +89 -89
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +114 -114
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +127 -127
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +101 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +86 -86
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +87 -87
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +111 -111
  599. package/dist/session/runner/step.js +122 -122
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +168 -168
  603. package/dist/session/shell.js +132 -132
  604. package/dist/session/skill.js +99 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +74 -74
  607. package/dist/session/store.js +84 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +152 -152
  612. package/dist/session/to-session-error.js +108 -108
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +212 -212
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +134 -134
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +103 -103
  623. package/dist/skill.js +108 -108
  624. package/dist/snapshot.js +87 -87
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +118 -118
  629. package/dist/tool/plugin/edit.js +114 -114
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +121 -121
  632. package/dist/tool/plugin/grep.js +119 -119
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +120 -120
  637. package/dist/tool/plugin/shell.js +213 -213
  638. package/dist/tool/plugin/skill.js +107 -107
  639. package/dist/tool/plugin/subagent.js +211 -211
  640. package/dist/tool/plugin/webfetch.js +106 -106
  641. package/dist/tool/plugin/websearch.js +110 -110
  642. package/dist/tool/plugin/write.js +118 -118
  643. package/dist/tool/read-filesystem.js +97 -97
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/types/config.d.ts +5 -1
  648. package/dist/types/filesystem.d.ts +6 -1
  649. package/dist/types/plugin/websearch/index.d.ts +1 -1
  650. package/dist/types/plugin/websearch/tinyfish.d.ts +5 -0
  651. package/dist/types/shell/select.d.ts +1 -0
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +3 -3
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +86 -86
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +76 -76
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +5 -5
  687. package/dist/worktree/refresh.js +340 -339
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +92 -92
  690. package/package.json +8 -8
  691. package/dist/chunks/repository-jqh9b0xq.js +0 -18
  692. package/dist/chunks/repository-mppgq2kn.js +0 -462
  693. package/dist/chunks/repository-qapv375x.js +0 -4
  694. package/dist/chunks/repository-qec2v6cx.js +0 -247
  695. package/dist/chunks/repository-sj51pd9c.js +0 -22
  696. /package/dist/chunks/{repository-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{repository-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{repository-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{repository-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{repository-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{repository-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{repository-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{repository-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{repository-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{repository-3asan66x.js → location-services-3asan66x.js} +0 -0
  706. /package/dist/chunks/{repository-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{repository-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{repository-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{repository-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{repository-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{repository-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{repository-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{repository-53557ph1.js → location-services-53557ph1.js} +0 -0
  714. /package/dist/chunks/{repository-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{repository-6prwharc.js → location-services-6prwharc.js} +0 -0
  716. /package/dist/chunks/{repository-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{repository-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{repository-822emrt2.js → location-services-822emrt2.js} +0 -0
  719. /package/dist/chunks/{repository-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{repository-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{repository-922hggd3.js → location-services-922hggd3.js} +0 -0
  722. /package/dist/chunks/{repository-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{repository-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{repository-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{repository-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{repository-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{repository-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{repository-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{repository-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{repository-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{repository-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{repository-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{repository-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{repository-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{repository-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{repository-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{repository-df08tz66.js → location-services-df08tz66.js} +0 -0
  738. /package/dist/chunks/{repository-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{repository-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{repository-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{repository-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{repository-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{repository-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{repository-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{repository-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{repository-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{repository-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{repository-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{repository-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{repository-g86h250q.js → location-services-g86h250q.js} +0 -0
  751. /package/dist/chunks/{repository-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{repository-gftt206x.js → location-services-gftt206x.js} +0 -0
  753. /package/dist/chunks/{repository-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{repository-hk9envan.js → location-services-hk9envan.js} +0 -0
  755. /package/dist/chunks/{repository-hrnqkpcd.js → location-services-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{repository-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{repository-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{repository-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{repository-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{repository-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{repository-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{repository-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{repository-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{repository-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{repository-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{repository-paphc93g.js → location-services-paphc93g.js} +0 -0
  767. /package/dist/chunks/{repository-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{repository-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{repository-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{repository-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{repository-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{repository-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{repository-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{repository-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{repository-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{repository-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{repository-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{repository-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{repository-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{repository-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{repository-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{repository-x61499pn.js → location-services-x61499pn.js} +0 -0
  783. /package/dist/chunks/{repository-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{repository-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{repository-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{repository-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{repository-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{repository-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./repository-x6rcf4cj.js";
2
+ Service79,
3
+ node84
4
+ } from "./location-services-69j49pks.js";
5
5
  import {
6
- Event19,
7
- Service75,
8
- node79
9
- } from "./repository-sztg2hv4.js";
6
+ Event15,
7
+ Service66,
8
+ node71
9
+ } from "./location-services-nwd6ekzm.js";
10
10
  import {
11
- Service45,
12
- node50
13
- } from "./repository-shg3amz7.js";
11
+ Service56,
12
+ node60
13
+ } from "./location-services-rkkpgdp7.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./repository-922hggd3.js";
16
+ } from "./location-services-922hggd3.js";
17
17
  import {
18
- Service66,
19
- node70
20
- } from "./repository-6wjjjhy6.js";
18
+ Service74,
19
+ node79
20
+ } from "./location-services-k4e7wm7p.js";
21
21
  import {
22
22
  substitute2
23
- } from "./repository-yrznvahk.js";
23
+ } from "./location-services-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./repository-mqsc2h20.js";
26
+ } from "./location-services-hj95hp1y.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./repository-kkdm9ajw.js";
30
+ } from "./location-services-ccxa221s.js";
31
31
  import {
32
32
  plan2
33
- } from "./repository-j56e64zr.js";
33
+ } from "./location-services-j56e64zr.js";
34
34
  import {
35
- Service46,
35
+ Service58,
36
36
  Event11,
37
- node51
38
- } from "./repository-bkhh0yw4.js";
37
+ node62
38
+ } from "./location-services-24w6x0js.js";
39
39
  import {
40
40
  __export
41
- } from "./repository-9rqn6x4v.js";
41
+ } from "./location-services-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service44,
47
+ Options: () => Options5,
48
+ Service: () => Service55,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer18,
53
- node: () => node49,
52
+ layer: () => layer21,
53
+ node: () => node59,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
57
  import path from "path";
58
58
  import { isDeepStrictEqual } from "node:util";
59
- import { parse } from "jsonc-parser";
59
+ import { applyEdits, modify, parse } from "jsonc-parser";
60
60
  import { Context, Effect, FiberMap, Layer, Option, PubSub, Ref, Schema, Semaphore, Stream } from "effect";
61
61
  import {
62
62
  AgentsDirectory,
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options7 = Schema.Struct({
74
+ var Options5 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service44 extends Context.Service()("@opencode/Config") {
81
+ class Service55 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,16 +92,32 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service44, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service55, service), Context.add(Test2, service));
96
96
  }));
97
- var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
97
+ function decodePreferences(text) {
98
+ const errors = [];
99
+ const input = parse(text, errors, { allowTrailingComma: true });
100
+ if (errors.length)
101
+ return {};
102
+ const normalized = normalize2(input);
103
+ if (normalized.type === "rejected")
104
+ return {};
105
+ const info = Option.getOrUndefined(Schema.decodeUnknownOption(Info)(normalized.encoded));
106
+ return {
107
+ ...info?.shell === undefined ? {} : { shell: info.shell },
108
+ ...info?.websearch === undefined ? {} : { websearch: info.websearch }
109
+ };
110
+ }
111
+ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
98
112
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service66;
100
- const watcher = yield* Service45;
101
- const bus = yield* Service78;
102
- const credentials = yield* Service75;
103
- const wellknown = yield* Service46;
113
+ const location = yield* Service74;
114
+ const watcher = yield* Service56;
115
+ const bus = yield* Service79;
116
+ const credentials = yield* Service66;
117
+ const globalService = yield* Global.Service;
118
+ const wellknown = yield* Service58;
104
119
  const reloadLock = Semaphore.makeUnsafe(1);
120
+ const updateLock = Semaphore.makeUnsafe(1);
105
121
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
122
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
107
123
  const parseInfo = Effect.fn("Config.parseInfo")(function* (text, source) {
@@ -223,7 +239,7 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
223
239
  }, (effect) => reloadLock.withPermit(effect));
224
240
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
241
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
242
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
243
  yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
244
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
245
  if (!wellknown.snapshot().length)
@@ -235,20 +251,53 @@ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
235
251
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
252
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
253
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service44.of({
254
+ const globalConfigPath = Effect.fn("Config.globalConfigPath")(function* () {
255
+ const directory = initial.global ?? AbsolutePath2.make(globalService.config);
256
+ const candidates = names4.map((name) => path.join(directory, name));
257
+ const existing = yield* Effect.filter(candidates, fs.isFile);
258
+ return existing.at(-1) ?? path.join(directory, "opencode.jsonc");
259
+ });
260
+ const preferences = Effect.fn("Config.preferences")(function* () {
261
+ const filepath = yield* globalConfigPath();
262
+ const text = yield* fs.readFileStringSafe(filepath);
263
+ return text === undefined ? {} : decodePreferences(text);
264
+ });
265
+ const updatePreferences = Effect.fn("Config.updatePreferences")(function* (patch) {
266
+ const filepath = yield* globalConfigPath();
267
+ const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
268
+ `;
269
+ const updated = yield* Effect.try({
270
+ try: () => ["shell", "websearch"].reduce((content, key) => {
271
+ if (!Object.prototype.hasOwnProperty.call(patch, key))
272
+ return content;
273
+ return applyEdits(content, modify(content, [key], patch[key] === null ? undefined : patch[key], {
274
+ formattingOptions: { tabSize: 2, insertSpaces: true }
275
+ }));
276
+ }, text),
277
+ catch: (cause) => new FSUtil.FileSystemError({ method: "config.updatePreferences", cause })
278
+ });
279
+ yield* fs.writeWithDirs(filepath, updated.endsWith(`
280
+ `) ? updated : `${updated}
281
+ `);
282
+ yield* requestReload;
283
+ return decodePreferences(updated);
284
+ }, (effect) => updateLock.withPermit(effect));
285
+ return Service55.of({
239
286
  entries: Effect.fnUntraced(function* () {
240
287
  return configs;
241
288
  }),
242
- changes: () => Stream.fromPubSub(updates)
289
+ changes: () => Stream.fromPubSub(updates),
290
+ preferences,
291
+ updatePreferences
243
292
  });
244
293
  }));
245
- function configured8(options) {
294
+ function configured6(options) {
246
295
  return makeLocationNode({
247
- service: Service44,
248
- layer: layer18(options),
249
- deps: [node50, node83, FSUtil.node, Global.node, node70, node79, node51]
296
+ service: Service55,
297
+ layer: layer21(options),
298
+ deps: [node60, node84, FSUtil.node, Global.node, node79, node71, node62]
250
299
  });
251
300
  }
252
- var node49 = configured8();
301
+ var node59 = configured6();
253
302
 
254
- export { latest2, Options7, Service44, Test2, testLayer2, layer18, configured8, node49, exports_config };
303
+ export { latest2, Options5, Service55, Test2, testLayer2, layer21, configured6, node59, exports_config };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-j4z2qnee.js";
3
+ } from "./location-services-b3frasm9.js";
4
4
  import {
5
- Service78
6
- } from "./repository-x6rcf4cj.js";
5
+ Service79
6
+ } from "./location-services-69j49pks.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./repository-sztg2hv4.js";
9
+ Event15
10
+ } from "./location-services-nwd6ekzm.js";
11
11
  import {
12
- ID13,
12
+ ID8,
13
13
  MethodID2
14
- } from "./repository-0zkv00cg.js";
14
+ } from "./location-services-htcxsbd3.js";
15
15
  import {
16
- ID16
17
- } from "./repository-pye8sh6e.js";
16
+ ID18
17
+ } from "./location-services-33n3bzdy.js";
18
18
  import {
19
19
  Family2
20
- } from "./repository-nxamnhdf.js";
20
+ } from "./location-services-a2jtfxjw.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./repository-pjvnvgmy.js";
23
+ } from "./location-services-pjvnvgmy.js";
24
24
 
25
25
  // src/plugin/provider/digitalocean.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
28
28
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
29
- var providerID = ID16.make("digitalocean");
30
- var integrationID = ID13.make("digitalocean");
29
+ var providerID = ID18.make("digitalocean");
30
+ var integrationID = ID8.make("digitalocean");
31
31
  var methodID = MethodID2.make("browser");
32
32
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
33
33
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -115,7 +115,7 @@ var oauth = {
115
115
  var DigitalOceanPlugin2 = define({
116
116
  id: "opencode.provider.digitalocean",
117
117
  effect: Effect.fn(function* (ctx) {
118
- const bus = yield* Service78;
118
+ const bus = yield* Service79;
119
119
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
120
120
  const loading = Semaphore.makeUnsafe(1);
121
121
  const loaded = { routers: [] };
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
158
158
  }
159
159
  });
160
160
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
161
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
161
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
162
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
163
163
  })
164
164
  });
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./repository-88xbtdfr.js";
3
+ } from "./location-services-88xbtdfr.js";
4
4
  import {
5
5
  load2
6
- } from "./repository-paphc93g.js";
6
+ } from "./location-services-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Event: () => Event10,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service45,
16
+ Options: () => Options7,
17
+ Service: () => Service56,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer19,
22
+ layer: () => layer22,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node50,
25
+ node: () => node60,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service45 extends Context.Service()("@opencode/Watcher") {
60
+ class Service56 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
65
+ var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service45.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service56.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service45.of({ subscribe });
108
+ return Service56.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service45).subscribe,
134
+ subscribe: Context.get(context, Service56).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service56, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service45, layer: layer19(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service56, layer: layer22(options), deps: [nativeNode2] });
169
169
  }
170
- var node50 = configured9();
170
+ var node60 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event10, hasNativeBinding2, Native3, Options9, Service45, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured9, node50, exports_watcher };
190
+ export { Event10, hasNativeBinding2, Native3, Options7, Service56, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured7, node60, exports_watcher };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./repository-550bvhaj.js";
3
+ } from "./location-services-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./repository-j5zkgpj8.js";
6
+ } from "./location-services-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./repository-3asan66x.js";
9
+ } from "./location-services-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./repository-nrk5vjbf.js";
12
+ } from "./location-services-zk8c4w5t.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./repository-8m31s27t.js";
2
+ Service80,
3
+ node85
4
+ } from "./location-services-v9b1dqp1.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./repository-y71avatq.js";
7
+ } from "./location-services-dpkg50ah.js";
8
8
  import {
9
- Service78,
10
- node83
11
- } from "./repository-x6rcf4cj.js";
9
+ Service79,
10
+ node84
11
+ } from "./location-services-69j49pks.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./repository-ec1grn59.js";
14
+ } from "./location-services-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./repository-gftt206x.js";
17
+ } from "./location-services-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./repository-y6f0p4jw.js";
20
+ } from "./location-services-j7wq2tw5.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./repository-a1bz86dw.js";
24
+ } from "./location-services-5c4hm403.js";
25
25
  import {
26
26
  __export
27
- } from "./repository-9rqn6x4v.js";
27
+ } from "./location-services-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info18,
35
+ Info: () => Info9,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service50,
40
+ Service: () => Service46,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
48
+ layer: () => layer19,
49
49
  list: () => list3,
50
- make: () => make17,
50
+ make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node54,
53
+ node: () => node50,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info18,
68
+ Info as Info9,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service50 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service46 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
157
- const database = yield* Service79;
156
+ var make18 = Effect.fn("SessionInbox.make")(function* () {
157
+ const database = yield* Service80;
158
158
  const db = database.db;
159
- const bus = yield* Service78;
159
+ const bus = yield* Service79;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info18.make({
176
+ }).pipe(Effect.map((event) => Info9.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  timeCreated: DateTime.makeUnsafe(event.created),
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service50, make17());
231
- var node54 = makeGlobalNode({ service: Service50, layer: layer21, deps: [node84, node83] });
230
+ var layer19 = Layer.effect(Service46, make18());
231
+ var node50 = makeGlobalNode({ service: Service46, layer: layer19, deps: [node85, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info18, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service50, make17, layer21, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service46, make18, layer19, node50, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event15,
13
- ID: () => ID12,
14
- Info: () => Info26,
12
+ Event: () => Event20,
13
+ ID: () => ID17,
14
+ Info: () => Info32,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID12 = Project.ID;
21
+ var ID17 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info26 = Project.Info;
23
+ var Info32 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event15 = Project.Event;
25
+ var Event20 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID12, Current3, Info26, UpdateInput4, Event15, Vcs3, exports_schema };
31
+ export { ID17, Current3, Info32, UpdateInput4, Event20, Vcs3, exports_schema };