@opencode/core 0.0.0-dev-21327 → 0.0.0-dev-21339
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-services-arg7k0rm.js → mime-05jxx6vq.js} +48 -48
- package/dist/chunks/{location-services-wkjbzrqs.js → mime-0hhagn33.js} +11 -11
- package/dist/chunks/{location-services-dt9n2fs7.js → mime-0rhhft0h.js} +11 -11
- package/dist/chunks/{location-services-q57gstmg.js → mime-0v987vhe.js} +26 -26
- package/dist/chunks/{location-services-0vbcp93d.js → mime-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-pmc13vdj.js → mime-1a3qc000.js} +45 -45
- package/dist/chunks/{location-services-e0aycr6x.js → mime-1b1qa5s5.js} +19 -19
- package/dist/chunks/{location-services-bzeyqsqd.js → mime-1ep4rre3.js} +4 -4
- package/dist/chunks/{location-services-xf751c4y.js → mime-1snez3q2.js} +13 -13
- package/dist/chunks/{location-services-wcnw1vw1.js → mime-1ze9gtzp.js} +4 -4
- package/dist/chunks/{location-services-qhdbhx6b.js → mime-210j301x.js} +38 -38
- package/dist/chunks/{location-services-tc0m6ret.js → mime-26470n97.js} +27 -27
- package/dist/chunks/{location-services-1cz5vd6m.js → mime-27j7atwd.js} +11 -11
- package/dist/chunks/{location-services-b19rn14h.js → mime-2fmt2z51.js} +36 -36
- package/dist/chunks/{location-services-fvaedygc.js → mime-2grhns7t.js} +24 -24
- package/dist/chunks/{location-services-efpcgx8s.js → mime-2j2zyrdy.js} +11 -11
- package/dist/chunks/{location-services-htn30amb.js → mime-2kt5zs07.js} +16 -16
- package/dist/chunks/{location-services-z62wxppr.js → mime-2n69efwp.js} +32 -32
- package/dist/chunks/{location-services-19fcc8g5.js → mime-2pyykhxq.js} +8 -8
- package/dist/chunks/{location-services-pnrj3g4m.js → mime-2q3hah95.js} +47 -47
- package/dist/chunks/{location-services-qcmh19j6.js → mime-2wvwvgpp.js} +6 -6
- package/dist/chunks/{location-services-4a24ra19.js → mime-35tct5cx.js} +8 -8
- package/dist/chunks/{location-services-evpqvz2q.js → mime-363xf73s.js} +14 -14
- package/dist/chunks/{location-services-zx95ftzb.js → mime-36j2w7vd.js} +3 -3
- package/dist/chunks/{location-services-tx9w5tca.js → mime-3a83a0n4.js} +8 -8
- package/dist/chunks/{location-services-yz7p0tm3.js → mime-3h8ybeqf.js} +18 -18
- package/dist/chunks/{location-services-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3hwn7j4h.js → mime-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-services-cdsvj98t.js → mime-3nx13vd1.js} +12 -12
- package/dist/chunks/{location-services-9gea571p.js → mime-3ppptnan.js} +6 -6
- package/dist/chunks/{location-services-rrejsa25.js → mime-3sgrx7eh.js} +4 -4
- package/dist/chunks/{location-services-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-cejp4z28.js → mime-45fhfyb6.js} +21 -21
- package/dist/chunks/{location-services-ytcghdxg.js → mime-4edh1ybr.js} +45 -45
- package/dist/chunks/{location-services-dwkd17za.js → mime-4msn1dn7.js} +8 -8
- package/dist/chunks/{location-services-kjdm35cs.js → mime-4xpgt2w9.js} +5 -5
- package/dist/chunks/{location-services-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-1n3g3nm2.js → mime-591vmycm.js} +16 -16
- package/dist/chunks/{location-services-pddqmh0s.js → mime-5k1a8c9n.js} +3 -3
- package/dist/chunks/{location-services-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-ay8yb9a7.js → mime-5mcb4r82.js} +33 -33
- package/dist/chunks/{location-services-1468jth2.js → mime-5nq1ms6a.js} +15 -15
- package/dist/chunks/{location-services-m7kg52ne.js → mime-65bdep3p.js} +17 -17
- package/dist/chunks/{location-services-6827pfxn.js → mime-6827pfxn.js} +1 -1
- package/dist/chunks/{location-services-236vqjbe.js → mime-6bkjad7x.js} +24 -24
- package/dist/chunks/{location-services-b95m0dfq.js → mime-6c74smgc.js} +28 -28
- package/dist/chunks/{location-services-ykzr8wnw.js → mime-6hw2byvg.js} +31 -31
- package/dist/chunks/{location-services-8sze2n9a.js → mime-6pc27hjz.js} +2 -2
- package/dist/chunks/{location-services-nt5b7deb.js → mime-6sv1j7p1.js} +21 -21
- package/dist/chunks/{location-services-6xb47vfp.js → mime-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-services-9x1189rx.js → mime-6xp6e7ew.js} +12 -12
- package/dist/chunks/{location-services-zdrf9b2p.js → mime-75zn4nez.js} +30 -30
- package/dist/chunks/{location-services-775gj3j1.js → mime-775gj3j1.js} +2 -2
- package/dist/chunks/{location-services-abpcsv2g.js → mime-7b8dthfm.js} +25 -25
- package/dist/chunks/{location-services-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-y3h6n91n.js → mime-7g7vpgt6.js} +29 -29
- package/dist/chunks/{location-services-n3rpngyn.js → mime-7tf8dtmq.js} +25 -25
- package/dist/chunks/{location-services-a20pjse5.js → mime-7v6vae4w.js} +3 -3
- package/dist/chunks/{location-services-5c34nnkn.js → mime-7ycn1xyn.js} +3 -3
- package/dist/chunks/{location-services-m0gv95n6.js → mime-7yhmtxjy.js} +46 -46
- package/dist/chunks/{location-services-q2wpwd1q.js → mime-7zz66x27.js} +8 -8
- package/dist/chunks/{location-services-a89e0tac.js → mime-86qzxe6p.js} +4 -4
- package/dist/chunks/{location-services-x4kb7bna.js → mime-88w3pbz4.js} +11 -11
- package/dist/chunks/mime-8jd76e5x.js +257 -0
- package/dist/chunks/{location-services-8m6m0r52.js → mime-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-services-8mywswrd.js → mime-8mywswrd.js} +1 -1
- package/dist/chunks/{location-services-c87b2cm1.js → mime-8qes4zes.js} +32 -32
- package/dist/chunks/{location-services-7rn07pqm.js → mime-8wq9ahrn.js} +15 -15
- package/dist/chunks/{location-services-qw3mwbaq.js → mime-94hhz6sx.js} +5 -5
- package/dist/chunks/{location-services-na2d2yza.js → mime-96r8ntpe.js} +7 -7
- package/dist/chunks/{location-services-dtbwtpff.js → mime-9cgem3mg.js} +10 -10
- package/dist/chunks/{location-services-3zvermw0.js → mime-9cjy2y0f.js} +7 -7
- package/dist/chunks/{location-services-mem1950j.js → mime-9kh6qrvv.js} +7 -7
- package/dist/chunks/{location-services-0bckxdhn.js → mime-9q64cs7z.js} +15 -15
- package/dist/chunks/{location-services-x94t2y6k.js → mime-9thqdc0e.js} +25 -25
- package/dist/chunks/{location-services-k0a3z2qz.js → mime-a3c7ahw6.js} +4 -4
- package/dist/chunks/{location-services-g3w0eaeg.js → mime-a3t8a4ek.js} +2 -2
- package/dist/chunks/{location-services-m19pkby1.js → mime-a4kefsmz.js} +56 -56
- package/dist/chunks/{location-services-47z6rga7.js → mime-a4v46qeq.js} +20 -20
- package/dist/chunks/{location-services-h5rymnnr.js → mime-a5rstpyx.js} +22 -22
- package/dist/chunks/{location-services-azwe5p1w.js → mime-addxnjmp.js} +4 -4
- package/dist/chunks/{location-services-mmwf2vn7.js → mime-aejj3j3x.js} +21 -21
- package/dist/chunks/{location-services-3p1jsd9a.js → mime-anbvkb41.js} +84 -84
- package/dist/chunks/{location-services-6whcq1fq.js → mime-apg1ay16.js} +4 -4
- package/dist/chunks/{location-services-zzj16cr0.js → mime-atb0xsyr.js} +29 -29
- package/dist/chunks/{location-services-qn8xcv6d.js → mime-av58fmp0.js} +5 -5
- package/dist/chunks/{location-services-kmgtaefj.js → mime-awzs35ex.js} +39 -39
- package/dist/chunks/{location-services-8tp1g3x5.js → mime-ayydppvk.js} +19 -19
- package/dist/chunks/mime-b8nzk91a.js +26 -0
- package/dist/chunks/{location-services-xf6fnzn0.js → mime-bj5rwn3p.js} +32 -32
- package/dist/chunks/{location-services-wjr9rjd7.js → mime-bjx1sjef.js} +6 -6
- package/dist/chunks/{location-services-2hj7dgpm.js → mime-bq2yw3wa.js} +12 -12
- package/dist/chunks/{location-services-9897cwd1.js → mime-bt6pkkaj.js} +22 -22
- package/dist/chunks/{location-services-f5gnwvd0.js → mime-btnda7dc.js} +28 -28
- package/dist/chunks/{location-services-y7nndgyc.js → mime-bxqk5pf5.js} +9 -9
- package/dist/chunks/{location-services-a9vndfjb.js → mime-by1qby35.js} +1 -1
- package/dist/chunks/mime-by5v678g.js +18 -0
- package/dist/chunks/{location-services-es1vcfrp.js → mime-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-services-a1md0fae.js → mime-c4dg695b.js} +13 -13
- package/dist/chunks/{location-services-fw6ztw8z.js → mime-cb8phqng.js} +28 -28
- package/dist/chunks/{location-services-9gvj1t03.js → mime-cbh1pab3.js} +18 -18
- package/dist/chunks/{location-services-6kn5fnc5.js → mime-cdfyyb39.js} +14 -14
- package/dist/chunks/{location-services-yrve3h5h.js → mime-cma758yw.js} +20 -20
- package/dist/chunks/{location-services-7b1m0q4z.js → mime-cmwcrfjs.js} +11 -11
- package/dist/chunks/{location-services-vr0gae1a.js → mime-cn7axejn.js} +21 -21
- package/dist/chunks/{location-services-4h2zqxk4.js → mime-cxz2ffwb.js} +11 -11
- package/dist/chunks/{location-services-wrvsrbns.js → mime-cym0ttr6.js} +17 -17
- package/dist/chunks/{location-services-tzh7nywn.js → mime-d0t8fgr2.js} +9 -9
- package/dist/chunks/{location-services-sm06z12z.js → mime-d1dj0fst.js} +33 -33
- package/dist/chunks/{location-services-6hh8tjw2.js → mime-d216944b.js} +7 -7
- package/dist/chunks/{location-services-8rez25b9.js → mime-d960kgxh.js} +4 -4
- package/dist/chunks/{location-services-jvg4w983.js → mime-dbh0v57c.js} +22 -22
- package/dist/chunks/{location-services-tanayhyb.js → mime-dcbq9ht0.js} +15 -15
- package/dist/chunks/{location-services-5jb9xrt6.js → mime-dkbgdzkv.js} +8 -8
- package/dist/chunks/{location-services-ve7rc23n.js → mime-dr59kwwc.js} +3 -3
- package/dist/chunks/{location-services-xfkkasph.js → mime-drwq78ky.js} +4 -4
- package/dist/chunks/{location-services-yssnk412.js → mime-e5dpp224.js} +2 -2
- package/dist/chunks/{location-services-5gs82an1.js → mime-e6q92anz.js} +15 -15
- package/dist/chunks/{location-services-4xc83dq9.js → mime-eas6sj4m.js} +5 -5
- package/dist/chunks/{location-services-nhd25jm2.js → mime-eeesey6v.js} +11 -11
- package/dist/chunks/{location-services-eej6y6fw.js → mime-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-services-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-1k7heb6s.js → mime-ef9ze1vx.js} +15 -15
- package/dist/chunks/{location-services-9yfmw94a.js → mime-ekeymhmr.js} +35 -35
- package/dist/chunks/{location-services-ybk3dexv.js → mime-esy1dcn0.js} +29 -29
- package/dist/chunks/{location-services-715fz9ra.js → mime-f3e0sx8s.js} +9 -9
- package/dist/chunks/{location-services-xc7k2788.js → mime-f81gjvr6.js} +37 -37
- package/dist/chunks/{location-services-bjk25w1p.js → mime-f8694tqq.js} +11 -11
- package/dist/chunks/{location-services-gz42j0qk.js → mime-f9gevem8.js} +23 -23
- package/dist/chunks/{location-services-fcy631f0.js → mime-fcy631f0.js} +1 -1
- package/dist/chunks/{location-services-gph3bgda.js → mime-fdfn6aez.js} +7 -7
- package/dist/chunks/{location-services-fwwk8vbp.js → mime-fdms3n6w.js} +9 -9
- package/dist/chunks/{location-services-tteajt19.js → mime-frq3w790.js} +3 -3
- package/dist/chunks/{location-services-sznqrxer.js → mime-fwhrxgsc.js} +4 -4
- package/dist/chunks/{location-services-tc11merm.js → mime-fww2ha2b.js} +10 -10
- package/dist/chunks/{location-services-rxcc1h6d.js → mime-gc287a5z.js} +17 -17
- package/dist/chunks/{location-services-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-0hkrfhh8.js → mime-gd5kscdp.js} +47 -47
- package/dist/chunks/mime-gfv74hsb.js +517 -0
- package/dist/chunks/{location-services-vp8kenv8.js → mime-gg0kdfz9.js} +4 -4
- package/dist/chunks/{location-services-4ap7vkm6.js → mime-ggxg7af5.js} +41 -41
- package/dist/chunks/{location-services-9hwaqfsw.js → mime-gj71zhbs.js} +5 -5
- package/dist/chunks/{location-services-d4he2qe1.js → mime-gjwgx2c5.js} +8 -8
- package/dist/chunks/{location-services-dd6ths3b.js → mime-gkj5aw2x.js} +33 -33
- package/dist/chunks/{location-services-e2hjzebn.js → mime-gst7axd9.js} +4 -4
- package/dist/chunks/{location-services-1t7yake1.js → mime-gsy7xxhc.js} +18 -18
- package/dist/chunks/{location-services-ftrgem1b.js → mime-h1hqyy2d.js} +4 -4
- package/dist/chunks/{location-services-9t3kk5sf.js → mime-h2v6zsz5.js} +8 -8
- package/dist/chunks/{location-services-1p295dse.js → mime-h6ctxkn0.js} +19 -19
- package/dist/chunks/{location-services-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-g71www4e.js → mime-h9jhph60.js} +31 -31
- package/dist/chunks/{location-services-6a20fkbr.js → mime-hfsvs7n4.js} +15 -15
- package/dist/chunks/{location-services-hgz4x7wa.js → mime-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-services-ddz31ytd.js → mime-hn7zz1xj.js} +6 -6
- package/dist/chunks/{location-services-khmqacep.js → mime-hq3c8me3.js} +4 -4
- package/dist/chunks/{location-services-7nrbmt0g.js → mime-hraxftwv.js} +18 -18
- package/dist/chunks/{location-services-pn7nfh9z.js → mime-hx6xg82e.js} +11 -11
- package/dist/chunks/{location-services-0fzv5sa6.js → mime-j0bd37fk.js} +20 -20
- package/dist/chunks/{location-services-gv8e04jq.js → mime-j77evmy8.js} +34 -34
- package/dist/chunks/{location-services-qvgn3qed.js → mime-je70106q.js} +12 -12
- package/dist/chunks/{location-services-e5r5nn1p.js → mime-jjax4c95.js} +9 -9
- package/dist/chunks/{location-services-eq424ej9.js → mime-jks80q0e.js} +31 -31
- package/dist/chunks/{location-services-gce7byvs.js → mime-jna5j85n.js} +5 -5
- package/dist/chunks/{location-services-fpfnw1q7.js → mime-jv2eb38b.js} +30 -30
- package/dist/chunks/{location-services-c3j0a1zw.js → mime-jv5as095.js} +44 -44
- package/dist/chunks/{location-services-m48mbdfe.js → mime-jyegf6tw.js} +14 -14
- package/dist/chunks/{location-services-x3sc03g3.js → mime-k1s91q86.js} +11 -11
- package/dist/chunks/{location-services-pqdqbg0a.js → mime-k2an5y80.js} +16 -16
- package/dist/chunks/{location-services-3n40wvxh.js → mime-kecqjjhm.js} +5 -5
- package/dist/chunks/{location-services-4c2df9zx.js → mime-kk8h1mek.js} +8 -8
- package/dist/chunks/{location-services-jjdtyz9q.js → mime-kt2kmnda.js} +13 -13
- package/dist/chunks/{location-services-bfks4bz3.js → mime-ktct6gj7.js} +31 -31
- package/dist/chunks/{location-services-6q3b6bjm.js → mime-kw5x1ws0.js} +32 -32
- package/dist/chunks/{location-services-kwb1v3vj.js → mime-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-services-a67t462c.js → mime-m7fzbc2h.js} +11 -11
- package/dist/chunks/{location-services-6q04wm97.js → mime-m9dca9fz.js} +46 -46
- package/dist/chunks/{location-services-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-maspj1v3.js → mime-maspj1v3.js} +1 -1
- package/dist/chunks/{location-services-4zdtnvnf.js → mime-mqshze7h.js} +13 -13
- package/dist/chunks/{location-services-9da2gmc9.js → mime-mskae7ye.js} +11 -11
- package/dist/chunks/{location-services-jh28hxeq.js → mime-mvfdckk2.js} +8 -8
- package/dist/chunks/{location-services-fkh80sr4.js → mime-n0j9akmr.js} +20 -20
- package/dist/chunks/{location-services-sfew0n52.js → mime-n6rfymvw.js} +30 -30
- package/dist/chunks/{location-services-pgy08jxz.js → mime-n7bf85v8.js} +14 -14
- package/dist/chunks/{location-services-7ytf93vt.js → mime-n9mqnacb.js} +19 -19
- package/dist/chunks/{location-services-esqdnvjp.js → mime-nbdhrwgz.js} +12 -12
- package/dist/chunks/{location-services-2n4bcx2n.js → mime-nedwb6sh.js} +20 -20
- package/dist/chunks/{location-services-e80seqcp.js → mime-nma959mg.js} +3 -3
- package/dist/chunks/{location-services-v13b12ef.js → mime-nz56sr1f.js} +5 -5
- package/dist/chunks/{location-services-pa8pe2x7.js → mime-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-services-kt33j3pd.js → mime-p6tgyr8a.js} +32 -32
- package/dist/chunks/{location-services-c1w3zdf4.js → mime-pb68r9g5.js} +23 -23
- package/dist/chunks/{location-services-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-nyysptvf.js → mime-py33dmtd.js} +28 -28
- package/dist/chunks/{location-services-w9qn3bve.js → mime-q5hse70z.js} +6 -6
- package/dist/chunks/{location-services-jhf75tj1.js → mime-q8qtzweg.js} +31 -31
- package/dist/chunks/{location-services-b8e27wfc.js → mime-qafp7hve.js} +2 -2
- package/dist/chunks/{location-services-pwvwa7tm.js → mime-qg0nhskn.js} +1 -1
- package/dist/chunks/{location-services-fcrkznn8.js → mime-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-services-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-x8jkx94e.js → mime-qs1ba8h1.js} +9 -9
- package/dist/chunks/{location-services-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-xceybfq0.js → mime-qxcc90er.js} +24 -24
- package/dist/chunks/{location-services-8m1xb0y2.js → mime-r30ajxz6.js} +185 -185
- package/dist/chunks/{location-services-jkcga9ra.js → mime-r4wr7qga.js} +50 -30
- package/dist/chunks/{location-services-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-z6yetpqf.js → mime-re585wd9.js} +8 -8
- package/dist/chunks/{location-services-tkb22qbm.js → mime-rert0e01.js} +2 -2
- package/dist/chunks/{location-services-eaj1djv9.js → mime-rhjbct0v.js} +8 -8
- package/dist/chunks/{location-services-c41wscbt.js → mime-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-services-sykc9y4a.js → mime-rmk2c50f.js} +5 -5
- package/dist/chunks/{location-services-nsarv18d.js → mime-rny6abvn.js} +5 -5
- package/dist/chunks/{location-services-femnmy69.js → mime-rp9zszvz.js} +33 -33
- package/dist/chunks/{location-services-sh92vnvp.js → mime-rs8b8est.js} +18 -18
- package/dist/chunks/{location-services-sygnm33v.js → mime-rw06gb30.js} +13 -13
- package/dist/chunks/{location-services-2yz3skkc.js → mime-rwxgt69a.js} +18 -18
- package/dist/chunks/{location-services-c8ax2afj.js → mime-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-services-y8xym19h.js → mime-sc8fqqjt.js} +25 -25
- package/dist/chunks/{location-services-g3q73zyv.js → mime-snxtdzhb.js} +5 -5
- package/dist/chunks/{location-services-syv4x271.js → mime-syv4x271.js} +1 -1
- package/dist/chunks/{location-services-yjjxpjc1.js → mime-t7sgq6th.js} +29 -29
- package/dist/chunks/{location-services-w3nq1sqw.js → mime-tat11k01.js} +9 -9
- package/dist/chunks/{location-services-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-rsbsn9a9.js → mime-tjkk7p4d.js} +18 -18
- package/dist/chunks/{location-services-tm0kqsz3.js → mime-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-services-tknmgtj2.js → mime-tr3z8g9z.js} +25 -25
- package/dist/chunks/{location-services-395q6j9z.js → mime-tt8gc4fv.js} +6 -6
- package/dist/chunks/{location-services-x0yy9gzj.js → mime-tvtrzq2c.js} +11 -11
- package/dist/chunks/{location-services-waskdk5r.js → mime-txm3e8qz.js} +4 -4
- package/dist/chunks/{location-services-tyytaxap.js → mime-tyytaxap.js} +1 -1
- package/dist/chunks/{location-services-v210v162.js → mime-v210v162.js} +2 -2
- package/dist/chunks/{location-services-v7p4zvkq.js → mime-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-services-76p14g35.js → mime-vep9yay1.js} +4 -4
- package/dist/chunks/{location-services-x30jgrm5.js → mime-veq7cj7z.js} +77 -77
- package/dist/chunks/{location-services-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-05vrbjpd.js → mime-vqws8g2z.js} +14 -14
- package/dist/chunks/{location-services-w122cve8.js → mime-vt5qa7dz.js} +9 -9
- package/dist/chunks/{location-services-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-he71j8j5.js → mime-w02hg0x9.js} +14 -14
- package/dist/chunks/{location-services-xjzqmp2s.js → mime-w05fahkw.js} +54 -54
- package/dist/chunks/{location-services-ckrv9rtn.js → mime-w0rcsb4b.js} +9 -9
- package/dist/chunks/{location-services-84txncab.js → mime-w1eejvng.js} +5 -5
- package/dist/chunks/{location-services-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-j8953mcy.js → mime-w6nkw9ar.js} +4 -4
- package/dist/chunks/{location-services-k2xjg9r7.js → mime-wae9vwb0.js} +11 -11
- package/dist/chunks/{location-services-p06yjkdd.js → mime-wc3jh00j.js} +14 -14
- package/dist/chunks/{location-services-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-xfchyp9d.js → mime-we0kt4xw.js} +51 -51
- package/dist/chunks/{location-services-zg0fcdgt.js → mime-wfrjxtd3.js} +24 -24
- package/dist/chunks/{location-services-2kw39ck7.js → mime-wq6fm8d1.js} +5 -5
- package/dist/chunks/{location-services-xdpc3wk0.js → mime-x0nch90w.js} +13 -13
- package/dist/chunks/{location-services-14v2mpx3.js → mime-xb0e80n2.js} +94 -94
- package/dist/chunks/{location-services-407dbw0p.js → mime-xb5ds1z6.js} +3 -3
- package/dist/chunks/{location-services-r9g4q422.js → mime-xhxra16p.js} +2 -2
- package/dist/chunks/{location-services-wcaj0dbf.js → mime-xqe640kt.js} +16 -16
- package/dist/chunks/{location-services-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-dpkg50ah.js → mime-y71avatq.js} +4 -4
- package/dist/chunks/{location-services-cftbmsjt.js → mime-y76zyqj0.js} +30 -30
- package/dist/chunks/{location-services-rh2qk5gw.js → mime-yab6aww8.js} +5 -5
- package/dist/chunks/{location-services-n3v37e0e.js → mime-yaphm17j.js} +21 -21
- package/dist/chunks/{location-services-120canqn.js → mime-ym8x4whc.js} +6 -6
- package/dist/chunks/{location-services-f2mp2skp.js → mime-yrh91m59.js} +6 -6
- package/dist/chunks/{location-services-1tfkkk8z.js → mime-ys25sak2.js} +13 -13
- package/dist/chunks/{location-services-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-z18fegx4.js → mime-z18fegx4.js} +1 -1
- package/dist/chunks/{location-services-24ndf32s.js → mime-z2006gkr.js} +32 -32
- package/dist/chunks/{location-services-x54wym4j.js → mime-z34vmdaq.js} +13 -13
- package/dist/chunks/{location-services-f1f82w9c.js → mime-z60xwe59.js} +14 -14
- package/dist/chunks/{location-services-ndzw72bf.js → mime-z88gg5pw.js} +50 -50
- package/dist/chunks/{location-services-rgpjkcg1.js → mime-zjgm4vvw.js} +14 -14
- package/dist/chunks/{location-services-a66tszk0.js → mime-zkydccpb.js} +11 -11
- package/dist/chunks/{location-services-htqzgxkz.js → mime-znjawe4y.js} +24 -24
- package/dist/chunks/{location-services-nnx4n5pg.js → mime-zq01xz8r.js} +8 -8
- package/dist/chunks/{location-services-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +139 -139
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/location-services-3dn3j60f.js +0 -26
- package/dist/chunks/location-services-619r8v3y.js +0 -18
- package/dist/chunks/location-services-e6mk0ntt.js +0 -517
- package/dist/chunks/location-services-jsbjq7se.js +0 -257
- /package/dist/chunks/{location-services-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → mime-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → mime-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-services-pyv0edze.js → mime-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wjj7prxr.js → mime-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./mime-88w3pbz4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-qafp7hve.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service61,
|
|
13
|
+
node64
|
|
14
|
+
} from "./mime-rp9zszvz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID11,
|
|
17
|
+
Service72,
|
|
18
|
+
node76
|
|
19
|
+
} from "./mime-6bkjad7x.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./mime-q5hse70z.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./mime-rhjbct0v.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./mime-4msn1dn7.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service58,
|
|
31
|
+
node61
|
|
32
|
+
} from "./mime-gc287a5z.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./mime-w05fahkw.js";
|
|
36
36
|
import {
|
|
37
37
|
make13
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./mime-wc3jh00j.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service66,
|
|
41
|
+
node69
|
|
42
|
+
} from "./mime-t7sgq6th.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./
|
|
44
|
+
Service26,
|
|
45
|
+
node30
|
|
46
|
+
} from "./mime-k2an5y80.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
48
|
+
Service35,
|
|
49
|
+
node38
|
|
50
|
+
} from "./mime-2grhns7t.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
55
|
-
import {
|
|
56
|
-
Service39,
|
|
57
|
-
node42
|
|
58
|
-
} from "./location-services-abpcsv2g.js";
|
|
52
|
+
Service28,
|
|
53
|
+
node32
|
|
54
|
+
} from "./mime-kw5x1ws0.js";
|
|
59
55
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} from "./
|
|
56
|
+
Service27,
|
|
57
|
+
node31
|
|
58
|
+
} from "./mime-7b8dthfm.js";
|
|
63
59
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
60
|
+
Service30,
|
|
61
|
+
node34
|
|
62
|
+
} from "./mime-cym0ttr6.js";
|
|
67
63
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
64
|
+
Service25,
|
|
65
|
+
node29
|
|
66
|
+
} from "./mime-wfrjxtd3.js";
|
|
71
67
|
import {
|
|
72
68
|
Service33,
|
|
73
69
|
node37
|
|
74
|
-
} from "./
|
|
70
|
+
} from "./mime-n0j9akmr.js";
|
|
75
71
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
72
|
+
Service31,
|
|
73
|
+
node35
|
|
74
|
+
} from "./mime-z2006gkr.js";
|
|
75
|
+
import {
|
|
76
|
+
Service39,
|
|
77
|
+
node41
|
|
78
|
+
} from "./mime-1snez3q2.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./mime-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service24,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node28
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service24 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
98
|
-
const db = (yield*
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
94
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service72;
|
|
96
|
+
const builtins = yield* Service26;
|
|
97
|
+
const model = yield* Service61;
|
|
98
|
+
const db = (yield* Service86).db;
|
|
99
|
+
const discovery = yield* Service66;
|
|
100
|
+
const entries = yield* Service33;
|
|
101
101
|
const location = yield* Service82;
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
102
|
+
const mcpInstructions = yield* Service27;
|
|
103
|
+
const mcpTools = yield* Service28;
|
|
104
|
+
const models = yield* Service39;
|
|
105
|
+
const request = yield* Service31;
|
|
106
|
+
const referenceInstructions = yield* Service30;
|
|
107
|
+
const skillInstructions = yield* Service25;
|
|
108
|
+
const store = yield* Service58;
|
|
109
|
+
const registry = yield* Service35;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID11.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -185,29 +185,29 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
185
185
|
tools: selection.tools
|
|
186
186
|
};
|
|
187
187
|
});
|
|
188
|
-
return
|
|
188
|
+
return Service24.of({ select, load, resolveModel, selectTitle, request });
|
|
189
189
|
}));
|
|
190
190
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
191
|
-
var
|
|
192
|
-
service:
|
|
191
|
+
var node28 = makeLocationNode({
|
|
192
|
+
service: Service24,
|
|
193
193
|
layer,
|
|
194
194
|
deps: [
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
195
|
+
node76,
|
|
196
|
+
node64,
|
|
197
|
+
node90,
|
|
198
|
+
node30,
|
|
199
|
+
node69,
|
|
200
|
+
node37,
|
|
201
201
|
node86,
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
node31,
|
|
203
|
+
node32,
|
|
204
|
+
node34,
|
|
204
205
|
node41,
|
|
206
|
+
node35,
|
|
205
207
|
node61,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
node40,
|
|
209
|
-
node64
|
|
208
|
+
node29,
|
|
209
|
+
node38
|
|
210
210
|
]
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service24, node28, exports_context };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./mime-aejj3j3x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service70;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./mime-3nx13vd1.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-qafp7hve.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-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: () => ID4,
|
|
27
|
+
Service: () => Service45,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node47,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,20 +34,20 @@ import path from "path";
|
|
|
34
34
|
import { Clock, 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 ID4 } 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 Service45 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service82;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service81, 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)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID4.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node47 = makeLocationNode({
|
|
153
|
+
service: Service45,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node88, Global.node, node86]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer3 = Layer.succeed(
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service45, Service45.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service81, Service81.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID4, Error3, Service45, node47, noopLayer3, exports_snapshot2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./mime-2n69efwp.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-3nx13vd1.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-gebd4c9n.js";
|
|
10
|
+
import {
|
|
11
|
+
Service86,
|
|
12
|
+
node90
|
|
13
|
+
} from "./mime-88w3pbz4.js";
|
|
10
14
|
import {
|
|
11
15
|
Service85,
|
|
12
16
|
node89
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service84,
|
|
16
|
-
node88
|
|
17
|
-
} from "./location-services-htn30amb.js";
|
|
17
|
+
} from "./mime-2kt5zs07.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-rj3eygr5.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-sa8ekw3f.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-e6q92anz.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-qafp7hve.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service81,
|
|
33
|
+
node85
|
|
34
|
+
} from "./mime-qs1ba8h1.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./mime-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service50
|
|
41
|
+
} from "./mime-gsy7xxhc.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./mime-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
|
+
Info: () => Info8,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service49,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node52
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,9 +73,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info8 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event6 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service49 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const database = yield*
|
|
99
|
+
const database = yield* Service86;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service85;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service81;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service50).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service49.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node52 = Node.makeGlobalNode({
|
|
260
|
+
service: Service49,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node89, node90, AppProcess.node, node85]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service49, node52, exports_worktree2, OperationError2 };
|