@opencode-ai/core 0.0.0-dev-19119 → 0.0.0-dev-19120

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 (770) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{websearch-kjxynnhj.js → location-service-map-00wry05e.js} +8 -8
  9. package/dist/chunks/{websearch-m8f4y9mz.js → location-service-map-07sg0667.js} +13 -13
  10. package/dist/chunks/{websearch-0yvd3pfe.js → location-service-map-09the3rx.js} +57 -57
  11. package/dist/chunks/{websearch-0e0xafbb.js → location-service-map-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{websearch-7yenzqxj.js → location-service-map-0g9x0jch.js} +19 -19
  13. package/dist/chunks/{websearch-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{websearch-0s9ayhjt.js → location-service-map-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{websearch-g3f12aw4.js → location-service-map-0vp0v91d.js} +15 -15
  16. package/dist/chunks/{websearch-0hasn9ff.js → location-service-map-0z93466p.js} +18 -18
  17. package/dist/chunks/{websearch-2xnaffrb.js → location-service-map-13yqp5nw.js} +14 -14
  18. package/dist/chunks/{websearch-d6faz3t2.js → location-service-map-18m6e1av.js} +22 -22
  19. package/dist/chunks/{websearch-2s7w2qxb.js → location-service-map-1axk3xc0.js} +31 -31
  20. package/dist/chunks/{websearch-sb910js5.js → location-service-map-1cngsnb6.js} +20 -20
  21. package/dist/chunks/{websearch-1ct4r87x.js → location-service-map-1ct4r87x.js} +1 -1
  22. package/dist/chunks/{websearch-07kyeq17.js → location-service-map-1m2g7vnw.js} +9 -9
  23. package/dist/chunks/{websearch-m6kpjacq.js → location-service-map-1psqsenn.js} +21 -21
  24. package/dist/chunks/{websearch-njr6r1t9.js → location-service-map-20hnz5p1.js} +46 -46
  25. package/dist/chunks/{websearch-qntar7wb.js → location-service-map-2125gz1e.js} +19 -19
  26. package/dist/chunks/{websearch-mbttcmz7.js → location-service-map-21fyrwt6.js} +14 -14
  27. package/dist/chunks/{websearch-21r38tys.js → location-service-map-21r38tys.js} +1 -1
  28. package/dist/chunks/{websearch-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
  29. package/dist/chunks/{websearch-5rkq28d7.js → location-service-map-260gz6t8.js} +7 -7
  30. package/dist/chunks/{websearch-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{websearch-2ht70gj7.js → location-service-map-2ht70gj7.js} +1 -1
  32. package/dist/chunks/{websearch-2jqmte8w.js → location-service-map-2jqmte8w.js} +2 -2
  33. package/dist/chunks/{websearch-2b3wjbhf.js → location-service-map-2jt13kmw.js} +23 -23
  34. package/dist/chunks/{websearch-nmxp7cq8.js → location-service-map-2sjkem4h.js} +15 -15
  35. package/dist/chunks/{websearch-68d87kgz.js → location-service-map-305k387t.js} +1 -1
  36. package/dist/chunks/{websearch-zqarsgkh.js → location-service-map-3c4a78ta.js} +4 -4
  37. package/dist/chunks/{websearch-gdvy8fx6.js → location-service-map-3fc6dm20.js} +4 -4
  38. package/dist/chunks/{websearch-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{websearch-pcfe4ghh.js → location-service-map-3ktfk1t2.js} +4 -4
  40. package/dist/chunks/{websearch-3qzbfqsy.js → location-service-map-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{websearch-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{websearch-52ba2sra.js → location-service-map-3t5dfjc8.js} +8 -8
  43. package/dist/chunks/{websearch-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{websearch-hm333kvd.js → location-service-map-3wtczznq.js} +62 -62
  45. package/dist/chunks/{websearch-qjr20smf.js → location-service-map-40mdf54f.js} +37 -37
  46. package/dist/chunks/{websearch-ya77tz7a.js → location-service-map-41r81cy4.js} +8 -8
  47. package/dist/chunks/{websearch-454k5vzh.js → location-service-map-454k5vzh.js} +1 -1
  48. package/dist/chunks/{websearch-v99jrwrz.js → location-service-map-498x2am8.js} +4 -4
  49. package/dist/chunks/{websearch-gkq46jej.js → location-service-map-4ex15pvw.js} +1 -1
  50. package/dist/chunks/{websearch-mq9r6drf.js → location-service-map-4he2j10r.js} +3 -3
  51. package/dist/chunks/{websearch-9xmspcc4.js → location-service-map-4hk62fah.js} +3 -3
  52. package/dist/chunks/{websearch-ac7d37sd.js → location-service-map-4k4jemnd.js} +9 -9
  53. package/dist/chunks/{websearch-4e0wk8k8.js → location-service-map-4pgnv374.js} +7 -7
  54. package/dist/chunks/{websearch-hk2g75wg.js → location-service-map-4ph9tgks.js} +24 -24
  55. package/dist/chunks/{websearch-4r2nyarf.js → location-service-map-4r2nyarf.js} +1 -1
  56. package/dist/chunks/{websearch-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
  57. package/dist/chunks/{websearch-r2v2qg2t.js → location-service-map-5daq29n9.js} +38 -38
  58. package/dist/chunks/{websearch-5fmxt4p5.js → location-service-map-5fmxt4p5.js} +1 -1
  59. package/dist/chunks/{websearch-5jvc5tg2.js → location-service-map-5jvc5tg2.js} +1 -1
  60. package/dist/chunks/{websearch-esxy42q4.js → location-service-map-5mh3znf8.js} +6 -6
  61. package/dist/chunks/{websearch-ez5b8bq3.js → location-service-map-5sg4xzjf.js} +7 -7
  62. package/dist/chunks/{websearch-bhnr65dt.js → location-service-map-5yt6h9t8.js} +29 -29
  63. package/dist/chunks/{websearch-ebdcck53.js → location-service-map-625gqt9g.js} +23 -23
  64. package/dist/chunks/{websearch-25epwd50.js → location-service-map-646rggwr.js} +7 -7
  65. package/dist/chunks/{websearch-p5621xbk.js → location-service-map-66hysxsd.js} +20 -20
  66. package/dist/chunks/{websearch-d4w1rbz4.js → location-service-map-68taxtet.js} +82 -82
  67. package/dist/chunks/{websearch-28pcbh69.js → location-service-map-6e958v7x.js} +4 -4
  68. package/dist/chunks/{websearch-10c9v7fm.js → location-service-map-6fz6z6k0.js} +35 -35
  69. package/dist/chunks/{websearch-6tf8tr4v.js → location-service-map-6tf8tr4v.js} +2 -2
  70. package/dist/chunks/{websearch-711hfp6y.js → location-service-map-711hfp6y.js} +2 -2
  71. package/dist/chunks/{websearch-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{websearch-pczr48ja.js → location-service-map-7dqecfa5.js} +11 -11
  73. package/dist/chunks/{websearch-7dqw4kz8.js → location-service-map-7dqw4kz8.js} +1 -1
  74. package/dist/chunks/{websearch-945pddfh.js → location-service-map-7dvm334t.js} +26 -26
  75. package/dist/chunks/{websearch-2jb656d6.js → location-service-map-7grd12ez.js} +49 -49
  76. package/dist/chunks/{websearch-etfd1sj4.js → location-service-map-7gt4qt3x.js} +18 -18
  77. package/dist/chunks/{websearch-m12d8awe.js → location-service-map-7kd10yt5.js} +12 -12
  78. package/dist/chunks/{websearch-dqs7myny.js → location-service-map-7vtgp6gm.js} +29 -29
  79. package/dist/chunks/{websearch-adwe5887.js → location-service-map-7zfx12k3.js} +23 -23
  80. package/dist/chunks/location-service-map-7zk4hah4.js +4 -0
  81. package/dist/chunks/{websearch-g08zf1r8.js → location-service-map-802myvtx.js} +13 -13
  82. package/dist/chunks/{websearch-jyjjr01j.js → location-service-map-84e20ted.js} +16 -16
  83. package/dist/chunks/{websearch-h1kgnmsa.js → location-service-map-882w3bjt.js} +31 -31
  84. package/dist/chunks/{websearch-nj6x7cer.js → location-service-map-8je09tnp.js} +17 -17
  85. package/dist/chunks/{websearch-ep24ddxq.js → location-service-map-8mnp1ez3.js} +11 -11
  86. package/dist/chunks/{websearch-mqwm6h4y.js → location-service-map-8n1tzgm3.js} +1 -1
  87. package/dist/chunks/{websearch-cygj501f.js → location-service-map-8n4wb1gp.js} +18 -18
  88. package/dist/chunks/{websearch-exh78p7x.js → location-service-map-8yx0hnvf.js} +14 -14
  89. package/dist/chunks/{websearch-93a8yfjt.js → location-service-map-93a8yfjt.js} +2 -2
  90. package/dist/chunks/{websearch-x0m2rn61.js → location-service-map-99aevtfh.js} +20 -20
  91. package/dist/chunks/{websearch-ytgxds4t.js → location-service-map-9byrf6x1.js} +11 -11
  92. package/dist/chunks/{websearch-5yzkec37.js → location-service-map-9etq4f5g.js} +11 -11
  93. package/dist/chunks/{websearch-6jyxqvre.js → location-service-map-9jt7q7p4.js} +7 -7
  94. package/dist/chunks/{websearch-6bjjrt3e.js → location-service-map-9wvrztvm.js} +10 -10
  95. package/dist/chunks/{websearch-eqtey8mh.js → location-service-map-9y5rmgt6.js} +15 -15
  96. package/dist/chunks/{websearch-k4fns9ta.js → location-service-map-a04gckda.js} +20 -20
  97. package/dist/chunks/{websearch-x57dfy1p.js → location-service-map-a5v5rdxj.js} +11 -11
  98. package/dist/chunks/{websearch-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  99. package/dist/chunks/{websearch-kver2n51.js → location-service-map-aaf9tk6g.js} +8 -8
  100. package/dist/chunks/{websearch-7vdtdkgs.js → location-service-map-af5vyrpj.js} +10 -10
  101. package/dist/chunks/{websearch-drf6svdd.js → location-service-map-af95cbph.js} +39 -39
  102. package/dist/chunks/{websearch-76mpqn6b.js → location-service-map-agmm5r84.js} +28 -28
  103. package/dist/chunks/{websearch-8rvx16ag.js → location-service-map-ajqptv8w.js} +31 -31
  104. package/dist/chunks/{websearch-t3088jj0.js → location-service-map-akkmbbyy.js} +6 -6
  105. package/dist/chunks/{websearch-497w5wze.js → location-service-map-b4sgh963.js} +26 -26
  106. package/dist/chunks/{websearch-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{websearch-b9wsbatv.js → location-service-map-b9wsbatv.js} +1 -1
  108. package/dist/chunks/{websearch-mm1zw9b7.js → location-service-map-beca96dd.js} +36 -36
  109. package/dist/chunks/{websearch-06ehnqe9.js → location-service-map-bfmbmasw.js} +9 -9
  110. package/dist/chunks/{websearch-01v9whfm.js → location-service-map-br38anqy.js} +23 -23
  111. package/dist/chunks/{websearch-f4saz0r8.js → location-service-map-bve5bdy4.js} +6 -6
  112. package/dist/chunks/{websearch-jyarsrrw.js → location-service-map-bwt96rmt.js} +1 -1
  113. package/dist/chunks/{websearch-by5v678g.js → location-service-map-by5v678g.js} +1 -1
  114. package/dist/chunks/{websearch-fn914p83.js → location-service-map-c0e53q07.js} +160 -160
  115. package/dist/chunks/{websearch-837db1ym.js → location-service-map-cbfp232e.js} +14 -14
  116. package/dist/chunks/{websearch-8qxeb67a.js → location-service-map-cc8qt4va.js} +13 -13
  117. package/dist/chunks/{websearch-5xwg1gye.js → location-service-map-chjptjpy.js} +28 -28
  118. package/dist/chunks/{websearch-p08r3gys.js → location-service-map-chqn43fe.js} +7 -7
  119. package/dist/chunks/{websearch-vzd1pb60.js → location-service-map-cqq29a67.js} +11 -11
  120. package/dist/chunks/{websearch-1gjc24aq.js → location-service-map-ct7p0bgn.js} +20 -20
  121. package/dist/chunks/{websearch-877hfn54.js → location-service-map-cx3vg6ed.js} +14 -14
  122. package/dist/chunks/{websearch-9de7rjyq.js → location-service-map-cyhhq1mh.js} +11 -11
  123. package/dist/chunks/{websearch-xq0fy9s8.js → location-service-map-d1qyg7af.js} +9 -9
  124. package/dist/chunks/{websearch-r8vewsd2.js → location-service-map-drxrg1v0.js} +10 -10
  125. package/dist/chunks/{websearch-fd1bx7eq.js → location-service-map-dvzne70n.js} +7 -7
  126. package/dist/chunks/{websearch-823p23z6.js → location-service-map-ecmr8h82.js} +44 -41
  127. package/dist/chunks/{websearch-2q0vfwcg.js → location-service-map-ededc259.js} +10 -10
  128. package/dist/chunks/{websearch-p3w24k5h.js → location-service-map-eehrej6d.js} +34 -34
  129. package/dist/chunks/{websearch-7yh4e7ss.js → location-service-map-eq1pz5kg.js} +3 -3
  130. package/dist/chunks/{websearch-6v7xw293.js → location-service-map-evr0pgyk.js} +20 -20
  131. package/dist/chunks/{websearch-erqwyhs3.js → location-service-map-f76ybynp.js} +18 -18
  132. package/dist/chunks/{websearch-bwfq55w2.js → location-service-map-f9anq697.js} +12 -12
  133. package/dist/chunks/{websearch-z78tg67p.js → location-service-map-famd3pv6.js} +5 -5
  134. package/dist/chunks/{websearch-059sa96c.js → location-service-map-fc4te2qx.js} +33 -33
  135. package/dist/chunks/{websearch-n3c15ckr.js → location-service-map-fj8p536s.js} +10 -10
  136. package/dist/chunks/{websearch-fm2qvscf.js → location-service-map-fm2qvscf.js} +1 -1
  137. package/dist/chunks/{websearch-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{websearch-fxypknc8.js → location-service-map-fxypknc8.js} +1 -1
  139. package/dist/chunks/{websearch-mapcj911.js → location-service-map-g1aevtqk.js} +3 -3
  140. package/dist/chunks/{websearch-hrvm11jt.js → location-service-map-g2dy4bvs.js} +3 -3
  141. package/dist/chunks/{websearch-d72308c8.js → location-service-map-g2gt0w0k.js} +2 -2
  142. package/dist/chunks/{websearch-67m4hsxs.js → location-service-map-g6h5r72d.js} +14 -14
  143. package/dist/chunks/location-service-map-gcd54713.js +243 -0
  144. package/dist/chunks/{websearch-4zfpe0bk.js → location-service-map-gcm21zry.js} +5 -5
  145. package/dist/chunks/{websearch-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{websearch-brmqp0an.js → location-service-map-ghrf58bv.js} +3 -3
  147. package/dist/chunks/{websearch-tbwfdm3w.js → location-service-map-gs3xgpdk.js} +24 -24
  148. package/dist/chunks/{websearch-21bc1bxn.js → location-service-map-h0wwysn1.js} +6 -6
  149. package/dist/chunks/{websearch-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{websearch-m3fm0fm8.js → location-service-map-h722e297.js} +5 -5
  151. package/dist/chunks/{websearch-8nfjm8ym.js → location-service-map-h9gn2f9p.js} +3 -3
  152. package/dist/chunks/{websearch-heyhwy2w.js → location-service-map-heyhwy2w.js} +1 -1
  153. package/dist/chunks/{websearch-a6d7kq3n.js → location-service-map-hj2634nk.js} +13 -13
  154. package/dist/chunks/{websearch-hpj7r8kk.js → location-service-map-hppvak6g.js} +10 -10
  155. package/dist/chunks/{websearch-kzbv1s9x.js → location-service-map-hscbfyyz.js} +24 -24
  156. package/dist/chunks/{websearch-kvsjn1dr.js → location-service-map-hw4pv20g.js} +2 -2
  157. package/dist/chunks/{websearch-gn5v3dt0.js → location-service-map-j11c8bcb.js} +7 -7
  158. package/dist/chunks/{websearch-h3prm5xq.js → location-service-map-j7a4wd22.js} +5 -5
  159. package/dist/chunks/{websearch-ve4pfa0n.js → location-service-map-j83byb14.js} +4 -4
  160. package/dist/chunks/{websearch-5qd3pb7m.js → location-service-map-j935v87r.js} +2 -2
  161. package/dist/chunks/{websearch-pdbs02xq.js → location-service-map-jcyemy94.js} +4 -4
  162. package/dist/chunks/{websearch-bphmvjfp.js → location-service-map-je9hks3h.js} +5 -5
  163. package/dist/chunks/{websearch-96mnj2h8.js → location-service-map-jfw3kf1b.js} +3 -3
  164. package/dist/chunks/{websearch-aa10cqvs.js → location-service-map-jp6616f9.js} +33 -33
  165. package/dist/chunks/{websearch-nmpk57xe.js → location-service-map-jtj621ma.js} +27 -27
  166. package/dist/chunks/{websearch-3e86n9es.js → location-service-map-jwjcxa6n.js} +6 -6
  167. package/dist/chunks/{websearch-k4bwy1x5.js → location-service-map-k4bwy1x5.js} +1 -1
  168. package/dist/chunks/{websearch-qc1epm8y.js → location-service-map-k5ffr7xx.js} +32 -32
  169. package/dist/chunks/{websearch-5zec3rsz.js → location-service-map-k66gpt8e.js} +9 -9
  170. package/dist/chunks/{websearch-tdpndm1c.js → location-service-map-kbj2dgab.js} +5 -5
  171. package/dist/chunks/{websearch-a2thck7t.js → location-service-map-ke05zhk0.js} +2 -2
  172. package/dist/chunks/{websearch-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
  173. package/dist/chunks/{websearch-f10xmzzm.js → location-service-map-kq5mhh51.js} +4 -4
  174. package/dist/chunks/{websearch-67ze60yh.js → location-service-map-kxd4d1qq.js} +19 -19
  175. package/dist/chunks/{websearch-rp8jz6x1.js → location-service-map-kxpygcw9.js} +4 -4
  176. package/dist/chunks/{websearch-bpnz08mb.js → location-service-map-m3550wrf.js} +2 -2
  177. package/dist/chunks/{websearch-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{websearch-cfg4kwee.js → location-service-map-mb2ptk3w.js} +12 -12
  179. package/dist/chunks/{websearch-k5xmxedw.js → location-service-map-mdszqj5g.js} +11 -11
  180. package/dist/chunks/{websearch-7pdw0qrk.js → location-service-map-mfpr5wn0.js} +14 -14
  181. package/dist/chunks/{websearch-9g3rhs35.js → location-service-map-mmzenv5f.js} +3 -3
  182. package/dist/chunks/location-service-map-myp2dgmc.js +450 -0
  183. package/dist/chunks/{websearch-m5p45e9n.js → location-service-map-n2armzsq.js} +19 -19
  184. package/dist/chunks/{websearch-tkz73wwa.js → location-service-map-n3bm393f.js} +17 -17
  185. package/dist/chunks/{websearch-ddt2bs9e.js → location-service-map-n3jkd22a.js} +4 -4
  186. package/dist/chunks/{websearch-ync0834v.js → location-service-map-nb3jjt8c.js} +19 -19
  187. package/dist/chunks/{websearch-250kwjtq.js → location-service-map-nf72w2gp.js} +13 -13
  188. package/dist/chunks/{websearch-1h561g3c.js → location-service-map-nmgddbg4.js} +8 -8
  189. package/dist/chunks/{websearch-ytcbjck8.js → location-service-map-nrz5c8c1.js} +9 -9
  190. package/dist/chunks/{websearch-nv1mfemk.js → location-service-map-nv1mfemk.js} +1 -1
  191. package/dist/chunks/{websearch-4fw0d0a7.js → location-service-map-p7jcs0js.js} +29 -29
  192. package/dist/chunks/location-service-map-p7y3scfn.js +22 -0
  193. package/dist/chunks/{websearch-3wa8602p.js → location-service-map-pdk6wt6a.js} +36 -36
  194. package/dist/chunks/{websearch-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{websearch-fk6t0npy.js → location-service-map-pk5y9xd5.js} +42 -42
  196. package/dist/chunks/{websearch-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  197. package/dist/chunks/{websearch-2s6shf28.js → location-service-map-pm6epfys.js} +33 -33
  198. package/dist/chunks/{websearch-cc7e89c2.js → location-service-map-ppwb7q83.js} +39 -39
  199. package/dist/chunks/{websearch-tknjtqgf.js → location-service-map-q5dwep56.js} +24 -24
  200. package/dist/chunks/{websearch-6ey98fp9.js → location-service-map-q5zqwhwk.js} +20 -20
  201. package/dist/chunks/{websearch-tw8cp5tf.js → location-service-map-q6ypvj74.js} +10 -10
  202. package/dist/chunks/{websearch-yab53grx.js → location-service-map-q7b231kb.js} +14 -14
  203. package/dist/chunks/{websearch-cmbqfntm.js → location-service-map-qq8x5mwt.js} +4 -4
  204. package/dist/chunks/{websearch-1qcdvn9t.js → location-service-map-qs3x3ax8.js} +6 -6
  205. package/dist/chunks/{websearch-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  206. package/dist/chunks/{websearch-9qm9egsn.js → location-service-map-qvbcabdc.js} +2 -2
  207. package/dist/chunks/{websearch-6qcf70st.js → location-service-map-r2rvrjw1.js} +15 -15
  208. package/dist/chunks/{websearch-91xne3r9.js → location-service-map-r2ty9qa9.js} +20 -20
  209. package/dist/chunks/{websearch-r8dhm0tv.js → location-service-map-r8dhm0tv.js} +1 -1
  210. package/dist/chunks/{websearch-fhwfpnm9.js → location-service-map-r9n9aa8b.js} +2 -2
  211. package/dist/chunks/{websearch-884smcwt.js → location-service-map-rb9628vc.js} +13 -13
  212. package/dist/chunks/{websearch-js83qjry.js → location-service-map-re9ss62v.js} +4 -4
  213. package/dist/chunks/{websearch-b1r3cp4z.js → location-service-map-rvn46zq7.js} +9 -9
  214. package/dist/chunks/{websearch-erehw21k.js → location-service-map-s86vjgsv.js} +6 -6
  215. package/dist/chunks/{websearch-sba4qhjf.js → location-service-map-sba4qhjf.js} +1 -1
  216. package/dist/chunks/{websearch-936y82n7.js → location-service-map-sms1b131.js} +1 -1
  217. package/dist/chunks/{websearch-sqm8p044.js → location-service-map-sp82xb14.js} +10 -10
  218. package/dist/chunks/{websearch-vwkd659g.js → location-service-map-ssvfzqqs.js} +6 -6
  219. package/dist/chunks/{websearch-x9nzy2fr.js → location-service-map-stk731w5.js} +22 -22
  220. package/dist/chunks/{websearch-249h8t4y.js → location-service-map-t0bb3yqr.js} +5 -5
  221. package/dist/chunks/{websearch-aaykp5pt.js → location-service-map-t4es3k9e.js} +9 -9
  222. package/dist/chunks/{websearch-aatb1gkh.js → location-service-map-t56srm0g.js} +20 -20
  223. package/dist/chunks/{websearch-2xqth09t.js → location-service-map-t7zyqk2f.js} +30 -30
  224. package/dist/chunks/{websearch-r66vmz5t.js → location-service-map-tastsmxx.js} +4 -4
  225. package/dist/chunks/{websearch-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{websearch-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{websearch-n85eh5f8.js → location-service-map-teqpbs12.js} +8 -8
  228. package/dist/chunks/{websearch-wc8kmp1w.js → location-service-map-thcxaxg6.js} +4 -4
  229. package/dist/chunks/{websearch-tjykrgmx.js → location-service-map-tjykrgmx.js} +1 -1
  230. package/dist/chunks/{websearch-j0nsd3fp.js → location-service-map-tn07jwq3.js} +15 -15
  231. package/dist/chunks/{websearch-4rn4xbh4.js → location-service-map-tn8yk0pq.js} +17 -17
  232. package/dist/chunks/{websearch-tppvcy65.js → location-service-map-tppvcy65.js} +2 -2
  233. package/dist/chunks/{websearch-1rpvqfzx.js → location-service-map-tr4nj3rx.js} +9 -9
  234. package/dist/chunks/{websearch-7q1ydfca.js → location-service-map-v483pfss.js} +18 -18
  235. package/dist/chunks/{websearch-facztfwm.js → location-service-map-v8zfzxah.js} +20 -20
  236. package/dist/chunks/{websearch-6ge14e5r.js → location-service-map-vban0v2p.js} +11 -11
  237. package/dist/chunks/{websearch-jzkvqh9p.js → location-service-map-vd1wcwj1.js} +32 -32
  238. package/dist/chunks/{websearch-57e9kj2e.js → location-service-map-vm6eapw1.js} +23 -23
  239. package/dist/chunks/{websearch-3b1a8v26.js → location-service-map-vmzwzyq9.js} +8 -8
  240. package/dist/chunks/{websearch-1m8xsxst.js → location-service-map-vp9200sn.js} +13 -13
  241. package/dist/chunks/{websearch-421zmedr.js → location-service-map-w0dw5pyz.js} +24 -24
  242. package/dist/chunks/{websearch-w0k1he6w.js → location-service-map-w0k1he6w.js} +2 -2
  243. package/dist/chunks/{websearch-pa1pwwcr.js → location-service-map-w2atbtse.js} +15 -15
  244. package/dist/chunks/{websearch-6z5bwd8g.js → location-service-map-w3jym6ha.js} +6 -6
  245. package/dist/chunks/{websearch-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{websearch-36mzbjn4.js → location-service-map-w4600456.js} +4 -4
  247. package/dist/chunks/{websearch-mecacsc0.js → location-service-map-w7762vkv.js} +23 -23
  248. package/dist/chunks/{websearch-vypc1q0c.js → location-service-map-wb07f7wp.js} +68 -68
  249. package/dist/chunks/{websearch-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  250. package/dist/chunks/{websearch-6s9akg99.js → location-service-map-wfcdh4fk.js} +23 -23
  251. package/dist/chunks/{websearch-9qnmcbqm.js → location-service-map-whq2yqqr.js} +11 -11
  252. package/dist/chunks/{websearch-w4sqx5c2.js → location-service-map-wyynzqxe.js} +33 -33
  253. package/dist/chunks/{websearch-07p4y6pt.js → location-service-map-wztj94nr.js} +3 -3
  254. package/dist/chunks/{websearch-m68cbq3v.js → location-service-map-wzv8aag1.js} +17 -17
  255. package/dist/chunks/{websearch-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{websearch-g585tkj2.js → location-service-map-x5hde6ee.js} +4 -4
  257. package/dist/chunks/{websearch-7bwzkkpq.js → location-service-map-xgk8fqy1.js} +7 -7
  258. package/dist/chunks/{websearch-3vvm944g.js → location-service-map-xgn4ekx3.js} +20 -20
  259. package/dist/chunks/{websearch-7h1a19dk.js → location-service-map-xk92akw2.js} +6 -6
  260. package/dist/chunks/{websearch-zn6m5v1n.js → location-service-map-xqystzyh.js} +28 -28
  261. package/dist/chunks/{websearch-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{websearch-whzw9s0q.js → location-service-map-y6apgg1j.js} +1 -1
  263. package/dist/chunks/{websearch-f0nz223j.js → location-service-map-y71avatq.js} +4 -4
  264. package/dist/chunks/{websearch-bvnrmn8y.js → location-service-map-ycmkc729.js} +15 -15
  265. package/dist/chunks/{websearch-yfbd16n1.js → location-service-map-yfbd16n1.js} +2 -2
  266. package/dist/chunks/{websearch-ajtjthsy.js → location-service-map-yg7sb877.js} +2 -2
  267. package/dist/chunks/{websearch-e3wa6n63.js → location-service-map-ykf1bvva.js} +9 -9
  268. package/dist/chunks/{websearch-8sjjmapp.js → location-service-map-yqptqahh.js} +12 -12
  269. package/dist/chunks/{websearch-qm3pvk2k.js → location-service-map-yswn773t.js} +46 -46
  270. package/dist/chunks/{websearch-7nh0n89y.js → location-service-map-ytf4r5bp.js} +11 -11
  271. package/dist/chunks/{websearch-56d7g5fj.js → location-service-map-ywb3r1mr.js} +5 -5
  272. package/dist/chunks/{websearch-z1k01bn4.js → location-service-map-z1k01bn4.js} +2 -2
  273. package/dist/chunks/{websearch-gdkjhw4h.js → location-service-map-z3h7hm3n.js} +4 -4
  274. package/dist/chunks/{websearch-nnswkck1.js → location-service-map-z3jc06sm.js} +5 -5
  275. package/dist/chunks/{websearch-e7gxy7fd.js → location-service-map-z3xgatyd.js} +4 -4
  276. package/dist/chunks/{websearch-29x78va6.js → location-service-map-z63w68vq.js} +6 -6
  277. package/dist/chunks/{websearch-77j7wjmd.js → location-service-map-zfvm84h0.js} +28 -28
  278. package/dist/chunks/{websearch-1drs6s6a.js → location-service-map-zjfngtfk.js} +31 -31
  279. package/dist/chunks/{websearch-hq6e9b48.js → location-service-map-zptcpcdj.js} +14 -14
  280. package/dist/chunks/{websearch-rbwftchb.js → location-service-map-zw9170t4.js} +11 -11
  281. package/dist/chunks/{websearch-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{websearch-tdz2d0bf.js → location-service-map-zyp7h3sm.js} +11 -11
  283. package/dist/codemode/catalog.js +3 -3
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +81 -81
  287. package/dist/config/discovery.js +77 -77
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +116 -116
  291. package/dist/config/plugin/command.js +207 -207
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +116 -116
  298. package/dist/config/plugin/mcp.js +125 -125
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +117 -117
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +134 -134
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +114 -114
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +114 -114
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +114 -114
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +80 -80
  314. package/dist/database/database.js +70 -70
  315. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +13 -13
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +14 -14
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +77 -77
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +350 -350
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +3 -3
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +90 -90
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +70 -70
  402. package/dist/file-mutation.js +89 -89
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +217 -217
  412. package/dist/filesystem/protected.js +1 -1
  413. package/dist/filesystem/search.js +93 -93
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +11 -11
  416. package/dist/filesystem.js +98 -98
  417. package/dist/form.js +84 -84
  418. package/dist/formatter/builtins.js +4 -4
  419. package/dist/formatter.js +82 -82
  420. package/dist/generate.js +86 -86
  421. package/dist/git.js +7 -7
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +7 -7
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +1 -1
  445. package/dist/instance.js +343 -343
  446. package/dist/instruction-discovery.js +79 -79
  447. package/dist/instructions/builtins.js +82 -82
  448. package/dist/instructions/index.js +3 -3
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +85 -85
  451. package/dist/job.js +77 -77
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +69 -69
  454. package/dist/location-activity.js +85 -85
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +81 -81
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +82 -82
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +100 -100
  461. package/dist/mcp/instructions.js +120 -120
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +7 -7
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +8 -8
  468. package/dist/models-dev.js +76 -76
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +80 -80
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +109 -109
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +78 -78
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +98 -98
  479. package/dist/plugin/command.js +95 -95
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +210 -210
  482. package/dist/plugin/instance.js +5 -5
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +96 -96
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +4 -4
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +116 -116
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +116 -116
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +79 -79
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +116 -116
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +74 -74
  526. package/dist/plugin/service.js +1 -1
  527. package/dist/plugin/skill.js +131 -131
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +335 -335
  530. package/dist/plugin/system-prompt.js +5 -5
  531. package/dist/plugin/update.js +6 -6
  532. package/dist/plugin/variant.js +4 -4
  533. package/dist/plugin/vcs/git.js +82 -82
  534. package/dist/plugin/vcs/hg.js +82 -82
  535. package/dist/plugin/warming.js +111 -111
  536. package/dist/plugin/websearch/exa.js +5 -5
  537. package/dist/plugin/websearch/firecrawl.js +8 -8
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +4 -4
  540. package/dist/plugin/websearch/parallel.js +6 -6
  541. package/dist/plugin/websearch/tavily.js +6 -6
  542. package/dist/plugin.js +217 -217
  543. package/dist/project/schema.js +2 -2
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +77 -77
  546. package/dist/provider.js +5 -5
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +92 -92
  551. package/dist/reference/instructions.js +82 -82
  552. package/dist/reference.js +84 -84
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +91 -91
  557. package/dist/rpc.js +81 -81
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +127 -127
  561. package/dist/session/context.js +143 -143
  562. package/dist/session/environment.js +5 -5
  563. package/dist/session/error.js +7 -7
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +213 -213
  566. package/dist/session/execution.js +120 -120
  567. package/dist/session/generate.js +144 -144
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +86 -86
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +75 -75
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +91 -91
  574. package/dist/session/message-updater.js +2 -2
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +112 -112
  577. package/dist/session/model-transport.js +9 -9
  578. package/dist/session/move.js +120 -120
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +3 -3
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +85 -85
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +4 -4
  589. package/dist/session/runner/step.js +119 -119
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +5 -5
  592. package/dist/session/session.js +165 -165
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +73 -73
  597. package/dist/session/store.js +84 -84
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +203 -203
  600. package/dist/session/system-prompt.js +3 -3
  601. package/dist/session/title.js +149 -149
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +209 -209
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +205 -205
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +11 -11
  610. package/dist/shell.js +130 -130
  611. package/dist/skill/discovery.js +6 -6
  612. package/dist/skill/instructions.js +101 -101
  613. package/dist/skill.js +104 -104
  614. package/dist/snapshot.js +80 -80
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +119 -119
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +119 -119
  622. package/dist/tool/plugin/grep.js +119 -119
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +116 -116
  625. package/dist/tool/plugin/question.js +97 -97
  626. package/dist/tool/plugin/read.js +120 -120
  627. package/dist/tool/plugin/shell.js +206 -206
  628. package/dist/tool/plugin/skill.js +107 -107
  629. package/dist/tool/plugin/subagent.js +210 -210
  630. package/dist/tool/plugin/webfetch.js +100 -100
  631. package/dist/tool/plugin/websearch.js +108 -108
  632. package/dist/tool/plugin/write.js +110 -110
  633. package/dist/tool/read-filesystem.js +96 -96
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +8 -8
  636. package/dist/tool.js +13 -13
  637. package/dist/types/worktree.d.ts +1 -1
  638. package/dist/util/error.js +1 -1
  639. package/dist/util/iife.js +1 -1
  640. package/dist/util/lazy.js +1 -1
  641. package/dist/util/slug.js +1 -1
  642. package/dist/util/token.js +1 -1
  643. package/dist/util/which.js +1 -1
  644. package/dist/util/wildcard.js +1 -1
  645. package/dist/v1/config/agent.js +7 -7
  646. package/dist/v1/config/attachment.js +4 -4
  647. package/dist/v1/config/command.js +1 -1
  648. package/dist/v1/config/config.js +16 -16
  649. package/dist/v1/config/error.js +4 -4
  650. package/dist/v1/config/formatter.js +3 -3
  651. package/dist/v1/config/layout.js +1 -1
  652. package/dist/v1/config/lsp.js +3 -3
  653. package/dist/v1/config/mcp.js +2 -2
  654. package/dist/v1/config/migrate.js +4 -4
  655. package/dist/v1/config/permission.js +7 -7
  656. package/dist/v1/config/plugin.js +1 -1
  657. package/dist/v1/config/provider-options.js +1 -1
  658. package/dist/v1/config/provider.js +4 -4
  659. package/dist/v1/config/server.js +2 -2
  660. package/dist/v1/config/skills.js +3 -3
  661. package/dist/v1/permission.js +1 -1
  662. package/dist/vcs/patch.js +1 -1
  663. package/dist/vcs.js +85 -85
  664. package/dist/websearch.js +80 -80
  665. package/dist/wellknown/plugin.js +74 -74
  666. package/dist/wellknown.js +77 -77
  667. package/dist/workspace/driver.js +7 -7
  668. package/dist/workspace/sql.js +1 -1
  669. package/dist/workspace.js +78 -78
  670. package/dist/worktree/directory.js +2 -2
  671. package/dist/worktree/git.js +7 -7
  672. package/dist/worktree/sql.js +5 -5
  673. package/dist/worktree.js +90 -90
  674. package/package.json +7 -7
  675. package/dist/chunks/websearch-0p53sjzq.js +0 -243
  676. package/dist/chunks/websearch-673snps9.js +0 -22
  677. package/dist/chunks/websearch-e3ze3pba.js +0 -4
  678. package/dist/chunks/websearch-xpcnf621.js +0 -450
  679. /package/dist/chunks/{websearch-0fabt78z.js → location-service-map-0fabt78z.js} +0 -0
  680. /package/dist/chunks/{websearch-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  681. /package/dist/chunks/{websearch-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  682. /package/dist/chunks/{websearch-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  683. /package/dist/chunks/{websearch-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  684. /package/dist/chunks/{websearch-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  685. /package/dist/chunks/{websearch-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  686. /package/dist/chunks/{websearch-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  687. /package/dist/chunks/{websearch-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  688. /package/dist/chunks/{websearch-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  689. /package/dist/chunks/{websearch-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  690. /package/dist/chunks/{websearch-3t738kvx.js → location-service-map-3t738kvx.js} +0 -0
  691. /package/dist/chunks/{websearch-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  692. /package/dist/chunks/{websearch-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  693. /package/dist/chunks/{websearch-41nvscxy.js → location-service-map-41nvscxy.js} +0 -0
  694. /package/dist/chunks/{websearch-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  695. /package/dist/chunks/{websearch-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  696. /package/dist/chunks/{websearch-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  697. /package/dist/chunks/{websearch-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  698. /package/dist/chunks/{websearch-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  699. /package/dist/chunks/{websearch-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  700. /package/dist/chunks/{websearch-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  701. /package/dist/chunks/{websearch-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  702. /package/dist/chunks/{websearch-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  703. /package/dist/chunks/{websearch-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  704. /package/dist/chunks/{websearch-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  705. /package/dist/chunks/{websearch-982e01ww.js → location-service-map-982e01ww.js} +0 -0
  706. /package/dist/chunks/{websearch-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  707. /package/dist/chunks/{websearch-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  708. /package/dist/chunks/{websearch-a1tpkmh4.js → location-service-map-a1tpkmh4.js} +0 -0
  709. /package/dist/chunks/{websearch-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  710. /package/dist/chunks/{websearch-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  711. /package/dist/chunks/{websearch-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  712. /package/dist/chunks/{websearch-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  713. /package/dist/chunks/{websearch-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  714. /package/dist/chunks/{websearch-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  715. /package/dist/chunks/{websearch-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  716. /package/dist/chunks/{websearch-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  717. /package/dist/chunks/{websearch-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  718. /package/dist/chunks/{websearch-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  719. /package/dist/chunks/{websearch-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  720. /package/dist/chunks/{websearch-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  721. /package/dist/chunks/{websearch-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  722. /package/dist/chunks/{websearch-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  723. /package/dist/chunks/{websearch-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  724. /package/dist/chunks/{websearch-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  725. /package/dist/chunks/{websearch-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  726. /package/dist/chunks/{websearch-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  727. /package/dist/chunks/{websearch-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  728. /package/dist/chunks/{websearch-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  729. /package/dist/chunks/{websearch-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  730. /package/dist/chunks/{websearch-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  731. /package/dist/chunks/{websearch-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  732. /package/dist/chunks/{websearch-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  733. /package/dist/chunks/{websearch-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  734. /package/dist/chunks/{websearch-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  735. /package/dist/chunks/{websearch-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  736. /package/dist/chunks/{websearch-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  737. /package/dist/chunks/{websearch-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  738. /package/dist/chunks/{websearch-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  739. /package/dist/chunks/{websearch-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  740. /package/dist/chunks/{websearch-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  741. /package/dist/chunks/{websearch-mntxs535.js → location-service-map-mntxs535.js} +0 -0
  742. /package/dist/chunks/{websearch-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  743. /package/dist/chunks/{websearch-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  744. /package/dist/chunks/{websearch-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  745. /package/dist/chunks/{websearch-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  746. /package/dist/chunks/{websearch-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  747. /package/dist/chunks/{websearch-p8qxwesx.js → location-service-map-p8qxwesx.js} +0 -0
  748. /package/dist/chunks/{websearch-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  749. /package/dist/chunks/{websearch-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  750. /package/dist/chunks/{websearch-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  751. /package/dist/chunks/{websearch-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  752. /package/dist/chunks/{websearch-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  753. /package/dist/chunks/{websearch-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  754. /package/dist/chunks/{websearch-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  755. /package/dist/chunks/{websearch-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  756. /package/dist/chunks/{websearch-se0s1eqw.js → location-service-map-se0s1eqw.js} +0 -0
  757. /package/dist/chunks/{websearch-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
  758. /package/dist/chunks/{websearch-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  759. /package/dist/chunks/{websearch-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
  760. /package/dist/chunks/{websearch-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  761. /package/dist/chunks/{websearch-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  762. /package/dist/chunks/{websearch-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  763. /package/dist/chunks/{websearch-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  764. /package/dist/chunks/{websearch-x1b8g1yb.js → location-service-map-x1b8g1yb.js} +0 -0
  765. /package/dist/chunks/{websearch-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  766. /package/dist/chunks/{websearch-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  767. /package/dist/chunks/{websearch-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
  768. /package/dist/chunks/{websearch-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  769. /package/dist/chunks/{websearch-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
  770. /package/dist/chunks/{websearch-zbjnn3ac.js → location-service-map-zbjnn3ac.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service79,
2
+ Service78,
3
3
  node82
4
- } from "./websearch-bvnrmn8y.js";
4
+ } from "./location-service-map-ycmkc729.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./websearch-2402vzrj.js";
11
+ } from "./location-service-map-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./websearch-p8qxwesx.js";
14
+ } from "./location-service-map-p8qxwesx.js";
15
15
  import {
16
- Service50,
17
- node52
18
- } from "./websearch-etfd1sj4.js";
16
+ Service69,
17
+ node73
18
+ } from "./location-service-map-7gt4qt3x.js";
19
19
  import {
20
20
  create3
21
- } from "./websearch-kg06axw8.js";
21
+ } from "./location-service-map-kg06axw8.js";
22
22
  import {
23
23
  __export
24
- } from "./websearch-9rqn6x4v.js";
24
+ } from "./location-service-map-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event10,
29
+ Event: () => Event19,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info10,
31
+ Info: () => Info27,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service49,
34
+ Service: () => Service68,
35
35
  Source: () => Source5,
36
- node: () => node51
36
+ node: () => node72
37
37
  });
38
38
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode-ai/schema/reference";
41
41
  import { Global } from "@opencode-ai/util/global";
42
- import { Event as Event10 } from "@opencode-ai/schema/reference";
42
+ import { Event as Event19 } from "@opencode-ai/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source5 = Reference.Source;
46
- var Info10 = Reference.Info;
46
+ var Info27 = Reference.Info;
47
47
 
48
- class Service49 extends Context.Service()("@opencode/Reference") {
48
+ class Service68 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service49, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service79;
53
- const cache = yield* Service50;
52
+ const bus = yield* Service78;
53
+ const cache = yield* Service69;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info10.make({ ...info, path: source.path })];
63
+ return [Info27.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info10.make({
75
+ Info27.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service49.of({
107
+ return Service68.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node51 = makeLocationNode({
116
- service: Service49,
115
+ var node72 = makeLocationNode({
116
+ service: Service68,
117
117
  layer,
118
- deps: [Global.node, node82, node52]
118
+ deps: [Global.node, node82, node73]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source5, Info10, Service49, node51, exports_reference2, Event10 };
121
+ export { LocalSource2, GitSource2, Source5, Info27, Service68, node72, exports_reference2, Event19 };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./websearch-f0nz223j.js";
3
+ } from "./location-service-map-y71avatq.js";
4
4
  import {
5
- Service79,
5
+ Service78,
6
6
  node82
7
- } from "./websearch-bvnrmn8y.js";
7
+ } from "./location-service-map-ycmkc729.js";
8
8
  import {
9
- Event19,
10
- Service69,
11
- node71
12
- } from "./websearch-1drs6s6a.js";
9
+ Event16,
10
+ Service61,
11
+ node64
12
+ } from "./location-service-map-zjfngtfk.js";
13
13
  import {
14
14
  Service76,
15
- node79
16
- } from "./websearch-7vdtdkgs.js";
15
+ node80
16
+ } from "./location-service-map-af5vyrpj.js";
17
17
  import {
18
- Service74,
19
- node76
20
- } from "./websearch-x9nzy2fr.js";
18
+ Service65,
19
+ node68
20
+ } from "./location-service-map-stk731w5.js";
21
21
  import {
22
- ID13,
23
- Service68,
24
- node70
25
- } from "./websearch-5xwg1gye.js";
22
+ ID6,
23
+ Service48,
24
+ node50
25
+ } from "./location-service-map-chjptjpy.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./websearch-kg06axw8.js";
29
+ } from "./location-service-map-kg06axw8.js";
30
30
  import {
31
- ID12,
31
+ ID5,
32
32
  MethodID2,
33
- Service67,
34
- node69
35
- } from "./websearch-77j7wjmd.js";
33
+ Service47,
34
+ node49
35
+ } from "./location-service-map-zfvm84h0.js";
36
36
  import {
37
37
  __export
38
- } from "./websearch-9rqn6x4v.js";
38
+ } from "./location-service-map-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
44
+ NotFoundError: () => NotFoundError4,
45
45
  Options: () => Options5,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service32,
59
+ Service: () => Service41,
60
60
  Status: () => Status2,
61
- Tool: () => Tool2,
61
+ Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
65
  configured: () => configured5,
66
- layer: () => layer14,
67
- node: () => node36
66
+ layer: () => layer18,
67
+ node: () => node43
68
68
  });
69
69
  import { Mcp } from "@opencode-ai/schema/mcp";
70
70
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID12.pipe(Schema.optional)
84
+ integrationID: ID5.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
91
91
  }) {
92
92
  }
93
93
 
94
- class Tool2 extends Schema.Class("MCP.Tool")({
94
+ class Tool3 extends Schema.Class("MCP.Tool")({
95
95
  server: ServerName2,
96
96
  name: Schema.String,
97
97
  codemode: Schema.Boolean.pipe(Schema.optional),
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service32 extends Context.Service()("@opencode/MCP") {
168
+ class Service41 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
170
  var Options5 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
@@ -173,13 +173,13 @@ var Options5 = Schema.Struct({
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
176
+ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
177
177
  const location = yield* Service76;
178
- const environment = yield* Service74;
179
- const bus = yield* Service79;
180
- const forms = yield* Service68;
181
- const integration = yield* Service67;
182
- const credentials = yield* Service69;
178
+ const environment = yield* Service65;
179
+ const bus = yield* Service78;
180
+ const forms = yield* Service48;
181
+ const integration = yield* Service47;
182
+ const credentials = yield* Service61;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID12.make(suffix);
194
+ const integrationID = ID5.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError3({ server: name });
219
+ return yield* new NotFoundError4({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -285,7 +285,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
285
285
  const elicitation = {
286
286
  create: (input) => Effect.gen(function* () {
287
287
  if (input.params.mode === "url") {
288
- const formID = ID13.create();
288
+ const formID = ID6.create();
289
289
  const key = input.server + "\x00" + input.params.elicitationId;
290
290
  urlElicitations.set(key, formID);
291
291
  return yield* forms.ask({
@@ -328,7 +328,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
328
328
  yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
329
329
  })
330
330
  };
331
- const toTool = (server, entry, def) => new Tool2({
331
+ const toTool = (server, entry, def) => new Tool3({
332
332
  server,
333
333
  name: def.name,
334
334
  codemode: entry.config.codemode,
@@ -403,7 +403,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
403
403
  entry.scope = scope;
404
404
  const authProvider = yield* connectProvider(entry);
405
405
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
406
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope), Effect.exit);
406
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope), Effect.exit);
407
407
  if (Exit.isSuccess(result)) {
408
408
  entry.client = result.value.connection;
409
409
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -527,7 +527,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
527
527
  yield* startServer(name, entry);
528
528
  }).pipe(locks.withLock(name));
529
529
  });
530
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
530
+ fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
531
531
  const state = create3({
532
532
  name: "mcp",
533
533
  initial: () => ({
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
557
557
  concurrency: "unbounded",
558
558
  discard: true
559
559
  }));
560
- return Service32.of({
560
+ return Service41.of({
561
561
  transform: state.transform,
562
562
  reload: state.reload,
563
563
  servers: Effect.fn("MCP.servers")(function* () {
@@ -679,12 +679,12 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
679
679
  }));
680
680
  function configured5(options) {
681
681
  return makeLocationNode({
682
- service: Service32,
683
- layer: layer14(options),
684
- deps: [node79, node76, node82, node70, node69, node71]
682
+ service: Service41,
683
+ layer: layer18(options),
684
+ deps: [node80, node68, node82, node50, node49, node64]
685
685
  });
686
686
  }
687
- var node36 = configured5();
687
+ var node43 = configured5();
688
688
  function toElicitationField(key, property, required) {
689
689
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
690
690
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
735
735
  }
736
736
  }
737
737
 
738
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool2, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options5, layer14, configured5, node36, exports_mcp4 };
738
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service41, Options5, layer18, configured5, node43, exports_mcp4 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-p8qxwesx.js";
3
+ } from "./location-service-map-p8qxwesx.js";
4
4
  import {
5
- Service78,
6
- node81
7
- } from "./websearch-6bjjrt3e.js";
5
+ Service80,
6
+ node84
7
+ } from "./location-service-map-9wvrztvm.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./websearch-2402vzrj.js";
13
+ } from "./location-service-map-2402vzrj.js";
14
14
  import {
15
15
  Service71,
16
- node73
17
- } from "./websearch-kver2n51.js";
16
+ node75
17
+ } from "./location-service-map-aaf9tk6g.js";
18
18
  import {
19
19
  __export
20
- } from "./websearch-9rqn6x4v.js";
20
+ } from "./location-service-map-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service50,
33
+ Service: () => Service69,
34
34
  isError: () => isError2,
35
- node: () => node52,
35
+ node: () => node73,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service50 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service69 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service50, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service78;
106
+ const git = yield* Service80;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
109
  const kv = yield* Service71;
110
- return Service50.of({
110
+ return Service69.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node52 = makeGlobalNode({
171
- service: Service50,
170
+ var node73 = makeGlobalNode({
171
+ service: Service69,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node73]
173
+ deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node75]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service50, isError2, validateBranch2, node52, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service69, isError2, validateBranch2, node73, exports_repository_cache };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./websearch-gd4qta3r.js";
3
+ } from "./location-service-map-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./websearch-k4bwy1x5.js";
6
+ } from "./location-service-map-k4bwy1x5.js";
7
7
  import {
8
8
  create3
9
- } from "./websearch-kg06axw8.js";
9
+ } from "./location-service-map-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./websearch-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service72,
21
+ Service: () => Service53,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node74
23
+ node: () => node55
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service72 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service53 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service72, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service72.of({
125
+ return Service53.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node74 = makeLocationNode({
143
- service: Service72,
142
+ var node55 = makeLocationNode({
143
+ service: Service53,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service72, node74, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service53, node55, exports_tool_output2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-p8qxwesx.js";
3
+ } from "./location-service-map-p8qxwesx.js";
4
4
  import {
5
5
  Service76
6
- } from "./websearch-7vdtdkgs.js";
6
+ } from "./location-service-map-af5vyrpj.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
- Service21
10
- } from "./websearch-exh78p7x.js";
9
+ Service16
10
+ } from "./location-service-map-8yx0hnvf.js";
11
11
  import {
12
- Service45
13
- } from "./websearch-0yvd3pfe.js";
12
+ Service57
13
+ } from "./location-service-map-09the3rx.js";
14
14
  import {
15
- Service10
16
- } from "./websearch-qntar7wb.js";
15
+ Service11
16
+ } from "./location-service-map-2125gz1e.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./websearch-2a5m3afh.js";
19
+ } from "./location-service-map-2a5m3afh.js";
20
20
  import {
21
21
  MEDIA_MIMES2,
22
22
  BinaryFileError2,
@@ -27,26 +27,26 @@ import {
27
27
  FileContent2,
28
28
  TextPage2,
29
29
  ListPage2,
30
- Service6
31
- } from "./websearch-pa1pwwcr.js";
30
+ Service12
31
+ } from "./location-service-map-w2atbtse.js";
32
32
  import {
33
33
  __export
34
- } from "./websearch-9rqn6x4v.js";
34
+ } from "./location-service-map-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input2,
40
- Plugin: () => Plugin16,
39
+ Input: () => Input8,
40
+ Plugin: () => Plugin38,
41
41
  ReadTool: () => exports_read,
42
- name: () => name2,
43
- toModelContent: () => toModelContent2
42
+ name: () => name8,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { basename, dirname, join } from "path";
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { Effect, Schema } from "effect";
48
48
  import { FSUtil } from "@opencode-ai/util/fs-util";
49
- var name2 = "read";
49
+ var name8 = "read";
50
50
  var FILENAME = "AGENTS.md";
51
51
  var LocationInput = Schema.Struct({
52
52
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
57
57
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
58
58
  })
59
59
  });
60
- var Input2 = LocationInput;
60
+ var Input8 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin16 = {
62
+ var Plugin38 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
- const reader = yield* Service6;
66
- const mutation = yield* Service21;
67
- const permission = yield* Service45;
68
- const sessionInstructions = yield* Service10;
65
+ const reader = yield* Service12;
66
+ const mutation = yield* Service16;
67
+ const permission = yield* Service57;
68
+ const sessionInstructions = yield* Service11;
69
69
  const fs = yield* FSUtil.Service;
70
70
  const location = yield* Service76;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name2,
72
+ name: name8,
73
73
  options: { codemode: false },
74
74
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
75
- input: Input2,
75
+ input: Input8,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin16 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name2,
93
+ action: name8,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin16 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent2(result.path, input.offset, result.output),
144
+ content: toModelContent5(result.path, input.offset, result.output),
145
145
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
146
146
  })), Effect.mapError((error) => {
147
147
  if (error instanceof ToolFailure)
@@ -173,7 +173,7 @@ ${suggestions.join(`
173
173
  });
174
174
  })
175
175
  };
176
- var toModelContent2 = (path, offset, output) => {
176
+ var toModelContent5 = (path, offset, output) => {
177
177
  if (output.type === "file" && output.encoding === "base64")
178
178
  return [
179
179
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -208,4 +208,4 @@ var toModelContent2 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name2, Input2, Plugin16, toModelContent2, exports_read };
211
+ export { name8, Input8, Plugin38, toModelContent5, exports_read };