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

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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/{location-services-86y9jrhy.js → worktree-07pb8kpb.js} +29 -29
  9. package/dist/chunks/{location-services-0e0xafbb.js → worktree-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{location-services-tnjhdsge.js → worktree-0j3xhtmk.js} +11 -11
  11. package/dist/chunks/{location-services-az24jgzn.js → worktree-0p7j8w0y.js} +18 -18
  12. package/dist/chunks/{location-services-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-services-0s9ayhjt.js → worktree-0s9ayhjt.js} +1 -1
  14. package/dist/chunks/{location-services-gyqz79xx.js → worktree-0smgnv34.js} +28 -28
  15. package/dist/chunks/{location-services-vncycja5.js → worktree-0v53mg2y.js} +4 -4
  16. package/dist/chunks/{location-services-1ct4r87x.js → worktree-1ct4r87x.js} +1 -1
  17. package/dist/chunks/{location-services-g8d3gcyj.js → worktree-1g7epwpd.js} +4 -4
  18. package/dist/chunks/{location-services-ym8n7jpx.js → worktree-1kgee81n.js} +22 -22
  19. package/dist/chunks/{location-services-xhtgrbvc.js → worktree-1w4xw7v2.js} +8 -8
  20. package/dist/chunks/{location-services-c0faa19c.js → worktree-1z80kc63.js} +4 -4
  21. package/dist/chunks/{location-services-s3eqpch7.js → worktree-20f0bv4c.js} +1 -1
  22. package/dist/chunks/{location-services-21r38tys.js → worktree-21r38tys.js} +1 -1
  23. package/dist/chunks/{location-services-sy92nsfc.js → worktree-29ag4y59.js} +1 -1
  24. package/dist/chunks/{location-services-gxrn9h3d.js → worktree-29j5p4n1.js} +29 -29
  25. package/dist/chunks/{location-services-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{location-services-vfrvdtz3.js → worktree-2b5y26a6.js} +31 -31
  27. package/dist/chunks/{location-services-q3s1g42q.js → worktree-2fxazh8e.js} +7 -7
  28. package/dist/chunks/{location-services-0ekd4hek.js → worktree-2gbvb2bw.js} +29 -29
  29. package/dist/chunks/{location-services-2ht70gj7.js → worktree-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{location-services-2jqmte8w.js → worktree-2jqmte8w.js} +2 -2
  31. package/dist/chunks/{location-services-r4shs0wn.js → worktree-2sj4fdt9.js} +13 -13
  32. package/dist/chunks/{location-services-eyb1z5ae.js → worktree-2y1298cj.js} +11 -11
  33. package/dist/chunks/{location-services-8d452593.js → worktree-2zas9gbe.js} +11 -11
  34. package/dist/chunks/{location-services-ht2yd5p4.js → worktree-31smg5a1.js} +25 -25
  35. package/dist/chunks/{location-services-sbq66r6g.js → worktree-3c8r10gh.js} +20 -20
  36. package/dist/chunks/{location-services-f1axbr6p.js → worktree-3dn5hj4c.js} +38 -38
  37. package/dist/chunks/{location-services-1d6e8fp6.js → worktree-3evspstc.js} +33 -33
  38. package/dist/chunks/{location-services-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{location-services-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-services-3qzbfqsy.js → worktree-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{location-services-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{location-services-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-services-711hfp6y.js → worktree-3x6030n9.js} +2 -2
  44. package/dist/chunks/{location-services-9p3tsgpy.js → worktree-3zhxwkvq.js} +4 -4
  45. package/dist/chunks/{location-services-6cpax4a9.js → worktree-42p0v5ym.js} +11 -11
  46. package/dist/chunks/{location-services-454k5vzh.js → worktree-454k5vzh.js} +1 -1
  47. package/dist/chunks/{location-services-q9rc88k9.js → worktree-49vq2kar.js} +17 -17
  48. package/dist/chunks/{location-services-5rmhknbq.js → worktree-4bprzw4y.js} +14 -14
  49. package/dist/chunks/{location-services-jze0w19d.js → worktree-4g66vddf.js} +18 -18
  50. package/dist/chunks/{location-services-7d826drz.js → worktree-4mmznj6z.js} +16 -16
  51. package/dist/chunks/{location-services-4r2nyarf.js → worktree-4r2nyarf.js} +1 -1
  52. package/dist/chunks/{location-services-6f0pgdt6.js → worktree-4sn8tp63.js} +54 -54
  53. package/dist/chunks/{location-services-a75chk1r.js → worktree-4tmbv016.js} +5 -5
  54. package/dist/chunks/{location-services-x66mkz1z.js → worktree-4wfsa8nd.js} +28 -28
  55. package/dist/chunks/{location-services-yf5er8qd.js → worktree-4yv6mxgz.js} +13 -13
  56. package/dist/chunks/{location-services-mcxg6pmm.js → worktree-54pzd82t.js} +1 -1
  57. package/dist/chunks/{location-services-9175d0mz.js → worktree-5cvw65fn.js} +14 -14
  58. package/dist/chunks/{location-services-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  59. package/dist/chunks/{location-services-zkzsy6tz.js → worktree-5en164k9.js} +30 -30
  60. package/dist/chunks/{location-services-5fmxt4p5.js → worktree-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{location-services-5jvc5tg2.js → worktree-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{location-services-dx0wg0tz.js → worktree-5nma5gje.js} +86 -86
  63. package/dist/chunks/{location-services-558w0eyg.js → worktree-5nsa7yyd.js} +4 -4
  64. package/dist/chunks/{location-services-3rtc5zee.js → worktree-5wnwz8xt.js} +20 -20
  65. package/dist/chunks/{location-services-xtxq49pg.js → worktree-5xvmhwfz.js} +13 -13
  66. package/dist/chunks/{location-services-jd9eyjvc.js → worktree-69rwnehh.js} +41 -41
  67. package/dist/chunks/{location-services-9mwtsm6t.js → worktree-6et5ytx9.js} +15 -15
  68. package/dist/chunks/{location-services-ww8c32hp.js → worktree-6h5wf9jw.js} +5 -5
  69. package/dist/chunks/{location-services-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{location-services-kctmjn4p.js → worktree-6hwsp9rp.js} +9 -9
  71. package/dist/chunks/{location-services-6tf8tr4v.js → worktree-6tf8tr4v.js} +2 -2
  72. package/dist/chunks/{location-services-9e45c1vq.js → worktree-6v7y7cpm.js} +17 -17
  73. package/dist/chunks/{location-services-6rd5cydf.js → worktree-6wghtbd2.js} +31 -31
  74. package/dist/chunks/{location-services-pa4f1x1m.js → worktree-6wj53xsq.js} +22 -22
  75. package/dist/chunks/{location-services-7wk8hpe3.js → worktree-72ba6k3m.js} +18 -18
  76. package/dist/chunks/{location-services-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{location-services-qnnvnzf3.js → worktree-7cp4ry1k.js} +41 -41
  78. package/dist/chunks/{location-services-w2vgcc2w.js → worktree-7d2aw3e3.js} +37 -37
  79. package/dist/chunks/{location-services-vpjfb8q2.js → worktree-7mytx01w.js} +16 -16
  80. package/dist/chunks/{location-services-xr8qdc97.js → worktree-7qj04hrz.js} +18 -18
  81. package/dist/chunks/{location-services-xazezp0p.js → worktree-7xxecjwg.js} +8 -8
  82. package/dist/chunks/{location-services-7yh4e7ss.js → worktree-7yh4e7ss.js} +1 -1
  83. package/dist/chunks/{location-services-k962g4j1.js → worktree-82fdsyf2.js} +13 -13
  84. package/dist/chunks/{location-services-q3mvmq3w.js → worktree-82x71rga.js} +8 -8
  85. package/dist/chunks/{location-services-rmy3e5eg.js → worktree-83qwmgqm.js} +3 -3
  86. package/dist/chunks/{location-services-nj1fe1jb.js → worktree-88nptzkr.js} +20 -20
  87. package/dist/chunks/{location-services-c9sjs92y.js → worktree-8wym8frv.js} +10 -10
  88. package/dist/chunks/{location-services-3cwf5791.js → worktree-8xgxcjcn.js} +11 -11
  89. package/dist/chunks/{location-services-dc2ndnks.js → worktree-9bw48xmn.js} +9 -9
  90. package/dist/chunks/{location-services-w7j7tazs.js → worktree-9f19bpvx.js} +11 -11
  91. package/dist/chunks/{location-services-k937cge0.js → worktree-9krmjq1n.js} +21 -21
  92. package/dist/chunks/{location-services-j9sb8mea.js → worktree-9mtsqb4m.js} +6 -6
  93. package/dist/chunks/{location-services-v594shb6.js → worktree-9nm8q0yy.js} +18 -18
  94. package/dist/chunks/{location-services-zj4hh745.js → worktree-9qp61pn5.js} +7 -7
  95. package/dist/chunks/{location-services-1m9gek0r.js → worktree-9xsj0av3.js} +15 -15
  96. package/dist/chunks/{location-services-0daqs9er.js → worktree-a4aqgtnw.js} +14 -14
  97. package/dist/chunks/{location-services-rvhss2m2.js → worktree-a615ws19.js} +4 -4
  98. package/dist/chunks/{location-services-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  99. package/dist/chunks/{location-services-2xa4mn5x.js → worktree-ajfqwzkq.js} +15 -15
  100. package/dist/chunks/{location-services-93aea81q.js → worktree-apj70vts.js} +24 -24
  101. package/dist/chunks/{location-services-j5208yae.js → worktree-awaee7qt.js} +6 -6
  102. package/dist/chunks/{location-services-y2e9289q.js → worktree-azf71mx9.js} +20 -20
  103. package/dist/chunks/{location-services-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{location-services-en3sh7px.js → worktree-b74frvq1.js} +19 -19
  105. package/dist/chunks/{location-services-93763nq9.js → worktree-b77can33.js} +20 -20
  106. package/dist/chunks/{location-services-b9wsbatv.js → worktree-b9wsbatv.js} +1 -1
  107. package/dist/chunks/{location-services-xexqb8q9.js → worktree-ba723ajb.js} +8 -8
  108. package/dist/chunks/{location-services-49qhf4cn.js → worktree-bd9qgwvn.js} +13 -13
  109. package/dist/chunks/{location-services-je9hks3h.js → worktree-bphmvjfp.js} +5 -5
  110. package/dist/chunks/{location-services-t7rtampj.js → worktree-bpnz08mb.js} +2 -2
  111. package/dist/chunks/{location-services-3jj6bjb6.js → worktree-br6sczns.js} +2 -2
  112. package/dist/chunks/{location-services-se8343fv.js → worktree-c0yt6e2w.js} +28 -28
  113. package/dist/chunks/{location-services-4z6b0fg6.js → worktree-c59j91nj.js} +8 -8
  114. package/dist/chunks/{location-services-1kvt7k90.js → worktree-cbg10t4h.js} +18 -18
  115. package/dist/chunks/worktree-d7f9w1x9.js +460 -0
  116. package/dist/chunks/{location-services-wcnr6rrh.js → worktree-dd7td6mt.js} +9 -9
  117. package/dist/chunks/{location-services-aa4x52zb.js → worktree-dhm81sme.js} +11 -11
  118. package/dist/chunks/{location-services-z3xgatyd.js → worktree-djtdz80w.js} +4 -4
  119. package/dist/chunks/{location-services-573b68qb.js → worktree-dy7eh092.js} +6 -6
  120. package/dist/chunks/{location-services-xre0f2nr.js → worktree-e582cycx.js} +33 -33
  121. package/dist/chunks/{location-services-pqvede48.js → worktree-e7htmvrr.js} +6 -6
  122. package/dist/chunks/{location-services-zn2pq4p8.js → worktree-eb218g19.js} +5 -5
  123. package/dist/chunks/{location-services-bxm0k6ts.js → worktree-ef2kmda9.js} +20 -20
  124. package/dist/chunks/{location-services-tmhmjagm.js → worktree-epeekzmq.js} +11 -11
  125. package/dist/chunks/{location-services-2ga4d33a.js → worktree-exz4m8c9.js} +15 -15
  126. package/dist/chunks/{location-services-ce044ptp.js → worktree-eyzja1cm.js} +2 -2
  127. package/dist/chunks/{location-services-5sg4xzjf.js → worktree-ez5b8bq3.js} +7 -7
  128. package/dist/chunks/{location-services-x24q2dv9.js → worktree-ezgsx3e1.js} +166 -166
  129. package/dist/chunks/worktree-f81tjggh.js +18 -0
  130. package/dist/chunks/{location-services-y15phd97.js → worktree-fcskq4rv.js} +25 -25
  131. package/dist/chunks/{location-services-s18jmqte.js → worktree-febnhwhd.js} +12 -12
  132. package/dist/chunks/{location-services-fgmsv21m.js → worktree-frw08ctd.js} +13 -13
  133. package/dist/chunks/{location-services-8xqt1c25.js → worktree-fvm8j7w5.js} +3 -3
  134. package/dist/chunks/{location-services-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  135. package/dist/chunks/{location-services-fxypknc8.js → worktree-fxypknc8.js} +1 -1
  136. package/dist/chunks/{location-services-8je8k5cb.js → worktree-fzdcx6zp.js} +4 -4
  137. package/dist/chunks/{location-services-y0wtxgtq.js → worktree-fzw7m29h.js} +22 -22
  138. package/dist/chunks/{location-services-g2dy4bvs.js → worktree-g2dy4bvs.js} +3 -3
  139. package/dist/chunks/{location-services-g2gt0w0k.js → worktree-g2gt0w0k.js} +2 -2
  140. package/dist/chunks/{location-services-fs6wj8at.js → worktree-g98nh968.js} +23 -23
  141. package/dist/chunks/{location-services-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{location-services-khfm06dd.js → worktree-gdr7j1bt.js} +12 -12
  143. package/dist/chunks/{location-services-954vm9zf.js → worktree-gnhsmmqn.js} +6 -6
  144. package/dist/chunks/{location-services-gjzxw37y.js → worktree-gnyxf41d.js} +39 -39
  145. package/dist/chunks/{location-services-db0m4wvs.js → worktree-gyhyqbn8.js} +13 -13
  146. package/dist/chunks/{location-services-kfgvrrfp.js → worktree-h0gzb6d0.js} +23 -23
  147. package/dist/chunks/{location-services-98nks7yx.js → worktree-h251kg4e.js} +4 -4
  148. package/dist/chunks/{location-services-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{location-services-heyhwy2w.js → worktree-heyhwy2w.js} +1 -1
  150. package/dist/chunks/{location-services-gya8g0qk.js → worktree-hfxzfzkh.js} +11 -11
  151. package/dist/chunks/{location-services-g95cjzen.js → worktree-hg85v50s.js} +12 -12
  152. package/dist/chunks/{location-services-y2cqme3r.js → worktree-hhpzk61m.js} +5 -5
  153. package/dist/chunks/{location-services-ya5ydtak.js → worktree-hphh1mqh.js} +6 -6
  154. package/dist/chunks/worktree-hseaz37p.js +22 -0
  155. package/dist/chunks/{location-services-kvsjn1dr.js → worktree-hw4pv20g.js} +2 -2
  156. package/dist/chunks/{location-services-phmx9zzk.js → worktree-hxj1ftsf.js} +41 -41
  157. package/dist/chunks/{location-services-69cg10bk.js → worktree-hzgckczr.js} +9 -9
  158. package/dist/chunks/{location-services-gvmqvecv.js → worktree-j13v3hhd.js} +32 -32
  159. package/dist/chunks/{location-services-5qd3pb7m.js → worktree-j935v87r.js} +2 -2
  160. package/dist/chunks/{location-services-z5837jq4.js → worktree-jeg1wzkm.js} +18 -18
  161. package/dist/chunks/{location-services-5wqhk4sp.js → worktree-jj24d615.js} +26 -26
  162. package/dist/chunks/{location-services-pfnbt8cc.js → worktree-jkfky8q3.js} +16 -16
  163. package/dist/chunks/{location-services-nnnj2wbt.js → worktree-jqnpg33r.js} +30 -30
  164. package/dist/chunks/{location-services-c76926jn.js → worktree-jsqeyfz7.js} +9 -9
  165. package/dist/chunks/{location-services-20s6b78b.js → worktree-jty6k06p.js} +19 -19
  166. package/dist/chunks/{location-services-jwcy2c2z.js → worktree-jwcy2c2z.js} +1 -1
  167. package/dist/chunks/worktree-k0zpnkm5.js +20 -0
  168. package/dist/chunks/{location-services-k4bwy1x5.js → worktree-k4bwy1x5.js} +1 -1
  169. package/dist/chunks/{location-services-e5b0qn1c.js → worktree-k53pxrhg.js} +1 -1
  170. package/dist/chunks/{location-services-g72d1q92.js → worktree-k8vjb6ay.js} +11 -11
  171. package/dist/chunks/{location-services-t95a6mym.js → worktree-k90gnkqs.js} +4 -4
  172. package/dist/chunks/{location-services-kg06axw8.js → worktree-kg06axw8.js} +1 -1
  173. package/dist/chunks/{location-services-kk3rr3qh.js → worktree-kk3rr3qh.js} +2 -2
  174. package/dist/chunks/{location-services-4k5rvnzr.js → worktree-krd9vv4w.js} +10 -10
  175. package/dist/chunks/{location-services-e5pek5sn.js → worktree-kwr684c7.js} +6 -6
  176. package/dist/chunks/{location-services-fvanntqq.js → worktree-kxpygcw9.js} +6 -6
  177. package/dist/chunks/{location-services-z2s7y4xn.js → worktree-m34jv9e9.js} +46 -46
  178. package/dist/chunks/{location-services-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{location-services-b7cxq2m5.js → worktree-mft52e9q.js} +26 -26
  180. package/dist/chunks/{location-services-x9qr1909.js → worktree-mfv0zw27.js} +9 -9
  181. package/dist/chunks/{location-services-5rw6je3s.js → worktree-mq9r6drf.js} +3 -3
  182. package/dist/chunks/{location-services-jyyqr7q3.js → worktree-mqsg15t4.js} +15 -15
  183. package/dist/chunks/{location-services-14hmenm3.js → worktree-myb2qgpw.js} +3 -3
  184. package/dist/chunks/{location-services-rjgrhwwz.js → worktree-mzfb76av.js} +4 -4
  185. package/dist/chunks/{location-services-m2pjqhxk.js → worktree-n2d5dyax.js} +15 -15
  186. package/dist/chunks/{location-services-c28brx2k.js → worktree-n6wnzfnt.js} +9 -9
  187. package/dist/chunks/{location-services-dedcm63c.js → worktree-n80g4jjh.js} +26 -26
  188. package/dist/chunks/{location-services-a4vmehse.js → worktree-nm4y4jx9.js} +23 -23
  189. package/dist/chunks/{location-services-ap8gxcbn.js → worktree-ntg8902r.js} +6 -6
  190. package/dist/chunks/{location-services-9ze5atdz.js → worktree-nyxcd74z.js} +68 -68
  191. package/dist/chunks/{location-services-2ame73pb.js → worktree-pgyxw42r.js} +14 -14
  192. package/dist/chunks/{location-services-5291er17.js → worktree-pjsjk0s1.js} +11 -11
  193. package/dist/chunks/{location-services-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{location-services-pknna89w.js → worktree-pknna89w.js} +1 -1
  195. package/dist/chunks/{location-services-g41n1fn3.js → worktree-pqzyja0k.js} +5 -5
  196. package/dist/chunks/{location-services-01w7s3hf.js → worktree-pr6tbts8.js} +5 -5
  197. package/dist/chunks/{location-services-m8dnhwdf.js → worktree-qgddfhsy.js} +7 -7
  198. package/dist/chunks/{location-services-0jwsre1p.js → worktree-qgn6gcr1.js} +5 -5
  199. package/dist/chunks/{location-services-nfs5s19p.js → worktree-qjzby3tx.js} +9 -9
  200. package/dist/chunks/{location-services-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  201. package/dist/chunks/{location-services-qvbcabdc.js → worktree-qvbcabdc.js} +2 -2
  202. package/dist/chunks/{location-services-hnxfn165.js → worktree-r0cn25ny.js} +20 -20
  203. package/dist/chunks/{location-services-6hydcyp0.js → worktree-r55jhpps.js} +5 -5
  204. package/dist/chunks/{location-services-86s3977f.js → worktree-r7e2cpvk.js} +1 -1
  205. package/dist/chunks/{location-services-r8dhm0tv.js → worktree-r8dhm0tv.js} +1 -1
  206. package/dist/chunks/{location-services-bexxahbt.js → worktree-r91pxxze.js} +25 -25
  207. package/dist/chunks/{location-services-n1xadze2.js → worktree-rcb0pfh8.js} +11 -11
  208. package/dist/chunks/{location-services-994b2pxg.js → worktree-rkdvqggb.js} +5 -5
  209. package/dist/chunks/{location-services-v2pza5zk.js → worktree-rpstmqvz.js} +8 -8
  210. package/dist/chunks/{location-services-hcd9bceq.js → worktree-rwbxfc60.js} +21 -21
  211. package/dist/chunks/{location-services-rxzgqjy1.js → worktree-s03q2w7f.js} +3 -3
  212. package/dist/chunks/{location-services-3sa4xpcp.js → worktree-s2w33hsx.js} +4 -4
  213. package/dist/chunks/{location-services-3vy7bm5p.js → worktree-s2wbz7a7.js} +26 -26
  214. package/dist/chunks/{location-services-tp6caa3d.js → worktree-s5cfj0pf.js} +8 -8
  215. package/dist/chunks/{location-services-6abnk40k.js → worktree-saak5ttd.js} +6 -6
  216. package/dist/chunks/{location-services-sba4qhjf.js → worktree-sba4qhjf.js} +1 -1
  217. package/dist/chunks/{location-services-30r17csp.js → worktree-sgacr2dd.js} +60 -60
  218. package/dist/chunks/{location-services-vqkewy85.js → worktree-sh04z0x8.js} +22 -22
  219. package/dist/chunks/{location-services-xqsy6kp0.js → worktree-shyhwj25.js} +1 -1
  220. package/dist/chunks/{location-services-3ts7rm59.js → worktree-srfnnwat.js} +11 -11
  221. package/dist/chunks/{location-services-mnqcpvp4.js → worktree-ss4w76s2.js} +26 -26
  222. package/dist/chunks/{location-services-knktnvd5.js → worktree-st20w98z.js} +4 -4
  223. package/dist/chunks/{location-services-hqrrhmbp.js → worktree-sxnj6n1b.js} +34 -34
  224. package/dist/chunks/{location-services-wze2vh4b.js → worktree-t00n1yfv.js} +8 -8
  225. package/dist/chunks/{location-services-tk228e24.js → worktree-t0cpcaxt.js} +86 -86
  226. package/dist/chunks/{location-services-d674kx35.js → worktree-t5kq9q4y.js} +11 -11
  227. package/dist/chunks/{location-services-m372t30b.js → worktree-t9t9eb9x.js} +46 -46
  228. package/dist/chunks/{location-services-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{location-services-czqdcwjb.js → worktree-tbvm2gay.js} +17 -17
  230. package/dist/chunks/{location-services-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{location-services-gs4rkss0.js → worktree-tewwsmf9.js} +10 -10
  232. package/dist/chunks/{location-services-9d3b2ydm.js → worktree-tj2g3x9x.js} +7 -7
  233. package/dist/chunks/{location-services-tjykrgmx.js → worktree-tjykrgmx.js} +1 -1
  234. package/dist/chunks/{location-services-7y22fjrf.js → worktree-tm94gj6d.js} +10 -10
  235. package/dist/chunks/worktree-tm9s3pka.js +247 -0
  236. package/dist/chunks/{location-services-820xmye9.js → worktree-tnpmdmt2.js} +30 -30
  237. package/dist/chunks/{location-services-1n116cmy.js → worktree-tynz9yxk.js} +9 -9
  238. package/dist/chunks/{location-services-0dv7911r.js → worktree-tz4n1mmd.js} +4 -4
  239. package/dist/chunks/{location-services-fvt5q22p.js → worktree-v158ax8c.js} +6 -6
  240. package/dist/chunks/{location-services-zmchtb2v.js → worktree-v6wn4dt1.js} +8 -8
  241. package/dist/chunks/{location-services-rj5w3mtz.js → worktree-vamyydt3.js} +4 -4
  242. package/dist/chunks/{location-services-86dyhxqj.js → worktree-vdmevm33.js} +30 -30
  243. package/dist/chunks/{location-services-045f1zrn.js → worktree-vh266f02.js} +11 -11
  244. package/dist/chunks/{location-services-w4600456.js → worktree-vkarzygt.js} +4 -4
  245. package/dist/chunks/{location-services-k4vvhz10.js → worktree-vp8eg2he.js} +14 -14
  246. package/dist/chunks/{location-services-s2vs8x71.js → worktree-vxw1g7qw.js} +44 -44
  247. package/dist/chunks/{location-services-menvx3m9.js → worktree-vz7byqd3.js} +21 -21
  248. package/dist/chunks/{location-services-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{location-services-p4671y1g.js → worktree-w3z549hn.js} +20 -20
  250. package/dist/chunks/{location-services-146cyary.js → worktree-w55dqc6b.js} +10 -10
  251. package/dist/chunks/{location-services-398r99hg.js → worktree-wa9tkh6m.js} +30 -30
  252. package/dist/chunks/{location-services-wd87259q.js → worktree-wd87259q.js} +1 -1
  253. package/dist/chunks/{location-services-x00g5gps.js → worktree-wjdvdpz4.js} +9 -9
  254. package/dist/chunks/{location-services-d41v0vs9.js → worktree-wr2vm9k3.js} +22 -22
  255. package/dist/chunks/{location-services-kpgzv4p9.js → worktree-wravm57r.js} +13 -13
  256. package/dist/chunks/{location-services-2fw09n55.js → worktree-wxq0g3qc.js} +10 -10
  257. package/dist/chunks/{location-services-dns6mj49.js → worktree-wyzw6x1k.js} +9 -9
  258. package/dist/chunks/{location-services-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{location-services-fecdhfha.js → worktree-x2fn5dq9.js} +7 -7
  260. package/dist/chunks/{location-services-p0w949fe.js → worktree-x91beaw4.js} +6 -6
  261. package/dist/chunks/{location-services-5sb2nwk1.js → worktree-xcetmb4w.js} +15 -15
  262. package/dist/chunks/{location-services-k0ya8bme.js → worktree-xdga9zy9.js} +6 -6
  263. package/dist/chunks/{location-services-7zxx2843.js → worktree-xgdpqty1.js} +24 -24
  264. package/dist/chunks/{location-services-0ez61b8c.js → worktree-xk9th9bm.js} +2 -2
  265. package/dist/chunks/{location-services-v60ecprk.js → worktree-xp0tb8fr.js} +7 -7
  266. package/dist/chunks/{location-services-ck91x8tz.js → worktree-xt6nb02x.js} +36 -36
  267. package/dist/chunks/{location-services-k0ngpa4t.js → worktree-xv1e9wvn.js} +36 -36
  268. package/dist/chunks/{location-services-5gk8tmgr.js → worktree-xwqf5sbd.js} +26 -26
  269. package/dist/chunks/{location-services-qvwjc6yp.js → worktree-y1a5hjjj.js} +11 -11
  270. package/dist/chunks/{location-services-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{location-services-hmnf0bp1.js → worktree-y6jq1b5t.js} +5 -5
  272. package/dist/chunks/{location-services-nzyds8rb.js → worktree-ye0j7x52.js} +18 -18
  273. package/dist/chunks/{location-services-0tsnwgcr.js → worktree-yfvcbk6c.js} +31 -31
  274. package/dist/chunks/{location-services-yg7sb877.js → worktree-yg7sb877.js} +2 -2
  275. package/dist/chunks/{location-services-vsr56sgz.js → worktree-yzx6gkfj.js} +3 -3
  276. package/dist/chunks/{location-services-z1k01bn4.js → worktree-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{location-services-dc0m9nfq.js → worktree-z41eree1.js} +20 -20
  278. package/dist/chunks/{location-services-29x78va6.js → worktree-z63w68vq.js} +6 -6
  279. package/dist/chunks/{location-services-n57ezdmm.js → worktree-ze98nq0k.js} +15 -15
  280. package/dist/chunks/{location-services-6k54eer5.js → worktree-zk7yqhr9.js} +43 -43
  281. package/dist/chunks/{location-services-j0ezphm2.js → worktree-zmajwbkt.js} +20 -20
  282. package/dist/chunks/{location-services-xbpts9sh.js → worktree-zsjprd1g.js} +9 -9
  283. package/dist/chunks/{location-services-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +79 -79
  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 +116 -116
  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 +117 -117
  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 +114 -114
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +114 -114
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +114 -114
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +80 -80
  316. package/dist/database/database.js +70 -70
  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 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +1 -1
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +90 -90
  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 +70 -70
  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 +220 -220
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +97 -97
  416. package/dist/filesystem/watcher-binding.js +3 -3
  417. package/dist/filesystem/watcher.js +13 -13
  418. package/dist/filesystem.js +96 -96
  419. package/dist/form.js +82 -82
  420. package/dist/formatter/builtins.js +2 -2
  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 +7 -7
  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 -349
  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 +75 -75
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +84 -84
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +80 -80
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +100 -100
  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 +7 -7
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +8 -8
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +80 -80
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +113 -113
  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 +80 -80
  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 +211 -211
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  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 +74 -74
  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 -339
  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 +6 -6
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +4 -4
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +218 -218
  545. package/dist/project/schema.js +6 -6
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +81 -81
  548. package/dist/provider.js +7 -7
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +1 -1
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +86 -86
  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 +3 -3
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +93 -93
  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 +125 -125
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +7 -7
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +215 -215
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +146 -146
  570. package/dist/session/history.js +14 -14
  571. package/dist/session/inbox.js +82 -82
  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 +2 -2
  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 +124 -124
  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 +3 -3
  586. package/dist/session/runner/llm.js +223 -223
  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 +210 -210
  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 +9 -9
  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 +106 -106
  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 +119 -119
  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 +113 -113
  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 +99 -99
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +210 -210
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +212 -212
  632. package/dist/tool/plugin/webfetch.js +104 -104
  633. package/dist/tool/plugin/websearch.js +108 -108
  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/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +5 -5
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +4 -4
  651. package/dist/v1/config/formatter.js +5 -5
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +5 -5
  654. package/dist/v1/config/mcp.js +2 -2
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +7 -7
  657. package/dist/v1/config/plugin.js +3 -3
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +82 -82
  666. package/dist/wellknown/plugin.js +74 -74
  667. package/dist/wellknown.js +79 -79
  668. package/dist/workspace/driver.js +5 -5
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +76 -76
  671. package/dist/worktree/directory.js +4 -4
  672. package/dist/worktree/git.js +7 -7
  673. package/dist/worktree/refresh.js +336 -336
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +89 -89
  676. package/package.json +7 -7
  677. package/dist/chunks/location-services-3evw0qr2.js +0 -18
  678. package/dist/chunks/location-services-61zbbsb0.js +0 -20
  679. package/dist/chunks/location-services-ah3vh4fp.js +0 -460
  680. package/dist/chunks/location-services-gr1309v5.js +0 -22
  681. package/dist/chunks/location-services-vm9h7nn7.js +0 -247
  682. /package/dist/chunks/{location-services-0fabt78z.js → worktree-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{location-services-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{location-services-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{location-services-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{location-services-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{location-services-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{location-services-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{location-services-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{location-services-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{location-services-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{location-services-3asan66x.js → worktree-3asan66x.js} +0 -0
  693. /package/dist/chunks/{location-services-3t738kvx.js → worktree-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{location-services-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{location-services-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{location-services-41nvscxy.js → worktree-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{location-services-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{location-services-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{location-services-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{location-services-53557ph1.js → worktree-53557ph1.js} +0 -0
  701. /package/dist/chunks/{location-services-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{location-services-6prwharc.js → worktree-6prwharc.js} +0 -0
  703. /package/dist/chunks/{location-services-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{location-services-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{location-services-7zk4hah4.js → worktree-7zk4hah4.js} +0 -0
  706. /package/dist/chunks/{location-services-822emrt2.js → worktree-822emrt2.js} +0 -0
  707. /package/dist/chunks/{location-services-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{location-services-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{location-services-982e01ww.js → worktree-982e01ww.js} +0 -0
  710. /package/dist/chunks/{location-services-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{location-services-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{location-services-a1tpkmh4.js → worktree-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{location-services-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{location-services-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{location-services-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{location-services-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{location-services-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{location-services-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{location-services-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{location-services-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{location-services-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{location-services-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{location-services-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{location-services-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{location-services-df08tz66.js → worktree-df08tz66.js} +0 -0
  726. /package/dist/chunks/{location-services-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{location-services-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{location-services-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{location-services-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{location-services-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{location-services-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{location-services-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{location-services-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{location-services-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{location-services-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{location-services-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{location-services-g86h250q.js → worktree-g86h250q.js} +0 -0
  738. /package/dist/chunks/{location-services-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{location-services-hk9envan.js → worktree-hk9envan.js} +0 -0
  740. /package/dist/chunks/{location-services-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{location-services-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{location-services-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{location-services-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{location-services-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{location-services-mntxs535.js → worktree-mntxs535.js} +0 -0
  746. /package/dist/chunks/{location-services-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{location-services-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{location-services-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{location-services-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{location-services-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{location-services-p8qxwesx.js → worktree-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{location-services-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{location-services-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{location-services-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{location-services-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{location-services-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{location-services-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{location-services-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{location-services-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{location-services-se0s1eqw.js → worktree-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{location-services-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{location-services-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{location-services-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{location-services-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{location-services-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{location-services-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{location-services-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{location-services-x1b8g1yb.js → worktree-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{location-services-x61499pn.js → worktree-x61499pn.js} +0 -0
  770. /package/dist/chunks/{location-services-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{location-services-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{location-services-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{location-services-z9919s4g.js → worktree-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{location-services-zbjnn3ac.js → worktree-zbjnn3ac.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
- node83
4
- } from "./location-services-3cwf5791.js";
3
+ node84
4
+ } from "./worktree-8xgxcjcn.js";
5
5
  import {
6
6
  Service76,
7
- node80
8
- } from "./location-services-kctmjn4p.js";
7
+ node81
8
+ } from "./worktree-6hwsp9rp.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./location-services-kg06axw8.js";
12
+ } from "./worktree-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./location-services-tazgh4e4.js";
17
+ } from "./worktree-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./worktree-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info10,
29
+ Info: () => Info4,
30
30
  Mode: () => Mode2,
31
- Service: () => Service47,
31
+ Service: () => Service16,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node50
33
+ node: () => node20
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode-ai/schema/file-diff";
38
38
  import { FileSystem } from "@opencode-ai/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info10, Mode as Mode2 } from "@opencode-ai/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode-ai/schema/vcs";
40
40
  import { VcsEvent } from "@opencode-ai/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service47 extends Context.Service()("@opencode/Vcs") {
48
+ class Service16 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service47, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
52
  const location = yield* Service76;
53
53
  const bus = yield* Service79;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info10));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service47.of({
118
+ return Service16.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node50 = makeLocationNode({
165
- service: Service47,
164
+ var node20 = makeLocationNode({
165
+ service: Service16,
166
166
  layer,
167
- deps: [FSUtil.node, node80, node83]
167
+ deps: [FSUtil.node, node81, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info10, Mode2, DiffError2, Service47, node50, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service16, node20, exports_vcs };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service41
3
- } from "./location-services-30r17csp.js";
2
+ Service70
3
+ } from "./worktree-sgacr2dd.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./location-services-a1tpkmh4.js";
7
+ } from "./worktree-a1tpkmh4.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./location-services-3v8g72cx.js";
10
+ } from "./worktree-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input9,
19
+ Input: () => Input12,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin27,
22
+ Plugin: () => Plugin14,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description4,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name9
27
+ name: () => name12
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name9 = "webfetch";
33
+ var name12 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input9 = Schema.Struct({
41
+ var Input12 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input9.fields.format,
51
+ format: Input12.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin27 = {
95
+ var Plugin14 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service41;
99
+ const permission = yield* Service70;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name9,
101
+ name: name12,
102
102
  options: { codemode: false },
103
- description: description4,
104
- input: Input9,
103
+ description: description5,
104
+ input: Input12,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin27 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name9,
112
+ action: name12,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin27, extractTextFromHTML2, exports_webfetch };
170
+ export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin14, extractTextFromHTML2, exports_webfetch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service38,
8
+ Service: () => Service44,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node41
10
+ node: () => node47
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
14
14
 
15
- class Service38 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service44 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service38, () => {
17
+ var layer = Layer.sync(Service44, () => {
18
18
  const environments = new Map;
19
- return Service38.of({
19
+ return Service44.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service38, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node41 = makeGlobalNode({ service: Service38, layer, deps: [] });
29
+ var node47 = makeGlobalNode({ service: Service44, layer, deps: [] });
30
30
 
31
- export { Service38, node41, exports_environment };
31
+ export { Service44, node47, exports_environment };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service55
3
- } from "./location-services-f1axbr6p.js";
2
+ Service54
3
+ } from "./worktree-3dn5hj4c.js";
4
4
  import {
5
- Service34
6
- } from "./location-services-m372t30b.js";
5
+ Service30
6
+ } from "./worktree-t9t9eb9x.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp = {};
13
- __export(exports_mcp, {
14
- ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin3,
12
+ var exports_mcp2 = {};
13
+ __export(exports_mcp2, {
14
+ ConfigMcpPlugin: () => exports_mcp2,
15
+ Plugin: () => Plugin32,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin3 = define({
20
+ var Plugin32 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service55;
28
- const mcp = yield* Service34;
27
+ const config = yield* Service54;
28
+ const mcp = yield* Service30;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin3, register2, exports_mcp };
49
+ export { Plugin32, register2, exports_mcp2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./location-services-mntxs535.js";
3
+ } from "./worktree-mntxs535.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
10
10
  __export(exports_retry, {
11
11
  SessionRunnerRetry: () => exports_retry,
12
12
  isRetryable: () => isRetryable2,
13
- make: () => make4,
13
+ make: () => make9,
14
14
  policy: () => policy2
15
15
  });
16
16
  import { Clock, Duration, Effect, Pull, Schedule } from "effect";
@@ -80,7 +80,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
80
80
  return { retry: true, attempt, delay: normalized };
81
81
  });
82
82
  });
83
- var make4 = (bus, sessionID) => Effect.gen(function* () {
83
+ var make9 = (bus, sessionID) => Effect.gen(function* () {
84
84
  const decide = yield* policy2(sessionID);
85
85
  const wait = (input) => Effect.gen(function* () {
86
86
  const scheduled = yield* Clock.currentTimeMillis;
@@ -97,4 +97,4 @@ var make4 = (bus, sessionID) => Effect.gen(function* () {
97
97
  return { decide, wait };
98
98
  });
99
99
 
100
- export { isRetryable2, policy2, make4, exports_retry };
100
+ export { isRetryable2, policy2, make9, exports_retry };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-services-p8qxwesx.js";
4
+ } from "./worktree-p8qxwesx.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./location-services-5rw6je3s.js";
7
+ } from "./worktree-mq9r6drf.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-services-p8qxwesx.js";
3
+ } from "./worktree-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-services-p8qxwesx.js";
4
+ } from "./worktree-p8qxwesx.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service78,
9
- node82
10
- } from "./location-services-k0ya8bme.js";
9
+ node83
10
+ } from "./worktree-xdga9zy9.js";
11
11
  import {
12
12
  Service76,
13
- node80
14
- } from "./location-services-kctmjn4p.js";
13
+ node81
14
+ } from "./worktree-6hwsp9rp.js";
15
15
  import {
16
16
  create3
17
- } from "./location-services-kg06axw8.js";
17
+ } from "./worktree-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./worktree-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID10,
27
- Service: () => Service60,
25
+ Error: () => Error3,
26
+ ID: () => ID5,
27
+ Service: () => Service50,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node64,
29
+ node: () => node53,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -34,18 +34,18 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode-ai/util/fs-util";
36
36
  import { Global } from "@opencode-ai/util/global";
37
- import { ID as ID10 } from "@opencode-ai/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode-ai/schema/snapshot";
38
38
  import { Hash } from "@opencode-ai/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service60 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service50 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service60, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service78;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID10.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service60.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node64 = makeLocationNode({
139
- service: Service60,
138
+ var node53 = makeLocationNode({
139
+ service: Service50,
140
140
  layer,
141
- deps: [FSUtil.node, node82, Global.node, node80]
141
+ deps: [FSUtil.node, node83, Global.node, node81]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service60, Service60.of({
143
+ var noopLayer3 = Layer.succeed(Service50, Service50.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service60, Service60.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error5 && cause.operation === operation)
152
+ if (cause instanceof Error3 && cause.operation === operation)
153
153
  return cause;
154
- return new Error5({
154
+ return new Error3({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID10, Error5, Service60, node64, noopLayer3, exports_snapshot2 };
161
+ export { ID5, Error3, Service50, node53, noopLayer3, exports_snapshot2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID18,
10
- Info: () => Info32,
9
+ ID: () => ID11,
10
+ Info: () => Info23,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
- Request: () => Request3,
13
+ Request: () => Request2,
14
14
  Settings: () => Settings2,
15
15
  aisdk: () => aisdk2,
16
16
  isAISDK: () => isAISDK2,
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
23
23
  import { Provider } from "@opencode-ai/schema/provider";
24
24
  import { isRecord } from "@opencode-ai/ai/utils/record";
25
25
  import { importModule, resolveModule } from "@opencode-ai/util/runtime-import";
26
- var ID18 = Provider.ID;
26
+ var ID11 = Provider.ID;
27
27
  var AISDK_PREFIX2 = "aisdk:";
28
28
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
29
29
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -135,9 +135,9 @@ function mergeHeaders2(base, overlay) {
135
135
  return result;
136
136
  }, new Map).values());
137
137
  }
138
- var Request3 = Provider.Request;
138
+ var Request2 = Provider.Request;
139
139
  var Settings2 = Provider.Settings;
140
- var Info32 = Provider.Info;
140
+ var Info23 = Provider.Info;
141
141
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
142
142
  const module = yield* Effect.tryPromise({
143
143
  try: () => {
@@ -159,4 +159,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
159
159
  return module;
160
160
  });
161
161
 
162
- export { ID18, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info32, exports_provider3 };
162
+ export { ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info23, exports_provider3 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
- node84
4
- } from "./location-services-qvwjc6yp.js";
3
+ node85
4
+ } from "./worktree-y1a5hjjj.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./location-services-g2gt0w0k.js";
7
+ } from "./worktree-g2gt0w0k.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID6,
17
- Info: () => Info8,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID14,
17
+ Info: () => Info27,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service43,
21
- node: () => node46
20
+ Service: () => Service71,
21
+ node: () => node76
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode-ai/schema/project";
26
26
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
28
- var ID6 = PermissionSaved.ID;
29
- var Info8 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID14 = PermissionSaved.ID;
29
+ var Info27 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service43 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service71 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service43, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
42
42
  const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID6.create(),
56
+ id: ID14.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service43.of({ list, add, remove });
65
+ return Service71.of({ list, add, remove });
66
66
  }));
67
- var node46 = makeGlobalNode({ service: Service43, layer, deps: [node84] });
67
+ var node76 = makeGlobalNode({ service: Service71, layer, deps: [node85] });
68
68
 
69
- export { ID6, Info8, ListInput5, AddInput2, Service43, node46, exports_saved };
69
+ export { ID14, Info27, ListInput4, AddInput2, Service71, node76, exports_saved };