@opencode/core 0.0.0-dev-19598 → 0.0.0-dev-19600
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 +78 -78
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-6p7t068e.js → schema-02t5w4gh.js} +9 -9
- package/dist/chunks/{file-8gxqpgph.js → schema-06x8he3q.js} +4 -4
- package/dist/chunks/{file-phc861ae.js → schema-09q628k0.js} +6 -6
- package/dist/chunks/{file-6we377py.js → schema-0b2drx1x.js} +29 -29
- package/dist/chunks/{file-1t72z6bs.js → schema-0d1s996h.js} +12 -12
- package/dist/chunks/{file-ggz1pmcj.js → schema-0f1jrs4t.js} +28 -28
- package/dist/chunks/{file-2m2rh4pc.js → schema-0f6gex3r.js} +5 -5
- package/dist/chunks/{file-ffs43ht2.js → schema-0n6yb30j.js} +12 -12
- package/dist/chunks/{file-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-ampdzzmt.js → schema-0pbq8x9a.js} +11 -11
- package/dist/chunks/{file-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-3w80k797.js → schema-0smkg98y.js} +47 -47
- package/dist/chunks/{file-bycsbmk8.js → schema-0w48b795.js} +10 -10
- package/dist/chunks/{file-dtnrh8vj.js → schema-0xwfnwv8.js} +38 -38
- package/dist/chunks/{file-88t9pbvw.js → schema-0y9a0wd2.js} +17 -17
- package/dist/chunks/{file-mnejq3c6.js → schema-0ypfbjae.js} +9 -9
- package/dist/chunks/{file-e1x4awme.js → schema-0zx3erd1.js} +18 -18
- package/dist/chunks/{file-42j12a3k.js → schema-1awhc7qw.js} +26 -26
- package/dist/chunks/{file-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-2rpf5fdd.js → schema-1e1gg1pw.js} +6 -6
- package/dist/chunks/{file-182z4mkv.js → schema-1hpz7mxd.js} +1 -1
- package/dist/chunks/{file-9avcp2jz.js → schema-1jj6qp1e.js} +16 -16
- package/dist/chunks/{file-wndsw9jd.js → schema-1pwsej9z.js} +11 -11
- package/dist/chunks/{file-y6h4mdg2.js → schema-1vf2vjhr.js} +43 -43
- package/dist/chunks/{file-ecmre7pn.js → schema-1w8mjab2.js} +79 -79
- package/dist/chunks/{file-sznyev98.js → schema-1x75wf9g.js} +5 -5
- package/dist/chunks/{file-jzt5g60a.js → schema-1xacm4tx.js} +15 -15
- package/dist/chunks/{file-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{file-6h73sxmp.js → schema-2402vzrj.js} +5 -5
- package/dist/chunks/{file-w1k39n5e.js → schema-26k5bknw.js} +4 -4
- package/dist/chunks/{file-vhvvs13s.js → schema-2865vqft.js} +15 -15
- package/dist/chunks/{file-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-3v0x2y7p.js → schema-2ab2hy21.js} +8 -8
- package/dist/chunks/{file-2zf3hwjc.js → schema-2e8sz0s6.js} +18 -18
- package/dist/chunks/{file-bd58x3af.js → schema-2f0200dh.js} +13 -13
- package/dist/chunks/{file-dgj0dq1g.js → schema-2hyh68ab.js} +8 -8
- package/dist/chunks/{file-hhh0a6zm.js → schema-2qyc1xj5.js} +7 -7
- package/dist/chunks/{file-85170kwf.js → schema-2t84qgzz.js} +31 -31
- package/dist/chunks/{file-k2s68ryd.js → schema-2wj8n25z.js} +6 -6
- package/dist/chunks/{file-rpp558y0.js → schema-2xrnssb3.js} +12 -12
- package/dist/chunks/{file-k6wrm9a0.js → schema-34pkzm2p.js} +9 -9
- package/dist/chunks/{file-qfa7jkp4.js → schema-379qd7x1.js} +8 -8
- package/dist/chunks/{file-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-ckpz9tzv.js → schema-3fnc9aea.js} +9 -9
- package/dist/chunks/{file-qcd1qc15.js → schema-3h2g17n5.js} +9 -9
- package/dist/chunks/{file-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-9dvg4g8f.js → schema-3r0rrtry.js} +16 -16
- package/dist/chunks/{file-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-tg00ampp.js → schema-3te1hz24.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-7vzzf4r8.js → schema-3vkh5m7y.js} +26 -26
- package/dist/chunks/{file-ne2r7j9m.js → schema-3xmwv3w1.js} +24 -24
- package/dist/chunks/{file-nc8419v6.js → schema-41kev6en.js} +5 -5
- package/dist/chunks/{file-ye1wyhtp.js → schema-43fbk8gs.js} +10 -10
- package/dist/chunks/{file-hjt4xg1x.js → schema-47gsdddb.js} +7 -7
- package/dist/chunks/{file-atrnym84.js → schema-48spbe97.js} +18 -18
- package/dist/chunks/{file-ryjh9mcz.js → schema-4dsw036z.js} +3 -3
- package/dist/chunks/{file-t6z0eevx.js → schema-4qprwqgn.js} +13 -13
- package/dist/chunks/{file-w75v1kbk.js → schema-4tmnzem5.js} +1 -1
- package/dist/chunks/{file-f3ngv102.js → schema-50mzsvk4.js} +4 -4
- package/dist/chunks/{file-p0bspynp.js → schema-5142gq6g.js} +5 -5
- package/dist/chunks/{file-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-m7tah5hb.js → schema-5a60vkb8.js} +3 -3
- package/dist/chunks/{file-f5syc60y.js → schema-5cmxdwv8.js} +3 -3
- package/dist/chunks/{file-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{file-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-v71dgxb6.js → schema-5ve5k6ff.js} +30 -30
- package/dist/chunks/{file-zkb0rj7d.js → schema-5yb6dsy5.js} +32 -32
- package/dist/chunks/{file-eb6z8chr.js → schema-62h3nghm.js} +24 -24
- package/dist/chunks/{file-x42bs0x6.js → schema-633cm28q.js} +47 -47
- package/dist/chunks/{file-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{file-dqc15y4x.js → schema-6azphhhm.js} +2 -2
- package/dist/chunks/{file-vm86ksqf.js → schema-6d2r6qkc.js} +8 -8
- package/dist/chunks/{file-485fr60v.js → schema-6jzygt4j.js} +15 -15
- package/dist/chunks/{file-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-w0x3jd68.js → schema-6yb3tdfr.js} +18 -18
- package/dist/chunks/{file-71q4at8m.js → schema-71q4at8m.js} +1 -1
- package/dist/chunks/{file-bknfn28s.js → schema-78jxphdk.js} +23 -23
- package/dist/chunks/{file-scv7p57g.js → schema-798n350n.js} +9 -9
- package/dist/chunks/{file-rcsscm7r.js → schema-7b3vjk9x.js} +8 -8
- package/dist/chunks/{file-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-ejt0hq34.js → schema-7cdanhdd.js} +10 -10
- package/dist/chunks/{file-k0mc747p.js → schema-7k41kz7d.js} +35 -35
- package/dist/chunks/{file-2fy2emhs.js → schema-7m9x3c92.js} +12 -12
- package/dist/chunks/{file-mw62vq54.js → schema-7mpda9be.js} +11 -11
- package/dist/chunks/{file-129brntk.js → schema-7r0b8j13.js} +10 -10
- package/dist/chunks/{file-ra8qdd9e.js → schema-7sbttmca.js} +1 -1
- package/dist/chunks/{file-26m8t0ek.js → schema-7wxybjhq.js} +20 -20
- package/dist/chunks/{file-5vyabe77.js → schema-814espwq.js} +46 -46
- package/dist/chunks/{file-hq8zt1th.js → schema-81rrwt6s.js} +6 -6
- package/dist/chunks/{file-r0eemgrz.js → schema-83gwz6tt.js} +23 -23
- package/dist/chunks/{file-k2bnz6b5.js → schema-84rdt8rr.js} +38 -38
- package/dist/chunks/{file-52zzeq6p.js → schema-85j4zkzf.js} +29 -29
- package/dist/chunks/{file-6s5nejzz.js → schema-88wz218q.js} +11 -11
- package/dist/chunks/{file-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-3zykk5as.js → schema-8mwk31bk.js} +8 -8
- package/dist/chunks/{file-pwpabjhk.js → schema-8nkhzrtw.js} +41 -41
- package/dist/chunks/{file-8p4f9s12.js → schema-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-xgfp89dv.js → schema-8yjj8ppj.js} +13 -13
- package/dist/chunks/{file-7e0sczy2.js → schema-9151qrdt.js} +16 -16
- package/dist/chunks/{file-bq2epsr3.js → schema-94ztp1pn.js} +25 -25
- package/dist/chunks/{file-g601pm08.js → schema-98pd2de6.js} +6 -6
- package/dist/chunks/{file-658qrzb6.js → schema-98td9sca.js} +4 -4
- package/dist/chunks/{file-vq7z185x.js → schema-9adbhrd2.js} +4 -4
- package/dist/chunks/{file-804mq7mh.js → schema-9jnwyv99.js} +10 -10
- package/dist/chunks/schema-9zdhvgqs.js +18 -0
- package/dist/chunks/{file-a1bz86dw.js → schema-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-m947q6k5.js → schema-a3aw0xhm.js} +18 -18
- package/dist/chunks/{file-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{file-hkcvz44k.js → schema-aewa2dz5.js} +8 -8
- package/dist/chunks/{file-xhmq8qgk.js → schema-af4kcksd.js} +2 -2
- package/dist/chunks/{file-1j54nx79.js → schema-b03qqrxx.js} +11 -11
- package/dist/chunks/{file-mppen3ja.js → schema-b1e4svfj.js} +11 -11
- package/dist/chunks/{file-sxz6gkc3.js → schema-b27vhd2z.js} +7 -7
- package/dist/chunks/{file-zg2jh87r.js → schema-b34gcna0.js} +10 -10
- package/dist/chunks/{file-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-4jc5c4h4.js → schema-b97cbvw3.js} +1 -1
- package/dist/chunks/schema-b9fvk0jf.js +26 -0
- package/dist/chunks/{file-q4yxhgfy.js → schema-bfrse3g1.js} +4 -4
- package/dist/chunks/{file-hfdr1yjj.js → schema-bha4atvq.js} +4 -4
- package/dist/chunks/{file-ns74bfrf.js → schema-bsapkm75.js} +17 -17
- package/dist/chunks/{file-avezr732.js → schema-bsj4xcax.js} +1 -1
- package/dist/chunks/{file-fvrhsr23.js → schema-bw16peeb.js} +2 -2
- package/dist/chunks/{file-9x1sbddt.js → schema-bw6s79d1.js} +13 -13
- package/dist/chunks/{file-c4vcfcbt.js → schema-c4vcfcbt.js} +2 -2
- package/dist/chunks/{file-m2cb1kfd.js → schema-cah9zs3a.js} +28 -28
- package/dist/chunks/{file-cfpkc3c9.js → schema-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-cpj0znwe.js → schema-cpj0znwe.js} +1 -1
- package/dist/chunks/{file-6bxb4cxk.js → schema-csfvctar.js} +4 -4
- package/dist/chunks/{file-kjpj2a9q.js → schema-d1f6kvyp.js} +28 -28
- package/dist/chunks/{file-af04s6ss.js → schema-d2aac7k2.js} +5 -5
- package/dist/chunks/{file-10jz9m44.js → schema-d5hzk96g.js} +13 -13
- package/dist/chunks/{file-prvz8ejv.js → schema-dbth1pe4.js} +18 -18
- package/dist/chunks/{file-y71avatq.js → schema-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-mcjktpac.js → schema-drh46rkg.js} +16 -16
- package/dist/chunks/{file-cqc023f0.js → schema-dtektt3s.js} +16 -16
- package/dist/chunks/{file-da6evnzj.js → schema-dxk1mka7.js} +11 -11
- package/dist/chunks/{file-e5nv3ght.js → schema-e5nv3ght.js} +2 -2
- package/dist/chunks/{file-s8d7rejh.js → schema-eaj1djv9.js} +6 -6
- package/dist/chunks/{file-5phqnecy.js → schema-edme2h3e.js} +4 -4
- package/dist/chunks/{file-2jtppnb6.js → schema-ees6gnzr.js} +30 -30
- package/dist/chunks/{file-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-gs1hwhc0.js → schema-enw4dg89.js} +22 -22
- package/dist/chunks/{file-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-t3x95jfd.js → schema-evj9nbqj.js} +61 -61
- package/dist/chunks/{file-cf2ej5qv.js → schema-eyewd753.js} +11 -11
- package/dist/chunks/{file-8fj94art.js → schema-f47r0gvn.js} +1 -1
- package/dist/chunks/{file-f828m53h.js → schema-f828m53h.js} +2 -2
- package/dist/chunks/{file-vfgva3xk.js → schema-f9qb0rq9.js} +21 -21
- package/dist/chunks/{file-9vj1at0d.js → schema-fg6npkra.js} +11 -11
- package/dist/chunks/{file-pnwnc2eb.js → schema-fm4tr4vt.js} +12 -12
- package/dist/chunks/{file-3btn89ec.js → schema-fpgbvm08.js} +7 -7
- package/dist/chunks/{file-6wce12fj.js → schema-fqqd2rhr.js} +24 -24
- package/dist/chunks/{file-zdw538jz.js → schema-fv8y7rfs.js} +15 -15
- package/dist/chunks/{file-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-6kg1vfnr.js → schema-g8atgw3j.js} +6 -6
- package/dist/chunks/{file-wdpdtye9.js → schema-gcg6tnxg.js} +16 -16
- package/dist/chunks/{file-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-1zzmp92z.js → schema-gdydzv9c.js} +12 -12
- package/dist/chunks/{file-fwkb73sv.js → schema-gf9rz7kd.js} +5 -5
- package/dist/chunks/{file-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-rzxstzmh.js → schema-gxk1v8cw.js} +10 -10
- package/dist/chunks/{file-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-ph5begyf.js → schema-h9hmy6pb.js} +20 -20
- package/dist/chunks/{file-5w575vpr.js → schema-harzbh1y.js} +3 -3
- package/dist/chunks/{file-313wy76v.js → schema-hfzk1xk6.js} +20 -20
- package/dist/chunks/{file-kzw69375.js → schema-hp4gs99z.js} +11 -11
- package/dist/chunks/{file-qc0tpyc3.js → schema-hv28523d.js} +9 -9
- package/dist/chunks/{file-vmbah541.js → schema-hyz0k45s.js} +6 -6
- package/dist/chunks/{file-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{file-r3mfjy6q.js → schema-jfh1z2ka.js} +298 -298
- package/dist/chunks/{file-nqrry9qg.js → schema-jwpe3kef.js} +21 -21
- package/dist/chunks/{file-jac4mw22.js → schema-k31b4sbf.js} +5 -5
- package/dist/chunks/{file-2yrd4w3g.js → schema-k410p7cy.js} +8 -8
- package/dist/chunks/{file-y119texf.js → schema-k6gc8fqq.js} +16 -16
- package/dist/chunks/{file-0s3e8wbd.js → schema-k9grw06x.js} +28 -28
- package/dist/chunks/{file-hy5fgcee.js → schema-kc2pf2wb.js} +15 -15
- package/dist/chunks/{file-mkt4f7jq.js → schema-kd95dayw.js} +22 -22
- package/dist/chunks/{file-mv06p09r.js → schema-kjd1s91a.js} +23 -23
- package/dist/chunks/{file-jndejbar.js → schema-kzvjm54t.js} +16 -16
- package/dist/chunks/{file-tdqfck99.js → schema-m6968m5h.js} +14 -14
- package/dist/chunks/{file-fctbv38k.js → schema-m78x72r0.js} +24 -24
- package/dist/chunks/{file-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-tz1hbxk4.js → schema-mbdq616m.js} +3 -3
- package/dist/chunks/schema-mcf5jnse.js +251 -0
- package/dist/chunks/{file-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-mvfsc1pv.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{file-9tb0rzq8.js → schema-mwvhjw6h.js} +4 -4
- package/dist/chunks/{file-qd4n55pn.js → schema-n2d5y50v.js} +25 -25
- package/dist/chunks/{file-3pbjq009.js → schema-nbzsj80d.js} +8 -8
- package/dist/chunks/{file-xe94yqgp.js → schema-ngdt5g2x.js} +4 -4
- package/dist/chunks/{file-dqvbfby7.js → schema-nmgr8g8c.js} +148 -148
- package/dist/chunks/{file-6gryy3ht.js → schema-p421fag0.js} +24 -24
- package/dist/chunks/{file-ef6j5nc6.js → schema-p7c14d8d.js} +6 -6
- package/dist/chunks/{file-m49cwa8c.js → schema-pd220wzj.js} +15 -15
- package/dist/chunks/{file-e6hd9jay.js → schema-pf2hb43r.js} +4 -4
- package/dist/chunks/{file-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{file-pmh6tya1.js → schema-pm4v7ydf.js} +20 -20
- package/dist/chunks/{file-eqjzvt4d.js → schema-pvzz4sxc.js} +8 -8
- package/dist/chunks/{file-et0rkxxj.js → schema-q6d53jre.js} +8 -8
- package/dist/chunks/{file-t50jsm69.js → schema-q8nh9zc3.js} +24 -24
- package/dist/chunks/{file-mqadsv8v.js → schema-qcvrnmmq.js} +9 -9
- package/dist/chunks/{file-yn670k7r.js → schema-qd1x2qgj.js} +23 -23
- package/dist/chunks/{file-2k8khapm.js → schema-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-4rcm86v0.js → schema-qh9emc0v.js} +15 -15
- package/dist/chunks/{file-s48t05nw.js → schema-qhz8q2jf.js} +13 -13
- package/dist/chunks/{file-de97ckz5.js → schema-qrqn1tr2.js} +2 -2
- package/dist/chunks/{file-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{file-y3dttyaz.js → schema-r3y59r7w.js} +41 -41
- package/dist/chunks/{file-m3td6s3w.js → schema-r4n9yfm1.js} +9 -9
- package/dist/chunks/{file-cb51cg86.js → schema-r5014e5h.js} +83 -83
- package/dist/chunks/{file-mry3yw3z.js → schema-r5pbn9nf.js} +28 -28
- package/dist/chunks/{file-r9mregkx.js → schema-r9mregkx.js} +2 -2
- package/dist/chunks/{file-xjrg1qn8.js → schema-rdbkvccz.js} +11 -11
- package/dist/chunks/{file-jbkjz0j2.js → schema-rdmtb0vk.js} +15 -15
- package/dist/chunks/{file-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-s8rxtnbc.js → schema-repgqd6d.js} +11 -11
- package/dist/chunks/{file-7dx4zb5w.js → schema-rky73ewa.js} +28 -28
- package/dist/chunks/{file-0h54jqbs.js → schema-rmdyxgmk.js} +8 -8
- package/dist/chunks/{file-f42mf92g.js → schema-rw34nk5q.js} +8 -8
- package/dist/chunks/{file-5276hfdk.js → schema-rwq5zk2b.js} +19 -19
- package/dist/chunks/{file-b1e26q27.js → schema-s8gwc44q.js} +34 -34
- package/dist/chunks/{file-00ahzcwm.js → schema-sa5zx4n8.js} +13 -13
- package/dist/chunks/{file-58qyzcvs.js → schema-sm7k5sd0.js} +9 -9
- package/dist/chunks/{file-3z6mat0v.js → schema-sn2xabbp.js} +24 -24
- package/dist/chunks/{file-919h57eb.js → schema-sn48k21j.js} +26 -26
- package/dist/chunks/{file-3xy0seps.js → schema-t1fh5c1n.js} +3 -3
- package/dist/chunks/{file-n1jngd1w.js → schema-t71md4gs.js} +24 -24
- package/dist/chunks/{file-0v53mg2y.js → schema-t9zs3egg.js} +4 -4
- package/dist/chunks/{file-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{file-28q1zxr2.js → schema-tmadm20y.js} +8 -8
- package/dist/chunks/{file-c78bbtc9.js → schema-tn0aqsam.js} +5 -5
- package/dist/chunks/{file-vanydjgv.js → schema-tnyhqet0.js} +42 -42
- package/dist/chunks/{file-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{file-p9v06vkv.js → schema-tyh31ery.js} +7 -7
- package/dist/chunks/{file-em65arkj.js → schema-v2c8bhec.js} +33 -33
- package/dist/chunks/{file-ev5x2d0f.js → schema-v78m1hhx.js} +20 -20
- package/dist/chunks/{file-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{file-j325xqev.js → schema-vmgq4x8b.js} +2 -2
- package/dist/chunks/{file-0mt6cg7p.js → schema-vmwh049b.js} +3 -3
- package/dist/chunks/{file-z7bpncyg.js → schema-vvxf2beg.js} +11 -11
- package/dist/chunks/{file-frmeqhta.js → schema-vwbppz9h.js} +7 -7
- package/dist/chunks/{file-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-8yjzh81f.js → schema-vzeyx8aa.js} +6 -6
- package/dist/chunks/{file-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-tmz405jm.js → schema-wam2jwg7.js} +27 -27
- package/dist/chunks/{file-bgxcxs0p.js → schema-wbkyxrgf.js} +5 -5
- package/dist/chunks/{file-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{file-pajef2pp.js → schema-wex0gst8.js} +4 -4
- package/dist/chunks/{file-nx3x71r4.js → schema-wftdh6vh.js} +3 -3
- package/dist/chunks/{file-34v3mw25.js → schema-wvz6pyvx.js} +16 -16
- package/dist/chunks/{file-emc9sr5q.js → schema-wwa63ntv.js} +3 -3
- package/dist/chunks/{file-z6cdq4y7.js → schema-x0xrs2fc.js} +4 -4
- package/dist/chunks/{file-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-0vdk82c3.js → schema-x2sv7yx2.js} +20 -20
- package/dist/chunks/{file-xfz9zfky.js → schema-x4j0j53r.js} +5 -5
- package/dist/chunks/{file-agxtagsk.js → schema-x98p0sne.js} +32 -32
- package/dist/chunks/{file-5r9teng0.js → schema-xd8232zg.js} +4 -4
- package/dist/chunks/{file-eqz5qmce.js → schema-xdhjt98p.js} +15 -15
- package/dist/chunks/{file-g0sczcq0.js → schema-xdqhawme.js} +20 -20
- package/dist/chunks/{file-gsx0ryk4.js → schema-xekzrwwc.js} +9 -9
- package/dist/chunks/{file-7qb1bt6t.js → schema-xk2q8v0k.js} +13 -13
- package/dist/chunks/{file-qyrnw00n.js → schema-xw129k3s.js} +4 -4
- package/dist/chunks/{file-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-s3dxyf65.js → schema-yd6z8b7r.js} +12 -12
- package/dist/chunks/{file-m4e3ywc5.js → schema-yhz16bh8.js} +31 -31
- package/dist/chunks/{file-yp2x3t23.js → schema-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{file-4zqrhqht.js → schema-yxpgexz8.js} +42 -42
- package/dist/chunks/{file-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/schema-z926abd4.js +4 -0
- package/dist/chunks/{file-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-jva4mgym.js → schema-zj09a0ew.js} +4 -4
- package/dist/chunks/{file-vcyhp7t3.js → schema-zj9nynzz.js} +11 -11
- package/dist/chunks/{file-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-5c70fjhz.js → schema-zt03gkt5.js} +4 -4
- package/dist/chunks/{file-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +99 -99
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +103 -103
- 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 +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +99 -99
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-36msp9ny.js +0 -26
- package/dist/chunks/file-qapv375x.js +0 -4
- package/dist/chunks/file-qc068m1q.js +0 -18
- package/dist/chunks/file-yqncp4jv.js +0 -251
- /package/dist/chunks/{file-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → schema-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service79,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-41kev6en.js";
|
|
11
11
|
import {
|
|
12
12
|
Service77,
|
|
13
13
|
node82
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-qrqn1tr2.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service49,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node52,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service49 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID3.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node52 = makeLocationNode({
|
|
144
|
+
service: Service49,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service49, Service49.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service70, Service70.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID3, Error3, Service49, node52, noopLayer3, exports_snapshot2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info14
|
|
6
|
+
} from "./schema-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info13
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info14)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info13, exports_agent3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./schema-47gsdddb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node54
|
|
4
|
+
} from "./schema-7b3vjk9x.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
ID14,
|
|
11
|
-
Service71,
|
|
12
|
-
node76
|
|
13
|
-
} from "./file-m947q6k5.js";
|
|
8
|
+
} from "./schema-wex0gst8.js";
|
|
14
9
|
import {
|
|
15
10
|
ID15,
|
|
11
|
+
Service75,
|
|
12
|
+
node80
|
|
13
|
+
} from "./schema-a3aw0xhm.js";
|
|
14
|
+
import {
|
|
15
|
+
ID10,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-ees6gnzr.js";
|
|
18
18
|
import {
|
|
19
19
|
ID8,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service59,
|
|
24
|
+
node63
|
|
25
|
+
} from "./schema-sn48k21j.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-922hggd3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info32,
|
|
31
31
|
Ref4,
|
|
32
32
|
Service77,
|
|
33
33
|
node82
|
|
34
|
-
} from "./
|
|
35
|
-
import {
|
|
36
|
-
ID6,
|
|
37
|
-
Service60,
|
|
38
|
-
node64
|
|
39
|
-
} from "./file-pmh6tya1.js";
|
|
34
|
+
} from "./schema-qrqn1tr2.js";
|
|
40
35
|
import {
|
|
36
|
+
ID7,
|
|
41
37
|
Service58,
|
|
42
38
|
node62
|
|
43
|
-
} from "./
|
|
39
|
+
} from "./schema-pm4v7ydf.js";
|
|
44
40
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
41
|
+
Service48,
|
|
42
|
+
node51
|
|
43
|
+
} from "./schema-b1e4svfj.js";
|
|
48
44
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
45
|
+
Service45,
|
|
46
|
+
node48
|
|
47
|
+
} from "./schema-p421fag0.js";
|
|
52
48
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
49
|
+
Service66,
|
|
50
|
+
node71
|
|
51
|
+
} from "./schema-7r0b8j13.js";
|
|
56
52
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./file-t50jsm69.js";
|
|
53
|
+
Service50,
|
|
54
|
+
node53
|
|
55
|
+
} from "./schema-379qd7x1.js";
|
|
61
56
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
ID6,
|
|
58
|
+
Service56,
|
|
59
|
+
node60
|
|
60
|
+
} from "./schema-q8nh9zc3.js";
|
|
64
61
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./file-k2bnz6b5.js";
|
|
62
|
+
ID11
|
|
63
|
+
} from "./schema-1awhc7qw.js";
|
|
68
64
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
65
|
+
Service34,
|
|
66
|
+
node38
|
|
67
|
+
} from "./schema-84rdt8rr.js";
|
|
72
68
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
69
|
+
Service76,
|
|
70
|
+
node81
|
|
71
|
+
} from "./schema-8mwk31bk.js";
|
|
76
72
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
73
|
+
Service72,
|
|
74
|
+
node77
|
|
75
|
+
} from "./schema-8nkhzrtw.js";
|
|
80
76
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./file-kjpj2a9q.js";
|
|
77
|
+
Service53,
|
|
78
|
+
node57
|
|
79
|
+
} from "./schema-t71md4gs.js";
|
|
85
80
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
81
|
+
Source3,
|
|
82
|
+
Service37,
|
|
83
|
+
node41
|
|
84
|
+
} from "./schema-d1f6kvyp.js";
|
|
90
85
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
Info9,
|
|
87
|
+
Service52,
|
|
88
|
+
node56
|
|
89
|
+
} from "./schema-3xmwv3w1.js";
|
|
94
90
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
91
|
+
Service22,
|
|
92
|
+
node26
|
|
93
|
+
} from "./schema-1w8mjab2.js";
|
|
98
94
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
95
|
+
Service19,
|
|
96
|
+
node23
|
|
97
|
+
} from "./schema-kjd1s91a.js";
|
|
102
98
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
99
|
+
Service67,
|
|
100
|
+
node72
|
|
101
|
+
} from "./schema-rdbkvccz.js";
|
|
102
|
+
import {
|
|
103
|
+
Service21,
|
|
104
|
+
node25
|
|
105
|
+
} from "./schema-drh46rkg.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID4,
|
|
108
|
+
Service51,
|
|
109
|
+
node55
|
|
110
|
+
} from "./schema-qd1x2qgj.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info3,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./
|
|
116
|
+
Service18,
|
|
117
|
+
node22
|
|
118
|
+
} from "./schema-rky73ewa.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service20,
|
|
121
|
+
node24
|
|
122
|
+
} from "./schema-enw4dg89.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
|
-
} from "./
|
|
125
|
+
} from "./schema-9rqn6x4v.js";
|
|
126
126
|
|
|
127
127
|
// src/plugin/host.ts
|
|
128
128
|
var exports_host = {};
|
|
@@ -140,29 +140,29 @@ var mutable = (value) => value;
|
|
|
140
140
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
141
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
142
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const providers = yield*
|
|
146
|
-
const models = yield*
|
|
147
|
-
const commands = yield*
|
|
143
|
+
const agents = yield* Service75;
|
|
144
|
+
const aisdk = yield* Service48;
|
|
145
|
+
const providers = yield* Service58;
|
|
146
|
+
const models = yield* Service56;
|
|
147
|
+
const commands = yield* Service45;
|
|
148
148
|
const bus = yield* Service80;
|
|
149
|
-
const integration = yield*
|
|
150
|
-
const kv = yield*
|
|
151
|
-
const mcp = yield*
|
|
149
|
+
const integration = yield* Service59;
|
|
150
|
+
const kv = yield* Service66;
|
|
151
|
+
const mcp = yield* Service34;
|
|
152
152
|
const location = yield* Service77;
|
|
153
|
-
const reference = yield*
|
|
154
|
-
const rpc = yield*
|
|
155
|
-
const skill = yield*
|
|
156
|
-
const tools = yield*
|
|
157
|
-
const vcs = yield*
|
|
158
|
-
const websearch = yield*
|
|
159
|
-
const generate = yield*
|
|
160
|
-
const permission = yield*
|
|
161
|
-
const hooks = yield*
|
|
162
|
-
const sessions = yield*
|
|
163
|
-
const persistentPty = yield*
|
|
164
|
-
const locations = yield*
|
|
165
|
-
const worktrees = yield*
|
|
153
|
+
const reference = yield* Service37;
|
|
154
|
+
const rpc = yield* Service67;
|
|
155
|
+
const skill = yield* Service52;
|
|
156
|
+
const tools = yield* Service53;
|
|
157
|
+
const vcs = yield* Service21;
|
|
158
|
+
const websearch = yield* Service51;
|
|
159
|
+
const generate = yield* Service20;
|
|
160
|
+
const permission = yield* Service72;
|
|
161
|
+
const hooks = yield* Service76;
|
|
162
|
+
const sessions = yield* Service22;
|
|
163
|
+
const persistentPty = yield* Service19;
|
|
164
|
+
const locations = yield* Service50;
|
|
165
|
+
const worktrees = yield* Service18;
|
|
166
166
|
const locationInfo = () => new Info32({
|
|
167
167
|
directory: location.directory,
|
|
168
168
|
workspaceID: location.workspaceID,
|
|
@@ -170,7 +170,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
170
170
|
});
|
|
171
171
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
172
172
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
173
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
173
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
|
|
174
174
|
});
|
|
175
175
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
176
176
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -182,16 +182,16 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
182
182
|
return Effect.gen(function* () {
|
|
183
183
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
184
184
|
const plugins = yield* Plugin.Service;
|
|
185
|
-
const target = yield*
|
|
185
|
+
const target = yield* Service18;
|
|
186
186
|
yield* plugins.awaitActivation;
|
|
187
187
|
return yield* run(target);
|
|
188
188
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
189
189
|
};
|
|
190
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
190
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info3);
|
|
191
191
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
192
192
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
193
193
|
const location = yield* Service77;
|
|
194
|
-
const agents = yield*
|
|
194
|
+
const agents = yield* Service75;
|
|
195
195
|
return {
|
|
196
196
|
location: new Info32({
|
|
197
197
|
directory: location.directory,
|
|
@@ -225,10 +225,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
225
225
|
transform: (callback) => agents.transform((editor) => {
|
|
226
226
|
callback({
|
|
227
227
|
list: () => mutable(editor.list()),
|
|
228
|
-
get: (id) => mutable(editor.get(
|
|
229
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
230
|
-
update: (id, update) => editor.update(
|
|
231
|
-
remove: (id) => editor.remove(
|
|
228
|
+
get: (id) => mutable(editor.get(ID15.make(id))),
|
|
229
|
+
default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
|
|
230
|
+
update: (id, update) => editor.update(ID15.make(id), update),
|
|
231
|
+
remove: (id) => editor.remove(ID15.make(id))
|
|
232
232
|
});
|
|
233
233
|
})
|
|
234
234
|
},
|
|
@@ -262,22 +262,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
262
262
|
},
|
|
263
263
|
provider: {
|
|
264
264
|
list: () => response(providers.available()),
|
|
265
|
-
get: (input) => providers.get(
|
|
265
|
+
get: (input) => providers.get(ID7.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
266
266
|
reload: providers.reload,
|
|
267
267
|
transform: (callback) => providers.transform((editor) => {
|
|
268
268
|
callback({
|
|
269
269
|
list: editor.list,
|
|
270
|
-
get: (id) => editor.get(
|
|
270
|
+
get: (id) => editor.get(ID7.make(id)),
|
|
271
271
|
add: (definition) => editor.add({
|
|
272
272
|
...definition,
|
|
273
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
273
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID10.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
274
274
|
}),
|
|
275
|
-
update: (id, update) => editor.update(
|
|
276
|
-
remove: (id) => editor.remove(
|
|
275
|
+
update: (id, update) => editor.update(ID7.make(id), update),
|
|
276
|
+
remove: (id) => editor.remove(ID7.make(id)),
|
|
277
277
|
models: {
|
|
278
|
-
set: (id, models) => editor.models.set(
|
|
279
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
280
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
278
|
+
set: (id, models) => editor.models.set(ID7.make(id), models),
|
|
279
|
+
update: (providerID, modelID, update) => editor.models.update(ID7.make(providerID), ID6.make(modelID), update),
|
|
280
|
+
remove: (providerID, modelID) => editor.models.remove(ID7.make(providerID), ID6.make(modelID))
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
283
|
})
|
|
@@ -287,17 +287,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
287
287
|
default: () => response(models.default()),
|
|
288
288
|
reload: models.reload,
|
|
289
289
|
transform: (callback) => models.transform((editor) => callback({
|
|
290
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
291
|
-
get: (providerID, modelID) => editor.get(
|
|
292
|
-
update: (providerID, modelID, update) => editor.update(
|
|
293
|
-
remove: (providerID, modelID) => editor.remove(
|
|
290
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID7.make(providerID)),
|
|
291
|
+
get: (providerID, modelID) => editor.get(ID7.make(providerID), ID6.make(modelID)),
|
|
292
|
+
update: (providerID, modelID, update) => editor.update(ID7.make(providerID), ID6.make(modelID), update),
|
|
293
|
+
remove: (providerID, modelID) => editor.remove(ID7.make(providerID), ID6.make(modelID)),
|
|
294
294
|
default: {
|
|
295
295
|
get: editor.default.get,
|
|
296
|
-
set: (providerID, modelID) => editor.default.set(
|
|
296
|
+
set: (providerID, modelID) => editor.default.set(ID7.make(providerID), ID6.make(modelID))
|
|
297
297
|
},
|
|
298
298
|
provider: {
|
|
299
299
|
list: editor.provider.list,
|
|
300
|
-
get: (id) => editor.provider.get(
|
|
300
|
+
get: (id) => editor.provider.get(ID7.make(id))
|
|
301
301
|
}
|
|
302
302
|
}))
|
|
303
303
|
},
|
|
@@ -372,7 +372,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
372
372
|
reload: integration.reload,
|
|
373
373
|
connection: {
|
|
374
374
|
active: (id) => integration.connection.active(ID8.make(id)),
|
|
375
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
375
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID10.make(connection.id) } : connection)
|
|
376
376
|
},
|
|
377
377
|
transform: (callback) => integration.transform((editor) => {
|
|
378
378
|
callback({
|
|
@@ -394,7 +394,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
394
394
|
if (ref && !isCurrentLocation(ref))
|
|
395
395
|
return Effect.gen(function* () {
|
|
396
396
|
const location = yield* Service77;
|
|
397
|
-
const mcp = yield*
|
|
397
|
+
const mcp = yield* Service34;
|
|
398
398
|
return {
|
|
399
399
|
location: new Info32({
|
|
400
400
|
directory: location.directory,
|
|
@@ -432,7 +432,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
432
432
|
reload: reference.reload,
|
|
433
433
|
transform: (callback) => reference.transform((editor) => {
|
|
434
434
|
callback({
|
|
435
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
435
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
436
436
|
remove: editor.remove,
|
|
437
437
|
list: editor.list,
|
|
438
438
|
get: editor.get
|
|
@@ -446,7 +446,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
446
446
|
callback({
|
|
447
447
|
list: () => mutable(editor.list()),
|
|
448
448
|
get: editor.get,
|
|
449
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
449
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
|
|
450
450
|
update: editor.update,
|
|
451
451
|
remove: editor.remove
|
|
452
452
|
});
|
|
@@ -474,19 +474,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
474
474
|
providers: () => response(websearch.providers()),
|
|
475
475
|
query: (input) => response(websearch.query({
|
|
476
476
|
query: input.query,
|
|
477
|
-
providerID: input.providerID === undefined ? undefined :
|
|
477
|
+
providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
|
|
478
478
|
})),
|
|
479
479
|
reload: websearch.reload,
|
|
480
480
|
transform: (callback) => websearch.transform((editor) => {
|
|
481
481
|
callback({
|
|
482
482
|
add: (definition) => editor.add({
|
|
483
|
-
id:
|
|
483
|
+
id: ID4.make(definition.id),
|
|
484
484
|
name: definition.name,
|
|
485
485
|
execute: definition.execute
|
|
486
486
|
}),
|
|
487
487
|
default: {
|
|
488
488
|
get: editor.default.get,
|
|
489
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
489
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
|
|
490
490
|
}
|
|
491
491
|
});
|
|
492
492
|
})
|
|
@@ -534,30 +534,30 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
534
534
|
return context;
|
|
535
535
|
});
|
|
536
536
|
var requirements3 = LayerNode.group([
|
|
537
|
-
|
|
538
|
-
|
|
537
|
+
node54,
|
|
538
|
+
node80,
|
|
539
|
+
node51,
|
|
539
540
|
node62,
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
node68,
|
|
541
|
+
node60,
|
|
542
|
+
node48,
|
|
543
543
|
node85,
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
544
|
+
node63,
|
|
545
|
+
node71,
|
|
546
|
+
node38,
|
|
547
547
|
node82,
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
548
|
+
node41,
|
|
549
|
+
node72,
|
|
550
|
+
node56,
|
|
551
|
+
node57,
|
|
552
|
+
node25,
|
|
553
|
+
node55,
|
|
552
554
|
node22,
|
|
553
|
-
|
|
554
|
-
|
|
555
|
+
node24,
|
|
556
|
+
node77,
|
|
557
|
+
node81,
|
|
558
|
+
node26,
|
|
555
559
|
node23,
|
|
556
|
-
|
|
557
|
-
node74,
|
|
558
|
-
node29,
|
|
559
|
-
node25,
|
|
560
|
-
node56
|
|
560
|
+
node53
|
|
561
561
|
]);
|
|
562
562
|
function storage2(kv, pluginID) {
|
|
563
563
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|