@opencode/core 0.0.0-dev-19393 → 0.0.0-dev-19395

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-mutation-s36eea25.js → vcs-0j2ryfn1.js} +18 -18
  9. package/dist/chunks/{file-mutation-y14xz5fd.js → vcs-0j7ejgpp.js} +31 -31
  10. package/dist/chunks/{file-mutation-tmr9h4zs.js → vcs-0nkq71gm.js} +10 -10
  11. package/dist/chunks/{file-mutation-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-mutation-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{file-mutation-km7shbm8.js → vcs-0q8bjg63.js} +17 -17
  14. package/dist/chunks/{file-mutation-dafzyq9v.js → vcs-0xawnack.js} +9 -9
  15. package/dist/chunks/{file-mutation-w1rhahvp.js → vcs-0xjckwsk.js} +13 -13
  16. package/dist/chunks/{file-mutation-ha607pgt.js → vcs-0z1gmn2q.js} +6 -6
  17. package/dist/chunks/{file-mutation-qpxqmgt2.js → vcs-11tcp5y8.js} +4 -4
  18. package/dist/chunks/{file-mutation-ec8389mk.js → vcs-18e56dsp.js} +4 -4
  19. package/dist/chunks/{file-mutation-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{file-mutation-1eyaby9q.js → vcs-1eyaby9q.js} +2 -2
  21. package/dist/chunks/{file-mutation-tcaez8z7.js → vcs-1tj8392q.js} +16 -16
  22. package/dist/chunks/{file-mutation-21r38tys.js → vcs-21r38tys.js} +1 -1
  23. package/dist/chunks/{file-mutation-g8stra9y.js → vcs-231222c6.js} +4 -4
  24. package/dist/chunks/{file-mutation-gfz0jyfh.js → vcs-2314za0f.js} +17 -17
  25. package/dist/chunks/{file-mutation-6h73sxmp.js → vcs-2402vzrj.js} +5 -5
  26. package/dist/chunks/{file-mutation-kekx75qk.js → vcs-293305v0.js} +1 -1
  27. package/dist/chunks/{file-mutation-29x78va6.js → vcs-29x78va6.js} +2 -2
  28. package/dist/chunks/{file-mutation-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{file-mutation-as9sp7sj.js → vcs-2bdr22tc.js} +8 -8
  30. package/dist/chunks/{file-mutation-ss0awb04.js → vcs-2d57kztd.js} +6 -6
  31. package/dist/chunks/{file-mutation-yhd29gma.js → vcs-2gfstk4p.js} +4 -4
  32. package/dist/chunks/{file-mutation-7b15y959.js → vcs-2hyh68ab.js} +8 -8
  33. package/dist/chunks/{file-mutation-f5hjq1vh.js → vcs-2jscqjee.js} +12 -12
  34. package/dist/chunks/{file-mutation-7dqw4kz8.js → vcs-2k8khapm.js} +5 -5
  35. package/dist/chunks/{file-mutation-6jex2xta.js → vcs-2mnagb0e.js} +5 -5
  36. package/dist/chunks/{file-mutation-80wms6w9.js → vcs-2r3j351s.js} +36 -36
  37. package/dist/chunks/{file-mutation-m0c4px45.js → vcs-2skxfxks.js} +29 -29
  38. package/dist/chunks/{file-mutation-3zbb0e4x.js → vcs-2syw43ez.js} +9 -9
  39. package/dist/chunks/{file-mutation-9shade1g.js → vcs-322cebek.js} +27 -27
  40. package/dist/chunks/{file-mutation-nvgad3v2.js → vcs-344p1nha.js} +15 -15
  41. package/dist/chunks/{file-mutation-rkdvqggb.js → vcs-38adaqc0.js} +5 -5
  42. package/dist/chunks/{file-mutation-f79e7acg.js → vcs-39etbsth.js} +2 -2
  43. package/dist/chunks/{file-mutation-4jd5h8hr.js → vcs-3ac5ktn8.js} +6 -6
  44. package/dist/chunks/{file-mutation-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{file-mutation-jvybmm27.js → vcs-3gja20hk.js} +25 -25
  46. package/dist/chunks/{file-mutation-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{file-mutation-gx1zhcta.js → vcs-3jp54z3r.js} +1 -1
  48. package/dist/chunks/{file-mutation-gb9kwzg5.js → vcs-3pjbzg35.js} +19 -19
  49. package/dist/chunks/{file-mutation-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{file-mutation-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{file-mutation-gb6mvkxt.js → vcs-3v6f0sxy.js} +11 -11
  52. package/dist/chunks/{file-mutation-b45nt1f1.js → vcs-42af65r7.js} +11 -11
  53. package/dist/chunks/{file-mutation-m42b0bke.js → vcs-42kdhqse.js} +3 -3
  54. package/dist/chunks/{file-mutation-vvcwpm63.js → vcs-42sz070e.js} +13 -13
  55. package/dist/chunks/{file-mutation-49w8mb30.js → vcs-49w8mb30.js} +3 -3
  56. package/dist/chunks/{file-mutation-7ncadwe6.js → vcs-4peq52f2.js} +10 -10
  57. package/dist/chunks/vcs-4qn8k3dd.js +22 -0
  58. package/dist/chunks/{file-mutation-42b6pzh7.js → vcs-4x8h2e2v.js} +8 -8
  59. package/dist/chunks/{file-mutation-56gdpj1q.js → vcs-56gdpj1q.js} +2 -2
  60. package/dist/chunks/{file-mutation-56xqqp2b.js → vcs-56y38jfj.js} +6 -6
  61. package/dist/chunks/{file-mutation-nx72h4d9.js → vcs-5bqf1j7p.js} +12 -12
  62. package/dist/chunks/{file-mutation-5daktx2q.js → vcs-5daktx2q.js} +1 -1
  63. package/dist/chunks/{file-mutation-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{file-mutation-08z5qwsn.js → vcs-5trk58xb.js} +8 -8
  65. package/dist/chunks/{file-mutation-q5th50z6.js → vcs-61hb1ky7.js} +10 -10
  66. package/dist/chunks/{file-mutation-669tq793.js → vcs-669tq793.js} +1 -1
  67. package/dist/chunks/{file-mutation-edca6z4t.js → vcs-67j1j2dm.js} +39 -39
  68. package/dist/chunks/{file-mutation-et23rmd2.js → vcs-6a0dvt1c.js} +28 -28
  69. package/dist/chunks/{file-mutation-dpje9hvt.js → vcs-6e42fpps.js} +3 -3
  70. package/dist/chunks/{file-mutation-j0n617hx.js → vcs-6hxy2spn.js} +44 -44
  71. package/dist/chunks/{file-mutation-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{file-mutation-en8fd2fz.js → vcs-6n9s5ar1.js} +29 -29
  73. package/dist/chunks/{file-mutation-71q4at8m.js → vcs-71q4at8m.js} +1 -1
  74. package/dist/chunks/{file-mutation-12rfhcvn.js → vcs-724n6vts.js} +3 -3
  75. package/dist/chunks/{file-mutation-r5x6zcsm.js → vcs-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{file-mutation-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{file-mutation-y7kh6pdy.js → vcs-7dpj1ap7.js} +8 -8
  78. package/dist/chunks/{file-mutation-7s02b6me.js → vcs-7f3sjtrh.js} +1 -1
  79. package/dist/chunks/{file-mutation-066m6yk3.js → vcs-7j156qnj.js} +7 -7
  80. package/dist/chunks/{file-mutation-psxzv6yb.js → vcs-7nhg9xj1.js} +8 -8
  81. package/dist/chunks/{file-mutation-74bmvg0d.js → vcs-7rh6a6ws.js} +5 -5
  82. package/dist/chunks/{file-mutation-h4y4mq8e.js → vcs-7tnykybm.js} +82 -82
  83. package/dist/chunks/{file-mutation-7w99qc9d.js → vcs-7wdjtyr9.js} +3 -3
  84. package/dist/chunks/{file-mutation-mkh51v61.js → vcs-7whssrnc.js} +10 -10
  85. package/dist/chunks/{file-mutation-df2tx5pe.js → vcs-8025tcnx.js} +10 -10
  86. package/dist/chunks/{file-mutation-ratrq7cm.js → vcs-806j49yq.js} +4 -4
  87. package/dist/chunks/{file-mutation-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{file-mutation-vtrt0ewb.js → vcs-8e9n6h7v.js} +38 -38
  89. package/dist/chunks/{file-mutation-8p4f9s12.js → vcs-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{file-mutation-xxhb5m41.js → vcs-97yt6tz7.js} +9 -9
  91. package/dist/chunks/{file-mutation-vw3mnqj9.js → vcs-9bmf6k32.js} +18 -18
  92. package/dist/chunks/{file-mutation-3kxmfjgw.js → vcs-9c53s05g.js} +15 -15
  93. package/dist/chunks/{file-mutation-snbak2yk.js → vcs-9cmt1x0q.js} +9 -9
  94. package/dist/chunks/{file-mutation-tfmchqhk.js → vcs-9d5kbc3f.js} +13 -13
  95. package/dist/chunks/{file-mutation-d40aa9ht.js → vcs-9f01nfyh.js} +35 -35
  96. package/dist/chunks/{file-mutation-bbzhmj3e.js → vcs-9n8fbr8d.js} +28 -28
  97. package/dist/chunks/{file-mutation-k23hrhwv.js → vcs-9qewa294.js} +4 -4
  98. package/dist/chunks/{file-mutation-2zheyzhp.js → vcs-9vp0n2tv.js} +7 -7
  99. package/dist/chunks/{file-mutation-ff8m8qd7.js → vcs-9y8v17r0.js} +30 -30
  100. package/dist/chunks/{file-mutation-a1bz86dw.js → vcs-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{file-mutation-e379cr0y.js → vcs-a2wdfrx5.js} +12 -12
  102. package/dist/chunks/{file-mutation-v1q7vfww.js → vcs-a81jtvwz.js} +3 -3
  103. package/dist/chunks/{file-mutation-4cwh3a5t.js → vcs-a8pwa1qy.js} +9 -9
  104. package/dist/chunks/{file-mutation-qvf21x62.js → vcs-a8w3hdn7.js} +46 -46
  105. package/dist/chunks/{file-mutation-aaet6srn.js → vcs-aaet6srn.js} +2 -2
  106. package/dist/chunks/{file-mutation-yakg16c7.js → vcs-ae723g5c.js} +14 -14
  107. package/dist/chunks/{file-mutation-ve6nm2s5.js → vcs-asn1qnte.js} +6 -6
  108. package/dist/chunks/{file-mutation-qp0yc7dx.js → vcs-az46815d.js} +13 -13
  109. package/dist/chunks/{file-mutation-rh108m8v.js → vcs-b5x0fzgx.js} +5 -5
  110. package/dist/chunks/{file-mutation-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{file-mutation-3bzftg35.js → vcs-b72zs1k5.js} +15 -15
  112. package/dist/chunks/{file-mutation-b036pw45.js → vcs-b7v6em5m.js} +19 -19
  113. package/dist/chunks/{file-mutation-9n4afpv3.js → vcs-bm0fk12v.js} +6 -6
  114. package/dist/chunks/vcs-bp3y7pxe.js +462 -0
  115. package/dist/chunks/{file-mutation-c9av52v1.js → vcs-br0bxb5z.js} +3 -3
  116. package/dist/chunks/{file-mutation-bv56xrks.js → vcs-bv56xrks.js} +2 -2
  117. package/dist/chunks/{file-mutation-qg1dvv3d.js → vcs-c0cn7p0d.js} +22 -22
  118. package/dist/chunks/{file-mutation-9py05vep.js → vcs-c5db1mkp.js} +20 -20
  119. package/dist/chunks/{file-mutation-cj8em3nn.js → vcs-c90y15gp.js} +21 -21
  120. package/dist/chunks/{file-mutation-2ttxt4rm.js → vcs-cb6xbnd9.js} +2 -2
  121. package/dist/chunks/{file-mutation-0xtcr6w3.js → vcs-ccts7nrv.js} +15 -15
  122. package/dist/chunks/{file-mutation-cfpkc3c9.js → vcs-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{file-mutation-4c2df9zx.js → vcs-cny5rd43.js} +8 -8
  124. package/dist/chunks/{file-mutation-64kphnzf.js → vcs-csf2jhsg.js} +4 -4
  125. package/dist/chunks/{file-mutation-240ffee7.js → vcs-cwxby6pr.js} +9 -9
  126. package/dist/chunks/{file-mutation-d2aac7k2.js → vcs-d2aac7k2.js} +2 -2
  127. package/dist/chunks/{file-mutation-2hfp5ger.js → vcs-dbnmvbfz.js} +22 -22
  128. package/dist/chunks/{file-mutation-stnw2p2s.js → vcs-dkxyp88y.js} +12 -12
  129. package/dist/chunks/{file-mutation-wwdjya87.js → vcs-dn8d2kn3.js} +24 -24
  130. package/dist/chunks/{file-mutation-gyyh633g.js → vcs-dvfmgnty.js} +84 -84
  131. package/dist/chunks/{file-mutation-y6b78k7r.js → vcs-dvha2n0q.js} +44 -44
  132. package/dist/chunks/vcs-dxj72tfx.js +18 -0
  133. package/dist/chunks/{file-mutation-ywt3z907.js → vcs-dyan1gdj.js} +17 -17
  134. package/dist/chunks/{file-mutation-c19c6034.js → vcs-e2b6ma0f.js} +12 -12
  135. package/dist/chunks/{file-mutation-qssq5wvh.js → vcs-e8ge1rnk.js} +1 -1
  136. package/dist/chunks/{file-mutation-0yhvqzdr.js → vcs-ejan8dcj.js} +38 -38
  137. package/dist/chunks/{file-mutation-5t37q54p.js → vcs-ejnvpq0e.js} +25 -25
  138. package/dist/chunks/{file-mutation-tp176rca.js → vcs-ekf56pyh.js} +6 -6
  139. package/dist/chunks/{file-mutation-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{file-mutation-2sef7jx7.js → vcs-f2mnfn4e.js} +24 -24
  141. package/dist/chunks/{file-mutation-6v41k3zq.js → vcs-f6t691bq.js} +36 -36
  142. package/dist/chunks/{file-mutation-f828m53h.js → vcs-f828m53h.js} +2 -2
  143. package/dist/chunks/{file-mutation-zrz3rv3v.js → vcs-fb8ft78w.js} +15 -15
  144. package/dist/chunks/vcs-fjywsyk5.js +247 -0
  145. package/dist/chunks/{file-mutation-9g0zx7x8.js → vcs-fktegx2y.js} +9 -9
  146. package/dist/chunks/{file-mutation-3cfzdc8e.js → vcs-fpmq6gma.js} +5 -5
  147. package/dist/chunks/{file-mutation-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{file-mutation-8bwmgdjs.js → vcs-fz7dfd1z.js} +18 -18
  149. package/dist/chunks/{file-mutation-hxpkdzb7.js → vcs-g4fhj9j9.js} +3 -3
  150. package/dist/chunks/{file-mutation-brx509wv.js → vcs-g4q3msrz.js} +46 -46
  151. package/dist/chunks/{file-mutation-1fa9ans5.js → vcs-g5zf0djh.js} +1 -1
  152. package/dist/chunks/{file-mutation-9pwkmyz6.js → vcs-g89yqc5t.js} +11 -11
  153. package/dist/chunks/{file-mutation-ar85mn2m.js → vcs-gc97qf6g.js} +23 -23
  154. package/dist/chunks/{file-mutation-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{file-mutation-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{file-mutation-h03wrkyp.js → vcs-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{file-mutation-71acpfn8.js → vcs-h5bkeg2y.js} +13 -13
  158. package/dist/chunks/{file-mutation-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{file-mutation-qte5z7bc.js → vcs-hcz3zddy.js} +5 -5
  160. package/dist/chunks/{file-mutation-s5d18ttv.js → vcs-hf061nqs.js} +32 -32
  161. package/dist/chunks/{file-mutation-k1xjzmxg.js → vcs-hfjfxhhs.js} +20 -20
  162. package/dist/chunks/{file-mutation-hjt4xg1x.js → vcs-hjt4xg1x.js} +1 -1
  163. package/dist/chunks/{file-mutation-b9vx810x.js → vcs-hpsfqm6t.js} +32 -32
  164. package/dist/chunks/{file-mutation-d1w5q26k.js → vcs-hsndfndq.js} +24 -24
  165. package/dist/chunks/{file-mutation-wf5akpyb.js → vcs-hx1qbxx1.js} +10 -10
  166. package/dist/chunks/{file-mutation-j56e64zr.js → vcs-j56e64zr.js} +1 -1
  167. package/dist/chunks/{file-mutation-hzx83h4g.js → vcs-j61fmw0q.js} +41 -41
  168. package/dist/chunks/{file-mutation-rc1e819m.js → vcs-javtnfvt.js} +4 -4
  169. package/dist/chunks/{file-mutation-t9n23y5a.js → vcs-jc4dg6w1.js} +28 -28
  170. package/dist/chunks/{file-mutation-dt849bc4.js → vcs-jfpzywp2.js} +6 -6
  171. package/dist/chunks/{file-mutation-t9ja5v0m.js → vcs-jm4wzrpc.js} +18 -18
  172. package/dist/chunks/{file-mutation-v4c6wwdp.js → vcs-jn9204f0.js} +7 -7
  173. package/dist/chunks/{file-mutation-y71avatq.js → vcs-jwcy2c2z.js} +4 -4
  174. package/dist/chunks/{file-mutation-kg06axw8.js → vcs-kg06axw8.js} +1 -1
  175. package/dist/chunks/{file-mutation-zd95htgz.js → vcs-kmzfa87h.js} +15 -15
  176. package/dist/chunks/{file-mutation-9pa9rw3z.js → vcs-ktpjzrp6.js} +32 -32
  177. package/dist/chunks/{file-mutation-2npmwd02.js → vcs-m32k5ewn.js} +9 -9
  178. package/dist/chunks/{file-mutation-zcrspsvn.js → vcs-m70sbz6t.js} +4 -4
  179. package/dist/chunks/{file-mutation-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{file-mutation-mkcjrzeh.js → vcs-mkcjrzeh.js} +1 -1
  181. package/dist/chunks/{file-mutation-jsvhw8mk.js → vcs-mmpwdc4q.js} +11 -11
  182. package/dist/chunks/{file-mutation-4f5v0gkp.js → vcs-n0z3pqra.js} +17 -17
  183. package/dist/chunks/{file-mutation-ak7my4zs.js → vcs-n223nzpv.js} +14 -14
  184. package/dist/chunks/{file-mutation-hthj0rnm.js → vcs-na7956ft.js} +20 -20
  185. package/dist/chunks/{file-mutation-q8rqxe25.js → vcs-ncde1vfm.js} +26 -26
  186. package/dist/chunks/{file-mutation-rtq8p3gy.js → vcs-nd6113q8.js} +28 -28
  187. package/dist/chunks/{file-mutation-j4028k8z.js → vcs-ny7d19mm.js} +11 -11
  188. package/dist/chunks/{file-mutation-7r2070ss.js → vcs-p0xz0qw3.js} +52 -52
  189. package/dist/chunks/{file-mutation-t0ycew93.js → vcs-p2b45462.js} +25 -25
  190. package/dist/chunks/{file-mutation-sdc25ghc.js → vcs-p7x6y357.js} +32 -32
  191. package/dist/chunks/{file-mutation-yhgxvs9m.js → vcs-p84dsdfh.js} +8 -8
  192. package/dist/chunks/{file-mutation-q6c9rh6v.js → vcs-p85zvgpp.js} +22 -22
  193. package/dist/chunks/{file-mutation-s1fbxc7t.js → vcs-pbrn5f3v.js} +19 -19
  194. package/dist/chunks/{file-mutation-yymb8v2v.js → vcs-pgvfezyn.js} +21 -21
  195. package/dist/chunks/{file-mutation-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{file-mutation-pknna89w.js → vcs-pknna89w.js} +1 -1
  197. package/dist/chunks/{file-mutation-rvyzmxt1.js → vcs-q0a87n6s.js} +176 -176
  198. package/dist/chunks/{file-mutation-dzgwpfm4.js → vcs-q1668d7a.js} +60 -60
  199. package/dist/chunks/{file-mutation-hf8cnsjw.js → vcs-q2027nw7.js} +1 -1
  200. package/dist/chunks/{file-mutation-mwbx7r51.js → vcs-q9j8w608.js} +4 -4
  201. package/dist/chunks/{file-mutation-earnevqz.js → vcs-qae1j65a.js} +29 -29
  202. package/dist/chunks/vcs-qapv375x.js +4 -0
  203. package/dist/chunks/{file-mutation-t3aqcp13.js → vcs-qaqx0ctg.js} +5 -5
  204. package/dist/chunks/{file-mutation-ga7wvnj5.js → vcs-qjnn74v4.js} +9 -9
  205. package/dist/chunks/{file-mutation-an7cqtb7.js → vcs-qq11w61w.js} +4 -4
  206. package/dist/chunks/{file-mutation-fjvydvzm.js → vcs-qq8x5mwt.js} +6 -6
  207. package/dist/chunks/{file-mutation-qsdy395h.js → vcs-qsdy395h.js} +1 -1
  208. package/dist/chunks/{file-mutation-qgnx4pxt.js → vcs-r345bmqf.js} +11 -11
  209. package/dist/chunks/{file-mutation-3rqkssp8.js → vcs-r7nsrefv.js} +6 -6
  210. package/dist/chunks/{file-mutation-7x56vw45.js → vcs-r8jh6khz.js} +13 -13
  211. package/dist/chunks/{file-mutation-ntghn7gv.js → vcs-rsym84ch.js} +9 -9
  212. package/dist/chunks/{file-mutation-rsh6k2qs.js → vcs-ryrzn0hq.js} +25 -25
  213. package/dist/chunks/{file-mutation-01fzq3z7.js → vcs-s1tsa559.js} +26 -26
  214. package/dist/chunks/{file-mutation-s4enseaf.js → vcs-s4enseaf.js} +2 -2
  215. package/dist/chunks/{file-mutation-xrhv95d6.js → vcs-s9t88532.js} +23 -23
  216. package/dist/chunks/{file-mutation-kywk84af.js → vcs-saj784mb.js} +17 -17
  217. package/dist/chunks/{file-mutation-hqrxp9gj.js → vcs-sez905kk.js} +10 -10
  218. package/dist/chunks/{file-mutation-k0qa26hr.js → vcs-sn3frxay.js} +25 -25
  219. package/dist/chunks/{file-mutation-vkxpz7g2.js → vcs-szgy4byf.js} +4 -4
  220. package/dist/chunks/{file-mutation-5kptn8c0.js → vcs-t0x5rdq8.js} +9 -9
  221. package/dist/chunks/{file-mutation-j2nqzmcv.js → vcs-t1mpdz97.js} +22 -22
  222. package/dist/chunks/{file-mutation-t51qk8jz.js → vcs-t51qk8jz.js} +1 -1
  223. package/dist/chunks/{file-mutation-0gdmqesm.js → vcs-t550f9t1.js} +4 -4
  224. package/dist/chunks/{file-mutation-zxcqb81j.js → vcs-t55ej7gz.js} +24 -24
  225. package/dist/chunks/{file-mutation-xnvnravs.js → vcs-t5kxb07c.js} +31 -31
  226. package/dist/chunks/{file-mutation-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{file-mutation-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{file-mutation-jeq3avzd.js → vcs-tcwy5cxa.js} +18 -18
  229. package/dist/chunks/{file-mutation-f1q1bdfb.js → vcs-td6dvqbq.js} +32 -32
  230. package/dist/chunks/{file-mutation-tdstcens.js → vcs-tdstcens.js} +1 -1
  231. package/dist/chunks/{file-mutation-v3wxxz2a.js → vcs-tnw3z0r3.js} +9 -9
  232. package/dist/chunks/{file-mutation-v68haqbh.js → vcs-tregh9zc.js} +2 -2
  233. package/dist/chunks/{file-mutation-qyy5cpnn.js → vcs-tsrg9y4k.js} +11 -11
  234. package/dist/chunks/{file-mutation-tvtrv512.js → vcs-tvtrv512.js} +1 -1
  235. package/dist/chunks/{file-mutation-78s53s6s.js → vcs-v8fmfjc0.js} +38 -38
  236. package/dist/chunks/{file-mutation-t26h1xea.js → vcs-vd7hjsen.js} +22 -22
  237. package/dist/chunks/{file-mutation-veqvce7d.js → vcs-veqvce7d.js} +1 -1
  238. package/dist/chunks/{file-mutation-02k69zs7.js → vcs-vxqb7ghs.js} +24 -24
  239. package/dist/chunks/{file-mutation-0zn40hbb.js → vcs-vxwhkv8n.js} +58 -58
  240. package/dist/chunks/{file-mutation-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
  241. package/dist/chunks/{file-mutation-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{file-mutation-wd87259q.js → vcs-wd87259q.js} +1 -1
  243. package/dist/chunks/{file-mutation-rmnn1kcj.js → vcs-whd1ca54.js} +36 -36
  244. package/dist/chunks/{file-mutation-en460j1e.js → vcs-whkfspvt.js} +9 -9
  245. package/dist/chunks/{file-mutation-zhedf7h9.js → vcs-wj2xme94.js} +19 -19
  246. package/dist/chunks/{file-mutation-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
  247. package/dist/chunks/{file-mutation-x43y2vfs.js → vcs-x43y2vfs.js} +2 -2
  248. package/dist/chunks/{file-mutation-xhmq8qgk.js → vcs-x5qh4ear.js} +9 -9
  249. package/dist/chunks/{file-mutation-cn5kgcxn.js → vcs-xbxfp9fr.js} +23 -23
  250. package/dist/chunks/{file-mutation-dsfwte3g.js → vcs-xdmmnt8a.js} +19 -19
  251. package/dist/chunks/{file-mutation-2bt6bea8.js → vcs-xekzrwwc.js} +9 -9
  252. package/dist/chunks/{file-mutation-5y7nmd31.js → vcs-xenp1w2e.js} +29 -29
  253. package/dist/chunks/{file-mutation-74sc3jhk.js → vcs-xf2jv3bw.js} +4 -4
  254. package/dist/chunks/{file-mutation-nmjsacd1.js → vcs-xgjyy6vg.js} +5 -5
  255. package/dist/chunks/{file-mutation-jspz1h3e.js → vcs-xnqpewkq.js} +19 -19
  256. package/dist/chunks/{file-mutation-34wjyeek.js → vcs-xpapdg7w.js} +12 -12
  257. package/dist/chunks/{file-mutation-7g683t1r.js → vcs-xvaxs8h7.js} +30 -30
  258. package/dist/chunks/{file-mutation-t9nzygtk.js → vcs-xwd9pbjm.js} +15 -15
  259. package/dist/chunks/{file-mutation-7tske91h.js → vcs-xwztew67.js} +18 -18
  260. package/dist/chunks/{file-mutation-tx71xht9.js → vcs-y11s4dzy.js} +50 -50
  261. package/dist/chunks/{file-mutation-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{file-mutation-j4p7emeb.js → vcs-y2wxp8w3.js} +11 -11
  263. package/dist/chunks/{file-mutation-k3swrpg8.js → vcs-y4dgkp79.js} +4 -4
  264. package/dist/chunks/{file-mutation-zn4kggxy.js → vcs-y7qr3th8.js} +4 -4
  265. package/dist/chunks/{file-mutation-j3mwg7nd.js → vcs-y8r358t9.js} +34 -34
  266. package/dist/chunks/{file-mutation-yp2x3t23.js → vcs-yp2x3t23.js} +1 -1
  267. package/dist/chunks/{file-mutation-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
  268. package/dist/chunks/{file-mutation-nc6emx03.js → vcs-yvevv6gs.js} +8 -8
  269. package/dist/chunks/{file-mutation-hz456w6n.js → vcs-yvgq7aaq.js} +11 -11
  270. package/dist/chunks/{file-mutation-2ee8pmxs.js → vcs-ywhnyrnh.js} +5 -5
  271. package/dist/chunks/{file-mutation-4k2qawm0.js → vcs-yx42xrh5.js} +15 -15
  272. package/dist/chunks/{file-mutation-e15qh3wq.js → vcs-yxmjadg6.js} +14 -14
  273. package/dist/chunks/{file-mutation-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{file-mutation-thm2xcas.js → vcs-z1ehnq90.js} +17 -17
  275. package/dist/chunks/{file-mutation-n5zjdcc0.js → vcs-z1pfg6df.js} +1 -1
  276. package/dist/chunks/{file-mutation-eqbtmbad.js → vcs-za6src2z.js} +16 -16
  277. package/dist/chunks/{file-mutation-t1bhcjx3.js → vcs-zad871sr.js} +1 -1
  278. package/dist/chunks/{file-mutation-c12c3ebf.js → vcs-zbj8enqw.js} +12 -12
  279. package/dist/chunks/{file-mutation-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{file-mutation-56fawgj4.js → vcs-zemh05ww.js} +49 -49
  281. package/dist/chunks/{file-mutation-b6d4fm4d.js → vcs-zgdqzk0q.js} +28 -28
  282. package/dist/chunks/{file-mutation-c4tqdq5t.js → vcs-zhxtcv69.js} +6 -6
  283. package/dist/chunks/{file-mutation-bpbqk74e.js → vcs-zqjyx7nf.js} +5 -5
  284. package/dist/chunks/{file-mutation-sx5j1r78.js → vcs-zr0gh2ck.js} +7 -7
  285. package/dist/chunks/{file-mutation-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-mutation-587k4qqh.js → vcs-zw18ytwa.js} +16 -16
  287. package/dist/chunks/{file-mutation-g56g034v.js → vcs-zwtw7q3h.js} +23 -23
  288. package/dist/chunks/{file-mutation-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +79 -79
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +100 -100
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +79 -79
  455. package/dist/instructions/builtins.js +78 -78
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +101 -101
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +106 -106
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +80 -80
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +115 -115
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +131 -131
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +341 -341
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +110 -110
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +90 -90
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +219 -219
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +84 -84
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +111 -111
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +223 -223
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +167 -167
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +145 -145
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +215 -215
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +84 -84
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +118 -118
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +212 -212
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +101 -101
  642. package/dist/tool/plugin/websearch.js +109 -109
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +15 -15
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +3 -3
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +2 -2
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +1 -1
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +80 -80
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +79 -79
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +340 -340
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +91 -91
  686. package/package.json +8 -8
  687. package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
  688. package/dist/chunks/file-mutation-hkpycv99.js +0 -462
  689. package/dist/chunks/file-mutation-n95b3jav.js +0 -18
  690. package/dist/chunks/file-mutation-tg8gtkmk.js +0 -22
  691. package/dist/chunks/file-mutation-ymkfqb6w.js +0 -247
  692. /package/dist/chunks/{file-mutation-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{file-mutation-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{file-mutation-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{file-mutation-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{file-mutation-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{file-mutation-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{file-mutation-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{file-mutation-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{file-mutation-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3asan66x.js → vcs-3asan66x.js} +0 -0
  702. /package/dist/chunks/{file-mutation-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{file-mutation-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{file-mutation-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{file-mutation-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{file-mutation-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{file-mutation-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{file-mutation-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{file-mutation-53557ph1.js → vcs-53557ph1.js} +0 -0
  710. /package/dist/chunks/{file-mutation-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{file-mutation-6prwharc.js → vcs-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-mutation-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{file-mutation-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{file-mutation-822emrt2.js → vcs-822emrt2.js} +0 -0
  715. /package/dist/chunks/{file-mutation-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{file-mutation-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{file-mutation-922hggd3.js → vcs-922hggd3.js} +0 -0
  718. /package/dist/chunks/{file-mutation-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{file-mutation-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{file-mutation-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{file-mutation-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{file-mutation-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{file-mutation-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{file-mutation-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{file-mutation-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{file-mutation-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{file-mutation-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{file-mutation-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{file-mutation-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{file-mutation-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{file-mutation-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{file-mutation-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{file-mutation-df08tz66.js → vcs-df08tz66.js} +0 -0
  734. /package/dist/chunks/{file-mutation-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{file-mutation-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{file-mutation-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{file-mutation-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{file-mutation-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{file-mutation-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{file-mutation-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{file-mutation-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{file-mutation-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{file-mutation-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{file-mutation-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{file-mutation-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{file-mutation-g86h250q.js → vcs-g86h250q.js} +0 -0
  747. /package/dist/chunks/{file-mutation-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{file-mutation-gftt206x.js → vcs-gftt206x.js} +0 -0
  749. /package/dist/chunks/{file-mutation-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{file-mutation-hk9envan.js → vcs-hk9envan.js} +0 -0
  751. /package/dist/chunks/{file-mutation-hrnqkpcd.js → vcs-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{file-mutation-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{file-mutation-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{file-mutation-j935v87r.js → vcs-j935v87r.js} +0 -0
  755. /package/dist/chunks/{file-mutation-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-mutation-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-mutation-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{file-mutation-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{file-mutation-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{file-mutation-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{file-mutation-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{file-mutation-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{file-mutation-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{file-mutation-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{file-mutation-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{file-mutation-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{file-mutation-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{file-mutation-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{file-mutation-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{file-mutation-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{file-mutation-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{file-mutation-twg0f83k.js → vcs-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{file-mutation-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{file-mutation-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{file-mutation-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{file-mutation-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{file-mutation-x61499pn.js → vcs-x61499pn.js} +0 -0
  779. /package/dist/chunks/{file-mutation-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{file-mutation-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{file-mutation-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-mutation-ym463w8f.js → vcs-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-mutation-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
- ID15,
2
+ ID14,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./file-mutation-dt849bc4.js";
8
+ } from "./vcs-jfpzywp2.js";
9
9
  import {
10
- Service64,
11
- node67
12
- } from "./file-mutation-gb6mvkxt.js";
10
+ Service40,
11
+ node43
12
+ } from "./vcs-3v6f0sxy.js";
13
13
  import {
14
14
  map2
15
- } from "./file-mutation-f79e7acg.js";
15
+ } from "./vcs-39etbsth.js";
16
16
  import {
17
- ID14,
17
+ ID13,
18
18
  VariantID2,
19
19
  Ref3
20
- } from "./file-mutation-34wjyeek.js";
20
+ } from "./vcs-xpapdg7w.js";
21
21
  import {
22
- ID16,
23
- Service76,
24
- node81
25
- } from "./file-mutation-m0c4px45.js";
22
+ ID7,
23
+ Service46,
24
+ node50
25
+ } from "./vcs-2skxfxks.js";
26
26
  import {
27
- Service65,
28
- node68
29
- } from "./file-mutation-et23rmd2.js";
27
+ Service45,
28
+ node49
29
+ } from "./vcs-6a0dvt1c.js";
30
30
  import {
31
31
  __export
32
- } from "./file-mutation-9rqn6x4v.js";
32
+ } from "./vcs-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service63,
38
+ Service: () => Service39,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
42
42
  VariantUnavailableError: () => VariantUnavailableError3,
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
- layer: () => layer23,
46
- node: () => node66,
45
+ layer: () => layer18,
46
+ node: () => node42,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID15,
57
- modelID: ID14,
56
+ providerID: ID14,
57
+ modelID: ID13,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID15,
67
- modelID: ID14,
66
+ providerID: ID14,
67
+ modelID: ID13,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID15,
77
- modelID: ID14,
76
+ providerID: ID14,
77
+ modelID: ID13,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID15,
87
- modelID: ID14,
86
+ providerID: ID14,
87
+ modelID: ID13,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service63 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service39 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer23 = Layer.effect(Service63, Effect.gen(function* () {
222
- const catalog = yield* Service65;
223
- const integrations = yield* Service76;
221
+ var layer18 = Layer.effect(Service39, Effect.gen(function* () {
222
+ const catalog = yield* Service45;
223
+ const integrations = yield* Service46;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service64;
225
+ const aisdk = yield* Service40;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID7.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -247,7 +247,7 @@ var layer23 = Layer.effect(Service63, Effect.gen(function* () {
247
247
  websocket: selected.websocket ?? true
248
248
  };
249
249
  });
250
- return Service63.of({
250
+ return Service39.of({
251
251
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
252
252
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
253
253
  if (!selected)
@@ -264,10 +264,10 @@ function usesAPIKeyAuth(packageName) {
264
264
  const name = packageName2(packageName);
265
265
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
266
266
  }
267
- var node66 = makeLocationNode({
268
- service: Service63,
269
- layer: layer23,
270
- deps: [node68, node81, Npm.node, node67]
267
+ var node42 = makeLocationNode({
268
+ service: Service39,
269
+ layer: layer18,
270
+ deps: [node49, node50, Npm.node, node43]
271
271
  });
272
272
 
273
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service63, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node66, exports_model_resolver };
273
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service39, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer18, node42, exports_model_resolver };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info30
5
- } from "./file-mutation-dt849bc4.js";
4
+ Info28
5
+ } from "./vcs-jfpzywp2.js";
6
6
  import {
7
- Info29
8
- } from "./file-mutation-34wjyeek.js";
7
+ Info27
8
+ } from "./vcs-xpapdg7w.js";
9
9
  import {
10
- Service79,
11
- node84
12
- } from "./file-mutation-c19c6034.js";
10
+ Service77,
11
+ node82
12
+ } from "./vcs-e2b6ma0f.js";
13
13
  import {
14
14
  create3
15
- } from "./file-mutation-kg06axw8.js";
15
+ } from "./vcs-kg06axw8.js";
16
16
  import {
17
- ID16,
18
- Service76,
19
- node81
20
- } from "./file-mutation-m0c4px45.js";
17
+ ID7,
18
+ Service46,
19
+ node50
20
+ } from "./vcs-2skxfxks.js";
21
21
  import {
22
22
  __export
23
- } from "./file-mutation-9rqn6x4v.js";
23
+ } from "./vcs-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event16,
30
- Service: () => Service65,
31
- node: () => node68
29
+ Event: () => Event9,
30
+ Service: () => Service45,
31
+ node: () => node49
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event16 } from "@opencode/schema/catalog";
36
+ import { Event as Event9 } from "@opencode/schema/catalog";
37
37
 
38
- class Service65 extends Context.Service()("@opencode/Catalog") {
38
+ class Service45 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service65, Effect.gen(function* () {
41
- const bus = yield* Service79;
42
- const integrations = yield* Service76;
40
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
41
+ const bus = yield* Service77;
42
+ const integrations = yield* Service46;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
73
73
  let current = editor.providers.get(providerID);
74
74
  if (!current) {
75
75
  current = {
76
- provider: Info30.empty(providerID),
76
+ provider: Info28.empty(providerID),
77
77
  models: new Map
78
78
  };
79
79
  editor.providers.set(providerID, current);
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
91
91
  let record = editor.providers.get(providerID);
92
92
  if (!record) {
93
93
  record = {
94
- provider: Info30.empty(providerID),
94
+ provider: Info28.empty(providerID),
95
95
  models: new Map
96
96
  };
97
97
  editor.providers.set(providerID, record);
98
98
  }
99
- const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
99
+ const model = record.models.get(modelID) ?? Info27.default(providerID, modelID);
100
100
  if (!record.models.has(modelID))
101
101
  record.models.set(modelID, model);
102
102
  fn(model);
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
130
130
  }),
131
131
  available: Effect.fn("Catalog.provider.available")(function* () {
132
132
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
133
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID16.make(provider.id))));
133
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID7.make(provider.id))));
134
134
  })
135
135
  },
136
136
  model: {
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
185
185
  })
186
186
  }
187
187
  };
188
- return Service65.of(result);
188
+ return Service45.of(result);
189
189
  }));
190
190
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
191
- var node68 = makeLocationNode({ service: Service65, layer, deps: [node84, node81] });
191
+ var node49 = makeLocationNode({ service: Service45, layer, deps: [node82, node50] });
192
192
 
193
- export { Service65, node68, exports_catalog2, Event16 };
193
+ export { Service45, node49, exports_catalog2, Event9 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./file-mutation-m42b0bke.js";
3
+ } from "./vcs-42kdhqse.js";
4
4
  import {
5
5
  apply3
6
- } from "./file-mutation-hxpkdzb7.js";
6
+ } from "./vcs-g4fhj9j9.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./vcs-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./file-mutation-dpje9hvt.js";
7
+ } from "./vcs-6e42fpps.js";
8
8
  import {
9
- Service79,
10
- node84
11
- } from "./file-mutation-c19c6034.js";
9
+ Service77,
10
+ node82
11
+ } from "./vcs-e2b6ma0f.js";
12
12
  import {
13
- Service71,
14
- node75
15
- } from "./file-mutation-mkh51v61.js";
13
+ Service76,
14
+ node81
15
+ } from "./vcs-7whssrnc.js";
16
16
  import {
17
- ID13,
17
+ ID17,
18
18
  Current3,
19
- Info28,
19
+ Info32,
20
20
  UpdateInput4,
21
- Event17,
21
+ Event20,
22
22
  Vcs3
23
- } from "./file-mutation-ntghn7gv.js";
23
+ } from "./vcs-rsym84ch.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./file-mutation-8p4f9s12.js";
27
+ } from "./vcs-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./file-mutation-cfpkc3c9.js";
30
+ } from "./vcs-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./file-mutation-9rqn6x4v.js";
33
+ } from "./vcs-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID12,
40
- Info: () => Info27,
41
- NotFoundError: () => NotFoundError9,
39
+ ID: () => ID16,
40
+ Info: () => Info31,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service70,
43
+ Service: () => Service75,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node74,
46
+ node: () => node80,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID12 = ID13;
58
+ var ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info27 = Info28;
61
+ var Info31 = Info32;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID12
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID16
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service70 extends Context.Service()("@opencode/Project") {
74
+ class Service75 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,11 +94,11 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service70, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service71;
99
+ const git = yield* Service76;
100
100
  const proc = yield* AppProcess.Service;
101
- const bus = yield* Service79;
101
+ const bus = yield* Service77;
102
102
  const db = (yield* Service80).db;
103
103
  const announcing = new Set;
104
104
  const persist = Effect.fnUntraced(function* (project) {
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event17.Updated, fromRow(row));
110
+ yield* bus.publish(Event20.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID12.global,
147
+ previous: project.previous ?? ID16.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
167
167
  time_updated: Date.now()
168
168
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
169
169
  if (!row)
170
- return yield* new NotFoundError9({ projectID: input.projectID });
170
+ return yield* new NotFoundError10({ projectID: input.projectID });
171
171
  const project = fromRow(row);
172
- yield* bus.publish(Event17.Updated, project);
172
+ yield* bus.publish(Event20.Updated, project);
173
173
  return project;
174
174
  });
175
175
  const cached = Effect.fnUntraced(function* (dir) {
176
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
176
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
177
177
  return;
178
178
  }));
179
179
  });
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
184
184
  const normalized = url(origin);
185
185
  if (!normalized)
186
186
  return;
187
- return ID12.make(Hash.fast(`git-remote:${normalized}`));
187
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
188
188
  });
189
189
  function url(input) {
190
190
  const value = input.trim();
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
209
209
  }
210
210
  const rootCommit = Effect.fnUntraced(function* (repo) {
211
211
  const root = (yield* git.history.rootCommits(repo))[0];
212
- return root ? ID12.make(root) : undefined;
212
+ return root ? ID16.make(root) : undefined;
213
213
  });
214
214
  const hgRoot = Effect.fnUntraced(function* (worktree) {
215
215
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
225
225
  return;
226
226
  const node = result.stdout.toString("utf8").split(`
227
227
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
228
- return node ? ID12.make(node) : undefined;
228
+ return node ? ID16.make(node) : undefined;
229
229
  });
230
230
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
231
231
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
234
234
  const id = previous ?? (yield* hgRoot(worktree));
235
235
  return {
236
236
  previous,
237
- id: id ?? ID12.global,
237
+ id: id ?? ID16.global,
238
238
  directory: worktree,
239
239
  vcs: { type: "hg", store }
240
240
  };
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
251
251
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
252
252
  return yield* persist({
253
253
  previous,
254
- id: id ?? ID12.global,
254
+ id: id ?? ID16.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
265
265
  });
266
266
  }
267
267
  return yield* persist({
268
- id: ID12.make(Hash.fast(`directory:${directory}`)),
268
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
269
269
  directory,
270
270
  canonical: directory,
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service70.of({ list, update, resolve });
274
+ return Service75.of({ list, update, resolve });
275
275
  }));
276
- var node74 = makeGlobalNode({
277
- service: Service70,
276
+ var node80 = makeGlobalNode({
277
+ service: Service75,
278
278
  layer,
279
- deps: [node84, node85, FSUtil.node, node75, AppProcess.node]
279
+ deps: [node82, node85, FSUtil.node, node81, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID12, Vcs2, Current2, Info27, UpdateInput3, NotFoundError9, root2, Service70, node74, exports_project };
282
+ export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service75, node80, exports_project };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./vcs-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-mutation-c19c6034.js";
2
+ Service77,
3
+ node82
4
+ } from "./vcs-e2b6ma0f.js";
5
5
  import {
6
6
  __export
7
- } from "./file-mutation-9rqn6x4v.js";
7
+ } from "./vcs-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event11,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID17,
20
- Info: () => Info32,
19
+ ID: () => ID8,
20
+ Info: () => Info9,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
24
- Reply: () => Reply3,
25
- Service: () => Service77,
23
+ NotFoundError: () => NotFoundError5,
24
+ Reply: () => Reply2,
25
+ Service: () => Service47,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node82,
28
+ layer: () => layer21,
29
+ node: () => node51,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event11 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID17 = Form.ID;
39
- var Info32 = Form.Info;
38
+ var ID8 = Form.ID;
39
+ var Info9 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply3 = Form.Reply;
45
+ var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID17
47
+ class NotFoundError5 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID8
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID17
56
+ id: ID8
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID17
64
+ id: ID8
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID17,
72
+ id: ID8,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service77 extends Context.Service()("@opencode/Form") {
82
+ class Service47 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service77, Effect.gen(function* () {
85
- const bus = yield* Service79;
84
+ var layer21 = Layer.effect(Service47, Effect.gen(function* () {
85
+ const bus = yield* Service77;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError5({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID17.create();
92
+ const id = input.id ?? ID8.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service77.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service47.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node82 = makeLocationNode({ service: Service77, layer: layer25, deps: [node84] });
158
+ var node51 = makeLocationNode({ service: Service47, layer: layer21, deps: [node82] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID17, Info32, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node82, validateAnswer2, validateFields2, exports_form, Event19 };
310
+ export { ID8, Info9, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError5, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service47, layer21, node51, validateAnswer2, validateFields2, exports_form, Event11 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-mutation-ym463w8f.js";
3
+ } from "./vcs-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/alibaba.ts
6
6
  var AlibabaPlugin2 = createProviderPlugin2({