@opencode/core 0.0.0-dev-21327 → 0.0.0-dev-21329
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 +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-services-236vqjbe.js → provider-00ppmc61.js} +24 -24
- package/dist/chunks/{location-services-vp8kenv8.js → provider-0530b4kq.js} +4 -4
- package/dist/chunks/{location-services-z62wxppr.js → provider-09044n1v.js} +35 -35
- package/dist/chunks/{location-services-x4kb7bna.js → provider-0ab51kag.js} +11 -11
- package/dist/chunks/{location-services-9yfmw94a.js → provider-0e84c7n6.js} +35 -35
- package/dist/chunks/{location-services-rh2qk5gw.js → provider-0f5022hy.js} +5 -5
- package/dist/chunks/{location-services-3zvermw0.js → provider-0fgtgb3k.js} +7 -7
- package/dist/chunks/{location-services-9gvj1t03.js → provider-0gppxhq7.js} +24 -24
- package/dist/chunks/{location-services-v210v162.js → provider-0javqkgf.js} +9 -9
- package/dist/chunks/{location-services-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/provider-15gjkqd1.js +26 -0
- package/dist/chunks/{location-services-c87b2cm1.js → provider-175xtgmg.js} +32 -32
- package/dist/chunks/{location-services-kt33j3pd.js → provider-1ctkwwte.js} +30 -30
- package/dist/chunks/{location-services-bzeyqsqd.js → provider-1ep4rre3.js} +4 -4
- package/dist/chunks/{location-services-jjdtyz9q.js → provider-1ftcw4z7.js} +13 -13
- package/dist/chunks/{location-services-w3nq1sqw.js → provider-1nzh38e4.js} +9 -9
- package/dist/chunks/{location-services-nhd25jm2.js → provider-1qhfkrq1.js} +11 -11
- package/dist/chunks/{location-services-g3q73zyv.js → provider-1rtmktmb.js} +5 -5
- package/dist/chunks/{location-services-he71j8j5.js → provider-1t4fqtab.js} +16 -16
- package/dist/chunks/{location-services-dd6ths3b.js → provider-1x42vr1k.js} +33 -33
- package/dist/chunks/{location-services-ve7rc23n.js → provider-1y7y12cx.js} +5 -5
- package/dist/chunks/{location-services-x3sc03g3.js → provider-1z2vw5jb.js} +6 -6
- package/dist/chunks/{location-services-395q6j9z.js → provider-25yddszk.js} +6 -6
- package/dist/chunks/{location-services-mem1950j.js → provider-29mpht4c.js} +9 -9
- package/dist/chunks/{location-services-2yz3skkc.js → provider-2ee96hg5.js} +14 -14
- package/dist/chunks/{location-services-pwvwa7tm.js → provider-2m5ysgvp.js} +1 -1
- package/dist/chunks/{location-services-d4he2qe1.js → provider-2sejkfem.js} +9 -9
- package/dist/chunks/{location-services-e2hjzebn.js → provider-2vs2nh1n.js} +4 -4
- package/dist/chunks/{location-services-n3v37e0e.js → provider-2xcwvy90.js} +21 -21
- package/dist/chunks/{location-services-pddqmh0s.js → provider-2yj1f1y3.js} +3 -3
- package/dist/chunks/{location-services-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3hwn7j4h.js → provider-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-services-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-2n4bcx2n.js → provider-3y7x8gcw.js} +20 -20
- package/dist/chunks/{location-services-nt5b7deb.js → provider-3yex0wtb.js} +21 -21
- package/dist/chunks/{location-services-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-6q04wm97.js → provider-49e8k0qr.js} +47 -47
- package/dist/chunks/{location-services-1k7heb6s.js → provider-4mw9c95a.js} +15 -15
- package/dist/chunks/{location-services-9gea571p.js → provider-4mwpykj0.js} +6 -6
- package/dist/chunks/{location-services-715fz9ra.js → provider-4mzf1xg2.js} +9 -9
- package/dist/chunks/{location-services-yz7p0tm3.js → provider-4q168qhf.js} +18 -18
- package/dist/chunks/{location-services-qcmh19j6.js → provider-4whf3fe5.js} +3 -3
- package/dist/chunks/{location-services-yssnk412.js → provider-536721yp.js} +2 -2
- package/dist/chunks/{location-services-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-pqdqbg0a.js → provider-568xrara.js} +19 -19
- package/dist/chunks/{location-services-gph3bgda.js → provider-58fxbgyk.js} +7 -7
- package/dist/chunks/{location-services-05vrbjpd.js → provider-58s3s9ss.js} +18 -18
- package/dist/chunks/{location-services-wrvsrbns.js → provider-5aacaeqp.js} +11 -11
- package/dist/chunks/{location-services-tx9w5tca.js → provider-5eer2xf9.js} +8 -8
- package/dist/chunks/{location-services-fvaedygc.js → provider-5ef4vbtz.js} +24 -24
- package/dist/chunks/{location-services-9x1189rx.js → provider-5khprdrr.js} +12 -12
- package/dist/chunks/{location-services-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-sykc9y4a.js → provider-5nrew705.js} +5 -5
- package/dist/chunks/{location-services-b95m0dfq.js → provider-5snz8jkt.js} +26 -26
- package/dist/chunks/{location-services-ndzw72bf.js → provider-5wrye2gn.js} +50 -50
- package/dist/chunks/{location-services-pa8pe2x7.js → provider-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-services-jh28hxeq.js → provider-5zt7gmc9.js} +8 -8
- package/dist/chunks/{location-services-7nrbmt0g.js → provider-60t1ftp1.js} +18 -18
- package/dist/chunks/{location-services-htn30amb.js → provider-67pr4xd1.js} +16 -16
- package/dist/chunks/{location-services-jhf75tj1.js → provider-680tw01d.js} +33 -33
- package/dist/chunks/{location-services-6827pfxn.js → provider-6827pfxn.js} +1 -1
- package/dist/chunks/{location-services-qhdbhx6b.js → provider-6he8xgzh.js} +30 -30
- package/dist/chunks/{location-services-120canqn.js → provider-6mxzj5r1.js} +6 -6
- package/dist/chunks/{location-services-pnrj3g4m.js → provider-6wg5zv2g.js} +47 -47
- package/dist/chunks/{location-services-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-services-xf751c4y.js → provider-741ezkvh.js} +13 -13
- package/dist/chunks/{location-services-tzh7nywn.js → provider-75230mfn.js} +9 -9
- package/dist/chunks/{location-services-775gj3j1.js → provider-775gj3j1.js} +2 -2
- package/dist/chunks/{location-services-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-47z6rga7.js → provider-7d8d42at.js} +22 -22
- package/dist/chunks/{location-services-abpcsv2g.js → provider-7p41bg5a.js} +23 -23
- package/dist/chunks/{location-services-nyysptvf.js → provider-7tgpfat1.js} +23 -23
- package/dist/chunks/{location-services-a20pjse5.js → provider-7v6vae4w.js} +3 -3
- package/dist/chunks/{location-services-84txncab.js → provider-84txncab.js} +1 -1
- package/dist/chunks/{location-services-m19pkby1.js → provider-885y9aej.js} +58 -58
- package/dist/chunks/{location-services-na2d2yza.js → provider-8h8zx08e.js} +7 -7
- package/dist/chunks/{location-services-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-services-8mywswrd.js → provider-8mywswrd.js} +1 -1
- package/dist/chunks/{location-services-g71www4e.js → provider-8nr0wta2.js} +36 -36
- package/dist/chunks/{location-services-eq424ej9.js → provider-8yrncfx7.js} +31 -31
- package/dist/chunks/{location-services-6kn5fnc5.js → provider-96bg00p7.js} +14 -14
- package/dist/chunks/{location-services-m7kg52ne.js → provider-96qffvj2.js} +17 -17
- package/dist/chunks/{location-services-y3h6n91n.js → provider-99rsdps6.js} +26 -26
- package/dist/chunks/{location-services-1cz5vd6m.js → provider-9sgsjpgv.js} +7 -7
- package/dist/chunks/{location-services-5c34nnkn.js → provider-9vmvrvp3.js} +3 -3
- package/dist/chunks/provider-9zdhvgqs.js +18 -0
- package/dist/chunks/{location-services-q57gstmg.js → provider-anxvjzkq.js} +28 -28
- package/dist/chunks/{location-services-ftrgem1b.js → provider-ay0g6tkj.js} +4 -4
- package/dist/chunks/{location-services-sygnm33v.js → provider-az9az350.js} +9 -9
- package/dist/chunks/{location-services-tc0m6ret.js → provider-b2sdxywb.js} +30 -30
- package/dist/chunks/{location-services-arg7k0rm.js → provider-b8wfffkn.js} +46 -46
- package/dist/chunks/{location-services-rxcc1h6d.js → provider-b9fn48zx.js} +15 -15
- package/dist/chunks/{location-services-gz42j0qk.js → provider-bbdgy53j.js} +23 -23
- package/dist/chunks/{location-services-a9vndfjb.js → provider-bcvtcraz.js} +1 -1
- package/dist/chunks/{location-services-wjr9rjd7.js → provider-bjx1sjef.js} +6 -6
- package/dist/chunks/{location-services-tteajt19.js → provider-bmx9sysk.js} +3 -3
- package/dist/chunks/{location-services-6q3b6bjm.js → provider-btgr67bq.js} +28 -28
- package/dist/chunks/{location-services-xjzqmp2s.js → provider-bx3vfcp8.js} +50 -50
- package/dist/chunks/{location-services-4ap7vkm6.js → provider-bx49fcep.js} +41 -41
- package/dist/chunks/{location-services-fwwk8vbp.js → provider-bydnjh3t.js} +9 -9
- package/dist/chunks/{location-services-5jb9xrt6.js → provider-c0q6ebnk.js} +8 -8
- package/dist/chunks/{location-services-es1vcfrp.js → provider-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-services-rsbsn9a9.js → provider-cc1a3m3w.js} +18 -18
- package/dist/chunks/{location-services-vr0gae1a.js → provider-ceas8q3x.js} +26 -26
- package/dist/chunks/{location-services-wcnw1vw1.js → provider-cefkz2r6.js} +4 -4
- package/dist/chunks/{location-services-gv8e04jq.js → provider-csy7nqcf.js} +34 -34
- package/dist/chunks/{location-services-y8xym19h.js → provider-cymk1ch0.js} +25 -25
- package/dist/chunks/{location-services-e5r5nn1p.js → provider-d1tg7a5g.js} +7 -7
- package/dist/chunks/{location-services-b19rn14h.js → provider-d3hcwwme.js} +32 -32
- package/dist/chunks/{location-services-tknmgtj2.js → provider-d3vm3y3t.js} +25 -25
- package/dist/chunks/{location-services-zg0fcdgt.js → provider-d7peams7.js} +24 -24
- package/dist/chunks/{location-services-a89e0tac.js → provider-d858xzj7.js} +4 -4
- package/dist/chunks/{location-services-fw6ztw8z.js → provider-d94zeadz.js} +30 -30
- package/dist/chunks/{location-services-c3j0a1zw.js → provider-ddxaekd8.js} +47 -47
- package/dist/chunks/provider-de0f4qpm.js +517 -0
- package/dist/chunks/{location-services-qn8xcv6d.js → provider-dmz4v12s.js} +5 -5
- package/dist/chunks/{location-services-dpkg50ah.js → provider-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-services-nnx4n5pg.js → provider-dys7k0s0.js} +6 -6
- package/dist/chunks/{location-services-xc7k2788.js → provider-e4rfwk3b.js} +35 -35
- package/dist/chunks/{location-services-x30jgrm5.js → provider-e5bf4nks.js} +72 -72
- package/dist/chunks/{location-services-407dbw0p.js → provider-e93tw7gx.js} +3 -3
- package/dist/chunks/{location-services-evpqvz2q.js → provider-eb8wfk2z.js} +14 -14
- package/dist/chunks/{location-services-xf6fnzn0.js → provider-ebe089ff.js} +32 -32
- package/dist/chunks/{location-services-eej6y6fw.js → provider-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-services-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-w122cve8.js → provider-ep1q5408.js} +9 -9
- package/dist/chunks/{location-services-h5rymnnr.js → provider-f4wt9rjv.js} +19 -19
- package/dist/chunks/{location-services-fcrkznn8.js → provider-fcrkznn8.js} +1 -1
- package/dist/chunks/{location-services-fcy631f0.js → provider-fcy631f0.js} +1 -1
- package/dist/chunks/{location-services-pn7nfh9z.js → provider-fcza8p90.js} +11 -11
- package/dist/chunks/{location-services-a67t462c.js → provider-fendrtas.js} +11 -11
- package/dist/chunks/{location-services-khmqacep.js → provider-fxaymqdw.js} +4 -4
- package/dist/chunks/{location-services-xceybfq0.js → provider-fxva79x5.js} +24 -24
- package/dist/chunks/{location-services-1n3g3nm2.js → provider-g2k6x5re.js} +16 -16
- package/dist/chunks/{location-services-zzj16cr0.js → provider-g670se7s.js} +24 -24
- package/dist/chunks/{location-services-y7nndgyc.js → provider-g686f6pq.js} +9 -9
- package/dist/chunks/{location-services-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-jvg4w983.js → provider-geq9kd3q.js} +20 -20
- package/dist/chunks/{location-services-dt9n2fs7.js → provider-ghz6dcrw.js} +11 -11
- package/dist/chunks/{location-services-nsarv18d.js → provider-gnpgqyhn.js} +5 -5
- package/dist/chunks/{location-services-r9g4q422.js → provider-h0n6thsx.js} +2 -2
- package/dist/chunks/{location-services-k0a3z2qz.js → provider-h6310vsd.js} +4 -4
- package/dist/chunks/{location-services-qvgn3qed.js → provider-h6cxe1p1.js} +14 -14
- package/dist/chunks/{location-services-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-q2wpwd1q.js → provider-hc5sysjc.js} +8 -8
- package/dist/chunks/{location-services-hgz4x7wa.js → provider-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-services-zx95ftzb.js → provider-hzrfc1p4.js} +3 -3
- package/dist/chunks/{location-services-8rez25b9.js → provider-j41axa3n.js} +4 -4
- package/dist/chunks/{location-services-f5gnwvd0.js → provider-j4sjmvet.js} +28 -28
- package/dist/chunks/{location-services-7b1m0q4z.js → provider-jaz24y3m.js} +11 -11
- package/dist/chunks/{location-services-xdpc3wk0.js → provider-jehj871w.js} +13 -13
- package/dist/chunks/{location-services-ytcghdxg.js → provider-jfttst7b.js} +45 -45
- package/dist/chunks/{location-services-4xc83dq9.js → provider-jp5wxgtm.js} +5 -5
- package/dist/chunks/{location-services-qw3mwbaq.js → provider-jpadary8.js} +5 -5
- package/dist/chunks/{location-services-8sze2n9a.js → provider-jws6fkes.js} +4 -4
- package/dist/chunks/{location-services-14v2mpx3.js → provider-k05eevpf.js} +91 -91
- package/dist/chunks/{location-services-b8e27wfc.js → provider-k12ram42.js} +16 -16
- package/dist/chunks/{location-services-ay8yb9a7.js → provider-k1tcgxwm.js} +33 -33
- package/dist/chunks/{location-services-5gs82an1.js → provider-kaj3hp9x.js} +48 -48
- package/dist/chunks/{location-services-w9qn3bve.js → provider-krdey6nc.js} +3 -3
- package/dist/chunks/{location-services-4a24ra19.js → provider-ksj8gne7.js} +10 -10
- package/dist/chunks/{location-services-yrve3h5h.js → provider-ktcywqbp.js} +17 -17
- package/dist/chunks/{location-services-19fcc8g5.js → provider-kvgysxc4.js} +8 -8
- package/dist/chunks/{location-services-kwb1v3vj.js → provider-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-services-bjk25w1p.js → provider-kzca85qn.js} +13 -13
- package/dist/chunks/{location-services-k2xjg9r7.js → provider-m0n0fphw.js} +11 -11
- package/dist/chunks/{location-services-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-maspj1v3.js → provider-maspj1v3.js} +1 -1
- package/dist/chunks/{location-services-c1w3zdf4.js → provider-mchpen4k.js} +18 -18
- package/dist/chunks/{location-services-9da2gmc9.js → provider-mzhjnc0t.js} +15 -15
- package/dist/chunks/{location-services-tc11merm.js → provider-n5csmyza.js} +10 -10
- package/dist/chunks/{location-services-cftbmsjt.js → provider-n8nz8bt1.js} +35 -35
- package/dist/chunks/{location-services-x8jkx94e.js → provider-n96tvss2.js} +9 -9
- package/dist/chunks/{location-services-efpcgx8s.js → provider-nsy3vht9.js} +11 -11
- package/dist/chunks/{location-services-dtbwtpff.js → provider-nvjpyn5w.js} +10 -10
- package/dist/chunks/{location-services-2kw39ck7.js → provider-nvxfpxcq.js} +5 -5
- package/dist/chunks/{location-services-7ytf93vt.js → provider-nygx43rt.js} +23 -23
- package/dist/chunks/{location-services-v13b12ef.js → provider-nz56sr1f.js} +5 -5
- package/dist/chunks/{location-services-yjjxpjc1.js → provider-p2z6bw8f.js} +29 -29
- package/dist/chunks/{location-services-wkjbzrqs.js → provider-pb73ata6.js} +11 -11
- package/dist/chunks/{location-services-fpfnw1q7.js → provider-pcf154px.js} +36 -36
- package/dist/chunks/{location-services-1p295dse.js → provider-pdbayhem.js} +19 -19
- package/dist/chunks/{location-services-j8953mcy.js → provider-pemyrp0y.js} +4 -4
- package/dist/chunks/{location-services-x94t2y6k.js → provider-pet46bzp.js} +30 -30
- package/dist/chunks/{location-services-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-a1md0fae.js → provider-pkmrmd0q.js} +15 -15
- package/dist/chunks/{location-services-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-9897cwd1.js → provider-prsa6e7w.js} +22 -22
- package/dist/chunks/{location-services-3p1jsd9a.js → provider-pvb5c58t.js} +86 -86
- package/dist/chunks/{location-services-jkcga9ra.js → provider-pzeyc7aw.js} +25 -25
- package/dist/chunks/{location-services-tanayhyb.js → provider-q2aapacf.js} +15 -15
- package/dist/chunks/{location-services-1468jth2.js → provider-qc3kkhe5.js} +15 -15
- package/dist/chunks/{location-services-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-xfkkasph.js → provider-qqeeq2t9.js} +7 -7
- package/dist/chunks/{location-services-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-a66tszk0.js → provider-qt5db69v.js} +11 -11
- package/dist/chunks/{location-services-wcaj0dbf.js → provider-qz4bwykm.js} +16 -16
- package/dist/chunks/{location-services-ybk3dexv.js → provider-qz6qd3nr.js} +21 -21
- package/dist/chunks/{location-services-x0yy9gzj.js → provider-r0nakx9w.js} +11 -11
- package/dist/chunks/{location-services-e80seqcp.js → provider-r2z489rp.js} +3 -3
- package/dist/chunks/{location-services-24ndf32s.js → provider-r7m6m988.js} +26 -26
- package/dist/chunks/{location-services-1tfkkk8z.js → provider-rbky9hr4.js} +13 -13
- package/dist/chunks/{location-services-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-tkb22qbm.js → provider-rert0e01.js} +2 -2
- package/dist/chunks/{location-services-c41wscbt.js → provider-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-services-6a20fkbr.js → provider-rkjbr4f7.js} +18 -18
- package/dist/chunks/{location-services-f1f82w9c.js → provider-rky6e642.js} +14 -14
- package/dist/chunks/{location-services-7rn07pqm.js → provider-rrt1jctc.js} +17 -17
- package/dist/chunks/{location-services-p06yjkdd.js → provider-rscvxc63.js} +20 -20
- package/dist/chunks/provider-rxy7shc0.js +257 -0
- package/dist/chunks/{location-services-6hh8tjw2.js → provider-ryr25ayn.js} +4 -4
- package/dist/chunks/{location-services-kmgtaefj.js → provider-s928nhvr.js} +39 -39
- package/dist/chunks/{location-services-c8ax2afj.js → provider-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-services-fkh80sr4.js → provider-scdy5x78.js} +20 -20
- package/dist/chunks/{location-services-4zdtnvnf.js → provider-sd9kh883.js} +13 -13
- package/dist/chunks/{location-services-sh92vnvp.js → provider-sh8v4byq.js} +18 -18
- package/dist/chunks/{location-services-e0aycr6x.js → provider-sn3sjqf3.js} +19 -19
- package/dist/chunks/{location-services-dwkd17za.js → provider-sxq7v2v4.js} +8 -8
- package/dist/chunks/{location-services-syv4x271.js → provider-syv4x271.js} +1 -1
- package/dist/chunks/{location-services-2hj7dgpm.js → provider-szfs1a1x.js} +9 -9
- package/dist/chunks/{location-services-1t7yake1.js → provider-t0s8rbs5.js} +21 -21
- package/dist/chunks/{location-services-eaj1djv9.js → provider-t550f9t1.js} +8 -8
- package/dist/chunks/{location-services-cdsvj98t.js → provider-t95zrypp.js} +12 -12
- package/dist/chunks/{location-services-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-zdrf9b2p.js → provider-thpby3ff.js} +32 -32
- package/dist/chunks/{location-services-sznqrxer.js → provider-tjj1y1w1.js} +4 -4
- package/dist/chunks/{location-services-tm0kqsz3.js → provider-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-services-tyytaxap.js → provider-tyytaxap.js} +1 -1
- package/dist/chunks/{location-services-ckrv9rtn.js → provider-v4sd0n2j.js} +6 -6
- package/dist/chunks/{location-services-m48mbdfe.js → provider-v52b5t79.js} +14 -14
- package/dist/chunks/{location-services-v7p4zvkq.js → provider-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-services-76p14g35.js → provider-vep9yay1.js} +4 -4
- package/dist/chunks/{location-services-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-femnmy69.js → provider-vg0nnb5s.js} +34 -34
- package/dist/chunks/{location-services-0fzv5sa6.js → provider-vmzpvwg1.js} +20 -20
- package/dist/chunks/{location-services-n3rpngyn.js → provider-vns3jqz1.js} +27 -27
- package/dist/chunks/{location-services-g3w0eaeg.js → provider-vp0bfksy.js} +2 -2
- package/dist/chunks/{location-services-f2mp2skp.js → provider-vphpz1k6.js} +6 -6
- package/dist/chunks/{location-services-8m1xb0y2.js → provider-vsbn5d13.js} +192 -192
- package/dist/chunks/{location-services-4c2df9zx.js → provider-vwpcpzep.js} +8 -8
- package/dist/chunks/{location-services-gce7byvs.js → provider-vx01yvfm.js} +3 -3
- package/dist/chunks/{location-services-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-rgpjkcg1.js → provider-w0r49kaa.js} +11 -11
- package/dist/chunks/{location-services-3n40wvxh.js → provider-w1ba7bfx.js} +5 -5
- package/dist/chunks/{location-services-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-waskdk5r.js → provider-waskdk5r.js} +1 -1
- package/dist/chunks/{location-services-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-kjdm35cs.js → provider-wh6zw745.js} +5 -5
- package/dist/chunks/{location-services-z6yetpqf.js → provider-wnk72qpq.js} +8 -8
- package/dist/chunks/{location-services-sm06z12z.js → provider-wr2fcqrv.js} +35 -35
- package/dist/chunks/{location-services-sfew0n52.js → provider-wt93hw18.js} +30 -30
- package/dist/chunks/{location-services-ykzr8wnw.js → provider-x3nay0bp.js} +31 -31
- package/dist/chunks/{location-services-azwe5p1w.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{location-services-9t3kk5sf.js → provider-xcmj7eak.js} +8 -8
- package/dist/chunks/{location-services-xfchyp9d.js → provider-xmxs181h.js} +53 -53
- package/dist/chunks/{location-services-pgy08jxz.js → provider-xpbdr7s0.js} +7 -7
- package/dist/chunks/{location-services-0bckxdhn.js → provider-xr4cy418.js} +17 -17
- package/dist/chunks/{location-services-8tp1g3x5.js → provider-xw8d9tf9.js} +22 -22
- package/dist/chunks/{location-services-6whcq1fq.js → provider-xzz788m6.js} +4 -4
- package/dist/chunks/{location-services-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-cejp4z28.js → provider-y25kvmwt.js} +21 -21
- package/dist/chunks/{location-services-ddz31ytd.js → provider-y520pesp.js} +6 -6
- package/dist/chunks/{location-services-4h2zqxk4.js → provider-y63ccfnv.js} +11 -11
- package/dist/chunks/{location-services-bfks4bz3.js → provider-ycn9c87f.js} +28 -28
- package/dist/chunks/{location-services-m0gv95n6.js → provider-yqb8saa6.js} +39 -39
- package/dist/chunks/{location-services-esqdnvjp.js → provider-ysjrfadg.js} +12 -12
- package/dist/chunks/{location-services-htqzgxkz.js → provider-ywm9yds8.js} +27 -27
- package/dist/chunks/{location-services-mmwf2vn7.js → provider-ywz575tz.js} +24 -24
- package/dist/chunks/{location-services-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-z18fegx4.js → provider-z18fegx4.js} +1 -1
- package/dist/chunks/{location-services-9hwaqfsw.js → provider-z6c3x22d.js} +5 -5
- package/dist/chunks/{location-services-pmc13vdj.js → provider-zdr4q96z.js} +43 -43
- package/dist/chunks/{location-services-rrejsa25.js → provider-zf4tm514.js} +4 -4
- package/dist/chunks/{location-services-0hkrfhh8.js → provider-zqn88c2g.js} +45 -45
- package/dist/chunks/{location-services-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-x54wym4j.js → provider-zyjyfhst.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +116 -116
- 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 +119 -119
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- 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 +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +89 -89
- 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 +98 -98
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +116 -116
- 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 +74 -74
- 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 +347 -347
- 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 +6 -6
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +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 +3 -3
- 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 +120 -120
- package/dist/session/model-transport.js +7 -7
- 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 +126 -126
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- 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 +124 -124
- package/dist/tool/plugin/question.js +103 -103
- 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 +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +3 -3
- 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 +1 -1
- package/dist/v1/config/plugin.js +1 -1
- 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 +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- 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 +98 -98
- 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 → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → provider-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → provider-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → provider-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-pkyv6v7h.js → provider-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-services-pyv0edze.js → provider-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wjj7prxr.js → provider-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./provider-67pr4xd1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./provider-0e84c7n6.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-x661k3y3.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-nygx43rt.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event17,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID12,
|
|
41
|
+
Info: () => Info22,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service74,
|
|
49
|
+
node: () => node77
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
72
|
+
var ID12 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info22 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID12,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service74 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service84;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info22.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service74.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key4.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node77 = makeLocationNode({
|
|
633
|
+
service: Service74,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node88, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node77, exports_integration, Event17 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service86,
|
|
6
|
+
node90
|
|
7
|
+
} from "./provider-0ab51kag.js";
|
|
4
8
|
import {
|
|
5
9
|
Service85,
|
|
6
10
|
node89
|
|
7
|
-
} from "./
|
|
11
|
+
} from "./provider-67pr4xd1.js";
|
|
8
12
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service86,
|
|
14
|
-
node90
|
|
15
|
-
} from "./location-services-cdsvj98t.js";
|
|
13
|
+
Service83,
|
|
14
|
+
node87
|
|
15
|
+
} from "./provider-t95zrypp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-0javqkgf.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./provider-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError12,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service82,
|
|
44
44
|
UpdateInput: () => UpdateInput4,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node86,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID16 = ID17;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info27 = Info28;
|
|
63
63
|
var UpdateInput4 = UpdateInput5;
|
|
64
64
|
|
|
65
65
|
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID16
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,12 +98,12 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service83;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const db = (yield*
|
|
105
|
+
const bus = yield* Service85;
|
|
106
|
+
const db = (yield* Service86).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
109
109
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID16.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
173
173
|
if (!row)
|
|
174
174
|
return yield* new NotFoundError12({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID16.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID16.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID16.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID16.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service82.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node86 = makeGlobalNode({
|
|
310
|
+
service: Service82,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node89, node90, FSUtil.node, node87, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service82;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node86]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID16, Vcs2, Current2, Info27, UpdateInput4, NotFoundError12, root2, Service82, node86, sweepNode2, exports_project };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-hzrfc1p4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service81
|
|
14
|
+
} from "./provider-k12ram42.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-0gppxhq7.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin3,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin3 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service81;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin3, exports_git };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./provider-bx3vfcp8.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin22,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin22 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service61;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description3,
|
|
104
|
-
input:
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin40 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin22, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-09044n1v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./provider-vg0nnb5s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin18,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin18 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service71;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin18, exports_verbosity };
|