@opencode/core 0.0.0-dev-572 → 0.0.0-dev-575

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 (932) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +106 -106
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +248 -248
  7. package/dist/bus.js +86 -86
  8. package/dist/chunks/{reference-qdess7qm.js → project-019n5914.js} +27 -27
  9. package/dist/chunks/{reference-034tev2y.js → project-034tev2y.js} +2 -2
  10. package/dist/chunks/{reference-2hjsqf89.js → project-04xdb978.js} +23 -23
  11. package/dist/chunks/{reference-gn2zye69.js → project-07a6zqrb.js} +14 -14
  12. package/dist/chunks/{reference-t67p36zk.js → project-0j1zqr2k.js} +10 -10
  13. package/dist/chunks/{reference-5r9mks47.js → project-0jbw3gkr.js} +10 -10
  14. package/dist/chunks/{reference-atyx0n5q.js → project-0jf3g4p5.js} +30 -30
  15. package/dist/chunks/{reference-0ma9gw4f.js → project-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{reference-2hnx7p23.js → project-0nxdczg9.js} +31 -31
  17. package/dist/chunks/{reference-9dp51m1t.js → project-0svgr7xd.js} +20 -20
  18. package/dist/chunks/project-0t4nwps0.js +16 -0
  19. package/dist/chunks/{reference-s3r0jkg8.js → project-0twfw88w.js} +7 -7
  20. package/dist/chunks/{reference-2ta3xcqa.js → project-0wpz3h74.js} +20 -20
  21. package/dist/chunks/{reference-6wmf7jyj.js → project-0yw17pkx.js} +13 -13
  22. package/dist/chunks/{reference-4ke1sdaf.js → project-135jvntg.js} +31 -31
  23. package/dist/chunks/{reference-ck5jdqth.js → project-16a46khb.js} +24 -24
  24. package/dist/chunks/{reference-jdk019fs.js → project-16jxsy3y.js} +5 -5
  25. package/dist/chunks/{reference-1aqsckx4.js → project-1aqsckx4.js} +1 -1
  26. package/dist/chunks/{reference-1ep2p91f.js → project-1ep2p91f.js} +2 -2
  27. package/dist/chunks/{reference-qsdghx1p.js → project-1fjzrn8a.js} +4 -4
  28. package/dist/chunks/{reference-bdv8sqrq.js → project-1gdzt2xj.js} +1 -1
  29. package/dist/chunks/{reference-xn61qhd8.js → project-1kmqmr0e.js} +38 -38
  30. package/dist/chunks/{reference-wgy2m6zh.js → project-1mpqg9fr.js} +17 -17
  31. package/dist/chunks/{reference-py8xjxyt.js → project-1tgvq00n.js} +32 -32
  32. package/dist/chunks/{reference-1x2knyw4.js → project-1x2knyw4.js} +1 -1
  33. package/dist/chunks/{reference-42yqcdz9.js → project-1xdkex0j.js} +44 -44
  34. package/dist/chunks/{reference-39r7m9zj.js → project-1ym5fh8n.js} +31 -31
  35. package/dist/chunks/{reference-8b3vzgkx.js → project-25h84942.js} +4 -4
  36. package/dist/chunks/{reference-tsvtqc2e.js → project-290cbanv.js} +10 -10
  37. package/dist/chunks/{reference-95x2gesx.js → project-29gg63gz.js} +3 -3
  38. package/dist/chunks/{reference-y8xep5t8.js → project-29x9sgby.js} +10 -10
  39. package/dist/chunks/{reference-1scgcwfj.js → project-2cdjxzfg.js} +3 -3
  40. package/dist/chunks/{reference-krtsfw0k.js → project-2e2qfbf4.js} +26 -26
  41. package/dist/chunks/{reference-ry5s2gm0.js → project-2kpqbs2m.js} +34 -34
  42. package/dist/chunks/{reference-t7x8kn27.js → project-2pyr13f1.js} +32 -32
  43. package/dist/chunks/{reference-ykd1k0bk.js → project-343zgq8q.js} +78 -59
  44. package/dist/chunks/{reference-c2d6jz65.js → project-3696pwfc.js} +29 -29
  45. package/dist/chunks/{reference-2swc61r8.js → project-36t74d6c.js} +11 -11
  46. package/dist/chunks/{reference-tbc5nv78.js → project-37jqyv1h.js} +4 -4
  47. package/dist/chunks/{reference-tm5605ws.js → project-39hyj06c.js} +36 -36
  48. package/dist/chunks/{reference-xjbsd7zy.js → project-3adw4bt5.js} +9 -9
  49. package/dist/chunks/{reference-2smp010m.js → project-3d92dp21.js} +11 -11
  50. package/dist/chunks/{reference-emaveete.js → project-3dkr1mc7.js} +12 -12
  51. package/dist/chunks/{reference-sv2nzebw.js → project-3gr38rez.js} +6 -6
  52. package/dist/chunks/{reference-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{reference-3nnrz6f6.js → project-3nnrz6f6.js} +1 -1
  54. package/dist/chunks/{reference-t62dywgn.js → project-3spf441s.js} +6 -6
  55. package/dist/chunks/{reference-1mp4f3yt.js → project-3v25rph8.js} +8 -7
  56. package/dist/chunks/{reference-40y6dtc2.js → project-40y6dtc2.js} +1 -1
  57. package/dist/chunks/{reference-40za9wsf.js → project-40za9wsf.js} +2 -2
  58. package/dist/chunks/{reference-6r3j5rq4.js → project-43mz42wn.js} +10 -10
  59. package/dist/chunks/{reference-bbw35q2q.js → project-46mmnvnq.js} +36 -36
  60. package/dist/chunks/{reference-f356pky6.js → project-4a9adyq1.js} +31 -31
  61. package/dist/chunks/{reference-4dx1dgte.js → project-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{reference-4f25tdd0.js → project-4f25tdd0.js} +1 -1
  63. package/dist/chunks/{reference-a884m5kj.js → project-4pngysgc.js} +35 -35
  64. package/dist/chunks/{reference-4pyp9zr9.js → project-4pyp9zr9.js} +1 -1
  65. package/dist/chunks/{reference-4v008n1t.js → project-4v008n1t.js} +1 -1
  66. package/dist/chunks/{reference-dsy6v1fe.js → project-52f5a6rd.js} +11 -11
  67. package/dist/chunks/{reference-jqfrpy0b.js → project-539dw32x.js} +4 -4
  68. package/dist/chunks/{reference-kt3bjfbg.js → project-53nv8vz9.js} +12 -2
  69. package/dist/chunks/{reference-vhhswwyd.js → project-5eagrnsn.js} +58 -58
  70. package/dist/chunks/{reference-hretfjjx.js → project-5jandp8q.js} +2 -2
  71. package/dist/chunks/{reference-5m9w47nd.js → project-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{reference-v8wxce3j.js → project-5nbmkez3.js} +18 -18
  73. package/dist/chunks/{reference-ytex9bjn.js → project-5pcajhdb.js} +18 -18
  74. package/dist/chunks/{reference-z4cw7ht6.js → project-5x6zgx5a.js} +180 -180
  75. package/dist/chunks/{reference-9k76nara.js → project-64rjgvdt.js} +11 -11
  76. package/dist/chunks/{reference-nta6dm7p.js → project-69xp77xe.js} +9 -9
  77. package/dist/chunks/{reference-qefxaq5v.js → project-70c7swy8.js} +12 -14
  78. package/dist/chunks/{reference-s4kyhetj.js → project-716k91av.js} +6 -6
  79. package/dist/chunks/{reference-knpjw1zf.js → project-71ky0fxt.js} +4 -4
  80. package/dist/chunks/{reference-fvjma0rg.js → project-726km6eh.js} +59 -59
  81. package/dist/chunks/{reference-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{reference-m0efzj7r.js → project-7hxvez1g.js} +18 -18
  83. package/dist/chunks/{reference-xz07m27x.js → project-7nqkf5r1.js} +2 -2
  84. package/dist/chunks/{reference-q8a85cdf.js → project-7prjwx2s.js} +5 -5
  85. package/dist/chunks/{reference-0ynhw1wj.js → project-7r0camkz.js} +11 -11
  86. package/dist/chunks/{reference-7w2ypzdf.js → project-7w2ypzdf.js} +1 -1
  87. package/dist/chunks/{reference-7weczvnd.js → project-7weczvnd.js} +1 -1
  88. package/dist/chunks/{reference-8grrarsh.js → project-7yyxz3fg.js} +30 -30
  89. package/dist/chunks/{reference-80mg3ag8.js → project-80mg3ag8.js} +3 -3
  90. package/dist/chunks/{reference-9g1m21dx.js → project-821n8anj.js} +21 -21
  91. package/dist/chunks/{reference-f32m8sjz.js → project-82phgae0.js} +5 -5
  92. package/dist/chunks/{reference-wa9t2f6b.js → project-85a5jd0r.js} +49 -49
  93. package/dist/chunks/{reference-89287pr7.js → project-89287pr7.js} +1 -1
  94. package/dist/chunks/{reference-8cg7mtm3.js → project-8cg7mtm3.js} +1 -1
  95. package/dist/chunks/{reference-pdm4ywp3.js → project-8dqkg4s0.js} +7 -7
  96. package/dist/chunks/{reference-rgr196vp.js → project-8sb7jtsn.js} +9 -9
  97. package/dist/chunks/{reference-8sxe6kv8.js → project-8sxe6kv8.js} +2 -2
  98. package/dist/chunks/{reference-8wtp7s3z.js → project-8wtp7s3z.js} +1 -1
  99. package/dist/chunks/{reference-90zstvax.js → project-90zstvax.js} +1 -1
  100. package/dist/chunks/{reference-kn4zqwcq.js → project-94e33dpz.js} +3 -3
  101. package/dist/chunks/{reference-2eb83ex8.js → project-96cftbda.js} +38 -38
  102. package/dist/chunks/{reference-szwm4crx.js → project-96djdqw5.js} +4 -4
  103. package/dist/chunks/{reference-mhx1h2m0.js → project-98b85hpm.js} +11 -11
  104. package/dist/chunks/{reference-ax0z0xv7.js → project-9a0r90ad.js} +5 -5
  105. package/dist/chunks/{reference-teav1bzy.js → project-9f3jsh1d.js} +9 -9
  106. package/dist/chunks/{reference-kprr32nt.js → project-9gvz502r.js} +14 -14
  107. package/dist/chunks/{reference-782ftqzm.js → project-9jx6pde7.js} +16 -16
  108. package/dist/chunks/{reference-p9x26950.js → project-9jxpbjsa.js} +8 -8
  109. package/dist/chunks/{reference-hm3v9m15.js → project-9m02z06j.js} +36 -36
  110. package/dist/chunks/{reference-00g1yw63.js → project-9w0mq0qd.js} +28 -28
  111. package/dist/chunks/{reference-963hk181.js → project-a0fq0pbv.js} +9 -9
  112. package/dist/chunks/{reference-s2pfznc4.js → project-a0kwzn5j.js} +6 -6
  113. package/dist/chunks/{reference-kkb7zeg6.js → project-a1td16et.js} +8 -8
  114. package/dist/chunks/{reference-0ac1knw3.js → project-a260d95k.js} +8 -8
  115. package/dist/chunks/{reference-6xg5mvc6.js → project-a90k0e99.js} +9 -9
  116. package/dist/chunks/{reference-90ct6wq4.js → project-anvcme1c.js} +4 -4
  117. package/dist/chunks/{reference-5ms49gm2.js → project-av5hzh88.js} +5 -5
  118. package/dist/chunks/{reference-f3qwesrw.js → project-axhyxf2f.js} +8 -8
  119. package/dist/chunks/{reference-ayjs7tqn.js → project-ayjs7tqn.js} +2 -2
  120. package/dist/chunks/{reference-whw1pa3p.js → project-aynzz71e.js} +6 -6
  121. package/dist/chunks/{reference-hgxg4bd5.js → project-b1x8zrb5.js} +12 -12
  122. package/dist/chunks/{reference-yzg0z8vt.js → project-b5p2pymq.js} +9 -9
  123. package/dist/chunks/{reference-b6vsg801.js → project-b6vsg801.js} +2 -2
  124. package/dist/chunks/{reference-03xjjwe3.js → project-b7ke1cet.js} +1 -1
  125. package/dist/chunks/{reference-9pevz77s.js → project-bb3r9wxm.js} +5 -5
  126. package/dist/chunks/{reference-ftjmg9qs.js → project-bbmsnk0w.js} +13 -13
  127. package/dist/chunks/{reference-rdmk0mq4.js → project-bbvh3bsr.js} +12 -12
  128. package/dist/chunks/{reference-1yq9hg58.js → project-bdhd9h6e.js} +5 -5
  129. package/dist/chunks/{reference-nvrbz68q.js → project-besf4p6f.js} +15 -15
  130. package/dist/chunks/{reference-647a467t.js → project-bmj3n0tq.js} +15 -15
  131. package/dist/chunks/{reference-5ay8k29b.js → project-bn2zw3xc.js} +5 -5
  132. package/dist/chunks/{reference-fd03a0jw.js → project-bpzq4rbg.js} +9 -9
  133. package/dist/chunks/{reference-bstexjd6.js → project-bstexjd6.js} +1 -1
  134. package/dist/chunks/{reference-j9s9xvf1.js → project-byxbe7hm.js} +20 -20
  135. package/dist/chunks/{reference-kz1jwzt0.js → project-c15gyfbj.js} +5 -5
  136. package/dist/chunks/{reference-rj7j5fvs.js → project-c5zvymhv.js} +4 -4
  137. package/dist/chunks/{reference-7ct4w35d.js → project-cbpf86ap.js} +27 -27
  138. package/dist/chunks/{reference-hmpgak6v.js → project-cdhapxv9.js} +3 -3
  139. package/dist/chunks/{reference-jjv6dbs2.js → project-ce6vjyqc.js} +18 -18
  140. package/dist/chunks/{reference-40b0605t.js → project-cka6ngk0.js} +12 -12
  141. package/dist/chunks/{reference-dys0v8r2.js → project-ckcb1bmd.js} +30 -30
  142. package/dist/chunks/{reference-93xmyh8q.js → project-ckk44cdz.js} +5 -5
  143. package/dist/chunks/{reference-khtjmheq.js → project-cmmsak4z.js} +17 -17
  144. package/dist/chunks/{reference-fwz1byk4.js → project-cnh7rm97.js} +5 -5
  145. package/dist/chunks/{reference-cpvd08na.js → project-cpvd08na.js} +1 -1
  146. package/dist/chunks/{reference-d841hfc3.js → project-cqff7g0c.js} +19 -19
  147. package/dist/chunks/{reference-djpnqkt2.js → project-csx4k8k5.js} +9 -9
  148. package/dist/chunks/{reference-cwrgdav8.js → project-cwrgdav8.js} +2 -2
  149. package/dist/chunks/{reference-d4v9tmah.js → project-d4v9tmah.js} +2 -2
  150. package/dist/chunks/{reference-mghkq3nv.js → project-dgq98zw6.js} +8 -8
  151. package/dist/chunks/{reference-w0gyare9.js → project-dmwh07z0.js} +5 -5
  152. package/dist/chunks/{reference-dt77769w.js → project-dt77769w.js} +1 -1
  153. package/dist/chunks/{reference-w75sbm79.js → project-dv9xw74s.js} +11 -11
  154. package/dist/chunks/{reference-88595d5t.js → project-e04vrpbp.js} +19 -19
  155. package/dist/chunks/{reference-fr3xfwew.js → project-e18cc8yy.js} +12 -12
  156. package/dist/chunks/{reference-jdxhd634.js → project-e4dxw20e.js} +20 -20
  157. package/dist/chunks/{reference-yxcjxpza.js → project-e6q22qz5.js} +54 -54
  158. package/dist/chunks/{reference-qe2tdkb2.js → project-e81060zc.js} +41 -41
  159. package/dist/chunks/{reference-e834z07m.js → project-e834z07m.js} +1 -1
  160. package/dist/chunks/{reference-w7s430yt.js → project-ek60h7nh.js} +4 -4
  161. package/dist/chunks/{reference-kse531ts.js → project-ek7r9692.js} +6 -6
  162. package/dist/chunks/{reference-eqw4pqj1.js → project-eqw4pqj1.js} +2 -2
  163. package/dist/chunks/{reference-381w5cv2.js → project-er5qm13q.js} +65 -61
  164. package/dist/chunks/{reference-31avdb49.js → project-etrnj9s7.js} +8 -8
  165. package/dist/chunks/{reference-ngwykzwa.js → project-exgqh01h.js} +26 -26
  166. package/dist/chunks/{reference-nv2c5e9q.js → project-ez4sqtdc.js} +3 -3
  167. package/dist/chunks/project-f521vhbp.js +26 -0
  168. package/dist/chunks/{reference-w5vfw1k0.js → project-f53z0w0m.js} +75 -75
  169. package/dist/chunks/{reference-78hx0q36.js → project-fe3t4ebc.js} +17 -17
  170. package/dist/chunks/{reference-fffv3p7h.js → project-fffv3p7h.js} +1 -1
  171. package/dist/chunks/{reference-fg9p65nk.js → project-fg9p65nk.js} +2 -2
  172. package/dist/chunks/{reference-nf348xcb.js → project-fm535swd.js} +4 -4
  173. package/dist/chunks/{reference-hmrw4ntv.js → project-fn5qj37w.js} +51 -51
  174. package/dist/chunks/{reference-k3p33cht.js → project-fqhgsedn.js} +19 -19
  175. package/dist/chunks/{reference-e45fk36t.js → project-fstdtr31.js} +4 -4
  176. package/dist/chunks/{reference-8339jj3p.js → project-ftepgs6m.js} +14 -14
  177. package/dist/chunks/{reference-ctyc4gz6.js → project-fvg0bsm6.js} +24 -24
  178. package/dist/chunks/{reference-vtbhdzrb.js → project-g8kza3j3.js} +13 -13
  179. package/dist/chunks/{reference-gbjdnr5j.js → project-gbjdnr5j.js} +2 -2
  180. package/dist/chunks/{reference-8mcxc71g.js → project-gc7a2s80.js} +39 -39
  181. package/dist/chunks/{reference-bnfdbx95.js → project-gcrq2pb2.js} +4 -4
  182. package/dist/chunks/{reference-14qfxjyt.js → project-ge5jw5a3.js} +36 -36
  183. package/dist/chunks/{reference-ghrv1g9c.js → project-ghrv1g9c.js} +1 -1
  184. package/dist/chunks/{reference-4w0wjrsb.js → project-gjj1a6n2.js} +28 -28
  185. package/dist/chunks/{reference-crpj5dzf.js → project-gnv8580k.js} +3 -3
  186. package/dist/chunks/{reference-gxs71cxp.js → project-gxs71cxp.js} +1 -1
  187. package/dist/chunks/{reference-8ggtc5cf.js → project-h792trvy.js} +14 -14
  188. package/dist/chunks/{reference-ndgw3s2s.js → project-h7vd8y7b.js} +12 -12
  189. package/dist/chunks/{reference-q94fsdzs.js → project-h9fh7y94.js} +11 -11
  190. package/dist/chunks/{reference-61msdqca.js → project-h9q35say.js} +30 -30
  191. package/dist/chunks/{reference-bnrgpspr.js → project-hcz18hcw.js} +22 -22
  192. package/dist/chunks/{reference-t16fqg33.js → project-hfcxeq1b.js} +5 -5
  193. package/dist/chunks/{reference-6e4p0b5k.js → project-hknx3ga7.js} +38 -38
  194. package/dist/chunks/{reference-ywm210e4.js → project-hmeh6bv9.js} +35 -35
  195. package/dist/chunks/{reference-17b8a7h3.js → project-hrfsj0r4.js} +11 -11
  196. package/dist/chunks/{reference-hr05g0yp.js → project-hyppwetb.js} +4 -4
  197. package/dist/chunks/{reference-ceh9hyhz.js → project-hzaj9ats.js} +9 -9
  198. package/dist/chunks/{reference-ehb04tzd.js → project-j13j23vt.js} +14 -14
  199. package/dist/chunks/{reference-tr8x705m.js → project-j376ae4e.js} +5 -5
  200. package/dist/chunks/{reference-6aw533fg.js → project-j7wjfnya.js} +12 -12
  201. package/dist/chunks/{reference-v095fdbr.js → project-jjcdyn1v.js} +2 -2
  202. package/dist/chunks/{reference-vhvty3qh.js → project-jjwnx7m3.js} +13 -13
  203. package/dist/chunks/{reference-c3e0rej3.js → project-jkrqcqs0.js} +11 -11
  204. package/dist/chunks/{reference-2y8q1569.js → project-jnhgr88h.js} +6 -6
  205. package/dist/chunks/{reference-x8rzqjkp.js → project-jqdm0egr.js} +23 -23
  206. package/dist/chunks/{reference-44pmzq9c.js → project-jxd6f16v.js} +2 -2
  207. package/dist/chunks/{reference-ynd6x6p8.js → project-kb2fafn8.js} +83 -83
  208. package/dist/chunks/{reference-kh8gdsej.js → project-kh8gdsej.js} +1 -1
  209. package/dist/chunks/{reference-fdwgpv3x.js → project-km2jt1n7.js} +43 -43
  210. package/dist/chunks/{reference-hrw51qw6.js → project-kmgqb0hj.js} +6 -6
  211. package/dist/chunks/{reference-wtpwnj4b.js → project-kp6q3yge.js} +11 -11
  212. package/dist/chunks/{reference-hn0qvtyz.js → project-kpmjj9dj.js} +21 -21
  213. package/dist/chunks/{reference-gznjef8r.js → project-kpr8r4gf.js} +9 -9
  214. package/dist/chunks/{reference-snghghw3.js → project-kwp8h6ge.js} +11 -11
  215. package/dist/chunks/{reference-kzczzf4v.js → project-kzczzf4v.js} +1 -1
  216. package/dist/chunks/{reference-txqeed8d.js → project-m0wanvqp.js} +39 -39
  217. package/dist/chunks/{reference-t8b37839.js → project-m15jf2d8.js} +17 -17
  218. package/dist/chunks/{reference-m1714858.js → project-m1714858.js} +1 -1
  219. package/dist/chunks/{reference-c5c32ebd.js → project-m7df3mfn.js} +22 -22
  220. package/dist/chunks/{reference-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  221. package/dist/chunks/{reference-mb7mbhnz.js → project-mb7mbhnz.js} +3 -3
  222. package/dist/chunks/project-me0dhgxs.js +18 -0
  223. package/dist/chunks/{reference-gp5w1wtp.js → project-me2yvmr0.js} +58 -54
  224. package/dist/chunks/{reference-y062q5ej.js → project-mha933gq.js} +24 -24
  225. package/dist/chunks/{reference-tvtps2q9.js → project-mm06edep.js} +7 -6
  226. package/dist/chunks/{reference-d2p78d1f.js → project-mxmv149a.js} +15 -15
  227. package/dist/chunks/{reference-3d1097x7.js → project-mybwhcb5.js} +33 -33
  228. package/dist/chunks/{reference-y5fqa56h.js → project-mz7yysnf.js} +20 -20
  229. package/dist/chunks/{reference-dsz7b6ct.js → project-mzsvv2v9.js} +20 -20
  230. package/dist/chunks/{reference-2z3htntm.js → project-n0jv45dk.js} +3 -3
  231. package/dist/chunks/{reference-sf4zgaj4.js → project-n59qcj3f.js} +14 -14
  232. package/dist/chunks/{reference-f5rkjw9s.js → project-n6cgafjz.js} +16 -16
  233. package/dist/chunks/{reference-06t4fpg4.js → project-n78mes17.js} +12 -12
  234. package/dist/chunks/{reference-71jzrrng.js → project-naxg1y3z.js} +4 -4
  235. package/dist/chunks/{reference-8h4byctv.js → project-nfgvz23f.js} +2 -2
  236. package/dist/chunks/{reference-gf3dp8br.js → project-nhrefdj7.js} +12 -12
  237. package/dist/chunks/{reference-9rqhy0gk.js → project-nj82evve.js} +7 -7
  238. package/dist/chunks/{reference-pknna89w.js → project-pknna89w.js} +1 -1
  239. package/dist/chunks/{reference-ryy905h1.js → project-pnhr1vvr.js} +5 -5
  240. package/dist/chunks/{reference-4bjxqc3y.js → project-pvs7bvhv.js} +360 -352
  241. package/dist/chunks/{reference-d57rvnhv.js → project-pwdej7e7.js} +32 -32
  242. package/dist/chunks/{reference-bqq6ewbb.js → project-pwep5jdf.js} +8 -8
  243. package/dist/chunks/{reference-sd74kdpv.js → project-pwz30w5f.js} +19 -19
  244. package/dist/chunks/{reference-1thmwbjb.js → project-q11t1skj.js} +17 -17
  245. package/dist/chunks/{reference-jhwp234h.js → project-q65mdntm.js} +4 -4
  246. package/dist/chunks/{reference-0cvmjxzj.js → project-qaazn6f8.js} +8 -8
  247. package/dist/chunks/{reference-pa19eq4n.js → project-qava8dj6.js} +11 -11
  248. package/dist/chunks/{reference-tgaynfn5.js → project-qbh5071r.js} +18 -18
  249. package/dist/chunks/{reference-kzs9t8x7.js → project-qbqv0dqm.js} +34 -34
  250. package/dist/chunks/{reference-mh67hebd.js → project-qbrwtzwr.js} +23 -23
  251. package/dist/chunks/{reference-edjeqbg4.js → project-qe9ewq4x.js} +12 -12
  252. package/dist/chunks/{reference-s11vyctz.js → project-qfhrpw0k.js} +15 -15
  253. package/dist/chunks/{reference-qp7r0hxv.js → project-qp7r0hxv.js} +1 -1
  254. package/dist/chunks/{reference-qw2t3dzn.js → project-qw2t3dzn.js} +3 -3
  255. package/dist/chunks/{reference-egmfbr6n.js → project-qx91edma.js} +9 -9
  256. package/dist/chunks/{reference-3qgwywyc.js → project-r17fbvme.js} +4 -4
  257. package/dist/chunks/{reference-7mybvnhq.js → project-r259dfpz.js} +26 -26
  258. package/dist/chunks/{reference-zhtx80hn.js → project-r55m6wx9.js} +3 -3
  259. package/dist/chunks/{reference-cdk4fzb8.js → project-r6grmmj8.js} +21 -21
  260. package/dist/chunks/{reference-4nejw68x.js → project-r7e9vx2n.js} +30 -30
  261. package/dist/chunks/{reference-hk7q23wz.js → project-r8zaw36y.js} +34 -34
  262. package/dist/chunks/{reference-rb9dy4dg.js → project-rb9dy4dg.js} +1 -1
  263. package/dist/chunks/{reference-rgc9cx3e.js → project-rgc9cx3e.js} +2 -2
  264. package/dist/chunks/{reference-5ez0nn78.js → project-rgw9km2s.js} +12 -12
  265. package/dist/chunks/{reference-rt5dr6hb.js → project-rt5dr6hb.js} +1 -1
  266. package/dist/chunks/{reference-xnx0h343.js → project-rvztm0f0.js} +21 -21
  267. package/dist/chunks/{reference-2p60zmnr.js → project-s1ba0vj0.js} +2 -2
  268. package/dist/chunks/project-s1ntesz6.js +265 -0
  269. package/dist/chunks/{reference-1w1c54a8.js → project-s3q7a4yt.js} +9 -9
  270. package/dist/chunks/{reference-sa3fpqfw.js → project-sa3fpqfw.js} +2 -2
  271. package/dist/chunks/{reference-sbya78hr.js → project-sbya78hr.js} +1 -1
  272. package/dist/chunks/{reference-0j7gp832.js → project-sqjzf8x2.js} +4 -4
  273. package/dist/chunks/{reference-svcy3p9a.js → project-svcy3p9a.js} +1 -1
  274. package/dist/chunks/{reference-hvnk3yew.js → project-swv67jcs.js} +3 -3
  275. package/dist/chunks/{reference-vbrb3wb4.js → project-t103h60z.js} +25 -25
  276. package/dist/chunks/{reference-ztsca96a.js → project-t3yg9b49.js} +63 -63
  277. package/dist/chunks/{reference-xjr6c8m4.js → project-t54kw4zq.js} +7 -7
  278. package/dist/chunks/{reference-0xaj1zzf.js → project-t5nywe1c.js} +38 -38
  279. package/dist/chunks/{reference-xrtq227w.js → project-t848fhp4.js} +6 -6
  280. package/dist/chunks/{reference-9zwexsxs.js → project-t8erkws8.js} +5 -5
  281. package/dist/chunks/{reference-14gz4c3q.js → project-t9ttf0gw.js} +12 -12
  282. package/dist/chunks/{reference-tczq8hjw.js → project-tczq8hjw.js} +1 -1
  283. package/dist/chunks/{reference-tg1vr1qt.js → project-tg1vr1qt.js} +1 -1
  284. package/dist/chunks/{reference-spx8r9sv.js → project-tk5z3f6w.js} +15 -15
  285. package/dist/chunks/{reference-3jw4bp35.js → project-tk7vtk68.js} +14 -12
  286. package/dist/chunks/{reference-6gvfabyz.js → project-tnyzx988.js} +18 -18
  287. package/dist/chunks/{reference-z1khe0aq.js → project-tnzw11y9.js} +5 -5
  288. package/dist/chunks/{reference-h134rhff.js → project-tpg7h1py.js} +8 -8
  289. package/dist/chunks/{reference-79ef09mr.js → project-tpqghdpg.js} +21 -21
  290. package/dist/chunks/{reference-4kmrrt4a.js → project-tpv0drx9.js} +6 -6
  291. package/dist/chunks/{reference-9ysx6p1b.js → project-tpycw7ak.js} +24 -24
  292. package/dist/chunks/{reference-dq3e4dc7.js → project-tq53n54w.js} +5 -5
  293. package/dist/chunks/{reference-twssxy5n.js → project-twssxy5n.js} +2 -2
  294. package/dist/chunks/{reference-h3b857xk.js → project-tx91wa5k.js} +4 -4
  295. package/dist/chunks/{reference-v2r1d0zg.js → project-v2r1d0zg.js} +1 -1
  296. package/dist/chunks/{reference-tb2mrvc9.js → project-v4bj6baw.js} +4 -4
  297. package/dist/chunks/{reference-0nk8vgec.js → project-v7jw4qpb.js} +32 -31
  298. package/dist/chunks/{reference-5z7nwpm6.js → project-vcfmb0aa.js} +11 -11
  299. package/dist/chunks/{reference-w6dzzgd0.js → project-vfkrvvzg.js} +3 -3
  300. package/dist/chunks/{reference-jqthpbgk.js → project-vgajs0a2.js} +8 -8
  301. package/dist/chunks/{reference-6mzz38vb.js → project-vgf0s298.js} +7 -7
  302. package/dist/chunks/{reference-cndqxqvv.js → project-vhc965fw.js} +6 -6
  303. package/dist/chunks/{reference-vjf35v1f.js → project-vjf35v1f.js} +1 -1
  304. package/dist/chunks/{reference-bhfd478d.js → project-vmxsyvj6.js} +4 -4
  305. package/dist/chunks/{reference-144cfcmr.js → project-vn14q1vs.js} +15 -15
  306. package/dist/chunks/{reference-be4v52w8.js → project-w19854z7.js} +11 -11
  307. package/dist/chunks/{reference-j3adhq3q.js → project-w3aygza5.js} +18 -18
  308. package/dist/chunks/{reference-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  309. package/dist/chunks/{reference-wr3re1en.js → project-w687dnns.js} +4 -4
  310. package/dist/chunks/{reference-v0t96s7a.js → project-w79nt68w.js} +4 -4
  311. package/dist/chunks/{reference-m891dem5.js → project-w7f2dp2w.js} +16 -16
  312. package/dist/chunks/{reference-wakvkjy4.js → project-wakvkjy4.js} +1 -1
  313. package/dist/chunks/{reference-wd87259q.js → project-wd87259q.js} +1 -1
  314. package/dist/chunks/{reference-wegkxhrn.js → project-wegkxhrn.js} +2 -2
  315. package/dist/chunks/{reference-wnhgecwx.js → project-wnhgecwx.js} +1 -1
  316. package/dist/chunks/{reference-bzznm7ry.js → project-wsx9wyaa.js} +13 -13
  317. package/dist/chunks/{reference-6y2b864j.js → project-wvr8xscb.js} +4 -4
  318. package/dist/chunks/{reference-3trf7cca.js → project-ww2x1zr9.js} +6 -6
  319. package/dist/chunks/{reference-kj9n5bvh.js → project-wzfa06mn.js} +4 -4
  320. package/dist/chunks/{reference-pksc74pe.js → project-x1c7xtkj.js} +27 -27
  321. package/dist/chunks/{reference-bgvr7nj9.js → project-xdbtyszx.js} +15 -15
  322. package/dist/chunks/{reference-xksw6ev0.js → project-xksw6ev0.js} +1 -1
  323. package/dist/chunks/{reference-frkpq432.js → project-xtjdmje4.js} +43 -43
  324. package/dist/chunks/{reference-075knt2m.js → project-xxq7an4k.js} +20 -20
  325. package/dist/chunks/{reference-0t8nby67.js → project-xz8fwc3w.js} +11 -11
  326. package/dist/chunks/{reference-9g36e1vm.js → project-xzq4ysw5.js} +7 -7
  327. package/dist/chunks/{reference-rqqdyhrh.js → project-y1drznxv.js} +43 -43
  328. package/dist/chunks/{reference-3nde6fhg.js → project-y31awznh.js} +15 -15
  329. package/dist/chunks/{reference-yb20nhc3.js → project-yb20nhc3.js} +1 -1
  330. package/dist/chunks/{reference-1v2g13eq.js → project-ybws1qgk.js} +4 -4
  331. package/dist/chunks/{reference-k9dzae1r.js → project-yms3hkvm.js} +31 -31
  332. package/dist/chunks/{reference-yr705xyq.js → project-yr705xyq.js} +1 -1
  333. package/dist/chunks/{reference-yvtc2x31.js → project-yvtc2x31.js} +1 -1
  334. package/dist/chunks/{reference-amhmzkbr.js → project-yxpmhp3m.js} +14 -14
  335. package/dist/chunks/{reference-9sdka5yd.js → project-yzdn5123.js} +27 -27
  336. package/dist/chunks/{reference-kb90r49x.js → project-yzjzbeq7.js} +28 -28
  337. package/dist/chunks/{reference-wpz76m6n.js → project-z7gt2z0p.js} +5 -5
  338. package/dist/chunks/{reference-c25pd9t8.js → project-z7p9cwh7.js} +8 -8
  339. package/dist/chunks/{reference-fdd5z8e8.js → project-z864cskq.js} +17 -17
  340. package/dist/chunks/{reference-ze75qvmd.js → project-ze75qvmd.js} +3 -3
  341. package/dist/chunks/{reference-sdp94t6k.js → project-zg6rj2t1.js} +27 -27
  342. package/dist/chunks/{reference-yayn8afj.js → project-zmmeasjg.js} +36 -36
  343. package/dist/chunks/{reference-mc07p528.js → project-znqcmc13.js} +9 -9
  344. package/dist/chunks/{reference-zpdbqgja.js → project-zpdbqgja.js} +1 -1
  345. package/dist/chunks/{reference-tbt2628x.js → project-zx32m1gd.js} +9 -9
  346. package/dist/chunks/{reference-kapdsjwd.js → project-zxnv3p5n.js} +30 -30
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +5 -5
  349. package/dist/codemode/fetch.js +145 -145
  350. package/dist/codemode/instructions.js +5 -5
  351. package/dist/codemode/tool.js +151 -151
  352. package/dist/command.js +92 -92
  353. package/dist/config/discovery.js +95 -95
  354. package/dist/config/integration.js +3 -3
  355. package/dist/config/managed.js +1 -1
  356. package/dist/config/markdown.js +1 -1
  357. package/dist/config/normalize.js +112 -112
  358. package/dist/config/plugin/agent.js +131 -131
  359. package/dist/config/plugin/command.js +234 -234
  360. package/dist/config/plugin/compaction.js +171 -171
  361. package/dist/config/plugin/compatibility.js +150 -150
  362. package/dist/config/plugin/entry-observer.js +1 -1
  363. package/dist/config/plugin/formatter.js +131 -131
  364. package/dist/config/plugin/image.js +130 -130
  365. package/dist/config/plugin/instruction.js +130 -130
  366. package/dist/config/plugin/location-watcher.js +132 -132
  367. package/dist/config/plugin/mcp.js +139 -139
  368. package/dist/config/plugin/policy.js +130 -130
  369. package/dist/config/plugin/provider.js +130 -130
  370. package/dist/config/plugin/reference.js +132 -132
  371. package/dist/config/plugin/shell.js +132 -132
  372. package/dist/config/plugin/skill-file.js +146 -146
  373. package/dist/config/plugin/skill-scan.js +1 -1
  374. package/dist/config/plugin/skill.js +153 -153
  375. package/dist/config/plugin/snapshot.js +130 -130
  376. package/dist/config/plugin/source.js +134 -134
  377. package/dist/config/plugin/tool-output.js +131 -131
  378. package/dist/config/plugin/websearch.js +131 -131
  379. package/dist/config/plugin/worktree.js +132 -132
  380. package/dist/config/variable.js +1 -1
  381. package/dist/config/watch.js +1 -1
  382. package/dist/config.js +135 -135
  383. package/dist/console-access.js +7 -1
  384. package/dist/credential/sql.js +2 -2
  385. package/dist/credential.js +94 -94
  386. package/dist/database/database.js +83 -83
  387. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  388. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  389. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  390. package/dist/database/drizzle/index.js +13 -13
  391. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  394. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  395. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  396. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  397. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  402. package/dist/database/drizzle.js +14 -14
  403. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  404. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  405. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  406. package/dist/database/migration/20260225215848_workspace.js +1 -1
  407. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  408. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  409. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  410. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  411. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  412. package/dist/database/migration/20260323234822_events.js +1 -1
  413. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  414. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  415. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  416. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  417. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  418. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  419. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  420. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  421. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  422. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  423. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  424. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  425. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  426. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  427. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  428. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  429. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  430. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  431. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  432. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  433. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  434. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  435. package/dist/database/migration/20260611035744_credential.js +1 -1
  436. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  437. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  438. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  439. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  440. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  441. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  442. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  443. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  444. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  445. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  446. package/dist/database/migration/20260812213948_worktree.js +1 -1
  447. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  448. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  449. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  450. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  451. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  452. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  453. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  454. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  455. package/dist/database/migration/20261025123711_blob.js +1 -1
  456. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  457. package/dist/database/migration/20261026223005_schedule.js +1 -1
  458. package/dist/database/migration/20261029002625_session_part.js +1 -1
  459. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  460. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  461. package/dist/database/migration/20261030054400_job.js +1 -1
  462. package/dist/database/migration.gen.js +60 -60
  463. package/dist/database/migration.js +62 -62
  464. package/dist/database/path.js +2 -2
  465. package/dist/database/schema.gen.js +1 -1
  466. package/dist/database/schema.sql.js +1 -1
  467. package/dist/database/v1-migration.bun.js +105 -105
  468. package/dist/database/v1-migration.js +1 -1
  469. package/dist/effect/app-node-builder.js +437 -437
  470. package/dist/effect/app-node-platform.js +2 -2
  471. package/dist/effect/keyed-mutex.js +1 -1
  472. package/dist/effect/websocket-constructor.js +1 -1
  473. package/dist/environment/driver.js +1 -1
  474. package/dist/environment/environment.js +103 -103
  475. package/dist/environment/exec-defaults.js +2 -2
  476. package/dist/environment/files.js +1 -1
  477. package/dist/environment/index.js +105 -105
  478. package/dist/environment/local.js +2 -2
  479. package/dist/environment/memory.js +2 -2
  480. package/dist/environment/unavailable.js +3 -3
  481. package/dist/event/sql.js +1 -1
  482. package/dist/event-logger.js +85 -85
  483. package/dist/file-access.js +157 -157
  484. package/dist/file-mutation.js +108 -108
  485. package/dist/file-retention.js +1 -1
  486. package/dist/file-write.js +161 -161
  487. package/dist/filesystem/fff.bun.js +2 -2
  488. package/dist/filesystem/fff.js +1 -1
  489. package/dist/filesystem/fff.node.js +2 -2
  490. package/dist/filesystem/fff.workerd.js +2 -2
  491. package/dist/filesystem/file-watch.js +91 -91
  492. package/dist/filesystem/location-watcher-policy.js +6 -6
  493. package/dist/filesystem/location-watcher.js +249 -249
  494. package/dist/filesystem/protected.js +1 -1
  495. package/dist/filesystem/search.js +113 -113
  496. package/dist/filesystem/watcher-binding.js +1 -1
  497. package/dist/filesystem/watcher.js +11 -11
  498. package/dist/filesystem.js +116 -116
  499. package/dist/form.js +93 -93
  500. package/dist/formatter/builtins.js +4 -4
  501. package/dist/formatter.js +100 -100
  502. package/dist/generate.js +120 -120
  503. package/dist/git.js +11 -11
  504. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  505. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  506. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  507. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  508. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  509. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  510. package/dist/github-copilot/copilot-provider.js +17 -17
  511. package/dist/github-copilot/models.js +104 -104
  512. package/dist/github-copilot/openai-compatible-error.js +1 -1
  513. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  514. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  515. package/dist/github-copilot/responses/openai-error.js +1 -1
  516. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  517. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  518. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  519. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  520. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  521. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  522. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  523. package/dist/image/notice.js +3 -3
  524. package/dist/image/photon-normalize.js +1 -1
  525. package/dist/image/photon-worker.js +1 -1
  526. package/dist/image/photon.js +4 -4
  527. package/dist/image.js +6 -6
  528. package/dist/instance/service.js +5 -5
  529. package/dist/instance.js +428 -428
  530. package/dist/instruction-discovery.js +95 -95
  531. package/dist/instructions/builtins.js +98 -98
  532. package/dist/instructions/index.js +5 -5
  533. package/dist/integration/connection.js +3 -3
  534. package/dist/integration.js +100 -100
  535. package/dist/job/list.js +7 -7
  536. package/dist/job/recovery.js +2 -2
  537. package/dist/job/sql.js +2 -2
  538. package/dist/job.js +90 -90
  539. package/dist/kv/sql.js +2 -2
  540. package/dist/kv.js +84 -84
  541. package/dist/location-activity.js +180 -180
  542. package/dist/location-lifecycle.js +150 -150
  543. package/dist/location-service-map.js +99 -99
  544. package/dist/location-services.js +425 -425
  545. package/dist/location.js +102 -102
  546. package/dist/managed-policy.js +3 -3
  547. package/dist/mcp/client.js +155 -155
  548. package/dist/mcp/connection.js +106 -106
  549. package/dist/mcp/index.js +120 -120
  550. package/dist/mcp/instructions.js +181 -181
  551. package/dist/mcp/oauth.js +115 -107
  552. package/dist/mcp/socket-client.js +1 -1
  553. package/dist/mcp/stdio.js +154 -154
  554. package/dist/mime.js +1 -1
  555. package/dist/modal/models.js +104 -104
  556. package/dist/model-resolver.js +110 -110
  557. package/dist/model-retry.js +1 -1
  558. package/dist/model.js +113 -113
  559. package/dist/models-dev/v1.js +1 -1
  560. package/dist/models-dev.js +121 -121
  561. package/dist/oauth/page.js +1 -1
  562. package/dist/permission/saved.js +89 -89
  563. package/dist/permission/sql.js +5 -5
  564. package/dist/permission.js +147 -147
  565. package/dist/persistent-pty/binary.bun.js +1 -1
  566. package/dist/persistent-pty/daemon.js +1 -1
  567. package/dist/persistent-pty/index.js +99 -99
  568. package/dist/persistent-pty/pty-binding.js +1 -1
  569. package/dist/persistent-pty.js +86 -86
  570. package/dist/plugin/agent.js +85 -85
  571. package/dist/plugin/command.js +115 -115
  572. package/dist/plugin/goal.js +3 -3
  573. package/dist/plugin/hooks.js +5 -5
  574. package/dist/plugin/host.js +240 -240
  575. package/dist/plugin/identity.js +5 -5
  576. package/dist/plugin/instance.js +1 -1
  577. package/dist/plugin/internal.js +404 -404
  578. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  579. package/dist/plugin/models-dev.js +110 -110
  580. package/dist/plugin/module.js +129 -129
  581. package/dist/plugin/optimize.js +2 -2
  582. package/dist/plugin/plan.js +146 -146
  583. package/dist/plugin/promise.js +1 -1
  584. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  585. package/dist/plugin/provider/azure.js +133 -133
  586. package/dist/plugin/provider/cerebras.js +1 -1
  587. package/dist/plugin/provider/chatgpt.js +133 -133
  588. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  589. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  590. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  592. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  593. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  594. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  595. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  596. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  597. package/dist/plugin/provider/claude-agent/index.js +148 -148
  598. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  599. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  600. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  602. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  603. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  604. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  605. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  606. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  607. package/dist/plugin/provider/claude-agent/provider.js +112 -112
  608. package/dist/plugin/provider/claude-agent/session.js +112 -112
  609. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  610. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  611. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  612. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  613. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  614. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  615. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  616. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  617. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  618. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  619. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  620. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  621. package/dist/plugin/provider/configured.js +126 -126
  622. package/dist/plugin/provider/credential-settings.js +88 -88
  623. package/dist/plugin/provider/databricks.js +1 -1
  624. package/dist/plugin/provider/digitalocean.js +109 -109
  625. package/dist/plugin/provider/dynamic.js +2 -2
  626. package/dist/plugin/provider/github-copilot.js +111 -111
  627. package/dist/plugin/provider/gitlab.js +109 -109
  628. package/dist/plugin/provider/google-vertex.js +127 -127
  629. package/dist/plugin/provider/kilo.js +1 -1
  630. package/dist/plugin/provider/llmgateway.js +89 -89
  631. package/dist/plugin/provider/lmstudio.js +140 -140
  632. package/dist/plugin/provider/local.js +137 -137
  633. package/dist/plugin/provider/modal.js +108 -108
  634. package/dist/plugin/provider/neon.js +1 -1
  635. package/dist/plugin/provider/nvidia.js +1 -1
  636. package/dist/plugin/provider/ollama.js +140 -140
  637. package/dist/plugin/provider/openai-context-caps.js +106 -106
  638. package/dist/plugin/provider/openai.js +133 -133
  639. package/dist/plugin/provider/opencode.js +157 -157
  640. package/dist/plugin/provider/openrouter.js +104 -104
  641. package/dist/plugin/provider/poe.js +90 -90
  642. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  643. package/dist/plugin/provider/refresh.js +87 -87
  644. package/dist/plugin/provider/sap-ai-core.js +104 -104
  645. package/dist/plugin/provider/sdk-factory.js +1 -1
  646. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  647. package/dist/plugin/provider/vllm.js +140 -140
  648. package/dist/plugin/provider/xai.js +104 -104
  649. package/dist/plugin/provider/zenmux.js +1 -1
  650. package/dist/plugin/provider.js +235 -235
  651. package/dist/plugin/sdk.js +87 -87
  652. package/dist/plugin/service.js +3 -3
  653. package/dist/plugin/skill.js +145 -145
  654. package/dist/plugin/source-directory.js +1 -1
  655. package/dist/plugin/supervisor.js +412 -412
  656. package/dist/plugin/tool-input-repair.js +4 -4
  657. package/dist/plugin/update.js +6 -6
  658. package/dist/plugin/vcs/git.js +99 -99
  659. package/dist/plugin/vcs/hg.js +99 -99
  660. package/dist/plugin/verbosity.js +106 -106
  661. package/dist/plugin/warming.js +130 -130
  662. package/dist/plugin/websearch/exa.js +8 -8
  663. package/dist/plugin/websearch/firecrawl.js +9 -9
  664. package/dist/plugin/websearch/index.js +10 -10
  665. package/dist/plugin/websearch/mcp.js +2 -2
  666. package/dist/plugin/websearch/parallel.js +9 -9
  667. package/dist/plugin/websearch/provider.js +5 -5
  668. package/dist/plugin/websearch/tavily.js +7 -7
  669. package/dist/plugin/websearch/tinyfish.js +9 -9
  670. package/dist/plugin.js +249 -249
  671. package/dist/project/icon.js +5 -5
  672. package/dist/project/schema.js +8 -8
  673. package/dist/project/sql.js +4 -4
  674. package/dist/project.js +105 -105
  675. package/dist/provider.js +108 -108
  676. package/dist/pty/protocol.js +1 -1
  677. package/dist/pty/ticket.js +1 -1
  678. package/dist/pty.js +109 -109
  679. package/dist/reference/instructions.js +101 -101
  680. package/dist/reference.js +101 -101
  681. package/dist/repository-cache.js +93 -93
  682. package/dist/repository.js +1 -1
  683. package/dist/ripgrep/binary.js +2 -2
  684. package/dist/ripgrep.js +111 -111
  685. package/dist/rpc.js +99 -99
  686. package/dist/schedule/check.js +245 -245
  687. package/dist/schedule/sql.js +6 -6
  688. package/dist/schedule.js +255 -255
  689. package/dist/schema.js +1 -1
  690. package/dist/session/affinity.js +1 -1
  691. package/dist/session/background.js +1 -1
  692. package/dist/session/blob.js +131 -131
  693. package/dist/session/command.js +85 -85
  694. package/dist/session/compaction.js +169 -169
  695. package/dist/session/context.js +196 -196
  696. package/dist/session/diff.js +101 -101
  697. package/dist/session/environment.js +5 -5
  698. package/dist/session/error.js +5 -5
  699. package/dist/session/event.js +1 -1
  700. package/dist/session/execution/restart.js +248 -248
  701. package/dist/session/execution.js +167 -167
  702. package/dist/session/generate.js +200 -200
  703. package/dist/session/history.js +136 -136
  704. package/dist/session/inbox.js +149 -149
  705. package/dist/session/info.js +3 -3
  706. package/dist/session/instruction-entry.js +88 -88
  707. package/dist/session/instruction-state.js +8 -8
  708. package/dist/session/instructions.js +141 -141
  709. package/dist/session/message-updater.js +2 -2
  710. package/dist/session/message.js +1 -1
  711. package/dist/session/model-request.js +168 -168
  712. package/dist/session/model-transport.js +9 -9
  713. package/dist/session/move.js +163 -163
  714. package/dist/session/projector.js +141 -141
  715. package/dist/session/prompt.js +148 -148
  716. package/dist/session/recent-text.js +1 -1
  717. package/dist/session/revert.js +139 -139
  718. package/dist/session/run-coordinator.js +3 -3
  719. package/dist/session/runner/index.js +3 -3
  720. package/dist/session/runner/llm.js +254 -254
  721. package/dist/session/runner/max-steps.js +1 -1
  722. package/dist/session/runner/model.js +111 -111
  723. package/dist/session/runner/publish-llm-event.js +149 -149
  724. package/dist/session/runner/retry.js +3 -3
  725. package/dist/session/runner/step.js +163 -163
  726. package/dist/session/runner/to-llm-message.js +137 -137
  727. package/dist/session/schema.js +5 -5
  728. package/dist/session/session.js +182 -182
  729. package/dist/session/shell.js +145 -145
  730. package/dist/session/skill.js +147 -147
  731. package/dist/session/sql.js +5 -5
  732. package/dist/session/stats.js +84 -84
  733. package/dist/session/store.js +140 -140
  734. package/dist/session/stored.js +2 -2
  735. package/dist/session/subagent-completion.js +3 -3
  736. package/dist/session/subagent-job.js +233 -233
  737. package/dist/session/system-prompt.js +3 -3
  738. package/dist/session/title.js +204 -204
  739. package/dist/session/to-session-error.js +148 -148
  740. package/dist/session/transfer.js +244 -244
  741. package/dist/session/usage.js +1 -1
  742. package/dist/session.js +235 -235
  743. package/dist/shared-cache.js +5 -5
  744. package/dist/shell/parse.js +6 -6
  745. package/dist/shell/result.js +1 -1
  746. package/dist/shell/scan.js +1 -1
  747. package/dist/shell/select.js +11 -11
  748. package/dist/shell.js +145 -145
  749. package/dist/skill/discovery.js +6 -6
  750. package/dist/skill/instructions.js +151 -151
  751. package/dist/skill.js +152 -152
  752. package/dist/snapshot.js +106 -106
  753. package/dist/state.js +1 -1
  754. package/dist/tool/html-markdown.js +1 -1
  755. package/dist/tool/http-body.js +1 -1
  756. package/dist/tool/mcp.js +180 -180
  757. package/dist/tool/plugin/artifact.js +232 -232
  758. package/dist/tool/plugin/edit.js +165 -165
  759. package/dist/tool/plugin/file-diff.js +1 -1
  760. package/dist/tool/plugin/glob.js +171 -171
  761. package/dist/tool/plugin/grep.js +170 -170
  762. package/dist/tool/plugin/image-generate.js +243 -243
  763. package/dist/tool/plugin/mcp-resource.js +164 -164
  764. package/dist/tool/plugin/opencode.js +163 -163
  765. package/dist/tool/plugin/patch.js +166 -166
  766. package/dist/tool/plugin/question.js +148 -148
  767. package/dist/tool/plugin/read.js +172 -172
  768. package/dist/tool/plugin/schedule.js +251 -251
  769. package/dist/tool/plugin/shell.js +239 -239
  770. package/dist/tool/plugin/skill.js +157 -157
  771. package/dist/tool/plugin/subagent.js +240 -240
  772. package/dist/tool/plugin/todo.js +153 -153
  773. package/dist/tool/plugin/webfetch.js +155 -155
  774. package/dist/tool/plugin/websearch.js +155 -155
  775. package/dist/tool/plugin/write.js +164 -164
  776. package/dist/tool/read-filesystem.js +114 -114
  777. package/dist/tool/runtime.js +1 -1
  778. package/dist/tool/search.js +109 -109
  779. package/dist/tool-output.js +7 -7
  780. package/dist/tool.js +157 -157
  781. package/dist/types/config/integration.d.ts +4 -4
  782. package/dist/types/config/plugin/entry-observer.d.ts +5 -1
  783. package/dist/types/config.d.ts +5 -0
  784. package/dist/types/console-access.d.ts +12 -0
  785. package/dist/types/managed-policy.d.ts +1 -1
  786. package/dist/types/mcp/connection.d.ts +2 -0
  787. package/dist/types/plugin/internal.d.ts +3 -1
  788. package/dist/usage-limits.js +100 -100
  789. package/dist/util/error-summary.js +1 -1
  790. package/dist/util/git-executable.js +3 -3
  791. package/dist/util/lazy.js +1 -1
  792. package/dist/util/slug.js +1 -1
  793. package/dist/util/token.js +1 -1
  794. package/dist/util/which.js +1 -1
  795. package/dist/util/wildcard.js +1 -1
  796. package/dist/v1/config/agent.js +5 -5
  797. package/dist/v1/config/command.js +1 -1
  798. package/dist/v1/config/mcp.js +4 -4
  799. package/dist/v1/config/migrate.js +105 -105
  800. package/dist/v1/config/permission.js +3 -3
  801. package/dist/v1/config/plugin.js +3 -3
  802. package/dist/v1/config/provider-options.js +1 -1
  803. package/dist/v1/config/provider.js +4 -4
  804. package/dist/variant.js +104 -104
  805. package/dist/vcs/patch.js +1 -1
  806. package/dist/vcs.js +102 -102
  807. package/dist/voice.js +101 -101
  808. package/dist/websearch.js +101 -101
  809. package/dist/wellknown/plugin.js +85 -85
  810. package/dist/wellknown.js +88 -88
  811. package/dist/workspace/driver.js +3 -3
  812. package/dist/workspace/sql.js +1 -1
  813. package/dist/workspace.js +91 -91
  814. package/dist/worktree/directory.js +2 -2
  815. package/dist/worktree/git.js +9 -9
  816. package/dist/worktree/sql.js +5 -5
  817. package/dist/worktree/strategies.js +102 -102
  818. package/dist/worktree.js +107 -107
  819. package/package.json +8 -8
  820. package/dist/chunks/reference-3k4vyfzg.js +0 -26
  821. package/dist/chunks/reference-3qhreq2y.js +0 -16
  822. package/dist/chunks/reference-dtkhn1ga.js +0 -265
  823. package/dist/chunks/reference-qmh7vbk2.js +0 -18
  824. /package/dist/chunks/{reference-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  825. /package/dist/chunks/{reference-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  826. /package/dist/chunks/{reference-108x4f4w.js → project-108x4f4w.js} +0 -0
  827. /package/dist/chunks/{reference-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  828. /package/dist/chunks/{reference-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  829. /package/dist/chunks/{reference-1kah00gy.js → project-1kah00gy.js} +0 -0
  830. /package/dist/chunks/{reference-24dcb14g.js → project-24dcb14g.js} +0 -0
  831. /package/dist/chunks/{reference-2710q6r3.js → project-2710q6r3.js} +0 -0
  832. /package/dist/chunks/{reference-2bv980vf.js → project-2bv980vf.js} +0 -0
  833. /package/dist/chunks/{reference-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  834. /package/dist/chunks/{reference-359p4xyc.js → project-359p4xyc.js} +0 -0
  835. /package/dist/chunks/{reference-3af0jn4w.js → project-3af0jn4w.js} +0 -0
  836. /package/dist/chunks/{reference-3asan66x.js → project-3asan66x.js} +0 -0
  837. /package/dist/chunks/{reference-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  838. /package/dist/chunks/{reference-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  839. /package/dist/chunks/{reference-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  840. /package/dist/chunks/{reference-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  841. /package/dist/chunks/{reference-4qk9sjk2.js → project-4qk9sjk2.js} +0 -0
  842. /package/dist/chunks/{reference-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  843. /package/dist/chunks/{reference-53557ph1.js → project-53557ph1.js} +0 -0
  844. /package/dist/chunks/{reference-550bvhaj.js → project-550bvhaj.js} +0 -0
  845. /package/dist/chunks/{reference-5w3e23ze.js → project-5w3e23ze.js} +0 -0
  846. /package/dist/chunks/{reference-6agm2x70.js → project-6agm2x70.js} +0 -0
  847. /package/dist/chunks/{reference-6prwharc.js → project-6prwharc.js} +0 -0
  848. /package/dist/chunks/{reference-6q2bdcd1.js → project-6q2bdcd1.js} +0 -0
  849. /package/dist/chunks/{reference-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  850. /package/dist/chunks/{reference-7m9af43g.js → project-7m9af43g.js} +0 -0
  851. /package/dist/chunks/{reference-822emrt2.js → project-822emrt2.js} +0 -0
  852. /package/dist/chunks/{reference-84wd9syh.js → project-84wd9syh.js} +0 -0
  853. /package/dist/chunks/{reference-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  854. /package/dist/chunks/{reference-8n3pysct.js → project-8n3pysct.js} +0 -0
  855. /package/dist/chunks/{reference-8wj87zfr.js → project-8wj87zfr.js} +0 -0
  856. /package/dist/chunks/{reference-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  857. /package/dist/chunks/{reference-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  858. /package/dist/chunks/{reference-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  859. /package/dist/chunks/{reference-af5trqkr.js → project-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{reference-afrmfg78.js → project-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{reference-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{reference-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{reference-beh6qq61.js → project-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{reference-bhmrqjy3.js → project-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{reference-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{reference-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{reference-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{reference-cqv5kn06.js → project-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{reference-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{reference-d9fn303g.js → project-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{reference-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{reference-dap0rakb.js → project-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{reference-df08tz66.js → project-df08tz66.js} +0 -0
  874. /package/dist/chunks/{reference-dy18nga0.js → project-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{reference-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{reference-ean2d8b5.js → project-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{reference-ec1grn59.js → project-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{reference-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{reference-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{reference-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{reference-faypxj3z.js → project-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{reference-fd410y7t.js → project-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{reference-fkpq3x5p.js → project-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{reference-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{reference-g86h250q.js → project-g86h250q.js} +0 -0
  886. /package/dist/chunks/{reference-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{reference-gftt206x.js → project-gftt206x.js} +0 -0
  888. /package/dist/chunks/{reference-hcxmzztb.js → project-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{reference-hk9envan.js → project-hk9envan.js} +0 -0
  890. /package/dist/chunks/{reference-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{reference-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{reference-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{reference-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{reference-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{reference-jwr30sdr.js → project-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{reference-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{reference-m18g726c.js → project-m18g726c.js} +0 -0
  898. /package/dist/chunks/{reference-mp448xyj.js → project-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{reference-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{reference-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{reference-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{reference-nh4v3znn.js → project-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{reference-njntx4h6.js → project-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{reference-p71gwv9c.js → project-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{reference-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{reference-q74kybfr.js → project-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{reference-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  908. /package/dist/chunks/{reference-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  909. /package/dist/chunks/{reference-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  910. /package/dist/chunks/{reference-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  911. /package/dist/chunks/{reference-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  912. /package/dist/chunks/{reference-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  913. /package/dist/chunks/{reference-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  914. /package/dist/chunks/{reference-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  915. /package/dist/chunks/{reference-syrav9an.js → project-syrav9an.js} +0 -0
  916. /package/dist/chunks/{reference-t03h4f5z.js → project-t03h4f5z.js} +0 -0
  917. /package/dist/chunks/{reference-ty7weeps.js → project-ty7weeps.js} +0 -0
  918. /package/dist/chunks/{reference-ve7vex1e.js → project-ve7vex1e.js} +0 -0
  919. /package/dist/chunks/{reference-vtarvj67.js → project-vtarvj67.js} +0 -0
  920. /package/dist/chunks/{reference-w803qqfp.js → project-w803qqfp.js} +0 -0
  921. /package/dist/chunks/{reference-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  922. /package/dist/chunks/{reference-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  923. /package/dist/chunks/{reference-wtztk69x.js → project-wtztk69x.js} +0 -0
  924. /package/dist/chunks/{reference-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  925. /package/dist/chunks/{reference-x61499pn.js → project-x61499pn.js} +0 -0
  926. /package/dist/chunks/{reference-y44na4kk.js → project-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{reference-y8f7s663.js → project-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{reference-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{reference-z0h12gs8.js → project-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{reference-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{reference-z9919s4g.js → project-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{reference-zxpyjp51.js → project-zxpyjp51.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./reference-z0h12gs8.js";
3
+ } from "./project-z0h12gs8.js";
4
4
  import {
5
5
  NotFound3,
6
6
  WrongKind2,
7
7
  Failed2
8
- } from "./reference-svcy3p9a.js";
8
+ } from "./project-svcy3p9a.js";
9
9
  import {
10
- Service86
11
- } from "./reference-78hx0q36.js";
10
+ Service82
11
+ } from "./project-fe3t4ebc.js";
12
12
  import {
13
- Service59
14
- } from "./reference-1thmwbjb.js";
13
+ Service56
14
+ } from "./project-q11t1skj.js";
15
15
  import {
16
- Service25
17
- } from "./reference-647a467t.js";
16
+ Service21
17
+ } from "./project-bmj3n0tq.js";
18
18
  import {
19
- Service22,
19
+ Service19,
20
20
  readText2,
21
21
  syncTextBom2
22
- } from "./reference-gf3dp8br.js";
22
+ } from "./project-nhrefdj7.js";
23
23
  import {
24
24
  invocation2,
25
- Service73
26
- } from "./reference-hm3v9m15.js";
25
+ Service71
26
+ } from "./project-9m02z06j.js";
27
27
  import {
28
- Service24,
28
+ Service20,
29
29
  resolvePath2
30
- } from "./reference-ctyc4gz6.js";
30
+ } from "./project-fvg0bsm6.js";
31
31
  import {
32
32
  fileDiff2
33
- } from "./reference-6prwharc.js";
33
+ } from "./project-6prwharc.js";
34
34
  import {
35
35
  __export
36
- } from "./reference-9rqn6x4v.js";
36
+ } from "./project-9rqn6x4v.js";
37
37
 
38
38
  // src/tool/plugin/patch.ts
39
39
  var exports_patch = {};
40
40
  __export(exports_patch, {
41
41
  Applied: () => Applied2,
42
- Input: () => Input7,
43
- Output: () => Output6,
42
+ Input: () => Input12,
43
+ Output: () => Output10,
44
44
  PatchTool: () => exports_patch,
45
- Plugin: () => Plugin26,
46
- name: () => name7,
45
+ Plugin: () => Plugin51,
46
+ name: () => name12,
47
47
  toModelContent: () => toModelContent5
48
48
  });
49
49
  import { ToolFailure } from "@opencode/ai/effect";
@@ -89,8 +89,8 @@ It is important to remember:
89
89
  `;
90
90
 
91
91
  // src/tool/plugin/patch.ts
92
- var name7 = "patch";
93
- var Input7 = Schema.Struct({
92
+ var name12 = "patch";
93
+ var Input12 = Schema.Struct({
94
94
  patchText: Schema.String.annotate({
95
95
  description: "The full patch text describing add, update, and delete operations"
96
96
  })
@@ -100,7 +100,7 @@ var Applied2 = Schema.Struct({
100
100
  resource: Schema.String,
101
101
  target: Schema.String
102
102
  });
103
- var Output6 = Schema.Struct({
103
+ var Output10 = Schema.Struct({
104
104
  applied: Schema.Array(Applied2),
105
105
  files: Schema.Array(FileDiff.Info)
106
106
  });
@@ -109,21 +109,21 @@ var toModelContent5 = (output) => [
109
109
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
110
110
  ].join(`
111
111
  `);
112
- var Plugin26 = {
112
+ var Plugin51 = {
113
113
  id: "opencode.tool.patch",
114
114
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
115
- const environment = yield* Service59;
116
- const access = yield* Service24;
117
- const fileMutation = yield* Service22;
118
- const formatter = yield* Service25;
119
- const location = yield* Service86;
120
- const permission = yield* Service73;
115
+ const environment = yield* Service56;
116
+ const access = yield* Service20;
117
+ const fileMutation = yield* Service19;
118
+ const formatter = yield* Service21;
119
+ const location = yield* Service82;
120
+ const permission = yield* Service71;
121
121
  yield* ctx.tool.transform((editor) => editor.add({
122
- name: name7,
122
+ name: name12,
123
123
  options: { codemode: false, permission: "edit" },
124
124
  description: patch_default,
125
- input: Input7,
126
- output: Output6,
125
+ input: Input12,
126
+ output: Output10,
127
127
  execute: (input, context) => {
128
128
  const applied = [];
129
129
  const parsed = Patch.parse(input.patchText);
@@ -325,4 +325,4 @@ function trimDiff(diff) {
325
325
  `);
326
326
  }
327
327
 
328
- export { name7, Input7, Applied2, Output6, toModelContent5, Plugin26, exports_patch };
328
+ export { name12, Input12, Applied2, Output10, toModelContent5, Plugin51, exports_patch };
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service89,
3
- node92
4
- } from "./reference-782ftqzm.js";
2
+ Service90,
3
+ node94
4
+ } from "./project-9jx6pde7.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./reference-40y6dtc2.js";
8
+ } from "./project-40y6dtc2.js";
9
9
  import {
10
10
  evaluate3
11
- } from "./reference-hm3v9m15.js";
11
+ } from "./project-9m02z06j.js";
12
12
  import {
13
13
  __export
14
- } from "./reference-9rqn6x4v.js";
14
+ } from "./project-9rqn6x4v.js";
15
15
 
16
16
  // src/skill.ts
17
17
  var exports_skill5 = {};
@@ -19,16 +19,16 @@ __export(exports_skill5, {
19
19
  DirectorySource: () => DirectorySource2,
20
20
  EmbeddedSource: () => EmbeddedSource2,
21
21
  Event: () => Event12,
22
- ID: () => ID11,
23
- Info: () => Info15,
22
+ ID: () => ID10,
23
+ Info: () => Info13,
24
24
  Name: () => Name2,
25
- Service: () => Service72,
25
+ Service: () => Service51,
26
26
  Skill: () => exports_skill5,
27
27
  Source: () => Source4,
28
28
  UrlSource: () => UrlSource2,
29
29
  available: () => available4,
30
30
  isUri: () => isUri2,
31
- node: () => node75,
31
+ node: () => node55,
32
32
  prepare: () => prepare3,
33
33
  toModelOutput: () => toModelOutput3,
34
34
  uri: () => uri2
@@ -43,8 +43,8 @@ var DirectorySource2 = Skill.DirectorySource;
43
43
  var UrlSource2 = Skill.UrlSource;
44
44
  var EmbeddedSource2 = Skill.EmbeddedSource;
45
45
  var Source4 = Skill.Source;
46
- var Info15 = Skill.Info;
47
- var ID11 = Skill.ID;
46
+ var Info13 = Skill.Info;
47
+ var ID10 = Skill.ID;
48
48
  var Name2 = Skill.Name;
49
49
  var available4 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
50
50
  var uri2 = (id, file) => file ? `skill://${id}/${file}` : `skill://${id}`;
@@ -91,16 +91,16 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill, virtualFiles) {
91
91
  };
92
92
  });
93
93
 
94
- class Service72 extends Context.Service()("@opencode/Skill") {
94
+ class Service51 extends Context.Service()("@opencode/Skill") {
95
95
  }
96
- var layer = Layer.effect(Service72, Effect.gen(function* () {
97
- const bus = yield* Service89;
96
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
97
+ const bus = yield* Service90;
98
98
  const state = create4({
99
99
  name: "skill",
100
100
  initial: () => ({ skills: new Map, files: new Map }),
101
101
  editor: (editor) => ({
102
102
  list: () => Array.from(editor.skills.values()),
103
- get: (id) => editor.skills.get(ID11.make(id)),
103
+ get: (id) => editor.skills.get(ID10.make(id)),
104
104
  add: (skill, files) => {
105
105
  editor.skills.set(skill.id, { ...skill });
106
106
  const entries = files ? Object.entries(files).filter(([file]) => file !== "SKILL.md").toSorted(([a], [b]) => a.localeCompare(b)) : [];
@@ -111,7 +111,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
111
111
  editor.files.set(skill.id, new Map(entries));
112
112
  },
113
113
  update: (id, update) => {
114
- const key = ID11.make(id);
114
+ const key = ID10.make(id);
115
115
  const current = editor.skills.get(key);
116
116
  if (!current)
117
117
  return;
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
119
119
  current.id = key;
120
120
  },
121
121
  remove: (id) => {
122
- const key = ID11.make(id);
122
+ const key = ID10.make(id);
123
123
  editor.skills.delete(key);
124
124
  editor.files.delete(key);
125
125
  }
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
129
129
  Array.from(data.files, ([id, entries]) => [id, Array.from(entries)])
130
130
  ], () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
131
131
  });
132
- return Service72.of({
132
+ return Service51.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  get: Effect.fn("Skill.get")(function* (id) {
@@ -144,10 +144,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
144
144
  })
145
145
  });
146
146
  }));
147
- var node75 = makeLocationNode({
148
- service: Service72,
147
+ var node55 = makeLocationNode({
148
+ service: Service51,
149
149
  layer,
150
- deps: [node92]
150
+ deps: [node94]
151
151
  });
152
152
 
153
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info15, ID11, Name2, available4, uri2, isUri2, toModelOutput3, prepare3, Service72, node75, exports_skill5, Event12 };
153
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info13, ID10, Name2, available4, uri2, isUri2, toModelOutput3, prepare3, Service51, node55, exports_skill5, Event12 };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./reference-kapdsjwd.js";
4
+ } from "./project-zxnv3p5n.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./reference-d57rvnhv.js";
7
+ } from "./project-pwdej7e7.js";
8
8
  import {
9
9
  Document3
10
- } from "./reference-3qgwywyc.js";
10
+ } from "./project-r17fbvme.js";
11
11
  import {
12
12
  latest2,
13
- Service78
14
- } from "./reference-381w5cv2.js";
13
+ Service76
14
+ } from "./project-er5qm13q.js";
15
15
  import {
16
16
  supports2,
17
17
  resolve2
18
- } from "./reference-w6dzzgd0.js";
18
+ } from "./project-vfkrvvzg.js";
19
19
  import {
20
20
  observe2
21
- } from "./reference-tvtps2q9.js";
21
+ } from "./project-mm06edep.js";
22
22
  import {
23
23
  __export
24
- } from "./reference-9rqn6x4v.js";
24
+ } from "./project-9rqn6x4v.js";
25
25
 
26
26
  // src/config/plugin/provider.ts
27
27
  var exports_provider3 = {};
28
28
  __export(exports_provider3, {
29
29
  ConfigProviderPlugin: () => exports_provider3,
30
- Plugin: () => Plugin37,
30
+ Plugin: () => Plugin24,
31
31
  integrate: () => integrate2
32
32
  });
33
33
  import { define } from "@opencode/plugin/effect/plugin";
34
34
  import { Money } from "@opencode/schema/money";
35
35
  import { Effect } from "effect";
36
- var Plugin37 = define({
36
+ var Plugin24 = define({
37
37
  id: "opencode.config.provider",
38
38
  effect: Effect.fn(function* (ctx) {
39
- const config = yield* Service78;
39
+ const config = yield* Service76;
40
40
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
41
41
  yield* ctx.integration.transform((integrations) => {
42
42
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -251,4 +251,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
251
251
  });
252
252
  }
253
253
 
254
- export { Plugin37, integrate2, exports_provider3 };
254
+ export { Plugin24, integrate2, exports_provider3 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service86,
3
- node89
4
- } from "./reference-78hx0q36.js";
2
+ Service82,
3
+ node86
4
+ } from "./project-fe3t4ebc.js";
5
5
  import {
6
6
  Key3,
7
- make32,
7
+ make31,
8
8
  combine2
9
- } from "./reference-t62dywgn.js";
9
+ } from "./project-3spf441s.js";
10
10
  import {
11
11
  __export
12
- } from "./reference-9rqn6x4v.js";
12
+ } from "./project-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service44,
18
+ Service: () => Service43,
19
19
  node: () => node47
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service44 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service43 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service44, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service86;
29
- return Service44.of({
28
+ const location = yield* Service82;
29
+ return Service43.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make32({
31
+ make31({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make32({
40
+ make31({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node47 = makeLocationNode({ service: Service44, layer, deps: [Global.node, node89] });
63
+ var node47 = makeLocationNode({ service: Service43, layer, deps: [Global.node, node86] });
64
64
 
65
- export { Service44, node47, exports_builtins };
65
+ export { Service43, node47, exports_builtins };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/image/photon-normalize.ts
6
6
  var exports_photon_normalize = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  policy3
3
- } from "./reference-wnhgecwx.js";
3
+ } from "./project-wnhgecwx.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./reference-ec1grn59.js";
6
+ } from "./project-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service89
3
- } from "./reference-782ftqzm.js";
2
+ Service90
3
+ } from "./project-9jx6pde7.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./reference-d57rvnhv.js";
6
+ } from "./project-pwdej7e7.js";
7
7
  import {
8
- Service27,
9
- Event6
10
- } from "./reference-xn61qhd8.js";
8
+ Service17,
9
+ Event3
10
+ } from "./project-1kmqmr0e.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service27;
42
- const bus = yield* Service89;
41
+ const modelsDev = yield* Service17;
42
+ const bus = yield* Service90;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
45
45
  for (const provider of loaded.data) {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event6.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/config/integration.ts
6
6
  var exports_integration2 = {};
@@ -10,7 +10,7 @@ __export(exports_integration2, {
10
10
  Policies: () => Policies2,
11
11
  Remote: () => Remote3,
12
12
  WellKnownDocument: () => WellKnownDocument2,
13
- make: () => make33,
13
+ make: () => make32,
14
14
  suppliers: () => suppliers2
15
15
  });
16
16
  import { Option, Schema, SchemaGetter } from "effect";
@@ -51,7 +51,7 @@ class WellKnownDocument2 extends Config.Document.extend("Config.WellKnownDocumen
51
51
  function suppliers2(entries) {
52
52
  return new Map(entries.filter((entry) => entry instanceof WellKnownDocument2).flatMap((document) => Object.keys(document.info.providers ?? {}).map((id) => [id, document.integrationID])));
53
53
  }
54
- function make33(input) {
54
+ function make32(input) {
55
55
  const servers = input.info.mcp?.servers;
56
56
  return new Document3({
57
57
  type: "document",
@@ -90,4 +90,4 @@ function withoutCredentials(settings) {
90
90
  return settings && Object.fromEntries(Object.entries(settings).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
91
91
  }
92
92
 
93
- export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2, make33, exports_integration2 };
93
+ export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2, make32, exports_integration2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service89,
3
- node92
4
- } from "./reference-782ftqzm.js";
2
+ Service90,
3
+ node94
4
+ } from "./project-9jx6pde7.js";
5
5
  import {
6
6
  __export
7
- } from "./reference-9rqn6x4v.js";
7
+ } from "./project-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID19,
20
- Info: () => Info28,
19
+ ID: () => ID21,
20
+ Info: () => Info31,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError13,
23
+ NotFoundError: () => NotFoundError14,
24
24
  Reply: () => Reply3,
25
- Service: () => Service84,
25
+ Service: () => Service88,
26
26
  State: () => State3,
27
27
  When: () => When3,
28
28
  layer: () => layer27,
29
- node: () => node87,
29
+ node: () => node92,
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 Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID19 = Form.ID;
39
- var Info28 = Form.Info;
38
+ var ID21 = Form.ID;
39
+ var Info31 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When3 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID19
47
+ class NotFoundError14 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID21
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID19
56
+ id: ID21
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: ID19
64
+ id: ID21
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: ID19,
72
+ id: ID21,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service84 extends Context.Service()("@opencode/Form") {
82
+ class Service88 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service84, Effect.gen(function* () {
85
- const bus = yield* Service89;
84
+ var layer27 = Layer.effect(Service88, Effect.gen(function* () {
85
+ const bus = yield* Service90;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError14({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID19.create();
93
+ const id = input.id ?? ID21.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service84, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service84.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service88.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node87 = makeLocationNode({ service: Service84, layer: layer27, deps: [node92] });
167
+ var node92 = makeLocationNode({ service: Service88, layer: layer27, deps: [node94] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer27, node87, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID21, Info31, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError14, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service88, layer27, node92, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./reference-03xjjwe3.js";
5
+ } from "./project-b7ke1cet.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make35,
10
10
  makeWithDefaults2
11
- } from "./reference-hvnk3yew.js";
11
+ } from "./project-swv67jcs.js";
12
12
  import {
13
13
  __export
14
- } from "./reference-9rqn6x4v.js";
14
+ } from "./project-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};