@opencode/core 0.0.0-dev-20630 → 0.0.0-dev-20633
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-services-6qvzvbch.js → repository-cache-0314bnyz.js} +17 -17
- package/dist/chunks/{location-services-ryd2rdzb.js → repository-cache-03xyy9gs.js} +8 -8
- package/dist/chunks/{location-services-924j3etv.js → repository-cache-0farmcce.js} +26 -26
- package/dist/chunks/{location-services-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-cg21mtef.js → repository-cache-0r8xnjkd.js} +11 -11
- package/dist/chunks/{location-services-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-aytgv1nz.js → repository-cache-0yq98qfb.js} +24 -24
- package/dist/chunks/{location-services-0w7qtn2g.js → repository-cache-13fmgeb3.js} +9 -9
- package/dist/chunks/{location-services-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-1dvck2a7.js → repository-cache-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-services-1gpb38yh.js → repository-cache-1gpb38yh.js} +3 -3
- package/dist/chunks/{location-services-2t9d70tj.js → repository-cache-1gzs4dwb.js} +5 -5
- package/dist/chunks/{location-services-0xdh9cbn.js → repository-cache-1mp78k6j.js} +33 -33
- package/dist/chunks/{location-services-ykm82t8q.js → repository-cache-1qp08ady.js} +11 -11
- package/dist/chunks/{location-services-1bksgmt8.js → repository-cache-1s3jpj7n.js} +17 -17
- package/dist/chunks/{location-services-dh6k37e9.js → repository-cache-27rbdjmf.js} +46 -46
- package/dist/chunks/{location-services-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-mh4e5wj0.js → repository-cache-2awp3nqz.js} +20 -20
- package/dist/chunks/{location-services-avdv9knz.js → repository-cache-2epzd39j.js} +78 -78
- package/dist/chunks/{location-services-f84qkavr.js → repository-cache-2fxj49dy.js} +32 -32
- package/dist/chunks/{location-services-qgn6gcr1.js → repository-cache-2k8khapm.js} +5 -5
- package/dist/chunks/{location-services-mfqp6xfm.js → repository-cache-33w4ejhs.js} +9 -9
- package/dist/chunks/{location-services-eqytyt2f.js → repository-cache-380yy1tx.js} +166 -166
- package/dist/chunks/{location-services-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-78mj5myg.js → repository-cache-3pv863bm.js} +19 -19
- package/dist/chunks/{location-services-amznhvbk.js → repository-cache-3rjdzas3.js} +11 -11
- package/dist/chunks/{location-services-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-2njm4q35.js → repository-cache-3vgk5qpr.js} +27 -27
- package/dist/chunks/{location-services-n22hjq3j.js → repository-cache-3vk8kg3r.js} +14 -14
- package/dist/chunks/{location-services-qhptqkd3.js → repository-cache-3z4h39tf.js} +8 -8
- package/dist/chunks/{location-services-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-be57hyb1.js → repository-cache-43h714sb.js} +17 -17
- package/dist/chunks/{location-services-53baf2sn.js → repository-cache-4725dwfb.js} +9 -9
- package/dist/chunks/{location-services-j8afcsyc.js → repository-cache-4eq8w0dz.js} +4 -4
- package/dist/chunks/repository-cache-4gw7g1yd.js +507 -0
- package/dist/chunks/{location-services-94af2ma0.js → repository-cache-4k8essf6.js} +20 -20
- package/dist/chunks/{location-services-7v3yr1bh.js → repository-cache-4kagh904.js} +5 -5
- package/dist/chunks/{location-services-4ts7tf6z.js → repository-cache-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-services-633ngz6x.js → repository-cache-4x0vy5hp.js} +6 -6
- package/dist/chunks/{location-services-hm2a4yzt.js → repository-cache-4ybhn1pz.js} +15 -15
- package/dist/chunks/{location-services-v83r3tms.js → repository-cache-4yxz2xtz.js} +3 -3
- package/dist/chunks/{location-services-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-ds7a504r.js → repository-cache-5a1tjkyz.js} +28 -28
- package/dist/chunks/{location-services-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-gac9ztx6.js → repository-cache-60x3zdck.js} +22 -22
- package/dist/chunks/{location-services-gm6bhgn2.js → repository-cache-66hfmvvk.js} +12 -12
- package/dist/chunks/{location-services-d2za3d2a.js → repository-cache-67fkg7q1.js} +8 -8
- package/dist/chunks/{location-services-j9hy8vp2.js → repository-cache-68tetnxs.js} +4 -4
- package/dist/chunks/{location-services-0wtqkc8g.js → repository-cache-6j80gscp.js} +13 -13
- package/dist/chunks/{location-services-qhj49g1w.js → repository-cache-6kqdj38p.js} +34 -34
- package/dist/chunks/{location-services-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-services-71az546q.js → repository-cache-71az546q.js} +2 -2
- package/dist/chunks/{location-services-mvfsc1pv.js → repository-cache-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-services-xabyxep3.js → repository-cache-75jaekcr.js} +11 -11
- package/dist/chunks/{location-services-8fg7kjkz.js → repository-cache-7ac9g4dc.js} +28 -28
- package/dist/chunks/{location-services-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-scja77nx.js → repository-cache-7pjv26c7.js} +3 -3
- package/dist/chunks/{location-services-t6vsspdg.js → repository-cache-7sbkp4xb.js} +7 -7
- package/dist/chunks/{location-services-nb9p6b26.js → repository-cache-80scg3y3.js} +4 -4
- package/dist/chunks/{location-services-t36z8tfp.js → repository-cache-81nd2mqz.js} +31 -31
- package/dist/chunks/{location-services-bzncxkya.js → repository-cache-83nfeprs.js} +9 -9
- package/dist/chunks/{location-services-bnx96qhh.js → repository-cache-8bpbh7v7.js} +7 -7
- package/dist/chunks/{location-services-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-z5ybckhn.js → repository-cache-8ef36zg1.js} +21 -21
- package/dist/chunks/{location-services-fssayyez.js → repository-cache-8pdzessb.js} +5 -5
- package/dist/chunks/{location-services-p89rmmfc.js → repository-cache-8qf1wa8e.js} +12 -12
- package/dist/chunks/{location-services-jjx8np3a.js → repository-cache-8t879spr.js} +43 -43
- package/dist/chunks/{location-services-kq5ydq1p.js → repository-cache-90sz55zw.js} +3 -3
- package/dist/chunks/repository-cache-97y2hkx4.js +26 -0
- package/dist/chunks/{location-services-9e5bzkjp.js → repository-cache-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-services-4h4wqcm2.js → repository-cache-9mvydfy5.js} +11 -11
- package/dist/chunks/{location-services-f9yzkqzf.js → repository-cache-9mwb0ww6.js} +9 -9
- package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-services-1jmpqbc2.js → repository-cache-9wt051s7.js} +84 -84
- package/dist/chunks/{location-services-w74wtxgt.js → repository-cache-9ybrg23s.js} +11 -11
- package/dist/chunks/{location-services-23tcjctt.js → repository-cache-a1r14f74.js} +7 -7
- package/dist/chunks/{location-services-c05hzb7f.js → repository-cache-a27z7shm.js} +41 -41
- package/dist/chunks/{location-services-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-cbq4209p.js → repository-cache-adws6758.js} +1 -1
- package/dist/chunks/{location-services-h6f8n6tj.js → repository-cache-aevez07h.js} +10 -10
- package/dist/chunks/{location-services-4gt5053z.js → repository-cache-akqawhrq.js} +9 -9
- package/dist/chunks/{location-services-vn72gsba.js → repository-cache-as7cf5zz.js} +4 -4
- package/dist/chunks/{location-services-702grjpm.js → repository-cache-asmhed6t.js} +6 -6
- package/dist/chunks/{location-services-rvqqqxyw.js → repository-cache-b2p5j8y6.js} +29 -29
- package/dist/chunks/{location-services-x3eea197.js → repository-cache-b3y77xh2.js} +36 -36
- package/dist/chunks/{location-services-nmw6gh4z.js → repository-cache-b52f6b20.js} +40 -40
- package/dist/chunks/{location-services-b674v2dg.js → repository-cache-b674v2dg.js} +2 -2
- package/dist/chunks/{location-services-ncnm8wen.js → repository-cache-b69jv39p.js} +1 -1
- package/dist/chunks/{location-services-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-v7e370vs.js → repository-cache-bdqa6k4n.js} +5 -5
- package/dist/chunks/{location-services-nkzh8q5t.js → repository-cache-bwtwpct7.js} +23 -23
- package/dist/chunks/{location-services-hve86swx.js → repository-cache-cb70s9dt.js} +8 -8
- package/dist/chunks/{location-services-8sze2n9a.js → repository-cache-cfsekr6v.js} +6 -6
- package/dist/chunks/{location-services-d46e2cta.js → repository-cache-ckbnwpw7.js} +11 -11
- package/dist/chunks/{location-services-ndadfcaq.js → repository-cache-ctpb9bd3.js} +5 -5
- package/dist/chunks/{location-services-79qaa2kf.js → repository-cache-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-services-mbhdtkze.js → repository-cache-d3qedjgv.js} +11 -11
- package/dist/chunks/{location-services-5402gscc.js → repository-cache-d7ddzgsf.js} +17 -17
- package/dist/chunks/{location-services-6y3bxvxj.js → repository-cache-da75awh4.js} +15 -15
- package/dist/chunks/{location-services-q25gd7gx.js → repository-cache-dcksech5.js} +9 -9
- package/dist/chunks/{location-services-dpkg50ah.js → repository-cache-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-services-drnf6xwf.js → repository-cache-drnf6xwf.js} +2 -2
- package/dist/chunks/{location-services-j3e6np1x.js → repository-cache-dt79rr6p.js} +12 -12
- package/dist/chunks/{location-services-p37cw4rj.js → repository-cache-dv1qgsyq.js} +6 -6
- package/dist/chunks/{location-services-1qq40k4k.js → repository-cache-dwngdq4b.js} +19 -19
- package/dist/chunks/{location-services-qs0k33dy.js → repository-cache-dx2074w2.js} +13 -13
- package/dist/chunks/{location-services-9cbydn38.js → repository-cache-e0yt5kkj.js} +24 -24
- package/dist/chunks/{location-services-rwm5vee1.js → repository-cache-e2hjzebn.js} +4 -4
- package/dist/chunks/{location-services-z165pzrq.js → repository-cache-e3f0xn9m.js} +27 -27
- package/dist/chunks/{location-services-qg8kd4bn.js → repository-cache-e3f83rfj.js} +13 -13
- package/dist/chunks/{location-services-3ye4f2yy.js → repository-cache-e72ekma6.js} +3 -3
- package/dist/chunks/{location-services-vgj1g915.js → repository-cache-e8qvsypq.js} +16 -16
- package/dist/chunks/{location-services-kwbjrwdw.js → repository-cache-ec2p6e73.js} +34 -34
- package/dist/chunks/{location-services-yt6jmjwe.js → repository-cache-ed81rq57.js} +4 -4
- package/dist/chunks/{location-services-69j91c1q.js → repository-cache-eeaf82dq.js} +8 -8
- package/dist/chunks/{location-services-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-a686yqn2.js → repository-cache-ejq34man.js} +25 -25
- package/dist/chunks/{location-services-bw9zjykr.js → repository-cache-eqkxs06z.js} +6 -6
- package/dist/chunks/{location-services-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-av6x2y0p.js → repository-cache-ezbj1fpr.js} +18 -18
- package/dist/chunks/{location-services-p3rd9cb6.js → repository-cache-f7rj482f.js} +8 -8
- package/dist/chunks/{location-services-739rnbfk.js → repository-cache-fnd80x7n.js} +69 -69
- package/dist/chunks/{location-services-a8et2yjv.js → repository-cache-fw8t8h2a.js} +48 -48
- package/dist/chunks/{location-services-7v5tk8rc.js → repository-cache-g01j4dtk.js} +27 -27
- package/dist/chunks/{location-services-q8ejgrh7.js → repository-cache-g2g6h4y2.js} +11 -11
- package/dist/chunks/{location-services-xfkkasph.js → repository-cache-g5w8qwbj.js} +4 -4
- package/dist/chunks/{location-services-2zg5m144.js → repository-cache-g6tpd3f3.js} +10 -10
- package/dist/chunks/{location-services-730e0d1f.js → repository-cache-g9kkm8kt.js} +4 -4
- package/dist/chunks/{location-services-386maghb.js → repository-cache-gcqqjazk.js} +32 -32
- package/dist/chunks/{location-services-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-jrw3dmfp.js → repository-cache-gdw97pah.js} +7 -7
- package/dist/chunks/{location-services-5tcm9639.js → repository-cache-gh5z95q3.js} +9 -9
- package/dist/chunks/{location-services-3wb7f3rk.js → repository-cache-gmbhe8g5.js} +4 -4
- package/dist/chunks/{location-services-dcfdtrv8.js → repository-cache-gmg4efnw.js} +36 -36
- package/dist/chunks/{location-services-038ja56e.js → repository-cache-gq310cps.js} +11 -11
- package/dist/chunks/{location-services-8s8y9gwq.js → repository-cache-gsggkbsb.js} +14 -14
- package/dist/chunks/{location-services-h2b79v29.js → repository-cache-h2b79v29.js} +2 -2
- package/dist/chunks/{location-services-1e7pvmz6.js → repository-cache-h697gncw.js} +20 -20
- package/dist/chunks/{location-services-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-k73vhven.js → repository-cache-hacqhjnc.js} +15 -15
- package/dist/chunks/{location-services-v2hrpsne.js → repository-cache-hbrg1y73.js} +8 -8
- package/dist/chunks/{location-services-jb2vrk6d.js → repository-cache-her3d2s9.js} +22 -22
- package/dist/chunks/{location-services-xcheye7x.js → repository-cache-hhvkpmqw.js} +30 -30
- package/dist/chunks/{location-services-qb7w2a5v.js → repository-cache-hk87g4j9.js} +20 -20
- package/dist/chunks/{location-services-r24mavdp.js → repository-cache-hpapzrps.js} +3 -3
- package/dist/chunks/{location-services-w844490d.js → repository-cache-hpmqkzac.js} +15 -15
- package/dist/chunks/{location-services-mjqndqed.js → repository-cache-hs1x7rht.js} +5 -5
- package/dist/chunks/{location-services-5m0j2dgq.js → repository-cache-hx274pq4.js} +42 -42
- package/dist/chunks/repository-cache-j22twtz4.js +253 -0
- package/dist/chunks/{location-services-hpmarter.js → repository-cache-j3600rrf.js} +10 -10
- package/dist/chunks/{location-services-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-mxrxbngv.js → repository-cache-jby0a0d3.js} +15 -15
- package/dist/chunks/{location-services-005ee9q8.js → repository-cache-jj9x1ggj.js} +3 -3
- package/dist/chunks/{location-services-kk7eqmr5.js → repository-cache-jqc99esa.js} +5 -5
- package/dist/chunks/{location-services-hkf7sqjk.js → repository-cache-js6zmc2m.js} +11 -11
- package/dist/chunks/{location-services-92k45pvj.js → repository-cache-jz8pf1gf.js} +6 -6
- package/dist/chunks/{location-services-rdjnfax5.js → repository-cache-k0cbva3z.js} +21 -21
- package/dist/chunks/{location-services-gfwkqpn3.js → repository-cache-kyrf4g17.js} +16 -16
- package/dist/chunks/{location-services-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-9hd3r0x1.js → repository-cache-mb54k367.js} +35 -35
- package/dist/chunks/{location-services-nrdmrqsx.js → repository-cache-mjymc32g.js} +4 -4
- package/dist/chunks/{location-services-w7487c8x.js → repository-cache-mqh9b2r2.js} +8 -8
- package/dist/chunks/{location-services-jj72jhew.js → repository-cache-n57qrn3a.js} +6 -6
- package/dist/chunks/{location-services-yat6tp29.js → repository-cache-n9yzr3f2.js} +18 -18
- package/dist/chunks/{location-services-5qbpkkvq.js → repository-cache-nbevcm7z.js} +17 -17
- package/dist/chunks/{location-services-pjmbafvv.js → repository-cache-nd0qz9vn.js} +15 -15
- package/dist/chunks/{location-services-jahbehqx.js → repository-cache-ne6stvg8.js} +18 -18
- package/dist/chunks/{location-services-vqt5kvc0.js → repository-cache-nfrd3k8n.js} +12 -12
- package/dist/chunks/{location-services-tx8az79h.js → repository-cache-ngmk5s4j.js} +10 -10
- package/dist/chunks/{location-services-72926355.js → repository-cache-nk0cncdn.js} +4 -4
- package/dist/chunks/{location-services-j1jytm4y.js → repository-cache-nppwm206.js} +4 -4
- package/dist/chunks/{location-services-ybt4avc4.js → repository-cache-p85401z6.js} +13 -13
- package/dist/chunks/{location-services-jhyt1ch8.js → repository-cache-p983wz9k.js} +3 -3
- package/dist/chunks/{location-services-tfcxrh0e.js → repository-cache-p9b1de7v.js} +14 -14
- package/dist/chunks/{location-services-qa6kg5ce.js → repository-cache-pfc6dryh.js} +19 -19
- package/dist/chunks/{location-services-wgxg4mhz.js → repository-cache-pjtd6ph8.js} +29 -29
- package/dist/chunks/{location-services-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-t2cngams.js → repository-cache-prf0q3vs.js} +23 -23
- package/dist/chunks/{location-services-twbbseq7.js → repository-cache-pv84kftf.js} +31 -31
- package/dist/chunks/{location-services-2vn9xece.js → repository-cache-q0dea8a4.js} +5 -5
- package/dist/chunks/{location-services-q0xm7vwc.js → repository-cache-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-services-rf80fxgj.js → repository-cache-q17z9dx8.js} +5 -5
- package/dist/chunks/{location-services-9eq5kwq7.js → repository-cache-q8peyv7x.js} +8 -8
- package/dist/chunks/{location-services-w2g20c7m.js → repository-cache-q9ekeea5.js} +21 -21
- package/dist/chunks/{location-services-evdt0y4h.js → repository-cache-qarnpraq.js} +9 -9
- package/dist/chunks/{location-services-1rt6b2ft.js → repository-cache-qaxybd8b.js} +24 -24
- package/dist/chunks/{location-services-qwjmgwmn.js → repository-cache-qby9dwvd.js} +8 -8
- package/dist/chunks/{location-services-3hf7hgee.js → repository-cache-qmacqzaw.js} +1 -1
- package/dist/chunks/{location-services-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-4kypyv15.js → repository-cache-qssqgjzh.js} +5 -5
- package/dist/chunks/{location-services-rcw0hhe5.js → repository-cache-qt205g8k.js} +9 -9
- package/dist/chunks/{location-services-b3f8fkhc.js → repository-cache-qygbw77c.js} +5 -5
- package/dist/chunks/{location-services-dxr5t5mp.js → repository-cache-qykpeme4.js} +14 -14
- package/dist/chunks/{location-services-8v3c42p4.js → repository-cache-r26qgbxz.js} +7 -7
- package/dist/chunks/{location-services-qcrsmb16.js → repository-cache-r43h3m0v.js} +19 -19
- package/dist/chunks/{location-services-7kjj2hf7.js → repository-cache-r6vweynn.js} +11 -11
- package/dist/chunks/{location-services-rhraev7y.js → repository-cache-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-services-x328e1v9.js → repository-cache-rbdy6pgn.js} +14 -14
- package/dist/chunks/{location-services-bh4tn4kr.js → repository-cache-rd3ygx5h.js} +27 -27
- package/dist/chunks/{location-services-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-reg6q42h.js → repository-cache-reg6q42h.js} +2 -2
- package/dist/chunks/{location-services-gq4d2z0j.js → repository-cache-rek1mgnt.js} +22 -22
- package/dist/chunks/{location-services-9t7a50xb.js → repository-cache-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-services-xa8mwyge.js → repository-cache-rmn3m3gf.js} +2 -2
- package/dist/chunks/{location-services-m04va80j.js → repository-cache-rs4nb2xx.js} +9 -9
- package/dist/chunks/{location-services-9tadwx83.js → repository-cache-s0xttw3k.js} +19 -19
- package/dist/chunks/{location-services-vgr2d9jf.js → repository-cache-s3eybw0p.js} +4 -4
- package/dist/chunks/{location-services-bh4jt5aw.js → repository-cache-s93md6f8.js} +9 -9
- package/dist/chunks/{location-services-gyb4qk55.js → repository-cache-sbf3786x.js} +27 -27
- package/dist/chunks/{location-services-yptt0kpa.js → repository-cache-skcgj51b.js} +45 -45
- package/dist/chunks/{location-services-p9gk8ytq.js → repository-cache-spd9hrnc.js} +42 -42
- package/dist/chunks/{location-services-jda68ddm.js → repository-cache-srfsq8py.js} +3 -3
- package/dist/chunks/{location-services-rfjkawsf.js → repository-cache-stp9c87e.js} +9 -9
- package/dist/chunks/{location-services-mctxfbc8.js → repository-cache-sy2a3hb1.js} +20 -20
- package/dist/chunks/{location-services-v2wwk919.js → repository-cache-syb2vrbv.js} +24 -24
- package/dist/chunks/{location-services-8078vm6x.js → repository-cache-t0ngdjdp.js} +1 -1
- package/dist/chunks/{location-services-tyg7s7sx.js → repository-cache-t2bbc9e5.js} +4 -4
- package/dist/chunks/{location-services-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-services-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-5xpjggmg.js → repository-cache-tn65e0xg.js} +3 -3
- package/dist/chunks/{location-services-6hz9gy1d.js → repository-cache-trnc8c0p.js} +24 -24
- package/dist/chunks/{location-services-kp82j6dq.js → repository-cache-trq2ab9q.js} +8 -8
- package/dist/chunks/{location-services-kgwqt2v2.js → repository-cache-txeasv02.js} +18 -18
- package/dist/chunks/{location-services-v0es1rhs.js → repository-cache-v0es1rhs.js} +2 -2
- package/dist/chunks/{location-services-7h3jskqq.js → repository-cache-v4j9mmzp.js} +23 -23
- package/dist/chunks/{location-services-8chc4m14.js → repository-cache-v84b5zdr.js} +18 -18
- package/dist/chunks/{location-services-bk6jsxdy.js → repository-cache-vd2wkccw.js} +20 -20
- package/dist/chunks/{location-services-57trkbe5.js → repository-cache-vd4xatwq.js} +18 -18
- package/dist/chunks/{location-services-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-05cem0rr.js → repository-cache-vf6jcqzn.js} +12 -12
- package/dist/chunks/{location-services-wa9g86nq.js → repository-cache-vfjhn2wd.js} +4 -4
- package/dist/chunks/{location-services-7j203v3e.js → repository-cache-vs93n2a0.js} +35 -35
- package/dist/chunks/{location-services-p7jevsnv.js → repository-cache-vx0crfcw.js} +8 -8
- package/dist/chunks/{location-services-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/{location-services-nw3j3z06.js → repository-cache-w33r0n2z.js} +20 -20
- package/dist/chunks/{location-services-g6yfr6ja.js → repository-cache-w39jehkq.js} +5 -5
- package/dist/chunks/{location-services-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-qgny21m5.js → repository-cache-w4xn84ph.js} +4 -4
- package/dist/chunks/{location-services-tx65gs5j.js → repository-cache-w92qfhy9.js} +8 -8
- package/dist/chunks/{location-services-0xqj4dty.js → repository-cache-w9p55wnq.js} +11 -11
- package/dist/chunks/{location-services-s1pvsrc7.js → repository-cache-wc9dc547.js} +18 -18
- package/dist/chunks/{location-services-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-pvfx3hsd.js → repository-cache-wf9hhd1y.js} +40 -40
- package/dist/chunks/{location-services-gknby1cz.js → repository-cache-wtmfszvm.js} +16 -16
- package/dist/chunks/{location-services-sf1gp2bm.js → repository-cache-wtqwpwgf.js} +4 -4
- package/dist/chunks/{location-services-bs1dfvba.js → repository-cache-x1yb4nr2.js} +20 -20
- package/dist/chunks/{location-services-addxnjmp.js → repository-cache-x661k3y3.js} +4 -4
- package/dist/chunks/{location-services-88zs0xv9.js → repository-cache-xgyqszzh.js} +5 -5
- package/dist/chunks/{location-services-dmqcgk4z.js → repository-cache-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-services-qxjc9qry.js → repository-cache-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-services-63kpjth9.js → repository-cache-y16p1w2y.js} +5 -5
- package/dist/chunks/{location-services-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-jy04fj7c.js → repository-cache-y1t2hwwz.js} +2 -2
- package/dist/chunks/{location-services-4nj4bn9q.js → repository-cache-y56ehv6b.js} +5 -5
- package/dist/chunks/{location-services-zjdx658e.js → repository-cache-ychejvqa.js} +8 -8
- package/dist/chunks/{location-services-zsr4wwhv.js → repository-cache-yrcj3v3g.js} +4 -4
- package/dist/chunks/{location-services-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-xmfmtq35.js → repository-cache-z45tr6e4.js} +10 -10
- package/dist/chunks/{location-services-s2kgz93z.js → repository-cache-z8g4t8bg.js} +25 -25
- package/dist/chunks/{location-services-ff7xhjp2.js → repository-cache-za3jhw35.js} +11 -11
- package/dist/chunks/{location-services-28esxs91.js → repository-cache-zkh24274.js} +31 -31
- package/dist/chunks/{location-services-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-dhdnksaa.js → repository-cache-zsm13mz3.js} +17 -17
- package/dist/chunks/{location-services-h8cwnp0z.js → repository-cache-zsqegwh4.js} +9 -9
- package/dist/chunks/{location-services-z7z1vh8h.js → repository-cache-zx0w556f.js} +19 -19
- package/dist/chunks/{location-services-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-15akr5x4.js → repository-cache-zyfwwvzs.js} +4 -4
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +90 -90
- 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 +102 -102
- package/dist/config/plugin/skill.js +137 -137
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +360 -360
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +115 -115
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- 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/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +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 +6 -6
- 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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +205 -205
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +92 -92
- 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 +2 -2
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -10
- package/dist/chunks/location-services-f50w6s0d.js +0 -253
- package/dist/chunks/location-services-fwsqw8dw.js +0 -507
- package/dist/chunks/location-services-gvcrjn4k.js +0 -26
- package/dist/chunks/location-services-phz3h32g.js +0 -18
- /package/dist/chunks/{location-services-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-my4zabxr.js → repository-cache-my4zabxr.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service46,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured6,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node49,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service46 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list3(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service46.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured6(options) {
|
|
210
|
+
return makeLocationNode({ service: Service46, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node49 = configured6();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service46, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured6, node49, exports_select };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-srfsq8py.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-y1t2hwwz.js";
|
|
7
7
|
import {
|
|
8
8
|
Service47
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-b2p5j8y6.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-5a1tjkyz.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin43
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin43 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const config = yield* Service47;
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin43, exports_reference };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-s3eybw0p.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-s0xttw3k.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service24,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured3,
|
|
26
|
+
layer: () => layer10,
|
|
27
|
+
node: () => node27
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,24 +36,24 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options3 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service24 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service24.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer10 = makeLayer();
|
|
263
|
+
var configured3 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service24,
|
|
265
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
266
266
|
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node27 = configured3();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError3, NotFoundError4, Service24, layer10, configured3, node27, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-srfsq8py.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-s3eybw0p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node60
|
|
12
|
+
} from "./repository-cache-eqkxs06z.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-w92qfhy9.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-y1t2hwwz.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
Service67,
|
|
26
26
|
node70
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-ychejvqa.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError9
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-1gpb38yh.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./repository-cache-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service56
|
|
39
|
+
} from "./repository-cache-e2hjzebn.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service63,
|
|
42
|
+
node66
|
|
43
|
+
} from "./repository-cache-qykpeme4.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service58,
|
|
48
|
+
node61,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./repository-cache-r43h3m0v.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service55,
|
|
53
|
+
node59
|
|
54
|
+
} from "./repository-cache-ec2p6e73.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node32
|
|
57
|
+
} from "./repository-cache-v84b5zdr.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service26,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node29
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service26 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service81;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
92
|
+
const locations = yield* Service67;
|
|
93
|
+
const store = yield* Service63;
|
|
94
|
+
const execution = yield* Service55;
|
|
95
|
+
const instances = yield* Service57;
|
|
96
|
+
const admission = yield* Service58;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service56.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service26.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node29 = makeGlobalNode({
|
|
167
|
+
service: Service26,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node85,
|
|
173
173
|
node70,
|
|
174
|
-
node73,
|
|
175
|
-
node65,
|
|
176
174
|
node66,
|
|
177
|
-
|
|
175
|
+
node59,
|
|
176
|
+
node60,
|
|
177
|
+
node61,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service26, node29, exports_move };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ID14,
|
|
3
|
-
Service77,
|
|
4
|
-
node81
|
|
5
|
-
} from "./location-services-6hz9gy1d.js";
|
|
6
1
|
import {
|
|
7
2
|
ID13,
|
|
3
|
+
Service74,
|
|
4
|
+
node77
|
|
5
|
+
} from "./repository-cache-trnc8c0p.js";
|
|
6
|
+
import {
|
|
7
|
+
ID12,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
Service76,
|
|
18
|
-
node80
|
|
19
|
-
} from "./location-services-t2cngams.js";
|
|
20
|
-
import {
|
|
21
17
|
Service73,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
18
|
+
node76
|
|
19
|
+
} from "./repository-cache-prf0q3vs.js";
|
|
24
20
|
import {
|
|
25
|
-
|
|
21
|
+
Service61,
|
|
22
|
+
node64
|
|
23
|
+
} from "./repository-cache-za3jhw35.js";
|
|
24
|
+
import {
|
|
25
|
+
ID11,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service72,
|
|
29
|
+
node75,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-cache-ejq34man.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,7 +40,7 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service60,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -48,7 +48,7 @@ __export(exports_model_resolver, {
|
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
50
|
layer: () => layer24,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node63,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID12,
|
|
62
|
+
modelID: ID11,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID12,
|
|
72
|
+
modelID: ID11,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID12,
|
|
83
|
+
modelID: ID11,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID12,
|
|
94
|
+
modelID: ID11,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID12,
|
|
106
|
+
modelID: ID11,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID12,
|
|
116
|
+
modelID: ID11,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service60 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -265,15 +265,15 @@ var causeMessage = (cause) => {
|
|
|
265
265
|
};
|
|
266
266
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
267
267
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
268
|
-
var layer24 = Layer.effect(
|
|
269
|
-
const providers = yield*
|
|
270
|
-
const models = yield*
|
|
271
|
-
const integrations = yield*
|
|
268
|
+
var layer24 = Layer.effect(Service60, Effect.gen(function* () {
|
|
269
|
+
const providers = yield* Service73;
|
|
270
|
+
const models = yield* Service72;
|
|
271
|
+
const integrations = yield* Service74;
|
|
272
272
|
const npm = yield* Npm.Service;
|
|
273
|
-
const aisdk = yield*
|
|
273
|
+
const aisdk = yield* Service61;
|
|
274
274
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
275
275
|
const provider = yield* providers.get(selected.providerID);
|
|
276
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
276
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
|
|
277
277
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
278
278
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
279
279
|
const runtimeInfo = {
|
|
@@ -300,7 +300,7 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
300
300
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
301
301
|
};
|
|
302
302
|
});
|
|
303
|
-
return
|
|
303
|
+
return Service60.of({
|
|
304
304
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
305
305
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
306
306
|
if (!selected)
|
|
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
317
317
|
const name = packageName2(packageName);
|
|
318
318
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
service:
|
|
320
|
+
var node63 = makeLocationNode({
|
|
321
|
+
service: Service60,
|
|
322
322
|
layer: layer24,
|
|
323
|
-
deps: [
|
|
323
|
+
deps: [node76, node75, node77, Npm.node, node64]
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
326
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node63, exports_model_resolver };
|