@opencode/core 0.0.0-dev-19761 → 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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{file-mutation-ta2zm0w6.js → snapshot-01va1f3z.js} +11 -11
- package/dist/chunks/{file-mutation-9xk5h4y7.js → snapshot-03133x3a.js} +28 -28
- package/dist/chunks/{file-mutation-0en0hh3r.js → snapshot-036p5t1s.js} +4 -4
- package/dist/chunks/{file-mutation-fwwk8vbp.js → snapshot-0996nyz8.js} +9 -9
- package/dist/chunks/{file-mutation-rry1p14s.js → snapshot-0c1dc0pg.js} +24 -24
- package/dist/chunks/{file-mutation-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-eshnyej4.js → snapshot-0v85mbt5.js} +16 -16
- package/dist/chunks/snapshot-19kwwqgw.js +26 -0
- package/dist/chunks/{file-mutation-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-0191c115.js → snapshot-1fc8gdfv.js} +8 -8
- package/dist/chunks/{file-mutation-kzmnf39s.js → snapshot-1mtvnjxb.js} +35 -35
- package/dist/chunks/{file-mutation-w21rnkyj.js → snapshot-1pfd9v32.js} +4 -4
- package/dist/chunks/snapshot-1tm0r3ht.js +4 -0
- package/dist/chunks/{file-mutation-mfqp6xfm.js → snapshot-1ygqh575.js} +6 -6
- package/dist/chunks/{file-mutation-fwfdmgk0.js → snapshot-207ajt2h.js} +5 -5
- package/dist/chunks/{file-mutation-rv7ejzpq.js → snapshot-20d44xk5.js} +14 -14
- package/dist/chunks/{file-mutation-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-c43xdfev.js → snapshot-23tvpxmv.js} +13 -13
- package/dist/chunks/{file-mutation-6h73sxmp.js → snapshot-2402vzrj.js} +5 -5
- package/dist/chunks/{file-mutation-26ejc4a2.js → snapshot-252xb3nn.js} +22 -22
- package/dist/chunks/{file-mutation-z0aj456m.js → snapshot-277eer69.js} +4 -4
- package/dist/chunks/{file-mutation-z63w68vq.js → snapshot-29x78va6.js} +6 -6
- package/dist/chunks/{file-mutation-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-qgn6gcr1.js → snapshot-2k8khapm.js} +5 -5
- package/dist/chunks/{file-mutation-1k4apf30.js → snapshot-2vrqs54j.js} +27 -27
- package/dist/chunks/{file-mutation-kvx1rpnk.js → snapshot-2wr7a4zh.js} +41 -41
- package/dist/chunks/{file-mutation-cdqffv3e.js → snapshot-31314d8d.js} +19 -19
- package/dist/chunks/{file-mutation-g1jht461.js → snapshot-31vvj4c3.js} +19 -19
- package/dist/chunks/{file-mutation-z35a98pe.js → snapshot-351s78pd.js} +7 -7
- package/dist/chunks/{file-mutation-3dcz9ejy.js → snapshot-3c48t5r1.js} +22 -22
- package/dist/chunks/{file-mutation-hkfg6fzm.js → snapshot-3cz8rj72.js} +5 -5
- package/dist/chunks/{file-mutation-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-ragexb62.js → snapshot-3sywykg8.js} +68 -68
- package/dist/chunks/{file-mutation-k9kj6xed.js → snapshot-3tq5qxbk.js} +4 -4
- package/dist/chunks/{file-mutation-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-zj09a0ew.js → snapshot-3ythc6yv.js} +4 -4
- package/dist/chunks/{file-mutation-j7z9c6ef.js → snapshot-42jghq3e.js} +11 -11
- package/dist/chunks/{file-mutation-2dxbdfvq.js → snapshot-440emva9.js} +9 -9
- package/dist/chunks/{file-mutation-68sx5bg2.js → snapshot-446tpth2.js} +8 -8
- package/dist/chunks/{file-mutation-nzyhnfxz.js → snapshot-4dgbcxzg.js} +4 -4
- package/dist/chunks/{file-mutation-gjfveh7j.js → snapshot-4jb2hfvf.js} +16 -16
- package/dist/chunks/{file-mutation-pfcs87zg.js → snapshot-4pw3ma1d.js} +51 -51
- package/dist/chunks/{file-mutation-hs0crkaq.js → snapshot-4qk2gb51.js} +6 -6
- package/dist/chunks/snapshot-51r0acr2.js +252 -0
- package/dist/chunks/{file-mutation-xfkkasph.js → snapshot-57b9ws8p.js} +7 -7
- package/dist/chunks/{file-mutation-57ez7d0k.js → snapshot-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-mutation-mc8fvfg2.js → snapshot-581qaqgj.js} +11 -11
- package/dist/chunks/{file-mutation-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-yngsm5fg.js → snapshot-5km6923r.js} +4 -4
- package/dist/chunks/{file-mutation-tjzphfhm.js → snapshot-5nyprcjq.js} +31 -31
- package/dist/chunks/{file-mutation-jphjmkq6.js → snapshot-5pjpf2rc.js} +25 -25
- package/dist/chunks/{file-mutation-qnxv3j9m.js → snapshot-5s70k0xw.js} +17 -17
- package/dist/chunks/{file-mutation-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-1ptkcd49.js → snapshot-6ekt4h1g.js} +30 -30
- package/dist/chunks/{file-mutation-p14ptj3g.js → snapshot-6h3wybc7.js} +6 -6
- package/dist/chunks/{file-mutation-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-w5rka97k.js → snapshot-6pzw4973.js} +9 -9
- package/dist/chunks/{file-mutation-19yq3b24.js → snapshot-6sh1ew48.js} +4 -4
- package/dist/chunks/{file-mutation-rr9a01jb.js → snapshot-75pyeabn.js} +5 -5
- package/dist/chunks/{file-mutation-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-c8axtkt9.js → snapshot-7cx721ez.js} +40 -40
- package/dist/chunks/{file-mutation-nk6nqe1f.js → snapshot-7dk8f9rn.js} +18 -18
- package/dist/chunks/{file-mutation-jx2pe4cz.js → snapshot-7dqep7dt.js} +13 -13
- package/dist/chunks/{file-mutation-wg6s600h.js → snapshot-7ef3j03a.js} +4 -4
- package/dist/chunks/{file-mutation-mx05ep7f.js → snapshot-7j91f9t1.js} +22 -22
- package/dist/chunks/{file-mutation-0veef661.js → snapshot-7mbtkcjw.js} +22 -22
- package/dist/chunks/{file-mutation-zz8tbzf4.js → snapshot-7nfkg4wm.js} +27 -27
- package/dist/chunks/{file-mutation-eeaf82dq.js → snapshot-7sbn2nrf.js} +8 -8
- package/dist/chunks/{file-mutation-6naga41q.js → snapshot-820cv1w4.js} +13 -13
- package/dist/chunks/{file-mutation-x8azae4j.js → snapshot-87m5nb3r.js} +15 -15
- package/dist/chunks/{file-mutation-w1k39n5e.js → snapshot-88sz8qcd.js} +4 -4
- package/dist/chunks/{file-mutation-89znhe33.js → snapshot-89znhe33.js} +1 -1
- package/dist/chunks/{file-mutation-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-dj2t23y0.js → snapshot-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-25f8r58f.js → snapshot-8rbkvf2j.js} +20 -20
- package/dist/chunks/{file-mutation-v4d0xtvr.js → snapshot-8wmhz1g8.js} +25 -25
- package/dist/chunks/{file-mutation-v8a45twc.js → snapshot-8x3w3g8n.js} +8 -8
- package/dist/chunks/{file-mutation-mv7q07d5.js → snapshot-8z9z5b5g.js} +4 -4
- package/dist/chunks/{file-mutation-5cj2v5s1.js → snapshot-939y1bpb.js} +5 -5
- package/dist/chunks/{file-mutation-b5e2r92p.js → snapshot-94c9dcy8.js} +16 -16
- package/dist/chunks/{file-mutation-xfr883hz.js → snapshot-95w894pf.js} +6 -6
- package/dist/chunks/{file-mutation-c3t2pxbx.js → snapshot-9bn5q4dg.js} +7 -7
- package/dist/chunks/{file-mutation-q2etyd9a.js → snapshot-9e5kb4vq.js} +19 -19
- package/dist/chunks/{file-mutation-zxpkpj7m.js → snapshot-9g9mfadh.js} +21 -21
- package/dist/chunks/{file-mutation-8fatmd01.js → snapshot-9zga13gt.js} +23 -23
- package/dist/chunks/{file-mutation-5c4hm403.js → snapshot-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-h0bsdgs8.js → snapshot-aa7ryvh3.js} +14 -14
- package/dist/chunks/{file-mutation-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-6ar6m3bc.js → snapshot-acmkfkts.js} +30 -30
- package/dist/chunks/{file-mutation-4qc9h5b4.js → snapshot-ad1t3088.js} +37 -37
- package/dist/chunks/{file-mutation-490myrvf.js → snapshot-ae7jk870.js} +25 -25
- package/dist/chunks/{file-mutation-eq20ba7x.js → snapshot-ak9msbxp.js} +6 -6
- package/dist/chunks/{file-mutation-yexxf089.js → snapshot-anq6cyaa.js} +9 -9
- package/dist/chunks/{file-mutation-rda0977t.js → snapshot-at7dy2hw.js} +18 -18
- package/dist/chunks/{file-mutation-mkw2wvv0.js → snapshot-avc8n21j.js} +17 -17
- package/dist/chunks/{file-mutation-3nyyq7xg.js → snapshot-b3yej2dp.js} +11 -11
- package/dist/chunks/{file-mutation-4wsvpbqa.js → snapshot-b4hx36v0.js} +19 -19
- package/dist/chunks/{file-mutation-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-ve4pfa0n.js → snapshot-bct739vz.js} +4 -4
- package/dist/chunks/{file-mutation-sttmbcgd.js → snapshot-bfapsvch.js} +11 -11
- package/dist/chunks/{file-mutation-fqv15qzw.js → snapshot-bjwtmsxg.js} +172 -172
- package/dist/chunks/{file-mutation-77g1rdh8.js → snapshot-bqj53dzg.js} +11 -11
- package/dist/chunks/{file-mutation-xsex6r0c.js → snapshot-brywjafr.js} +10 -10
- package/dist/chunks/{file-mutation-2mq1h16s.js → snapshot-c765mh8b.js} +9 -9
- package/dist/chunks/{file-mutation-m0jqrx5p.js → snapshot-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-8zfh6ja9.js → snapshot-ctwdrck2.js} +9 -9
- package/dist/chunks/{file-mutation-e6hmchc5.js → snapshot-d1khqved.js} +5 -5
- package/dist/chunks/{file-mutation-jxs4965q.js → snapshot-d1vmr0nd.js} +32 -32
- package/dist/chunks/{file-mutation-g2x9qc47.js → snapshot-dgn3bjhr.js} +13 -13
- package/dist/chunks/{file-mutation-r5j3adnk.js → snapshot-dp3szwdw.js} +23 -23
- package/dist/chunks/{file-mutation-6fw138dj.js → snapshot-dt7sf2t2.js} +33 -33
- package/dist/chunks/{file-mutation-dz1qt43r.js → snapshot-dxwpfr55.js} +29 -29
- package/dist/chunks/{file-mutation-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-mutation-qnfp5vp9.js → snapshot-e7987fdb.js} +26 -26
- package/dist/chunks/{file-mutation-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-qqtwvk4z.js → snapshot-efv4s0g0.js} +4 -4
- package/dist/chunks/{file-mutation-zh8xyr5z.js → snapshot-eg2xbpx5.js} +6 -6
- package/dist/chunks/{file-mutation-jca4demv.js → snapshot-em9d1scw.js} +2 -2
- package/dist/chunks/{file-mutation-6pgbgpfd.js → snapshot-epv923hw.js} +20 -20
- package/dist/chunks/{file-mutation-erw5rpbs.js → snapshot-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-mutation-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-3fzqgf3j.js → snapshot-f1kpr4sr.js} +33 -33
- package/dist/chunks/{file-mutation-hdnk95c8.js → snapshot-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-kaa0v2ms.js → snapshot-faw7sx1p.js} +15 -15
- package/dist/chunks/{file-mutation-jnfbbasv.js → snapshot-fbpv3gtq.js} +19 -19
- package/dist/chunks/{file-mutation-pz7nssfe.js → snapshot-fc3hj1hz.js} +11 -11
- package/dist/chunks/{file-mutation-dz3w7159.js → snapshot-ffkmejj6.js} +16 -16
- package/dist/chunks/{file-mutation-nscznvay.js → snapshot-fhs97t90.js} +9 -9
- package/dist/chunks/{file-mutation-agkgk856.js → snapshot-fr3t0d7t.js} +29 -29
- package/dist/chunks/{file-mutation-jb2apxnp.js → snapshot-frcy3q3h.js} +22 -22
- package/dist/chunks/{file-mutation-kk9fvz0g.js → snapshot-ft919fq2.js} +47 -47
- package/dist/chunks/{file-mutation-9pxd6j34.js → snapshot-ftb7f8ac.js} +3 -3
- package/dist/chunks/{file-mutation-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-q6d53jre.js → snapshot-g2y161wv.js} +8 -8
- package/dist/chunks/{file-mutation-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-5g9n2b99.js → snapshot-geaa2ca8.js} +9 -9
- package/dist/chunks/{file-mutation-rmxzq7f5.js → snapshot-gf7f2369.js} +5 -5
- package/dist/chunks/{file-mutation-z74yzpyb.js → snapshot-ggeyn75h.js} +9 -9
- package/dist/chunks/{file-mutation-fxzs1me6.js → snapshot-gqknc3n4.js} +8 -8
- package/dist/chunks/{file-mutation-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-kejfs2t8.js → snapshot-h7qgt2qa.js} +3 -3
- package/dist/chunks/{file-mutation-c8xwdywd.js → snapshot-h83t4dj1.js} +43 -43
- package/dist/chunks/{file-mutation-62n8bkpp.js → snapshot-hb92k4z9.js} +20 -20
- package/dist/chunks/{file-mutation-8etrbmzw.js → snapshot-hdcb5cfr.js} +12 -12
- package/dist/chunks/{file-mutation-vwnqjcv5.js → snapshot-hmgezczx.js} +5 -5
- package/dist/chunks/{file-mutation-zanef7gq.js → snapshot-htyb7pk9.js} +13 -13
- package/dist/chunks/{file-mutation-w9km2t8f.js → snapshot-hwca9pcn.js} +20 -20
- package/dist/chunks/{file-mutation-ty5fs5j6.js → snapshot-hxg70vay.js} +91 -91
- package/dist/chunks/{file-mutation-bhxm5nqe.js → snapshot-j215vtjh.js} +8 -8
- package/dist/chunks/{file-mutation-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-2a6rn6yr.js → snapshot-j5w2yx54.js} +6 -6
- package/dist/chunks/{file-mutation-930xmq4h.js → snapshot-j8qgp22b.js} +2 -2
- package/dist/chunks/{file-mutation-hgfd4343.js → snapshot-jbqp0ndx.js} +5 -5
- package/dist/chunks/{file-mutation-ratrq7cm.js → snapshot-jfqtm2ew.js} +4 -4
- package/dist/chunks/{file-mutation-g8head04.js → snapshot-jj7g1fgg.js} +32 -32
- package/dist/chunks/{file-mutation-tx9w5tca.js → snapshot-jvnghvnw.js} +8 -8
- package/dist/chunks/{file-mutation-a0025xpp.js → snapshot-k64xx7v0.js} +15 -15
- package/dist/chunks/{file-mutation-y0v1p1dt.js → snapshot-kd1ce5f7.js} +17 -17
- package/dist/chunks/{file-mutation-5dr71pny.js → snapshot-kf2jyg0f.js} +30 -30
- package/dist/chunks/{file-mutation-cdpv32dq.js → snapshot-kgajfdja.js} +26 -26
- package/dist/chunks/{file-mutation-dvw9aka0.js → snapshot-kj3y1y0m.js} +10 -10
- package/dist/chunks/{file-mutation-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-zvt5dnpc.js → snapshot-m70sbz6t.js} +4 -4
- package/dist/chunks/{file-mutation-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-038hfwp6.js → snapshot-mbn3np8p.js} +23 -23
- package/dist/chunks/{file-mutation-mhkvc446.js → snapshot-mhkvc446.js} +1 -1
- package/dist/chunks/{file-mutation-argj9g0a.js → snapshot-mmpv6r03.js} +19 -19
- package/dist/chunks/{file-mutation-ycq1j8r4.js → snapshot-mt86ky0j.js} +25 -25
- package/dist/chunks/{file-mutation-5g5p3a4z.js → snapshot-n0q66vsf.js} +11 -11
- package/dist/chunks/{file-mutation-9kr5jrcq.js → snapshot-nfpfdzzq.js} +12 -12
- package/dist/chunks/{file-mutation-36f0d0z6.js → snapshot-nh3gpk50.js} +11 -11
- package/dist/chunks/{file-mutation-2vvhwkt5.js → snapshot-nkr3c0qp.js} +5 -5
- package/dist/chunks/{file-mutation-6x2kf1yf.js → snapshot-npx8w61n.js} +4 -4
- package/dist/chunks/{file-mutation-bd6pnar5.js → snapshot-nt088kqk.js} +47 -47
- package/dist/chunks/{file-mutation-k3c624dm.js → snapshot-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-mutation-6s2w4xdb.js → snapshot-p0kmpbry.js} +39 -39
- package/dist/chunks/{file-mutation-vv1kzm65.js → snapshot-p16sg8he.js} +18 -18
- package/dist/chunks/{file-mutation-p28j5sbe.js → snapshot-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-mutation-jxbs1d80.js → snapshot-p4mnxf58.js} +3 -3
- package/dist/chunks/{file-mutation-jbrrk9sm.js → snapshot-p728z8wp.js} +42 -42
- package/dist/chunks/{file-mutation-1ajx6rf5.js → snapshot-pa8pe2x7.js} +8 -8
- package/dist/chunks/{file-mutation-8f4tg2r9.js → snapshot-pbq54n87.js} +2 -2
- package/dist/chunks/snapshot-phz3h32g.js +18 -0
- package/dist/chunks/{file-mutation-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-y93vdqe0.js → snapshot-pnsm033q.js} +13 -13
- package/dist/chunks/{file-mutation-q3t37ft6.js → snapshot-ppw6hb80.js} +3 -3
- package/dist/chunks/{file-mutation-hqp0mznc.js → snapshot-q5a6zh2e.js} +41 -41
- package/dist/chunks/{file-mutation-j1dch7pk.js → snapshot-q7fyfxhz.js} +32 -32
- package/dist/chunks/{file-mutation-whj48kk1.js → snapshot-q7wkvvj2.js} +7 -7
- package/dist/chunks/{file-mutation-rknfjh7e.js → snapshot-qkrk4za9.js} +1 -1
- package/dist/chunks/{file-mutation-k0gdq8ga.js → snapshot-qs001aqx.js} +11 -11
- package/dist/chunks/{file-mutation-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-y0dw7cqc.js → snapshot-qzaekqmp.js} +11 -11
- package/dist/chunks/{file-mutation-t2bexvdy.js → snapshot-r1pvgz74.js} +11 -11
- package/dist/chunks/{file-mutation-y1qgdahb.js → snapshot-r9mjafdz.js} +24 -24
- package/dist/chunks/{file-mutation-kp9dcx9z.js → snapshot-rcf757kd.js} +5 -5
- package/dist/chunks/{file-mutation-sxgvjrqz.js → snapshot-rdpbcj86.js} +298 -298
- package/dist/chunks/{file-mutation-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-3ktbe3hf.js → snapshot-res40x03.js} +9 -9
- package/dist/chunks/{file-mutation-3sn28wb8.js → snapshot-rkhy5kra.js} +11 -11
- package/dist/chunks/{file-mutation-w6q7j1y8.js → snapshot-rq9byz5d.js} +9 -9
- package/dist/chunks/{file-mutation-jyerrpx0.js → snapshot-rrx6gbpx.js} +13 -13
- package/dist/chunks/{file-mutation-kxxr9yc4.js → snapshot-rssfmsaf.js} +3 -3
- package/dist/chunks/{file-mutation-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
- package/dist/chunks/{file-mutation-ed0qr85z.js → snapshot-s714yq90.js} +28 -28
- package/dist/chunks/{file-mutation-4a7w1hwq.js → snapshot-s9va87sy.js} +8 -8
- package/dist/chunks/{file-mutation-4jc5c4h4.js → snapshot-scq4khx8.js} +1 -1
- package/dist/chunks/{file-mutation-cc4mce2f.js → snapshot-sfef216m.js} +11 -11
- package/dist/chunks/{file-mutation-w2a1qfyt.js → snapshot-sp6162m5.js} +14 -14
- package/dist/chunks/{file-mutation-8crgj5r9.js → snapshot-srsxpff9.js} +17 -17
- package/dist/chunks/{file-mutation-hvx6p1wp.js → snapshot-sz0hm3w5.js} +22 -22
- package/dist/chunks/{file-mutation-2tfmgkzg.js → snapshot-szgy4byf.js} +4 -4
- package/dist/chunks/{file-mutation-b5f1m11j.js → snapshot-t17qe94z.js} +11 -11
- package/dist/chunks/{file-mutation-eyh2t1hv.js → snapshot-t1tfeg7z.js} +6 -6
- package/dist/chunks/{file-mutation-q9w8ad9e.js → snapshot-t2hbhjts.js} +22 -22
- package/dist/chunks/{file-mutation-eaj1djv9.js → snapshot-t550f9t1.js} +8 -8
- package/dist/chunks/{file-mutation-hzemm2m2.js → snapshot-t7x5nbme.js} +20 -20
- package/dist/chunks/{file-mutation-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-29t5f74k.js → snapshot-tbdttw7j.js} +39 -39
- package/dist/chunks/{file-mutation-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-vb4sbr14.js → snapshot-tjhefs4s.js} +24 -24
- package/dist/chunks/{file-mutation-tn0aqsam.js → snapshot-tn0aqsam.js} +2 -2
- package/dist/chunks/{file-mutation-5s9b6sk1.js → snapshot-tt4mfncj.js} +11 -11
- package/dist/chunks/{file-mutation-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-g1yjvpwh.js → snapshot-tw8f8nrh.js} +5 -5
- package/dist/chunks/{file-mutation-nn804z9e.js → snapshot-v0mhzyhk.js} +15 -15
- package/dist/chunks/{file-mutation-12wcs7zv.js → snapshot-v2vtsgem.js} +17 -17
- package/dist/chunks/{file-mutation-hcn8jsvf.js → snapshot-v79sn3xm.js} +11 -11
- package/dist/chunks/{file-mutation-e1psbap5.js → snapshot-va8x9q3g.js} +30 -30
- package/dist/chunks/{file-mutation-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-w1kcaz1j.js → snapshot-vg4nwgpm.js} +27 -27
- package/dist/chunks/snapshot-vg5x372e.js +478 -0
- package/dist/chunks/{file-mutation-8w32c8rg.js → snapshot-vjjfm3h2.js} +10 -10
- package/dist/chunks/{file-mutation-phhf31qs.js → snapshot-vs0kt9qj.js} +3 -3
- package/dist/chunks/{file-mutation-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-tyx8wm26.js → snapshot-w2rnr668.js} +21 -21
- package/dist/chunks/{file-mutation-nfp31767.js → snapshot-w3k29ccc.js} +11 -11
- package/dist/chunks/{file-mutation-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-6tqx5jbv.js → snapshot-wbmqe53j.js} +7 -7
- package/dist/chunks/{file-mutation-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-r503nhm6.js → snapshot-wecp16b7.js} +21 -21
- package/dist/chunks/{file-mutation-wrzj8c0x.js → snapshot-wgrnrd7p.js} +29 -29
- package/dist/chunks/{file-mutation-tjt7rmbv.js → snapshot-wh9qkd2q.js} +13 -13
- package/dist/chunks/{file-mutation-trmcxas4.js → snapshot-wj1v7459.js} +20 -20
- package/dist/chunks/{file-mutation-nt5s6xes.js → snapshot-wkd7exrg.js} +9 -9
- package/dist/chunks/{file-mutation-98kxh760.js → snapshot-wwp4x31x.js} +56 -56
- package/dist/chunks/{file-mutation-261r5e4n.js → snapshot-wz24kbdr.js} +16 -16
- package/dist/chunks/{file-mutation-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-23r5xw0j.js → snapshot-x38fx7kw.js} +17 -17
- package/dist/chunks/{file-mutation-wdg1qc82.js → snapshot-x3gm437e.js} +44 -44
- package/dist/chunks/{file-mutation-3jnr8qh1.js → snapshot-x5mqk2mr.js} +13 -13
- package/dist/chunks/{file-mutation-wa4wttm3.js → snapshot-x8z4mr01.js} +20 -20
- package/dist/chunks/{file-mutation-qj8eh1ht.js → snapshot-xdk9p2qn.js} +21 -21
- package/dist/chunks/{file-mutation-z1pn07yf.js → snapshot-xfdd6g1y.js} +88 -88
- package/dist/chunks/{file-mutation-4m13kmf8.js → snapshot-xk6xaacw.js} +1 -1
- package/dist/chunks/{file-mutation-dhpnwncd.js → snapshot-xm9w7m4m.js} +8 -8
- package/dist/chunks/{file-mutation-f5a4ckrp.js → snapshot-xnt05fp8.js} +25 -25
- package/dist/chunks/{file-mutation-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-stpq40nd.js → snapshot-y1vj7k2w.js} +5 -5
- package/dist/chunks/{file-mutation-7np6y5v9.js → snapshot-y5df08dr.js} +12 -12
- package/dist/chunks/{file-mutation-dpkg50ah.js → snapshot-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-4w6fs8m4.js → snapshot-y8pgb3nv.js} +34 -34
- package/dist/chunks/{file-mutation-cjjxcne9.js → snapshot-yam5k1bw.js} +4 -4
- package/dist/chunks/{file-mutation-yp2x3t23.js → snapshot-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-mutation-fcrgjy0e.js → snapshot-yqqtqqed.js} +24 -24
- package/dist/chunks/{file-mutation-53hfenjt.js → snapshot-yr0r9rzs.js} +41 -41
- package/dist/chunks/{file-mutation-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-he1yacd3.js → snapshot-ytx20b0y.js} +31 -31
- package/dist/chunks/{file-mutation-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-tdebhbgf.js → snapshot-zfxc739q.js} +20 -20
- package/dist/chunks/{file-mutation-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-05hvfspe.js → snapshot-ztkfav3z.js} +9 -9
- package/dist/chunks/{file-mutation-e9kr5pq0.js → snapshot-zv20b68g.js} +60 -60
- package/dist/chunks/{file-mutation-xekxpj28.js → snapshot-zvtcw9kw.js} +6 -6
- package/dist/chunks/{file-mutation-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/file-mutation-0mesazry.js +0 -4
- package/dist/chunks/file-mutation-9qfwj0p7.js +0 -478
- package/dist/chunks/file-mutation-nr40dc33.js +0 -26
- package/dist/chunks/file-mutation-rap9a73h.js +0 -18
- package/dist/chunks/file-mutation-zn2zb1e7.js +0 -252
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./snapshot-94c9dcy8.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-zv20b68g.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Info: () => Info5,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service32,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event5 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info5 = Skill.Info;
|
|
43
|
+
var ID3 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service32 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID3.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID3.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID3.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID3.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service32.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node35 = makeLocationNode({
|
|
112
|
+
service: Service32,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID3, Name2, available2, toModelOutput3, prepare3, Service32, node35, exports_skill5, Event5 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./snapshot-94c9dcy8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service63,
|
|
6
6
|
Event12
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-p16sg8he.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin17,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin17 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service63;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -45,4 +45,4 @@ var Plugin36 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin17, exports_plugin };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service34,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service34 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service34, exports_runner };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-pbq54n87.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./snapshot-v0mhzyhk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./snapshot-fbpv3gtq.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-rq9byz5d.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input7,
|
|
36
|
+
Plugin: () => Plugin40,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name7,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name7 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input7 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin40 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service12;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service48;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name7,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input7,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin46 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent5 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name7, Input7, Plugin40, toModelContent5, exports_read };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./snapshot-94c9dcy8.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-4dgbcxzg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./snapshot-1mtvnjxb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./snapshot-jj7g1fgg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service71
|
|
16
|
+
} from "./snapshot-rdpbcj86.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./snapshot-dp3szwdw.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service71;
|
|
30
|
+
const bus = yield* Service82;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./snapshot-tt4mfncj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./snapshot-94c9dcy8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./snapshot-j5w2yx54.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service64
|
|
16
|
+
} from "./snapshot-9g9mfadh.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-res40x03.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service36;
|
|
46
|
+
const database = yield* Service83;
|
|
47
|
+
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service64;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service36;
|
|
78
|
+
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service64;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID9.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service67
|
|
3
|
-
} from "./file-mutation-dz1qt43r.js";
|
|
4
1
|
import {
|
|
5
2
|
Service74
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./snapshot-dxwpfr55.js";
|
|
4
|
+
import {
|
|
5
|
+
Service49
|
|
6
|
+
} from "./snapshot-zv20b68g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin47,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin47 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service74;
|
|
57
|
+
const permission = yield* Service49;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name13, description6,
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service58,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node60
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service58 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service58.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node60 = makeLocationNode({
|
|
143
|
+
service: Service58,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service58, node60, exports_tool_output2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./snapshot-q5a6zh2e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./snapshot-9g9mfadh.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin32
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service61;
|
|
27
|
+
const snapshot = yield* Service64;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin32, exports_snapshot };
|