@opencode-ai/core 0.0.0-dev-19121 → 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 (784) 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 +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{location-mutation-0h1823wr.js → worktree-07pb8kpb.js} +31 -31
  9. package/dist/chunks/{location-mutation-0e0xafbb.js → worktree-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{location-mutation-4mws4vra.js → worktree-0j3xhtmk.js} +11 -11
  11. package/dist/chunks/{location-mutation-qxj5q7gc.js → worktree-0p7j8w0y.js} +18 -18
  12. package/dist/chunks/{location-mutation-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-mutation-0s9ayhjt.js → worktree-0s9ayhjt.js} +1 -1
  14. package/dist/chunks/{location-mutation-w9xrf1e2.js → worktree-0smgnv34.js} +28 -28
  15. package/dist/chunks/{location-mutation-ve4pfa0n.js → worktree-0v53mg2y.js} +4 -4
  16. package/dist/chunks/{location-mutation-1ct4r87x.js → worktree-1ct4r87x.js} +1 -1
  17. package/dist/chunks/{location-mutation-at5d07az.js → worktree-1g7epwpd.js} +7 -7
  18. package/dist/chunks/{location-mutation-wkpm2t5g.js → worktree-1kgee81n.js} +22 -22
  19. package/dist/chunks/{location-mutation-8z5rgnjd.js → worktree-1w4xw7v2.js} +5 -5
  20. package/dist/chunks/{location-mutation-6e958v7x.js → worktree-1z80kc63.js} +8 -8
  21. package/dist/chunks/{location-mutation-pt7wq7x0.js → worktree-20f0bv4c.js} +1 -1
  22. package/dist/chunks/{location-mutation-21r38tys.js → worktree-21r38tys.js} +1 -1
  23. package/dist/chunks/{location-mutation-a8pydxdv.js → worktree-29ag4y59.js} +1 -1
  24. package/dist/chunks/{location-mutation-ae9mband.js → worktree-29j5p4n1.js} +21 -21
  25. package/dist/chunks/{location-mutation-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{location-mutation-0pdnz7ef.js → worktree-2b5y26a6.js} +22 -22
  27. package/dist/chunks/{location-mutation-xsrpbzp3.js → worktree-2fxazh8e.js} +7 -7
  28. package/dist/chunks/{location-mutation-2afxnevg.js → worktree-2gbvb2bw.js} +29 -29
  29. package/dist/chunks/{location-mutation-2ht70gj7.js → worktree-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{location-mutation-2jqmte8w.js → worktree-2jqmte8w.js} +2 -2
  31. package/dist/chunks/{location-mutation-jph4yfm0.js → worktree-2sj4fdt9.js} +13 -13
  32. package/dist/chunks/{location-mutation-jn8mbdkr.js → worktree-2y1298cj.js} +11 -11
  33. package/dist/chunks/{location-mutation-zwtzvvjx.js → worktree-2zas9gbe.js} +8 -8
  34. package/dist/chunks/{location-mutation-exqkd66q.js → worktree-31smg5a1.js} +27 -27
  35. package/dist/chunks/{location-mutation-mr8pv455.js → worktree-3c8r10gh.js} +29 -29
  36. package/dist/chunks/{location-mutation-wdq06wjp.js → worktree-3dn5hj4c.js} +42 -42
  37. package/dist/chunks/{location-mutation-gwkvhn1a.js → worktree-3evspstc.js} +33 -33
  38. package/dist/chunks/{location-mutation-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{location-mutation-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-mutation-3qzbfqsy.js → worktree-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{location-mutation-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{location-mutation-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-mutation-711hfp6y.js → worktree-3x6030n9.js} +2 -2
  44. package/dist/chunks/{location-mutation-r0msr716.js → worktree-3zhxwkvq.js} +4 -4
  45. package/dist/chunks/{location-mutation-zydyd6ns.js → worktree-42p0v5ym.js} +11 -11
  46. package/dist/chunks/{location-mutation-454k5vzh.js → worktree-454k5vzh.js} +1 -1
  47. package/dist/chunks/{location-mutation-5mhvc9ws.js → worktree-49vq2kar.js} +17 -17
  48. package/dist/chunks/{location-mutation-1ccfr7s1.js → worktree-4bprzw4y.js} +10 -10
  49. package/dist/chunks/{location-mutation-twg9q6d2.js → worktree-4g66vddf.js} +17 -17
  50. package/dist/chunks/{location-mutation-ws4s5fz4.js → worktree-4mmznj6z.js} +18 -18
  51. package/dist/chunks/{location-mutation-4r2nyarf.js → worktree-4r2nyarf.js} +1 -1
  52. package/dist/chunks/{location-mutation-5rg6taer.js → worktree-4sn8tp63.js} +51 -51
  53. package/dist/chunks/{location-mutation-sd27yh2r.js → worktree-4tmbv016.js} +5 -5
  54. package/dist/chunks/{location-mutation-5zgn512j.js → worktree-4wfsa8nd.js} +28 -28
  55. package/dist/chunks/{location-mutation-9v1bmnwj.js → worktree-4yv6mxgz.js} +13 -13
  56. package/dist/chunks/{location-mutation-2w6bfmvf.js → worktree-54pzd82t.js} +1 -1
  57. package/dist/chunks/{location-mutation-78k4jgfg.js → worktree-5cvw65fn.js} +14 -14
  58. package/dist/chunks/{location-mutation-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  59. package/dist/chunks/{location-mutation-2t2f1f7r.js → worktree-5en164k9.js} +26 -26
  60. package/dist/chunks/{location-mutation-5fmxt4p5.js → worktree-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{location-mutation-5jvc5tg2.js → worktree-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{location-mutation-gk9cwknp.js → worktree-5nma5gje.js} +80 -80
  63. package/dist/chunks/{location-mutation-zqg3qsz2.js → worktree-5nsa7yyd.js} +4 -4
  64. package/dist/chunks/{location-mutation-s9d88b2t.js → worktree-5wnwz8xt.js} +25 -25
  65. package/dist/chunks/{location-mutation-rsp2kejy.js → worktree-5xvmhwfz.js} +13 -13
  66. package/dist/chunks/{location-mutation-z954rzej.js → worktree-69rwnehh.js} +38 -38
  67. package/dist/chunks/{location-mutation-h0z9htzn.js → worktree-6et5ytx9.js} +15 -15
  68. package/dist/chunks/{location-mutation-0b89de78.js → worktree-6h5wf9jw.js} +5 -5
  69. package/dist/chunks/{location-mutation-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{location-mutation-ext0y26q.js → worktree-6hwsp9rp.js} +7 -7
  71. package/dist/chunks/{location-mutation-6tf8tr4v.js → worktree-6tf8tr4v.js} +2 -2
  72. package/dist/chunks/{location-mutation-6cb6478y.js → worktree-6v7y7cpm.js} +22 -22
  73. package/dist/chunks/{location-mutation-jdpn2m95.js → worktree-6wghtbd2.js} +34 -34
  74. package/dist/chunks/{location-mutation-bjg9h0sq.js → worktree-6wj53xsq.js} +24 -24
  75. package/dist/chunks/{location-mutation-jd8mn5p2.js → worktree-72ba6k3m.js} +18 -18
  76. package/dist/chunks/{location-mutation-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  77. package/dist/chunks/worktree-7cp4ry1k.js +287 -0
  78. package/dist/chunks/{location-mutation-xny6jqhd.js → worktree-7d2aw3e3.js} +34 -34
  79. package/dist/chunks/{location-mutation-q18qpsh3.js → worktree-7mytx01w.js} +11 -11
  80. package/dist/chunks/{location-mutation-bb7r8rxx.js → worktree-7qj04hrz.js} +18 -18
  81. package/dist/chunks/{location-mutation-y5j2xpyk.js → worktree-7xxecjwg.js} +13 -13
  82. package/dist/chunks/{location-mutation-1bbkgx8g.js → worktree-7yh4e7ss.js} +3 -3
  83. package/dist/chunks/worktree-7zk4hah4.js +4 -0
  84. package/dist/chunks/{location-mutation-gm8tpq3e.js → worktree-82fdsyf2.js} +13 -13
  85. package/dist/chunks/{location-mutation-bjjsq4aq.js → worktree-82x71rga.js} +5 -5
  86. package/dist/chunks/{location-mutation-aj7d9r5a.js → worktree-83qwmgqm.js} +3 -3
  87. package/dist/chunks/{location-mutation-nf2cw6d6.js → worktree-88nptzkr.js} +20 -20
  88. package/dist/chunks/{location-mutation-tbhbzg6j.js → worktree-8wym8frv.js} +10 -10
  89. package/dist/chunks/{location-mutation-ddbs5teb.js → worktree-8xgxcjcn.js} +9 -9
  90. package/dist/chunks/{location-mutation-prk0e8fy.js → worktree-9bw48xmn.js} +9 -9
  91. package/dist/chunks/{location-mutation-x06whm69.js → worktree-9f19bpvx.js} +11 -11
  92. package/dist/chunks/{location-mutation-mtan077r.js → worktree-9krmjq1n.js} +21 -21
  93. package/dist/chunks/{location-mutation-ms7jfr1m.js → worktree-9mtsqb4m.js} +9 -9
  94. package/dist/chunks/{location-mutation-k3wca5q4.js → worktree-9nm8q0yy.js} +19 -19
  95. package/dist/chunks/{location-mutation-babry5yc.js → worktree-9qp61pn5.js} +7 -7
  96. package/dist/chunks/{location-mutation-m2v22qsj.js → worktree-9xsj0av3.js} +15 -15
  97. package/dist/chunks/{location-mutation-v6v8agnt.js → worktree-a4aqgtnw.js} +14 -14
  98. package/dist/chunks/{location-mutation-kx2gvdct.js → worktree-a615ws19.js} +4 -4
  99. package/dist/chunks/{location-mutation-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  100. package/dist/chunks/{location-mutation-knkbq3q0.js → worktree-ajfqwzkq.js} +17 -17
  101. package/dist/chunks/{location-mutation-zt4xbacx.js → worktree-apj70vts.js} +26 -26
  102. package/dist/chunks/{location-mutation-mjncxbbh.js → worktree-awaee7qt.js} +4 -4
  103. package/dist/chunks/{location-mutation-hxsqza2t.js → worktree-azf71mx9.js} +26 -26
  104. package/dist/chunks/{location-mutation-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{location-mutation-zt4v7pfa.js → worktree-b74frvq1.js} +19 -19
  106. package/dist/chunks/{location-mutation-hp5x85jt.js → worktree-b77can33.js} +23 -23
  107. package/dist/chunks/{location-mutation-b9wsbatv.js → worktree-b9wsbatv.js} +1 -1
  108. package/dist/chunks/{location-mutation-gsegsdbx.js → worktree-ba723ajb.js} +8 -8
  109. package/dist/chunks/{location-mutation-encdknep.js → worktree-bd9qgwvn.js} +10 -10
  110. package/dist/chunks/{location-mutation-bcezcar3.js → worktree-bphmvjfp.js} +5 -5
  111. package/dist/chunks/{location-mutation-0nwt5npc.js → worktree-bpnz08mb.js} +2 -2
  112. package/dist/chunks/{location-mutation-na3y75gh.js → worktree-br6sczns.js} +5 -5
  113. package/dist/chunks/{location-mutation-zr94hr5w.js → worktree-c0yt6e2w.js} +20 -20
  114. package/dist/chunks/{location-mutation-rvb2zp0m.js → worktree-c59j91nj.js} +8 -8
  115. package/dist/chunks/{location-mutation-9jb7v9hr.js → worktree-cbg10t4h.js} +18 -18
  116. package/dist/chunks/worktree-d7f9w1x9.js +460 -0
  117. package/dist/chunks/{location-mutation-gxvh7thp.js → worktree-dd7td6mt.js} +9 -9
  118. package/dist/chunks/{location-mutation-tqaejzyn.js → worktree-dhm81sme.js} +8 -8
  119. package/dist/chunks/{location-mutation-djtdz80w.js → worktree-djtdz80w.js} +1 -1
  120. package/dist/chunks/{location-mutation-neent8sy.js → worktree-dy7eh092.js} +6 -6
  121. package/dist/chunks/{location-mutation-1qsrvesq.js → worktree-e582cycx.js} +31 -31
  122. package/dist/chunks/{location-mutation-2tp8tyg3.js → worktree-e7htmvrr.js} +6 -6
  123. package/dist/chunks/{location-mutation-zajwd6at.js → worktree-eb218g19.js} +5 -5
  124. package/dist/chunks/{location-mutation-6kwfy8hq.js → worktree-ef2kmda9.js} +33 -33
  125. package/dist/chunks/{location-mutation-0qwgmk3c.js → worktree-epeekzmq.js} +11 -11
  126. package/dist/chunks/{location-mutation-dnfpdc9a.js → worktree-exz4m8c9.js} +8 -8
  127. package/dist/chunks/{location-mutation-cn0gp01e.js → worktree-eyzja1cm.js} +2 -2
  128. package/dist/chunks/{location-mutation-ez5b8bq3.js → worktree-ez5b8bq3.js} +1 -1
  129. package/dist/chunks/{location-mutation-17cx6v33.js → worktree-ezgsx3e1.js} +173 -133
  130. package/dist/chunks/worktree-f81tjggh.js +18 -0
  131. package/dist/chunks/{location-mutation-32971pnb.js → worktree-fcskq4rv.js} +20 -20
  132. package/dist/chunks/{location-mutation-8jxcp26p.js → worktree-febnhwhd.js} +9 -9
  133. package/dist/chunks/{location-mutation-3wyb35ec.js → worktree-frw08ctd.js} +15 -15
  134. package/dist/chunks/{location-mutation-sy0cq7x8.js → worktree-fvm8j7w5.js} +3 -3
  135. package/dist/chunks/{location-mutation-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{location-mutation-fxypknc8.js → worktree-fxypknc8.js} +1 -1
  137. package/dist/chunks/{location-mutation-1bwaarmf.js → worktree-fzdcx6zp.js} +4 -4
  138. package/dist/chunks/{location-mutation-n9xwprfq.js → worktree-fzw7m29h.js} +25 -25
  139. package/dist/chunks/{location-mutation-hrvm11jt.js → worktree-g2dy4bvs.js} +3 -3
  140. package/dist/chunks/{location-mutation-d72308c8.js → worktree-g2gt0w0k.js} +2 -2
  141. package/dist/chunks/{location-mutation-ymb94r1y.js → worktree-g98nh968.js} +25 -25
  142. package/dist/chunks/{location-mutation-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{location-mutation-ecjyhxv0.js → worktree-gdr7j1bt.js} +12 -12
  144. package/dist/chunks/{location-mutation-vs15gdj7.js → worktree-gnhsmmqn.js} +6 -6
  145. package/dist/chunks/{location-mutation-kq8qk9j3.js → worktree-gnyxf41d.js} +37 -37
  146. package/dist/chunks/worktree-gyhyqbn8.js +51 -0
  147. package/dist/chunks/{location-mutation-7678e2w2.js → worktree-h0gzb6d0.js} +33 -33
  148. package/dist/chunks/{location-mutation-fy6n5twb.js → worktree-h251kg4e.js} +4 -4
  149. package/dist/chunks/{location-mutation-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{location-mutation-heyhwy2w.js → worktree-heyhwy2w.js} +1 -1
  151. package/dist/chunks/{location-mutation-ypvj0dvm.js → worktree-hfxzfzkh.js} +11 -11
  152. package/dist/chunks/{location-mutation-3mrm2hwf.js → worktree-hg85v50s.js} +12 -12
  153. package/dist/chunks/{location-mutation-93a8yfjt.js → worktree-hhpzk61m.js} +2 -2
  154. package/dist/chunks/{location-mutation-4g8dp60g.js → worktree-hphh1mqh.js} +6 -6
  155. package/dist/chunks/worktree-hseaz37p.js +22 -0
  156. package/dist/chunks/{location-mutation-kvsjn1dr.js → worktree-hw4pv20g.js} +2 -2
  157. package/dist/chunks/{location-mutation-09qfd5pw.js → worktree-hxj1ftsf.js} +43 -43
  158. package/dist/chunks/{location-mutation-j11ebv35.js → worktree-hzgckczr.js} +6 -6
  159. package/dist/chunks/{location-mutation-19teqjg6.js → worktree-j13v3hhd.js} +23 -23
  160. package/dist/chunks/{location-mutation-5qd3pb7m.js → worktree-j935v87r.js} +2 -2
  161. package/dist/chunks/{location-mutation-8m0dxkat.js → worktree-jeg1wzkm.js} +20 -20
  162. package/dist/chunks/{location-mutation-r9r233ve.js → worktree-jj24d615.js} +23 -23
  163. package/dist/chunks/{location-mutation-3gqhr4wr.js → worktree-jkfky8q3.js} +16 -16
  164. package/dist/chunks/{location-mutation-wfeyt0dq.js → worktree-jqnpg33r.js} +28 -28
  165. package/dist/chunks/{location-mutation-fztharvt.js → worktree-jsqeyfz7.js} +9 -9
  166. package/dist/chunks/{location-mutation-7seg0qzm.js → worktree-jty6k06p.js} +23 -23
  167. package/dist/chunks/{location-mutation-y71avatq.js → worktree-jwcy2c2z.js} +4 -4
  168. package/dist/chunks/{location-mutation-7fmqvqpa.js → worktree-k0zpnkm5.js} +6 -6
  169. package/dist/chunks/{location-mutation-k4bwy1x5.js → worktree-k4bwy1x5.js} +1 -1
  170. package/dist/chunks/{location-mutation-768z0hjh.js → worktree-k53pxrhg.js} +1 -1
  171. package/dist/chunks/{location-mutation-5k67w2az.js → worktree-k8vjb6ay.js} +11 -11
  172. package/dist/chunks/{location-mutation-qhkgmvvr.js → worktree-k90gnkqs.js} +4 -4
  173. package/dist/chunks/{location-mutation-kg06axw8.js → worktree-kg06axw8.js} +1 -1
  174. package/dist/chunks/{location-mutation-yfbd16n1.js → worktree-kk3rr3qh.js} +5 -5
  175. package/dist/chunks/{location-mutation-ytcv0e2y.js → worktree-krd9vv4w.js} +10 -10
  176. package/dist/chunks/{location-mutation-ttbkqz8v.js → worktree-kwr684c7.js} +8 -8
  177. package/dist/chunks/{location-mutation-efv4s0g0.js → worktree-kxpygcw9.js} +4 -4
  178. package/dist/chunks/{location-mutation-5ynzwv1w.js → worktree-m34jv9e9.js} +46 -46
  179. package/dist/chunks/{location-mutation-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{location-mutation-em9dwk44.js → worktree-mft52e9q.js} +23 -23
  181. package/dist/chunks/{location-mutation-h9k9cmfx.js → worktree-mfv0zw27.js} +9 -9
  182. package/dist/chunks/{location-mutation-5xfzsdsy.js → worktree-mq9r6drf.js} +3 -3
  183. package/dist/chunks/{location-mutation-rv6p7w22.js → worktree-mqsg15t4.js} +17 -17
  184. package/dist/chunks/{location-mutation-1hy241bm.js → worktree-myb2qgpw.js} +3 -3
  185. package/dist/chunks/{location-mutation-wfsrt4xp.js → worktree-mzfb76av.js} +4 -4
  186. package/dist/chunks/worktree-n2d5dyax.js +44 -0
  187. package/dist/chunks/{location-mutation-gfgqbam0.js → worktree-n6wnzfnt.js} +7 -7
  188. package/dist/chunks/{location-mutation-8gqsnzk6.js → worktree-n80g4jjh.js} +24 -24
  189. package/dist/chunks/{location-mutation-kxdr1kq1.js → worktree-nm4y4jx9.js} +20 -20
  190. package/dist/chunks/{location-mutation-3jz20tpy.js → worktree-ntg8902r.js} +6 -6
  191. package/dist/chunks/{location-mutation-yvbvz765.js → worktree-nyxcd74z.js} +64 -64
  192. package/dist/chunks/{location-mutation-wwyfrmf4.js → worktree-pgyxw42r.js} +17 -17
  193. package/dist/chunks/{location-mutation-bemx5yka.js → worktree-pjsjk0s1.js} +8 -8
  194. package/dist/chunks/{location-mutation-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{location-mutation-pknna89w.js → worktree-pknna89w.js} +1 -1
  196. package/dist/chunks/{location-mutation-d1a1bt21.js → worktree-pqzyja0k.js} +5 -5
  197. package/dist/chunks/{location-mutation-01w7s3hf.js → worktree-pr6tbts8.js} +5 -5
  198. package/dist/chunks/{location-mutation-ekhhj8pe.js → worktree-qgddfhsy.js} +7 -7
  199. package/dist/chunks/{location-mutation-7dqw4kz8.js → worktree-qgn6gcr1.js} +5 -5
  200. package/dist/chunks/{location-mutation-rnsf690d.js → worktree-qjzby3tx.js} +9 -9
  201. package/dist/chunks/{location-mutation-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  202. package/dist/chunks/{location-mutation-9qm9egsn.js → worktree-qvbcabdc.js} +2 -2
  203. package/dist/chunks/{location-mutation-y3epb4cg.js → worktree-r0cn25ny.js} +20 -20
  204. package/dist/chunks/{location-mutation-fyfx3mdb.js → worktree-r55jhpps.js} +5 -5
  205. package/dist/chunks/{location-mutation-qs4avvkb.js → worktree-r7e2cpvk.js} +1 -1
  206. package/dist/chunks/{location-mutation-r8dhm0tv.js → worktree-r8dhm0tv.js} +1 -1
  207. package/dist/chunks/{location-mutation-h0rsqts8.js → worktree-r91pxxze.js} +25 -25
  208. package/dist/chunks/{location-mutation-5n6tmmp5.js → worktree-rcb0pfh8.js} +11 -11
  209. package/dist/chunks/{location-mutation-sykc9y4a.js → worktree-rkdvqggb.js} +5 -5
  210. package/dist/chunks/{location-mutation-1h561g3c.js → worktree-rpstmqvz.js} +4 -4
  211. package/dist/chunks/{location-mutation-vbtnabzj.js → worktree-rwbxfc60.js} +21 -21
  212. package/dist/chunks/{location-mutation-6tkeq6mm.js → worktree-s03q2w7f.js} +3 -3
  213. package/dist/chunks/{location-mutation-db0e37wd.js → worktree-s2w33hsx.js} +4 -4
  214. package/dist/chunks/{location-mutation-xamd2zft.js → worktree-s2wbz7a7.js} +17 -17
  215. package/dist/chunks/{location-mutation-827gjf98.js → worktree-s5cfj0pf.js} +11 -11
  216. package/dist/chunks/{location-mutation-6z5bwd8g.js → worktree-saak5ttd.js} +6 -6
  217. package/dist/chunks/{location-mutation-sba4qhjf.js → worktree-sba4qhjf.js} +1 -1
  218. package/dist/chunks/{location-mutation-msb8yzxf.js → worktree-sgacr2dd.js} +50 -50
  219. package/dist/chunks/{location-mutation-737r5hhq.js → worktree-sh04z0x8.js} +21 -21
  220. package/dist/chunks/{location-mutation-jnmmvqjs.js → worktree-shyhwj25.js} +1 -1
  221. package/dist/chunks/{location-mutation-cxtts8e7.js → worktree-srfnnwat.js} +11 -11
  222. package/dist/chunks/{location-mutation-nrznasy4.js → worktree-ss4w76s2.js} +23 -23
  223. package/dist/chunks/{location-mutation-vy6tdsmf.js → worktree-st20w98z.js} +4 -4
  224. package/dist/chunks/{location-mutation-wj1cs9x4.js → worktree-sxnj6n1b.js} +34 -34
  225. package/dist/chunks/{location-mutation-69wmbgv2.js → worktree-t00n1yfv.js} +8 -8
  226. package/dist/chunks/{location-mutation-6jv2bj4v.js → worktree-t0cpcaxt.js} +81 -81
  227. package/dist/chunks/{location-mutation-k0h1cen8.js → worktree-t5kq9q4y.js} +5 -5
  228. package/dist/chunks/{location-mutation-xc28r99p.js → worktree-t9t9eb9x.js} +39 -39
  229. package/dist/chunks/{location-mutation-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{location-mutation-eepzdbxz.js → worktree-tbvm2gay.js} +17 -17
  231. package/dist/chunks/{location-mutation-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{location-mutation-bcq4t5vj.js → worktree-tewwsmf9.js} +10 -10
  233. package/dist/chunks/{location-mutation-nfjw82t9.js → worktree-tj2g3x9x.js} +7 -7
  234. package/dist/chunks/{location-mutation-tjykrgmx.js → worktree-tjykrgmx.js} +1 -1
  235. package/dist/chunks/{location-mutation-jes6det3.js → worktree-tm94gj6d.js} +10 -10
  236. package/dist/chunks/worktree-tm9s3pka.js +247 -0
  237. package/dist/chunks/{location-mutation-9aw4ndah.js → worktree-tnpmdmt2.js} +29 -29
  238. package/dist/chunks/{location-mutation-m1peg48k.js → worktree-tynz9yxk.js} +9 -9
  239. package/dist/chunks/{location-mutation-0dv7911r.js → worktree-tz4n1mmd.js} +4 -4
  240. package/dist/chunks/{location-mutation-fpq4fbkk.js → worktree-v158ax8c.js} +4 -4
  241. package/dist/chunks/{location-mutation-fhx1q6kw.js → worktree-v6wn4dt1.js} +8 -8
  242. package/dist/chunks/{location-mutation-geemq6eh.js → worktree-vamyydt3.js} +4 -4
  243. package/dist/chunks/{location-mutation-f608tw31.js → worktree-vdmevm33.js} +15 -15
  244. package/dist/chunks/{location-mutation-wj7y60vs.js → worktree-vh266f02.js} +10 -10
  245. package/dist/chunks/{location-mutation-0rag4e4f.js → worktree-vkarzygt.js} +4 -4
  246. package/dist/chunks/{location-mutation-zrg626nr.js → worktree-vp8eg2he.js} +12 -12
  247. package/dist/chunks/{location-mutation-q3bvm35g.js → worktree-vxw1g7qw.js} +44 -44
  248. package/dist/chunks/{location-mutation-x5www9fj.js → worktree-vz7byqd3.js} +19 -19
  249. package/dist/chunks/{location-mutation-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{location-mutation-c5d63h90.js → worktree-w3z549hn.js} +19 -19
  251. package/dist/chunks/{location-mutation-yemf1k0t.js → worktree-w55dqc6b.js} +10 -10
  252. package/dist/chunks/{location-mutation-n9ppk6dm.js → worktree-wa9tkh6m.js} +30 -30
  253. package/dist/chunks/{location-mutation-wd87259q.js → worktree-wd87259q.js} +1 -1
  254. package/dist/chunks/{location-mutation-rnkmxyqk.js → worktree-wjdvdpz4.js} +9 -9
  255. package/dist/chunks/{location-mutation-rcy6hjed.js → worktree-wr2vm9k3.js} +25 -24
  256. package/dist/chunks/{location-mutation-crrrqmng.js → worktree-wravm57r.js} +13 -13
  257. package/dist/chunks/{location-mutation-n6m3vdqa.js → worktree-wxq0g3qc.js} +5 -5
  258. package/dist/chunks/{location-mutation-psw3c1gx.js → worktree-wyzw6x1k.js} +9 -9
  259. package/dist/chunks/{location-mutation-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{location-mutation-tkk8z58j.js → worktree-x2fn5dq9.js} +7 -7
  261. package/dist/chunks/{location-mutation-nfe1n4jc.js → worktree-x91beaw4.js} +6 -6
  262. package/dist/chunks/{location-mutation-gq5pjjs5.js → worktree-xcetmb4w.js} +13 -13
  263. package/dist/chunks/{location-mutation-7xfsdta4.js → worktree-xdga9zy9.js} +18 -18
  264. package/dist/chunks/{location-mutation-qk5jqvf6.js → worktree-xgdpqty1.js} +25 -25
  265. package/dist/chunks/{location-mutation-e1hrx4vk.js → worktree-xk9th9bm.js} +2 -2
  266. package/dist/chunks/{location-mutation-tppvcy65.js → worktree-xp0tb8fr.js} +2 -2
  267. package/dist/chunks/{location-mutation-ar6zppax.js → worktree-xt6nb02x.js} +32 -32
  268. package/dist/chunks/{location-mutation-0sk6av0w.js → worktree-xv1e9wvn.js} +32 -32
  269. package/dist/chunks/{location-mutation-hqkh5ptn.js → worktree-xwqf5sbd.js} +22 -22
  270. package/dist/chunks/{location-mutation-d3vxtdrv.js → worktree-y1a5hjjj.js} +6 -6
  271. package/dist/chunks/{location-mutation-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{location-mutation-yq6h1dyd.js → worktree-y6jq1b5t.js} +5 -5
  273. package/dist/chunks/{location-mutation-n7z8rwmy.js → worktree-ye0j7x52.js} +18 -18
  274. package/dist/chunks/{location-mutation-tkb3hcz3.js → worktree-yfvcbk6c.js} +20 -20
  275. package/dist/chunks/{location-mutation-ajtjthsy.js → worktree-yg7sb877.js} +2 -2
  276. package/dist/chunks/{location-mutation-yj3e99fm.js → worktree-yzx6gkfj.js} +1 -1
  277. package/dist/chunks/{location-mutation-z1k01bn4.js → worktree-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{location-mutation-gcegv8bm.js → worktree-z41eree1.js} +20 -20
  279. package/dist/chunks/{location-mutation-29x78va6.js → worktree-z63w68vq.js} +6 -6
  280. package/dist/chunks/{location-mutation-9r2wxtzb.js → worktree-ze98nq0k.js} +12 -12
  281. package/dist/chunks/{location-mutation-eyn7heyk.js → worktree-zk7yqhr9.js} +43 -43
  282. package/dist/chunks/{location-mutation-nyrmy1z6.js → worktree-zmajwbkt.js} +17 -17
  283. package/dist/chunks/{location-mutation-x0mkew1p.js → worktree-zsjprd1g.js} +9 -9
  284. package/dist/chunks/{location-mutation-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +114 -114
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +116 -116
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +115 -115
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +114 -114
  311. package/dist/config/plugin/worktree.js +122 -0
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +82 -82
  317. package/dist/database/database.js +66 -66
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +356 -354
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +3 -3
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +88 -88
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +70 -70
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +220 -217
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +100 -100
  420. package/dist/form.js +78 -78
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +92 -92
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +349 -347
  449. package/dist/instruction-discovery.js +79 -79
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +79 -79
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +82 -82
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +79 -79
  460. package/dist/location-services.js +346 -344
  461. package/dist/location.js +78 -78
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +100 -100
  464. package/dist/mcp/instructions.js +118 -118
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +7 -7
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +107 -107
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +93 -93
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +213 -210
  485. package/dist/plugin/instance.js +3 -3
  486. package/dist/plugin/internal.js +320 -316
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +2 -2
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +72 -72
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +337 -333
  533. package/dist/plugin/system-prompt.js +1 -1
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +5 -5
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +218 -215
  546. package/dist/project/schema.js +2 -2
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +77 -77
  549. package/dist/provider.js +7 -7
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +94 -94
  554. package/dist/reference/instructions.js +80 -80
  555. package/dist/reference.js +80 -80
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +93 -93
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +5 -5
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +215 -215
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +146 -146
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +4 -4
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +108 -108
  580. package/dist/session/model-transport.js +5 -5
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +1 -1
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -220
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +167 -167
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +210 -210
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +207 -207
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +11 -11
  613. package/dist/shell.js +130 -130
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +99 -99
  616. package/dist/skill.js +104 -104
  617. package/dist/snapshot.js +84 -84
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +117 -117
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +210 -210
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +210 -210
  633. package/dist/tool/plugin/webfetch.js +106 -106
  634. package/dist/tool/plugin/websearch.js +102 -102
  635. package/dist/tool/plugin/write.js +110 -110
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +15 -15
  640. package/dist/types/config/plugin/worktree.d.ts +6 -0
  641. package/dist/types/instance.d.ts +2 -1
  642. package/dist/types/plugin/host.d.ts +3 -2
  643. package/dist/types/plugin/internal.d.ts +3 -2
  644. package/dist/types/project/sql.d.ts +1 -1
  645. package/dist/types/v1/config/migrate.d.ts +3 -0
  646. package/dist/types/worktree/git.d.ts +1 -1
  647. package/dist/types/worktree/refresh.d.ts +2 -0
  648. package/dist/types/worktree.d.ts +22 -36
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +78 -78
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +77 -77
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +343 -0
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +97 -102
  686. package/package.json +7 -7
  687. package/dist/chunks/location-mutation-35chk74t.js +0 -4
  688. package/dist/chunks/location-mutation-4v7qdvcn.js +0 -18
  689. package/dist/chunks/location-mutation-62ya9kgq.js +0 -243
  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 → worktree-0fabt78z.js} +0 -0
  694. /package/dist/chunks/{location-mutation-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{location-mutation-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{location-mutation-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{location-mutation-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{location-mutation-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{location-mutation-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{location-mutation-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{location-mutation-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{location-mutation-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{location-mutation-3asan66x.js → worktree-3asan66x.js} +0 -0
  704. /package/dist/chunks/{location-mutation-3t738kvx.js → worktree-3t738kvx.js} +0 -0
  705. /package/dist/chunks/{location-mutation-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{location-mutation-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{location-mutation-41nvscxy.js → worktree-41nvscxy.js} +0 -0
  708. /package/dist/chunks/{location-mutation-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{location-mutation-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{location-mutation-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{location-mutation-53557ph1.js → worktree-53557ph1.js} +0 -0
  712. /package/dist/chunks/{location-mutation-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{location-mutation-6prwharc.js → worktree-6prwharc.js} +0 -0
  714. /package/dist/chunks/{location-mutation-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{location-mutation-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{location-mutation-822emrt2.js → worktree-822emrt2.js} +0 -0
  717. /package/dist/chunks/{location-mutation-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{location-mutation-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{location-mutation-982e01ww.js → worktree-982e01ww.js} +0 -0
  720. /package/dist/chunks/{location-mutation-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{location-mutation-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{location-mutation-a1tpkmh4.js → worktree-a1tpkmh4.js} +0 -0
  723. /package/dist/chunks/{location-mutation-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{location-mutation-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{location-mutation-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{location-mutation-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{location-mutation-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{location-mutation-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{location-mutation-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{location-mutation-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{location-mutation-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{location-mutation-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{location-mutation-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{location-mutation-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{location-mutation-df08tz66.js → worktree-df08tz66.js} +0 -0
  736. /package/dist/chunks/{location-mutation-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{location-mutation-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{location-mutation-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{location-mutation-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{location-mutation-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{location-mutation-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{location-mutation-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{location-mutation-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{location-mutation-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{location-mutation-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{location-mutation-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{location-mutation-g86h250q.js → worktree-g86h250q.js} +0 -0
  748. /package/dist/chunks/{location-mutation-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{location-mutation-hk9envan.js → worktree-hk9envan.js} +0 -0
  750. /package/dist/chunks/{location-mutation-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{location-mutation-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{location-mutation-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{location-mutation-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{location-mutation-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{location-mutation-mntxs535.js → worktree-mntxs535.js} +0 -0
  756. /package/dist/chunks/{location-mutation-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{location-mutation-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{location-mutation-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{location-mutation-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{location-mutation-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{location-mutation-p8qxwesx.js → worktree-p8qxwesx.js} +0 -0
  762. /package/dist/chunks/{location-mutation-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{location-mutation-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{location-mutation-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{location-mutation-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{location-mutation-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{location-mutation-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{location-mutation-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{location-mutation-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{location-mutation-se0s1eqw.js → worktree-se0s1eqw.js} +0 -0
  771. /package/dist/chunks/{location-mutation-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{location-mutation-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{location-mutation-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{location-mutation-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{location-mutation-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{location-mutation-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{location-mutation-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{location-mutation-x1b8g1yb.js → worktree-x1b8g1yb.js} +0 -0
  779. /package/dist/chunks/{location-mutation-x61499pn.js → worktree-x61499pn.js} +0 -0
  780. /package/dist/chunks/{location-mutation-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{location-mutation-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{location-mutation-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{location-mutation-z9919s4g.js → worktree-z9919s4g.js} +0 -0
  784. /package/dist/chunks/{location-mutation-zbjnn3ac.js → worktree-zbjnn3ac.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-mutation-p8qxwesx.js";
3
+ } from "./worktree-p8qxwesx.js";
4
4
  import {
5
5
  Action2
6
- } from "./location-mutation-nf2cw6d6.js";
6
+ } from "./worktree-88nptzkr.js";
7
7
  import {
8
- Info19
9
- } from "./location-mutation-827gjf98.js";
8
+ Info10
9
+ } from "./worktree-s5cfj0pf.js";
10
10
  import {
11
- Info23
12
- } from "./location-mutation-0b89de78.js";
11
+ Info18
12
+ } from "./worktree-6h5wf9jw.js";
13
13
  import {
14
- Info24
15
- } from "./location-mutation-at5d07az.js";
14
+ Info16
15
+ } from "./worktree-1g7epwpd.js";
16
16
  import {
17
- Info21
18
- } from "./location-mutation-na3y75gh.js";
17
+ Info17
18
+ } from "./worktree-br6sczns.js";
19
19
  import {
20
20
  Spec2
21
- } from "./location-mutation-7dqw4kz8.js";
21
+ } from "./worktree-qgn6gcr1.js";
22
22
  import {
23
- Info20
24
- } from "./location-mutation-01w7s3hf.js";
23
+ Info12
24
+ } from "./worktree-pr6tbts8.js";
25
25
  import {
26
- Info17
27
- } from "./location-mutation-09qfd5pw.js";
26
+ Info9
27
+ } from "./worktree-hxj1ftsf.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./location-mutation-fy6n5twb.js";
36
+ } from "./worktree-h251kg4e.js";
37
37
  import {
38
38
  __export
39
- } from "./location-mutation-9rqn6x4v.js";
39
+ } from "./worktree-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info17.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info23, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info24, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -164,6 +164,7 @@ function normalize2(input) {
164
164
  media: Info.fields.media,
165
165
  tool_output: Info.fields.tool_output,
166
166
  websearch: Info.fields.websearch,
167
+ worktree: Info.fields.worktree,
167
168
  warming: Info.fields.warming
168
169
  };
169
170
  Object.entries(nativeAtomic).forEach(([key, schema]) => {
@@ -224,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
224
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
225
226
  return;
226
227
  }
227
- const server = decodeValue(Info21, value, path, diagnostics);
228
+ const server = decodeValue(Info17, value, path, diagnostics);
228
229
  if (server !== undefined)
229
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
230
231
  });
@@ -420,7 +421,7 @@ function migrateProviders(value, diagnostics) {
420
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
421
422
  if (invalidProviderOverlays(raw, path, diagnostics))
422
423
  return [];
423
- const provider = decodeValue(Info20, raw, path, diagnostics);
424
+ const provider = decodeValue(Info12, raw, path, diagnostics);
424
425
  if (provider === undefined)
425
426
  return [];
426
427
  const destination = providerID2(name);
@@ -2,27 +2,27 @@ import {
2
2
  VariantUnavailableError3,
3
3
  UnsupportedPackageError3,
4
4
  UnresolvedProviderVariablesError3,
5
- Service57,
6
- node60
7
- } from "./location-mutation-xny6jqhd.js";
5
+ Service48,
6
+ node51
7
+ } from "./worktree-7d2aw3e3.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./location-mutation-5xfzsdsy.js";
10
+ } from "./worktree-mq9r6drf.js";
11
11
  import {
12
12
  __export
13
- } from "./location-mutation-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/session/runner/model.ts
16
16
  var exports_model = {};
17
17
  __export(exports_model, {
18
18
  ModelNotSelectedError: () => ModelNotSelectedError2,
19
19
  ModelUnavailableError: () => ModelUnavailableError2,
20
- Service: () => Service34,
20
+ Service: () => Service36,
21
21
  SessionRunnerModel: () => exports_model,
22
22
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
23
23
  UnsupportedPackageError: () => UnsupportedPackageError2,
24
24
  VariantUnavailableError: () => VariantUnavailableError2,
25
- node: () => node36,
25
+ node: () => node40,
26
26
  resolved: () => resolved2
27
27
  });
28
28
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -48,7 +48,7 @@ var VariantUnavailableError2 = VariantUnavailableError3;
48
48
  var UnsupportedPackageError2 = UnsupportedPackageError3;
49
49
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
50
50
 
51
- class Service34 extends Context.Service()("@opencode/SessionRunnerModel") {
51
+ class Service36 extends Context.Service()("@opencode/SessionRunnerModel") {
52
52
  }
53
53
  var resolved2 = (model, options) => ({
54
54
  model,
@@ -61,9 +61,9 @@ var resolved2 = (model, options) => ({
61
61
  cost: options.cost,
62
62
  limit: options.limit
63
63
  });
64
- var layer = Layer.effect(Service34, Effect.gen(function* () {
65
- const resolver = yield* Service57;
66
- return Service34.of({
64
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
65
+ const resolver = yield* Service48;
66
+ return Service36.of({
67
67
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
68
68
  if (!session.model) {
69
69
  const resolved = yield* resolver.resolve();
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node36 = makeLocationNode({ service: Service34, layer, deps: [node60] });
84
+ var node40 = makeLocationNode({ service: Service36, layer, deps: [node51] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service34, resolved2, node36, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service36, resolved2, node40, exports_model };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Ref4
3
- } from "./location-mutation-ext0y26q.js";
3
+ } from "./worktree-6hwsp9rp.js";
4
4
  import {
5
5
  __export
6
- } from "./location-mutation-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
@@ -11,7 +11,7 @@ __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
12
  Service: () => Service75,
13
13
  canonical: () => canonical3,
14
- node: () => node79
14
+ node: () => node80
15
15
  });
16
16
  import { Context, Effect, Layer } from "effect";
17
17
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
@@ -23,7 +23,7 @@ class Service75 extends Context.Service()("@opencode/example/LocationServiceMap"
23
23
  return Layer.unwrap(Effect.map(Service75, (locations) => locations.get(ref)));
24
24
  }
25
25
  }
26
- var node79 = LayerNode.unbound(Service75, Node.tags.values.global);
26
+ var node80 = LayerNode.unbound(Service75, Node.tags.values.global);
27
27
  function canonical3(ref) {
28
28
  return Ref4.make({
29
29
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
@@ -31,4 +31,4 @@ function canonical3(ref) {
31
31
  });
32
32
  }
33
33
 
34
- export { Service75, node79, canonical3, exports_location_service_map };
34
+ export { Service75, node80, canonical3, exports_location_service_map };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./location-mutation-kg06axw8.js";
3
+ } from "./worktree-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./location-mutation-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service69,
14
+ Service: () => Service63,
15
15
  SizeError: () => SizeError2,
16
- node: () => node73
16
+ node: () => node68
17
17
  });
18
18
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service69 extends Context.Service()("@opencode/Image") {
45
+ class Service63 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service69, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service69.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service63.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node73 = makeLocationNode({ service: Service69, layer, deps: [] });
79
+ var node68 = makeLocationNode({ service: Service63, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service69, node73, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service63, node68, exports_image2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-mutation-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./location-mutation-rvb2zp0m.js";
3
+ } from "./worktree-c59j91nj.js";
4
4
  import {
5
- Service59
6
- } from "./location-mutation-em9dwk44.js";
5
+ Service49
6
+ } from "./worktree-mft52e9q.js";
7
7
  import {
8
- Service70
9
- } from "./location-mutation-wdq06wjp.js";
8
+ Service54
9
+ } from "./worktree-3dn5hj4c.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service59;
14
+ const catalog = yield* Service49;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service70);
16
+ const service = yield* Effect.serviceOption(Service54);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./location-mutation-5daktx2q.js";
3
+ } from "./worktree-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-mutation-p8qxwesx.js";
6
+ } from "./worktree-p8qxwesx.js";
7
7
  import {
8
- ID5,
8
+ ID12,
9
9
  Name2
10
- } from "./location-mutation-8gqsnzk6.js";
10
+ } from "./worktree-n80g4jjh.js";
11
11
  import {
12
12
  __export
13
- } from "./location-mutation-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
57
57
  return {
58
58
  _tag: "Parsed",
59
59
  skill: {
60
- id: ID5.make(id),
60
+ id: ID12.make(id),
61
61
  name: Name2.make(frontmatter.name ?? id),
62
62
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
63
63
  ...slash === undefined ? {} : { slash },
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service39,
3
- node41
4
- } from "./location-mutation-ae9mband.js";
2
+ Service38,
3
+ node42
4
+ } from "./worktree-29j5p4n1.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make19,
8
+ make20,
9
9
  diffByKey2
10
- } from "./location-mutation-6e958v7x.js";
10
+ } from "./worktree-1z80kc63.js";
11
11
  import {
12
12
  __export
13
- } from "./location-mutation-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions4 = {};
17
17
  __export(exports_instructions4, {
18
18
  ReferenceInstructions: () => exports_instructions4,
19
19
  Service: () => Service31,
20
- node: () => node33
20
+ node: () => node35
21
21
  });
22
22
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -60,7 +60,7 @@ var update = (previous, current) => {
60
60
  class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
62
  var layer = Layer.effect(Service31, Effect.gen(function* () {
63
- const references = yield* Service39;
63
+ const references = yield* Service38;
64
64
  return Service31.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
@@ -68,8 +68,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make19({
72
- key: Key3.make("core/reference-guidance"),
71
+ return make20({
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node33 = makeLocationNode({ service: Service31, layer, deps: [node41] });
84
+ var node35 = makeLocationNode({ service: Service31, layer, deps: [node42] });
85
85
 
86
- export { Service31, node33, exports_instructions4 };
86
+ export { Service31, node35, exports_instructions4 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-mutation-p8qxwesx.js";
4
+ } from "./worktree-p8qxwesx.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-mutation-y71avatq.js";
7
+ } from "./worktree-jwcy2c2z.js";
8
8
  import {
9
9
  __export
10
- } from "./location-mutation-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
14
14
  __export(exports_git3, {
15
15
  Git: () => exports_git3,
16
- OperationError: () => OperationError2,
16
+ OperationError: () => OperationError3,
17
17
  Repository: () => Repository2,
18
18
  Service: () => Service78,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node82
22
+ node: () => node83
23
23
  });
24
24
  import path from "path";
25
25
  import { Context, Effect, Layer, Schema } from "effect";
@@ -51,7 +51,7 @@ var snapshotConfig = `[core]
51
51
  `;
52
52
  var TreeID2 = Schema.String.pipe(Schema.brand("Git.TreeID"));
53
53
 
54
- class OperationError2 extends Schema.TaggedError()("Git.OperationError", {
54
+ class OperationError3 extends Schema.TaggedError()("Git.OperationError", {
55
55
  operation: Schema.Literals([
56
56
  "clone",
57
57
  "fetch",
@@ -141,10 +141,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
141
141
  return result.text.trim().replace(new RegExp(`^refs/remotes/${remoteName}/`), "") || undefined;
142
142
  });
143
143
  const operation = Effect.fnUntraced(function* (operation, directory, args) {
144
- const result = yield* execute(directory, proc, args).pipe(Effect.mapError((cause) => new OperationError2({ operation, directory, message: cause.message, cause })));
144
+ const result = yield* execute(directory, proc, args).pipe(Effect.mapError((cause) => new OperationError3({ operation, directory, message: cause.message, cause })));
145
145
  if (result.exitCode === 0)
146
146
  return;
147
- return yield* new OperationError2({
147
+ return yield* new OperationError3({
148
148
  operation,
149
149
  directory,
150
150
  message: result.stderr.trim() || result.text.trim() || `Git ${operation} failed`
@@ -163,7 +163,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
163
163
  const repository = yield* discover(input.directory);
164
164
  if (repository)
165
165
  return repository;
166
- return yield* new OperationError2({
166
+ return yield* new OperationError3({
167
167
  operation: "clone",
168
168
  directory: input.directory,
169
169
  message: "Cloned repository could not be opened"
@@ -199,7 +199,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
199
199
  cwd: repository.worktree,
200
200
  env: options?.env,
201
201
  extendEnv: true
202
- }), { stdin: options?.stdin }).pipe(Effect.mapError((cause) => new OperationError2({
202
+ }), { stdin: options?.stdin }).pipe(Effect.mapError((cause) => new OperationError3({
203
203
  operation: operationName,
204
204
  directory: repository.worktree,
205
205
  message: cause.message,
@@ -208,14 +208,14 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
208
208
  const text = result.stdout.toString("utf8");
209
209
  if (result.exitCode === 0)
210
210
  return { text, stderr: result.stderr.toString("utf8") };
211
- return yield* new OperationError2({
211
+ return yield* new OperationError3({
212
212
  operation: operationName,
213
213
  directory: repository.worktree,
214
214
  message: result.stderr.toString("utf8").trim() || text.trim() || `Git ${operationName} failed`
215
215
  });
216
216
  });
217
217
  const create = Effect.fn("Git.repo.create")(function* (input) {
218
- const operationError = (message) => (cause) => new OperationError2({ operation: "create", directory: input.gitDirectory, message, cause });
218
+ const operationError = (message) => (cause) => new OperationError3({ operation: "create", directory: input.gitDirectory, message, cause });
219
219
  yield* fs.ensureDir(input.gitDirectory).pipe(Effect.mapError(operationError("Failed to create Git storage")));
220
220
  const repository = new Repository2({
221
221
  worktree: input.worktree,
@@ -274,14 +274,14 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
274
274
  const result = yield* proc.run(ChildProcess.make("git", repositoryArgs(input.repository, ["check-ignore", "--no-index", "--stdin", "-z"]), {
275
275
  cwd: input.repository.worktree,
276
276
  extendEnv: true
277
- }), { stdin: input.paths.join("\x00") + "\x00" }).pipe(Effect.mapError((cause) => new OperationError2({
277
+ }), { stdin: input.paths.join("\x00") + "\x00" }).pipe(Effect.mapError((cause) => new OperationError3({
278
278
  operation: "list_files",
279
279
  directory: input.repository.worktree,
280
280
  message: cause.message,
281
281
  cause
282
282
  })));
283
283
  if (result.exitCode !== 0 && result.exitCode !== 1)
284
- return yield* new OperationError2({
284
+ return yield* new OperationError3({
285
285
  operation: "list_files",
286
286
  directory: input.repository.worktree,
287
287
  message: result.stderr.toString("utf8").trim() || "Failed to check ignored paths"
@@ -357,7 +357,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
357
357
  if (!text)
358
358
  return false;
359
359
  if (!/^\d+\s+\w+\s+[0-9a-f]+\t/.test(text))
360
- return yield* new OperationError2({
360
+ return yield* new OperationError3({
361
361
  operation: "restore",
362
362
  directory: repository.worktree,
363
363
  message: `Invalid tree entry for ${file}`
@@ -369,7 +369,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
369
369
  yield* repositoryOperation("restore", input.repository, ["checkout", tree, "--", file]);
370
370
  return;
371
371
  }
372
- yield* fs.remove(path.join(input.repository.worktree, file), { recursive: true, force: true }).pipe(Effect.mapError((cause) => new OperationError2({
372
+ yield* fs.remove(path.join(input.repository.worktree, file), { recursive: true, force: true }).pipe(Effect.mapError((cause) => new OperationError3({
373
373
  operation: "restore",
374
374
  directory: input.repository.worktree,
375
375
  message: `Failed to remove ${file}`,
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node82 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError2, Worktree2, WorktreeError2, Service78, node82, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./location-mutation-3t738kvx.js";
7
+ } from "./worktree-3t738kvx.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./location-mutation-6tf8tr4v.js";
11
+ } from "./worktree-6tf8tr4v.js";
12
12
  import {
13
13
  create3
14
- } from "./location-mutation-kg06axw8.js";
14
+ } from "./worktree-kg06axw8.js";
15
15
  import {
16
- Service69,
17
- node73
18
- } from "./location-mutation-psw3c1gx.js";
16
+ Service63,
17
+ node68
18
+ } from "./worktree-wyzw6x1k.js";
19
19
  import {
20
- Service67,
21
- node70
22
- } from "./location-mutation-69wmbgv2.js";
20
+ Service74,
21
+ node79
22
+ } from "./worktree-t00n1yfv.js";
23
23
  import {
24
24
  match2
25
- } from "./location-mutation-y1fvbwt7.js";
25
+ } from "./worktree-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./location-mutation-9rqn6x4v.js";
28
+ } from "./worktree-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content2,
35
- Error: () => Error2,
34
+ Content: () => Content3,
35
+ Error: () => Error5,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service42,
38
+ Service: () => Service58,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node44
41
+ node: () => node62
42
42
  });
43
- import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
44
44
  import { ToolDefinition } from "@opencode-ai/ai";
45
45
  import { Tool } from "@opencode-ai/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service42 extends Context.Service()("@opencode/Tool") {
54
+ class Service58 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service42, Effect.gen(function* () {
57
- const hooks = yield* Service67;
58
- const image = yield* Service69;
56
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
57
+ const hooks = yield* Service74;
58
+ const image = yield* Service63;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service42.of({
183
+ return Service58.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node44 = makeLocationNode({
266
- service: Service42,
265
+ var node62 = makeLocationNode({
266
+ service: Service58,
267
267
  layer,
268
- deps: [node70, node73]
268
+ deps: [node79, node68]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service42, node44, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service58, node62, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./location-mutation-rvb2zp0m.js";
4
+ } from "./worktree-c59j91nj.js";
5
5
  import {
6
6
  __export
7
- } from "./location-mutation-9rqn6x4v.js";
7
+ } from "./worktree-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};