@opencode/core 0.0.0-dev-19870 → 0.0.0-dev-19872

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{variant-t1vey1sx.js → worktree-0029brse.js} +3 -3
  8. package/dist/chunks/{variant-sh98p1a6.js → worktree-01xkgkan.js} +4 -4
  9. package/dist/chunks/{variant-x9x1wca8.js → worktree-050bv84r.js} +86 -86
  10. package/dist/chunks/{variant-msq0jde0.js → worktree-06dxphr1.js} +4 -4
  11. package/dist/chunks/{variant-pm0pb3r2.js → worktree-0c5gn5bj.js} +10 -10
  12. package/dist/chunks/{variant-mrvjcs5x.js → worktree-0jkw1j53.js} +6 -6
  13. package/dist/chunks/{variant-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{variant-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{variant-sghfg077.js → worktree-0z8c9324.js} +11 -11
  16. package/dist/chunks/{variant-0jq9fyba.js → worktree-11dqjexa.js} +9 -9
  17. package/dist/chunks/{variant-aa2dfqx3.js → worktree-12egnza5.js} +7 -7
  18. package/dist/chunks/{variant-rhebeh0n.js → worktree-18j04j79.js} +17 -17
  19. package/dist/chunks/{variant-yp2x3t23.js → worktree-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{variant-qxxgnsfr.js → worktree-1ay3g9r2.js} +22 -22
  21. package/dist/chunks/{variant-bcnj3jcy.js → worktree-1d5d9h0t.js} +2 -2
  22. package/dist/chunks/{variant-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{variant-rvh4km1y.js → worktree-1ddefpyr.js} +18 -18
  24. package/dist/chunks/{variant-5mzeg4hj.js → worktree-1gjr3geq.js} +14 -14
  25. package/dist/chunks/{variant-tabeb9mm.js → worktree-1gvkbw2g.js} +64 -64
  26. package/dist/chunks/{variant-22hvkk3a.js → worktree-1rpj62d2.js} +14 -14
  27. package/dist/chunks/{variant-hzb4nw6c.js → worktree-1rqq8hq9.js} +2 -2
  28. package/dist/chunks/{variant-1ygqh575.js → worktree-1ygqh575.js} +2 -2
  29. package/dist/chunks/{variant-21r38tys.js → worktree-21r38tys.js} +1 -1
  30. package/dist/chunks/{variant-23pqda6t.js → worktree-23pqda6t.js} +1 -1
  31. package/dist/chunks/{variant-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
  32. package/dist/chunks/{variant-pe9k0hgm.js → worktree-24jxm842.js} +20 -20
  33. package/dist/chunks/{variant-j79n6wxr.js → worktree-28zap5n3.js} +25 -25
  34. package/dist/chunks/{variant-geb11jcd.js → worktree-2a2ncbm6.js} +23 -23
  35. package/dist/chunks/{variant-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{variant-e6aynt16.js → worktree-2k4q641w.js} +3 -3
  37. package/dist/chunks/{variant-ghwq1jbs.js → worktree-2sz976k1.js} +46 -46
  38. package/dist/chunks/{variant-d58cxt6j.js → worktree-2tk7wazy.js} +13 -13
  39. package/dist/chunks/{variant-3a83a0n4.js → worktree-30846h32.js} +8 -8
  40. package/dist/chunks/{variant-k5m7dxb4.js → worktree-35dwm1he.js} +31 -31
  41. package/dist/chunks/{variant-nmgvgfpr.js → worktree-37zv03r8.js} +10 -10
  42. package/dist/chunks/{variant-hs28tab5.js → worktree-3bapk1gs.js} +11 -11
  43. package/dist/chunks/{variant-n23fqgkg.js → worktree-3bvwqdfr.js} +4 -4
  44. package/dist/chunks/{variant-5hbhpyan.js → worktree-3ckfe0gn.js} +3 -3
  45. package/dist/chunks/{variant-4bwdz5w5.js → worktree-3dfzya26.js} +19 -19
  46. package/dist/chunks/{variant-pkgc53va.js → worktree-3eeqg3ch.js} +29 -29
  47. package/dist/chunks/{variant-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{variant-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{variant-enghe46c.js → worktree-3n1pthd2.js} +9 -9
  50. package/dist/chunks/{variant-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{variant-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{variant-dj9sq318.js → worktree-3w0fmcng.js} +5 -5
  53. package/dist/chunks/{variant-3tq5qxbk.js → worktree-44ke2mar.js} +8 -8
  54. package/dist/chunks/{variant-6qact9tb.js → worktree-47rg4hp1.js} +18 -18
  55. package/dist/chunks/{variant-27f6pddp.js → worktree-49efg6hh.js} +15 -15
  56. package/dist/chunks/{variant-whmjp8hh.js → worktree-4jv7e9dq.js} +6 -6
  57. package/dist/chunks/{variant-fknkhxqq.js → worktree-530x511h.js} +11 -11
  58. package/dist/chunks/{variant-mmacmsvk.js → worktree-56400ha2.js} +11 -11
  59. package/dist/chunks/{variant-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  60. package/dist/chunks/{variant-brs92t9y.js → worktree-5j6r72e5.js} +1 -1
  61. package/dist/chunks/{variant-knws4kq8.js → worktree-5pj5yv8y.js} +19 -19
  62. package/dist/chunks/{variant-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{variant-2336b01z.js → worktree-5we7r0eg.js} +5 -5
  64. package/dist/chunks/{variant-5g8jbnaq.js → worktree-5xzwezzv.js} +38 -38
  65. package/dist/chunks/{variant-669tq793.js → worktree-669tq793.js} +1 -1
  66. package/dist/chunks/worktree-6a3y69ev.js +26 -0
  67. package/dist/chunks/{variant-hhjr1295.js → worktree-6dpcvaj3.js} +27 -27
  68. package/dist/chunks/{variant-h9v43k74.js → worktree-6e4g0mmd.js} +6 -6
  69. package/dist/chunks/{variant-t6vsspdg.js → worktree-6hh8tjw2.js} +7 -7
  70. package/dist/chunks/{variant-85ka1n07.js → worktree-6j2syc76.js} +4 -4
  71. package/dist/chunks/worktree-6kdq0pjd.js +4 -0
  72. package/dist/chunks/{variant-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{variant-h48hzw2b.js → worktree-6pbgrpz1.js} +8 -8
  74. package/dist/chunks/{variant-cd5s39xc.js → worktree-6skacn9s.js} +32 -32
  75. package/dist/chunks/{variant-qd8pq7fc.js → worktree-6snte3jf.js} +3 -3
  76. package/dist/chunks/{variant-1bbkgx8g.js → worktree-73tb2d7t.js} +3 -3
  77. package/dist/chunks/{variant-5td0dyr7.js → worktree-75wt9k9g.js} +1 -1
  78. package/dist/chunks/{variant-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{variant-0jwsre1p.js → worktree-7dqw4kz8.js} +5 -5
  80. package/dist/chunks/{variant-z4dwdpe4.js → worktree-7h6v3mqz.js} +85 -85
  81. package/dist/chunks/{variant-rjhkz1w2.js → worktree-81pca9ss.js} +17 -17
  82. package/dist/chunks/{variant-j88pc17k.js → worktree-83xp5e3e.js} +2 -2
  83. package/dist/chunks/{variant-t3mnpksc.js → worktree-8c185vwj.js} +8 -8
  84. package/dist/chunks/{variant-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{variant-ewxykczn.js → worktree-8hcfs6jd.js} +25 -25
  86. package/dist/chunks/{variant-cn5pa7p4.js → worktree-8jgc84wx.js} +10 -10
  87. package/dist/chunks/{variant-kjk9sg2v.js → worktree-8kzgg7jc.js} +18 -18
  88. package/dist/chunks/{variant-3kj23qd9.js → worktree-8mqynssf.js} +30 -30
  89. package/dist/chunks/{variant-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{variant-95mg8qdk.js → worktree-8wgc21mb.js} +44 -44
  91. package/dist/chunks/{variant-eq85q6rd.js → worktree-90j31e8f.js} +28 -28
  92. package/dist/chunks/{variant-z8m6gbkd.js → worktree-92frf9bc.js} +17 -17
  93. package/dist/chunks/{variant-nm9hpb8x.js → worktree-9724qm49.js} +30 -30
  94. package/dist/chunks/{variant-e5j09evz.js → worktree-9d5hdd7t.js} +16 -16
  95. package/dist/chunks/{variant-p37cw4rj.js → worktree-9hn6k4tm.js} +8 -8
  96. package/dist/chunks/{variant-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{variant-p26nknmg.js → worktree-a68v6zx7.js} +6 -6
  98. package/dist/chunks/{variant-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  99. package/dist/chunks/{variant-grt0tkrz.js → worktree-ackyxpj1.js} +11 -11
  100. package/dist/chunks/{variant-w1kyw1wm.js → worktree-adpqb9ts.js} +6 -6
  101. package/dist/chunks/{variant-52mty8jq.js → worktree-af4q118x.js} +13 -13
  102. package/dist/chunks/{variant-sg4rfxht.js → worktree-an1ythzp.js} +12 -12
  103. package/dist/chunks/{variant-8qh6anns.js → worktree-ax36eyar.js} +8 -8
  104. package/dist/chunks/{variant-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{variant-txhgrjp2.js → worktree-b8gtgm9a.js} +15 -15
  106. package/dist/chunks/{variant-xdjtnqtw.js → worktree-ba2a1zxc.js} +45 -45
  107. package/dist/chunks/{variant-xw0r27ex.js → worktree-baaqp4zd.js} +4 -4
  108. package/dist/chunks/{variant-j83byb14.js → worktree-bct739vz.js} +4 -4
  109. package/dist/chunks/{variant-1fp8qf5t.js → worktree-bd4e439d.js} +16 -16
  110. package/dist/chunks/{variant-g18gr89e.js → worktree-bggj1spx.js} +46 -46
  111. package/dist/chunks/{variant-cpf2vz9x.js → worktree-bk3tsm7g.js} +5 -5
  112. package/dist/chunks/{variant-t44e5ekz.js → worktree-bnq6mr9x.js} +5 -5
  113. package/dist/chunks/{variant-teqxcq05.js → worktree-bxy5ajfv.js} +9 -9
  114. package/dist/chunks/{variant-pstg3rfm.js → worktree-bz85s9hh.js} +1 -1
  115. package/dist/chunks/{variant-j0kmkqfz.js → worktree-c8a4jtjn.js} +11 -11
  116. package/dist/chunks/{variant-fka5ga8d.js → worktree-cd7c4bdb.js} +12 -12
  117. package/dist/chunks/{variant-ck31s172.js → worktree-cejdfrv6.js} +13 -13
  118. package/dist/chunks/{variant-w666pgwc.js → worktree-cem17g90.js} +39 -39
  119. package/dist/chunks/{variant-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{variant-bajakh74.js → worktree-cq37gk0t.js} +4 -4
  121. package/dist/chunks/{variant-m59xe4a8.js → worktree-cs064az4.js} +7 -7
  122. package/dist/chunks/{variant-1rndcnww.js → worktree-cscxcgsg.js} +9 -9
  123. package/dist/chunks/{variant-q0t2e31h.js → worktree-d0mt1vja.js} +12 -12
  124. package/dist/chunks/{variant-66f6bbr7.js → worktree-d2ax4fej.js} +11 -11
  125. package/dist/chunks/{variant-4x868fka.js → worktree-d4q36r9n.js} +20 -20
  126. package/dist/chunks/{variant-p8mhfpfb.js → worktree-d737nyfv.js} +9 -9
  127. package/dist/chunks/{variant-2bq490qs.js → worktree-d7m6g9v6.js} +4 -4
  128. package/dist/chunks/{variant-hv4mpymf.js → worktree-d8c3ffv1.js} +8 -8
  129. package/dist/chunks/{variant-81swgkk7.js → worktree-dc6tzc5b.js} +7 -7
  130. package/dist/chunks/{variant-rj9ftj0p.js → worktree-dgrza9ek.js} +11 -11
  131. package/dist/chunks/{variant-797prdqw.js → worktree-dh787sn1.js} +33 -33
  132. package/dist/chunks/{variant-6mvzryz6.js → worktree-dje2ev5t.js} +6 -6
  133. package/dist/chunks/{variant-79qaa2kf.js → worktree-djszqvmq.js} +9 -9
  134. package/dist/chunks/{variant-rkyj0vr4.js → worktree-dk764wf3.js} +22 -22
  135. package/dist/chunks/{variant-smbnzawa.js → worktree-dmabgk2v.js} +5 -5
  136. package/dist/chunks/{variant-y71avatq.js → worktree-dpkg50ah.js} +4 -4
  137. package/dist/chunks/{variant-6wz2mwbh.js → worktree-dsymck0a.js} +13 -6
  138. package/dist/chunks/{variant-baasw9zs.js → worktree-dz8x4rxg.js} +4 -4
  139. package/dist/chunks/{variant-tgbn9x0e.js → worktree-e63kay3b.js} +30 -30
  140. package/dist/chunks/{variant-h2bgjhkt.js → worktree-ef1sz92s.js} +20 -20
  141. package/dist/chunks/{variant-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{variant-x52p01ey.js → worktree-ep7dn8jk.js} +17 -17
  143. package/dist/chunks/{variant-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
  144. package/dist/chunks/{variant-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{variant-gxbfjqcv.js → worktree-f06r0vcj.js} +8 -8
  146. package/dist/chunks/{variant-htkg1ped.js → worktree-f0svag7k.js} +49 -49
  147. package/dist/chunks/{variant-3sh56xx4.js → worktree-f2da3tzf.js} +16 -16
  148. package/dist/chunks/{variant-63t418ew.js → worktree-f40tx9v5.js} +7 -7
  149. package/dist/chunks/{variant-fhz5gfgy.js → worktree-f62qkzqr.js} +5 -5
  150. package/dist/chunks/{variant-f828m53h.js → worktree-f828m53h.js} +2 -2
  151. package/dist/chunks/{variant-78rnjdtr.js → worktree-fbf3se4r.js} +20 -20
  152. package/dist/chunks/{variant-mhk04qte.js → worktree-frr8ma5g.js} +15 -15
  153. package/dist/chunks/{variant-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  154. package/dist/chunks/{variant-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{variant-ahkqwmsk.js → worktree-gg184eje.js} +14 -14
  156. package/dist/chunks/{variant-xq2nfj3p.js → worktree-gn0qs0ez.js} +32 -32
  157. package/dist/chunks/worktree-gqqsgceb.js +252 -0
  158. package/dist/chunks/{variant-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{variant-3nxmjfv1.js → worktree-gzhks085.js} +14 -14
  160. package/dist/chunks/{variant-4dgbcxzg.js → worktree-h6r3nrb9.js} +4 -4
  161. package/dist/chunks/{variant-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{variant-nxhqveyz.js → worktree-hkfg6fzm.js} +5 -5
  163. package/dist/chunks/{variant-kefnbk3p.js → worktree-hmkf95c9.js} +9 -9
  164. package/dist/chunks/{variant-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  165. package/dist/chunks/{variant-tfn5j0a9.js → worktree-j93fbyzs.js} +13 -13
  166. package/dist/chunks/{variant-4b9121e6.js → worktree-ja2xmr49.js} +47 -47
  167. package/dist/chunks/{variant-p4qdj091.js → worktree-jaek9wet.js} +25 -25
  168. package/dist/chunks/{variant-69f6zjgr.js → worktree-jhyw6xje.js} +20 -20
  169. package/dist/chunks/worktree-jqh9b0xq.js +18 -0
  170. package/dist/chunks/{variant-5n7wdh8h.js → worktree-jtz05rza.js} +44 -44
  171. package/dist/chunks/{variant-v0qc0xfw.js → worktree-jvdmeb00.js} +17 -17
  172. package/dist/chunks/{variant-r558ape6.js → worktree-jyaxjask.js} +10 -10
  173. package/dist/chunks/{variant-ytn5d3vs.js → worktree-k03db8z3.js} +15 -15
  174. package/dist/chunks/{variant-j5029czd.js → worktree-k03y7cqw.js} +32 -32
  175. package/dist/chunks/{variant-qnk3s0sd.js → worktree-k39q4sf2.js} +19 -19
  176. package/dist/chunks/{variant-k3c624dm.js → worktree-k3c624dm.js} +3 -3
  177. package/dist/chunks/{variant-hmmkxdzd.js → worktree-k78r674t.js} +30 -30
  178. package/dist/chunks/{variant-gjt2phrg.js → worktree-k7zs4xcs.js} +5 -5
  179. package/dist/chunks/{variant-hfz6vx2t.js → worktree-kaagn64m.js} +25 -25
  180. package/dist/chunks/{variant-tz84jmpd.js → worktree-kccwy87p.js} +13 -13
  181. package/dist/chunks/{variant-mxw0tdhe.js → worktree-knhmpdmt.js} +5 -5
  182. package/dist/chunks/{variant-b09hzw3k.js → worktree-ky3seynh.js} +2 -2
  183. package/dist/chunks/{variant-hs7hr3sk.js → worktree-m183j3hp.js} +1 -1
  184. package/dist/chunks/{variant-aes001kk.js → worktree-m2g4r6ez.js} +8 -8
  185. package/dist/chunks/{variant-c488s98d.js → worktree-m2zz6rv6.js} +12 -12
  186. package/dist/chunks/{variant-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{variant-b80rxd7q.js → worktree-m81pe42t.js} +15 -15
  188. package/dist/chunks/{variant-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{variant-9pkkzrmj.js → worktree-ma48de29.js} +5 -5
  190. package/dist/chunks/{variant-0n363b86.js → worktree-mc5yagq3.js} +16 -16
  191. package/dist/chunks/{variant-hgyz5sh6.js → worktree-mdpcq19b.js} +11 -11
  192. package/dist/chunks/{variant-c2fs7f6w.js → worktree-mhyqqp67.js} +24 -24
  193. package/dist/chunks/{variant-mbjhvwvw.js → worktree-mn14093j.js} +5 -5
  194. package/dist/chunks/{variant-kmg4jv2q.js → worktree-mnzq238h.js} +12 -12
  195. package/dist/chunks/{variant-5ekhjdzd.js → worktree-mtthj00s.js} +41 -41
  196. package/dist/chunks/{variant-drds58r6.js → worktree-myvehfjc.js} +28 -28
  197. package/dist/chunks/{variant-59skmtgb.js → worktree-n48a3wtd.js} +9 -9
  198. package/dist/chunks/{variant-sg1qr0px.js → worktree-n4efq2p3.js} +20 -20
  199. package/dist/chunks/{variant-2wse4pe0.js → worktree-ncv4r2bp.js} +7 -7
  200. package/dist/chunks/{variant-6npfsxfv.js → worktree-ng12e52f.js} +3 -3
  201. package/dist/chunks/{variant-jkz8cxnn.js → worktree-nmb2jxzm.js} +27 -27
  202. package/dist/chunks/{variant-d60c54a9.js → worktree-nnc51gs2.js} +9 -9
  203. package/dist/chunks/{variant-2p6dchyf.js → worktree-nq9nxgcr.js} +22 -22
  204. package/dist/chunks/{variant-nrdmrqsx.js → worktree-nrdmrqsx.js} +1 -1
  205. package/dist/chunks/{variant-avssftjx.js → worktree-ntn63d0h.js} +22 -22
  206. package/dist/chunks/{variant-szh1cwdh.js → worktree-nwwa308c.js} +7 -7
  207. package/dist/chunks/{variant-hcy87vkc.js → worktree-nye5f74f.js} +11 -11
  208. package/dist/chunks/{variant-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
  209. package/dist/chunks/{variant-7dn399d2.js → worktree-p8d83q2f.js} +15 -15
  210. package/dist/chunks/{variant-gsgspxn5.js → worktree-pd8tqg4h.js} +21 -21
  211. package/dist/chunks/{variant-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{variant-pknna89w.js → worktree-pknna89w.js} +1 -1
  213. package/dist/chunks/{variant-nrjct5b1.js → worktree-pnd0g9pf.js} +5 -5
  214. package/dist/chunks/{variant-rhafb4aa.js → worktree-pnv527nz.js} +9 -9
  215. package/dist/chunks/{variant-wsr5pxgw.js → worktree-pvr04t1x.js} +20 -20
  216. package/dist/chunks/{variant-s305wbyz.js → worktree-pydpba5n.js} +137 -137
  217. package/dist/chunks/{variant-tn764by2.js → worktree-q17qcqnk.js} +11 -11
  218. package/dist/chunks/{variant-ye3jx5n8.js → worktree-q7hnyx62.js} +11 -11
  219. package/dist/chunks/{variant-wnnqbafk.js → worktree-qd60702v.js} +13 -13
  220. package/dist/chunks/{variant-kfmyqsf5.js → worktree-qp8jc7h3.js} +9 -9
  221. package/dist/chunks/{variant-zghmsxd1.js → worktree-qpx06cdk.js} +24 -24
  222. package/dist/chunks/{variant-mxra0cmd.js → worktree-qrq3k7hv.js} +38 -38
  223. package/dist/chunks/{variant-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  224. package/dist/chunks/{variant-kj4zctnd.js → worktree-qvb4r7jj.js} +31 -31
  225. package/dist/chunks/{variant-vtd3ynzc.js → worktree-r4v7sw5j.js} +3 -3
  226. package/dist/chunks/{variant-wjjn3hja.js → worktree-r5ec8tk0.js} +4 -4
  227. package/dist/chunks/{variant-x76vnk27.js → worktree-rc43q7gj.js} +26 -26
  228. package/dist/chunks/{variant-38xgq6ts.js → worktree-rd8gh7p5.js} +1 -1
  229. package/dist/chunks/{variant-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{variant-t550f9t1.js → worktree-rhjbct0v.js} +4 -4
  231. package/dist/chunks/{variant-426fnjcx.js → worktree-rr217x4v.js} +26 -26
  232. package/dist/chunks/{variant-bya9q4dt.js → worktree-rvemz3qf.js} +7 -7
  233. package/dist/chunks/{variant-7d77z8qn.js → worktree-s3nqtxxj.js} +28 -28
  234. package/dist/chunks/{variant-8s8mxddj.js → worktree-shh6fz4q.js} +4 -4
  235. package/dist/chunks/{variant-mrb3fjvr.js → worktree-sjwxqtfk.js} +17 -17
  236. package/dist/chunks/{variant-2v626tz4.js → worktree-smyb6yf6.js} +23 -23
  237. package/dist/chunks/{variant-b28k5m4e.js → worktree-smzykshb.js} +6 -6
  238. package/dist/chunks/{variant-p6keb3nc.js → worktree-srq7twvs.js} +20 -20
  239. package/dist/chunks/{variant-595ycqh3.js → worktree-t4ke9ew4.js} +12 -12
  240. package/dist/chunks/{variant-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{variant-89znhe33.js → worktree-tcezcvh9.js} +4 -4
  242. package/dist/chunks/{variant-tdstcens.js → worktree-tdstcens.js} +1 -1
  243. package/dist/chunks/{variant-tjedn1bk.js → worktree-tjedn1bk.js} +1 -1
  244. package/dist/chunks/{variant-h99nf0kn.js → worktree-tnx6ann6.js} +1 -1
  245. package/dist/chunks/{variant-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  246. package/dist/chunks/{variant-csbme2kj.js → worktree-v3n2aj7f.js} +32 -32
  247. package/dist/chunks/{variant-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  248. package/dist/chunks/{variant-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{variant-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{variant-69apea2v.js → worktree-w3x9v1nk.js} +8 -8
  251. package/dist/chunks/{variant-jz1pp4jz.js → worktree-w4ppdpd0.js} +16 -16
  252. package/dist/chunks/{variant-p9bjh04g.js → worktree-w5npym6y.js} +4 -4
  253. package/dist/chunks/{variant-h1cw8hcp.js → worktree-w5xsrbnb.js} +29 -29
  254. package/dist/chunks/{variant-wd87259q.js → worktree-wd87259q.js} +1 -1
  255. package/dist/chunks/{variant-zmfbpthp.js → worktree-wder9crj.js} +12 -12
  256. package/dist/chunks/{variant-erzb7j7f.js → worktree-wgz7hchk.js} +6 -6
  257. package/dist/chunks/{variant-3sg1857t.js → worktree-wkt0yqpq.js} +1 -1
  258. package/dist/chunks/{variant-nwqme974.js → worktree-wv5sfath.js} +9 -9
  259. package/dist/chunks/{variant-984xje6x.js → worktree-wxffcvth.js} +3 -3
  260. package/dist/chunks/{variant-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{variant-d5d87h16.js → worktree-x2eykcsk.js} +35 -35
  262. package/dist/chunks/{variant-9eqcjrtc.js → worktree-x96eb595.js} +23 -23
  263. package/dist/chunks/{variant-mpgyntzp.js → worktree-x9w52knk.js} +17 -17
  264. package/dist/chunks/{variant-wzbs3mda.js → worktree-x9wq683r.js} +10 -10
  265. package/dist/chunks/{variant-57b9ws8p.js → worktree-xfkkasph.js} +7 -7
  266. package/dist/chunks/{variant-5c64zym4.js → worktree-xk8j9t28.js} +25 -25
  267. package/dist/chunks/{variant-9x9g2km1.js → worktree-xrm9dfb1.js} +9 -9
  268. package/dist/chunks/{variant-y6f0p4jw.js → worktree-xxynqx5z.js} +3 -3
  269. package/dist/chunks/{variant-79dhzyk4.js → worktree-xzbq4t52.js} +35 -35
  270. package/dist/chunks/{variant-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{variant-jk0hetf2.js → worktree-y1ygrsmg.js} +6 -6
  272. package/dist/chunks/{variant-sqjsdc8q.js → worktree-y7abhsg2.js} +9 -9
  273. package/dist/chunks/{variant-s2y5anze.js → worktree-y9854d0h.js} +3 -3
  274. package/dist/chunks/{variant-jc42g46n.js → worktree-ydg01c3p.js} +13 -13
  275. package/dist/chunks/{variant-vdkvxh6g.js → worktree-yjmcsphm.js} +26 -26
  276. package/dist/chunks/{variant-gg7pg1rj.js → worktree-yjptyezs.js} +5 -5
  277. package/dist/chunks/{variant-699ehe3v.js → worktree-ykze60hc.js} +20 -20
  278. package/dist/chunks/{variant-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{variant-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  280. package/dist/chunks/{variant-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{variant-hsj07s21.js → worktree-z2cyrkj5.js} +16 -16
  282. package/dist/chunks/{variant-akz62yx4.js → worktree-z5z5sd66.js} +20 -20
  283. package/dist/chunks/{variant-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  284. package/dist/chunks/{variant-wv44f8tc.js → worktree-z9yzr4jj.js} +21 -21
  285. package/dist/chunks/{variant-jpg1q0jq.js → worktree-zdfdg6f3.js} +308 -308
  286. package/dist/chunks/{variant-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{variant-9hfpfwmp.js → worktree-zh8xk7my.js} +28 -28
  288. package/dist/chunks/{variant-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{variant-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +82 -82
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +77 -77
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +80 -80
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +81 -81
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +82 -82
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +97 -97
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +104 -104
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +1 -1
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +5 -5
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +119 -119
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +119 -119
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +119 -119
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +73 -73
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +6 -6
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +222 -222
  558. package/dist/project/schema.js +6 -6
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +83 -83
  561. package/dist/provider.js +94 -94
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +86 -86
  567. package/dist/reference.js +88 -88
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +131 -131
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +220 -220
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +87 -87
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +111 -111
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +214 -214
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +215 -215
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +88 -88
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +119 -119
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +216 -216
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +113 -113
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +16 -16
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +1 -1
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +1 -1
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +7 -7
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +8 -8
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/variant-0x95mqex.js +0 -252
  696. package/dist/chunks/variant-2sy8xs0p.js +0 -26
  697. package/dist/chunks/variant-hxa7m5za.js +0 -4
  698. package/dist/chunks/variant-phz3h32g.js +0 -18
  699. /package/dist/chunks/{variant-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{variant-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{variant-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{variant-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{variant-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{variant-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{variant-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{variant-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{variant-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{variant-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{variant-3asan66x.js → worktree-3asan66x.js} +0 -0
  710. /package/dist/chunks/{variant-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{variant-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{variant-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{variant-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{variant-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{variant-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{variant-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{variant-53557ph1.js → worktree-53557ph1.js} +0 -0
  718. /package/dist/chunks/{variant-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{variant-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{variant-6prwharc.js → worktree-6prwharc.js} +0 -0
  721. /package/dist/chunks/{variant-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{variant-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{variant-822emrt2.js → worktree-822emrt2.js} +0 -0
  724. /package/dist/chunks/{variant-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{variant-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{variant-922hggd3.js → worktree-922hggd3.js} +0 -0
  727. /package/dist/chunks/{variant-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{variant-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{variant-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{variant-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{variant-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{variant-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{variant-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{variant-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{variant-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{variant-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{variant-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{variant-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{variant-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{variant-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{variant-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{variant-df08tz66.js → worktree-df08tz66.js} +0 -0
  743. /package/dist/chunks/{variant-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{variant-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{variant-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{variant-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{variant-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{variant-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{variant-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{variant-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{variant-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{variant-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{variant-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{variant-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{variant-g86h250q.js → worktree-g86h250q.js} +0 -0
  756. /package/dist/chunks/{variant-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{variant-gftt206x.js → worktree-gftt206x.js} +0 -0
  758. /package/dist/chunks/{variant-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{variant-hk9envan.js → worktree-hk9envan.js} +0 -0
  760. /package/dist/chunks/{variant-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{variant-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{variant-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{variant-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{variant-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{variant-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{variant-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{variant-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{variant-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{variant-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{variant-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{variant-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{variant-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{variant-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{variant-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{variant-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{variant-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{variant-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{variant-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{variant-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{variant-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{variant-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{variant-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{variant-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{variant-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{variant-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{variant-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{variant-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{variant-x61499pn.js → worktree-x61499pn.js} +0 -0
  789. /package/dist/chunks/{variant-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{variant-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{variant-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{variant-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{variant-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{variant-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node54
5
- } from "./variant-sghfg077.js";
4
+ node83
5
+ } from "./worktree-0z8c9324.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./variant-msq0jde0.js";
9
+ } from "./worktree-06dxphr1.js";
10
10
  import {
11
- Service59,
12
- node62
13
- } from "./variant-3a83a0n4.js";
11
+ Service67,
12
+ node70
13
+ } from "./worktree-30846h32.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./variant-5ekhjdzd.js";
16
+ } from "./worktree-mtthj00s.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./variant-3nxmjfv1.js";
19
+ } from "./worktree-gzhks085.js";
20
20
  import {
21
- Error2
22
- } from "./variant-j79n6wxr.js";
21
+ Error5
22
+ } from "./worktree-28zap5n3.js";
23
23
  import {
24
- Service25,
25
- node28
26
- } from "./variant-fknkhxqq.js";
24
+ Service40,
25
+ node43
26
+ } from "./worktree-530x511h.js";
27
27
  import {
28
- make14
29
- } from "./variant-57b9ws8p.js";
28
+ make15
29
+ } from "./worktree-xfkkasph.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./variant-pstg3rfm.js";
32
+ } from "./worktree-bz85s9hh.js";
33
33
  import {
34
34
  __export
35
- } from "./variant-9rqn6x4v.js";
35
+ } from "./worktree-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service24,
40
+ Service: () => Service39,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer9,
45
- node: () => node27,
44
+ layer: () => layer15,
45
+ node: () => node42,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service39 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer9 = Layer.effect(Service24, Effect.gen(function* () {
156
- const hooks = yield* Service59;
157
- const transport = yield* Service25;
155
+ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
156
+ const hooks = yield* Service67;
157
+ const transport = yield* Service40;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer9 = Layer.effect(Service24, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error2({ message: "Tools are not available for this request" })
165
+ execute: () => new Error5({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -252,17 +252,17 @@ var layer9 = Layer.effect(Service24, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service24.of({
255
+ return Service39.of({
256
256
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
257
257
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
258
258
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
259
259
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
260
260
  });
261
261
  }));
262
- var node27 = makeLocationNode({
263
- service: Service24,
264
- layer: layer9,
265
- deps: [node62, node28, node54]
262
+ var node42 = makeLocationNode({
263
+ service: Service39,
264
+ layer: layer15,
265
+ deps: [node70, node43, node83]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer9, node27, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service39, layer15, node42, exports_model_request };
@@ -0,0 +1,252 @@
1
+ import {
2
+ node67
3
+ } from "./worktree-k39q4sf2.js";
4
+ import {
5
+ node78
6
+ } from "./worktree-8kzgg7jc.js";
7
+ import {
8
+ node77
9
+ } from "./worktree-fbf3se4r.js";
10
+ import {
11
+ node79,
12
+ boundNode2
13
+ } from "./worktree-ncv4r2bp.js";
14
+ import {
15
+ node76
16
+ } from "./worktree-z5z5sd66.js";
17
+ import {
18
+ node57
19
+ } from "./worktree-nnc51gs2.js";
20
+ import {
21
+ node75
22
+ } from "./worktree-pd8tqg4h.js";
23
+ import {
24
+ node44
25
+ } from "./worktree-3dfzya26.js";
26
+ import {
27
+ configured7,
28
+ node49
29
+ } from "./worktree-jtz05rza.js";
30
+ import {
31
+ node51
32
+ } from "./worktree-dk764wf3.js";
33
+ import {
34
+ node23
35
+ } from "./worktree-kccwy87p.js";
36
+ import {
37
+ node74
38
+ } from "./worktree-cejdfrv6.js";
39
+ import {
40
+ node20
41
+ } from "./worktree-myvehfjc.js";
42
+ import {
43
+ node19
44
+ } from "./worktree-9724qm49.js";
45
+ import {
46
+ node56
47
+ } from "./worktree-90j31e8f.js";
48
+ import {
49
+ node17
50
+ } from "./worktree-8hcfs6jd.js";
51
+ import {
52
+ node69
53
+ } from "./worktree-d737nyfv.js";
54
+ import {
55
+ node41
56
+ } from "./worktree-bggj1spx.js";
57
+ import {
58
+ Service53,
59
+ node55
60
+ } from "./worktree-0jkw1j53.js";
61
+ import {
62
+ node39
63
+ } from "./worktree-frr8ma5g.js";
64
+ import {
65
+ node70
66
+ } from "./worktree-30846h32.js";
67
+ import {
68
+ node64
69
+ } from "./worktree-mtthj00s.js";
70
+ import {
71
+ node54
72
+ } from "./worktree-2tk7wazy.js";
73
+ import {
74
+ configured6,
75
+ node48
76
+ } from "./worktree-jhyw6xje.js";
77
+ import {
78
+ node38
79
+ } from "./worktree-1rpj62d2.js";
80
+ import {
81
+ node68
82
+ } from "./worktree-28zap5n3.js";
83
+ import {
84
+ node40
85
+ } from "./worktree-3eeqg3ch.js";
86
+ import {
87
+ node72
88
+ } from "./worktree-yjmcsphm.js";
89
+ import {
90
+ node36
91
+ } from "./worktree-m81pe42t.js";
92
+ import {
93
+ node58
94
+ } from "./worktree-1ay3g9r2.js";
95
+ import {
96
+ node37
97
+ } from "./worktree-d4q36r9n.js";
98
+ import {
99
+ node34
100
+ } from "./worktree-050bv84r.js";
101
+ import {
102
+ node45
103
+ } from "./worktree-z9yzr4jj.js";
104
+ import {
105
+ node63
106
+ } from "./worktree-5pj5yv8y.js";
107
+ import {
108
+ node59
109
+ } from "./worktree-t4ke9ew4.js";
110
+ import {
111
+ node46
112
+ } from "./worktree-ba2a1zxc.js";
113
+ import {
114
+ node28
115
+ } from "./worktree-wder9crj.js";
116
+ import {
117
+ node22
118
+ } from "./worktree-1ddefpyr.js";
119
+ import {
120
+ node18
121
+ } from "./worktree-xk8j9t28.js";
122
+ import {
123
+ node30
124
+ } from "./worktree-18j04j79.js";
125
+ import {
126
+ node16
127
+ } from "./worktree-mc5yagq3.js";
128
+ import {
129
+ node10
130
+ } from "./worktree-6dpcvaj3.js";
131
+ import {
132
+ Service24,
133
+ node27
134
+ } from "./worktree-qpx06cdk.js";
135
+ import {
136
+ node24
137
+ } from "./worktree-f2da3tzf.js";
138
+ import {
139
+ node4,
140
+ bound2
141
+ } from "./worktree-9hn6k4tm.js";
142
+ import {
143
+ node14
144
+ } from "./worktree-ntn63d0h.js";
145
+ import {
146
+ node8
147
+ } from "./worktree-92frf9bc.js";
148
+ import {
149
+ node9
150
+ } from "./worktree-sjwxqtfk.js";
151
+ import {
152
+ node2
153
+ } from "./worktree-k03y7cqw.js";
154
+ import {
155
+ node26
156
+ } from "./worktree-6skacn9s.js";
157
+ import {
158
+ node7
159
+ } from "./worktree-rr217x4v.js";
160
+ import {
161
+ node6
162
+ } from "./worktree-1gvkbw2g.js";
163
+ import {
164
+ __export
165
+ } from "./worktree-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service53,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node55
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node79,
181
+ node27,
182
+ node51,
183
+ node49,
184
+ node67,
185
+ node44,
186
+ node72,
187
+ node28,
188
+ node18,
189
+ node77,
190
+ node76,
191
+ node75,
192
+ node56,
193
+ node57,
194
+ node16,
195
+ node70,
196
+ node4,
197
+ node2,
198
+ node30,
199
+ node20,
200
+ node19,
201
+ node63,
202
+ node26,
203
+ node46,
204
+ node58,
205
+ node38,
206
+ node48,
207
+ node24,
208
+ node23,
209
+ node74,
210
+ node41,
211
+ node64,
212
+ node68,
213
+ node59,
214
+ node69,
215
+ node37,
216
+ node36,
217
+ node39,
218
+ node78,
219
+ node17,
220
+ node9,
221
+ node40,
222
+ node8,
223
+ node54,
224
+ node14,
225
+ node7,
226
+ node34,
227
+ node45,
228
+ node6,
229
+ node22,
230
+ node10
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node49.replace(configured7({ project: false, global: false })),
235
+ node48.replace(configured6({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node79.replace(boundNode2(ref, { discovery: options.discovery })),
243
+ node4.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service24).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service74
3
- } from "./variant-kjk9sg2v.js";
2
+ Service75
3
+ } from "./worktree-8kzgg7jc.js";
4
4
  import {
5
- Service55
6
- } from "./variant-5ekhjdzd.js";
5
+ Service61
6
+ } from "./worktree-mtthj00s.js";
7
7
  import {
8
8
  __export
9
- } from "./variant-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin49,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name13,
20
+ name: () => name14,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name13 = "question";
26
+ var name14 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin49 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service74;
57
- const permission = yield* Service55;
56
+ const forms = yield* Service75;
57
+ const permission = yield* Service61;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name13,
59
+ name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
118
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info27,
10
+ Info: () => Info28,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info27 = Connection.Info;
17
+ var Info28 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info27, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./variant-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info15,
12
+ Info: () => Info12,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./variant-2wse4pe0.js";
3
+ } from "./worktree-ncv4r2bp.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service63,
12
+ Service: () => Service68,
13
13
  canonical: () => canonical3,
14
- node: () => node66,
14
+ node: () => node71,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service63 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service68 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service63, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service68, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node66 = LayerNode.unbound(Service63, Node.tags.values.global);
27
+ var node71 = LayerNode.unbound(Service68, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service63;
29
+ const locations = yield* Service68;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service63, node66, reload2, canonical3, exports_location_service_map };
48
+ export { Service68, node71, reload2, canonical3, exports_location_service_map };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service63,
3
- node66,
2
+ Service68,
3
+ node71,
4
4
  canonical3
5
- } from "./variant-kefnbk3p.js";
5
+ } from "./worktree-hmkf95c9.js";
6
6
  import {
7
- Service31,
8
- node33
9
- } from "./variant-mrvjcs5x.js";
7
+ Service53,
8
+ node55
9
+ } from "./worktree-0jkw1j53.js";
10
10
  import {
11
- Service13
12
- } from "./variant-zghmsxd1.js";
11
+ Service24
12
+ } from "./worktree-qpx06cdk.js";
13
13
  import {
14
14
  layer2
15
- } from "./variant-0x95mqex.js";
15
+ } from "./worktree-gqqsgceb.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service63, Effect.gen(function* () {
20
+ return Layer.effect(Service68, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service13);
30
+ const lifecycle = Context.get(exit.value, Service24);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node33.replace(Layer.succeed(Service31, {
57
+ node55.replace(Layer.succeed(Service53, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node66.replace(Layer.succeed(Service63, map))
61
+ node71.replace(Layer.succeed(Service68, map))
62
62
  ];
63
63
  return map;
64
64
  }));