@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,45 +1,45 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./variant-t1vey1sx.js";
4
+ } from "./worktree-0029brse.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service82,
8
8
  node86
9
- } from "./variant-wjjn3hja.js";
9
+ } from "./worktree-r5ec8tk0.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./variant-5t3nmthw.js";
12
+ } from "./worktree-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./variant-ec1grn59.js";
15
+ } from "./worktree-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./variant-aes001kk.js";
18
+ } from "./worktree-m2g4r6ez.js";
19
19
  import {
20
- Service57,
21
- node60
22
- } from "./variant-kmg4jv2q.js";
20
+ Service63,
21
+ node66
22
+ } from "./worktree-mnzq238h.js";
23
23
  import {
24
- Service19,
25
- node23
26
- } from "./variant-x9x1wca8.js";
24
+ Service30,
25
+ node34
26
+ } from "./worktree-050bv84r.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./variant-tdstcens.js";
30
+ } from "./worktree-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./variant-9rqn6x4v.js";
33
+ } from "./worktree-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service9,
38
+ Service: () => Service5,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer6,
42
- node: () => node11
41
+ layer: () => layer5,
42
+ node: () => node7
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service9 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service5 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer6 = Layer.effect(Service9, Effect.gen(function* () {
61
+ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
62
62
  const bus = yield* Service82;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service19;
65
- const store = yield* Service57;
64
+ const context = yield* Service30;
65
+ const store = yield* Service63;
66
66
  const db = (yield* Service83).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service9.of({ generate });
148
+ return Service5.of({ generate });
149
149
  }));
150
- var node11 = makeLocationNode({
151
- service: Service9,
152
- layer: layer6,
153
- deps: [node86, llmClient2, node23, node60, node87]
150
+ var node7 = makeLocationNode({
151
+ service: Service5,
152
+ layer: layer5,
153
+ deps: [node86, llmClient2, node34, node66, node87]
154
154
  });
155
155
 
156
- export { Service9, isUntitled2, layer6, node11, exports_title };
156
+ export { Service5, isUntitled2, layer5, node7, exports_title };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./variant-sghfg077.js";
3
+ } from "./worktree-0z8c9324.js";
4
4
  import {
5
5
  call2
6
- } from "./variant-1ygqh575.js";
6
+ } from "./worktree-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./variant-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
14
  Plugin: () => Plugin4,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://search.parallel.ai/mcp";
21
+ var endpoint3 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -69,7 +69,7 @@ var Plugin4 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin4 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint4, Plugin4, exports_parallel };
96
+ export { endpoint3, Plugin4, exports_parallel };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./variant-t1vey1sx.js";
4
+ } from "./worktree-0029brse.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./variant-wjjn3hja.js";
8
+ } from "./worktree-r5ec8tk0.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./variant-pknna89w.js";
11
+ } from "./worktree-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./variant-0q0f95c6.js";
14
+ } from "./worktree-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./variant-9rqn6x4v.js";
17
+ } from "./worktree-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
24
- ID: () => ID15,
25
- Info: () => Info29,
23
+ Event: () => Event20,
24
+ ID: () => ID18,
25
+ Info: () => Info34,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service73,
28
+ Service: () => Service79,
29
29
  Value: () => Value2,
