@opencode/core 0.0.0-dev-20213 → 0.0.0-dev-20215

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 (816) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{permission-3vdha7ev.js → worktree-01nwxe82.js} +11 -11
  8. package/dist/chunks/{permission-kwy1393n.js → worktree-0bdrcw2s.js} +2 -2
  9. package/dist/chunks/{permission-427t97hr.js → worktree-0bfcnrg1.js} +1 -1
  10. package/dist/chunks/{permission-1mdmpwnd.js → worktree-0d4mnv31.js} +17 -17
  11. package/dist/chunks/{permission-0e93ex8d.js → worktree-0fzv9h34.js} +18 -18
  12. package/dist/chunks/{permission-7ajw325d.js → worktree-0j68vngr.js} +10 -10
  13. package/dist/chunks/{permission-qvz1qsfj.js → worktree-0k3fqexr.js} +7 -7
  14. package/dist/chunks/{permission-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{permission-6qr54s4x.js → worktree-0r0ksm42.js} +18 -18
  16. package/dist/chunks/{permission-dtjm6rxg.js → worktree-0rbtyk3w.js} +10 -10
  17. package/dist/chunks/{permission-4c7gxc1e.js → worktree-0v5qhdm7.js} +48 -48
  18. package/dist/chunks/{permission-y58vyra2.js → worktree-1arnrgt5.js} +8 -8
  19. package/dist/chunks/{permission-eq1pz5kg.js → worktree-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{permission-h4s9yzmg.js → worktree-1chzq234.js} +5 -5
  21. package/dist/chunks/{permission-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{permission-66d4mk0n.js → worktree-1ft64m98.js} +9 -9
  23. package/dist/chunks/{permission-azpvescy.js → worktree-1hgzjtp2.js} +8 -8
  24. package/dist/chunks/{permission-2f1p5z3m.js → worktree-1jvcwpzv.js} +4 -4
  25. package/dist/chunks/{permission-c3xmfx7z.js → worktree-1xpaaevk.js} +23 -23
  26. package/dist/chunks/{permission-dzwwpm14.js → worktree-1zj7c1b9.js} +35 -41
  27. package/dist/chunks/{permission-21r38tys.js → worktree-21r38tys.js} +1 -1
  28. package/dist/chunks/{permission-sfw1rfb7.js → worktree-2384dzxb.js} +25 -25
  29. package/dist/chunks/{permission-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
  30. package/dist/chunks/{permission-phg2e2sn.js → worktree-27zhgsem.js} +4 -4
  31. package/dist/chunks/{permission-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{permission-vyyd9re9.js → worktree-2gcp25fc.js} +27 -27
  33. package/dist/chunks/{permission-5mtpdy66.js → worktree-2ggx711d.js} +23 -23
  34. package/dist/chunks/{permission-2k8khapm.js → worktree-2k8khapm.js} +1 -1
  35. package/dist/chunks/{permission-2kfwyj8t.js → worktree-2sscpfbp.js} +36 -36
  36. package/dist/chunks/{permission-1ygqh575.js → worktree-33w4ejhs.js} +6 -6
  37. package/dist/chunks/{permission-b8z6cgx4.js → worktree-3c8jswt4.js} +23 -23
  38. package/dist/chunks/{permission-0j1gq5q0.js → worktree-3cvzpexn.js} +19 -19
  39. package/dist/chunks/{permission-qhqpvhks.js → worktree-3e18wkss.js} +33 -33
  40. package/dist/chunks/{permission-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{permission-2yjs42jw.js → worktree-3he9s93f.js} +14 -14
  42. package/dist/chunks/{permission-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{permission-e3vvqy9k.js → worktree-3j8dagdk.js} +33 -33
  44. package/dist/chunks/{permission-90yk3ysx.js → worktree-3k8b8397.js} +11 -11
  45. package/dist/chunks/{permission-f62qkzqr.js → worktree-3qaj82j9.js} +5 -5
  46. package/dist/chunks/{permission-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{permission-j5b7jc6z.js → worktree-3t40p5r2.js} +14 -14
  48. package/dist/chunks/{permission-cbt43t9n.js → worktree-3t7mm76h.js} +20 -20
  49. package/dist/chunks/{permission-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{permission-2e6ckx7j.js → worktree-3vhzm9vc.js} +15 -15
  51. package/dist/chunks/{permission-hhfcwf9e.js → worktree-3zkmgewa.js} +16 -16
  52. package/dist/chunks/{permission-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{permission-4dgbcxzg.js → worktree-44h5tttr.js} +4 -4
  54. package/dist/chunks/worktree-4chajvys.js +252 -0
  55. package/dist/chunks/{permission-9cn86291.js → worktree-4da46de2.js} +27 -27
  56. package/dist/chunks/{permission-2f3cmjw6.js → worktree-4nhngmcq.js} +35 -35
  57. package/dist/chunks/{permission-v1phcrt4.js → worktree-51kfgev1.js} +15 -15
  58. package/dist/chunks/{permission-ckecvw8r.js → worktree-54tcyq79.js} +2 -2
  59. package/dist/chunks/{permission-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  60. package/dist/chunks/{permission-0s95rqpb.js → worktree-5kwfr1e0.js} +25 -25
  61. package/dist/chunks/{permission-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{permission-v7fphmzy.js → worktree-5xhdg7n0.js} +20 -20
  63. package/dist/chunks/{permission-nh53w5qr.js → worktree-5xv65hkg.js} +33 -33
  64. package/dist/chunks/{permission-edqzwk7r.js → worktree-60z3krt2.js} +13 -13
  65. package/dist/chunks/{permission-8ra6m1eq.js → worktree-659sfxq9.js} +13 -13
  66. package/dist/chunks/{permission-9n7em7a6.js → worktree-65tps2j5.js} +15 -15
  67. package/dist/chunks/{permission-669tq793.js → worktree-669tq793.js} +1 -1
  68. package/dist/chunks/{permission-7zmt5esb.js → worktree-674nz3pn.js} +26 -26
  69. package/dist/chunks/{permission-8vkgrzpx.js → worktree-6893nb2p.js} +308 -308
  70. package/dist/chunks/{permission-3kc2a4v3.js → worktree-6f5meky0.js} +44 -44
  71. package/dist/chunks/worktree-6kdq0pjd.js +4 -0
  72. package/dist/chunks/{permission-1n2xgvd9.js → worktree-6krmax6q.js} +5 -5
  73. package/dist/chunks/{permission-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{permission-6ckptgem.js → worktree-72mty36f.js} +11 -11
  75. package/dist/chunks/{permission-atf3k7a1.js → worktree-7b6f2pz4.js} +3 -3
  76. package/dist/chunks/{permission-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{permission-n8zrmqva.js → worktree-7eezvbx7.js} +24 -24
  78. package/dist/chunks/{permission-dh3byjre.js → worktree-7gt3e72m.js} +22 -22
  79. package/dist/chunks/{permission-kwdb2g4j.js → worktree-7sxxv0k9.js} +15 -15
  80. package/dist/chunks/{permission-xzf49dj8.js → worktree-7t5fpg5d.js} +12 -12
  81. package/dist/chunks/{permission-kd9ezq8v.js → worktree-80n4v3ph.js} +11 -11
  82. package/dist/chunks/{permission-0r7yqxbf.js → worktree-8cmvxv2n.js} +5 -5
  83. package/dist/chunks/{permission-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{permission-0cncm6aq.js → worktree-8m4g0388.js} +26 -26
  85. package/dist/chunks/{permission-d6xxazjr.js → worktree-8qbj2xnf.js} +16 -16
  86. package/dist/chunks/{permission-p8nvvwdr.js → worktree-92zh7pxv.js} +9 -9
  87. package/dist/chunks/{permission-sb7tcqzb.js → worktree-95v9dhdk.js} +14 -14
  88. package/dist/chunks/{permission-s4wvmj1w.js → worktree-961mqe0b.js} +11 -11
  89. package/dist/chunks/{permission-wfvt68ck.js → worktree-96ak3467.js} +15 -15
  90. package/dist/chunks/{permission-8dshm500.js → worktree-9e5ez0z2.js} +18 -24
  91. package/dist/chunks/{permission-fy4kd91z.js → worktree-9t5s1r97.js} +9 -9
  92. package/dist/chunks/{permission-ar2nsrmg.js → worktree-9zraknnh.js} +30 -30
  93. package/dist/chunks/{permission-gs3s1a1g.js → worktree-a2qe2ev9.js} +8 -8
  94. package/dist/chunks/{permission-pczk21ak.js → worktree-a4p2e6yr.js} +6 -6
  95. package/dist/chunks/{permission-3b4xyg7r.js → worktree-a8nvjzqv.js} +8 -8
  96. package/dist/chunks/{permission-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  97. package/dist/chunks/{permission-s1xcavbq.js → worktree-axtbgcsn.js} +5 -5
  98. package/dist/chunks/{permission-hcxar3dy.js → worktree-aybmmbc8.js} +31 -31
  99. package/dist/chunks/{permission-0kbqr9rx.js → worktree-b047h9s9.js} +17 -17
  100. package/dist/chunks/{permission-cysjgskk.js → worktree-b5pxe27k.js} +26 -26
  101. package/dist/chunks/{permission-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{permission-j83byb14.js → worktree-bct739vz.js} +4 -4
  103. package/dist/chunks/{permission-z07pqspn.js → worktree-bjtzbw4r.js} +3 -3
  104. package/dist/chunks/{permission-2f8yw4sv.js → worktree-bng40jb9.js} +9 -9
  105. package/dist/chunks/{permission-d87fqded.js → worktree-bqrh5ykt.js} +9 -9
  106. package/dist/chunks/{permission-gjmk74th.js → worktree-bw9zjykr.js} +6 -6
  107. package/dist/chunks/{permission-9qxp4dy9.js → worktree-c39c3jzn.js} +12 -12
  108. package/dist/chunks/{permission-w3nq1sqw.js → worktree-c8jj867k.js} +9 -9
  109. package/dist/chunks/{permission-3e4s6ymp.js → worktree-caszb10r.js} +24 -24
  110. package/dist/chunks/{permission-e7wwe935.js → worktree-cn3880dm.js} +3 -3
  111. package/dist/chunks/{permission-djszqvmq.js → worktree-cpneeje0.js} +9 -9
  112. package/dist/chunks/{permission-jfzzff3q.js → worktree-cxn44tg0.js} +3 -3
  113. package/dist/chunks/{permission-t6vsspdg.js → worktree-d216944b.js} +4 -4
  114. package/dist/chunks/{permission-bvma8vez.js → worktree-d4gc91s6.js} +16 -16
  115. package/dist/chunks/{permission-2w6fc0zt.js → worktree-d9s573fh.js} +7 -7
  116. package/dist/chunks/{permission-pjym4tm7.js → worktree-d9vsz0nw.js} +17 -17
  117. package/dist/chunks/{permission-277eer69.js → worktree-dj68pnee.js} +4 -4
  118. package/dist/chunks/{permission-dmqcgk4z.js → worktree-dmqcgk4z.js} +2 -2
  119. package/dist/chunks/{permission-3t5wgsns.js → worktree-dqt0xvez.js} +5 -8
  120. package/dist/chunks/{permission-xfkkasph.js → worktree-drwq78ky.js} +4 -4
  121. package/dist/chunks/{permission-akzxnx93.js → worktree-dt5mtb60.js} +11 -11
  122. package/dist/chunks/{permission-bcj24as6.js → worktree-dx2x7qh9.js} +35 -35
  123. package/dist/chunks/{permission-c3aqhckj.js → worktree-dx8w7vfp.js} +10 -10
  124. package/dist/chunks/{permission-bhjmc7t3.js → worktree-e14rzxnr.js} +33 -33
  125. package/dist/chunks/{permission-rjq23j7t.js → worktree-e32cc78a.js} +86 -86
  126. package/dist/chunks/{permission-waz4nkqe.js → worktree-e81dr17b.js} +4 -4
  127. package/dist/chunks/{permission-q83vp15h.js → worktree-e9r79r8d.js} +9 -9
  128. package/dist/chunks/{permission-rhjbct0v.js → worktree-eaj1djv9.js} +8 -8
  129. package/dist/chunks/{permission-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
  130. package/dist/chunks/{permission-bm1f71yt.js → worktree-eeaf82dq.js} +8 -8
  131. package/dist/chunks/{permission-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{permission-6kda1prh.js → worktree-ejmtyfyw.js} +26 -26
  133. package/dist/chunks/{permission-a5zd3thz.js → worktree-ekhm0sea.js} +7 -7
  134. package/dist/chunks/{permission-ahnsdqkq.js → worktree-em8v7a32.js} +30 -30
  135. package/dist/chunks/{permission-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{permission-x9wbmrd5.js → worktree-ewbjc8wa.js} +21 -21
  137. package/dist/chunks/{permission-g8h1n5y5.js → worktree-ex8c9819.js} +9 -9
  138. package/dist/chunks/{permission-k9avtbwf.js → worktree-eyz64kwr.js} +7 -14
  139. package/dist/chunks/{permission-2wsqpdn5.js → worktree-ezg02vs1.js} +13 -13
  140. package/dist/chunks/{permission-6nkvgkq9.js → worktree-f1kzstbv.js} +26 -26
  141. package/dist/chunks/{permission-byy3mcv6.js → worktree-f77nxt0h.js} +22 -22
  142. package/dist/chunks/{permission-nq7qbqzc.js → worktree-f7j90zp2.js} +2 -2
  143. package/dist/chunks/{permission-ry74s6py.js → worktree-f9ag4zkz.js} +23 -23
  144. package/dist/chunks/{permission-30t0f9bf.js → worktree-fe8ssjsg.js} +174 -174
  145. package/dist/chunks/{permission-64j1dnk2.js → worktree-fex7j0m5.js} +13 -13
  146. package/dist/chunks/{permission-qtt8rjvb.js → worktree-fferps3m.js} +17 -17
  147. package/dist/chunks/{permission-b8hzf7nw.js → worktree-fgewnttk.js} +8 -8
  148. package/dist/chunks/{permission-b5q3ry10.js → worktree-fj30x8t9.js} +21 -21
  149. package/dist/chunks/{permission-dt5ft21v.js → worktree-fv23f2g8.js} +3 -3
  150. package/dist/chunks/{permission-5zgzw0qf.js → worktree-gafemadt.js} +89 -89
  151. package/dist/chunks/{permission-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{permission-t23bgkkb.js → worktree-gdv4qzn0.js} +41 -41
  153. package/dist/chunks/{permission-94ek1h2f.js → worktree-gfvb90ym.js} +2 -2
  154. package/dist/chunks/{permission-wsa7qf31.js → worktree-ggceqynt.js} +11 -11
  155. package/dist/chunks/{permission-7t6cswfs.js → worktree-gken7ajx.js} +14 -14
  156. package/dist/chunks/{permission-001w0r38.js → worktree-gnhsmmqn.js} +6 -6
  157. package/dist/chunks/{permission-bwhsz0as.js → worktree-gpb9r3qt.js} +9 -9
  158. package/dist/chunks/{permission-68c3zqnv.js → worktree-gq56w217.js} +5 -5
  159. package/dist/chunks/{permission-fw2v9256.js → worktree-gs4tkc79.js} +8 -8
  160. package/dist/chunks/{permission-5ryghfxb.js → worktree-gx48bf3k.js} +8 -8
  161. package/dist/chunks/{permission-zbnnn9xp.js → worktree-gx5nrd37.js} +13 -13
  162. package/dist/chunks/{permission-gqaynh57.js → worktree-gyqt3txq.js} +18 -18
  163. package/dist/chunks/{permission-d159wxah.js → worktree-h22tcczk.js} +8 -8
  164. package/dist/chunks/{permission-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{permission-m1av9y51.js → worktree-hdkzdw1f.js} +16 -16
  166. package/dist/chunks/{permission-5kvqrqtt.js → worktree-hnr8f6ws.js} +4 -4
  167. package/dist/chunks/{permission-ggn2q8wb.js → worktree-hxghybcg.js} +6 -6
  168. package/dist/chunks/{permission-v7s9yhmd.js → worktree-j3b38fkc.js} +5 -5
  169. package/dist/chunks/{permission-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  170. package/dist/chunks/{permission-nng2ktcm.js → worktree-jca4demv.js} +2 -2
  171. package/dist/chunks/{permission-tvgvprj8.js → worktree-jjk7p82s.js} +28 -28
  172. package/dist/chunks/{permission-ft0hsrhm.js → worktree-jwjamgbd.js} +22 -22
  173. package/dist/chunks/{permission-fhp4k3j9.js → worktree-jwtb7ds2.js} +54 -54
  174. package/dist/chunks/{permission-m9q6nt69.js → worktree-jypr9n4v.js} +24 -24
  175. package/dist/chunks/{permission-va5qff5x.js → worktree-jz5sxy2v.js} +6 -6
  176. package/dist/chunks/{permission-296txdq9.js → worktree-k33k5sgz.js} +1 -1
  177. package/dist/chunks/{permission-k3c624dm.js → worktree-k3c624dm.js} +3 -3
  178. package/dist/chunks/{permission-2b0a6zyh.js → worktree-k4xjzc9h.js} +7 -7
  179. package/dist/chunks/{permission-jp1j8mt2.js → worktree-k6qbet7y.js} +42 -42
  180. package/dist/chunks/{permission-c1w29199.js → worktree-k7s9b0vb.js} +3 -3
  181. package/dist/chunks/{permission-efhxkz2r.js → worktree-kbrhjmmj.js} +6 -22
  182. package/dist/chunks/{permission-hasdsx5m.js → worktree-kh5y7dsa.js} +26 -26
  183. package/dist/chunks/{permission-gs60z27v.js → worktree-kj6zq9q4.js} +8 -8
  184. package/dist/chunks/{permission-4wa8rwpk.js → worktree-kmnyjx2j.js} +20 -20
  185. package/dist/chunks/{permission-swpyer75.js → worktree-ktvcadya.js} +12 -12
  186. package/dist/chunks/{permission-r1najpkt.js → worktree-kvkgejfx.js} +14 -14
  187. package/dist/chunks/{permission-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{permission-52ydpxj4.js → worktree-m75a1scj.js} +11 -11
  189. package/dist/chunks/{permission-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{permission-cavr175a.js → worktree-magykp64.js} +4 -4
  191. package/dist/chunks/{permission-bgbzcg1n.js → worktree-mjk1w6qm.js} +5 -5
  192. package/dist/chunks/{permission-sbfe9m0d.js → worktree-n3h0vr51.js} +8 -8
  193. package/dist/chunks/{permission-0te0zncg.js → worktree-n45vtd7p.js} +10 -10
  194. package/dist/chunks/{permission-baaqp4zd.js → worktree-n4r3xatb.js} +4 -4
  195. package/dist/chunks/{permission-9qepf6xg.js → worktree-n8zk10z2.js} +12 -12
  196. package/dist/chunks/{permission-s4sz7mfv.js → worktree-n9hm6cyq.js} +17 -17
  197. package/dist/chunks/{permission-0jq9fyba.js → worktree-njhqdk9p.js} +9 -9
  198. package/dist/chunks/{permission-zy255zeq.js → worktree-nn6yf1qt.js} +318 -318
  199. package/dist/chunks/{permission-p37cw4rj.js → worktree-p37cw4rj.js} +1 -1
  200. package/dist/chunks/{permission-3p3dzcr7.js → worktree-pc7a78kv.js} +72 -72
  201. package/dist/chunks/{permission-vy6b5em3.js → worktree-pcn71y31.js} +8 -8
  202. package/dist/chunks/{permission-mws41bry.js → worktree-pd6w8b01.js} +23 -23
  203. package/dist/chunks/{permission-0br3sbwn.js → worktree-pgp1nwjn.js} +4 -4
  204. package/dist/chunks/{permission-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{permission-pknna89w.js → worktree-pknna89w.js} +1 -1
  206. package/dist/chunks/{permission-wd3x2cqz.js → worktree-psazpmmj.js} +2 -2
  207. package/dist/chunks/{permission-mmnvkg4r.js → worktree-psf552px.js} +22 -22
  208. package/dist/chunks/{permission-by1p8q1p.js → worktree-pttk24fx.js} +54 -54
  209. package/dist/chunks/{permission-fv1d8yds.js → worktree-pvecmqrq.js} +48 -48
  210. package/dist/chunks/{permission-mzqkw4fg.js → worktree-q10fqe6z.js} +10 -10
  211. package/dist/chunks/{permission-ae12mqtr.js → worktree-q3d9qgrv.js} +5 -5
  212. package/dist/chunks/{permission-7w99qc9d.js → worktree-q3t37ft6.js} +3 -3
  213. package/dist/chunks/{permission-2gwzkvcr.js → worktree-q86ksqw5.js} +29 -29
  214. package/dist/chunks/{permission-dwd5gn3v.js → worktree-qany4v32.js} +39 -39
  215. package/dist/chunks/worktree-qc068m1q.js +18 -0
  216. package/dist/chunks/{permission-tts6w2c0.js → worktree-qecp8fbz.js} +11 -11
  217. package/dist/chunks/{permission-1sag5cbk.js → worktree-qgqfqnbd.js} +12 -12
  218. package/dist/chunks/worktree-qj6bq7hm.js +26 -0
  219. package/dist/chunks/{permission-bv5rrht5.js → worktree-qkk2rr8y.js} +38 -38
  220. package/dist/chunks/{permission-fdcp7117.js → worktree-qrevjn02.js} +32 -32
  221. package/dist/chunks/{permission-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  222. package/dist/chunks/{permission-5yqs442z.js → worktree-qysgwets.js} +11 -11
  223. package/dist/chunks/{permission-2tdz4740.js → worktree-r23pbb8t.js} +26 -26
  224. package/dist/chunks/{permission-ej53mqpx.js → worktree-r5v4xwkj.js} +39 -39
  225. package/dist/chunks/{permission-444gg6f1.js → worktree-r775761k.js} +23 -23
  226. package/dist/chunks/{permission-1acjjqhc.js → worktree-r8xr0va3.js} +4 -4
  227. package/dist/chunks/{permission-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{permission-rd9rk3dn.js → worktree-rf68yed4.js} +4 -4
  229. package/dist/chunks/{permission-2xwkyk0m.js → worktree-rkdvqggb.js} +5 -5
  230. package/dist/chunks/{permission-8sze2n9a.js → worktree-rkprpv83.js} +6 -6
  231. package/dist/chunks/{permission-z10j5g1a.js → worktree-rp0b7fvm.js} +30 -30
  232. package/dist/chunks/{permission-zeh9ct20.js → worktree-rq775frq.js} +2 -2
  233. package/dist/chunks/{permission-awhgk454.js → worktree-rxmj2525.js} +5 -5
  234. package/dist/chunks/{permission-cfgnp1rp.js → worktree-s1xp2azn.js} +32 -32
  235. package/dist/chunks/{permission-4y72ap3v.js → worktree-s2ynmxvy.js} +12 -12
  236. package/dist/chunks/{permission-syf57q56.js → worktree-s30fyz93.js} +4 -4
  237. package/dist/chunks/{permission-ycjqhn27.js → worktree-s6qgj9yb.js} +11 -11
  238. package/dist/chunks/{permission-5szfgc5e.js → worktree-s8h5ed1j.js} +17 -17
  239. package/dist/chunks/{permission-3vtdnh8g.js → worktree-shcgk7se.js} +6 -6
  240. package/dist/chunks/{permission-w54cm820.js → worktree-shhg5kc4.js} +21 -21
  241. package/dist/chunks/{permission-7qafvgtc.js → worktree-sqgjnw45.js} +1 -1
  242. package/dist/chunks/{permission-g3gqqgf2.js → worktree-sssfkgzr.js} +11 -11
  243. package/dist/chunks/{permission-1egaj4wt.js → worktree-swsbd73k.js} +15 -15
  244. package/dist/chunks/{permission-dj9sq318.js → worktree-t2vpa3bp.js} +5 -5
  245. package/dist/chunks/{permission-9hrb99b0.js → worktree-t2yvaxt4.js} +4 -4
  246. package/dist/chunks/{permission-3cemp78t.js → worktree-t4km5p4j.js} +23 -23
  247. package/dist/chunks/{permission-4phm5153.js → worktree-t4mbtemh.js} +5 -5
  248. package/dist/chunks/{permission-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  249. package/dist/chunks/{permission-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  250. package/dist/chunks/{permission-tdstcens.js → worktree-tdstcens.js} +1 -1
  251. package/dist/chunks/{permission-e8bjwr6g.js → worktree-tpp8915p.js} +32 -32
  252. package/dist/chunks/{permission-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  253. package/dist/chunks/{permission-ayqmgy5k.js → worktree-v75ben0y.js} +11 -11
  254. package/dist/chunks/{permission-bd96rvy0.js → worktree-vc7dggtw.js} +20 -20
  255. package/dist/chunks/{permission-jkv26egb.js → worktree-vdcyv8vc.js} +10 -10
  256. package/dist/chunks/{permission-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  257. package/dist/chunks/{permission-pyqpzv5h.js → worktree-vkxhpebf.js} +9 -9
  258. package/dist/chunks/{permission-274ea90s.js → worktree-vrxvw0ry.js} +43 -43
  259. package/dist/chunks/{permission-fad6j005.js → worktree-vtgtp4yy.js} +8 -8
  260. package/dist/chunks/{permission-07770t2t.js → worktree-vx8g7p8m.js} +8 -8
  261. package/dist/chunks/{permission-m3zza4qd.js → worktree-vz7d5c1g.js} +8 -8
  262. package/dist/chunks/{permission-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  263. package/dist/chunks/{permission-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
  264. package/dist/chunks/{permission-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{permission-j15mfg1p.js → worktree-w4arg62q.js} +6 -6
  266. package/dist/chunks/{permission-ecw0cacm.js → worktree-w7ams0n7.js} +43 -43
  267. package/dist/chunks/{permission-7tfdw4kn.js → worktree-waa26gy5.js} +19 -19
  268. package/dist/chunks/{permission-n75dgb1y.js → worktree-wagw3cnt.js} +36 -36
  269. package/dist/chunks/{permission-wd87259q.js → worktree-wd87259q.js} +1 -1
  270. package/dist/chunks/{permission-jyjnbdry.js → worktree-wedrxhxr.js} +6 -6
  271. package/dist/chunks/{permission-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  272. package/dist/chunks/{permission-5v6ecpn9.js → worktree-x3x9tpbc.js} +17 -17
  273. package/dist/chunks/{permission-01ffsn2j.js → worktree-xg31f8ct.js} +15 -15
  274. package/dist/chunks/{permission-0qxhqs63.js → worktree-xycfn4ya.js} +20 -20
  275. package/dist/chunks/{permission-6aesvrx9.js → worktree-xznnvfjn.js} +20 -20
  276. package/dist/chunks/{permission-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{permission-9f7mwg51.js → worktree-y2zgx20r.js} +3 -3
  278. package/dist/chunks/{permission-y71avatq.js → worktree-y71avatq.js} +1 -1
  279. package/dist/chunks/{permission-13apfhb0.js → worktree-ya6t0hrg.js} +20 -20
  280. package/dist/chunks/{permission-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{permission-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  282. package/dist/chunks/{permission-w491vddx.js → worktree-yskbjwxr.js} +25 -25
  283. package/dist/chunks/{permission-5x1p32da.js → worktree-ytnjtmra.js} +3 -3
  284. package/dist/chunks/{permission-2cmr90kh.js → worktree-yvpmtcpk.js} +7 -7
  285. package/dist/chunks/{permission-gv6a8nnw.js → worktree-yyb7tjpc.js} +2 -2
  286. package/dist/chunks/{permission-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  287. package/dist/chunks/{permission-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  288. package/dist/chunks/{permission-mvksx64m.js → worktree-zfps0aje.js} +4 -4
  289. package/dist/chunks/{permission-ktajhw28.js → worktree-zj4nggsa.js} +35 -35
  290. package/dist/chunks/{permission-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{permission-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +79 -79
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +121 -121
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +140 -140
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -106
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +82 -82
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +106 -106
  477. package/dist/mcp/instructions.js +128 -128
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +84 -84
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +99 -99
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +218 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +1 -1
  500. package/dist/plugin/internal.js +333 -333
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +94 -94
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +120 -120
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +120 -120
  527. package/dist/plugin/provider/openai.js +94 -94
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +161 -161
  542. package/dist/plugin/sdk.js +74 -74
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +348 -348
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +223 -223
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +86 -86
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +96 -96
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +132 -132
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +6 -8
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +219 -219
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +151 -151
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +75 -75
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +5 -117
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +210 -210
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +156 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +218 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +11 -11
  630. package/dist/shell.js +138 -138
  631. package/dist/skill/discovery.js +2 -2
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +106 -106
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +215 -215
  649. package/dist/tool/plugin/skill.js +107 -107
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +118 -118
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/types/file-access.d.ts +0 -5
  659. package/dist/types/location-services.d.ts +0 -1
  660. package/dist/types/session/error.d.ts +0 -4
  661. package/dist/types/session/runner/index.d.ts +2 -2
  662. package/dist/types/session/runner/retry.d.ts +0 -5
  663. package/dist/util/error-summary.js +1 -1
  664. package/dist/util/error.js +1 -1
  665. package/dist/util/git-executable.js +2 -2
  666. package/dist/util/iife.js +1 -1
  667. package/dist/util/lazy.js +1 -1
  668. package/dist/util/slug.js +1 -1
  669. package/dist/util/token.js +1 -1
  670. package/dist/util/which.js +1 -1
  671. package/dist/util/wildcard.js +1 -1
  672. package/dist/v1/config/agent.js +5 -5
  673. package/dist/v1/config/attachment.js +4 -4
  674. package/dist/v1/config/command.js +3 -3
  675. package/dist/v1/config/config.js +16 -16
  676. package/dist/v1/config/error.js +2 -2
  677. package/dist/v1/config/formatter.js +5 -5
  678. package/dist/v1/config/layout.js +1 -1
  679. package/dist/v1/config/lsp.js +5 -5
  680. package/dist/v1/config/mcp.js +4 -4
  681. package/dist/v1/config/migrate.js +92 -92
  682. package/dist/v1/config/permission.js +3 -3
  683. package/dist/v1/config/plugin.js +1 -1
  684. package/dist/v1/config/provider-options.js +1 -1
  685. package/dist/v1/config/provider.js +4 -4
  686. package/dist/v1/config/server.js +2 -2
  687. package/dist/v1/config/skills.js +3 -3
  688. package/dist/v1/permission.js +1 -1
  689. package/dist/variant.js +93 -93
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +89 -89
  692. package/dist/websearch.js +84 -84
  693. package/dist/wellknown/plugin.js +76 -76
  694. package/dist/wellknown.js +81 -81
  695. package/dist/workspace/driver.js +7 -7
  696. package/dist/workspace/sql.js +1 -1
  697. package/dist/workspace.js +80 -80
  698. package/dist/worktree/directory.js +2 -2
  699. package/dist/worktree/git.js +10 -10
  700. package/dist/worktree/sql.js +5 -5
  701. package/dist/worktree/strategies.js +89 -89
  702. package/dist/worktree.js +96 -96
  703. package/package.json +8 -14
  704. package/dist/chunks/permission-4v7qdvcn.js +0 -18
  705. package/dist/chunks/permission-9mjahchf.js +0 -252
  706. package/dist/chunks/permission-g3ch1sn9.js +0 -26
  707. package/dist/chunks/permission-qapv375x.js +0 -4
  708. package/dist/location-mutation.js +0 -118
  709. package/dist/types/location-mutation.d.ts +0 -3
  710. package/dist/types/util/array.d.ts +0 -1
  711. package/dist/types/util/process-lock-ffi.bun.d.ts +0 -12
  712. package/dist/types/util/process-lock-ffi.node.d.ts +0 -12
  713. package/dist/types/util/process-lock-ffi.workerd.d.ts +0 -12
  714. package/dist/types/util/process-lock.d.ts +0 -20
  715. package/dist/util/array.js +0 -12
  716. package/dist/util/process-lock-ffi.bun.js +0 -51
  717. package/dist/util/process-lock-ffi.node.js +0 -44
  718. package/dist/util/process-lock-ffi.workerd.js +0 -10
  719. package/dist/util/process-lock.js +0 -121
  720. /package/dist/chunks/{permission-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  721. /package/dist/chunks/{permission-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  722. /package/dist/chunks/{permission-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  723. /package/dist/chunks/{permission-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  724. /package/dist/chunks/{permission-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  725. /package/dist/chunks/{permission-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  726. /package/dist/chunks/{permission-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  727. /package/dist/chunks/{permission-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  728. /package/dist/chunks/{permission-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  729. /package/dist/chunks/{permission-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
  730. /package/dist/chunks/{permission-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  731. /package/dist/chunks/{permission-3asan66x.js → worktree-3asan66x.js} +0 -0
  732. /package/dist/chunks/{permission-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  733. /package/dist/chunks/{permission-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  734. /package/dist/chunks/{permission-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  735. /package/dist/chunks/{permission-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  736. /package/dist/chunks/{permission-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  737. /package/dist/chunks/{permission-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  738. /package/dist/chunks/{permission-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  739. /package/dist/chunks/{permission-53557ph1.js → worktree-53557ph1.js} +0 -0
  740. /package/dist/chunks/{permission-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  741. /package/dist/chunks/{permission-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  742. /package/dist/chunks/{permission-6prwharc.js → worktree-6prwharc.js} +0 -0
  743. /package/dist/chunks/{permission-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  744. /package/dist/chunks/{permission-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  745. /package/dist/chunks/{permission-822emrt2.js → worktree-822emrt2.js} +0 -0
  746. /package/dist/chunks/{permission-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  747. /package/dist/chunks/{permission-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  748. /package/dist/chunks/{permission-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  749. /package/dist/chunks/{permission-922hggd3.js → worktree-922hggd3.js} +0 -0
  750. /package/dist/chunks/{permission-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  751. /package/dist/chunks/{permission-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  752. /package/dist/chunks/{permission-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  753. /package/dist/chunks/{permission-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  754. /package/dist/chunks/{permission-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  755. /package/dist/chunks/{permission-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  756. /package/dist/chunks/{permission-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  757. /package/dist/chunks/{permission-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  758. /package/dist/chunks/{permission-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  759. /package/dist/chunks/{permission-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  760. /package/dist/chunks/{permission-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  761. /package/dist/chunks/{permission-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  762. /package/dist/chunks/{permission-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  763. /package/dist/chunks/{permission-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  764. /package/dist/chunks/{permission-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  765. /package/dist/chunks/{permission-df08tz66.js → worktree-df08tz66.js} +0 -0
  766. /package/dist/chunks/{permission-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  767. /package/dist/chunks/{permission-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  768. /package/dist/chunks/{permission-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  769. /package/dist/chunks/{permission-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  770. /package/dist/chunks/{permission-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  771. /package/dist/chunks/{permission-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  772. /package/dist/chunks/{permission-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  773. /package/dist/chunks/{permission-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  774. /package/dist/chunks/{permission-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  775. /package/dist/chunks/{permission-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  776. /package/dist/chunks/{permission-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  777. /package/dist/chunks/{permission-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  778. /package/dist/chunks/{permission-g86h250q.js → worktree-g86h250q.js} +0 -0
  779. /package/dist/chunks/{permission-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  780. /package/dist/chunks/{permission-gftt206x.js → worktree-gftt206x.js} +0 -0
  781. /package/dist/chunks/{permission-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  782. /package/dist/chunks/{permission-hk9envan.js → worktree-hk9envan.js} +0 -0
  783. /package/dist/chunks/{permission-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  784. /package/dist/chunks/{permission-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  785. /package/dist/chunks/{permission-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  786. /package/dist/chunks/{permission-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  787. /package/dist/chunks/{permission-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  788. /package/dist/chunks/{permission-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  789. /package/dist/chunks/{permission-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  790. /package/dist/chunks/{permission-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  791. /package/dist/chunks/{permission-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  792. /package/dist/chunks/{permission-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  793. /package/dist/chunks/{permission-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  794. /package/dist/chunks/{permission-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  795. /package/dist/chunks/{permission-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  796. /package/dist/chunks/{permission-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  797. /package/dist/chunks/{permission-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  798. /package/dist/chunks/{permission-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  799. /package/dist/chunks/{permission-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  800. /package/dist/chunks/{permission-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  801. /package/dist/chunks/{permission-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  802. /package/dist/chunks/{permission-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  803. /package/dist/chunks/{permission-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  804. /package/dist/chunks/{permission-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  805. /package/dist/chunks/{permission-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  806. /package/dist/chunks/{permission-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  807. /package/dist/chunks/{permission-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  808. /package/dist/chunks/{permission-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  809. /package/dist/chunks/{permission-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  810. /package/dist/chunks/{permission-x61499pn.js → worktree-x61499pn.js} +0 -0
  811. /package/dist/chunks/{permission-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  812. /package/dist/chunks/{permission-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  813. /package/dist/chunks/{permission-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  814. /package/dist/chunks/{permission-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  815. /package/dist/chunks/{permission-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  816. /package/dist/chunks/{permission-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./permission-2a5m3afh.js";
5
+ } from "./worktree-2a5m3afh.js";
6
6
  import {
7
- Service78
8
- } from "./permission-2yjs42jw.js";
7
+ Service80
8
+ } from "./worktree-3he9s93f.js";
9
9
  import {
10
- Service59
11
- } from "./permission-n8zrmqva.js";
10
+ Service48
11
+ } from "./worktree-7eezvbx7.js";
12
12
  import {
13
- Service21
14
- } from "./permission-9n7em7a6.js";
13
+ Service13
14
+ } from "./worktree-65tps2j5.js";
15
15
  import {
16
- Service25,
16
+ Service20,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./permission-edqzwk7r.js";
19
+ } from "./worktree-60z3krt2.js";
20
20
  import {
21
- Service66
22
- } from "./permission-by1p8q1p.js";
21
+ Service75
22
+ } from "./worktree-pttk24fx.js";
23
23
  import {
24
- Service24,
24
+ Service51,
25
25
  resolvePath2
26
- } from "./permission-8dshm500.js";
26
+ } from "./worktree-9e5ez0z2.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./permission-6prwharc.js";
29
+ } from "./worktree-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./permission-9rqn6x4v.js";
32
+ } from "./worktree-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input3,
39
- Output: () => Output2,
38
+ Input: () => Input9,
39
+ Output: () => Output6,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin20,
42
- name: () => name3,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin11,
42
+ name: () => name9,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name3 = "patch";
89
- var Input3 = Schema.Struct({
88
+ var name9 = "patch";
89
+ var Input9 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output2 = Schema.Struct({
99
+ var Output6 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent5 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin20 = {
108
+ var Plugin11 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service59;
112
- const access = yield* Service24;
113
- const fileMutation = yield* Service25;
114
- const formatter = yield* Service21;
115
- const location = yield* Service78;
116
- const permission = yield* Service66;
111
+ const environment = yield* Service48;
112
+ const access = yield* Service51;
113
+ const fileMutation = yield* Service20;
114
+ const formatter = yield* Service13;
115
+ const location = yield* Service80;
116
+ const permission = yield* Service75;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name3,
118
+ name: name9,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input3,
122
- output: Output2,
121
+ input: Input9,
122
+ output: Output6,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin20 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent5(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name3, Input3, Applied2, Output2, toModelContent2, Plugin20, exports_patch };
329
+ export { name9, Input9, Applied2, Output6, toModelContent5, Plugin11, exports_patch };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./permission-emrn6kk6.js";
4
+ } from "./worktree-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./permission-8vkgrzpx.js";
3
+ } from "./worktree-6893nb2p.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./permission-bhjmc7t3.js";
6
+ } from "./worktree-e14rzxnr.js";
7
7
  import {
8
8
  __export
9
- } from "./permission-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2
15
+ resolve: () => resolve4
16
16
  });
17
- function resolve2(model, supports = [{ type: "effort" }]) {
17
+ function resolve4(model, supports = [{ type: "effort" }]) {
18
18
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
19
19
  if (!protocol)
20
20
  return [];
@@ -491,4 +491,4 @@ var PROTOCOLS = {
491
491
  [aisdk2("@ai-sdk/cohere")]: cohere
492
492
  };
493
493
 
494
- export { resolve2, exports_variant };
494
+ export { resolve4, exports_variant };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service60,
3
- node63
4
- } from "./permission-6kda1prh.js";
2
+ Service35,
3
+ node39
4
+ } from "./worktree-ejmtyfyw.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  diffByKey2
10
- } from "./permission-rhjbct0v.js";
10
+ } from "./worktree-eaj1djv9.js";
11
11
  import {
12
12
  __export
13
- } from "./permission-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions4 = {};
17
17
  __export(exports_instructions4, {
18
18
  ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service35,
20
- node: () => node38
19
+ Service: () => Service31,
20
+ node: () => node34
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service35 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service35, Effect.gen(function* () {
63
- const references = yield* Service60;
64
- return Service35.of({
62
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
63
+ const references = yield* Service35;
64
+ return Service31.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make20({
72
- key: Key3.make("core/reference-guidance"),
71
+ return make21({
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node38 = makeLocationNode({ service: Service35, layer, deps: [node63] });
84
+ var node34 = makeLocationNode({ service: Service31, layer, deps: [node39] });
85
85
 
86
- export { Service35, node38, exports_instructions4 };
86
+ export { Service31, node34, exports_instructions4 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./permission-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  Info20,
6
- ID6,
6
+ ID7,
7
7
  Name2
8
- } from "./permission-gqaynh57.js";
8
+ } from "./worktree-gyqt3txq.js";
9
9
  import {
10
- Service43
11
- } from "./permission-t23bgkkb.js";
10
+ Service42
11
+ } from "./worktree-gdv4qzn0.js";
12
12
  import {
13
13
  __export
14
- } from "./permission-9rqn6x4v.js";
14
+ } from "./worktree-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill2 = {};
18
+ __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin17,
21
+ Plugin: () => Plugin33,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill2
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin17 = define({
428
+ var Plugin33 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
433
  editor.add(Info20.make({
434
- id: ID6.make("opencode"),
434
+ id: ID7.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
440
  editor.add(Info20.make({
441
- id: ID6.make("report"),
441
+ id: ID7.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service43;
469
+ const config = yield* Service42;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin17, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin33, exports_skill2 };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./permission-9hrb99b0.js";
5
+ } from "./worktree-t2yvaxt4.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./permission-7ajw325d.js";
7
+ Service67,
8
+ node71
9
+ } from "./worktree-0j68vngr.js";
10
10
  import {
11
11
  __export
12
- } from "./permission-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event9,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service58,
22
+ Service: () => Service46,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node61,
26
- resolve: () => resolve4
25
+ node: () => node49,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service58 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service46 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event9 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service58, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service82;
80
+ const kv = yield* Service67;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event9.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service58.of({
115
+ return Service46.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event9.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event9.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node61 = makeGlobalNode({ service: Service58, layer, deps: [httpClient, node86, node87] });
146
+ var node49 = makeGlobalNode({ service: Service46, layer, deps: [httpClient, node71, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service58, Event11, inspect2, resolve4, node61, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service46, Event9, inspect2, resolve3, node49, exports_wellknown };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./permission-9hrb99b0.js";
4
+ } from "./worktree-t2yvaxt4.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./permission-tazgh4e4.js";
9
+ } from "./worktree-tazgh4e4.js";
10
10
  import {
11
- Service78,
12
- node82
13
- } from "./permission-2yjs42jw.js";
11
+ Service80,
12
+ node84
13
+ } from "./worktree-3he9s93f.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./permission-rdw6cm16.js";
17
+ } from "./worktree-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./permission-9rqn6x4v.js";
20
+ } from "./worktree-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info31,
29
+ Info: () => Info3,
30
30
  Mode: () => Mode2,
31
- Service: () => Service77,
31
+ Service: () => Service14,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node81
33
+ node: () => node17
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info31, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service77 extends Context.Service()("@opencode/Vcs") {
48
+ class Service14 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service77, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service80;
53
53
  const bus = yield* Service83;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info31));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service77.of({
121
+ return Service14.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node81 = makeLocationNode({
168
- service: Service77,
167
+ var node17 = makeLocationNode({
168
+ service: Service14,
169
169
  layer,
170
- deps: [FSUtil.node, node82, node87]
170
+ deps: [FSUtil.node, node84, node87]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info31, Mode2, DiffError2, Service77, node81, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service14, node17, exports_vcs };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./permission-fv1d8yds.js";
3
+ } from "./worktree-pvecmqrq.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./permission-34c7v6d4.js";
6
+ } from "./worktree-34c7v6d4.js";
7
7
  import {
8
8
  __export
9
- } from "./permission-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./permission-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service84
3
- } from "./permission-atf3k7a1.js";
3
+ } from "./worktree-7b6f2pz4.js";
4
4
  import {
5
5
  Service83
6
- } from "./permission-9hrb99b0.js";
6
+ } from "./worktree-t2yvaxt4.js";
7
7
  import {
8
- Service51
9
- } from "./permission-gjmk74th.js";
8
+ Service62
9
+ } from "./worktree-bw9zjykr.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./permission-922hggd3.js";
12
+ } from "./worktree-922hggd3.js";
13
13
  import {
14
- ID4,
15
- Service48
16
- } from "./permission-hcxar3dy.js";
14
+ ID5,
15
+ Service45
16
+ } from "./worktree-aybmmbc8.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./permission-ec1grn59.js";
19
+ } from "./worktree-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./permission-gftt206x.js";
22
+ } from "./worktree-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./permission-k9avtbwf.js";
25
+ } from "./worktree-eyz64kwr.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./permission-z07pqspn.js";
28
+ } from "./worktree-bjtzbw4r.js";
29
29
  import {
30
30
  __export
31
- } from "./permission-9rqn6x4v.js";
31
+ } from "./worktree-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service51;
45
+ const instances = yield* Service62;
46
46
  const database = yield* Service84;
47
47
  const bus = yield* Service83;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service48;
50
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service45;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service51;
77
+ const instances = yield* Service62;
78
78
  const bus = yield* Service83;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service48;
80
+ const snapshot = yield* Service45;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID4.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });