@opencode-ai/core 0.0.0-dev-19121 → 0.0.0-dev-19123

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 (785) 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 +69 -69
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{location-mutation-01w7s3hf.js → location-services-01w7s3hf.js} +2 -2
  9. package/dist/chunks/{location-mutation-wj7y60vs.js → location-services-045f1zrn.js} +7 -7
  10. package/dist/chunks/{location-mutation-v6v8agnt.js → location-services-0daqs9er.js} +11 -11
  11. package/dist/chunks/{location-mutation-0dv7911r.js → location-services-0dv7911r.js} +1 -1
  12. package/dist/chunks/{location-mutation-0e0xafbb.js → location-services-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{location-mutation-2afxnevg.js → location-services-0ekd4hek.js} +29 -29
  14. package/dist/chunks/{location-mutation-e1hrx4vk.js → location-services-0ez61b8c.js} +2 -2
  15. package/dist/chunks/{location-mutation-7dqw4kz8.js → location-services-0jwsre1p.js} +5 -5
  16. package/dist/chunks/{location-mutation-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{location-mutation-0s9ayhjt.js → location-services-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{location-mutation-tkb3hcz3.js → location-services-0tsnwgcr.js} +28 -28
  19. package/dist/chunks/{location-mutation-yemf1k0t.js → location-services-146cyary.js} +10 -10
  20. package/dist/chunks/{location-mutation-1hy241bm.js → location-services-14hmenm3.js} +3 -3
  21. package/dist/chunks/{location-mutation-1ct4r87x.js → location-services-1ct4r87x.js} +1 -1
  22. package/dist/chunks/{location-mutation-gwkvhn1a.js → location-services-1d6e8fp6.js} +29 -29
  23. package/dist/chunks/{location-mutation-9jb7v9hr.js → location-services-1kvt7k90.js} +15 -15
  24. package/dist/chunks/{location-mutation-m2v22qsj.js → location-services-1m9gek0r.js} +11 -11
  25. package/dist/chunks/{location-mutation-m1peg48k.js → location-services-1n116cmy.js} +9 -9
  26. package/dist/chunks/{location-mutation-7seg0qzm.js → location-services-20s6b78b.js} +22 -22
  27. package/dist/chunks/{location-mutation-21r38tys.js → location-services-21r38tys.js} +1 -1
  28. package/dist/chunks/{location-mutation-2402vzrj.js → location-services-2402vzrj.js} +1 -1
  29. package/dist/chunks/{location-mutation-29x78va6.js → location-services-29x78va6.js} +2 -2
  30. package/dist/chunks/{location-mutation-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{location-mutation-wwyfrmf4.js → location-services-2ame73pb.js} +13 -13
  32. package/dist/chunks/{location-mutation-n6m3vdqa.js → location-services-2fw09n55.js} +10 -10
  33. package/dist/chunks/{location-mutation-dnfpdc9a.js → location-services-2ga4d33a.js} +15 -15
  34. package/dist/chunks/{location-mutation-2ht70gj7.js → location-services-2ht70gj7.js} +1 -1
  35. package/dist/chunks/{location-mutation-2jqmte8w.js → location-services-2jqmte8w.js} +2 -2
  36. package/dist/chunks/{location-mutation-knkbq3q0.js → location-services-2xa4mn5x.js} +17 -17
  37. package/dist/chunks/{location-mutation-msb8yzxf.js → location-services-30r17csp.js} +51 -51
  38. package/dist/chunks/{location-mutation-n9ppk6dm.js → location-services-398r99hg.js} +28 -28
  39. package/dist/chunks/{location-mutation-ddbs5teb.js → location-services-3cwf5791.js} +8 -8
  40. package/dist/chunks/location-services-3evw0qr2.js +18 -0
  41. package/dist/chunks/{location-mutation-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{location-mutation-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{location-mutation-na3y75gh.js → location-services-3jj6bjb6.js} +5 -5
  44. package/dist/chunks/{location-mutation-3qzbfqsy.js → location-services-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{location-mutation-s9d88b2t.js → location-services-3rtc5zee.js} +22 -22
  46. package/dist/chunks/{location-mutation-db0e37wd.js → location-services-3sa4xpcp.js} +4 -4
  47. package/dist/chunks/{location-mutation-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{location-mutation-cxtts8e7.js → location-services-3ts7rm59.js} +11 -11
  49. package/dist/chunks/{location-mutation-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{location-mutation-xamd2zft.js → location-services-3vy7bm5p.js} +26 -26
  51. package/dist/chunks/{location-mutation-454k5vzh.js → location-services-454k5vzh.js} +1 -1
  52. package/dist/chunks/{location-mutation-encdknep.js → location-services-49qhf4cn.js} +13 -13
  53. package/dist/chunks/{location-mutation-ytcv0e2y.js → location-services-4k5rvnzr.js} +7 -7
  54. package/dist/chunks/{location-mutation-4r2nyarf.js → location-services-4r2nyarf.js} +1 -1
  55. package/dist/chunks/{location-mutation-rvb2zp0m.js → location-services-4z6b0fg6.js} +6 -6
  56. package/dist/chunks/{location-mutation-bemx5yka.js → location-services-5291er17.js} +11 -11
  57. package/dist/chunks/{location-mutation-zqg3qsz2.js → location-services-558w0eyg.js} +4 -4
  58. package/dist/chunks/{location-mutation-neent8sy.js → location-services-573b68qb.js} +6 -6
  59. package/dist/chunks/{location-mutation-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  60. package/dist/chunks/{location-mutation-5fmxt4p5.js → location-services-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{location-mutation-hqkh5ptn.js → location-services-5gk8tmgr.js} +25 -25
  62. package/dist/chunks/{location-mutation-5jvc5tg2.js → location-services-5jvc5tg2.js} +1 -1
  63. package/dist/chunks/{location-mutation-1ccfr7s1.js → location-services-5rmhknbq.js} +16 -16
  64. package/dist/chunks/{location-mutation-5xfzsdsy.js → location-services-5rw6je3s.js} +3 -3
  65. package/dist/chunks/{location-mutation-gq5pjjs5.js → location-services-5sb2nwk1.js} +15 -15
  66. package/dist/chunks/{location-mutation-ez5b8bq3.js → location-services-5sg4xzjf.js} +7 -7
  67. package/dist/chunks/{location-mutation-r9r233ve.js → location-services-5wqhk4sp.js} +26 -26
  68. package/dist/chunks/location-services-61zbbsb0.js +20 -0
  69. package/dist/chunks/{location-mutation-j11ebv35.js → location-services-69cg10bk.js} +9 -9
  70. package/dist/chunks/{location-mutation-6z5bwd8g.js → location-services-6abnk40k.js} +9 -9
  71. package/dist/chunks/{location-mutation-zydyd6ns.js → location-services-6cpax4a9.js} +11 -11
  72. package/dist/chunks/{location-mutation-5rg6taer.js → location-services-6f0pgdt6.js} +40 -40
  73. package/dist/chunks/{location-mutation-fyfx3mdb.js → location-services-6hydcyp0.js} +5 -5
  74. package/dist/chunks/{location-mutation-eyn7heyk.js → location-services-6k54eer5.js} +34 -34
  75. package/dist/chunks/{location-mutation-jdpn2m95.js → location-services-6rd5cydf.js} +29 -29
  76. package/dist/chunks/{location-mutation-6tf8tr4v.js → location-services-6tf8tr4v.js} +2 -2
  77. package/dist/chunks/{location-mutation-711hfp6y.js → location-services-711hfp6y.js} +2 -2
  78. package/dist/chunks/{location-mutation-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{location-mutation-ws4s5fz4.js → location-services-7d826drz.js} +15 -15
  80. package/dist/chunks/{location-mutation-jd8mn5p2.js → location-services-7wk8hpe3.js} +16 -16
  81. package/dist/chunks/{location-mutation-jes6det3.js → location-services-7y22fjrf.js} +10 -10
  82. package/dist/chunks/{location-mutation-1bbkgx8g.js → location-services-7yh4e7ss.js} +3 -3
  83. package/dist/chunks/location-services-7zk4hah4.js +4 -0
  84. package/dist/chunks/{location-mutation-qk5jqvf6.js → location-services-7zxx2843.js} +24 -24
  85. package/dist/chunks/{location-mutation-9aw4ndah.js → location-services-820xmye9.js} +24 -24
  86. package/dist/chunks/{location-mutation-f608tw31.js → location-services-86dyhxqj.js} +24 -24
  87. package/dist/chunks/{location-mutation-qs4avvkb.js → location-services-86s3977f.js} +1 -1
  88. package/dist/chunks/{location-mutation-0h1823wr.js → location-services-86y9jrhy.js} +29 -29
  89. package/dist/chunks/{location-mutation-zwtzvvjx.js → location-services-8d452593.js} +11 -11
  90. package/dist/chunks/{location-mutation-1bwaarmf.js → location-services-8je8k5cb.js} +4 -4
  91. package/dist/chunks/{location-mutation-sy0cq7x8.js → location-services-8xqt1c25.js} +3 -3
  92. package/dist/chunks/{location-mutation-78k4jgfg.js → location-services-9175d0mz.js} +12 -12
  93. package/dist/chunks/{location-mutation-hp5x85jt.js → location-services-93763nq9.js} +20 -20
  94. package/dist/chunks/{location-mutation-zt4xbacx.js → location-services-93aea81q.js} +22 -22
  95. package/dist/chunks/{location-mutation-vs15gdj7.js → location-services-954vm9zf.js} +6 -6
  96. package/dist/chunks/{location-mutation-fy6n5twb.js → location-services-98nks7yx.js} +4 -4
  97. package/dist/chunks/{location-mutation-sykc9y4a.js → location-services-994b2pxg.js} +5 -5
  98. package/dist/chunks/{location-mutation-nfjw82t9.js → location-services-9d3b2ydm.js} +7 -7
  99. package/dist/chunks/{location-mutation-6cb6478y.js → location-services-9e45c1vq.js} +20 -20
  100. package/dist/chunks/{location-mutation-h0z9htzn.js → location-services-9mwtsm6t.js} +19 -19
  101. package/dist/chunks/{location-mutation-r0msr716.js → location-services-9p3tsgpy.js} +4 -4
  102. package/dist/chunks/{location-mutation-yvbvz765.js → location-services-9ze5atdz.js} +57 -57
  103. package/dist/chunks/{location-mutation-kxdr1kq1.js → location-services-a4vmehse.js} +23 -23
  104. package/dist/chunks/{location-mutation-sd27yh2r.js → location-services-a75chk1r.js} +5 -5
  105. package/dist/chunks/{location-mutation-tqaejzyn.js → location-services-aa4x52zb.js} +11 -11
  106. package/dist/chunks/{location-mutation-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  107. package/dist/chunks/location-services-ah3vh4fp.js +460 -0
  108. package/dist/chunks/{location-mutation-3jz20tpy.js → location-services-ap8gxcbn.js} +6 -6
  109. package/dist/chunks/{location-mutation-qxj5q7gc.js → location-services-az24jgzn.js} +9 -9
  110. package/dist/chunks/{location-mutation-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{location-mutation-em9dwk44.js → location-services-b7cxq2m5.js} +25 -25
  112. package/dist/chunks/{location-mutation-b9wsbatv.js → location-services-b9wsbatv.js} +1 -1
  113. package/dist/chunks/{location-mutation-h0rsqts8.js → location-services-bexxahbt.js} +28 -28
  114. package/dist/chunks/{location-mutation-6kwfy8hq.js → location-services-bxm0k6ts.js} +31 -31
  115. package/dist/chunks/{location-mutation-6e958v7x.js → location-services-c0faa19c.js} +6 -6
  116. package/dist/chunks/{location-mutation-gfgqbam0.js → location-services-c28brx2k.js} +6 -6
  117. package/dist/chunks/{location-mutation-fztharvt.js → location-services-c76926jn.js} +9 -9
  118. package/dist/chunks/{location-mutation-tbhbzg6j.js → location-services-c9sjs92y.js} +10 -10
  119. package/dist/chunks/{location-mutation-cn0gp01e.js → location-services-ce044ptp.js} +2 -2
  120. package/dist/chunks/{location-mutation-ar6zppax.js → location-services-ck91x8tz.js} +36 -36
  121. package/dist/chunks/{location-mutation-eepzdbxz.js → location-services-czqdcwjb.js} +14 -14
  122. package/dist/chunks/{location-mutation-rcy6hjed.js → location-services-d41v0vs9.js} +23 -22
  123. package/dist/chunks/{location-mutation-k0h1cen8.js → location-services-d674kx35.js} +11 -11
  124. package/dist/chunks/location-services-db0m4wvs.js +51 -0
  125. package/dist/chunks/{location-mutation-gcegv8bm.js → location-services-dc0m9nfq.js} +20 -20
  126. package/dist/chunks/{location-mutation-prk0e8fy.js → location-services-dc2ndnks.js} +9 -9
  127. package/dist/chunks/{location-mutation-8gqsnzk6.js → location-services-dedcm63c.js} +22 -22
  128. package/dist/chunks/{location-mutation-psw3c1gx.js → location-services-dns6mj49.js} +9 -9
  129. package/dist/chunks/{location-mutation-gk9cwknp.js → location-services-dx0wg0tz.js} +76 -76
  130. package/dist/chunks/{location-mutation-768z0hjh.js → location-services-e5b0qn1c.js} +1 -1
  131. package/dist/chunks/{location-mutation-ttbkqz8v.js → location-services-e5pek5sn.js} +8 -8
  132. package/dist/chunks/{location-mutation-zt4v7pfa.js → location-services-en3sh7px.js} +9 -9
  133. package/dist/chunks/{location-mutation-jn8mbdkr.js → location-services-eyb1z5ae.js} +11 -11
  134. package/dist/chunks/{location-mutation-wdq06wjp.js → location-services-f1axbr6p.js} +40 -40
  135. package/dist/chunks/{location-mutation-tkk8z58j.js → location-services-fecdhfha.js} +7 -7
  136. package/dist/chunks/{location-mutation-3wyb35ec.js → location-services-fgmsv21m.js} +15 -15
  137. package/dist/chunks/{location-mutation-ymb94r1y.js → location-services-fs6wj8at.js} +24 -24
  138. package/dist/chunks/{location-mutation-efv4s0g0.js → location-services-fvanntqq.js} +6 -6
  139. package/dist/chunks/{location-mutation-fpq4fbkk.js → location-services-fvt5q22p.js} +6 -6
  140. package/dist/chunks/{location-mutation-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{location-mutation-fxypknc8.js → location-services-fxypknc8.js} +1 -1
  142. package/dist/chunks/{location-mutation-hrvm11jt.js → location-services-g2dy4bvs.js} +3 -3
  143. package/dist/chunks/{location-mutation-d72308c8.js → location-services-g2gt0w0k.js} +2 -2
  144. package/dist/chunks/{location-mutation-d1a1bt21.js → location-services-g41n1fn3.js} +5 -5
  145. package/dist/chunks/{location-mutation-5k67w2az.js → location-services-g72d1q92.js} +10 -10
  146. package/dist/chunks/{location-mutation-at5d07az.js → location-services-g8d3gcyj.js} +7 -7
  147. package/dist/chunks/{location-mutation-3mrm2hwf.js → location-services-g95cjzen.js} +10 -10
  148. package/dist/chunks/{location-mutation-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{location-mutation-kq8qk9j3.js → location-services-gjzxw37y.js} +27 -27
  150. package/dist/chunks/location-services-gr1309v5.js +22 -0
  151. package/dist/chunks/{location-mutation-bcq4t5vj.js → location-services-gs4rkss0.js} +7 -7
  152. package/dist/chunks/{location-mutation-19teqjg6.js → location-services-gvmqvecv.js} +30 -30
  153. package/dist/chunks/{location-mutation-ae9mband.js → location-services-gxrn9h3d.js} +26 -26
  154. package/dist/chunks/{location-mutation-ypvj0dvm.js → location-services-gya8g0qk.js} +11 -11
  155. package/dist/chunks/{location-mutation-w9xrf1e2.js → location-services-gyqz79xx.js} +25 -25
  156. package/dist/chunks/{location-mutation-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{location-mutation-vbtnabzj.js → location-services-hcd9bceq.js} +14 -14
  158. package/dist/chunks/{location-mutation-heyhwy2w.js → location-services-heyhwy2w.js} +1 -1
  159. package/dist/chunks/{location-mutation-yq6h1dyd.js → location-services-hmnf0bp1.js} +5 -5
  160. package/dist/chunks/{location-mutation-y3epb4cg.js → location-services-hnxfn165.js} +18 -18
  161. package/dist/chunks/{location-mutation-wj1cs9x4.js → location-services-hqrrhmbp.js} +25 -25
  162. package/dist/chunks/{location-mutation-exqkd66q.js → location-services-ht2yd5p4.js} +26 -26
  163. package/dist/chunks/{location-mutation-nyrmy1z6.js → location-services-j0ezphm2.js} +20 -20
  164. package/dist/chunks/{location-mutation-mjncxbbh.js → location-services-j5208yae.js} +6 -6
  165. package/dist/chunks/{location-mutation-ms7jfr1m.js → location-services-j9sb8mea.js} +9 -9
  166. package/dist/chunks/{location-mutation-z954rzej.js → location-services-jd9eyjvc.js} +38 -38
  167. package/dist/chunks/{location-mutation-bcezcar3.js → location-services-je9hks3h.js} +5 -5
  168. package/dist/chunks/{location-mutation-y71avatq.js → location-services-jwcy2c2z.js} +4 -4
  169. package/dist/chunks/{location-mutation-rv6p7w22.js → location-services-jyyqr7q3.js} +14 -14
  170. package/dist/chunks/{location-mutation-twg9q6d2.js → location-services-jze0w19d.js} +16 -16
  171. package/dist/chunks/{location-mutation-0sk6av0w.js → location-services-k0ngpa4t.js} +35 -35
  172. package/dist/chunks/{location-mutation-7xfsdta4.js → location-services-k0ya8bme.js} +16 -16
  173. package/dist/chunks/{location-mutation-k4bwy1x5.js → location-services-k4bwy1x5.js} +1 -1
  174. package/dist/chunks/{location-mutation-zrg626nr.js → location-services-k4vvhz10.js} +11 -11
  175. package/dist/chunks/{location-mutation-mtan077r.js → location-services-k937cge0.js} +17 -17
  176. package/dist/chunks/{location-mutation-gm8tpq3e.js → location-services-k962g4j1.js} +11 -11
  177. package/dist/chunks/{location-mutation-ext0y26q.js → location-services-kctmjn4p.js} +5 -5
  178. package/dist/chunks/{location-mutation-7678e2w2.js → location-services-kfgvrrfp.js} +26 -26
  179. package/dist/chunks/{location-mutation-kg06axw8.js → location-services-kg06axw8.js} +1 -1
  180. package/dist/chunks/{location-mutation-ecjyhxv0.js → location-services-khfm06dd.js} +12 -12
  181. package/dist/chunks/{location-mutation-yfbd16n1.js → location-services-kk3rr3qh.js} +5 -5
  182. package/dist/chunks/{location-mutation-vy6tdsmf.js → location-services-knktnvd5.js} +4 -4
  183. package/dist/chunks/{location-mutation-crrrqmng.js → location-services-kpgzv4p9.js} +13 -13
  184. package/dist/chunks/{location-mutation-kvsjn1dr.js → location-services-kvsjn1dr.js} +2 -2
  185. package/dist/chunks/location-services-m2pjqhxk.js +44 -0
  186. package/dist/chunks/{location-mutation-xc28r99p.js → location-services-m372t30b.js} +34 -34
  187. package/dist/chunks/{location-mutation-ekhhj8pe.js → location-services-m8dnhwdf.js} +7 -7
  188. package/dist/chunks/{location-mutation-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{location-mutation-2w6bfmvf.js → location-services-mcxg6pmm.js} +1 -1
  190. package/dist/chunks/{location-mutation-x5www9fj.js → location-services-menvx3m9.js} +20 -20
  191. package/dist/chunks/{location-mutation-nrznasy4.js → location-services-mnqcpvp4.js} +24 -24
  192. package/dist/chunks/{location-mutation-5n6tmmp5.js → location-services-n1xadze2.js} +11 -11
  193. package/dist/chunks/{location-mutation-9r2wxtzb.js → location-services-n57ezdmm.js} +15 -15
  194. package/dist/chunks/{location-mutation-rnsf690d.js → location-services-nfs5s19p.js} +9 -9
  195. package/dist/chunks/{location-mutation-nf2cw6d6.js → location-services-nj1fe1jb.js} +4 -4
  196. package/dist/chunks/{location-mutation-wfeyt0dq.js → location-services-nnnj2wbt.js} +28 -28
  197. package/dist/chunks/{location-mutation-n7z8rwmy.js → location-services-nzyds8rb.js} +12 -12
  198. package/dist/chunks/{location-mutation-nfe1n4jc.js → location-services-p0w949fe.js} +6 -6
  199. package/dist/chunks/{location-mutation-c5d63h90.js → location-services-p4671y1g.js} +20 -20
  200. package/dist/chunks/{location-mutation-bjg9h0sq.js → location-services-pa4f1x1m.js} +22 -22
  201. package/dist/chunks/{location-mutation-3gqhr4wr.js → location-services-pfnbt8cc.js} +16 -16
  202. package/dist/chunks/{location-mutation-09qfd5pw.js → location-services-phmx9zzk.js} +41 -41
  203. package/dist/chunks/{location-mutation-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{location-mutation-pknna89w.js → location-services-pknna89w.js} +1 -1
  205. package/dist/chunks/{location-mutation-2tp8tyg3.js → location-services-pqvede48.js} +4 -4
  206. package/dist/chunks/{location-mutation-bjjsq4aq.js → location-services-q3mvmq3w.js} +8 -8
  207. package/dist/chunks/{location-mutation-xsrpbzp3.js → location-services-q3s1g42q.js} +7 -7
  208. package/dist/chunks/{location-mutation-5mhvc9ws.js → location-services-q9rc88k9.js} +11 -11
  209. package/dist/chunks/location-services-qnnvnzf3.js +287 -0
  210. package/dist/chunks/{location-mutation-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  211. package/dist/chunks/{location-mutation-9qm9egsn.js → location-services-qvbcabdc.js} +2 -2
  212. package/dist/chunks/{location-mutation-d3vxtdrv.js → location-services-qvwjc6yp.js} +10 -10
  213. package/dist/chunks/{location-mutation-jph4yfm0.js → location-services-r4shs0wn.js} +10 -10
  214. package/dist/chunks/{location-mutation-r8dhm0tv.js → location-services-r8dhm0tv.js} +1 -1
  215. package/dist/chunks/{location-mutation-geemq6eh.js → location-services-rj5w3mtz.js} +4 -4
  216. package/dist/chunks/{location-mutation-wfsrt4xp.js → location-services-rjgrhwwz.js} +4 -4
  217. package/dist/chunks/{location-mutation-aj7d9r5a.js → location-services-rmy3e5eg.js} +3 -3
  218. package/dist/chunks/{location-mutation-kx2gvdct.js → location-services-rvhss2m2.js} +4 -4
  219. package/dist/chunks/{location-mutation-6tkeq6mm.js → location-services-rxzgqjy1.js} +3 -3
  220. package/dist/chunks/{location-mutation-8jxcp26p.js → location-services-s18jmqte.js} +12 -12
  221. package/dist/chunks/{location-mutation-q3bvm35g.js → location-services-s2vs8x71.js} +39 -39
  222. package/dist/chunks/{location-mutation-pt7wq7x0.js → location-services-s3eqpch7.js} +1 -1
  223. package/dist/chunks/{location-mutation-sba4qhjf.js → location-services-sba4qhjf.js} +1 -1
  224. package/dist/chunks/{location-mutation-mr8pv455.js → location-services-sbq66r6g.js} +27 -27
  225. package/dist/chunks/{location-mutation-zr94hr5w.js → location-services-se8343fv.js} +25 -25
  226. package/dist/chunks/{location-mutation-a8pydxdv.js → location-services-sy92nsfc.js} +1 -1
  227. package/dist/chunks/{location-mutation-0nwt5npc.js → location-services-t7rtampj.js} +2 -2
  228. package/dist/chunks/{location-mutation-qhkgmvvr.js → location-services-t95a6mym.js} +2 -2
  229. package/dist/chunks/{location-mutation-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{location-mutation-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{location-mutation-tjykrgmx.js → location-services-tjykrgmx.js} +1 -1
  232. package/dist/chunks/{location-mutation-6jv2bj4v.js → location-services-tk228e24.js} +82 -82
  233. package/dist/chunks/{location-mutation-0qwgmk3c.js → location-services-tmhmjagm.js} +8 -8
  234. package/dist/chunks/{location-mutation-4mws4vra.js → location-services-tnjhdsge.js} +9 -9
  235. package/dist/chunks/{location-mutation-827gjf98.js → location-services-tp6caa3d.js} +11 -11
  236. package/dist/chunks/{location-mutation-1h561g3c.js → location-services-v2pza5zk.js} +8 -8
  237. package/dist/chunks/{location-mutation-k3wca5q4.js → location-services-v594shb6.js} +21 -21
  238. package/dist/chunks/{location-mutation-tppvcy65.js → location-services-v60ecprk.js} +7 -7
  239. package/dist/chunks/{location-mutation-0pdnz7ef.js → location-services-vfrvdtz3.js} +29 -29
  240. package/dist/chunks/location-services-vm9h7nn7.js +247 -0
  241. package/dist/chunks/{location-mutation-ve4pfa0n.js → location-services-vncycja5.js} +4 -4
  242. package/dist/chunks/{location-mutation-q18qpsh3.js → location-services-vpjfb8q2.js} +16 -16
  243. package/dist/chunks/{location-mutation-737r5hhq.js → location-services-vqkewy85.js} +22 -22
  244. package/dist/chunks/{location-mutation-yj3e99fm.js → location-services-vsr56sgz.js} +3 -3
  245. package/dist/chunks/{location-mutation-xny6jqhd.js → location-services-w2vgcc2w.js} +37 -37
  246. package/dist/chunks/{location-mutation-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{location-mutation-0rag4e4f.js → location-services-w4600456.js} +4 -4
  248. package/dist/chunks/{location-mutation-x06whm69.js → location-services-w7j7tazs.js} +11 -11
  249. package/dist/chunks/{location-mutation-gxvh7thp.js → location-services-wcnr6rrh.js} +9 -9
  250. package/dist/chunks/{location-mutation-wd87259q.js → location-services-wd87259q.js} +1 -1
  251. package/dist/chunks/{location-mutation-0b89de78.js → location-services-ww8c32hp.js} +5 -5
  252. package/dist/chunks/{location-mutation-69wmbgv2.js → location-services-wze2vh4b.js} +8 -8
  253. package/dist/chunks/{location-mutation-rnkmxyqk.js → location-services-x00g5gps.js} +9 -9
  254. package/dist/chunks/{location-mutation-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{location-mutation-17cx6v33.js → location-services-x24q2dv9.js} +193 -153
  256. package/dist/chunks/{location-mutation-5zgn512j.js → location-services-x66mkz1z.js} +26 -26
  257. package/dist/chunks/{location-mutation-h9k9cmfx.js → location-services-x9qr1909.js} +9 -9
  258. package/dist/chunks/{location-mutation-y5j2xpyk.js → location-services-xazezp0p.js} +11 -11
  259. package/dist/chunks/{location-mutation-x0mkew1p.js → location-services-xbpts9sh.js} +9 -9
  260. package/dist/chunks/{location-mutation-gsegsdbx.js → location-services-xexqb8q9.js} +8 -8
  261. package/dist/chunks/{location-mutation-8z5rgnjd.js → location-services-xhtgrbvc.js} +8 -8
  262. package/dist/chunks/{location-mutation-jnmmvqjs.js → location-services-xqsy6kp0.js} +1 -1
  263. package/dist/chunks/{location-mutation-bb7r8rxx.js → location-services-xr8qdc97.js} +15 -15
  264. package/dist/chunks/{location-mutation-1qsrvesq.js → location-services-xre0f2nr.js} +31 -31
  265. package/dist/chunks/{location-mutation-rsp2kejy.js → location-services-xtxq49pg.js} +13 -13
  266. package/dist/chunks/{location-mutation-n9xwprfq.js → location-services-y0wtxgtq.js} +24 -24
  267. package/dist/chunks/{location-mutation-32971pnb.js → location-services-y15phd97.js} +25 -25
  268. package/dist/chunks/{location-mutation-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{location-mutation-93a8yfjt.js → location-services-y2cqme3r.js} +5 -5
  270. package/dist/chunks/{location-mutation-hxsqza2t.js → location-services-y2e9289q.js} +22 -22
  271. package/dist/chunks/{location-mutation-4g8dp60g.js → location-services-ya5ydtak.js} +6 -6
  272. package/dist/chunks/{location-mutation-9v1bmnwj.js → location-services-yf5er8qd.js} +11 -11
  273. package/dist/chunks/{location-mutation-ajtjthsy.js → location-services-yg7sb877.js} +2 -2
  274. package/dist/chunks/{location-mutation-wkpm2t5g.js → location-services-ym8n7jpx.js} +11 -11
  275. package/dist/chunks/{location-mutation-z1k01bn4.js → location-services-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{location-mutation-5ynzwv1w.js → location-services-z2s7y4xn.js} +46 -46
  277. package/dist/chunks/{location-mutation-djtdz80w.js → location-services-z3xgatyd.js} +4 -4
  278. package/dist/chunks/{location-mutation-8m0dxkat.js → location-services-z5837jq4.js} +18 -18
  279. package/dist/chunks/{location-mutation-babry5yc.js → location-services-zj4hh745.js} +7 -7
  280. package/dist/chunks/{location-mutation-2t2f1f7r.js → location-services-zkzsy6tz.js} +27 -27
  281. package/dist/chunks/{location-mutation-fhx1q6kw.js → location-services-zmchtb2v.js} +8 -8
  282. package/dist/chunks/{location-mutation-zajwd6at.js → location-services-zn2pq4p8.js} +5 -5
  283. package/dist/chunks/{location-mutation-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +125 -125
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +115 -115
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +134 -134
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +112 -112
  310. package/dist/config/plugin/worktree.js +122 -0
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +118 -118
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +82 -82
  316. package/dist/database/database.js +68 -68
  317. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  318. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +15 -15
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +16 -16
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +74 -74
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -356
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +3 -3
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +84 -84
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +86 -86
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +68 -68
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +218 -215
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +15 -15
  418. package/dist/filesystem.js +100 -100
  419. package/dist/form.js +84 -84
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +82 -82
  422. package/dist/generate.js +90 -90
  423. package/dist/git.js +5 -5
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +3 -3
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +7 -7
  447. package/dist/instance.js +349 -347
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +3 -3
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +83 -83
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +83 -83
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -344
  460. package/dist/location.js +78 -78
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +94 -94
  463. package/dist/mcp/instructions.js +120 -120
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +3 -3
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +6 -6
  470. package/dist/models-dev.js +78 -78
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +78 -78
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +107 -107
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +86 -86
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +98 -98
  481. package/dist/plugin/command.js +95 -95
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +213 -210
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -316
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +2 -2
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +4 -4
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +116 -116
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +79 -79
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +72 -72
  528. package/dist/plugin/service.js +5 -5
  529. package/dist/plugin/skill.js +131 -131
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +339 -335
  532. package/dist/plugin/system-prompt.js +5 -5
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +6 -6
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +220 -217
  545. package/dist/project/schema.js +6 -6
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +79 -79
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +94 -94
  553. package/dist/reference/instructions.js +82 -82
  554. package/dist/reference.js +86 -86
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +89 -89
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +123 -123
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +5 -5
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +212 -212
  568. package/dist/session/execution.js +116 -116
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +86 -86
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +4 -4
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +122 -122
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +1 -1
  586. package/dist/session/runner/llm.js +223 -220
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +119 -119
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +167 -167
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +71 -71
  599. package/dist/session/store.js +84 -84
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +3 -3
  603. package/dist/session/title.js +149 -149
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +207 -207
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +209 -209
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +13 -13
  612. package/dist/shell.js +130 -130
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +104 -104
  616. package/dist/snapshot.js +86 -86
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +117 -117
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +117 -117
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +114 -114
  627. package/dist/tool/plugin/question.js +101 -101
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +208 -208
  630. package/dist/tool/plugin/skill.js +105 -105
  631. package/dist/tool/plugin/subagent.js +210 -210
  632. package/dist/tool/plugin/webfetch.js +104 -104
  633. package/dist/tool/plugin/websearch.js +106 -106
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +13 -13
  639. package/dist/types/config/plugin/worktree.d.ts +6 -0
  640. package/dist/types/instance.d.ts +2 -1
  641. package/dist/types/plugin/host.d.ts +3 -2
  642. package/dist/types/plugin/internal.d.ts +3 -2
  643. package/dist/types/project/sql.d.ts +1 -1
  644. package/dist/types/v1/config/migrate.d.ts +3 -0
  645. package/dist/types/worktree/git.d.ts +1 -1
  646. package/dist/types/worktree/refresh.d.ts +2 -0
  647. package/dist/types/worktree.d.ts +22 -36
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +2 -2
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +81 -81
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +72 -72
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +343 -0
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +97 -102
  685. package/package.json +7 -7
  686. package/dist/chunks/location-mutation-35chk74t.js +0 -4
  687. package/dist/chunks/location-mutation-4v7qdvcn.js +0 -18
  688. package/dist/chunks/location-mutation-62ya9kgq.js +0 -243
  689. package/dist/chunks/location-mutation-7fmqvqpa.js +0 -20
  690. package/dist/chunks/location-mutation-jb14a65r.js +0 -450
  691. package/dist/chunks/location-mutation-m1v38ztw.js +0 -22
  692. package/dist/chunks/location-mutation-xrrv7eja.js +0 -269
  693. /package/dist/chunks/{location-mutation-0fabt78z.js → location-services-0fabt78z.js} +0 -0
  694. /package/dist/chunks/{location-mutation-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{location-mutation-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{location-mutation-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{location-mutation-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{location-mutation-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{location-mutation-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{location-mutation-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{location-mutation-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{location-mutation-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{location-mutation-3asan66x.js → location-services-3asan66x.js} +0 -0
  704. /package/dist/chunks/{location-mutation-3t738kvx.js → location-services-3t738kvx.js} +0 -0
  705. /package/dist/chunks/{location-mutation-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{location-mutation-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{location-mutation-41nvscxy.js → location-services-41nvscxy.js} +0 -0
  708. /package/dist/chunks/{location-mutation-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{location-mutation-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{location-mutation-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{location-mutation-53557ph1.js → location-services-53557ph1.js} +0 -0
  712. /package/dist/chunks/{location-mutation-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{location-mutation-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{location-mutation-6prwharc.js → location-services-6prwharc.js} +0 -0
  715. /package/dist/chunks/{location-mutation-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{location-mutation-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{location-mutation-822emrt2.js → location-services-822emrt2.js} +0 -0
  718. /package/dist/chunks/{location-mutation-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{location-mutation-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{location-mutation-982e01ww.js → location-services-982e01ww.js} +0 -0
  721. /package/dist/chunks/{location-mutation-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{location-mutation-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{location-mutation-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
  724. /package/dist/chunks/{location-mutation-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{location-mutation-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{location-mutation-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{location-mutation-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{location-mutation-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{location-mutation-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{location-mutation-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{location-mutation-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{location-mutation-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{location-mutation-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{location-mutation-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{location-mutation-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{location-mutation-df08tz66.js → location-services-df08tz66.js} +0 -0
  737. /package/dist/chunks/{location-mutation-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{location-mutation-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{location-mutation-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{location-mutation-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{location-mutation-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{location-mutation-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{location-mutation-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{location-mutation-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{location-mutation-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{location-mutation-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{location-mutation-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{location-mutation-g86h250q.js → location-services-g86h250q.js} +0 -0
  749. /package/dist/chunks/{location-mutation-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{location-mutation-hk9envan.js → location-services-hk9envan.js} +0 -0
  751. /package/dist/chunks/{location-mutation-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{location-mutation-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{location-mutation-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{location-mutation-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{location-mutation-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{location-mutation-mntxs535.js → location-services-mntxs535.js} +0 -0
  757. /package/dist/chunks/{location-mutation-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{location-mutation-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{location-mutation-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{location-mutation-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{location-mutation-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{location-mutation-p8qxwesx.js → location-services-p8qxwesx.js} +0 -0
  763. /package/dist/chunks/{location-mutation-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{location-mutation-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{location-mutation-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{location-mutation-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{location-mutation-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{location-mutation-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{location-mutation-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{location-mutation-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{location-mutation-se0s1eqw.js → location-services-se0s1eqw.js} +0 -0
  772. /package/dist/chunks/{location-mutation-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{location-mutation-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{location-mutation-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{location-mutation-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{location-mutation-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{location-mutation-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{location-mutation-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{location-mutation-x1b8g1yb.js → location-services-x1b8g1yb.js} +0 -0
  780. /package/dist/chunks/{location-mutation-x61499pn.js → location-services-x61499pn.js} +0 -0
  781. /package/dist/chunks/{location-mutation-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{location-mutation-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{location-mutation-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{location-mutation-z9919s4g.js → location-services-z9919s4g.js} +0 -0
  785. /package/dist/chunks/{location-mutation-zbjnn3ac.js → location-services-zbjnn3ac.js} +0 -0
@@ -1,126 +1,134 @@
1
1
  import {
2
2
  Metadata2,
3
- node49
4
- } from "./location-mutation-bemx5yka.js";
3
+ node85
4
+ } from "./location-services-5291er17.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./location-mutation-ddbs5teb.js";
8
+ } from "./location-services-3cwf5791.js";
9
9
  import {
10
- ID11,
11
- Service66,
12
- node69
13
- } from "./location-mutation-n9xwprfq.js";
10
+ ID15,
11
+ Service70,
12
+ node74
13
+ } from "./location-services-y0wtxgtq.js";
14
14
  import {
15
- ID16
16
- } from "./location-mutation-rvb2zp0m.js";
15
+ ID18
16
+ } from "./location-services-4z6b0fg6.js";
17
17
  import {
18
- Service58,
19
- node61
20
- } from "./location-mutation-jn8mbdkr.js";
18
+ Service66,
19
+ node70
20
+ } from "./location-services-eyb1z5ae.js";
21
21
  import {
22
- ID15
23
- } from "./location-mutation-3mrm2hwf.js";
22
+ ID12
23
+ } from "./location-services-g95cjzen.js";
24
24
  import {
25
- ID14,
25
+ ID13,
26
26
  OAuth3
27
- } from "./location-mutation-0h1823wr.js";
27
+ } from "./location-services-86y9jrhy.js";
28
28
  import {
29
- ID7,
29
+ ID11,
30
30
  MethodID2,
31
31
  AttemptID2,
32
32
  Method2,
33
- Service60,
34
- node63
35
- } from "./location-mutation-h0rsqts8.js";
33
+ Service67,
34
+ node71
35
+ } from "./location-services-bexxahbt.js";
36
36
  import {
37
- Service59,
38
- node62
39
- } from "./location-mutation-em9dwk44.js";
37
+ Service65,
38
+ node69
39
+ } from "./location-services-b7cxq2m5.js";
40
40
  import {
41
- Service55,
42
- node58
43
- } from "./location-mutation-hxsqza2t.js";
41
+ Service58,
42
+ node62
43
+ } from "./location-services-y2e9289q.js";
44
44
  import {
45
- Service73,
46
- node77
47
- } from "./location-mutation-5k67w2az.js";
45
+ Service63,
46
+ node67
47
+ } from "./location-services-g72d1q92.js";
48
48
  import {
49
49
  AbsolutePath2
50
- } from "./location-mutation-p8qxwesx.js";
50
+ } from "./location-services-p8qxwesx.js";
51
51
  import {
52
- Info30,
52
+ Info29,
53
53
  Ref4,
54
54
  Service76,
55
55
  node80
56
- } from "./location-mutation-ext0y26q.js";
57
- import {
58
- Service75,
59
- node79
60
- } from "./location-mutation-n6m3vdqa.js";
61
- import {
62
- ID13
63
- } from "./location-mutation-exqkd66q.js";
56
+ } from "./location-services-kctmjn4p.js";
64
57
  import {
65
- Service37,
58
+ Service36,
66
59
  node39
67
- } from "./location-mutation-xc28r99p.js";
60
+ } from "./location-services-2fw09n55.js";
68
61
  import {
69
- Service67,
70
- node70
71
- } from "./location-mutation-69wmbgv2.js";
62
+ ID9
63
+ } from "./location-services-ht2yd5p4.js";
72
64
  import {
73
- Service63,
74
- node66
75
- } from "./location-mutation-msb8yzxf.js";
65
+ Service34,
66
+ node37
67
+ } from "./location-services-m372t30b.js";
76
68
  import {
77
- Service42,
78
- node44
79
- } from "./location-mutation-qk5jqvf6.js";
69
+ Service45,
70
+ node48
71
+ } from "./location-services-wze2vh4b.js";
80
72
  import {
81
- Source3,
82
- Service39,
83
- node41
84
- } from "./location-mutation-ae9mband.js";
73
+ Service41,
74
+ node44
75
+ } from "./location-services-30r17csp.js";
85
76
  import {
86
- Info7,
87
77
  Service44,
88
- node46
89
- } from "./location-mutation-8gqsnzk6.js";
78
+ node47
79
+ } from "./location-services-7zxx2843.js";
80
+ import {
81
+ Source5,
82
+ Service50,
83
+ node53
84
+ } from "./location-services-gxrn9h3d.js";
90
85
  import {
91
- Service20,
92
- node23
93
- } from "./location-mutation-gk9cwknp.js";
86
+ Info7,
87
+ Service40,
88
+ node43
89
+ } from "./location-services-dedcm63c.js";
94
90
  import {
95
91
  Service17,
96
- node20
97
- } from "./location-mutation-mr8pv455.js";
92
+ node21
93
+ } from "./location-services-dx0wg0tz.js";
94
+ import {
95
+ Service71,
96
+ node75
97
+ } from "./location-services-sbq66r6g.js";
98
98
  import {
99
- Service19,
100
- node22
101
- } from "./location-mutation-gm8tpq3e.js";
99
+ Service75,
100
+ node79
101
+ } from "./location-services-k962g4j1.js";
102
102
  import {
103
103
  Service47,
104
104
  node50
105
- } from "./location-mutation-zt4v7pfa.js";
105
+ } from "./location-services-en3sh7px.js";
106
106
  import {
107
- ID3,
108
- Service18,
109
- node21
110
- } from "./location-mutation-hqkh5ptn.js";
107
+ ID8,
108
+ Service49,
109
+ node52
110
+ } from "./location-services-5gk8tmgr.js";
111
+ import {
112
+ StrategyID2,
113
+ Info6,
114
+ ListEntry3,
115
+ UnsupportedLocationError2,
116
+ Service39,
117
+ node42
118
+ } from "./location-services-qnnvnzf3.js";
111
119
  import {
112
- Service56,
113
- node59
114
- } from "./location-mutation-s9d88b2t.js";
120
+ Service51,
121
+ node54
122
+ } from "./location-services-3rtc5zee.js";
115
123
  import {
116
124
  __export
117
- } from "./location-mutation-9rqn6x4v.js";
125
+ } from "./location-services-9rqn6x4v.js";
118
126
 
119
127
  // src/plugin/host.ts
120
128
  var exports_host = {};
121
129
  __export(exports_host, {
122
130
  PluginHost: () => exports_host,
123
- make: () => make11,
131
+ make: () => make10,
124
132
  requirements: () => requirements3,
125
133
  storage: () => storage2
126
134
  });
@@ -130,45 +138,61 @@ import { Effect, Schema, Stream } from "effect";
130
138
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
131
139
  var mutable = (value) => value;
132
140
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
133
- var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
141
+ var make10 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
134
142
  const app = yield* Metadata2;
135
- const agents = yield* Service66;
136
- const aisdk = yield* Service58;
137
- const catalog = yield* Service59;
138
- const commands = yield* Service55;
143
+ const agents = yield* Service70;
144
+ const aisdk = yield* Service66;
145
+ const catalog = yield* Service65;
146
+ const commands = yield* Service58;
139
147
  const bus = yield* Service79;
140
- const integration = yield* Service60;
141
- const kv = yield* Service73;
142
- const mcp = yield* Service37;
148
+ const integration = yield* Service67;
149
+ const kv = yield* Service63;
150
+ const mcp = yield* Service34;
143
151
  const location = yield* Service76;
144
- const reference = yield* Service39;
145
- const rpc = yield* Service19;
146
- const skill = yield* Service44;
147
- const tools = yield* Service42;
152
+ const reference = yield* Service50;
153
+ const rpc = yield* Service75;
154
+ const skill = yield* Service40;
155
+ const tools = yield* Service44;
148
156
  const vcs = yield* Service47;
149
- const websearch = yield* Service18;
150
- const generate = yield* Service56;
151
- const permission = yield* Service63;
152
- const hooks = yield* Service67;
153
- const sessions = yield* Service20;
154
- const persistentPty = yield* Service17;
155
- const locations = yield* Service75;
156
- const locationInfo = () => new Info30({
157
+ const websearch = yield* Service49;
158
+ const generate = yield* Service51;
159
+ const permission = yield* Service41;
160
+ const hooks = yield* Service45;
161
+ const sessions = yield* Service17;
162
+ const persistentPty = yield* Service71;
163
+ const locations = yield* Service36;
164
+ const worktrees = yield* Service39;
165
+ const locationInfo = () => new Info29({
157
166
  directory: location.directory,
158
167
  workspaceID: location.workspaceID,
159
168
  project: location.project
160
169
  });
161
170
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
162
171
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
163
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID13.make(input.location.workspace)
172
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID9.make(input.location.workspace)
164
173
  });
165
174
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
166
175
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
176
+ const atWorktree = (ref, run) => {
177
+ if (ref?.workspaceID)
178
+ return Effect.fail(new UnsupportedLocationError2({ directory: ref.directory }));
179
+ if (!ref || isCurrentLocation(ref))
180
+ return run(worktrees);
181
+ return Effect.gen(function* () {
182
+ const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
183
+ const plugins = yield* Plugin.Service;
184
+ const target = yield* Service39;
185
+ yield* plugins.awaitActivation;
186
+ return yield* run(target);
187
+ }).pipe(Effect.provide(locations.get(ref)));
188
+ };
189
+ const decodeWorktree = Schema.decodeUnknownEffect(Info6);
190
+ const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
167
191
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
168
192
  const location = yield* Service76;
169
- const agents = yield* Service66;
193
+ const agents = yield* Service70;
170
194
  return {
171
- location: new Info30({
195
+ location: new Info29({
172
196
  directory: location.directory,
173
197
  workspaceID: location.workspaceID,
174
198
  project: location.project
@@ -200,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
200
224
  transform: (callback) => agents.transform((editor) => {
201
225
  callback({
202
226
  list: () => mutable(editor.list()),
203
- get: (id) => mutable(editor.get(ID11.make(id))),
204
- default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
205
- update: (id, update) => editor.update(ID11.make(id), update),
206
- remove: (id) => editor.remove(ID11.make(id))
227
+ get: (id) => mutable(editor.get(ID15.make(id))),
228
+ default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
229
+ update: (id, update) => editor.update(ID15.make(id), update),
230
+ remove: (id) => editor.remove(ID15.make(id))
207
231
  });
208
232
  })
209
233
  },
@@ -238,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
238
262
  catalog: {
239
263
  provider: {
240
264
  list: () => response(catalog.provider.available()),
241
- get: (input) => catalog.provider.get(ID16.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
265
+ get: (input) => catalog.provider.get(ID18.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
242
266
  },
243
267
  model: {
244
268
  list: () => response(catalog.model.available()),
@@ -249,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
249
273
  callback({
250
274
  provider: {
251
275
  list: () => mutable(editor.provider.list()),
252
- get: (id) => mutable(editor.provider.get(ID16.make(id))),
253
- update: (id, update) => editor.provider.update(ID16.make(id), update),
254
- remove: (id) => editor.provider.remove(ID16.make(id))
276
+ get: (id) => mutable(editor.provider.get(ID18.make(id))),
277
+ update: (id, update) => editor.provider.update(ID18.make(id), update),
278
+ remove: (id) => editor.provider.remove(ID18.make(id))
255
279
  },
256
280
  model: {
257
- get: (providerID, modelID) => mutable(editor.model.get(ID16.make(providerID), ID15.make(modelID))),
258
- update: (providerID, modelID, update) => editor.model.update(ID16.make(providerID), ID15.make(modelID), update),
259
- remove: (providerID, modelID) => editor.model.remove(ID16.make(providerID), ID15.make(modelID)),
281
+ get: (providerID, modelID) => mutable(editor.model.get(ID18.make(providerID), ID12.make(modelID))),
282
+ update: (providerID, modelID, update) => editor.model.update(ID18.make(providerID), ID12.make(modelID), update),
283
+ remove: (providerID, modelID) => editor.model.remove(ID18.make(providerID), ID12.make(modelID)),
260
284
  default: {
261
285
  get: editor.model.default.get,
262
- set: (providerID, modelID) => editor.model.default.set(ID16.make(providerID), ID15.make(modelID))
286
+ set: (providerID, modelID) => editor.model.default.set(ID18.make(providerID), ID12.make(modelID))
263
287
  }
264
288
  }
265
289
  });
@@ -283,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
283
307
  },
284
308
  integration: {
285
309
  list: () => response(integration.list()),
286
- get: (input) => response(integration.get(ID7.make(input.integrationID))),
310
+ get: (input) => response(integration.get(ID11.make(input.integrationID))),
287
311
  connect: {
288
312
  key: (input) => integration.connection.key({
289
- integrationID: ID7.make(input.integrationID),
313
+ integrationID: ID11.make(input.integrationID),
290
314
  key: input.key,
291
315
  answer: input.answer,
292
316
  label: input.label
@@ -294,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
294
318
  },
295
319
  oauth: {
296
320
  connect: (input) => response(integration.oauth.connect({
297
- integrationID: ID7.make(input.integrationID),
321
+ integrationID: ID11.make(input.integrationID),
298
322
  methodID: MethodID2.make(input.methodID),
299
323
  answer: input.answer,
300
324
  label: input.label
301
325
  })),
302
326
  status: (input) => response(integration.oauth.status({
303
- integrationID: ID7.make(input.integrationID),
327
+ integrationID: ID11.make(input.integrationID),
304
328
  attemptID: AttemptID2.make(input.attemptID)
305
329
  })),
306
330
  complete: (input) => integration.oauth.complete({
307
- integrationID: ID7.make(input.integrationID),
331
+ integrationID: ID11.make(input.integrationID),
308
332
  attemptID: AttemptID2.make(input.attemptID),
309
333
  code: input.code
310
334
  }),
311
335
  cancel: (input) => integration.oauth.cancel({
312
- integrationID: ID7.make(input.integrationID),
336
+ integrationID: ID11.make(input.integrationID),
313
337
  attemptID: AttemptID2.make(input.attemptID)
314
338
  })
315
339
  },
316
340
  command: {
317
341
  connect: (input) => response(integration.command.connect({
318
- integrationID: ID7.make(input.integrationID),
342
+ integrationID: ID11.make(input.integrationID),
319
343
  methodID: MethodID2.make(input.methodID),
320
344
  label: input.label
321
345
  })),
322
346
  status: (input) => response(integration.command.status({
323
- integrationID: ID7.make(input.integrationID),
347
+ integrationID: ID11.make(input.integrationID),
324
348
  attemptID: AttemptID2.make(input.attemptID)
325
349
  })),
326
350
  cancel: (input) => integration.command.cancel({
327
- integrationID: ID7.make(input.integrationID),
351
+ integrationID: ID11.make(input.integrationID),
328
352
  attemptID: AttemptID2.make(input.attemptID)
329
353
  })
330
354
  },
331
355
  reload: integration.reload,
332
356
  connection: {
333
- active: (id) => integration.connection.active(ID7.make(id)),
334
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection)
357
+ active: (id) => integration.connection.active(ID11.make(id)),
358
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID13.make(connection.id) } : connection)
335
359
  },
336
360
  transform: (callback) => integration.transform((editor) => {
337
361
  callback({
338
362
  list: () => mutable(editor.list()),
339
- get: (id) => mutable(editor.get(ID7.make(id))),
340
- update: (id, update) => editor.update(ID7.make(id), update),
341
- remove: (id) => editor.remove(ID7.make(id)),
363
+ get: (id) => mutable(editor.get(ID11.make(id))),
364
+ update: (id, update) => editor.update(ID11.make(id), update),
365
+ remove: (id) => editor.remove(ID11.make(id)),
342
366
  method: {
343
- list: (id) => editor.method.list(ID7.make(id)),
367
+ list: (id) => editor.method.list(ID11.make(id)),
344
368
  update: (input) => editor.method.update(methodImplementation(input)),
345
- remove: (id, method) => editor.method.remove(ID7.make(id), Schema.decodeUnknownSync(Method2)(method))
369
+ remove: (id, method) => editor.method.remove(ID11.make(id), Schema.decodeUnknownSync(Method2)(method))
346
370
  }
347
371
  });
348
372
  })
@@ -353,9 +377,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
353
377
  if (ref && !isCurrentLocation(ref))
354
378
  return Effect.gen(function* () {
355
379
  const location = yield* Service76;
356
- const mcp = yield* Service37;
380
+ const mcp = yield* Service34;
357
381
  return {
358
- location: new Info30({
382
+ location: new Info29({
359
383
  directory: location.directory,
360
384
  workspaceID: location.workspaceID,
361
385
  project: location.project
@@ -390,7 +414,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
390
414
  reload: reference.reload,
391
415
  transform: (callback) => reference.transform((editor) => {
392
416
  callback({
393
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
417
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
394
418
  remove: editor.remove,
395
419
  list: editor.list,
396
420
  get: editor.get
@@ -432,23 +456,38 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
432
456
  providers: () => response(websearch.providers()),
433
457
  query: (input) => response(websearch.query({
434
458
  query: input.query,
435
- providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
459
+ providerID: input.providerID === undefined ? undefined : ID8.make(input.providerID)
436
460
  })),
437
461
  reload: websearch.reload,
438
462
  transform: (callback) => websearch.transform((editor) => {
439
463
  callback({
440
464
  add: (definition) => editor.add({
441
- id: ID3.make(definition.id),
465
+ id: ID8.make(definition.id),
442
466
  name: definition.name,
443
467
  execute: definition.execute
444
468
  }),
445
469
  default: {
446
470
  get: editor.default.get,
447
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
471
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID8.make(selection))
448
472
  }
449
473
  });
450
474
  })
451
475
  },
476
+ worktree: {
477
+ list: (input) => atWorktree(locationRef(input), (service) => service.list()),
478
+ create: (input) => atWorktree(locationRef(input), (service) => service.create(input)),
479
+ refresh: (input) => atWorktree(locationRef(input), (service) => service.refresh()).pipe(Effect.asVoid),
480
+ remove: (input) => atWorktree(locationRef(input), (service) => service.remove(input)),
481
+ reload: worktrees.reload,
482
+ transform: (callback) => worktrees.transform((editor) => callback({
483
+ add: (definition) => editor.add({
484
+ id: StrategyID2.make(definition.id),
485
+ create: (input) => definition.create(input).pipe(Effect.flatMap(decodeWorktree)),
486
+ remove: (input) => definition.remove(input),
487
+ list: (directory) => definition.list(directory).pipe(Effect.flatMap(decodeWorktrees))
488
+ })
489
+ }))
490
+ },
452
491
  session: {
453
492
  hook: (name, callback, options) => hooks.register("session", name, callback, options),
454
493
  create: (input) => sessions.create({
@@ -475,28 +514,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
475
514
  return context;
476
515
  });
477
516
  var requirements3 = LayerNode.group([
478
- node49,
517
+ node85,
518
+ node74,
519
+ node70,
479
520
  node69,
480
- node61,
481
521
  node62,
482
- node58,
483
522
  node83,
484
- node63,
485
- node77,
486
- node39,
523
+ node71,
524
+ node67,
525
+ node37,
487
526
  node80,
488
- node41,
489
- node22,
490
- node46,
491
- node44,
527
+ node53,
528
+ node79,
529
+ node43,
530
+ node47,
492
531
  node50,
532
+ node52,
533
+ node42,
534
+ node54,
535
+ node44,
536
+ node48,
493
537
  node21,
494
- node59,
495
- node66,
496
- node70,
497
- node23,
498
- node20,
499
- node79
538
+ node75,
539
+ node39
500
540
  ]);
501
541
  function storage2(kv, pluginID) {
502
542
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -523,7 +563,7 @@ function methodImplementation(input) {
523
563
  if ("authorize" in input) {
524
564
  const refresh = input.refresh;
525
565
  return {
526
- integrationID: ID7.make(input.integrationID),
566
+ integrationID: ID11.make(input.integrationID),
527
567
  method: { ...input.method, id: MethodID2.make(input.method.id) },
528
568
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
529
569
  if (authorization.mode === "auto") {
@@ -543,18 +583,18 @@ function methodImplementation(input) {
543
583
  }
544
584
  if (input.method.type === "env") {
545
585
  return {
546
- integrationID: ID7.make(input.integrationID),
586
+ integrationID: ID11.make(input.integrationID),
547
587
  method: input.method
548
588
  };
549
589
  }
550
590
  if (input.method.type === "command") {
551
591
  return {
552
- integrationID: ID7.make(input.integrationID),
592
+ integrationID: ID11.make(input.integrationID),
553
593
  method: { ...input.method, id: MethodID2.make(input.method.id) }
554
594
  };
555
595
  }
556
596
  return {
557
- integrationID: ID7.make(input.integrationID),
597
+ integrationID: ID11.make(input.integrationID),
558
598
  method: input.method
559
599
  };
560
600
  }
@@ -562,4 +602,4 @@ function credential(value) {
562
602
  return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
563
603
  }
564
604
 
565
- export { make11, requirements3, storage2, exports_host };
605
+ export { make10, requirements3, storage2, exports_host };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./location-mutation-d3vxtdrv.js";
4
+ } from "./location-services-qvwjc6yp.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service79,
8
8
  node83
9
- } from "./location-mutation-ddbs5teb.js";
9
+ } from "./location-services-3cwf5791.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./location-mutation-0e0xafbb.js";
12
+ } from "./location-services-0e0xafbb.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./location-mutation-mntxs535.js";
15
+ } from "./location-services-mntxs535.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./location-mutation-ytcv0e2y.js";
18
+ } from "./location-services-4k5rvnzr.js";
19
19
  import {
20
- Service65,
21
- node68
22
- } from "./location-mutation-eepzdbxz.js";
20
+ Service42,
21
+ node45
22
+ } from "./location-services-czqdcwjb.js";
23
23
  import {
24
- Service25,
25
- node28
26
- } from "./location-mutation-6jv2bj4v.js";
24
+ Service18,
25
+ node22
26
+ } from "./location-services-tk228e24.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./location-mutation-tjykrgmx.js";
30
+ } from "./location-services-tjykrgmx.js";
31
31
  import {
32
32
  __export
33
- } from "./location-mutation-9rqn6x4v.js";
33
+ } from "./location-services-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service5,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer5,
42
- node: () => node7
41
+ layer: () => layer3,
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode-ai/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service5 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
61
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
62
  const bus = yield* Service79;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service25;
65
- const store = yield* Service65;
64
+ const context = yield* Service18;
65
+ const store = yield* Service42;
66
66
  const db = (yield* Service80).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service5.of({ generate });
148
+ return Service2.of({ generate });
149
149
  }));
150
- var node7 = makeLocationNode({
151
- service: Service5,
152
- layer: layer5,
153
- deps: [node83, llmClient2, node28, node68, node84]
150
+ var node4 = makeLocationNode({
151
+ service: Service2,
152
+ layer: layer3,
153
+ deps: [node83, llmClient2, node22, node45, node84]
154
154
  });
155
155
 
156
- export { Service5, isUntitled2, layer5, node7, exports_title };
156
+ export { Service2, isUntitled2, layer3, node4, exports_title };