30
- node: () => node77
30
+ node: () => node82
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID15 = Credential.ID;
37
+ var ID18 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event18 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info34 extends Schema.Class("Credential.Info")({
44
+ id: ID18,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service73 extends Context.Service()("@opencode/Credential") {
51
+ class Service79 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service73, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
54
54
  const db = (yield* Service83).db;
55
55
  const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info34({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service73.of({
71
+ return Service79.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: ID15.create(),
79
+ const credential = new Info34({
80
+ id: ID18.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event18.Updated, {}, { global: true });
105
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event18.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event18.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node77 = makeGlobalNode({ service: Service73, layer, deps: [node87, node86] });
196
+ var node82 = makeGlobalNode({ service: Service79, layer, deps: [node87, node86] });
197
197
 
198
- export { ID15, OAuth3, Key4, Value2, Event18, Info29, Service73, node77, exports_credential };
198
+ export { ID18, OAuth3, Key4, Value2, Event20, Info34, Service79, node82, exports_credential };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin15
9
+ Plugin: () => Plugin12
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin15 = define({
14
+ var Plugin12 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin15 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin15, exports_mcp_codemode_exclusion };
37
+ export { Plugin12, exports_mcp_codemode_exclusion };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./variant-922hggd3.js";
5
+ } from "./worktree-922hggd3.js";
6
6
  import {
7
- Service66,
8
- node69
9
- } from "./variant-rkyj0vr4.js";
7
+ Service48,
8
+ node51
9
+ } from "./worktree-dk764wf3.js";
10
10
  import {
11
- Content3
12
- } from "./variant-nm9hpb8x.js";
11
+ Content2
12
+ } from "./worktree-9724qm49.js";
13
13
  import {
14
14
  detect2
15
- } from "./variant-3smtnn6g.js";
15
+ } from "./worktree-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./variant-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service12,
36
+ Service: () => Service7,
37
37
  TextPage: () => TextPage2,
38
- node: () => node14,
38
+ node: () => node9,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service12, Effect.gen(function* () {
330
- const environment = yield* Service66;
331
- return Service12.of({
329
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
330
+ const environment = yield* Service48;
331
+ return Service7.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node14 = makeLocationNode({ service: Service12, layer, deps: [node69] });
336
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [node51] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make19,
4
+ make20,
5
5
  diffByKey2
6
- } from "./variant-t550f9t1.js";
6
+ } from "./worktree-rhjbct0v.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./variant-5ekhjdzd.js";
9
+ } from "./worktree-mtthj00s.js";
10
10
  import {
11
- Service34,
12
- node36
13
- } from "./variant-g18gr89e.js";
11
+ Service38,
12
+ node41
13
+ } from "./worktree-bggj1spx.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./variant-pkgc53va.js";
16
+ name13
17
+ } from "./worktree-3eeqg3ch.js";
18
18
  import {
19
19
  __export
20
- } from "./variant-9rqn6x4v.js";
20
+ } from "./worktree-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions5 = {};
24
- __export(exports_instructions5, {
25
- McpInstructions: () => exports_instructions5,
26
- Service: () => Service32,
27
- layer: () => layer13,
28
- node: () => node34
23
+ var exports_instructions2 = {};
24
+ __export(exports_instructions2, {
25
+ McpInstructions: () => exports_instructions2,
26
+ Service: () => Service31,
27
+ layer: () => layer12,
28
+ node: () => node35
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,13 +61,13 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service32 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service31 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer13 = Layer.effect(Service32, Effect.gen(function* () {
67
- const mcp = yield* Service34;
68
- return Service32.of({
66
+ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
67
+ const mcp = yield* Service38;
68
+ return Service31.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make19({
70
+ const source = (value) => make20({
71
71
  key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
@@ -86,7 +86,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node34 = makeLocationNode({ service: Service32, layer: layer13, deps: [node36] });
99
+ var node35 = makeLocationNode({ service: Service31, layer: layer12, deps: [node41] });
100
100
 
101
- export { Service32, layer13, node34, exports_instructions5 };
101
+ export { Service31, layer12, node35, exports_instructions2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./variant-emrn6kk6.js";
3
+ } from "./worktree-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./variant-63t418ew.js";
6
+ } from "./worktree-f40tx9v5.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./variant-brs92t9y.js";
9
+ } from "./worktree-5j6r72e5.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service40
3
- } from "./variant-2p6dchyf.js";
2
+ Service47
3
+ } from "./worktree-nq9nxgcr.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./variant-922hggd3.js";
6
+ } from "./worktree-922hggd3.js";
7
7
  import {
8
8
  Service76
9
- } from "./variant-2wse4pe0.js";
9
+ } from "./worktree-ncv4r2bp.js";
10
10
  import {
11
- Service39
12
- } from "./variant-5n7wdh8h.js";
11
+ Service46
12
+ } from "./worktree-jtz05rza.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source3
17
- } from "./variant-qxxgnsfr.js";
17
+ } from "./worktree-1ay3g9r2.js";
18
18
  import {
19
- Service8
20
- } from "./variant-rhafb4aa.js";
19
+ Service9
20
+ } from "./worktree-pnv527nz.js";
21
21
  import {
22
22
  parse2
23
- } from "./variant-6mvzryz6.js";
23
+ } from "./worktree-dje2ev5t.js";
24
24
  import {
25
25
  __export
26
- } from "./variant-9rqn6x4v.js";
26
+ } from "./worktree-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill2 = {};
30
- __export(exports_skill2, {
31
- ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin26
29
+ var exports_skill3 = {};
30
+ __export(exports_skill3, {
31
+ ConfigSkillPlugin: () => exports_skill3,
32
+ Plugin: () => Plugin33
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin26 = define({
39
+ var Plugin33 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service39;
43
- const discovery = yield* Service8;
42
+ const config = yield* Service46;
43
+ const discovery = yield* Service9;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service76;
47
- const watcher = yield* Service40;
47
+ const watcher = yield* Service47;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin26 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin26, exports_skill2 };
179
+ export { Plugin33, exports_skill3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./variant-gd4qta3r.js";
3
+ } from "./worktree-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./variant-tvtrv512.js";
6
+ } from "./worktree-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./variant-rdw6cm16.js";
9
+ } from "./worktree-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./variant-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service42,
21
+ Service: () => Service57,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node44
23
+ node: () => node59
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service42 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service57 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service42, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service42.of({
125
+ return Service57.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node44 = makeLocationNode({
143
- service: Service42,
142
+ var node59 = makeLocationNode({
143
+ service: Service57,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service42, node44, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service57, node59, exports_tool_output2 };