@opencode/core 0.0.0-dev-21881 → 0.0.0-dev-21903

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 (821) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +97 -96
  4. package/dist/aisdk.js +103 -102
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/location-services-00ve6mdn.js +18 -0
  8. package/dist/chunks/{generate-034tev2y.js → location-services-034tev2y.js} +2 -2
  9. package/dist/chunks/{generate-03efvwc7.js → location-services-03efvwc7.js} +5 -5
  10. package/dist/chunks/{generate-nj7gxwd2.js → location-services-04521nwg.js} +5 -5
  11. package/dist/chunks/{generate-3xj7n42w.js → location-services-0fm9943z.js} +30 -30
  12. package/dist/chunks/{generate-y3v10bb3.js → location-services-0n4brtsj.js} +30 -29
  13. package/dist/chunks/{generate-e7c5a3nr.js → location-services-0vfaxtry.js} +9 -9
  14. package/dist/chunks/{generate-dsjbn4pc.js → location-services-0z1vf8kx.js} +1 -1
  15. package/dist/chunks/{generate-11hfp36g.js → location-services-11hfp36g.js} +1 -1
  16. package/dist/chunks/{generate-2j0h6455.js → location-services-11w1erh0.js} +42 -42
  17. package/dist/chunks/{generate-g0skazn8.js → location-services-147vawtp.js} +11 -11
  18. package/dist/chunks/{generate-65b6wh7d.js → location-services-1bfj8692.js} +33 -37
  19. package/dist/chunks/{generate-1ep2p91f.js → location-services-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{generate-bf35rx15.js → location-services-1wxh740a.js} +6 -6
  21. package/dist/chunks/{generate-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{generate-p7vhpwh8.js → location-services-1yq9hg58.js} +5 -5
  23. package/dist/chunks/{generate-vd3b3yk9.js → location-services-204s3925.js} +13 -2
  24. package/dist/chunks/{generate-y8jm6641.js → location-services-21db4a7w.js} +10 -10
  25. package/dist/chunks/{generate-c6x7d2ts.js → location-services-2kj7f5bg.js} +7 -7
  26. package/dist/chunks/{generate-e5txay44.js → location-services-2ndatbyk.js} +1 -1
  27. package/dist/chunks/{generate-2z1j29yd.js → location-services-2z1j29yd.js} +1 -1
  28. package/dist/chunks/{generate-2e5xfyre.js → location-services-31f92er7.js} +3 -3
  29. package/dist/chunks/{generate-s04tdcvb.js → location-services-35qjbqn0.js} +17 -17
  30. package/dist/chunks/{generate-1w9e6g42.js → location-services-3bkdny4k.js} +6 -6
  31. package/dist/chunks/{generate-h659bff6.js → location-services-3f3gn4kn.js} +1 -1
  32. package/dist/chunks/{generate-zk70hy5y.js → location-services-3fghs3em.js} +27 -27
  33. package/dist/chunks/{generate-qgj1m8vp.js → location-services-3fvf9d3k.js} +20 -20
  34. package/dist/chunks/{generate-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{generate-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{generate-vvj2v3v2.js → location-services-3p3d7qzt.js} +9 -9
  37. package/dist/chunks/{generate-40za9wsf.js → location-services-40za9wsf.js} +2 -2
  38. package/dist/chunks/{generate-me7kxg3j.js → location-services-46bpvt4v.js} +8 -8
  39. package/dist/chunks/{generate-6saj3a0m.js → location-services-4az1a8cs.js} +6 -6
  40. package/dist/chunks/{generate-dpq6z7p1.js → location-services-4cdz94wm.js} +29 -29
  41. package/dist/chunks/{generate-45hvr24s.js → location-services-4kvj368v.js} +26 -26
  42. package/dist/chunks/{generate-4v008n1t.js → location-services-4v008n1t.js} +1 -1
  43. package/dist/chunks/{generate-np2dfhev.js → location-services-4vjrd2nm.js} +20 -20
  44. package/dist/chunks/{generate-m64hvvbh.js → location-services-4wqc8mqe.js} +7 -7
  45. package/dist/chunks/{generate-qmvd76a3.js → location-services-4xehb7nf.js} +3 -3
  46. package/dist/chunks/{generate-4xvmh7wp.js → location-services-4xvmh7wp.js} +3 -3
  47. package/dist/chunks/{generate-5emr5dp8.js → location-services-52jkpkhk.js} +14 -14
  48. package/dist/chunks/{generate-gcnn6hyw.js → location-services-52k98881.js} +29 -28
  49. package/dist/chunks/{generate-t39b6msr.js → location-services-551jtzns.js} +1 -1
  50. package/dist/chunks/{generate-5j08c03m.js → location-services-5m90njqj.js} +11 -11
  51. package/dist/chunks/{generate-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{generate-bhvs01y7.js → location-services-5qdyz63a.js} +3 -3
  53. package/dist/chunks/{generate-2hnx25th.js → location-services-60aw2bkc.js} +6 -6
  54. package/dist/chunks/{generate-mzeef7bv.js → location-services-64mt0z0h.js} +4 -4
  55. package/dist/chunks/{generate-6bh3dv2n.js → location-services-66vyf1s0.js} +29 -29
  56. package/dist/chunks/{generate-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{generate-y5tx2pf5.js → location-services-6g5jwsqq.js} +6 -6
  58. package/dist/chunks/{generate-sz4p1zm9.js → location-services-6gjd4geh.js} +11 -11
  59. package/dist/chunks/{generate-ht2xqj16.js → location-services-6n3n8n8c.js} +17 -17
  60. package/dist/chunks/{generate-6pjqjmy2.js → location-services-6pjqjmy2.js} +1 -1
  61. package/dist/chunks/{generate-860y05k0.js → location-services-6tj0eyfy.js} +13 -13
  62. package/dist/chunks/{generate-t6myarfx.js → location-services-73mjnqkv.js} +14 -14
  63. package/dist/chunks/{generate-w8qtt4th.js → location-services-76cb1hcw.js} +4 -4
  64. package/dist/chunks/{generate-vfd66558.js → location-services-777csmha.js} +17 -17
  65. package/dist/chunks/{generate-n2prjmzh.js → location-services-77vhwr65.js} +48 -45
  66. package/dist/chunks/{generate-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{generate-m6tde151.js → location-services-7ebn5dnv.js} +34 -34
  68. package/dist/chunks/{generate-mtyjk5mv.js → location-services-7ekdzgrw.js} +11 -11
  69. package/dist/chunks/{generate-2mm464fz.js → location-services-7ewvyx1h.js} +39 -39
  70. package/dist/chunks/{generate-fvxgcjfj.js → location-services-7eysnd3f.js} +32 -32
  71. package/dist/chunks/{generate-pvwdf2yr.js → location-services-7gfrq6pk.js} +11 -11
  72. package/dist/chunks/{generate-hyvmjqrf.js → location-services-7nzy79pb.js} +11 -11
  73. package/dist/chunks/{generate-aym3a85m.js → location-services-7q3v9td2.js} +35 -35
  74. package/dist/chunks/{generate-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
  75. package/dist/chunks/{generate-1ypt5wpy.js → location-services-7ye3a43r.js} +3 -3
  76. package/dist/chunks/{generate-pcsmd4he.js → location-services-814m0pbm.js} +25 -25
  77. package/dist/chunks/{generate-tpcr1ym9.js → location-services-82dff8wv.js} +43 -43
  78. package/dist/chunks/{generate-sw5900k8.js → location-services-8e1vq2t0.js} +10 -10
  79. package/dist/chunks/{generate-2ymc78nk.js → location-services-8e60wtf7.js} +18 -18
  80. package/dist/chunks/{generate-z553p4sn.js → location-services-8fxjxqq6.js} +6 -6
  81. package/dist/chunks/{generate-wy4whz5z.js → location-services-8mk0bwpx.js} +4 -4
  82. package/dist/chunks/{generate-mhkzz5y2.js → location-services-8qyg6xvd.js} +8 -8
  83. package/dist/chunks/{generate-6y263vp8.js → location-services-8wc2fpae.js} +5 -5
  84. package/dist/chunks/{generate-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{generate-h85wfqm9.js → location-services-8ywtscb8.js} +16 -16
  86. package/dist/chunks/{generate-91rj84md.js → location-services-91rj84md.js} +1 -1
  87. package/dist/chunks/{generate-8ykqf5wm.js → location-services-92cn2t4g.js} +11 -11
  88. package/dist/chunks/{generate-t7ncsdpk.js → location-services-94r2kbax.js} +13 -13
  89. package/dist/chunks/{generate-bqbcn5z1.js → location-services-95fy70vm.js} +22 -22
  90. package/dist/chunks/{generate-6rsjzsax.js → location-services-97p996b3.js} +9 -9
  91. package/dist/chunks/{generate-9cx9sm2q.js → location-services-9cx9sm2q.js} +1 -1
  92. package/dist/chunks/{generate-2b5b45c9.js → location-services-9d5rzwrs.js} +11 -11
  93. package/dist/chunks/{generate-wwthzbr1.js → location-services-9g0prgdv.js} +6 -6
  94. package/dist/chunks/{generate-f83r4zqb.js → location-services-9ghmfs2r.js} +12 -12
  95. package/dist/chunks/{generate-ya93hhk9.js → location-services-9qxs4ka6.js} +7 -7
  96. package/dist/chunks/{generate-60chehtb.js → location-services-9stfggkj.js} +3 -3
  97. package/dist/chunks/{generate-abv9f74v.js → location-services-a7jnfq8g.js} +24 -24
  98. package/dist/chunks/{generate-xkzeecwb.js → location-services-a7mwkhfd.js} +8 -8
  99. package/dist/chunks/{generate-gnnftrr1.js → location-services-a9jjybfd.js} +32 -32
  100. package/dist/chunks/{generate-88gqnt7v.js → location-services-a9na2z4w.js} +6 -6
  101. package/dist/chunks/{generate-xvbhqn7e.js → location-services-agmfdcja.js} +14 -14
  102. package/dist/chunks/{generate-q48tb2m2.js → location-services-ah4af1ng.js} +23 -23
  103. package/dist/chunks/{generate-q8s21k0n.js → location-services-ak39xwrx.js} +4 -4
  104. package/dist/chunks/{generate-mnsb4k1q.js → location-services-akbz7b6h.js} +5 -5
  105. package/dist/chunks/{generate-1567v7as.js → location-services-ana9v1k9.js} +9 -9
  106. package/dist/chunks/{generate-qq0vx577.js → location-services-ay8f7yhb.js} +2 -2
  107. package/dist/chunks/{generate-ayjs7tqn.js → location-services-ayjs7tqn.js} +2 -2
  108. package/dist/chunks/{generate-b0mv4wxm.js → location-services-b0mv4wxm.js} +2 -2
  109. package/dist/chunks/{generate-v98na84w.js → location-services-b27x7jxq.js} +10 -10
  110. package/dist/chunks/{generate-5nnwax6m.js → location-services-b6vsg801.js} +5 -5
  111. package/dist/chunks/{generate-5h9kw7gs.js → location-services-b952eqn9.js} +23 -23
  112. package/dist/chunks/{generate-9844398g.js → location-services-bjqns1ae.js} +16 -16
  113. package/dist/chunks/{generate-0kjhz3mt.js → location-services-bkzfyq7t.js} +5 -5
  114. package/dist/chunks/{generate-bstexjd6.js → location-services-bstexjd6.js} +1 -1
  115. package/dist/chunks/{generate-qw45kx2n.js → location-services-btj8pen2.js} +9 -9
  116. package/dist/chunks/{generate-gqbdtr3f.js → location-services-btqeqnn8.js} +25 -25
  117. package/dist/chunks/{generate-fc14jyx3.js → location-services-bwr0hn0p.js} +22 -22
  118. package/dist/chunks/{generate-aks81gr4.js → location-services-c2bjkdjj.js} +14 -9
  119. package/dist/chunks/{generate-2p4wxb8m.js → location-services-c3jwnccm.js} +43 -43
  120. package/dist/chunks/{generate-r91jcx8b.js → location-services-c41efnpa.js} +23 -23
  121. package/dist/chunks/{generate-etgazebn.js → location-services-c5n1jm6v.js} +26 -26
  122. package/dist/chunks/{generate-vc4879sd.js → location-services-c7stz04q.js} +11 -11
  123. package/dist/chunks/{generate-ahvh1qya.js → location-services-cbtkqwrv.js} +4 -4
  124. package/dist/chunks/{generate-amjfyfwc.js → location-services-cpbxd4gf.js} +17 -17
  125. package/dist/chunks/{generate-d47y8g47.js → location-services-cyrt625k.js} +14 -14
  126. package/dist/chunks/{generate-0ccsbrde.js → location-services-d006wmt7.js} +18 -18
  127. package/dist/chunks/{generate-spxsma9c.js → location-services-d29cpj0c.js} +11 -11
  128. package/dist/chunks/{generate-9rfhangp.js → location-services-d2me1qzp.js} +48 -48
  129. package/dist/chunks/{generate-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
  130. package/dist/chunks/{generate-1twhr14d.js → location-services-dd1vqc3f.js} +3 -3
  131. package/dist/chunks/{generate-mn53dk4j.js → location-services-djjzzs3c.js} +3 -3
  132. package/dist/chunks/{generate-agqd6nxz.js → location-services-drvbhkez.js} +2 -2
  133. package/dist/chunks/{generate-gg0rfb5w.js → location-services-dvm857vb.js} +11 -11
  134. package/dist/chunks/{generate-wn3e8tka.js → location-services-e07q2w5p.js} +9 -9
  135. package/dist/chunks/{generate-e834z07m.js → location-services-e834z07m.js} +1 -1
  136. package/dist/chunks/{generate-1b9qzhs0.js → location-services-ebzhbbj7.js} +8 -8
  137. package/dist/chunks/{generate-brryxvg9.js → location-services-ecvf625q.js} +2 -2
  138. package/dist/chunks/{generate-qby0d106.js → location-services-ef4g51zk.js} +26 -25
  139. package/dist/chunks/{generate-dkqkergf.js → location-services-ehgkhb98.js} +9 -9
  140. package/dist/chunks/{generate-0fn5w6ze.js → location-services-eqfxwd9c.js} +4 -4
  141. package/dist/chunks/location-services-f5hd4pmz.js +26 -0
  142. package/dist/chunks/{generate-d121hxf2.js → location-services-f7a3eme1.js} +6 -6
  143. package/dist/chunks/{generate-20crrbd7.js → location-services-f8pbq6zm.js} +16 -16
  144. package/dist/chunks/{generate-rqa5g7v6.js → location-services-f97nkw3f.js} +30 -30
  145. package/dist/chunks/{generate-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
  146. package/dist/chunks/{generate-a46k5kbx.js → location-services-fhmxdhy8.js} +13 -13
  147. package/dist/chunks/{generate-yx7gwedn.js → location-services-fjhhaj13.js} +26 -26
  148. package/dist/chunks/{generate-8esy4z26.js → location-services-fpbevbxn.js} +10 -10
  149. package/dist/chunks/{generate-73z36sy8.js → location-services-ftaew5rm.js} +8 -8
  150. package/dist/chunks/{generate-hx31exwe.js → location-services-fy7nh4fk.js} +31 -31
  151. package/dist/chunks/{generate-fznmdakp.js → location-services-fznmdakp.js} +1 -1
  152. package/dist/chunks/{generate-yydqqga9.js → location-services-g1e2r5aa.js} +4 -4
  153. package/dist/chunks/{generate-nmbqtac7.js → location-services-g2yv87vr.js} +21 -21
  154. package/dist/chunks/{generate-gc4rcfsx.js → location-services-g42b6ca9.js} +4 -4
  155. package/dist/chunks/{generate-g5h9c0rr.js → location-services-g5h9c0rr.js} +2 -2
  156. package/dist/chunks/{generate-zw7j8ap3.js → location-services-g6hkq510.js} +26 -26
  157. package/dist/chunks/{generate-dr524zn0.js → location-services-g9tm7d2t.js} +15 -15
  158. package/dist/chunks/{generate-gg8p9cgs.js → location-services-gg8p9cgs.js} +3 -3
  159. package/dist/chunks/{generate-1bt4srtf.js → location-services-gh0yfcmw.js} +140 -140
  160. package/dist/chunks/{generate-xq0asyt8.js → location-services-gkp4zd0c.js} +32 -30
  161. package/dist/chunks/{generate-4hh95258.js → location-services-gyx5xa5k.js} +16 -16
  162. package/dist/chunks/{generate-n7ydacfz.js → location-services-h06rb14x.js} +7 -7
  163. package/dist/chunks/{generate-crfddmzc.js → location-services-h097nhc1.js} +8 -8
  164. package/dist/chunks/{generate-qwa5qwjv.js → location-services-h488c7y5.js} +1 -1
  165. package/dist/chunks/{generate-6zf9q3dm.js → location-services-h7zf0bn5.js} +13 -13
  166. package/dist/chunks/{generate-sm9at3z0.js → location-services-h8acnr4s.js} +5 -5
  167. package/dist/chunks/{generate-05rvh78w.js → location-services-hb1289hx.js} +27 -26
  168. package/dist/chunks/location-services-hcg6ehd2.js +517 -0
  169. package/dist/chunks/{generate-hdfrs5mg.js → location-services-hdfrs5mg.js} +2 -2
  170. package/dist/chunks/{generate-m37sd98t.js → location-services-hfgk9wzg.js} +4 -4
  171. package/dist/chunks/{generate-bwk9zsmg.js → location-services-hg1nz1sy.js} +21 -21
  172. package/dist/chunks/{generate-qhfh2fyf.js → location-services-hkqavxqx.js} +28 -29
  173. package/dist/chunks/{generate-m6gaya9c.js → location-services-hpz3j2k0.js} +17 -17
  174. package/dist/chunks/{generate-tg1vr1qt.js → location-services-hy8c1z76.js} +8 -8
  175. package/dist/chunks/{generate-h7yew4n9.js → location-services-hz7f4e5w.js} +11 -11
  176. package/dist/chunks/{generate-j113cymg.js → location-services-j113cymg.js} +1 -1
  177. package/dist/chunks/{generate-cr10brw4.js → location-services-j4hj9mmz.js} +28 -28
  178. package/dist/chunks/{generate-39b0v2m0.js → location-services-jd10xym8.js} +21 -21
  179. package/dist/chunks/{generate-hw7xvx1w.js → location-services-jksnk9rk.js} +7 -7
  180. package/dist/chunks/{generate-9p9xqj3m.js → location-services-jneg3k74.js} +6 -6
  181. package/dist/chunks/{generate-5yqt7x1t.js → location-services-jw2fkyg0.js} +8 -8
  182. package/dist/chunks/{generate-kjt6993h.js → location-services-jw782sdw.js} +37 -37
  183. package/dist/chunks/{generate-mj6e6dj3.js → location-services-jwg5v617.js} +37 -37
  184. package/dist/chunks/{generate-5fth6e7e.js → location-services-jwjt5z3a.js} +15 -15
  185. package/dist/chunks/{generate-be310d62.js → location-services-jz71nhx8.js} +14 -14
  186. package/dist/chunks/{generate-450yhr7g.js → location-services-k00wzz3g.js} +16 -16
  187. package/dist/chunks/{generate-b87bx4hb.js → location-services-k4hacpf1.js} +6 -6
  188. package/dist/chunks/{generate-wr6c97eb.js → location-services-k4te3eym.js} +24 -25
  189. package/dist/chunks/{generate-k814nvkf.js → location-services-k814nvkf.js} +1 -1
  190. package/dist/chunks/{generate-6t0a6egd.js → location-services-kac0vvew.js} +11 -11
  191. package/dist/chunks/{generate-h1ferrrm.js → location-services-kb9aw3cj.js} +11 -11
  192. package/dist/chunks/{generate-25tc2yyb.js → location-services-kevx4vjj.js} +17 -17
  193. package/dist/chunks/{generate-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
  194. package/dist/chunks/{generate-m1714858.js → location-services-m1714858.js} +1 -1
  195. package/dist/chunks/{generate-1rj159m0.js → location-services-m1m4h2ws.js} +16 -16
  196. package/dist/chunks/{generate-w0mr8pfp.js → location-services-m4hkdytw.js} +13 -13
  197. package/dist/chunks/{generate-srfbxa22.js → location-services-m57z52n9.js} +17 -17
  198. package/dist/chunks/{generate-eewf5kq5.js → location-services-m8m8yt4h.js} +23 -23
  199. package/dist/chunks/{generate-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  200. package/dist/chunks/{generate-maspj1v3.js → location-services-maspj1v3.js} +1 -1
  201. package/dist/chunks/{generate-wef44qxv.js → location-services-mfcwkzw5.js} +2 -2
  202. package/dist/chunks/{generate-9ma9r77m.js → location-services-mm7a63e9.js} +6 -6
  203. package/dist/chunks/{generate-s7kyse9r.js → location-services-mmx1mfjr.js} +4 -4
  204. package/dist/chunks/{generate-49fajgsd.js → location-services-mnazxqb2.js} +11 -11
  205. package/dist/chunks/{generate-ex2ghmgq.js → location-services-mqcadzqw.js} +5 -5
  206. package/dist/chunks/{generate-6dvctgn8.js → location-services-mr0ga9ap.js} +69 -64
  207. package/dist/chunks/{generate-zv3m3tdk.js → location-services-mre9hm22.js} +4 -4
  208. package/dist/chunks/{generate-0gsbsa6w.js → location-services-mvrtasbk.js} +8 -8
  209. package/dist/chunks/{generate-5a525hm9.js → location-services-mwttkatk.js} +13 -13
  210. package/dist/chunks/{generate-adfm7s3d.js → location-services-mz7759ww.js} +33 -33
  211. package/dist/chunks/{generate-nah043kf.js → location-services-nah043kf.js} +1 -1
  212. package/dist/chunks/{generate-ezas4x5c.js → location-services-ndphpag7.js} +79 -79
  213. package/dist/chunks/{generate-ba6md75m.js → location-services-nmcss2m3.js} +10 -10
  214. package/dist/chunks/{generate-5ect6tx9.js → location-services-nvxqht09.js} +2 -2
  215. package/dist/chunks/{generate-p015t6z3.js → location-services-p015t6z3.js} +2 -2
  216. package/dist/chunks/{generate-smf0az4w.js → location-services-p513p73p.js} +23 -23
  217. package/dist/chunks/{generate-20zdy5ks.js → location-services-p9a4fkqx.js} +6 -6
  218. package/dist/chunks/{generate-pknna89w.js → location-services-pknna89w.js} +1 -1
  219. package/dist/chunks/{generate-y2qm725k.js → location-services-pvmfh5yx.js} +9 -9
  220. package/dist/chunks/{generate-308nzxyx.js → location-services-pxxfm478.js} +2 -2
  221. package/dist/chunks/{generate-9rkew2h6.js → location-services-q3xvmvv1.js} +10 -10
  222. package/dist/chunks/{generate-4k9tnmjh.js → location-services-q5vr2yry.js} +2 -2
  223. package/dist/chunks/{generate-4sszy9c0.js → location-services-q8yx5esg.js} +17 -17
  224. package/dist/chunks/{generate-9czaxqrp.js → location-services-q906frw1.js} +13 -13
  225. package/dist/chunks/{generate-81bgmkmh.js → location-services-qa1edmd1.js} +9 -9
  226. package/dist/chunks/{generate-xwwftgt8.js → location-services-qb7cx6yj.js} +37 -37
  227. package/dist/chunks/{generate-qyq8h28g.js → location-services-qyq8h28g.js} +1 -1
  228. package/dist/chunks/{generate-r0yr0wbs.js → location-services-r0yr0wbs.js} +1 -1
  229. package/dist/chunks/{generate-r542h3bh.js → location-services-r542h3bh.js} +1 -1
  230. package/dist/chunks/{generate-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
  231. package/dist/chunks/{generate-3m2th8fr.js → location-services-rc3spf3f.js} +11 -11
  232. package/dist/chunks/{generate-waekfe58.js → location-services-rddcemm9.js} +21 -21
  233. package/dist/chunks/{generate-wghss91q.js → location-services-rdsq3qfj.js} +9 -9
  234. package/dist/chunks/location-services-re7afsx4.js +257 -0
  235. package/dist/chunks/{generate-zw4pk1bw.js → location-services-rmm45jmv.js} +5 -5
  236. package/dist/chunks/{generate-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
  237. package/dist/chunks/{generate-x4wyjn1e.js → location-services-rz3kjw72.js} +17 -17
  238. package/dist/chunks/{generate-bjhzkqyk.js → location-services-s626qfae.js} +4 -4
  239. package/dist/chunks/{generate-kvfvqdzr.js → location-services-s89f5phx.js} +11 -11
  240. package/dist/chunks/{generate-sjn4p4df.js → location-services-s9szcymt.js} +22 -22
  241. package/dist/chunks/{generate-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
  242. package/dist/chunks/{generate-kyjdqzbx.js → location-services-sa7xyy0c.js} +26 -26
  243. package/dist/chunks/{generate-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
  244. package/dist/chunks/{generate-c9t2ty9q.js → location-services-ssfehs1z.js} +4 -4
  245. package/dist/chunks/{generate-h7gvp0tv.js → location-services-st7p3hwb.js} +2 -2
  246. package/dist/chunks/{generate-fj4n425x.js → location-services-t143wn0z.js} +80 -80
  247. package/dist/chunks/{generate-ftav155q.js → location-services-t2c3e9ky.js} +2 -2
  248. package/dist/chunks/{generate-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
  249. package/dist/chunks/{generate-ezm5mefv.js → location-services-tdhjqvff.js} +15 -15
  250. package/dist/chunks/{generate-f4ce04df.js → location-services-th8wr6tp.js} +7 -7
  251. package/dist/chunks/{generate-h4m582a6.js → location-services-tj0mzswe.js} +16 -16
  252. package/dist/chunks/{generate-7qvq4ghn.js → location-services-tjqvjnbx.js} +18 -18
  253. package/dist/chunks/{generate-srg9stfr.js → location-services-tkmxfp5h.js} +20 -20
  254. package/dist/chunks/{generate-59qf4ysp.js → location-services-tm13by84.js} +30 -30
  255. package/dist/chunks/{generate-twv2r8f4.js → location-services-twv2r8f4.js} +2 -2
  256. package/dist/chunks/{generate-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
  257. package/dist/chunks/{generate-kftyqbhm.js → location-services-v6jczr14.js} +13 -13
  258. package/dist/chunks/{generate-ns4f8tr7.js → location-services-v8q01xw4.js} +19 -19
  259. package/dist/chunks/{generate-py2ydaen.js → location-services-v9492ht0.js} +15 -15
  260. package/dist/chunks/{generate-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  261. package/dist/chunks/{generate-rmt6m6se.js → location-services-vrcsa8qx.js} +9 -9
  262. package/dist/chunks/{generate-8zg4nwes.js → location-services-w0vcdtw5.js} +3 -3
  263. package/dist/chunks/{generate-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{generate-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
  265. package/dist/chunks/{generate-eyyv5nda.js → location-services-wbnwkwkc.js} +15 -15
  266. package/dist/chunks/{generate-wd87259q.js → location-services-wd87259q.js} +1 -1
  267. package/dist/chunks/{generate-gqmen105.js → location-services-wegc3p94.js} +12 -12
  268. package/dist/chunks/{generate-j5zs165q.js → location-services-wf7v8c8z.js} +27 -27
  269. package/dist/chunks/{generate-94gztf2h.js → location-services-wkxzy6jz.js} +21 -21
  270. package/dist/chunks/{generate-ppk0knvm.js → location-services-wr3z335x.js} +11 -11
  271. package/dist/chunks/{generate-hna5e0rk.js → location-services-x2b74qpx.js} +30 -30
  272. package/dist/chunks/{generate-n49yy442.js → location-services-xcvvfsb7.js} +4 -4
  273. package/dist/chunks/{generate-wy0hchk8.js → location-services-xm4qwp9y.js} +25 -25
  274. package/dist/chunks/{generate-jecrmhrf.js → location-services-xv4smn2w.js} +22 -22
  275. package/dist/chunks/{generate-37cm3r6v.js → location-services-xy4ztr0v.js} +3 -3
  276. package/dist/chunks/{generate-ser66ar7.js → location-services-y28mq519.js} +54 -54
  277. package/dist/chunks/{generate-jh1t67wh.js → location-services-y4hm39pm.js} +17 -17
  278. package/dist/chunks/location-services-yara3q77.js +132 -0
  279. package/dist/chunks/{generate-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
  280. package/dist/chunks/{generate-03178dsp.js → location-services-yjn9y6zr.js} +19 -14
  281. package/dist/chunks/{generate-hzjw5pxs.js → location-services-ykrh4162.js} +18 -18
  282. package/dist/chunks/{generate-kv6gsz9b.js → location-services-ykx76mnc.js} +1 -1
  283. package/dist/chunks/{generate-8q417wg1.js → location-services-ym46tpre.js} +33 -33
  284. package/dist/chunks/{generate-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{generate-z38nccrw.js → location-services-z38nccrw.js} +1 -1
  286. package/dist/chunks/{generate-k829tzk9.js → location-services-z87ekydq.js} +4 -4
  287. package/dist/chunks/{generate-4gjjgmy7.js → location-services-zcd67qx2.js} +34 -34
  288. package/dist/chunks/{generate-e9waf9qz.js → location-services-zdxh8aba.js} +9 -9
  289. package/dist/chunks/{generate-7cx8wp0a.js → location-services-zgd8t41s.js} +9 -9
  290. package/dist/chunks/{generate-5r72z9dp.js → location-services-zggvq0e7.js} +8 -8
  291. package/dist/chunks/{generate-7x78ttrr.js → location-services-zjyr9dee.js} +6 -6
  292. package/dist/chunks/{generate-zkg84ctx.js → location-services-zkg84ctx.js} +1 -1
  293. package/dist/chunks/{generate-hwf1b6v4.js → location-services-zrnb11sh.js} +10 -10
  294. package/dist/chunks/{generate-dv7g9852.js → location-services-ztjcf3e9.js} +6 -6
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +7 -7
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +91 -91
  300. package/dist/config/discovery.js +92 -91
  301. package/dist/config/integration.js +7 -7
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -106
  304. package/dist/config/plugin/agent.js +121 -120
  305. package/dist/config/plugin/command.js +219 -218
  306. package/dist/config/plugin/compaction.js +162 -161
  307. package/dist/config/plugin/compatibility.js +142 -141
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -121
  310. package/dist/config/plugin/image.js +121 -120
  311. package/dist/config/plugin/instruction.js +121 -120
  312. package/dist/config/plugin/location-watcher.js +123 -122
  313. package/dist/config/plugin/mcp.js +128 -127
  314. package/dist/config/plugin/policy.js +123 -122
  315. package/dist/config/plugin/provider.js +122 -121
  316. package/dist/config/plugin/reference.js +123 -122
  317. package/dist/config/plugin/shell.js +121 -120
  318. package/dist/config/plugin/skill-file.js +138 -137
  319. package/dist/config/plugin/skill-scan.js +1 -1
  320. package/dist/config/plugin/skill.js +143 -142
  321. package/dist/config/plugin/snapshot.js +121 -120
  322. package/dist/config/plugin/source.js +122 -121
  323. package/dist/config/plugin/tool-output.js +122 -121
  324. package/dist/config/plugin/websearch.js +120 -119
  325. package/dist/config/plugin/worktree.js +123 -122
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +126 -125
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +89 -89
  332. package/dist/database/database.js +72 -72
  333. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  334. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +13 -13
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +14 -14
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +93 -92
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +385 -382
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +1 -1
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -100
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +103 -102
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +1 -1
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +76 -76
  428. package/dist/file-access.js +140 -139
  429. package/dist/file-mutation.js +102 -101
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +221 -0
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +234 -233
  438. package/dist/filesystem/protected.js +3 -3
  439. package/dist/filesystem/search.js +107 -106
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +11 -11
  442. package/dist/filesystem.js +112 -111
  443. package/dist/form.js +88 -88
  444. package/dist/formatter/builtins.js +2 -2
  445. package/dist/formatter.js +95 -94
  446. package/dist/generate.js +115 -114
  447. package/dist/git.js +7 -7
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +99 -98
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon.js +2 -2
  468. package/dist/image.js +6 -6
  469. package/dist/instance/service.js +5 -5
  470. package/dist/instance.js +372 -371
  471. package/dist/instruction-discovery.js +92 -92
  472. package/dist/instructions/builtins.js +95 -94
  473. package/dist/instructions/index.js +3 -3
  474. package/dist/integration/connection.js +3 -3
  475. package/dist/integration.js +89 -89
  476. package/dist/job.js +84 -84
  477. package/dist/kv/sql.js +2 -2
  478. package/dist/kv.js +79 -79
  479. package/dist/location-activity.js +165 -166
  480. package/dist/location-lifecycle.js +142 -141
  481. package/dist/location-service-map.js +94 -93
  482. package/dist/location-services.js +369 -368
  483. package/dist/location.js +89 -88
  484. package/dist/managed-policy.js +9 -9
  485. package/dist/mcp/client.js +99 -98
  486. package/dist/mcp/index.js +113 -112
  487. package/dist/mcp/instructions.js +164 -163
  488. package/dist/mcp/oauth.js +81 -81
  489. package/dist/mcp/socket-client.js +1 -1
  490. package/dist/mcp/stdio.js +98 -97
  491. package/dist/mime.js +1 -1
  492. package/dist/modal/models.js +99 -98
  493. package/dist/model-resolver.js +107 -106
  494. package/dist/model-retry.js +1 -1
  495. package/dist/model.js +102 -101
  496. package/dist/models-dev.js +115 -114
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +86 -86
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +143 -142
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +88 -88
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +80 -80
  507. package/dist/plugin/command.js +108 -107
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +227 -226
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +342 -341
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +104 -103
  515. package/dist/plugin/module.js +121 -120
  516. package/dist/plugin/optimize.js +2 -2
  517. package/dist/plugin/plan.js +138 -137
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -97
  520. package/dist/plugin/provider/azure.js +121 -120
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -120
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
  525. package/dist/plugin/provider/cohere.js +2 -2
  526. package/dist/plugin/provider/configured.js +117 -116
  527. package/dist/plugin/provider/databricks.js +1 -1
  528. package/dist/plugin/provider/digitalocean.js +101 -100
  529. package/dist/plugin/provider/dynamic.js +2 -2
  530. package/dist/plugin/provider/factory.js +1 -1
  531. package/dist/plugin/provider/github-copilot.js +103 -102
  532. package/dist/plugin/provider/gitlab.js +101 -100
  533. package/dist/plugin/provider/google-vertex.js +118 -117
  534. package/dist/plugin/provider/kilo.js +1 -1
  535. package/dist/plugin/provider/llmgateway.js +84 -84
  536. package/dist/plugin/provider/lmstudio.js +128 -127
  537. package/dist/plugin/provider/local.js +127 -126
  538. package/dist/plugin/provider/modal.js +100 -99
  539. package/dist/plugin/provider/neon.js +1 -1
  540. package/dist/plugin/provider/nvidia.js +1 -1
  541. package/dist/plugin/provider/ollama.js +128 -127
  542. package/dist/plugin/provider/openai-context-caps.js +98 -97
  543. package/dist/plugin/provider/openai.js +121 -120
  544. package/dist/plugin/provider/opencode-legacy.js +106 -105
  545. package/dist/plugin/provider/opencode.js +127 -126
  546. package/dist/plugin/provider/openrouter.js +99 -98
  547. package/dist/plugin/provider/perplexity.js +2 -2
  548. package/dist/plugin/provider/poe.js +85 -85
  549. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  550. package/dist/plugin/provider/sap-ai-core.js +99 -98
  551. package/dist/plugin/provider/sdk-factory.js +1 -1
  552. package/dist/plugin/provider/snowflake-cortex.js +120 -119
  553. package/dist/plugin/provider/vercel.js +98 -97
  554. package/dist/plugin/provider/vllm.js +130 -129
  555. package/dist/plugin/provider/xai.js +99 -98
  556. package/dist/plugin/provider/zenmux.js +1 -1
  557. package/dist/plugin/provider.js +178 -177
  558. package/dist/plugin/sdk.js +80 -80
  559. package/dist/plugin/service.js +3 -3
  560. package/dist/plugin/skill.js +139 -138
  561. package/dist/plugin/source-directory.js +1 -1
  562. package/dist/plugin/supervisor.js +359 -358
  563. package/dist/plugin/tool-input-repair.js +4 -4
  564. package/dist/plugin/update.js +6 -6
  565. package/dist/plugin/vcs/git.js +94 -93
  566. package/dist/plugin/vcs/hg.js +94 -93
  567. package/dist/plugin/verbosity.js +101 -100
  568. package/dist/plugin/warming.js +119 -118
  569. package/dist/plugin/websearch/exa.js +7 -7
  570. package/dist/plugin/websearch/firecrawl.js +6 -6
  571. package/dist/plugin/websearch/index.js +9 -9
  572. package/dist/plugin/websearch/mcp.js +2 -2
  573. package/dist/plugin/websearch/parallel.js +6 -6
  574. package/dist/plugin/websearch/tavily.js +4 -4
  575. package/dist/plugin/websearch/tinyfish.js +8 -8
  576. package/dist/plugin.js +230 -229
  577. package/dist/project/icon.js +14 -0
  578. package/dist/project/schema.js +2 -2
  579. package/dist/project/sql.js +4 -4
  580. package/dist/project.js +88 -87
  581. package/dist/provider.js +101 -100
  582. package/dist/pty/protocol.js +1 -1
  583. package/dist/pty/ticket.js +1 -1
  584. package/dist/pty.js +104 -103
  585. package/dist/reference/instructions.js +94 -94
  586. package/dist/reference.js +98 -98
  587. package/dist/repository-cache.js +88 -88
  588. package/dist/repository.js +1 -1
  589. package/dist/ripgrep/binary.js +2 -2
  590. package/dist/ripgrep.js +105 -104
  591. package/dist/rpc.js +94 -93
  592. package/dist/schema.js +1 -1
  593. package/dist/session/affinity.js +1 -1
  594. package/dist/session/blob.js +120 -119
  595. package/dist/session/command.js +80 -80
  596. package/dist/session/compaction.js +162 -161
  597. package/dist/session/context.js +188 -187
  598. package/dist/session/diff.js +96 -95
  599. package/dist/session/environment.js +5 -5
  600. package/dist/session/error.js +3 -3
  601. package/dist/session/event.js +1 -1
  602. package/dist/session/execution/restart.js +228 -227
  603. package/dist/session/execution.js +154 -153
  604. package/dist/session/generate.js +190 -189
  605. package/dist/session/history.js +127 -126
  606. package/dist/session/inbox.js +140 -139
  607. package/dist/session/info.js +3 -3
  608. package/dist/session/instruction-entry.js +85 -85
  609. package/dist/session/instruction-state.js +8 -8
  610. package/dist/session/instructions.js +134 -133
  611. package/dist/session/message-updater.js +4 -4
  612. package/dist/session/message.js +1 -1
  613. package/dist/session/model-request.js +153 -152
  614. package/dist/session/model-transport.js +7 -7
  615. package/dist/session/move.js +156 -155
  616. package/dist/session/projector.js +134 -133
  617. package/dist/session/prompt.js +140 -139
  618. package/dist/session/recent-text.js +1 -1
  619. package/dist/session/revert.js +130 -129
  620. package/dist/session/run-coordinator.js +3 -3
  621. package/dist/session/runner/index.js +3 -3
  622. package/dist/session/runner/llm.js +238 -237
  623. package/dist/session/runner/max-steps.js +1 -1
  624. package/dist/session/runner/model.js +108 -107
  625. package/dist/session/runner/publish-llm-event.js +141 -140
  626. package/dist/session/runner/retry.js +3 -3
  627. package/dist/session/runner/step.js +152 -151
  628. package/dist/session/runner/to-llm-message.js +128 -127
  629. package/dist/session/schema.js +3 -3
  630. package/dist/session/session.js +172 -171
  631. package/dist/session/shell.js +135 -134
  632. package/dist/session/skill.js +139 -138
  633. package/dist/session/sql.js +5 -5
  634. package/dist/session/stats.js +79 -79
  635. package/dist/session/store.js +133 -132
  636. package/dist/session/stored.js +4 -4
  637. package/dist/session/subagent-completion.js +1 -1
  638. package/dist/session/subagent-job.js +219 -218
  639. package/dist/session/system-prompt.js +3 -3
  640. package/dist/session/title.js +190 -189
  641. package/dist/session/to-session-error.js +140 -139
  642. package/dist/session/transfer.js +219 -218
  643. package/dist/session/usage.js +1 -1
  644. package/dist/session.js +221 -220
  645. package/dist/shell/parse.js +6 -6
  646. package/dist/shell/result.js +1 -1
  647. package/dist/shell/scan.js +1 -1
  648. package/dist/shell/select.js +9 -9
  649. package/dist/shell.js +137 -136
  650. package/dist/skill/discovery.js +6 -6
  651. package/dist/skill/instructions.js +143 -142
  652. package/dist/skill.js +150 -149
  653. package/dist/snapshot.js +99 -98
  654. package/dist/state.js +3 -1
  655. package/dist/tool/html-markdown.js +1 -1
  656. package/dist/tool/http-body.js +1 -1
  657. package/dist/tool/mcp.js +163 -162
  658. package/dist/tool/plugin/edit.js +156 -155
  659. package/dist/tool/plugin/file-diff.js +1 -1
  660. package/dist/tool/plugin/glob.js +158 -157
  661. package/dist/tool/plugin/grep.js +160 -159
  662. package/dist/tool/plugin/mcp-resource.js +154 -153
  663. package/dist/tool/plugin/opencode.js +145 -144
  664. package/dist/tool/plugin/patch.js +158 -157
  665. package/dist/tool/plugin/question.js +138 -137
  666. package/dist/tool/plugin/read.js +161 -160
  667. package/dist/tool/plugin/shell.js +218 -217
  668. package/dist/tool/plugin/skill.js +145 -144
  669. package/dist/tool/plugin/subagent.js +226 -225
  670. package/dist/tool/plugin/todo.js +145 -144
  671. package/dist/tool/plugin/webfetch.js +147 -146
  672. package/dist/tool/plugin/websearch.js +143 -142
  673. package/dist/tool/plugin/write.js +158 -157
  674. package/dist/tool/read-filesystem.js +108 -107
  675. package/dist/tool/runtime.js +1 -1
  676. package/dist/tool-output.js +7 -7
  677. package/dist/tool.js +16 -16
  678. package/dist/types/filesystem/file-watch.d.ts +33 -0
  679. package/dist/types/instance/service.d.ts +2 -0
  680. package/dist/types/project/icon.d.ts +26 -0
  681. package/dist/types/state.d.ts +6 -0
  682. package/dist/usage-limits.js +95 -95
  683. package/dist/util/error-summary.js +1 -1
  684. package/dist/util/git-executable.js +3 -3
  685. package/dist/util/lazy.js +1 -1
  686. package/dist/util/slug.js +1 -1
  687. package/dist/util/token.js +1 -1
  688. package/dist/util/which.js +1 -1
  689. package/dist/util/wildcard.js +1 -1
  690. package/dist/v1/config/agent.js +7 -7
  691. package/dist/v1/config/command.js +5 -5
  692. package/dist/v1/config/mcp.js +6 -6
  693. package/dist/v1/config/migrate.js +100 -99
  694. package/dist/v1/config/permission.js +3 -3
  695. package/dist/v1/config/plugin.js +3 -3
  696. package/dist/v1/config/provider-options.js +1 -1
  697. package/dist/v1/config/provider.js +4 -4
  698. package/dist/variant.js +101 -100
  699. package/dist/vcs/patch.js +1 -1
  700. package/dist/vcs.js +97 -96
  701. package/dist/voice.js +94 -94
  702. package/dist/websearch.js +90 -90
  703. package/dist/wellknown/plugin.js +82 -82
  704. package/dist/wellknown.js +87 -87
  705. package/dist/workspace/driver.js +5 -5
  706. package/dist/workspace/sql.js +1 -1
  707. package/dist/workspace.js +86 -86
  708. package/dist/worktree/directory.js +2 -2
  709. package/dist/worktree/git.js +11 -11
  710. package/dist/worktree/sql.js +5 -5
  711. package/dist/worktree/strategies.js +97 -96
  712. package/dist/worktree.js +104 -103
  713. package/package.json +8 -8
  714. package/dist/chunks/generate-9yjwf605.js +0 -257
  715. package/dist/chunks/generate-ke35y05g.js +0 -26
  716. package/dist/chunks/generate-x6w6jbv3.js +0 -517
  717. package/dist/chunks/generate-xgsg3c9w.js +0 -18
  718. /package/dist/chunks/{generate-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  719. /package/dist/chunks/{generate-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  720. /package/dist/chunks/{generate-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  721. /package/dist/chunks/{generate-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  722. /package/dist/chunks/{generate-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  723. /package/dist/chunks/{generate-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  724. /package/dist/chunks/{generate-2bv980vf.js → location-services-2bv980vf.js} +0 -0
  725. /package/dist/chunks/{generate-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  726. /package/dist/chunks/{generate-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  727. /package/dist/chunks/{generate-3asan66x.js → location-services-3asan66x.js} +0 -0
  728. /package/dist/chunks/{generate-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  729. /package/dist/chunks/{generate-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  730. /package/dist/chunks/{generate-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  731. /package/dist/chunks/{generate-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  732. /package/dist/chunks/{generate-4m86bj6y.js → location-services-4m86bj6y.js} +0 -0
  733. /package/dist/chunks/{generate-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  734. /package/dist/chunks/{generate-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  735. /package/dist/chunks/{generate-53557ph1.js → location-services-53557ph1.js} +0 -0
  736. /package/dist/chunks/{generate-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  737. /package/dist/chunks/{generate-5fjb7ams.js → location-services-5fjb7ams.js} +0 -0
  738. /package/dist/chunks/{generate-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
  739. /package/dist/chunks/{generate-6prwharc.js → location-services-6prwharc.js} +0 -0
  740. /package/dist/chunks/{generate-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
  741. /package/dist/chunks/{generate-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  742. /package/dist/chunks/{generate-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  743. /package/dist/chunks/{generate-822emrt2.js → location-services-822emrt2.js} +0 -0
  744. /package/dist/chunks/{generate-84wd9syh.js → location-services-84wd9syh.js} +0 -0
  745. /package/dist/chunks/{generate-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  746. /package/dist/chunks/{generate-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  747. /package/dist/chunks/{generate-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  748. /package/dist/chunks/{generate-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  749. /package/dist/chunks/{generate-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  750. /package/dist/chunks/{generate-a058387c.js → location-services-a058387c.js} +0 -0
  751. /package/dist/chunks/{generate-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  752. /package/dist/chunks/{generate-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  753. /package/dist/chunks/{generate-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  754. /package/dist/chunks/{generate-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  755. /package/dist/chunks/{generate-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  756. /package/dist/chunks/{generate-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  757. /package/dist/chunks/{generate-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  758. /package/dist/chunks/{generate-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  759. /package/dist/chunks/{generate-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
  760. /package/dist/chunks/{generate-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  761. /package/dist/chunks/{generate-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  762. /package/dist/chunks/{generate-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  763. /package/dist/chunks/{generate-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  764. /package/dist/chunks/{generate-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  765. /package/dist/chunks/{generate-df08tz66.js → location-services-df08tz66.js} +0 -0
  766. /package/dist/chunks/{generate-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  767. /package/dist/chunks/{generate-e3qxr5gk.js → location-services-e3qxr5gk.js} +0 -0
  768. /package/dist/chunks/{generate-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  769. /package/dist/chunks/{generate-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  770. /package/dist/chunks/{generate-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  771. /package/dist/chunks/{generate-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  772. /package/dist/chunks/{generate-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  773. /package/dist/chunks/{generate-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  774. /package/dist/chunks/{generate-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  775. /package/dist/chunks/{generate-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  776. /package/dist/chunks/{generate-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  777. /package/dist/chunks/{generate-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
  778. /package/dist/chunks/{generate-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  779. /package/dist/chunks/{generate-g86h250q.js → location-services-g86h250q.js} +0 -0
  780. /package/dist/chunks/{generate-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  781. /package/dist/chunks/{generate-gftt206x.js → location-services-gftt206x.js} +0 -0
  782. /package/dist/chunks/{generate-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
  783. /package/dist/chunks/{generate-hk9envan.js → location-services-hk9envan.js} +0 -0
  784. /package/dist/chunks/{generate-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  785. /package/dist/chunks/{generate-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  786. /package/dist/chunks/{generate-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  787. /package/dist/chunks/{generate-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  788. /package/dist/chunks/{generate-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  789. /package/dist/chunks/{generate-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
  790. /package/dist/chunks/{generate-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
  791. /package/dist/chunks/{generate-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  792. /package/dist/chunks/{generate-m18g726c.js → location-services-m18g726c.js} +0 -0
  793. /package/dist/chunks/{generate-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  794. /package/dist/chunks/{generate-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  795. /package/dist/chunks/{generate-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  796. /package/dist/chunks/{generate-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  797. /package/dist/chunks/{generate-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  798. /package/dist/chunks/{generate-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  799. /package/dist/chunks/{generate-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  800. /package/dist/chunks/{generate-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  801. /package/dist/chunks/{generate-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  802. /package/dist/chunks/{generate-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  803. /package/dist/chunks/{generate-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  804. /package/dist/chunks/{generate-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  805. /package/dist/chunks/{generate-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  806. /package/dist/chunks/{generate-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  807. /package/dist/chunks/{generate-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  808. /package/dist/chunks/{generate-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
  809. /package/dist/chunks/{generate-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  810. /package/dist/chunks/{generate-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  811. /package/dist/chunks/{generate-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  812. /package/dist/chunks/{generate-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
  813. /package/dist/chunks/{generate-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  814. /package/dist/chunks/{generate-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  815. /package/dist/chunks/{generate-x61499pn.js → location-services-x61499pn.js} +0 -0
  816. /package/dist/chunks/{generate-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  817. /package/dist/chunks/{generate-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  818. /package/dist/chunks/{generate-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  819. /package/dist/chunks/{generate-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  820. /package/dist/chunks/{generate-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  821. /package/dist/chunks/{generate-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service37,
3
- node39
4
- } from "./generate-y3v10bb3.js";
2
+ Service48,
3
+ node51
4
+ } from "./location-services-0n4brtsj.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
8
  make21,
9
9
  diffByKey2
10
- } from "./generate-9p9xqj3m.js";
10
+ } from "./location-services-jneg3k74.js";
11
11
  import {
12
12
  __export
13
- } from "./generate-9rqn6x4v.js";
13
+ } from "./location-services-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions5 = {};
17
- __export(exports_instructions5, {
18
- ReferenceInstructions: () => exports_instructions5,
16
+ var exports_instructions2 = {};
17
+ __export(exports_instructions2, {
18
+ ReferenceInstructions: () => exports_instructions2,
19
19
  Service: () => Service22,
20
- node: () => node24
20
+ node: () => node26
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -64,7 +64,7 @@ var update = (previous, current) => {
64
64
  class Service22 extends Context.Service()("@opencode/ReferenceInstructions") {
65
65
  }
66
66
  var layer = Layer.effect(Service22, Effect.gen(function* () {
67
- const references = yield* Service37;
67
+ const references = yield* Service48;
68
68
  return Service22.of({
69
69
  load: Effect.fn("ReferenceInstructions.load")(function* () {
70
70
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
73
73
  description: reference.description
74
74
  })).toSorted((a, b) => a.name.localeCompare(b.name));
75
75
  return make21({
76
- key: Key4.make("core/reference-guidance"),
76
+ key: Key3.make("core/reference-guidance"),
77
77
  codec: Schema.toCodecJson(Schema.Array(Summary)),
78
78
  read: Effect.succeed(available.length === 0 ? removed2 : available),
79
79
  render: {
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node24 = makeLocationNode({ service: Service22, layer, deps: [node39] });
88
+ var node26 = makeLocationNode({ service: Service22, layer, deps: [node51] });
89
89
 
90
- export { Service22, node24, exports_instructions5 };
90
+ export { Service22, node26, exports_instructions2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names4,
10
+ names: () => names3,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names4() {
44
+ function names3() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names4, paths2, exports_protected };
63
+ export { isHome2, names3, paths2, exports_protected };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service57,
3
- node60
4
- } from "./generate-n2prjmzh.js";
2
+ Service78,
3
+ node81
4
+ } from "./location-services-77vhwr65.js";
5
5
  import {
6
- Service70,
7
- node73
8
- } from "./generate-pcsmd4he.js";
6
+ Service63,
7
+ node65
8
+ } from "./location-services-814m0pbm.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./generate-5ect6tx9.js";
11
+ } from "./location-services-nvxqht09.js";
12
12
  import {
13
13
  __export
14
- } from "./generate-9rqn6x4v.js";
14
+ } from "./location-services-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service33,
21
+ Service: () => Service60,
22
22
  SessionRunnerModel: () => exports_model,
23
- node: () => node35,
23
+ node: () => node62,
24
24
  resolved: () => resolved2
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
43
43
  }
44
44
  }
45
45
 
46
- class Service33 extends Context.Service()("@opencode/SessionRunnerModel") {
46
+ class Service60 extends Context.Service()("@opencode/SessionRunnerModel") {
47
47
  }
48
48
  var resolved2 = (model, options) => ({
49
49
  model,
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
58
58
  compaction: options.compaction,
59
59
  transport: options.transport
60
60
  });
61
- var layer = Layer.effect(Service33, Effect.gen(function* () {
62
- const resolver = yield* Service70;
63
- const agents = yield* Service57;
64
- return Service33.of({
61
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
62
+ const resolver = yield* Service63;
63
+ const agents = yield* Service78;
64
+ return Service60.of({
65
65
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
66
66
  if (!session.model) {
67
67
  const agent = (yield* agents.select(session.agent)).info?.model;
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node35 = makeLocationNode({ service: Service33, layer, deps: [node73, node60] });
84
+ var node62 = makeLocationNode({ service: Service60, layer, deps: [node65, node81] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, Service33, resolved2, node35, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service60, resolved2, node62, exports_model };
@@ -1,41 +1,63 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./generate-q8s21k0n.js";
4
+ } from "./location-services-ak39xwrx.js";
5
5
  import {
6
+ changes2,
6
7
  create3
7
- } from "./generate-vd3b3yk9.js";
8
+ } from "./location-services-204s3925.js";
8
9
  import {
9
10
  __export
10
- } from "./generate-9rqn6x4v.js";
11
+ } from "./location-services-9rqn6x4v.js";
11
12
 
12
13
  // src/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- Agent: () => exports_agent3,
14
+ var exports_agent4 = {};
15
+ __export(exports_agent4, {
16
+ Agent: () => exports_agent4,
16
17
  Color: () => Color2,
17
- Event: () => Event10,
18
- ID: () => ID8,
19
- Info: () => Info14,
18
+ Event: () => Event18,
19
+ ID: () => ID15,
20
+ Info: () => Info25,
20
21
  Name: () => Name3,
21
- Service: () => Service57,
22
+ Service: () => Service78,
22
23
  defaultID: () => defaultID2,
23
- node: () => node60
24
+ node: () => node81
24
25
  });
25
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
27
  import { Array, Context, Effect, Layer } from "effect";
27
28
  import { Agent } from "@opencode/schema/agent";
28
- import { Event as Event10 } from "@opencode/schema/agent";
29
- var ID8 = Agent.ID;
29
+ import { Event as Event18 } from "@opencode/schema/agent";
30
+ var ID15 = Agent.ID;
30
31
  var Name3 = Agent.Name;
31
- var defaultID2 = ID8.make("build");
32
+ var defaultID2 = ID15.make("build");
32
33
  var Color2 = Agent.Color;
33
- var Info14 = Agent.Info;
34
+ var Info25 = Agent.Info;
34
35
 
35
- class Service57 extends Context.Service()("@opencode/Agent") {
36
+ class Service78 extends Context.Service()("@opencode/Agent") {
36
37
  }
37
- var layer = Layer.effect(Service57, Effect.gen(function* () {
38
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
38
39
  const bus = yield* Service86;
40
+ const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
41
+ const selectedDefault = (data) => {
42
+ const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
43
+ if (configured)
44
+ return configured;
45
+ const build = selectable(data.agents.get(defaultID2));
46
+ if (build)
47
+ return build;
48
+ for (const agent of data.agents.values()) {
49
+ const fallback = selectable(agent);
50
+ if (fallback)
51
+ return fallback;
52
+ }
53
+ };
54
+ const list = (data) => {
55
+ const agents = Array.fromIterable(data.agents.values());
56
+ const selected = selectedDefault(data);
57
+ if (!selected)
58
+ return agents;
59
+ return [selected, ...agents.filter((agent) => agent.id !== selected.id)];
60
+ };
39
61
  const state = create3({
40
62
  name: "agent",
41
63
  initial: () => ({ agents: new Map }),
@@ -46,7 +68,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
46
68
  editor.default = id;
47
69
  },
48
70
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info14.default(id);
71
+ const current = editor.agents.get(id) ?? Info25.default(id);
50
72
  if (!editor.agents.has(id))
51
73
  editor.agents.set(id, current);
52
74
  fn(current);
@@ -56,24 +78,9 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
56
78
  editor.agents.delete(id);
57
79
  }
58
80
  }),
59
- notify: () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid)
81
+ notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
60
82
  });
61
- const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
62
- const selectedDefault = () => {
63
- const data = state.get();
64
- const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
65
- if (configured)
66
- return configured;
67
- const build = selectable(data.agents.get(defaultID2));
68
- if (build)
69
- return build;
70
- for (const agent of data.agents.values()) {
71
- const fallback = selectable(agent);
72
- if (fallback)
73
- return fallback;
74
- }
75
- };
76
- return Service57.of({
83
+ return Service78.of({
77
84
  transform: state.transform,
78
85
  reload: state.reload,
79
86
  get: Effect.fn("Agent.get")(function* (id) {
@@ -81,24 +88,20 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
81
88
  }),
82
89
  resolve: Effect.fnUntraced(function* (id) {
83
90
  if (id !== undefined)
84
- return state.get().agents.get(ID8.make(id));
85
- return selectedDefault();
91
+ return state.get().agents.get(ID15.make(id));
92
+ return selectedDefault(state.get());
86
93
  }),
87
94
  select: Effect.fn("Agent.select")(function* (id) {
88
95
  if (id !== undefined)
89
96
  return { id, info: state.get().agents.get(id) };
90
- const info = selectedDefault();
97
+ const info = selectedDefault(state.get());
91
98
  return { id: info?.id ?? defaultID2, info };
92
99
  }),
93
100
  list: Effect.fn("Agent.list")(function* () {
94
- const agents = Array.fromIterable(state.get().agents.values());
95
- const selected = selectedDefault();
96
- if (!selected)
97
- return agents;
98
- return [selected, ...agents.filter((agent) => agent.id !== selected.id)];
101
+ return list(state.get());
99
102
  })
100
103
  });
101
104
  }));
102
- var node60 = makeLocationNode({ service: Service57, layer, deps: [node90] });
105
+ var node81 = makeLocationNode({ service: Service78, layer, deps: [node90] });
103
106
 
104
- export { ID8, Name3, defaultID2, Color2, Info14, Service57, node60, exports_agent3, Event10 };
107
+ export { ID15, Name3, defaultID2, Color2, Info25, Service78, node81, exports_agent4, Event18 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./generate-emrn6kk6.js";
5
+ } from "./location-services-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -2,45 +2,45 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./generate-zkg84ctx.js";
5
+ } from "./location-services-zkg84ctx.js";
6
6
  import {
7
7
  Service83
8
- } from "./generate-qq0vx577.js";
8
+ } from "./location-services-ay8f7yhb.js";
9
9
  import {
10
- Service68
11
- } from "./generate-nmbqtac7.js";
10
+ Service45
11
+ } from "./location-services-g2yv87vr.js";
12
12
  import {
13
- Service82
14
- } from "./generate-ppk0knvm.js";
13
+ Service15
14
+ } from "./location-services-wr3z335x.js";
15
15
  import {
16
- Service15,
16
+ Service13,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./generate-kftyqbhm.js";
19
+ } from "./location-services-v6jczr14.js";
20
20
  import {
21
- Service54
22
- } from "./generate-kjt6993h.js";
21
+ Service66
22
+ } from "./location-services-jw782sdw.js";
23
23
  import {
24
- Service48,
24
+ Service49,
25
25
  resolvePath2
26
- } from "./generate-eyyv5nda.js";
26
+ } from "./location-services-wbnwkwkc.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./generate-6prwharc.js";
29
+ } from "./location-services-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./generate-9rqn6x4v.js";
32
+ } from "./location-services-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input10,
39
- Output: () => Output6,
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin47,
42
- name: () => name10,
43
- toModelContent: () => toModelContent5
41
+ Plugin: () => Plugin36,
42
+ name: () => name2,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name10 = "patch";
89
- var Input10 = Schema.Struct({
88
+ var name2 = "patch";
89
+ var Input2 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output6 = Schema.Struct({
99
+ var Output2 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent5 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin47 = {
108
+ var Plugin36 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service68;
112
- const access = yield* Service48;
113
- const fileMutation = yield* Service15;
114
- const formatter = yield* Service82;
111
+ const environment = yield* Service45;
112
+ const access = yield* Service49;
113
+ const fileMutation = yield* Service13;
114
+ const formatter = yield* Service15;
115
115
  const location = yield* Service83;
116
- const permission = yield* Service54;
116
+ const permission = yield* Service66;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name2,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input10,
122
- output: Output6,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin47 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent5(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name10, Input10, Applied2, Output6, toModelContent5, Plugin47, exports_patch };
329
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin36, exports_patch };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./generate-tczq8hjw.js";
3
+ } from "./location-services-tczq8hjw.js";
4
4
  import {
5
5
  create3
6
- } from "./generate-vd3b3yk9.js";
6
+ } from "./location-services-204s3925.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service45,
18
+ Service: () => Service37,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node48
21
+ node: () => node40
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service45 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service37 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service45, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service45.of({
124
+ return Service37.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node48 = makeLocationNode({
143
- service: Service45,
142
+ var node40 = makeLocationNode({
143
+ service: Service37,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service45, node48, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service37, node40, exports_tool_output2 };