@opencode/core 0.0.0-dev-20285 → 0.0.0-dev-20286
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-retention-b29g69qn.js → integration-007kv54v.js} +30 -30
- package/dist/chunks/integration-04cetggm.js +507 -0
- package/dist/chunks/{file-retention-s6yj2pcz.js → integration-090naprk.js} +9 -9
- package/dist/chunks/{file-retention-3556dn8t.js → integration-0bfcnrg1.js} +1 -1
- package/dist/chunks/{file-retention-60amgp41.js → integration-0mph93pj.js} +4 -4
- package/dist/chunks/{file-retention-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-psbrwbtd.js → integration-0r7yqxbf.js} +5 -5
- package/dist/chunks/{file-retention-vxje23vy.js → integration-0s64387h.js} +10 -10
- package/dist/chunks/{file-retention-dvzj1xmf.js → integration-1813d5zh.js} +11 -11
- package/dist/chunks/{file-retention-1acjjqhc.js → integration-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-retention-ew2nq7xx.js → integration-1bzea8hf.js} +8 -8
- package/dist/chunks/{file-retention-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-frtvfavf.js → integration-1g2pwm2v.js} +6 -6
- package/dist/chunks/{file-retention-jz6k0e3h.js → integration-1jhsme74.js} +3 -3
- package/dist/chunks/{file-retention-rrb87pxb.js → integration-1kwjt6d6.js} +17 -17
- package/dist/chunks/{file-retention-vk4wj6sj.js → integration-1mwnra7p.js} +24 -24
- package/dist/chunks/{file-retention-9asxwhye.js → integration-1n23hs5q.js} +10 -10
- package/dist/chunks/{file-retention-h6p0mwy3.js → integration-1q0e68gg.js} +19 -19
- package/dist/chunks/{file-retention-tnppw0jd.js → integration-1ysctg58.js} +31 -31
- package/dist/chunks/{file-retention-z5jasrp0.js → integration-216h48p4.js} +25 -25
- package/dist/chunks/{file-retention-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-bbb7krmb.js → integration-228m9d3z.js} +1 -1
- package/dist/chunks/{file-retention-nt2xy26d.js → integration-23dc2d68.js} +29 -29
- package/dist/chunks/{file-retention-3czz45a3.js → integration-276aa1tg.js} +3 -3
- package/dist/chunks/{file-retention-xsq4etav.js → integration-29yhzn30.js} +26 -26
- package/dist/chunks/{file-retention-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-r5d8z5dp.js → integration-2f8k78sm.js} +10 -10
- package/dist/chunks/{file-retention-f79rnm05.js → integration-2ggkd5y6.js} +5 -5
- package/dist/chunks/{file-retention-etwdtmvh.js → integration-2gx9j6y9.js} +10 -10
- package/dist/chunks/{file-retention-1wr3xbz8.js → integration-2p623br6.js} +5 -5
- package/dist/chunks/{file-retention-4jrfqp12.js → integration-2zg6nskx.js} +24 -24
- package/dist/chunks/{file-retention-47378fkq.js → integration-37x5te5e.js} +7 -7
- package/dist/chunks/{file-retention-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-4f1mqxn7.js → integration-3h57rhwa.js} +4 -4
- package/dist/chunks/{file-retention-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-4s8ysvrb.js → integration-3htr6yph.js} +19 -19
- package/dist/chunks/{file-retention-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-341r3tte.js → integration-427a15qw.js} +30 -30
- package/dist/chunks/{file-retention-5pk58n1t.js → integration-43fvpk64.js} +22 -22
- package/dist/chunks/{file-retention-1fscjbh9.js → integration-450n1fmb.js} +6 -6
- package/dist/chunks/{file-retention-zd4enfcj.js → integration-4bvnjebc.js} +20 -20
- package/dist/chunks/{file-retention-c9h5a3rv.js → integration-4enjeyq9.js} +29 -29
- package/dist/chunks/integration-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-retention-7yj99b4g.js → integration-4x26exyn.js} +26 -26
- package/dist/chunks/{file-retention-51f5btjf.js → integration-51f5btjf.js} +1 -1
- package/dist/chunks/{file-retention-p9te1kmc.js → integration-52t303b9.js} +43 -43
- package/dist/chunks/{file-retention-54ma36ye.js → integration-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-gjyhvyzk.js → integration-55bzypr0.js} +8 -8
- package/dist/chunks/{file-retention-ez49j3s8.js → integration-55jj4qxv.js} +14 -14
- package/dist/chunks/{file-retention-d9s573fh.js → integration-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-retention-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-snjen9h6.js → integration-5df5bq3a.js} +45 -45
- package/dist/chunks/{file-retention-3st197qb.js → integration-5nnneb5s.js} +46 -46
- package/dist/chunks/{file-retention-e3qxr5gk.js → integration-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-retention-3vehk3w1.js → integration-5qxftstg.js} +15 -15
- package/dist/chunks/{file-retention-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-s1a7yt6d.js → integration-5wyqsnb4.js} +48 -48
- package/dist/chunks/{file-retention-gx02ghzj.js → integration-5xp6zek4.js} +7 -7
- package/dist/chunks/{file-retention-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-y4spq9gz.js → integration-67kxvcq5.js} +80 -80
- package/dist/chunks/{file-retention-sc51f7bh.js → integration-6f8737q3.js} +8 -8
- package/dist/chunks/{file-retention-6msgmcgs.js → integration-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-5gerj4ra.js → integration-6whetfrh.js} +42 -42
- package/dist/chunks/{file-retention-6zcagf6x.js → integration-70byt6m4.js} +3 -3
- package/dist/chunks/{file-retention-svx0194h.js → integration-77d9dkzy.js} +24 -24
- package/dist/chunks/{file-retention-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-1fdwkrhc.js → integration-7e6vht7x.js} +27 -27
- package/dist/chunks/{file-retention-3vzfjtr8.js → integration-7m3qqnex.js} +5 -5
- package/dist/chunks/{file-retention-jdtz6xe6.js → integration-7my3jqe6.js} +11 -11
- package/dist/chunks/{file-retention-cjj4r78p.js → integration-7pzv1w99.js} +9 -9
- package/dist/chunks/{file-retention-chthj8nn.js → integration-7rcqk60f.js} +17 -17
- package/dist/chunks/{file-retention-e4e0rb9m.js → integration-7yaqes3v.js} +11 -11
- package/dist/chunks/{file-retention-4q599fyn.js → integration-7yr82b3h.js} +6 -6
- package/dist/chunks/{file-retention-rr5wp26c.js → integration-818pfwc9.js} +11 -11
- package/dist/chunks/{file-retention-84txncab.js → integration-84txncab.js} +1 -1
- package/dist/chunks/{file-retention-srey4qzw.js → integration-85kjp3d4.js} +4 -4
- package/dist/chunks/{file-retention-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-679y6aj6.js → integration-8j3sn0xa.js} +11 -11
- package/dist/chunks/{file-retention-8sze2n9a.js → integration-8sze2n9a.js} +2 -2
- package/dist/chunks/{file-retention-5khy2bd0.js → integration-8vag3pxv.js} +30 -30
- package/dist/chunks/{file-retention-yec3cmat.js → integration-8wa5wmwv.js} +5 -5
- package/dist/chunks/{file-retention-p3t9fn4d.js → integration-918vfc7v.js} +9 -9
- package/dist/chunks/{file-retention-gfvb90ym.js → integration-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-retention-3gd62aj9.js → integration-9e9nvwfq.js} +166 -166
- package/dist/chunks/{file-retention-fhff0x2d.js → integration-9jsdpggr.js} +9 -9
- package/dist/chunks/{file-retention-gzsrjqqd.js → integration-9pcszhcd.js} +68 -68
- package/dist/chunks/{file-retention-kag9wx21.js → integration-9sp358pj.js} +25 -25
- package/dist/chunks/{file-retention-dgk65g6a.js → integration-9xefwsd5.js} +11 -11
- package/dist/chunks/{file-retention-9jbvj98d.js → integration-a2qe2ev9.js} +8 -8
- package/dist/chunks/{file-retention-addykxcr.js → integration-a3vq5bj2.js} +24 -24
- package/dist/chunks/{file-retention-rjpmn9fg.js → integration-a6fmcvwn.js} +25 -25
- package/dist/chunks/{file-retention-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-9gk01zf5.js → integration-apjcg4d6.js} +11 -11
- package/dist/chunks/{file-retention-njhj3ca1.js → integration-arkmsdt9.js} +10 -10
- package/dist/chunks/{file-retention-rkp2w2jx.js → integration-b1rb0xwe.js} +35 -35
- package/dist/chunks/{file-retention-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-g87nsqnj.js → integration-bay80n5w.js} +5 -5
- package/dist/chunks/{file-retention-r98e92ep.js → integration-bf0ztrs3.js} +4 -4
- package/dist/chunks/{file-retention-9gjt9gbs.js → integration-br4ct1cv.js} +13 -13
- package/dist/chunks/{file-retention-jpq1mxv8.js → integration-brka9z6d.js} +8 -8
- package/dist/chunks/{file-retention-2bef5nan.js → integration-c634d86v.js} +23 -23
- package/dist/chunks/{file-retention-54tcyq79.js → integration-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-retention-nnk7v8pm.js → integration-cs3k7vbw.js} +8 -8
- package/dist/chunks/{file-retention-yte8k0cp.js → integration-ctkexn52.js} +17 -17
- package/dist/chunks/{file-retention-k1k1f0xx.js → integration-cw40cn3a.js} +20 -20
- package/dist/chunks/{file-retention-41rmpfss.js → integration-dcdcxcqv.js} +23 -23
- package/dist/chunks/{file-retention-amhzemjk.js → integration-ddxretnd.js} +11 -11
- package/dist/chunks/{file-retention-g2tbeqr5.js → integration-dez0353w.js} +12 -12
- package/dist/chunks/{file-retention-r2m716tb.js → integration-djszqvmq.js} +9 -9
- package/dist/chunks/{file-retention-4pf42kt4.js → integration-dmftx2z2.js} +4 -4
- package/dist/chunks/{file-retention-y71avatq.js → integration-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-retention-ps5z82g9.js → integration-dpy1708c.js} +5 -5
- package/dist/chunks/{file-retention-4bpxp8jr.js → integration-e2ha372a.js} +3 -3
- package/dist/chunks/{file-retention-782bh3pr.js → integration-e2zxmq4e.js} +17 -17
- package/dist/chunks/{file-retention-474p48fz.js → integration-e56jykm2.js} +9 -9
- package/dist/chunks/{file-retention-3q73b6mj.js → integration-e8n5dwh7.js} +25 -25
- package/dist/chunks/{file-retention-0gdmqesm.js → integration-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-retention-ecfe7b91.js → integration-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-retention-wapkz1da.js → integration-eckntx06.js} +22 -22
- package/dist/chunks/{file-retention-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-14rxwr6z.js → integration-ehzy0r6a.js} +43 -43
- package/dist/chunks/{file-retention-ydgy0jv4.js → integration-emzsebxx.js} +6 -6
- package/dist/chunks/{file-retention-80scg3y3.js → integration-ermxvwhp.js} +4 -4
- package/dist/chunks/{file-retention-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-36cgn824.js → integration-evbgk2k8.js} +5 -5
- package/dist/chunks/{file-retention-2yxf3rmy.js → integration-ew48pmvr.js} +23 -23
- package/dist/chunks/{file-retention-fx4fe4nq.js → integration-ex6pt5yr.js} +4 -4
- package/dist/chunks/{file-retention-nenvs776.js → integration-eyz64kwr.js} +9 -9
- package/dist/chunks/{file-retention-h78cdha0.js → integration-f1csepjx.js} +33 -33
- package/dist/chunks/{file-retention-pzhy0znt.js → integration-f4ntpb4a.js} +18 -18
- package/dist/chunks/{file-retention-fw2v9256.js → integration-f5gy8qwh.js} +8 -8
- package/dist/chunks/{file-retention-g298hghc.js → integration-fb8ajyr9.js} +26 -26
- package/dist/chunks/{file-retention-gja6y8ab.js → integration-fbrwwgmz.js} +15 -15
- package/dist/chunks/{file-retention-4dcyp64e.js → integration-fh23fcf5.js} +11 -11
- package/dist/chunks/{file-retention-w2wbxgzd.js → integration-fqm9ba4x.js} +7 -7
- package/dist/chunks/{file-retention-j6wzn4gt.js → integration-ftnq43wp.js} +17 -17
- package/dist/chunks/{file-retention-2pnhn36q.js → integration-g190xswt.js} +21 -21
- package/dist/chunks/{file-retention-vd7rzxqf.js → integration-g5agzp2h.js} +5 -5
- package/dist/chunks/{file-retention-5ndd65f1.js → integration-g8ab104g.js} +7 -7
- package/dist/chunks/{file-retention-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-b0a139tp.js → integration-gdv3ksn6.js} +3 -3
- package/dist/chunks/{file-retention-yyb7tjpc.js → integration-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-rwh68y4k.js → integration-gzbkpp9m.js} +6 -6
- package/dist/chunks/{file-retention-8xyqwyw4.js → integration-h1vw7kx6.js} +16 -16
- package/dist/chunks/{file-retention-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-dwwxx3ad.js → integration-h70zt0wt.js} +18 -18
- package/dist/chunks/{file-retention-vsx1rdgx.js → integration-haf8ym7w.js} +20 -20
- package/dist/chunks/{file-retention-f638v0k7.js → integration-hn0x82vs.js} +15 -15
- package/dist/chunks/{file-retention-pzwaf65z.js → integration-htq109gq.js} +28 -28
- package/dist/chunks/{file-retention-r59n77gh.js → integration-hx450sbz.js} +24 -24
- package/dist/chunks/{file-retention-gkcpgxvn.js → integration-hxmak5w6.js} +11 -11
- package/dist/chunks/{file-retention-szekdmz8.js → integration-hza05959.js} +21 -21
- package/dist/chunks/{file-retention-y1afxrem.js → integration-j1jfj66b.js} +3 -3
- package/dist/chunks/{file-retention-tffeed3q.js → integration-j26sntzs.js} +12 -12
- package/dist/chunks/{file-retention-6scfp7gb.js → integration-j3s2z371.js} +9 -9
- package/dist/chunks/{file-retention-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-vxzh5eqq.js → integration-j8afcsyc.js} +4 -4
- package/dist/chunks/{file-retention-yg47fsda.js → integration-j9a2q0fz.js} +10 -10
- package/dist/chunks/{file-retention-kbegyq1c.js → integration-jca4demv.js} +2 -2
- package/dist/chunks/{file-retention-ms03nq7r.js → integration-jdnyyw3y.js} +13 -13
- package/dist/chunks/{file-retention-yr5t88vm.js → integration-jkcjd3kp.js} +5 -5
- package/dist/chunks/{file-retention-y1zeze83.js → integration-jrjzd75d.js} +5 -5
- package/dist/chunks/{file-retention-zcrspsvn.js → integration-jvf3yq6v.js} +4 -4
- package/dist/chunks/{file-retention-jwhd9bgz.js → integration-k054q3ng.js} +11 -11
- package/dist/chunks/{file-retention-tb1cafh6.js → integration-k0a3z2qz.js} +4 -4
- package/dist/chunks/{file-retention-nzks3jc8.js → integration-k3c624dm.js} +3 -3
- package/dist/chunks/{file-retention-c01tdnkp.js → integration-k3y1sryq.js} +30 -30
- package/dist/chunks/{file-retention-4a49dmp5.js → integration-k7a6qazk.js} +15 -15
- package/dist/chunks/{file-retention-dp089qyj.js → integration-kfgccrws.js} +11 -11
- package/dist/chunks/{file-retention-21b4tg1x.js → integration-kmsf2gmc.js} +11 -11
- package/dist/chunks/{file-retention-0awdyt48.js → integration-krtr9e37.js} +8 -8
- package/dist/chunks/{file-retention-g0x0gx4j.js → integration-kyr9dgrt.js} +24 -24
- package/dist/chunks/{file-retention-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-qeb5ksby.js → integration-m84jjq37.js} +46 -46
- package/dist/chunks/{file-retention-958ry1en.js → integration-m8n1jv7h.js} +17 -17
- package/dist/chunks/{file-retention-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-mfqp6xfm.js → integration-mfqp6xfm.js} +2 -2
- package/dist/chunks/{file-retention-q3cwr1ch.js → integration-mgznjxj1.js} +57 -57
- package/dist/chunks/{file-retention-481cetth.js → integration-mm0znw5z.js} +2 -2
- package/dist/chunks/{file-retention-jrh7cjv9.js → integration-mnwqmehd.js} +15 -15
- package/dist/chunks/{file-retention-1bbkgx8g.js → integration-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-retention-0ywk5tx6.js → integration-mvg2k0gw.js} +4 -4
- package/dist/chunks/{file-retention-f9v3w90c.js → integration-mvxy8yk1.js} +17 -17
- package/dist/chunks/{file-retention-qgc72k7m.js → integration-mx84fb2r.js} +8 -8
- package/dist/chunks/{file-retention-c1y4bq5r.js → integration-mxxa41h5.js} +13 -13
- package/dist/chunks/{file-retention-2fz0za61.js → integration-n56w81az.js} +16 -16
- package/dist/chunks/{file-retention-ccrmjght.js → integration-n5jbg1jr.js} +34 -34
- package/dist/chunks/{file-retention-grfgqh29.js → integration-n6ywjbkr.js} +25 -25
- package/dist/chunks/{file-retention-zzp9hs8b.js → integration-n860bejb.js} +31 -31
- package/dist/chunks/{file-retention-t3tn9a53.js → integration-ngfnceq4.js} +9 -9
- package/dist/chunks/{file-retention-k0aew57z.js → integration-nxgbngy1.js} +8 -8
- package/dist/chunks/{file-retention-d9bmnkpe.js → integration-nzg2pgvq.js} +17 -17
- package/dist/chunks/{file-retention-kmkwybff.js → integration-p0b4ytnr.js} +6 -6
- package/dist/chunks/{file-retention-p37cw4rj.js → integration-p37cw4rj.js} +1 -1
- package/dist/chunks/integration-p6rn815x.js +252 -0
- package/dist/chunks/{file-retention-16gx62bp.js → integration-pc24wejf.js} +2 -2
- package/dist/chunks/{file-retention-yd5d63z4.js → integration-pcgeyt73.js} +26 -26
- package/dist/chunks/{file-retention-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-ftbwh1a1.js → integration-pp173efe.js} +9 -9
- package/dist/chunks/{file-retention-xznz5zdk.js → integration-ppdtm0qk.js} +1 -1
- package/dist/chunks/{file-retention-0jq9fyba.js → integration-prq7hedt.js} +2 -2
- package/dist/chunks/{file-retention-7jn4cbqh.js → integration-prqcyn0c.js} +6 -6
- package/dist/chunks/{file-retention-q1n3a0d0.js → integration-prwkcbsp.js} +6 -6
- package/dist/chunks/{file-retention-61h3kr51.js → integration-psy3e1hh.js} +27 -27
- package/dist/chunks/{file-retention-dk1h4k3m.js → integration-pxy4dh62.js} +12 -12
- package/dist/chunks/{file-retention-n7d88tpn.js → integration-q3t37ft6.js} +3 -3
- package/dist/chunks/{file-retention-vnwmzs4a.js → integration-q4fmv0xv.js} +5 -5
- package/dist/chunks/{file-retention-4bgvjpaj.js → integration-qepzh1bh.js} +14 -14
- package/dist/chunks/{file-retention-2k8khapm.js → integration-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-retention-hfym5axa.js → integration-qkcvm401.js} +10 -10
- package/dist/chunks/{file-retention-e5etnha4.js → integration-qm74d4cp.js} +11 -11
- package/dist/chunks/{file-retention-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-pg27pa1a.js → integration-qvqw0qph.js} +30 -30
- package/dist/chunks/{file-retention-wd0xah3x.js → integration-rbpwsggg.js} +32 -32
- package/dist/chunks/{file-retention-rjbmcc11.js → integration-rc5nmyhy.js} +11 -11
- package/dist/chunks/{file-retention-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-x1mx0z9d.js → integration-re7wp77e.js} +8 -8
- package/dist/chunks/{file-retention-5epvw41m.js → integration-rq3a28zf.js} +37 -37
- package/dist/chunks/{file-retention-s2byz38y.js → integration-rrzjzqrd.js} +4 -4
- package/dist/chunks/{file-retention-5dg6696f.js → integration-rwsvrpt4.js} +25 -25
- package/dist/chunks/{file-retention-zgw5b4rz.js → integration-s22tcjmk.js} +13 -13
- package/dist/chunks/{file-retention-4z58m4b4.js → integration-s30fyz93.js} +4 -4
- package/dist/chunks/{file-retention-4x93m9qy.js → integration-sf48c4sg.js} +25 -25
- package/dist/chunks/{file-retention-v2hpcb12.js → integration-sj2zwkfm.js} +11 -11
- package/dist/chunks/{file-retention-n2az5f76.js → integration-sjhe73hb.js} +12 -12
- package/dist/chunks/{file-retention-1caf5nrg.js → integration-skb9kzak.js} +23 -23
- package/dist/chunks/{file-retention-fe8gfspk.js → integration-srvnn0v4.js} +11 -11
- package/dist/chunks/{file-retention-43m7x77p.js → integration-st0j0zn3.js} +20 -20
- package/dist/chunks/{file-retention-twd39qy8.js → integration-sv7yr8xe.js} +16 -16
- package/dist/chunks/{file-retention-20k655vp.js → integration-t71c8r43.js} +6 -6
- package/dist/chunks/{file-retention-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-89znhe33.js → integration-tcezcvh9.js} +4 -4
- package/dist/chunks/{file-retention-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-yrc0g15d.js → integration-tp0s123v.js} +5 -5
- package/dist/chunks/{file-retention-30dn2p1d.js → integration-tqz9py0c.js} +24 -24
- package/dist/chunks/{file-retention-tv83fb5h.js → integration-trfm30pq.js} +12 -12
- package/dist/chunks/{file-retention-tvtrv512.js → integration-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-g5q29pcg.js → integration-v2g7d70b.js} +16 -16
- package/dist/chunks/{file-retention-at5d07az.js → integration-v5dkyp31.js} +4 -4
- package/dist/chunks/{file-retention-3m43f51c.js → integration-vavgc505.js} +26 -26
- package/dist/chunks/{file-retention-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-v9aw8j7f.js → integration-vnn4gkfz.js} +84 -84
- package/dist/chunks/{file-retention-0m56zc8a.js → integration-vycpbpnw.js} +27 -27
- package/dist/chunks/{file-retention-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-ah16ew7h.js → integration-w3senr2q.js} +11 -11
- package/dist/chunks/{file-retention-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-kspsnyg5.js → integration-w47g9jnr.js} +5 -5
- package/dist/chunks/{file-retention-xj0hxfaf.js → integration-w9nr0r4k.js} +14 -14
- package/dist/chunks/{file-retention-psazpmmj.js → integration-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-retention-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-dte89hxh.js → integration-wdzcbyx9.js} +27 -27
- package/dist/chunks/{file-retention-qcmd6j3d.js → integration-wq4mmp7m.js} +4 -4
- package/dist/chunks/{file-retention-7h1rvsdd.js → integration-wstveqzx.js} +16 -16
- package/dist/chunks/{file-retention-cg045a5a.js → integration-wvjmf19v.js} +11 -11
- package/dist/chunks/{file-retention-xw6mcszy.js → integration-wyvmt7jr.js} +14 -14
- package/dist/chunks/{file-retention-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-2a31wvsa.js → integration-x3k4y0th.js} +15 -15
- package/dist/chunks/{file-retention-7k8jnmap.js → integration-x8h61vbx.js} +40 -40
- package/dist/chunks/{file-retention-60e937tk.js → integration-x8v6s741.js} +4 -4
- package/dist/chunks/{file-retention-yx0fmswe.js → integration-xf1aecpm.js} +14 -14
- package/dist/chunks/{file-retention-xfkkasph.js → integration-xfkkasph.js} +1 -1
- package/dist/chunks/{file-retention-xkntkrq7.js → integration-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-retention-9ckhpt6a.js → integration-xn7zchcf.js} +25 -25
- package/dist/chunks/{file-retention-rb8xkgfd.js → integration-xp8cepfb.js} +10 -10
- package/dist/chunks/{file-retention-9hbvw80x.js → integration-y0s8f48q.js} +2 -2
- package/dist/chunks/{file-retention-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-mpk0rfs5.js → integration-y6bex35g.js} +4 -4
- package/dist/chunks/{file-retention-7s2tn799.js → integration-y72zmemf.js} +8 -8
- package/dist/chunks/{file-retention-hbsdh60r.js → integration-yk1wne8d.js} +17 -17
- package/dist/chunks/{file-retention-kryy842e.js → integration-yn0skrfd.js} +31 -31
- package/dist/chunks/{file-retention-yrhqyw5v.js → integration-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-s4enseaf.js → integration-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-8jxztqqt.js → integration-yt0fqk68.js} +5 -5
- package/dist/chunks/{file-retention-bjtzbw4r.js → integration-z07pqspn.js} +3 -3
- package/dist/chunks/{file-retention-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-29x78va6.js → integration-z63w68vq.js} +6 -6
- package/dist/chunks/{file-retention-gzj4cxdc.js → integration-z83vrf6c.js} +18 -18
- package/dist/chunks/{file-retention-ekf0jtj0.js → integration-z96crwnb.js} +3 -3
- package/dist/chunks/{file-retention-rq775frq.js → integration-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-k6c967g7.js → integration-zqankrzg.js} +3 -3
- package/dist/chunks/{file-retention-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +1 -1
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- 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 +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- 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 +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +4 -4
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-retention-5g7fvmhm.js +0 -507
- package/dist/chunks/file-retention-c2k3cth8.js +0 -252
- package/dist/chunks/file-retention-ht5y0zrb.js +0 -18
- /package/dist/chunks/{file-retention-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → integration-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → integration-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-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: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service10, 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(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service10.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node12 = makeLocationNode({ service: Service10, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service10, node12, exports_location_watcher_policy };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
Service70
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-c634d86v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./integration-ehzy0r6a.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
12
|
const providers = yield* Service70;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service53);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-mgznjxj1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin32
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin32 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin32, exports_plan };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-450n1fmb.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-1jhsme74.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-e2ha372a.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-x8v6s741.js";
|
|
7
7
|
import {
|
|
8
8
|
Service44
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-51f5btjf.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service62
|
|
16
|
+
} from "./integration-fb8ajyr9.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-eyz64kwr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-z07pqspn.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./integration-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -46,8 +46,8 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service62;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.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) {
|
|
@@ -77,10 +77,10 @@ var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
|
77
77
|
const instances = yield* Service44;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service62;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.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, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-x8v6s741.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-y0s8f48q.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./integration-m84jjq37.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin23
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin23 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service80;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service39;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin23, exports_command2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-mgznjxj1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service39,
|
|
12
|
+
node42
|
|
13
|
+
} from "./integration-m84jjq37.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./integration-4enjeyq9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service34,
|
|
27
|
+
layer: () => layer11,
|
|
28
|
+
node: () => node37
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service34 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer11 = Layer.effect(Service34, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service39;
|
|
68
|
+
return Service34.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make21({
|
|
71
|
+
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -86,7 +86,7 @@ var layer9 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer9 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node37 = makeLocationNode({ service: Service34, layer: layer11, deps: [node42] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service34, layer11, node37, exports_instructions4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service50,
|
|
12
|
+
node52
|
|
13
|
+
} from "./integration-43fvpk64.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions2 = {};
|
|
20
|
+
__export(exports_instructions2, {
|
|
21
|
+
Service: () => Service32,
|
|
22
|
+
SkillInstructions: () => exports_instructions2,
|
|
23
|
+
node: () => node35
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service32 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service50;
|
|
67
|
+
return Service32.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make21({
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node35 = makeLocationNode({ service: Service32, layer, deps: [node52] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service32, node35, exports_instructions2 };
|