@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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./integration-mgznjxj1.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input6,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin41,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name6 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input6 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input7 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input6.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin41 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service75;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name6,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input6,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin42 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name6,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name6, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input6, Plugin41, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-y0s8f48q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service31,
|
|
19
|
+
node: () => node34
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service80;
|
|
29
|
-
return
|
|
29
|
+
return Service31.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
41
|
-
key:
|
|
40
|
+
make21({
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service31, node34, exports_builtins };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./integration-h70zt0wt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service44
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-51f5btjf.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_command3, {
|
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
22
|
const instances = yield* Service44;
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-228m9d3z.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-450n1fmb.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-x8v6s741.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID16,
|
|
19
|
+
Info: () => Info31,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service78,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node82
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID16 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID16.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info31 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service78 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info31.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID16.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service78.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID16.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID16.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID16, Name3, defaultID2, Color2, Info31, Service78, node82, exports_agent4, Event20 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-c634d86v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-xn7zchcf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info22.make({
|
|
98
|
+
...Info22.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-x8v6s741.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-y0s8f48q.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service77,
|
|
14
|
+
node81
|
|
15
|
+
} from "./integration-wstveqzx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service77;
|
|
41
41
|
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node, node84,
|
|
101
|
+
deps: [node87, FSUtil.node, node84, node81]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node13, exports_instructions };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info12
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info12 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info24 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info12, exports_command5 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./integration-a3vq5bj2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./integration-mgznjxj1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service23
|
|
14
|
+
} from "./integration-a6fmcvwn.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin38,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin38 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service75;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service23;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name3, NO_RESULTS2, description3, Input3, Plugin38, exports_websearch2 };
|