@opencode/core 0.0.0-dev-19405 → 0.0.0-dev-19406

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  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 +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{reference-vq6pkt6q.js → workspace-00yj64tw.js} +8 -8
  9. package/dist/chunks/{reference-4bap03mh.js → workspace-08va5z8e.js} +38 -38
  10. package/dist/chunks/{reference-069ez2pk.js → workspace-0c2368v0.js} +27 -27
  11. package/dist/chunks/{reference-5jgk54rp.js → workspace-0df1zyj6.js} +45 -45
  12. package/dist/chunks/{reference-w0n7a3yn.js → workspace-0f5r6y21.js} +13 -13
  13. package/dist/chunks/{reference-2k8khapm.js → workspace-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{reference-ezmrpqv5.js → workspace-0mvrzs3q.js} +27 -27
  15. package/dist/chunks/{reference-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{reference-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{reference-38j1eg2k.js → workspace-11f5ey5t.js} +9 -9
  18. package/dist/chunks/{reference-3g767a7k.js → workspace-17x03v7d.js} +17 -17
  19. package/dist/chunks/{reference-7e2yy7bx.js → workspace-18e56dsp.js} +4 -4
  20. package/dist/chunks/{reference-w44x3hm1.js → workspace-19p34cwj.js} +11 -11
  21. package/dist/chunks/{reference-z6nz13dk.js → workspace-1a6tnz5m.js} +6 -6
  22. package/dist/chunks/{reference-f2n192rq.js → workspace-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{reference-gv45jpg5.js → workspace-1agm07vn.js} +4 -4
  24. package/dist/chunks/{reference-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{reference-1eyaby9q.js → workspace-1eyaby9q.js} +2 -2
  26. package/dist/chunks/{reference-4s15yhyb.js → workspace-1hfvq3hk.js} +9 -9
  27. package/dist/chunks/{reference-wmbw81qg.js → workspace-1k8a3rj6.js} +79 -79
  28. package/dist/chunks/{reference-q342wcsq.js → workspace-1n9v4yht.js} +3 -3
  29. package/dist/chunks/{reference-2x1tygz9.js → workspace-21kgkeg9.js} +9 -9
  30. package/dist/chunks/{reference-21r38tys.js → workspace-21r38tys.js} +1 -1
  31. package/dist/chunks/{reference-2402vzrj.js → workspace-2402vzrj.js} +1 -1
  32. package/dist/chunks/{reference-vxdjbxqe.js → workspace-25z0xxdg.js} +10 -10
  33. package/dist/chunks/{reference-vvhxhpdd.js → workspace-260nsw4w.js} +20 -20
  34. package/dist/chunks/{reference-zvg6wpm3.js → workspace-26hypp0s.js} +33 -33
  35. package/dist/chunks/{reference-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{reference-rszxffrt.js → workspace-2atctz6s.js} +162 -162
  37. package/dist/chunks/{reference-k1endqwm.js → workspace-2d4astz3.js} +12 -12
  38. package/dist/chunks/{reference-asmz7wyz.js → workspace-2hyh68ab.js} +8 -8
  39. package/dist/chunks/{reference-a1p8sqe6.js → workspace-2nfnt4ye.js} +21 -21
  40. package/dist/chunks/{reference-tkhm1f4n.js → workspace-2q352txm.js} +46 -46
  41. package/dist/chunks/{reference-qajrngy3.js → workspace-31japxcc.js} +24 -24
  42. package/dist/chunks/{reference-7yqjxrmz.js → workspace-35agz59w.js} +6 -6
  43. package/dist/chunks/{reference-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{reference-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{reference-zjnwhdhy.js → workspace-3j1hp0ty.js} +27 -27
  46. package/dist/chunks/{reference-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{reference-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{reference-3j6hn5pg.js → workspace-3wnr7h3v.js} +12 -12
  49. package/dist/chunks/{reference-1jjc8ex5.js → workspace-42z94ejy.js} +6 -6
  50. package/dist/chunks/{reference-y98pmm57.js → workspace-47z782k9.js} +15 -15
  51. package/dist/chunks/{reference-sgpd7ym3.js → workspace-48qrq2th.js} +10 -10
  52. package/dist/chunks/{reference-7b2pfzf8.js → workspace-48vm7pvj.js} +16 -16
  53. package/dist/chunks/{reference-adaj7ksj.js → workspace-4brkry6z.js} +7 -7
  54. package/dist/chunks/{reference-hx12r247.js → workspace-4knw0yd9.js} +27 -27
  55. package/dist/chunks/{reference-xhmq8qgk.js → workspace-52vrzpkh.js} +9 -9
  56. package/dist/chunks/{reference-mgw48z1b.js → workspace-564nwv9t.js} +24 -24
  57. package/dist/chunks/{reference-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{reference-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  59. package/dist/chunks/{reference-0dwg38z7.js → workspace-5n23cvdt.js} +20 -20
  60. package/dist/chunks/{reference-9eh6sf6d.js → workspace-5nrew705.js} +5 -5
  61. package/dist/chunks/{reference-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{reference-verxd6cc.js → workspace-5va42dqn.js} +7 -7
  63. package/dist/chunks/{reference-v7j335k4.js → workspace-5xyecbgy.js} +30 -30
  64. package/dist/chunks/{reference-21bd5msc.js → workspace-60swyqgb.js} +6 -6
  65. package/dist/chunks/{reference-en74w496.js → workspace-62jy5cfr.js} +5 -5
  66. package/dist/chunks/{reference-c7ecgrk6.js → workspace-63c29q5z.js} +8 -8
  67. package/dist/chunks/{reference-669tq793.js → workspace-669tq793.js} +1 -1
  68. package/dist/chunks/{reference-spphehv3.js → workspace-671axw96.js} +25 -25
  69. package/dist/chunks/{reference-1efffvwy.js → workspace-6c6d27ky.js} +21 -21
  70. package/dist/chunks/{reference-efq5tq4f.js → workspace-6f71wzny.js} +18 -18
  71. package/dist/chunks/{reference-5rswhkvm.js → workspace-6h5kb07x.js} +20 -20
  72. package/dist/chunks/{reference-nbwvt5pv.js → workspace-6jgmv1yx.js} +8 -8
  73. package/dist/chunks/{reference-qs0ddh18.js → workspace-6kkm1vms.js} +32 -32
  74. package/dist/chunks/{reference-hbhmt5dn.js → workspace-6m75b8cv.js} +2 -2
  75. package/dist/chunks/{reference-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{reference-71q4at8m.js → workspace-71q4at8m.js} +1 -1
  77. package/dist/chunks/{reference-as4zy6vm.js → workspace-75my1bc5.js} +6 -6
  78. package/dist/chunks/{reference-4zrw1ey2.js → workspace-772n9qp6.js} +2 -2
  79. package/dist/chunks/{reference-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{reference-yp7f5kew.js → workspace-7d6jfxsy.js} +15 -15
  81. package/dist/chunks/{reference-e1nwe2td.js → workspace-7f86n5vp.js} +8 -8
  82. package/dist/chunks/{reference-rtphz2v8.js → workspace-7xpb4b38.js} +9 -9
  83. package/dist/chunks/{reference-xxhb4jr7.js → workspace-81swgkk7.js} +9 -9
  84. package/dist/chunks/{reference-hkjf8z9r.js → workspace-87deq66t.js} +6 -6
  85. package/dist/chunks/{reference-tcezcvh9.js → workspace-89znhe33.js} +4 -4
  86. package/dist/chunks/{reference-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/workspace-8g1qq46z.js +247 -0
  88. package/dist/chunks/{reference-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{reference-n3wdcy6w.js → workspace-8sghyhzw.js} +8 -8
  90. package/dist/chunks/{reference-4mkcvr19.js → workspace-90h7kwk9.js} +5 -5
  91. package/dist/chunks/{reference-smq0r06k.js → workspace-98cg5nke.js} +59 -59
  92. package/dist/chunks/{reference-w3x9v1nk.js → workspace-9ex8f1cq.js} +8 -8
  93. package/dist/chunks/{reference-48ghgnyj.js → workspace-9hvf7zmn.js} +9 -9
  94. package/dist/chunks/{reference-w671fmtf.js → workspace-9shdk57a.js} +46 -46
  95. package/dist/chunks/{reference-qjwymapa.js → workspace-9wbxqmjz.js} +25 -25
  96. package/dist/chunks/{reference-7mydebfb.js → workspace-9xw3tj2y.js} +11 -11
  97. package/dist/chunks/{reference-sgfkh1bp.js → workspace-a0z4fccy.js} +4 -4
  98. package/dist/chunks/{reference-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{reference-dxt7hne3.js → workspace-a5bp1xck.js} +11 -11
  100. package/dist/chunks/{reference-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  101. package/dist/chunks/{reference-29sw5btw.js → workspace-aam5c1df.js} +43 -43
  102. package/dist/chunks/{reference-gt0cxfk7.js → workspace-aan3cyfv.js} +1 -1
  103. package/dist/chunks/{reference-5t7ms9mx.js → workspace-acdf9wey.js} +18 -18
  104. package/dist/chunks/{reference-kr2c45mn.js → workspace-ade7nb1r.js} +20 -20
  105. package/dist/chunks/{reference-92yzrxcq.js → workspace-anadqz16.js} +25 -25
  106. package/dist/chunks/{reference-4fse7aks.js → workspace-av8gdzmj.js} +17 -17
  107. package/dist/chunks/{reference-234ap6ss.js → workspace-b2wde7ay.js} +18 -18
  108. package/dist/chunks/{reference-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{reference-ej085sj0.js → workspace-beamfkq3.js} +4 -4
  110. package/dist/chunks/{reference-jtefztwj.js → workspace-behfe7zr.js} +4 -4
  111. package/dist/chunks/{reference-vyy6cxw9.js → workspace-bha4atvq.js} +4 -4
  112. package/dist/chunks/{reference-cvaa60g2.js → workspace-bn5b4a4k.js} +14 -14
  113. package/dist/chunks/{reference-0pr2t355.js → workspace-bnf2jjvk.js} +15 -15
  114. package/dist/chunks/{reference-65ttwmv3.js → workspace-br1eash1.js} +19 -19
  115. package/dist/chunks/{reference-z1f4gy9p.js → workspace-bv56xrks.js} +8 -8
  116. package/dist/chunks/workspace-by5v678g.js +18 -0
  117. package/dist/chunks/{reference-ftm00p2b.js → workspace-c30fjtmk.js} +1 -1
  118. package/dist/chunks/{reference-189pdvy9.js → workspace-c8266qxr.js} +13 -13
  119. package/dist/chunks/{reference-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{reference-jzxr77q3.js → workspace-cxqtyqa4.js} +26 -26
  121. package/dist/chunks/{reference-x3xe09d9.js → workspace-cxssh81s.js} +3 -3
  122. package/dist/chunks/{reference-hj92pwq6.js → workspace-d9sn21bc.js} +2 -2
  123. package/dist/chunks/{reference-4grg7b1w.js → workspace-dcvqdecp.js} +4 -4
  124. package/dist/chunks/{reference-y4xp3h88.js → workspace-dx1xsamq.js} +282 -282
  125. package/dist/chunks/{reference-8rpas02w.js → workspace-e6jfrte4.js} +17 -17
  126. package/dist/chunks/{reference-13j5h6zk.js → workspace-e9z75ypz.js} +13 -13
  127. package/dist/chunks/{reference-gbt6w4kb.js → workspace-eaj1djv9.js} +4 -4
  128. package/dist/chunks/{reference-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{reference-2f0bjgcj.js → workspace-evbgk2k8.js} +5 -5
  130. package/dist/chunks/{reference-f828m53h.js → workspace-f828m53h.js} +2 -2
  131. package/dist/chunks/{reference-5nsrms9d.js → workspace-fb6ja2y4.js} +1 -1
  132. package/dist/chunks/{reference-gvqge573.js → workspace-fsyg4b4p.js} +9 -9
  133. package/dist/chunks/{reference-aw218f2w.js → workspace-ftsj9eb4.js} +14 -14
  134. package/dist/chunks/{reference-bkaavq67.js → workspace-fvev15ye.js} +10 -10
  135. package/dist/chunks/{reference-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{reference-3kmcaztr.js → workspace-fyjrpq2n.js} +11 -11
  137. package/dist/chunks/{reference-qcvy1hs9.js → workspace-g47eftgs.js} +9 -9
  138. package/dist/chunks/{reference-675rgbk8.js → workspace-gbze51rp.js} +41 -41
  139. package/dist/chunks/{reference-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{reference-h8zt85z5.js → workspace-gdvq22q3.js} +10 -10
  141. package/dist/chunks/{reference-7qfmb4s4.js → workspace-gha35mp7.js} +43 -43
  142. package/dist/chunks/{reference-j5vg7gm1.js → workspace-gjg21rfc.js} +22 -22
  143. package/dist/chunks/{reference-zzd7tndm.js → workspace-gpw9wb7z.js} +26 -26
  144. package/dist/chunks/{reference-ap8njz3k.js → workspace-gqay82r3.js} +11 -11
  145. package/dist/chunks/{reference-th5km1p3.js → workspace-gv6a8nnw.js} +5 -5
  146. package/dist/chunks/{reference-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
  147. package/dist/chunks/{reference-g8xxs4tx.js → workspace-h2r7bbkd.js} +8 -8
  148. package/dist/chunks/{reference-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{reference-83x6p9kd.js → workspace-hggyschk.js} +1 -1
  150. package/dist/chunks/{reference-0n9gyfew.js → workspace-hhvjvf8g.js} +4 -4
  151. package/dist/chunks/{reference-e82z9tr0.js → workspace-hjt4xg1x.js} +7 -7
  152. package/dist/chunks/{reference-7gvwkz6m.js → workspace-hkfg6fzm.js} +5 -5
  153. package/dist/chunks/{reference-hn57h045.js → workspace-hn57h045.js} +1 -1
  154. package/dist/chunks/{reference-yvmq8qxx.js → workspace-hs7fbk9e.js} +12 -12
  155. package/dist/chunks/{reference-xakp9rv9.js → workspace-hww6a8kv.js} +12 -12
  156. package/dist/chunks/{reference-52zvc43d.js → workspace-hxbwkwf2.js} +41 -41
  157. package/dist/chunks/{reference-w94h77jp.js → workspace-j2e3vmqt.js} +15 -15
  158. package/dist/chunks/{reference-6k7a189h.js → workspace-j2qyabf0.js} +36 -36
  159. package/dist/chunks/{reference-g6zhr88b.js → workspace-j4w9fnyz.js} +6 -6
  160. package/dist/chunks/{reference-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  161. package/dist/chunks/{reference-8jmaqybk.js → workspace-j7wq2tw5.js} +3 -3
  162. package/dist/chunks/{reference-jahnfg6b.js → workspace-j8qeg2b0.js} +23 -23
  163. package/dist/chunks/{reference-bq8xzrzg.js → workspace-j9987dbw.js} +17 -17
  164. package/dist/chunks/{reference-kjz5gbca.js → workspace-jefma2gq.js} +10 -10
  165. package/dist/chunks/{reference-ratrq7cm.js → workspace-jfqtm2ew.js} +4 -4
  166. package/dist/chunks/{reference-xdk9p2qn.js → workspace-jw80jp6b.js} +21 -21
  167. package/dist/chunks/{reference-rvnq7e84.js → workspace-jwdv4y1w.js} +11 -11
  168. package/dist/chunks/{reference-xbjve9g7.js → workspace-jwef205w.js} +10 -10
  169. package/dist/chunks/{reference-hhczrqr1.js → workspace-jx36ppfv.js} +4 -4
  170. package/dist/chunks/{reference-qas58w1m.js → workspace-k2v8w9sh.js} +17 -17
  171. package/dist/chunks/{reference-x0x84apk.js → workspace-k3s1wnxs.js} +18 -18
  172. package/dist/chunks/{reference-v61v6jk6.js → workspace-k6hm1c4z.js} +17 -17
  173. package/dist/chunks/{reference-j5208yae.js → workspace-k8e0krnc.js} +9 -9
  174. package/dist/chunks/{reference-7my7c7z0.js → workspace-kc6m6sz4.js} +9 -9
  175. package/dist/chunks/{reference-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  176. package/dist/chunks/{reference-fmxx1bts.js → workspace-ks28khcp.js} +24 -24
  177. package/dist/chunks/{reference-3eqkaq2z.js → workspace-ktdx9tqj.js} +14 -14
  178. package/dist/chunks/{reference-vqz1dqct.js → workspace-ky29xcn8.js} +19 -19
  179. package/dist/chunks/{reference-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/workspace-mbnhm94y.js +22 -0
  181. package/dist/chunks/{reference-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
  182. package/dist/chunks/{reference-r4avt07e.js → workspace-mn4xswwv.js} +24 -24
  183. package/dist/chunks/{reference-2k5ec76m.js → workspace-mnvzjba7.js} +34 -34
  184. package/dist/chunks/{reference-6y0x6mhe.js → workspace-mpd5qf4j.js} +36 -36
  185. package/dist/chunks/{reference-r5x6zcsm.js → workspace-mvfsc1pv.js} +3 -3
  186. package/dist/chunks/{reference-k6szry07.js → workspace-ncyvmtt2.js} +19 -19
  187. package/dist/chunks/{reference-610kgvj3.js → workspace-nfgy6v4x.js} +8 -8
  188. package/dist/chunks/{reference-j0w83stm.js → workspace-nm95p8zp.js} +6 -6
  189. package/dist/chunks/{reference-jhetwysa.js → workspace-ns261efr.js} +3 -3
  190. package/dist/chunks/{reference-zky2ysba.js → workspace-nyc7jxxp.js} +37 -37
  191. package/dist/chunks/{reference-csf2jhsg.js → workspace-paegk39x.js} +4 -4
  192. package/dist/chunks/{reference-j935v87r.js → workspace-paphc93g.js} +2 -2
  193. package/dist/chunks/{reference-x7kn3ctb.js → workspace-pazbjste.js} +9 -9
  194. package/dist/chunks/{reference-pcfbqvzv.js → workspace-pbrpfg1g.js} +18 -18
  195. package/dist/chunks/{reference-6gzrz82e.js → workspace-pcyx20k3.js} +16 -16
  196. package/dist/chunks/{reference-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{reference-pknna89w.js → workspace-pknna89w.js} +1 -1
  198. package/dist/chunks/{reference-ewnjgq7q.js → workspace-prdj2v50.js} +5 -5
  199. package/dist/chunks/{reference-hp02hwp4.js → workspace-q0syr9ta.js} +13 -13
  200. package/dist/chunks/{reference-9dpegb11.js → workspace-q1hq4vqk.js} +18 -18
  201. package/dist/chunks/{reference-pfq1v9kt.js → workspace-q6xe9kp6.js} +24 -24
  202. package/dist/chunks/{reference-3c1tgrea.js → workspace-qfzde7bh.js} +6 -6
  203. package/dist/chunks/{reference-j16zphk7.js → workspace-qnbyzqhb.js} +24 -24
  204. package/dist/chunks/{reference-q9b7wkyy.js → workspace-qnnfhh99.js} +16 -16
  205. package/dist/chunks/{reference-37b2kds0.js → workspace-qp21pdsm.js} +43 -43
  206. package/dist/chunks/{reference-6dg7rqxz.js → workspace-qs1x3754.js} +17 -17
  207. package/dist/chunks/{reference-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  208. package/dist/chunks/{reference-ja4wy4ee.js → workspace-qwkytnft.js} +9 -9
  209. package/dist/chunks/{reference-a291bara.js → workspace-qyyvm09j.js} +8 -8
  210. package/dist/chunks/{reference-zxwpk2nb.js → workspace-r0vgb2sm.js} +1 -1
  211. package/dist/chunks/{reference-aykdxbsk.js → workspace-r2c1v5cs.js} +11 -11
  212. package/dist/chunks/{reference-j6bm1nn6.js → workspace-r6fr6xhv.js} +16 -16
  213. package/dist/chunks/{reference-fhjrrdjb.js → workspace-r97fj8kj.js} +22 -22
  214. package/dist/chunks/{reference-6wsb51zt.js → workspace-rbfxpsrk.js} +18 -18
  215. package/dist/chunks/{reference-f1my3kj4.js → workspace-rf48fc3z.js} +20 -20
  216. package/dist/chunks/{reference-j5v2xxap.js → workspace-rnwhwxkr.js} +11 -11
  217. package/dist/chunks/{reference-e7kd7gj5.js → workspace-rpb40cdh.js} +3 -3
  218. package/dist/chunks/{reference-4nvekdmf.js → workspace-rtathh62.js} +8 -8
  219. package/dist/chunks/{reference-1f0ahqzp.js → workspace-rvbs1y5m.js} +16 -16
  220. package/dist/chunks/{reference-yx9d5yhn.js → workspace-rw0gxka2.js} +20 -20
  221. package/dist/chunks/{reference-redrjz5k.js → workspace-rybesq9t.js} +15 -15
  222. package/dist/chunks/{reference-e46ah9gc.js → workspace-saahjfzz.js} +7 -7
  223. package/dist/chunks/{reference-mfwv2709.js → workspace-scg96trk.js} +17 -17
  224. package/dist/chunks/{reference-t8mcaem5.js → workspace-sczgc2a3.js} +1 -1
  225. package/dist/chunks/{reference-d6fzg897.js → workspace-sm6980w8.js} +17 -17
  226. package/dist/chunks/{reference-8pqq62t9.js → workspace-svjbpvc0.js} +18 -18
  227. package/dist/chunks/{reference-xb3xm0py.js → workspace-swa700vz.js} +16 -16
  228. package/dist/chunks/{reference-m4wh40kd.js → workspace-szqt16bj.js} +2 -2
  229. package/dist/chunks/{reference-e7g2pv1c.js → workspace-t07nr89d.js} +13 -13
  230. package/dist/chunks/{reference-5kptn8c0.js → workspace-t0x5rdq8.js} +9 -9
  231. package/dist/chunks/{reference-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{reference-knhghh0v.js → workspace-tb3qt4de.js} +30 -30
  233. package/dist/chunks/{reference-tdstcens.js → workspace-tdstcens.js} +1 -1
  234. package/dist/chunks/{reference-vh99d6cz.js → workspace-th7rxwpk.js} +11 -11
  235. package/dist/chunks/{reference-1bmfk1j7.js → workspace-tmv3vrbh.js} +9 -9
  236. package/dist/chunks/{reference-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  237. package/dist/chunks/{reference-yjb32c3k.js → workspace-v2dqap2x.js} +11 -11
  238. package/dist/chunks/{reference-m9qjv7qq.js → workspace-vcm9nwkf.js} +23 -23
  239. package/dist/chunks/{reference-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  240. package/dist/chunks/{reference-3j8sdtpz.js → workspace-vncycja5.js} +4 -4
  241. package/dist/chunks/{reference-4j04egcw.js → workspace-vw4rsjqf.js} +59 -59
  242. package/dist/chunks/{reference-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{reference-7mnn3rdt.js → workspace-w2tqht5n.js} +3 -3
  244. package/dist/chunks/{reference-zh4avhke.js → workspace-w3c11q9a.js} +26 -26
  245. package/dist/chunks/{reference-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{reference-3jp54z3r.js → workspace-w79zsp0s.js} +1 -1
  247. package/dist/chunks/{reference-3qcr26pr.js → workspace-w8ssx6tw.js} +4 -4
  248. package/dist/chunks/{reference-wd87259q.js → workspace-wd87259q.js} +1 -1
  249. package/dist/chunks/{reference-nns6kj95.js → workspace-we9gybbj.js} +7 -7
  250. package/dist/chunks/{reference-4vptvh4s.js → workspace-wvmwf5r3.js} +37 -37
  251. package/dist/chunks/{reference-qfhza6js.js → workspace-wycsdkc3.js} +9 -9
  252. package/dist/chunks/{reference-y0mcqq9w.js → workspace-wyp518qd.js} +32 -32
  253. package/dist/chunks/{reference-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{reference-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
  255. package/dist/chunks/{reference-y19r4g5g.js → workspace-x4f7xa08.js} +12 -12
  256. package/dist/chunks/{reference-qjp4a40e.js → workspace-x6cge8hj.js} +11 -11
  257. package/dist/chunks/{reference-j1tww2gp.js → workspace-xaj3yemm.js} +6 -6
  258. package/dist/chunks/{reference-qnyc9adz.js → workspace-xb38tjbm.js} +27 -27
  259. package/dist/chunks/{reference-gsx0ryk4.js → workspace-xekzrwwc.js} +9 -9
  260. package/dist/chunks/{reference-1wxb385z.js → workspace-xep7y6dg.js} +1 -1
  261. package/dist/chunks/{reference-8q0rcqtv.js → workspace-xfmmbppy.js} +14 -14
  262. package/dist/chunks/{reference-kgyjz9fy.js → workspace-xrnzdda7.js} +25 -25
  263. package/dist/chunks/{reference-wfbvyrr3.js → workspace-xyvg2pqc.js} +26 -26
  264. package/dist/chunks/{reference-y0n2m4xg.js → workspace-y0n2m4xg.js} +1 -1
  265. package/dist/chunks/{reference-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{reference-y71avatq.js → workspace-y71avatq.js} +1 -1
  267. package/dist/chunks/{reference-8q01rjya.js → workspace-yaw72qpm.js} +18 -18
  268. package/dist/chunks/{reference-zsy896rw.js → workspace-ybpsbgjn.js} +10 -10
  269. package/dist/chunks/{reference-fj264fv9.js → workspace-yd1p1r8q.js} +79 -79
  270. package/dist/chunks/{reference-gf18h3v3.js → workspace-yjgcx94j.js} +12 -12
  271. package/dist/chunks/{reference-510m7gjw.js → workspace-yjptyezs.js} +5 -5
  272. package/dist/chunks/{reference-0akhmw49.js → workspace-yrejkez5.js} +5 -5
  273. package/dist/chunks/{reference-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{reference-s4enseaf.js → workspace-yrznvahk.js} +2 -2
  275. package/dist/chunks/{reference-v4hps1eq.js → workspace-yxse6n4e.js} +14 -14
  276. package/dist/chunks/{reference-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{reference-29x78va6.js → workspace-z63w68vq.js} +6 -6
  278. package/dist/chunks/{reference-z146wf5t.js → workspace-z7th72fz.js} +29 -29
  279. package/dist/chunks/{reference-gjdkj7gs.js → workspace-zbt061zt.js} +24 -24
  280. package/dist/chunks/{reference-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{reference-sfddxscf.js → workspace-zg7z3sgq.js} +33 -33
  282. package/dist/chunks/{reference-gkmh43rj.js → workspace-zgh2pzwp.js} +7 -7
  283. package/dist/chunks/{reference-yfxdtzm1.js → workspace-zgpjdkre.js} +24 -24
  284. package/dist/chunks/{reference-fd0t6sve.js → workspace-zjp7g5zn.js} +28 -28
  285. package/dist/chunks/{reference-wtjt4ngy.js → workspace-zkdt6a6d.js} +36 -36
  286. package/dist/chunks/{reference-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{reference-9d1kp679.js → workspace-zwhke550.js} +40 -40
  288. package/dist/chunks/{reference-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +113 -113
  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 +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  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 +113 -113
  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 +1 -1
  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 +88 -88
  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 +68 -68
  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 +3 -3
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +93 -93
  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 +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  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 +127 -127
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  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 +99 -99
  469. package/dist/mcp/instructions.js +116 -116
  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 +114 -114
  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 +86 -86
  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 +4 -4
  496. package/dist/plugin/plan.js +95 -95
  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 +80 -80
  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 +112 -112
  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 +220 -220
  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 +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +86 -86
  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 +1 -1
  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 +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +213 -213
  576. package/dist/session/execution.js +118 -118
  577. package/dist/session/generate.js +148 -148
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +78 -78
  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 +3 -3
  594. package/dist/session/runner/index.js +1 -1
  595. package/dist/session/runner/llm.js +225 -225
  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 +169 -169
  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 +83 -83
  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 +5 -5
  612. package/dist/session/title.js +149 -149
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +212 -212
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +213 -213
  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 +100 -100
  624. package/dist/skill.js +107 -107
  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 +115 -115
  630. package/dist/tool/plugin/edit.js +111 -111
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +1 -1
  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 +206 -206
  639. package/dist/tool/plugin/skill.js +104 -104
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +107 -107
  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 +5 -5
  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 +4 -4
  661. package/dist/v1/config/formatter.js +7 -7
  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 +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  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 +78 -78
  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 +4 -4
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +340 -340
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +89 -89
  686. package/package.json +8 -8
  687. package/dist/chunks/reference-9zdhvgqs.js +0 -18
  688. package/dist/chunks/reference-m71yds50.js +0 -247
  689. package/dist/chunks/reference-sjqcgh4k.js +0 -22
  690. /package/dist/chunks/{reference-0mesazry.js → workspace-0mesazry.js} +0 -0
  691. /package/dist/chunks/{reference-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{reference-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{reference-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{reference-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{reference-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{reference-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{reference-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{reference-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{reference-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{reference-3asan66x.js → workspace-3asan66x.js} +0 -0
  701. /package/dist/chunks/{reference-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{reference-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{reference-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{reference-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{reference-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{reference-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{reference-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{reference-53557ph1.js → workspace-53557ph1.js} +0 -0
  709. /package/dist/chunks/{reference-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{reference-6prwharc.js → workspace-6prwharc.js} +0 -0
  711. /package/dist/chunks/{reference-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{reference-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{reference-822emrt2.js → workspace-822emrt2.js} +0 -0
  714. /package/dist/chunks/{reference-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{reference-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{reference-922hggd3.js → workspace-922hggd3.js} +0 -0
  717. /package/dist/chunks/{reference-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{reference-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{reference-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{reference-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{reference-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{reference-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{reference-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{reference-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{reference-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{reference-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{reference-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{reference-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{reference-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{reference-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{reference-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{reference-df08tz66.js → workspace-df08tz66.js} +0 -0
  733. /package/dist/chunks/{reference-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{reference-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{reference-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{reference-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{reference-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{reference-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{reference-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{reference-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{reference-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{reference-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{reference-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{reference-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{reference-g86h250q.js → workspace-g86h250q.js} +0 -0
  746. /package/dist/chunks/{reference-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{reference-gftt206x.js → workspace-gftt206x.js} +0 -0
  748. /package/dist/chunks/{reference-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{reference-hk9envan.js → workspace-hk9envan.js} +0 -0
  750. /package/dist/chunks/{reference-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{reference-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{reference-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{reference-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{reference-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{reference-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{reference-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{reference-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{reference-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{reference-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{reference-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{reference-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{reference-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{reference-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{reference-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{reference-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{reference-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{reference-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{reference-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{reference-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{reference-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{reference-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{reference-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{reference-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{reference-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{reference-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{reference-x61499pn.js → workspace-x61499pn.js} +0 -0
  777. /package/dist/chunks/{reference-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{reference-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{reference-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{reference-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{reference-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
- ID17,
2
+ ID10,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./reference-c7ecgrk6.js";
8
+ } from "./workspace-63c29q5z.js";
9
9
  import {
10
- Service62,
11
- node66
12
- } from "./reference-aykdxbsk.js";
10
+ Service60,
11
+ node64
12
+ } from "./workspace-r2c1v5cs.js";
13
13
  import {
14
14
  map2
15
- } from "./reference-4zrw1ey2.js";
15
+ } from "./workspace-772n9qp6.js";
16
16
  import {
17
- ID16,
17
+ ID9,
18
18
  VariantID2,
19
- Ref4
20
- } from "./reference-yvmq8qxx.js";
19
+ Ref3
20
+ } from "./workspace-hs7fbk9e.js";
21
21
  import {
22
- ID10,
23
- Service61,
24
- node65
25
- } from "./reference-j16zphk7.js";
22
+ ID6,
23
+ Service57,
24
+ node61
25
+ } from "./workspace-qnbyzqhb.js";
26
26
  import {
27
- Service60,
28
- node64
29
- } from "./reference-qjwymapa.js";
27
+ Service56,
28
+ node60
29
+ } from "./workspace-9wbxqmjz.js";
30
30
  import {
31
31
  __export
32
- } from "./reference-9rqn6x4v.js";
32
+ } from "./workspace-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: () => Service59,
38
+ Service: () => Service55,
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: () => layer19,
46
- node: () => node63,
45
+ layer: () => layer22,
46
+ node: () => node59,
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: ID17,
57
- modelID: ID16,
56
+ providerID: ID10,
57
+ modelID: ID9,
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: ID17,
67
- modelID: ID16,
66
+ providerID: ID10,
67
+ modelID: ID9,
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: ID17,
77
- modelID: ID16,
76
+ providerID: ID10,
77
+ modelID: ID9,
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: ID17,
87
- modelID: ID16,
86
+ providerID: ID10,
87
+ modelID: ID9,
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 Service59 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service55 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 layer19 = Layer.effect(Service59, Effect.gen(function* () {
222
- const catalog = yield* Service60;
223
- const integrations = yield* Service61;
221
+ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
222
+ const catalog = yield* Service56;
223
+ const integrations = yield* Service57;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service62;
225
+ const aisdk = yield* Service60;
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 ?? ID10.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID6.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, {
@@ -235,7 +235,7 @@ var layer19 = Layer.effect(Service59, Effect.gen(function* () {
235
235
  const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
236
236
  return {
237
237
  model: runtime,
238
- ref: Ref4.make({
238
+ ref: Ref3.make({
239
239
  id: selected.id,
240
240
  providerID: selected.providerID,
241
241
  ...variant === undefined ? {} : { variant }
@@ -247,7 +247,7 @@ var layer19 = Layer.effect(Service59, Effect.gen(function* () {
247
247
  websocket: selected.websocket ?? true
248
248
  };
249
249
  });
250
- return Service59.of({
250
+ return Service55.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 node63 = makeLocationNode({
268
- service: Service59,
269
- layer: layer19,
270
- deps: [node64, node65, Npm.node, node66]
267
+ var node59 = makeLocationNode({
268
+ service: Service55,
269
+ layer: layer22,
270
+ deps: [node60, node61, Npm.node, node64]
271
271
  });
272
272
 
273
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node63, exports_model_resolver };
273
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node59, exports_model_resolver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID16,
2
+ ID9,
3
3
  Family2
4
- } from "./reference-yvmq8qxx.js";
4
+ } from "./workspace-hs7fbk9e.js";
5
5
  import {
6
- Service63
7
- } from "./reference-37b2kds0.js";
6
+ Service49
7
+ } from "./workspace-qp21pdsm.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./reference-adaj7ksj.js";
10
+ } from "./workspace-4brkry6z.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service63;
39
+ const config = yield* Service49;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  catalog.model.update(providerID, item.key, (model) => {
66
- model.modelID = ID16.make(item.key);
66
+ model.modelID = ID9.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make9();
128
+ var LMStudioPlugin2 = make7();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make9, LMStudioPlugin2 };
145
+ export { make7, LMStudioPlugin2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./reference-y71avatq.js";
3
+ } from "./workspace-y71avatq.js";
4
4
  import {
5
5
  Service79,
6
6
  node84
7
- } from "./reference-ej085sj0.js";
7
+ } from "./workspace-beamfkq3.js";
8
8
  import {
9
- Event14,
10
- Service66,
11
- node70
12
- } from "./reference-fd0t6sve.js";
9
+ Event15,
10
+ Service59,
11
+ node63
12
+ } from "./workspace-zjp7g5zn.js";
13
13
  import {
14
- Service72,
15
- node76
16
- } from "./reference-d6fzg897.js";
14
+ Service76,
15
+ node81
16
+ } from "./workspace-sm6980w8.js";
17
17
  import {
18
- Service49,
19
- node52
20
- } from "./reference-gjdkj7gs.js";
18
+ Service68,
19
+ node72
20
+ } from "./workspace-zbt061zt.js";
21
21
  import {
22
- ID18,
23
- Service78,
24
- node83
25
- } from "./reference-zzd7tndm.js";
22
+ ID7,
23
+ Service58,
24
+ node62
25
+ } from "./workspace-gpw9wb7z.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./reference-kg06axw8.js";
29
+ } from "./workspace-kg06axw8.js";
30
30
  import {
31
- ID10,
31
+ ID6,
32
32
  MethodID2,
33
- Service61,
34
- node65
35
- } from "./reference-j16zphk7.js";
33
+ Service57,
34
+ node61
35
+ } from "./workspace-qnbyzqhb.js";
36
36
  import {
37
37
  __export
38
- } from "./reference-9rqn6x4v.js";
38
+ } from "./workspace-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options3,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -62,9 +62,9 @@ __export(exports_mcp4, {
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured4,
65
+ configured: () => configured3,
66
66
  layer: () => layer14,
67
- node: () => node37
67
+ node: () => node38
68
68
  });
69
69
  import { Mcp } from "@opencode/schema/mcp";
70
70
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID10.pipe(Schema.optional)
84
+ integrationID: ID6.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -167,19 +167,19 @@ var cloneConfig = (config) => structuredClone(config);
167
167
 
168
168
  class Service33 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options4 = Schema.Struct({
170
+ var Options3 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
176
  var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
177
- const location = yield* Service72;
178
- const environment = yield* Service49;
177
+ const location = yield* Service76;
178
+ const environment = yield* Service68;
179
179
  const bus = yield* Service79;
180
- const forms = yield* Service78;
181
- const integration = yield* Service61;
182
- const credentials = yield* Service66;
180
+ const forms = yield* Service58;
181
+ const integration = yield* Service57;
182
+ const credentials = yield* Service59;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID10.make(suffix);
194
+ const integrationID = ID6.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError4({ server: name });
219
+ return yield* new NotFoundError3({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -315,7 +315,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
315
315
  const elicitation = {
316
316
  create: (input) => Effect.gen(function* () {
317
317
  if (input.params.mode === "url") {
318
- const formID = ID18.create();
318
+ const formID = ID7.create();
319
319
  const key = input.server + "\x00" + input.params.elicitationId;
320
320
  urlElicitations.set(key, formID);
321
321
  return yield* forms.ask({
@@ -433,7 +433,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
433
433
  entry.scope = scope;
434
434
  const authProvider = yield* connectProvider(entry);
435
435
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
436
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service49, environment), Scope.provide(scope), Effect.exit);
436
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service68, environment), Scope.provide(scope), Effect.exit);
437
437
  if (Exit.isSuccess(result)) {
438
438
  entry.client = result.value.connection;
439
439
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
557
557
  yield* startServer(name, entry);
558
558
  }).pipe(locks.withLock(name));
559
559
  });
560
- fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
560
+ fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
561
561
  const state = create3({
562
562
  name: "mcp",
563
563
  initial: () => ({
@@ -707,14 +707,14 @@ var layer14 = (options) => Layer.effect(Service33, Effect.gen(function* () {
707
707
  })
708
708
  });
709
709
  }));
710
- function configured4(options) {
710
+ function configured3(options) {
711
711
  return makeLocationNode({
712
712
  service: Service33,
713
713
  layer: layer14(options),
714
- deps: [node76, node52, node84, node83, node65, node70]
714
+ deps: [node81, node72, node84, node62, node61, node63]
715
715
  });
716
716
  }
717
- var node37 = configured4();
717
+ var node38 = configured3();
718
718
  function toElicitationField(key, property, required) {
719
719
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
720
720
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
765
765
  }
766
766
  }
767
767
 
768
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service33, Options4, layer14, configured4, node37, exports_mcp4 };
768
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service33, Options3, layer14, configured3, node38, exports_mcp4 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./reference-922hggd3.js";
4
+ } from "./workspace-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service74,
9
- node78
10
- } from "./reference-kjz5gbca.js";
8
+ Service78,
9
+ node83
10
+ } from "./workspace-jefma2gq.js";
11
11
  import {
12
- Service72,
13
- node76
14
- } from "./reference-d6fzg897.js";
12
+ Service76,
13
+ node81
14
+ } from "./workspace-sm6980w8.js";
15
15
  import {
16
16
  create3
17
- } from "./reference-kg06axw8.js";
17
+ } from "./workspace-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./reference-9rqn6x4v.js";
20
+ } from "./workspace-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error3,
26
26
  ID: () => ID5,
27
- Service: () => Service36,
27
+ Service: () => Service54,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node40,
30
- noopLayer: () => noopLayer2
29
+ node: () => node58,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service36 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service54 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service36, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service74;
50
+ const git = yield* Service78;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service72;
52
+ const location = yield* Service76;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -133,14 +133,14 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service54.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node40 = makeLocationNode({
139
- service: Service36,
138
+ var node58 = makeLocationNode({
139
+ service: Service54,
140
140
  layer,
141
- deps: [FSUtil.node, node78, Global.node, node76]
141
+ deps: [FSUtil.node, node83, Global.node, node81]
142
142
  });
143
- var noopLayer2 = Layer.succeed(Service36, Service36.of({
143
+ var noopLayer3 = Layer.succeed(Service54, Service54.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -158,4 +158,4 @@ function failure(operation, cause) {
158
158
  });
159
159
  }
160
160
 
161
- export { ID5, Error3, Service36, node40, noopLayer2, exports_snapshot2 };
161
+ export { ID5, Error3, Service54, node58, noopLayer3, exports_snapshot2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./reference-ej085sj0.js";
4
+ } from "./workspace-beamfkq3.js";
5
5
  import {
6
6
  __export
7
- } from "./reference-9rqn6x4v.js";
7
+ } from "./workspace-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: () => Event20,
15
+ Event: () => Event14,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID18,
20
- Info: () => Info33,
19
+ ID: () => ID7,
20
+ Info: () => Info21,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
24
- Reply: () => Reply3,
25
- Service: () => Service78,
23
+ NotFoundError: () => NotFoundError6,
24
+ Reply: () => Reply2,
25
+ Service: () => Service58,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node83,
28
+ layer: () => layer23,
29
+ node: () => node62,
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 Event20 } from "@opencode/schema/form";
36
+ import { Event as Event14 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID18 = Form.ID;
39
- var Info33 = Form.Info;
38
+ var ID7 = Form.ID;
39
+ var Info21 = 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: ID18
47
+ class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID7
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: ID18
56
+ id: ID7
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: ID18
64
+ id: ID7
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: ID18,
72
+ id: ID7,
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 Service78 extends Context.Service()("@opencode/Form") {
82
+ class Service58 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service78, Effect.gen(function* () {
84
+ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
85
85
  const bus = yield* Service79;
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 NotFoundError6({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID18.create();
92
+ const id = input.id ?? ID7.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(Service78, 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 Service78.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service58.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node83 = makeLocationNode({ service: Service78, layer: layer25, deps: [node84] });
158
+ var node62 = makeLocationNode({ service: Service58, layer: layer23, deps: [node84] });
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 { ID18, Info33, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
310
+ export { ID7, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service58, layer23, node62, validateAnswer2, validateFields2, exports_form, Event14 };