@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,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./variant-5t3nmthw.js";
3
+ } from "./worktree-5t3nmthw.js";
4
4
  import {
5
- Service68,
6
- node72
7
- } from "./variant-eq85q6rd.js";
5
+ Service54,
6
+ node56
7
+ } from "./worktree-90j31e8f.js";
8
8
  import {
9
9
  __export
10
- } from "./variant-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service62,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer23,
20
- node: () => node65
17
+ Service: () => Service14,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer9,
20
+ node: () => node17
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service62 extends Context.Service()("@opencode/Generate") {
36
+ class Service14 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer23 = Layer.effect(Service62, Effect.gen(function* () {
38
+ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service68;
40
+ const resolver = yield* Service54;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer23 = Layer.effect(Service62, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service62.of({ text });
66
+ return Service14.of({ text });
67
67
  }));
68
- var node65 = makeLocationNode({
69
- service: Service62,
70
- layer: layer23,
71
- deps: [node72, llmClient2]
68
+ var node17 = makeLocationNode({
69
+ service: Service14,
70
+ layer: layer9,
71
+ deps: [node56, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service62, layer23, node65, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError2, Service14, layer9, node17, exports_generate };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82
3
- } from "./variant-wjjn3hja.js";
3
+ } from "./worktree-r5ec8tk0.js";
4
4
  import {
5
- Service64,
6
- Event14
7
- } from "./variant-pe9k0hgm.js";
5
+ Service80,
6
+ Event21
7
+ } from "./worktree-24jxm842.js";
8
8
  import {
9
9
  __export
10
- } from "./variant-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin36,
15
+ Plugin: () => Plugin48,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin36 = define({
20
+ var Plugin48 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service82;
24
- const wellknown = yield* Service64;
24
+ const wellknown = yield* Service80;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin36 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event21.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin36, exports_plugin };
48
+ export { Plugin48, exports_plugin };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./variant-wjjn3hja.js";
4
+ } from "./worktree-r5ec8tk0.js";
5
5
  import {
6
6
  __export
7
- } from "./variant-9rqn6x4v.js";
7
+ } from "./worktree-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,20 +12,20 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event18,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID16,
19
+ ID: () => ID15,
20
20
  Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service74,
25
+ Service: () => Service75,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
28
+ layer: () => layer24,
29
29
  node: () => node78,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
@@ -33,9 +33,9 @@ __export(exports_form, {
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID16 = Form.ID;
38
+ var ID15 = Form.ID;
39
39
  var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID16
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID16
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID16
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID16,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service74 extends Context.Service()("@opencode/Form") {
82
+ class Service75 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service74, Effect.gen(function* () {
84
+ var layer24 = Layer.effect(Service75, Effect.gen(function* () {
85
85
  const bus = yield* Service82;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID16.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service74.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service75.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node78 = makeLocationNode({ service: Service74, layer: layer25, deps: [node86] });
164
+ var node78 = makeLocationNode({ service: Service75, layer: layer24, deps: [node86] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID16, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node78, validateAnswer2, validateFields2, exports_form, Event19 };
316
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer24, node78, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./variant-t1vey1sx.js";
7
+ } from "./worktree-0029brse.js";
8
8
  import {
9
9
  Service82,
10
10
  node86
11
- } from "./variant-wjjn3hja.js";
11
+ } from "./worktree-r5ec8tk0.js";
12
12
  import {
13
- Service81,
14
- node85
15
- } from "./variant-c488s98d.js";
13
+ Service78,
14
+ node81
15
+ } from "./worktree-m2zz6rv6.js";
16
16
  import {
17
- ID18,
17
+ ID17,
18
18
  Current3,
19
19
  Info33,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event19,
22
22
  Vcs3
23
- } from "./variant-81swgkk7.js";
23
+ } from "./worktree-dc6tzc5b.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./variant-8p4f9s12.js";
27
+ } from "./worktree-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./variant-cfpkc3c9.js";
30
+ } from "./worktree-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./variant-9rqn6x4v.js";
33
+ } from "./worktree-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
39
+ ID: () => ID16,
40
40
  Info: () => Info32,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
43
  Service: () => Service77,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node81,
46
+ node: () => node80,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
61
  var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
65
+ projectID: ID16
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -95,7 +95,7 @@ function fromRow(row) {
95
95
  }
96
96
  var layer = Layer.effect(Service77, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service81;
98
+ const git = yield* Service78;
99
99
  const proc = yield* AppProcess.Service;
100
100
  const bus = yield* Service82;
101
101
  const db = (yield* Service83).db;
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event20.Updated, fromRow(row));
109
+ yield* bus.publish(Event19.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID17.global,
146
+ previous: project.previous ?? ID16.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
168
168
  if (!row)
169
169
  return yield* new NotFoundError11({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event20.Updated, project);
171
+ yield* bus.publish(Event19.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID17.make(root) : undefined;
211
+ return root ? ID16.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID17.make(node) : undefined;
227
+ return node ? ID16.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID17.global,
236
+ id: id ?? ID16.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID17.global,
253
+ id: id ?? ID16.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,7 +264,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID17.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
@@ -272,10 +272,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
272
272
  });
273
273
  return Service77.of({ list, update, resolve });
274
274
  }));
275
- var node81 = makeGlobalNode({
275
+ var node80 = makeGlobalNode({
276
276
  service: Service77,
277
277
  layer,
278
- deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
278
+ deps: [node86, node87, FSUtil.node, node81, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service77, node81, exports_project };
281
+ export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service77, node80, exports_project };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./variant-6msgmcgs.js";
4
+ } from "./worktree-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./variant-qfa1cgps.js";
7
+ } from "./worktree-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID9,
3
- Service58
4
- } from "./variant-qnk3s0sd.js";
2
+ ID10,
3
+ Service64
4
+ } from "./worktree-k39q4sf2.js";
5
5
  import {
6
6
  Ref2,
7
- Service70
8
- } from "./variant-gsgspxn5.js";
7
+ Service72
8
+ } from "./worktree-pd8tqg4h.js";
9
9
  import {
10
10
  latest2,
11
- Service39
12
- } from "./variant-5n7wdh8h.js";
11
+ Service46
12
+ } from "./worktree-jtz05rza.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./variant-y6f0p4jw.js";
15
+ } from "./worktree-xxynqx5z.js";
16
16
  import {
17
- Service61
18
- } from "./variant-x52p01ey.js";
17
+ Service58
18
+ } from "./worktree-ep7dn8jk.js";
19
19
  import {
20
20
  evaluate2,
21
- Service55
22
- } from "./variant-5ekhjdzd.js";
21
+ Service61
22
+ } from "./worktree-mtthj00s.js";
23
23
  import {
24
- Service17
25
- } from "./variant-z4dwdpe4.js";
24
+ Service28
25
+ } from "./worktree-7h6v3mqz.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./variant-x1ezjp6w.js";
28
+ } from "./worktree-x1ezjp6w.js";
29
29
  import {
30
- make10
31
- } from "./variant-tn764by2.js";
30
+ make8
31
+ } from "./worktree-q17qcqnk.js";
32
32
  import {
33
33
  __export
34
- } from "./variant-9rqn6x4v.js";
34
+ } from "./worktree-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input10,
40
- Output: () => Output7,
41
- Plugin: () => Plugin46,
39
+ Input: () => Input8,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin25,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description4,
44
- name: () => name10
43
+ description: () => description5,
44
+ name: () => name8
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Schema } from "effect";
48
- var name10 = "subagent";
48
+ var name8 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input10 = Schema.Struct({
59
+ var Input8 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output7 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description4 = [
80
+ var description5 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description4 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin46 = {
89
+ var Plugin25 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service17;
93
- const jobs = yield* Service61;
94
- const agents = yield* Service58;
95
- const config = yield* Service39;
96
- const permission = yield* Service55;
97
- const models = yield* Service70;
98
- const subagents = yield* make10;
92
+ const sessions = yield* Service28;
93
+ const jobs = yield* Service58;
94
+ const agents = yield* Service64;
95
+ const config = yield* Service46;
96
+ const permission = yield* Service61;
97
+ const models = yield* Service72;
98
+ const subagents = yield* make8;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin46 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name8,
119
119
  options: { codemode: false },
120
- description: description4,
121
- input: Input10,
122
- output: Output7,
120
+ description: description5,
121
+ input: Input8,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin46 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name10,
142
+ action: name8,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin46 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID9.make(input.agent),
171
+ agent: ID10.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,13 +218,13 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  const hook = (event) => Effect.gen(function* () {
221
- const tool = event.tools[name10];
221
+ const tool = event.tools[name8];
222
222
  if (!tool)
223
223
  return;
224
224
  const selected = yield* agents.resolve(event.agent);
225
225
  if (!selected)
226
226
  return;
227
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
227
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
228
228
  if (available.length === 0)
229
229
  return;
230
230
  tool.description = [
@@ -241,4 +241,4 @@ ${output.output}
241
241
  })
242
242
  };
243
243
 
244
- export { name10, Input10, Output7, description4, Plugin46, exports_subagent };
244
+ export { name8, Input8, Output5, description5, Plugin25, exports_subagent };