@opencode/core 0.0.0-dev-19762 → 0.0.0-dev-19764

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{ripgrep-6v61b0qc.js → snapshot-01va1f3z.js} +11 -11
  8. package/dist/chunks/{ripgrep-gssxapj4.js → snapshot-03133x3a.js} +23 -23
  9. package/dist/chunks/{ripgrep-6xwcf1a8.js → snapshot-036p5t1s.js} +4 -4
  10. package/dist/chunks/{ripgrep-fwwk8vbp.js → snapshot-0996nyz8.js} +9 -9
  11. package/dist/chunks/{ripgrep-23txnh41.js → snapshot-0c1dc0pg.js} +24 -24
  12. package/dist/chunks/{ripgrep-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{ripgrep-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{ripgrep-0pzddh61.js → snapshot-0v85mbt5.js} +12 -12
  15. package/dist/chunks/snapshot-19kwwqgw.js +26 -0
  16. package/dist/chunks/{ripgrep-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{ripgrep-8z9xk3d4.js → snapshot-1fc8gdfv.js} +8 -8
  18. package/dist/chunks/{ripgrep-b1f5cxcb.js → snapshot-1mtvnjxb.js} +28 -28
  19. package/dist/chunks/{ripgrep-k71n7exj.js → snapshot-1pfd9v32.js} +4 -4
  20. package/dist/chunks/snapshot-1tm0r3ht.js +4 -0
  21. package/dist/chunks/{ripgrep-33w4ejhs.js → snapshot-1ygqh575.js} +6 -6
  22. package/dist/chunks/{ripgrep-8y31xnqm.js → snapshot-207ajt2h.js} +5 -5
  23. package/dist/chunks/{ripgrep-ms0xn50b.js → snapshot-20d44xk5.js} +15 -15
  24. package/dist/chunks/{ripgrep-21r38tys.js → snapshot-21r38tys.js} +1 -1
  25. package/dist/chunks/{ripgrep-qrp8ptp7.js → snapshot-23tvpxmv.js} +15 -15
  26. package/dist/chunks/{ripgrep-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
  27. package/dist/chunks/{ripgrep-zg418ags.js → snapshot-252xb3nn.js} +20 -20
  28. package/dist/chunks/{ripgrep-dbb8vp5z.js → snapshot-277eer69.js} +4 -4
  29. package/dist/chunks/{ripgrep-z63w68vq.js → snapshot-29x78va6.js} +6 -6
  30. package/dist/chunks/{ripgrep-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{ripgrep-7dqw4kz8.js → snapshot-2k8khapm.js} +5 -5
  32. package/dist/chunks/{ripgrep-7b41q261.js → snapshot-2vrqs54j.js} +24 -24
  33. package/dist/chunks/{ripgrep-jrszgcfs.js → snapshot-2wr7a4zh.js} +42 -42
  34. package/dist/chunks/{ripgrep-d96wt5tg.js → snapshot-31314d8d.js} +22 -22
  35. package/dist/chunks/{ripgrep-jwe77tbn.js → snapshot-31vvj4c3.js} +17 -17
  36. package/dist/chunks/{ripgrep-h0f7nx0s.js → snapshot-351s78pd.js} +7 -7
  37. package/dist/chunks/{ripgrep-jm6qsc65.js → snapshot-3c48t5r1.js} +25 -25
  38. package/dist/chunks/{ripgrep-d2aac7k2.js → snapshot-3cz8rj72.js} +5 -5
  39. package/dist/chunks/{ripgrep-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{ripgrep-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{ripgrep-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{ripgrep-n21vzndg.js → snapshot-3sywykg8.js} +59 -59
  43. package/dist/chunks/{ripgrep-knb7evpn.js → snapshot-3tq5qxbk.js} +8 -8
  44. package/dist/chunks/{ripgrep-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{ripgrep-h6z8d5tn.js → snapshot-3ythc6yv.js} +4 -4
  46. package/dist/chunks/{ripgrep-3myh6vb2.js → snapshot-42jghq3e.js} +15 -15
  47. package/dist/chunks/{ripgrep-z6p90rpz.js → snapshot-440emva9.js} +9 -9
  48. package/dist/chunks/{ripgrep-6kpbv9kv.js → snapshot-446tpth2.js} +11 -11
  49. package/dist/chunks/{ripgrep-h6r3nrb9.js → snapshot-4dgbcxzg.js} +4 -4
  50. package/dist/chunks/{ripgrep-gf41fens.js → snapshot-4jb2hfvf.js} +16 -16
  51. package/dist/chunks/{ripgrep-wafw61rg.js → snapshot-4pw3ma1d.js} +51 -51
  52. package/dist/chunks/{ripgrep-nja8qp5w.js → snapshot-4qk2gb51.js} +6 -6
  53. package/dist/chunks/snapshot-51r0acr2.js +252 -0
  54. package/dist/chunks/{ripgrep-drwq78ky.js → snapshot-57b9ws8p.js} +5 -5
  55. package/dist/chunks/{ripgrep-dc6tzc5b.js → snapshot-57ez7d0k.js} +9 -9
  56. package/dist/chunks/{ripgrep-vec3xbqq.js → snapshot-581qaqgj.js} +11 -11
  57. package/dist/chunks/{ripgrep-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  58. package/dist/chunks/{ripgrep-skn7z29k.js → snapshot-5km6923r.js} +4 -4
  59. package/dist/chunks/{ripgrep-2a3fjbcx.js → snapshot-5nyprcjq.js} +33 -33
  60. package/dist/chunks/{ripgrep-ch1v1c8p.js → snapshot-5pjpf2rc.js} +32 -32
  61. package/dist/chunks/{ripgrep-t7q07nbx.js → snapshot-5s70k0xw.js} +18 -18
  62. package/dist/chunks/{ripgrep-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{ripgrep-669tq793.js → snapshot-669tq793.js} +1 -1
  64. package/dist/chunks/{ripgrep-c78yjyy8.js → snapshot-6ekt4h1g.js} +37 -37
  65. package/dist/chunks/{ripgrep-b84fgpga.js → snapshot-6h3wybc7.js} +6 -6
  66. package/dist/chunks/{ripgrep-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{ripgrep-5rnnm2b5.js → snapshot-6pzw4973.js} +9 -9
  68. package/dist/chunks/{ripgrep-awaee7qt.js → snapshot-6sh1ew48.js} +6 -6
  69. package/dist/chunks/{ripgrep-3pkbvm6e.js → snapshot-75pyeabn.js} +5 -5
  70. package/dist/chunks/{ripgrep-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{ripgrep-860pnem8.js → snapshot-7cx721ez.js} +38 -38
  72. package/dist/chunks/{ripgrep-j6bw85pj.js → snapshot-7dk8f9rn.js} +18 -18
  73. package/dist/chunks/{ripgrep-4ccz1nn3.js → snapshot-7dqep7dt.js} +17 -17
  74. package/dist/chunks/{ripgrep-z44ceg51.js → snapshot-7ef3j03a.js} +4 -4
  75. package/dist/chunks/{ripgrep-1e66bexh.js → snapshot-7j91f9t1.js} +16 -16
  76. package/dist/chunks/{ripgrep-vhbe7qx8.js → snapshot-7mbtkcjw.js} +18 -18
  77. package/dist/chunks/{ripgrep-qb63a9zf.js → snapshot-7nfkg4wm.js} +25 -25
  78. package/dist/chunks/{ripgrep-3rtxz4nr.js → snapshot-7sbn2nrf.js} +8 -8
  79. package/dist/chunks/{ripgrep-gayx1gyt.js → snapshot-820cv1w4.js} +13 -13
  80. package/dist/chunks/{ripgrep-rgstwj96.js → snapshot-87m5nb3r.js} +17 -17
  81. package/dist/chunks/{ripgrep-5c0f1prt.js → snapshot-88sz8qcd.js} +4 -4
  82. package/dist/chunks/{ripgrep-tcezcvh9.js → snapshot-89znhe33.js} +4 -4
  83. package/dist/chunks/{ripgrep-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{ripgrep-dj2t23y0.js → snapshot-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{ripgrep-nz4t0xcn.js → snapshot-8rbkvf2j.js} +23 -23
  86. package/dist/chunks/{ripgrep-36bje86w.js → snapshot-8wmhz1g8.js} +18 -18
  87. package/dist/chunks/{ripgrep-d6ky1srm.js → snapshot-8x3w3g8n.js} +6 -6
  88. package/dist/chunks/{ripgrep-wa54e3vz.js → snapshot-8z9z5b5g.js} +4 -4
  89. package/dist/chunks/{ripgrep-cwh8n86t.js → snapshot-939y1bpb.js} +5 -5
  90. package/dist/chunks/{ripgrep-gyae7r3z.js → snapshot-94c9dcy8.js} +4 -4
  91. package/dist/chunks/{ripgrep-rq8ppe4g.js → snapshot-95w894pf.js} +6 -6
  92. package/dist/chunks/{ripgrep-s9p8pbws.js → snapshot-9bn5q4dg.js} +9 -9
  93. package/dist/chunks/{ripgrep-tf19wwdv.js → snapshot-9e5kb4vq.js} +18 -18
  94. package/dist/chunks/{ripgrep-x1jfkgfy.js → snapshot-9g9mfadh.js} +33 -33
  95. package/dist/chunks/{ripgrep-jvcyv7ga.js → snapshot-9zga13gt.js} +20 -20
  96. package/dist/chunks/{ripgrep-5c4hm403.js → snapshot-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{ripgrep-9evy366m.js → snapshot-aa7ryvh3.js} +11 -11
  98. package/dist/chunks/{ripgrep-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  99. package/dist/chunks/{ripgrep-ksf2dvjr.js → snapshot-acmkfkts.js} +24 -24
  100. package/dist/chunks/{ripgrep-k6j8tzw3.js → snapshot-ad1t3088.js} +33 -33
  101. package/dist/chunks/{ripgrep-2ax3pmfy.js → snapshot-ae7jk870.js} +32 -32
  102. package/dist/chunks/{ripgrep-6qr3rp4k.js → snapshot-ak9msbxp.js} +6 -6
  103. package/dist/chunks/{ripgrep-6xsy640g.js → snapshot-anq6cyaa.js} +9 -9
  104. package/dist/chunks/{ripgrep-k3cq2hmh.js → snapshot-at7dy2hw.js} +12 -12
  105. package/dist/chunks/{ripgrep-439dx3w9.js → snapshot-avc8n21j.js} +18 -18
  106. package/dist/chunks/{ripgrep-7kfbshd0.js → snapshot-b3yej2dp.js} +11 -11
  107. package/dist/chunks/{ripgrep-emkevskv.js → snapshot-b4hx36v0.js} +15 -15
  108. package/dist/chunks/{ripgrep-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{ripgrep-bct739vz.js → snapshot-bct739vz.js} +1 -1
  110. package/dist/chunks/{ripgrep-6hrm80vt.js → snapshot-bfapsvch.js} +11 -11
  111. package/dist/chunks/{ripgrep-qcc7yqp9.js → snapshot-bjwtmsxg.js} +181 -181
  112. package/dist/chunks/{ripgrep-qqnsygxq.js → snapshot-bqj53dzg.js} +14 -14
  113. package/dist/chunks/{ripgrep-hszjrct3.js → snapshot-brywjafr.js} +7 -7
  114. package/dist/chunks/{ripgrep-qmqgtz8f.js → snapshot-c765mh8b.js} +9 -9
  115. package/dist/chunks/{ripgrep-m0jqrx5p.js → snapshot-cfpkc3c9.js} +2 -2
  116. package/dist/chunks/{ripgrep-hpsw77yp.js → snapshot-ctwdrck2.js} +9 -9
  117. package/dist/chunks/{ripgrep-qn4ba14w.js → snapshot-d1khqved.js} +5 -5
  118. package/dist/chunks/{ripgrep-6er5rpyb.js → snapshot-d1vmr0nd.js} +26 -26
  119. package/dist/chunks/{ripgrep-pg73jfsx.js → snapshot-dgn3bjhr.js} +15 -15
  120. package/dist/chunks/{ripgrep-m2yqpbad.js → snapshot-dp3szwdw.js} +12 -12
  121. package/dist/chunks/{ripgrep-0k85axkz.js → snapshot-dt7sf2t2.js} +31 -31
  122. package/dist/chunks/{ripgrep-m2b8ec7v.js → snapshot-dxwpfr55.js} +23 -23
  123. package/dist/chunks/{ripgrep-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{ripgrep-hh5hkdv8.js → snapshot-e7987fdb.js} +18 -18
  125. package/dist/chunks/{ripgrep-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{ripgrep-e6hd9jay.js → snapshot-efv4s0g0.js} +4 -4
  127. package/dist/chunks/{ripgrep-zn9ms18j.js → snapshot-eg2xbpx5.js} +6 -6
  128. package/dist/chunks/{ripgrep-a3r4dcrj.js → snapshot-em9d1scw.js} +2 -2
  129. package/dist/chunks/{ripgrep-3f8gnqbr.js → snapshot-epv923hw.js} +27 -27
  130. package/dist/chunks/{ripgrep-erw5rpbs.js → snapshot-erw5rpbs.js} +2 -2
  131. package/dist/chunks/{ripgrep-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{ripgrep-m65jqktx.js → snapshot-f1kpr4sr.js} +37 -37
  133. package/dist/chunks/{ripgrep-hdnk95c8.js → snapshot-f828m53h.js} +2 -2
  134. package/dist/chunks/{ripgrep-62drtx56.js → snapshot-faw7sx1p.js} +12 -12
  135. package/dist/chunks/{ripgrep-m1zn1q1z.js → snapshot-fbpv3gtq.js} +19 -19
  136. package/dist/chunks/{ripgrep-169ygb7g.js → snapshot-fc3hj1hz.js} +11 -11
  137. package/dist/chunks/{ripgrep-z7v7v5ag.js → snapshot-ffkmejj6.js} +21 -21
  138. package/dist/chunks/{ripgrep-nscznvay.js → snapshot-fhs97t90.js} +9 -9
  139. package/dist/chunks/{ripgrep-jkrnbczm.js → snapshot-fr3t0d7t.js} +32 -32
  140. package/dist/chunks/{ripgrep-0dh0nq6w.js → snapshot-frcy3q3h.js} +22 -22
  141. package/dist/chunks/{ripgrep-9rb6bxms.js → snapshot-ft919fq2.js} +47 -47
  142. package/dist/chunks/{ripgrep-5b3s0ses.js → snapshot-ftb7f8ac.js} +3 -3
  143. package/dist/chunks/{ripgrep-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{ripgrep-1h80sv90.js → snapshot-g2y161wv.js} +8 -8
  145. package/dist/chunks/{ripgrep-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{ripgrep-2na7m2zk.js → snapshot-geaa2ca8.js} +9 -9
  147. package/dist/chunks/{ripgrep-s2rj5jmp.js → snapshot-gf7f2369.js} +8 -8
  148. package/dist/chunks/{ripgrep-h7nzbpgr.js → snapshot-ggeyn75h.js} +9 -9
  149. package/dist/chunks/{ripgrep-7fyqmwvb.js → snapshot-gqknc3n4.js} +11 -11
  150. package/dist/chunks/{ripgrep-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{ripgrep-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{ripgrep-vmefg2k5.js → snapshot-h7qgt2qa.js} +10 -10
  153. package/dist/chunks/{ripgrep-2tp5fycg.js → snapshot-h83t4dj1.js} +46 -46
  154. package/dist/chunks/{ripgrep-9zqcrcy9.js → snapshot-hb92k4z9.js} +17 -17
  155. package/dist/chunks/{ripgrep-3r3y47tb.js → snapshot-hdcb5cfr.js} +12 -12
  156. package/dist/chunks/{ripgrep-s2hx2z0q.js → snapshot-hmgezczx.js} +5 -5
  157. package/dist/chunks/{ripgrep-nd0xc42w.js → snapshot-htyb7pk9.js} +10 -10
  158. package/dist/chunks/{ripgrep-wfdrftzm.js → snapshot-hwca9pcn.js} +23 -23
  159. package/dist/chunks/{ripgrep-t1qnan72.js → snapshot-hxg70vay.js} +91 -91
  160. package/dist/chunks/{ripgrep-8zdqq6r5.js → snapshot-j215vtjh.js} +8 -8
  161. package/dist/chunks/{ripgrep-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
  162. package/dist/chunks/{ripgrep-ycjb11n5.js → snapshot-j5w2yx54.js} +6 -6
  163. package/dist/chunks/{ripgrep-8097q003.js → snapshot-j8qgp22b.js} +2 -2
  164. package/dist/chunks/{ripgrep-tqm34zts.js → snapshot-jbqp0ndx.js} +5 -5
  165. package/dist/chunks/{ripgrep-ratrq7cm.js → snapshot-jfqtm2ew.js} +4 -4
  166. package/dist/chunks/{ripgrep-afxeqb9x.js → snapshot-jj7g1fgg.js} +25 -25
  167. package/dist/chunks/{ripgrep-pnaxc6j9.js → snapshot-jvnghvnw.js} +8 -8
  168. package/dist/chunks/{ripgrep-q7q75z35.js → snapshot-k64xx7v0.js} +41 -41
  169. package/dist/chunks/{ripgrep-8rem9epg.js → snapshot-kd1ce5f7.js} +17 -17
  170. package/dist/chunks/{ripgrep-h0sftwr0.js → snapshot-kf2jyg0f.js} +32 -32
  171. package/dist/chunks/{ripgrep-q4bmvbzq.js → snapshot-kgajfdja.js} +24 -24
  172. package/dist/chunks/{ripgrep-xbb1qmqt.js → snapshot-kj3y1y0m.js} +10 -10
  173. package/dist/chunks/{ripgrep-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{ripgrep-n4r3xatb.js → snapshot-m70sbz6t.js} +4 -4
  175. package/dist/chunks/{ripgrep-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{ripgrep-ep1jjcpa.js → snapshot-mbn3np8p.js} +27 -27
  177. package/dist/chunks/{ripgrep-eq1pz5kg.js → snapshot-mhkvc446.js} +3 -3
  178. package/dist/chunks/{ripgrep-1ky015m0.js → snapshot-mmpv6r03.js} +13 -13
  179. package/dist/chunks/{ripgrep-12g0wccw.js → snapshot-mt86ky0j.js} +20 -20
  180. package/dist/chunks/{ripgrep-zk6kxzfj.js → snapshot-n0q66vsf.js} +11 -11
  181. package/dist/chunks/{ripgrep-e37h8kwf.js → snapshot-nfpfdzzq.js} +12 -12
  182. package/dist/chunks/{ripgrep-gx3mnxx2.js → snapshot-nh3gpk50.js} +8 -8
  183. package/dist/chunks/{ripgrep-d0bhsejh.js → snapshot-nkr3c0qp.js} +5 -5
  184. package/dist/chunks/{ripgrep-59jga5s0.js → snapshot-npx8w61n.js} +4 -4
  185. package/dist/chunks/{ripgrep-ct330r3f.js → snapshot-nt088kqk.js} +47 -47
  186. package/dist/chunks/{ripgrep-k3c624dm.js → snapshot-nzks3jc8.js} +3 -3
  187. package/dist/chunks/{ripgrep-tq2587tb.js → snapshot-p0kmpbry.js} +36 -36
  188. package/dist/chunks/{ripgrep-cnhjqeqt.js → snapshot-p16sg8he.js} +20 -20
  189. package/dist/chunks/{ripgrep-tbz0fdvh.js → snapshot-p28j5sbe.js} +5 -5
  190. package/dist/chunks/{ripgrep-whndsrt7.js → snapshot-p4mnxf58.js} +3 -3
  191. package/dist/chunks/{ripgrep-fs5cagg8.js → snapshot-p728z8wp.js} +37 -37
  192. package/dist/chunks/{ripgrep-5xtgfte3.js → snapshot-pa8pe2x7.js} +8 -8
  193. package/dist/chunks/{ripgrep-cwy8j6t2.js → snapshot-pbq54n87.js} +16 -16
  194. package/dist/chunks/snapshot-phz3h32g.js +18 -0
  195. package/dist/chunks/{ripgrep-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{ripgrep-pknna89w.js → snapshot-pknna89w.js} +1 -1
  197. package/dist/chunks/{ripgrep-dx1ajje0.js → snapshot-pnsm033q.js} +9 -9
  198. package/dist/chunks/{ripgrep-jexxy024.js → snapshot-ppw6hb80.js} +3 -3
  199. package/dist/chunks/{ripgrep-65rthbqf.js → snapshot-q5a6zh2e.js} +46 -46
  200. package/dist/chunks/{ripgrep-t4devrhk.js → snapshot-q7fyfxhz.js} +24 -24
  201. package/dist/chunks/{ripgrep-thaams7w.js → snapshot-q7wkvvj2.js} +7 -7
  202. package/dist/chunks/{ripgrep-0mhxyvn3.js → snapshot-qkrk4za9.js} +1 -1
  203. package/dist/chunks/{ripgrep-hfypw2dz.js → snapshot-qs001aqx.js} +11 -11
  204. package/dist/chunks/{ripgrep-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  205. package/dist/chunks/{ripgrep-z5eyhade.js → snapshot-qzaekqmp.js} +11 -11
  206. package/dist/chunks/{ripgrep-07s253ry.js → snapshot-r1pvgz74.js} +11 -11
  207. package/dist/chunks/{ripgrep-vt8bwbt5.js → snapshot-r9mjafdz.js} +24 -24
  208. package/dist/chunks/{ripgrep-hgxefm76.js → snapshot-rcf757kd.js} +5 -5
  209. package/dist/chunks/{ripgrep-xajhzveg.js → snapshot-rdpbcj86.js} +296 -296
  210. package/dist/chunks/{ripgrep-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{ripgrep-ybhbtxjg.js → snapshot-res40x03.js} +9 -9
  212. package/dist/chunks/{ripgrep-7xh3d0wz.js → snapshot-rkhy5kra.js} +11 -11
  213. package/dist/chunks/{ripgrep-aatngb1m.js → snapshot-rq9byz5d.js} +17 -17
  214. package/dist/chunks/{ripgrep-xcrs1118.js → snapshot-rrx6gbpx.js} +13 -13
  215. package/dist/chunks/{ripgrep-bpg0r3hr.js → snapshot-rssfmsaf.js} +3 -3
  216. package/dist/chunks/{ripgrep-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
  217. package/dist/chunks/{ripgrep-qwjskhjc.js → snapshot-s714yq90.js} +29 -29
  218. package/dist/chunks/{ripgrep-wqyxzdgz.js → snapshot-s9va87sy.js} +5 -5
  219. package/dist/chunks/{ripgrep-zhq6vg7a.js → snapshot-scq4khx8.js} +1 -1
  220. package/dist/chunks/{ripgrep-nnsszj5x.js → snapshot-sfef216m.js} +11 -11
  221. package/dist/chunks/{ripgrep-9zwzqb5j.js → snapshot-sp6162m5.js} +14 -14
  222. package/dist/chunks/{ripgrep-5wfanzws.js → snapshot-srsxpff9.js} +16 -16
  223. package/dist/chunks/{ripgrep-zmamrcx1.js → snapshot-sz0hm3w5.js} +20 -20
  224. package/dist/chunks/{ripgrep-7ac170kv.js → snapshot-szgy4byf.js} +4 -4
  225. package/dist/chunks/{ripgrep-tvfyrrh0.js → snapshot-t17qe94z.js} +11 -11
  226. package/dist/chunks/{ripgrep-k2p8taat.js → snapshot-t1tfeg7z.js} +6 -6
  227. package/dist/chunks/{ripgrep-pemp1hys.js → snapshot-t2hbhjts.js} +11 -11
  228. package/dist/chunks/{ripgrep-s8d7rejh.js → snapshot-t550f9t1.js} +4 -4
  229. package/dist/chunks/{ripgrep-kd5q5zqj.js → snapshot-t7x5nbme.js} +13 -13
  230. package/dist/chunks/{ripgrep-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{ripgrep-typ5r3q7.js → snapshot-tbdttw7j.js} +44 -44
  232. package/dist/chunks/{ripgrep-tdstcens.js → snapshot-tdstcens.js} +1 -1
  233. package/dist/chunks/{ripgrep-rfkmytgk.js → snapshot-tjhefs4s.js} +25 -25
  234. package/dist/chunks/{ripgrep-tn0aqsam.js → snapshot-tn0aqsam.js} +2 -2
  235. package/dist/chunks/{ripgrep-q1hs5ta0.js → snapshot-tt4mfncj.js} +3 -3
  236. package/dist/chunks/{ripgrep-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
  237. package/dist/chunks/{ripgrep-zk15axjh.js → snapshot-tw8f8nrh.js} +5 -5
  238. package/dist/chunks/{ripgrep-62g4d2jc.js → snapshot-v0mhzyhk.js} +18 -18
  239. package/dist/chunks/{ripgrep-ax2srgan.js → snapshot-v2vtsgem.js} +15 -15
  240. package/dist/chunks/{ripgrep-abzjsz63.js → snapshot-v79sn3xm.js} +11 -11
  241. package/dist/chunks/{ripgrep-78t29sg7.js → snapshot-va8x9q3g.js} +30 -30
  242. package/dist/chunks/{ripgrep-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  243. package/dist/chunks/{ripgrep-bfq4w3xg.js → snapshot-vg4nwgpm.js} +26 -26
  244. package/dist/chunks/{ripgrep-5jv6vad0.js → snapshot-vg5x372e.js} +312 -312
  245. package/dist/chunks/{ripgrep-h5zcf7qm.js → snapshot-vjjfm3h2.js} +10 -10
  246. package/dist/chunks/{ripgrep-2yjkg2nb.js → snapshot-vs0kt9qj.js} +3 -3
  247. package/dist/chunks/{ripgrep-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{ripgrep-68ah1618.js → snapshot-w2rnr668.js} +24 -24
  249. package/dist/chunks/{ripgrep-wsp6vqtj.js → snapshot-w3k29ccc.js} +13 -13
  250. package/dist/chunks/{ripgrep-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{ripgrep-ry40rfbw.js → snapshot-wbmqe53j.js} +10 -10
  252. package/dist/chunks/{ripgrep-wd87259q.js → snapshot-wd87259q.js} +1 -1
  253. package/dist/chunks/{ripgrep-91wmxywm.js → snapshot-wecp16b7.js} +22 -22
  254. package/dist/chunks/{ripgrep-z1k9zp2p.js → snapshot-wgrnrd7p.js} +22 -22
  255. package/dist/chunks/{ripgrep-yp991fg2.js → snapshot-wh9qkd2q.js} +10 -10
  256. package/dist/chunks/{ripgrep-b7t222ja.js → snapshot-wj1v7459.js} +17 -17
  257. package/dist/chunks/{ripgrep-hfpmt9bd.js → snapshot-wkd7exrg.js} +9 -9
  258. package/dist/chunks/{ripgrep-q4wqpdp4.js → snapshot-wwp4x31x.js} +54 -54
  259. package/dist/chunks/{ripgrep-p12905fy.js → snapshot-wz24kbdr.js} +28 -28
  260. package/dist/chunks/{ripgrep-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{ripgrep-0y563vg8.js → snapshot-x38fx7kw.js} +17 -17
  262. package/dist/chunks/{ripgrep-kt4fd5wv.js → snapshot-x3gm437e.js} +44 -44
  263. package/dist/chunks/{ripgrep-d0xhtgqt.js → snapshot-x5mqk2mr.js} +13 -13
  264. package/dist/chunks/{ripgrep-6gnaea4r.js → snapshot-x8z4mr01.js} +17 -17
  265. package/dist/chunks/{ripgrep-qj8eh1ht.js → snapshot-xdk9p2qn.js} +21 -21
  266. package/dist/chunks/{ripgrep-1xh3h0en.js → snapshot-xfdd6g1y.js} +81 -81
  267. package/dist/chunks/{ripgrep-xgsym865.js → snapshot-xk6xaacw.js} +1 -1
  268. package/dist/chunks/{ripgrep-mvsprqws.js → snapshot-xm9w7m4m.js} +10 -10
  269. package/dist/chunks/{ripgrep-zt292cyn.js → snapshot-xnt05fp8.js} +23 -23
  270. package/dist/chunks/{ripgrep-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{ripgrep-cpdkwg3y.js → snapshot-y1vj7k2w.js} +5 -5
  272. package/dist/chunks/{ripgrep-df9eyrmy.js → snapshot-y5df08dr.js} +12 -12
  273. package/dist/chunks/{ripgrep-dpkg50ah.js → snapshot-y71avatq.js} +4 -4
  274. package/dist/chunks/{ripgrep-4cgj8kym.js → snapshot-y8pgb3nv.js} +34 -34
  275. package/dist/chunks/{ripgrep-1a209nz6.js → snapshot-yam5k1bw.js} +4 -4
  276. package/dist/chunks/{ripgrep-rhraev7y.js → snapshot-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{ripgrep-t8qhwgea.js → snapshot-yqqtqqed.js} +25 -25
  278. package/dist/chunks/{ripgrep-ms8brn22.js → snapshot-yr0r9rzs.js} +39 -39
  279. package/dist/chunks/{ripgrep-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{ripgrep-e4s1wc8x.js → snapshot-ytx20b0y.js} +36 -36
  281. package/dist/chunks/{ripgrep-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{ripgrep-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{ripgrep-m5mynsjq.js → snapshot-zfxc739q.js} +17 -17
  284. package/dist/chunks/{ripgrep-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{ripgrep-cfzny4h7.js → snapshot-ztkfav3z.js} +9 -9
  286. package/dist/chunks/{ripgrep-7dddc68k.js → snapshot-zv20b68g.js} +55 -55
  287. package/dist/chunks/{ripgrep-s019phgc.js → snapshot-zvtcw9kw.js} +6 -6
  288. package/dist/chunks/{ripgrep-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +120 -120
  314. package/dist/config/plugin/source.js +123 -123
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +366 -366
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +220 -220
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +81 -81
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +100 -100
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +357 -357
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +84 -84
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +103 -103
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +354 -354
  470. package/dist/location.js +86 -86
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +104 -104
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +217 -217
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +328 -328
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +95 -95
  499. package/dist/plugin/module.js +7 -7
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +101 -101
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +76 -76
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +119 -119
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +73 -73
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +343 -343
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +228 -228
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +89 -89
  558. package/dist/provider.js +98 -98
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +97 -97
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +88 -88
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +220 -220
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +89 -89
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +76 -76
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +118 -118
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +129 -129
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +228 -228
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +97 -97
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +113 -113
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +171 -171
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +149 -149
  616. package/dist/session/to-session-error.js +110 -110
  617. package/dist/session/transfer.js +216 -216
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +111 -111
  628. package/dist/snapshot.js +92 -92
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +126 -126
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +216 -216
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +111 -111
  645. package/dist/tool/plugin/websearch.js +107 -107
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +16 -16
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/attachment.js +2 -2
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/formatter.js +5 -5
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +91 -91
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +1 -1
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/variant.js +92 -92
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +86 -86
  680. package/dist/websearch.js +81 -81
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +80 -80
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +79 -79
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +88 -88
  690. package/dist/worktree.js +97 -97
  691. package/package.json +8 -8
  692. package/dist/chunks/ripgrep-0mesazry.js +0 -4
  693. package/dist/chunks/ripgrep-1x11rq2a.js +0 -18
  694. package/dist/chunks/ripgrep-4aja65hv.js +0 -26
  695. package/dist/chunks/ripgrep-qw5byw2n.js +0 -252
  696. /package/dist/chunks/{ripgrep-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{ripgrep-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{ripgrep-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{ripgrep-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{ripgrep-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{ripgrep-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{ripgrep-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{ripgrep-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{ripgrep-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{ripgrep-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{ripgrep-3asan66x.js → snapshot-3asan66x.js} +0 -0
  707. /package/dist/chunks/{ripgrep-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{ripgrep-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{ripgrep-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{ripgrep-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{ripgrep-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{ripgrep-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{ripgrep-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{ripgrep-53557ph1.js → snapshot-53557ph1.js} +0 -0
  715. /package/dist/chunks/{ripgrep-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{ripgrep-6prwharc.js → snapshot-6prwharc.js} +0 -0
  717. /package/dist/chunks/{ripgrep-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{ripgrep-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{ripgrep-822emrt2.js → snapshot-822emrt2.js} +0 -0
  720. /package/dist/chunks/{ripgrep-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{ripgrep-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{ripgrep-922hggd3.js → snapshot-922hggd3.js} +0 -0
  723. /package/dist/chunks/{ripgrep-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{ripgrep-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{ripgrep-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{ripgrep-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{ripgrep-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{ripgrep-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{ripgrep-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{ripgrep-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{ripgrep-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{ripgrep-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{ripgrep-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{ripgrep-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{ripgrep-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{ripgrep-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{ripgrep-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{ripgrep-df08tz66.js → snapshot-df08tz66.js} +0 -0
  739. /package/dist/chunks/{ripgrep-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{ripgrep-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{ripgrep-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{ripgrep-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{ripgrep-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{ripgrep-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{ripgrep-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{ripgrep-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{ripgrep-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{ripgrep-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{ripgrep-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{ripgrep-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{ripgrep-g86h250q.js → snapshot-g86h250q.js} +0 -0
  752. /package/dist/chunks/{ripgrep-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{ripgrep-gftt206x.js → snapshot-gftt206x.js} +0 -0
  754. /package/dist/chunks/{ripgrep-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{ripgrep-hk9envan.js → snapshot-hk9envan.js} +0 -0
  756. /package/dist/chunks/{ripgrep-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{ripgrep-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{ripgrep-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{ripgrep-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{ripgrep-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{ripgrep-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{ripgrep-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{ripgrep-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{ripgrep-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{ripgrep-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{ripgrep-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{ripgrep-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{ripgrep-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{ripgrep-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{ripgrep-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{ripgrep-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{ripgrep-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{ripgrep-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{ripgrep-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{ripgrep-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{ripgrep-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{ripgrep-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{ripgrep-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{ripgrep-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{ripgrep-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{ripgrep-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{ripgrep-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{ripgrep-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{ripgrep-x61499pn.js → snapshot-x61499pn.js} +0 -0
  785. /package/dist/chunks/{ripgrep-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{ripgrep-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{ripgrep-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{ripgrep-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{ripgrep-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{ripgrep-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./ripgrep-rdw6cm16.js";
3
+ } from "./snapshot-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service9,
13
- node: () => node11
12
+ Service: () => Service7,
13
+ node: () => node9
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service9, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service9.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
51
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service9, node11, exports_location_watcher_policy };
53
+ export { Service7, node9, exports_location_watcher_policy };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./ripgrep-6msgmcgs.js";
3
+ } from "./snapshot-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./ripgrep-dj2t23y0.js";
6
+ } from "./snapshot-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./ripgrep-nnsszj5x.js";
3
+ } from "./snapshot-sfef216m.js";
4
4
  import {
5
5
  call2
6
- } from "./ripgrep-33w4ejhs.js";
6
+ } from "./snapshot-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./ripgrep-9rqn6x4v.js";
9
+ } from "./snapshot-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin17,
14
+ Plugin: () => Plugin9,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint6
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://search.parallel.ai/mcp";
21
+ var endpoint6 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin17 = define({
50
+ var Plugin9 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin17 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin17 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint4, Plugin17, exports_parallel };
96
+ export { endpoint6, Plugin9, exports_parallel };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./snapshot-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info12,
12
+ Info: () => Info23,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info12 = Schema.Struct({
64
+ var Info23 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info12, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info23, exports_provider2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./ripgrep-h6r3nrb9.js";
3
+ } from "./snapshot-4dgbcxzg.js";
4
4
  import {
5
5
  Service82
6
- } from "./ripgrep-gyae7r3z.js";
6
+ } from "./snapshot-94c9dcy8.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./ripgrep-b1f5cxcb.js";
9
+ Event19
10
+ } from "./snapshot-1mtvnjxb.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./ripgrep-afxeqb9x.js";
14
+ } from "./snapshot-jj7g1fgg.js";
15
15
  import {
16
- ID13,
16
+ ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service72
20
- } from "./ripgrep-xajhzveg.js";
19
+ Service71
20
+ } from "./snapshot-rdpbcj86.js";
21
21
  import {
22
- ID12
23
- } from "./ripgrep-0k85axkz.js";
22
+ ID11
23
+ } from "./snapshot-dt7sf2t2.js";
24
24
  import {
25
25
  load3,
26
26
  derive3
27
- } from "./ripgrep-pemp1hys.js";
27
+ } from "./snapshot-t2hbhjts.js";
28
28
  import {
29
29
  useragent2
30
- } from "./ripgrep-nnsszj5x.js";
30
+ } from "./snapshot-sfef216m.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID14.make("github-copilot"),
62
+ integrationID: ID13.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,7 +157,7 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service72;
160
+ const providers = yield* Service71;
161
161
  const bus = yield* Service82;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID13.githubCopilot);
176
+ const provider = yield* providers.get(ID12.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
178
  try: () => load3(url, {
179
179
  ...provider?.headers,
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID13.githubCopilot);
197
+ const item = evt.get(ID12.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
218
- models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
218
+ models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID13.githubCopilot)
227
+ if (evt.model.providerID !== ID12.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID13.githubCopilot)
236
+ if (evt.model.providerID !== ID12.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID13.githubCopilot });
246
+ }), { providerID: ID12.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID13.githubCopilot)
248
+ if (evt.model.providerID !== ID12.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID13.githubCopilot });
256
+ }), { providerID: ID12.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID13.githubCopilot)
258
+ if (evt.model.providerID !== ID12.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service52
3
- } from "./ripgrep-vt8bwbt5.js";
2
+ Service62
3
+ } from "./snapshot-r9mjafdz.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./ripgrep-s8d7rejh.js";
6
+ } from "./snapshot-t550f9t1.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./ripgrep-922hggd3.js";
9
+ } from "./snapshot-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service42
13
- } from "./ripgrep-ksf2dvjr.js";
12
+ Service31
13
+ } from "./snapshot-acmkfkts.js";
14
14
  import {
15
- Service76
16
- } from "./ripgrep-cwy8j6t2.js";
15
+ Service79
16
+ } from "./snapshot-pbq54n87.js";
17
17
  import {
18
18
  __export
19
- } from "./ripgrep-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin46
25
+ Plugin: () => Plugin18
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin46 = define({
32
+ var Plugin18 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service42;
35
+ const discovery = yield* Service31;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service76;
42
- const watcher = yield* Service52;
41
+ const location = yield* Service79;
42
+ const watcher = yield* Service62;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin46, exports_instruction };
117
+ export { Plugin18, exports_instruction };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID13,
2
+ ID12,
3
3
  mergeOverlay2
4
- } from "./ripgrep-xajhzveg.js";
4
+ } from "./snapshot-rdpbcj86.js";
5
5
  import {
6
- ID12,
6
+ ID11,
7
7
  VariantID2,
8
- Info26,
8
+ Info25,
9
9
  compatibility2
10
- } from "./ripgrep-0k85axkz.js";
10
+ } from "./snapshot-dt7sf2t2.js";
11
11
  import {
12
12
  __export
13
- } from "./ripgrep-9rqn6x4v.js";
13
+ } from "./snapshot-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models = {};
@@ -22,7 +22,7 @@ __export(exports_models, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID12.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID12.make(item.id);
78
+ const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID11.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info26.make({
98
- ...Info26.default(providerID, id),
97
+ return Info25.make({
98
+ ...Info25.default(providerID, id),
99
99
  id,
100
- modelID: ID12.make(remote.id),
100
+ modelID: ID11.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./ripgrep-gyae7r3z.js";
4
+ } from "./snapshot-94c9dcy8.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./ripgrep-rdw6cm16.js";
8
+ } from "./snapshot-rdw6cm16.js";
9
9
  import {
10
- Service76,
11
- node80
12
- } from "./ripgrep-cwy8j6t2.js";
10
+ Service79,
11
+ node83
12
+ } from "./snapshot-pbq54n87.js";
13
13
  import {
14
- rewrite2,
15
- ID13,
14
+ ID12,
16
15
  mergeOverlay2,
17
16
  mergeHeaders2,
18
- Service72,
19
- node76,
20
- Event16
21
- } from "./ripgrep-xajhzveg.js";
17
+ Service71,
18
+ node74,
19
+ Event17,
20
+ rewrite2
21
+ } from "./snapshot-rdpbcj86.js";
22
22
  import {
23
23
  __export
24
- } from "./ripgrep-9rqn6x4v.js";
24
+ } from "./snapshot-9rqn6x4v.js";
25
25
 
26
26
  // src/model.ts
27
27
  var exports_model2 = {};
@@ -29,25 +29,25 @@ __export(exports_model2, {
29
29
  Capabilities: () => Capabilities2,
30
30
  Compatibility: () => Compatibility2,
31
31
  Cost: () => Cost2,
32
- Event: () => Event15,
32
+ Event: () => Event16,
33
33
  Family: () => Family2,
34
- ID: () => ID12,
35
- Info: () => Info26,
34
+ ID: () => ID11,
35
+ Info: () => Info25,
36
36
  Model: () => exports_model2,
37
37
  ReasoningField: () => ReasoningField2,
38
38
  Ref: () => Ref2,
39
- Service: () => Service71,
39
+ Service: () => Service70,
40
40
  VariantID: () => VariantID2,
41
41
  compatibility: () => compatibility2,
42
- node: () => node75,
42
+ node: () => node73,
43
43
  parse: () => parse5
44
44
  });
45
45
  import { Model } from "@opencode/schema/model";
46
46
  import { Context, Effect, Layer, Stream } from "effect";
47
47
  import { makeLocationNode } from "@opencode/util/effect/app-node";
48
48
  import { freeze } from "immer";
49
- import { Event as Event15 } from "@opencode/schema/model";
50
- var ID12 = Model.ID;
49
+ import { Event as Event16 } from "@opencode/schema/model";
50
+ var ID11 = Model.ID;
51
51
  var VariantID2 = Model.VariantID;
52
52
  var Family2 = Model.Family;
53
53
  var ReasoningField2 = Model.ReasoningField;
@@ -55,14 +55,14 @@ var Compatibility2 = Model.Compatibility;
55
55
  var Capabilities2 = Model.Capabilities;
56
56
  var Cost2 = Model.Cost;
57
57
  var Ref2 = Model.Ref;
58
- var Info26 = Model.Info;
58
+ var Info25 = Model.Info;
59
59
 
60
- class Service71 extends Context.Service()("@opencode/Model") {
60
+ class Service70 extends Context.Service()("@opencode/Model") {
61
61
  }
62
- var layer = Layer.effect(Service71, Effect.gen(function* () {
63
- const providers = yield* Service72;
62
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
63
+ const providers = yield* Service71;
64
64
  const bus = yield* Service82;
65
- const location = yield* Service76;
65
+ const location = yield* Service79;
66
66
  let input;
67
67
  const state = create3({
68
68
  name: "model",
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
107
107
  const models = writable(providerID);
108
108
  if (!models)
109
109
  return;
110
- const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
110
+ const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
111
111
  update(model);
112
112
  model.id = modelID;
113
113
  model.providerID = providerID;
@@ -198,8 +198,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
198
198
  location: { directory: location.directory, workspaceID: location.workspaceID }
199
199
  });
200
200
  });
201
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
202
- return Service71.of({
201
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
202
+ return Service70.of({
203
203
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
204
204
  reload,
205
205
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
218
218
  })
219
219
  });
220
220
  }));
221
- var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, node86, node80] });
221
+ var node73 = makeLocationNode({ service: Service70, layer, deps: [node74, node86, node83] });
222
222
  function compatibility2(input) {
223
223
  if (typeof input === "string")
224
224
  return { reasoningField: input };
@@ -229,9 +229,9 @@ function compatibility2(input) {
229
229
  function parse5(input) {
230
230
  const index = input.indexOf("/");
231
231
  return {
232
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
233
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
232
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
233
+ modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
234
234
  };
235
235
  }
236
236
 
237
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service71, node75, compatibility2, parse5, exports_model2, Event15 };
237
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service70, node73, compatibility2, parse5, exports_model2, Event16 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./ripgrep-gyae7r3z.js";
4
+ } from "./snapshot-94c9dcy8.js";
5
5
  import {
6
6
  __export
7
- } from "./ripgrep-9rqn6x4v.js";
7
+ } from "./snapshot-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: () => Event21,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID18,
20
- Info: () => Info34,
19
+ ID: () => ID15,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service81,
25
+ Service: () => Service74,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node85,
29
+ node: () => node77,
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 Event21 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID18 = Form.ID;
39
- var Info34 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = 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 NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID18
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID18
56
+ id: ID15
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: ID15
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: ID15,
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 Service81 extends Context.Service()("@opencode/Form") {
82
+ class Service74 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service81, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
85
85
  const bus = yield* Service82;
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 NotFoundError11({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID18.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service81, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).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 })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service81.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service74.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node85 = makeLocationNode({ service: Service81, layer: layer25, deps: [node86] });
164
+ var node77 = makeLocationNode({ service: Service74, layer: layer25, deps: [node86] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID18, Info34, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service81, layer25, node85, validateAnswer2, validateFields2, exports_form, Event21 };
316
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node77, validateAnswer2, validateFields2, exports_form, Event20 };