@opencode/core 0.0.0-dev-20285 → 0.0.0-dev-20287
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{file-retention-f638v0k7.js → model-resolver-02mam7mg.js} +17 -17
- package/dist/chunks/{file-retention-0gdmqesm.js → model-resolver-02nrjc1r.js} +8 -8
- package/dist/chunks/{file-retention-7jn4cbqh.js → model-resolver-02v6ekhe.js} +3 -3
- package/dist/chunks/{file-retention-fe8gfspk.js → model-resolver-09zzmmve.js} +11 -11
- package/dist/chunks/{file-retention-dte89hxh.js → model-resolver-0cjtfqfg.js} +32 -32
- package/dist/chunks/{file-retention-y1afxrem.js → model-resolver-0fb5qscw.js} +5 -5
- package/dist/chunks/{file-retention-51f5btjf.js → model-resolver-0jkw1j53.js} +6 -6
- package/dist/chunks/{file-retention-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-zd4enfcj.js → model-resolver-0qxf76vs.js} +20 -20
- package/dist/chunks/{file-retention-r98e92ep.js → model-resolver-0v53mg2y.js} +4 -4
- package/dist/chunks/{file-retention-kryy842e.js → model-resolver-0v5grnq4.js} +43 -43
- package/dist/chunks/{file-retention-hbsdh60r.js → model-resolver-0w4g3y4c.js} +17 -17
- package/dist/chunks/{file-retention-b29g69qn.js → model-resolver-0ybcar0z.js} +29 -29
- package/dist/chunks/{file-retention-47378fkq.js → model-resolver-12gw954a.js} +7 -7
- package/dist/chunks/{file-retention-k1k1f0xx.js → model-resolver-12s112hc.js} +20 -20
- package/dist/chunks/{file-retention-svx0194h.js → model-resolver-14gkyck6.js} +33 -33
- package/dist/chunks/{file-retention-g2tbeqr5.js → model-resolver-18nq8aak.js} +12 -12
- package/dist/chunks/{file-retention-1acjjqhc.js → model-resolver-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-retention-vxje23vy.js → model-resolver-1bmx2daa.js} +7 -7
- package/dist/chunks/{file-retention-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-g0x0gx4j.js → model-resolver-1fx9aqpr.js} +25 -25
- package/dist/chunks/{file-retention-0ywk5tx6.js → model-resolver-1mzz2bvg.js} +4 -4
- package/dist/chunks/{file-retention-8sze2n9a.js → model-resolver-1p07q0wb.js} +8 -8
- package/dist/chunks/{file-retention-ms03nq7r.js → model-resolver-1z8t22df.js} +13 -13
- package/dist/chunks/{file-retention-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-5ndd65f1.js → model-resolver-2507s413.js} +9 -9
- package/dist/chunks/{file-retention-0m56zc8a.js → model-resolver-27de2wkz.js} +26 -26
- package/dist/chunks/model-resolver-289z41pq.js +507 -0
- package/dist/chunks/{file-retention-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-etwdtmvh.js → model-resolver-2ej4jj92.js} +12 -12
- package/dist/chunks/{file-retention-ah16ew7h.js → model-resolver-2t8dba19.js} +11 -11
- package/dist/chunks/{file-retention-9gjt9gbs.js → model-resolver-2wtv204s.js} +15 -15
- package/dist/chunks/{file-retention-tv83fb5h.js → model-resolver-2y1mzw7q.js} +23 -23
- package/dist/chunks/{file-retention-7yj99b4g.js → model-resolver-309z119j.js} +32 -32
- package/dist/chunks/{file-retention-16gx62bp.js → model-resolver-312373c7.js} +2 -2
- package/dist/chunks/{file-retention-rb8xkgfd.js → model-resolver-36cdy2c1.js} +13 -13
- package/dist/chunks/{file-retention-2bef5nan.js → model-resolver-3ckfa135.js} +35 -35
- package/dist/chunks/{file-retention-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-gzj4cxdc.js → model-resolver-3kk1mn5p.js} +22 -22
- package/dist/chunks/{file-retention-21b4tg1x.js → model-resolver-3nk0dpt4.js} +11 -11
- package/dist/chunks/{file-retention-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-dgk65g6a.js → model-resolver-3xs92vpq.js} +11 -11
- package/dist/chunks/{file-retention-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-60amgp41.js → model-resolver-40py8n81.js} +4 -4
- package/dist/chunks/{file-retention-z5jasrp0.js → model-resolver-4crx14w5.js} +25 -25
- package/dist/chunks/{file-retention-nt2xy26d.js → model-resolver-4g4nqdg4.js} +32 -32
- package/dist/chunks/{file-retention-d9s573fh.js → model-resolver-4sn99hha.js} +7 -7
- package/dist/chunks/{file-retention-481cetth.js → model-resolver-4txbmjfp.js} +13 -13
- package/dist/chunks/{file-retention-psbrwbtd.js → model-resolver-510m7gjw.js} +5 -5
- package/dist/chunks/{file-retention-7s2tn799.js → model-resolver-52fpbh6z.js} +8 -8
- package/dist/chunks/{file-retention-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-xfkkasph.js → model-resolver-57b9ws8p.js} +7 -7
- package/dist/chunks/{file-retention-pzwaf65z.js → model-resolver-5aexa4he.js} +37 -37
- package/dist/chunks/{file-retention-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-341r3tte.js → model-resolver-5dhepvmf.js} +35 -35
- package/dist/chunks/{file-retention-fhff0x2d.js → model-resolver-5e1pzs32.js} +9 -9
- package/dist/chunks/{file-retention-4bgvjpaj.js → model-resolver-5g9mk9a9.js} +19 -19
- package/dist/chunks/{file-retention-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-retention-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-szekdmz8.js → model-resolver-5vy8s2tt.js} +24 -24
- package/dist/chunks/{file-retention-p37cw4rj.js → model-resolver-5xtgfte3.js} +4 -4
- package/dist/chunks/{file-retention-dwwxx3ad.js → model-resolver-6660xsne.js} +25 -25
- package/dist/chunks/{file-retention-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-4q599fyn.js → model-resolver-67pxqpv3.js} +8 -8
- package/dist/chunks/{file-retention-snjen9h6.js → model-resolver-68z8ec46.js} +45 -45
- package/dist/chunks/{file-retention-9gk01zf5.js → model-resolver-6j0d4bfq.js} +13 -13
- package/dist/chunks/{file-retention-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-q1n3a0d0.js → model-resolver-6nxs6bmb.js} +6 -6
- package/dist/chunks/{file-retention-ez49j3s8.js → model-resolver-6q5nb5ny.js} +21 -21
- package/dist/chunks/{file-retention-1fdwkrhc.js → model-resolver-6w0z1cey.js} +36 -36
- package/dist/chunks/{file-retention-tffeed3q.js → model-resolver-6z9y85k1.js} +12 -12
- package/dist/chunks/{file-retention-pg27pa1a.js → model-resolver-782920ah.js} +35 -35
- package/dist/chunks/{file-retention-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/model-resolver-7fj5dwt0.js +18 -0
- package/dist/chunks/{file-retention-tnppw0jd.js → model-resolver-7y2ssk5t.js} +37 -37
- package/dist/chunks/{file-retention-xj0hxfaf.js → model-resolver-7y4dpfk6.js} +18 -18
- package/dist/chunks/{file-retention-0jq9fyba.js → model-resolver-82rhge12.js} +9 -9
- package/dist/chunks/{file-retention-rjpmn9fg.js → model-resolver-86b7s5s7.js} +28 -28
- package/dist/chunks/{file-retention-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-ps5z82g9.js → model-resolver-8f7td570.js} +5 -5
- package/dist/chunks/{file-retention-srey4qzw.js → model-resolver-8tb71k3x.js} +9 -9
- package/dist/chunks/{file-retention-p3t9fn4d.js → model-resolver-8w7za83g.js} +9 -9
- package/dist/chunks/{file-retention-vd7rzxqf.js → model-resolver-8zh4h089.js} +5 -5
- package/dist/chunks/{file-retention-3q73b6mj.js → model-resolver-92x5e2q8.js} +25 -25
- package/dist/chunks/{file-retention-4pf42kt4.js → model-resolver-93934eye.js} +6 -6
- package/dist/chunks/{file-retention-gfvb90ym.js → model-resolver-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-retention-jpq1mxv8.js → model-resolver-9a3afvhq.js} +10 -10
- package/dist/chunks/{file-retention-sc51f7bh.js → model-resolver-9eq5kwq7.js} +8 -8
- package/dist/chunks/{file-retention-f79rnm05.js → model-resolver-9qk46xax.js} +8 -8
- package/dist/chunks/{file-retention-ccrmjght.js → model-resolver-a0gyjzw3.js} +36 -36
- package/dist/chunks/{file-retention-4z58m4b4.js → model-resolver-a81kfqvn.js} +4 -4
- package/dist/chunks/{file-retention-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-60e937tk.js → model-resolver-aaz4evtx.js} +18 -18
- package/dist/chunks/{file-retention-yg47fsda.js → model-resolver-ae8tse6q.js} +10 -10
- package/dist/chunks/{file-retention-80scg3y3.js → model-resolver-afrtgck4.js} +4 -4
- package/dist/chunks/{file-retention-rr5wp26c.js → model-resolver-akrnn5pm.js} +11 -11
- package/dist/chunks/{file-retention-s2byz38y.js → model-resolver-ap4mmp3q.js} +4 -4
- package/dist/chunks/{file-retention-4bpxp8jr.js → model-resolver-aye9t8w1.js} +11 -11
- package/dist/chunks/{file-retention-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-bbb7krmb.js → model-resolver-b9yq29xv.js} +1 -1
- package/dist/chunks/{file-retention-zcrspsvn.js → model-resolver-baaqp4zd.js} +4 -4
- package/dist/chunks/{file-retention-2fz0za61.js → model-resolver-beyx1pkk.js} +22 -22
- package/dist/chunks/{file-retention-c1y4bq5r.js → model-resolver-bt48ydtb.js} +15 -15
- package/dist/chunks/{file-retention-xsq4etav.js → model-resolver-c63b3eb6.js} +30 -30
- package/dist/chunks/{file-retention-d9bmnkpe.js → model-resolver-cdynj408.js} +23 -23
- package/dist/chunks/{file-retention-54tcyq79.js → model-resolver-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-retention-g5q29pcg.js → model-resolver-cq364ng9.js} +22 -22
- package/dist/chunks/{file-retention-yec3cmat.js → model-resolver-d1wa36m8.js} +5 -5
- package/dist/chunks/{file-retention-n2az5f76.js → model-resolver-d2va843e.js} +10 -10
- package/dist/chunks/{file-retention-7h1rvsdd.js → model-resolver-d96fczqh.js} +17 -17
- package/dist/chunks/{file-retention-jwhd9bgz.js → model-resolver-dgdn6h98.js} +15 -15
- package/dist/chunks/{file-retention-7k8jnmap.js → model-resolver-dj2b5gt2.js} +44 -44
- package/dist/chunks/{file-retention-r2m716tb.js → model-resolver-djszqvmq.js} +9 -9
- package/dist/chunks/{file-retention-41rmpfss.js → model-resolver-dt8c207w.js} +25 -25
- package/dist/chunks/{file-retention-yx0fmswe.js → model-resolver-dyqx6pj7.js} +14 -14
- package/dist/chunks/{file-retention-gkcpgxvn.js → model-resolver-e08g86r3.js} +11 -11
- package/dist/chunks/{file-retention-e5etnha4.js → model-resolver-e0f9fjmh.js} +18 -18
- package/dist/chunks/{file-retention-gjyhvyzk.js → model-resolver-e5tcccaa.js} +11 -11
- package/dist/chunks/{file-retention-kmkwybff.js → model-resolver-e6hd9jay.js} +4 -4
- package/dist/chunks/{file-retention-xznz5zdk.js → model-resolver-e72j5d8n.js} +1 -1
- package/dist/chunks/{file-retention-jdtz6xe6.js → model-resolver-e80a14hq.js} +11 -11
- package/dist/chunks/{file-retention-yr5t88vm.js → model-resolver-e8v7tggz.js} +5 -5
- package/dist/chunks/{file-retention-yd5d63z4.js → model-resolver-e9e65bk8.js} +29 -29
- package/dist/chunks/{file-retention-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-retention-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-rjbmcc11.js → model-resolver-enf33bpj.js} +11 -11
- package/dist/chunks/{file-retention-782bh3pr.js → model-resolver-es818167.js} +25 -25
- package/dist/chunks/{file-retention-rkp2w2jx.js → model-resolver-esmfnkq0.js} +34 -34
- package/dist/chunks/{file-retention-958ry1en.js → model-resolver-et80q73h.js} +20 -20
- package/dist/chunks/{file-retention-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-36cgn824.js → model-resolver-evbgk2k8.js} +5 -5
- package/dist/chunks/{file-retention-y1zeze83.js → model-resolver-f83da79h.js} +5 -5
- package/dist/chunks/{file-retention-addykxcr.js → model-resolver-f9d9xn2t.js} +29 -29
- package/dist/chunks/{file-retention-fx4fe4nq.js → model-resolver-fbmcmy2w.js} +4 -4
- package/dist/chunks/{file-retention-61h3kr51.js → model-resolver-fgwp6wvs.js} +31 -31
- package/dist/chunks/{file-retention-r59n77gh.js → model-resolver-fwwaqksj.js} +22 -22
- package/dist/chunks/{file-retention-cjj4r78p.js → model-resolver-g4zc67y8.js} +12 -12
- package/dist/chunks/{file-retention-679y6aj6.js → model-resolver-g7nh3h7e.js} +19 -19
- package/dist/chunks/{file-retention-vnwmzs4a.js → model-resolver-gcavn3wx.js} +5 -5
- package/dist/chunks/{file-retention-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-3556dn8t.js → model-resolver-gg3hnhsj.js} +1 -1
- package/dist/chunks/{file-retention-hfym5axa.js → model-resolver-gjr5vbhk.js} +10 -10
- package/dist/chunks/{file-retention-r5d8z5dp.js → model-resolver-gktpjf8e.js} +10 -10
- package/dist/chunks/{file-retention-5pk58n1t.js → model-resolver-gn1qq9yk.js} +26 -26
- package/dist/chunks/{file-retention-yyb7tjpc.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-v9aw8j7f.js → model-resolver-gvsybxtf.js} +93 -93
- package/dist/chunks/{file-retention-dk1h4k3m.js → model-resolver-h0ttmn00.js} +27 -27
- package/dist/chunks/{file-retention-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-kbegyq1c.js → model-resolver-hkagk5ex.js} +2 -2
- package/dist/chunks/{file-retention-rrb87pxb.js → model-resolver-hkfaxnqd.js} +20 -20
- package/dist/chunks/{file-retention-8jxztqqt.js → model-resolver-hkfg6fzm.js} +5 -5
- package/dist/chunks/{file-retention-twd39qy8.js → model-resolver-hts4vzf1.js} +19 -19
- package/dist/chunks/{file-retention-3m43f51c.js → model-resolver-hzr2qqx8.js} +26 -26
- package/dist/chunks/{file-retention-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-s1a7yt6d.js → model-resolver-j63mkyf2.js} +48 -48
- package/dist/chunks/{file-retention-wd0xah3x.js → model-resolver-jjgtwx64.js} +32 -32
- package/dist/chunks/{file-retention-6scfp7gb.js → model-resolver-jjs74g98.js} +9 -9
- package/dist/chunks/{file-retention-tb1cafh6.js → model-resolver-jpqeh2wc.js} +4 -4
- package/dist/chunks/{file-retention-nzks3jc8.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{file-retention-6zcagf6x.js → model-resolver-k41vwr9d.js} +6 -6
- package/dist/chunks/{file-retention-ekf0jtj0.js → model-resolver-k5qvkmwp.js} +3 -3
- package/dist/chunks/{file-retention-5khy2bd0.js → model-resolver-kb6jkvf1.js} +39 -39
- package/dist/chunks/{file-retention-vsx1rdgx.js → model-resolver-kjaarbta.js} +21 -21
- package/dist/chunks/{file-retention-qeb5ksby.js → model-resolver-kjwygmc9.js} +53 -53
- package/dist/chunks/{file-retention-kspsnyg5.js → model-resolver-ktk6m7yv.js} +12 -12
- package/dist/chunks/{file-retention-h78cdha0.js → model-resolver-m210z9se.js} +43 -43
- package/dist/chunks/{file-retention-1caf5nrg.js → model-resolver-m2hdddfe.js} +25 -25
- package/dist/chunks/{file-retention-pzhy0znt.js → model-resolver-m3c96kre.js} +18 -18
- package/dist/chunks/{file-retention-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-q3cwr1ch.js → model-resolver-m4mq5212.js} +63 -63
- package/dist/chunks/{file-retention-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-8xyqwyw4.js → model-resolver-mdmxc2h2.js} +20 -20
- package/dist/chunks/{file-retention-v2hpcb12.js → model-resolver-mean0qec.js} +11 -11
- package/dist/chunks/{file-retention-mfqp6xfm.js → model-resolver-mfqp6xfm.js} +2 -2
- package/dist/chunks/{file-retention-3vzfjtr8.js → model-resolver-mgeh0yn6.js} +5 -5
- package/dist/chunks/{file-retention-ftbwh1a1.js → model-resolver-mgvjhcwg.js} +9 -9
- package/dist/chunks/{file-retention-c01tdnkp.js → model-resolver-mk4qzd84.js} +38 -38
- package/dist/chunks/{file-retention-9jbvj98d.js → model-resolver-n0tq777j.js} +8 -8
- package/dist/chunks/{file-retention-grfgqh29.js → model-resolver-nc64kt7a.js} +18 -18
- package/dist/chunks/{file-retention-gzsrjqqd.js → model-resolver-nc7t749v.js} +77 -77
- package/dist/chunks/{file-retention-fw2v9256.js → model-resolver-ncjresk4.js} +8 -8
- package/dist/chunks/{file-retention-n7d88tpn.js → model-resolver-ndmv45hp.js} +3 -3
- package/dist/chunks/{file-retention-rwh68y4k.js → model-resolver-ndqtf2h8.js} +6 -6
- package/dist/chunks/{file-retention-5gerj4ra.js → model-resolver-nrsh6tk0.js} +47 -47
- package/dist/chunks/{file-retention-4s8ysvrb.js → model-resolver-nv6em8ry.js} +40 -40
- package/dist/chunks/{file-retention-y4spq9gz.js → model-resolver-p0d9yfeb.js} +94 -94
- package/dist/chunks/{file-retention-vxzh5eqq.js → model-resolver-pc4b88sv.js} +4 -4
- package/dist/chunks/{file-retention-jz6k0e3h.js → model-resolver-pfk6y5a9.js} +3 -3
- package/dist/chunks/{file-retention-ydgy0jv4.js → model-resolver-phpw85vv.js} +4 -4
- package/dist/chunks/{file-retention-zgw5b4rz.js → model-resolver-pjf50ww2.js} +13 -13
- package/dist/chunks/{file-retention-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-g298hghc.js → model-resolver-pq4mxcs4.js} +32 -32
- package/dist/chunks/{file-retention-3czz45a3.js → model-resolver-q5cxqncr.js} +3 -3
- package/dist/chunks/{file-retention-at5d07az.js → model-resolver-qa3qhgw8.js} +4 -4
- package/dist/chunks/{file-retention-njhj3ca1.js → model-resolver-qd6sxt3f.js} +13 -13
- package/dist/chunks/{file-retention-2pnhn36q.js → model-resolver-qj8eh1ht.js} +21 -21
- package/dist/chunks/{file-retention-qgc72k7m.js → model-resolver-qkn0bf4a.js} +8 -8
- package/dist/chunks/{file-retention-amhzemjk.js → model-resolver-qpyj4d94.js} +11 -11
- package/dist/chunks/{file-retention-vk4wj6sj.js → model-resolver-qsb13eat.js} +24 -24
- package/dist/chunks/{file-retention-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-dvzj1xmf.js → model-resolver-qtg64bph.js} +17 -17
- package/dist/chunks/{file-retention-1wr3xbz8.js → model-resolver-qvreyy9g.js} +5 -5
- package/dist/chunks/{file-retention-30dn2p1d.js → model-resolver-qxcr5sj8.js} +27 -27
- package/dist/chunks/{file-retention-1fscjbh9.js → model-resolver-r1vxhqvv.js} +3 -3
- package/dist/chunks/{file-retention-1bbkgx8g.js → model-resolver-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-retention-474p48fz.js → model-resolver-rbcy0mcv.js} +13 -13
- package/dist/chunks/{file-retention-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-chthj8nn.js → model-resolver-rrx1e06a.js} +17 -17
- package/dist/chunks/{file-retention-h6p0mwy3.js → model-resolver-rz6dkkgy.js} +15 -15
- package/dist/chunks/{file-retention-k0aew57z.js → model-resolver-s61t9ejp.js} +40 -40
- package/dist/chunks/{file-retention-4jrfqp12.js → model-resolver-s6v4rjr2.js} +29 -29
- package/dist/chunks/{file-retention-kag9wx21.js → model-resolver-s6vew4x4.js} +27 -27
- package/dist/chunks/{file-retention-gx02ghzj.js → model-resolver-sbgs7n57.js} +9 -9
- package/dist/chunks/{file-retention-9asxwhye.js → model-resolver-t7zmjtqp.js} +10 -10
- package/dist/chunks/{file-retention-4x93m9qy.js → model-resolver-t88yr9ve.js} +20 -20
- package/dist/chunks/{file-retention-2a31wvsa.js → model-resolver-tafnspmy.js} +17 -17
- package/dist/chunks/{file-retention-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-9ckhpt6a.js → model-resolver-tbebh6wt.js} +35 -35
- package/dist/chunks/{file-retention-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{file-retention-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-nnk7v8pm.js → model-resolver-tf4wmns1.js} +8 -8
- package/dist/chunks/{file-retention-5dg6696f.js → model-resolver-tjb0cp7v.js} +33 -33
- package/dist/chunks/{file-retention-3vehk3w1.js → model-resolver-tn2czw04.js} +15 -15
- package/dist/chunks/{file-retention-jrh7cjv9.js → model-resolver-tv1yapnf.js} +19 -19
- package/dist/chunks/{file-retention-4f1mqxn7.js → model-resolver-tvmwean2.js} +4 -4
- package/dist/chunks/{file-retention-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-5epvw41m.js → model-resolver-tyr8t8jb.js} +38 -38
- package/dist/chunks/{file-retention-3st197qb.js → model-resolver-v4a37k2n.js} +59 -59
- package/dist/chunks/{file-retention-p9te1kmc.js → model-resolver-va9r1m6h.js} +43 -43
- package/dist/chunks/{file-retention-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-wapkz1da.js → model-resolver-vqmd05dp.js} +22 -22
- package/dist/chunks/{file-retention-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-84txncab.js → model-resolver-w1eejvng.js} +5 -5
- package/dist/chunks/{file-retention-yte8k0cp.js → model-resolver-w2w41gxq.js} +21 -21
- package/dist/chunks/{file-retention-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-frtvfavf.js → model-resolver-wb1r8yr9.js} +6 -6
- package/dist/chunks/{file-retention-dp089qyj.js → model-resolver-wcqjfzwh.js} +11 -11
- package/dist/chunks/{file-retention-psazpmmj.js → model-resolver-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-retention-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-yrc0g15d.js → model-resolver-wg9731he.js} +3 -3
- package/dist/chunks/{file-retention-w2wbxgzd.js → model-resolver-wgcg4671.js} +7 -7
- package/dist/chunks/{file-retention-qcmd6j3d.js → model-resolver-wgtcm0m7.js} +4 -4
- package/dist/chunks/{file-retention-gja6y8ab.js → model-resolver-wj7vq2ea.js} +22 -22
- package/dist/chunks/{file-retention-f9v3w90c.js → model-resolver-wmmnpfs6.js} +19 -19
- package/dist/chunks/{file-retention-4a49dmp5.js → model-resolver-wsr3wm9b.js} +18 -18
- package/dist/chunks/{file-retention-e4e0rb9m.js → model-resolver-wwqbqry9.js} +11 -11
- package/dist/chunks/model-resolver-wzeytf8f.js +252 -0
- package/dist/chunks/{file-retention-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-9hbvw80x.js → model-resolver-x3ymtx59.js} +16 -16
- package/dist/chunks/{file-retention-mpk0rfs5.js → model-resolver-x661k3y3.js} +4 -4
- package/dist/chunks/{file-retention-t3tn9a53.js → model-resolver-x929eknx.js} +9 -9
- package/dist/chunks/{file-retention-ew2nq7xx.js → model-resolver-xa1a1wzx.js} +6 -6
- package/dist/chunks/{file-retention-s6yj2pcz.js → model-resolver-xa1e8bc0.js} +6 -6
- package/dist/chunks/{file-retention-cg045a5a.js → model-resolver-xdxwx81a.js} +22 -22
- package/dist/chunks/model-resolver-xh9cn0qf.js +26 -0
- package/dist/chunks/{file-retention-g87nsqnj.js → model-resolver-xkmg7qp8.js} +5 -5
- package/dist/chunks/{file-retention-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-retention-20k655vp.js → model-resolver-xn8j33mp.js} +8 -8
- package/dist/chunks/{file-retention-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-43m7x77p.js → model-resolver-y1k0c4q8.js} +20 -20
- package/dist/chunks/{file-retention-nenvs776.js → model-resolver-y6mjvh6p.js} +9 -9
- package/dist/chunks/{file-retention-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{file-retention-14rxwr6z.js → model-resolver-yc2dt6gh.js} +47 -47
- package/dist/chunks/{file-retention-zzp9hs8b.js → model-resolver-yedg7326.js} +33 -33
- package/dist/chunks/{file-retention-4dcyp64e.js → model-resolver-yefqq88c.js} +11 -11
- package/dist/chunks/{file-retention-x1mx0z9d.js → model-resolver-yetcaet6.js} +10 -10
- package/dist/chunks/{file-retention-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-c9h5a3rv.js → model-resolver-ys8bcvtf.js} +32 -32
- package/dist/chunks/{file-retention-k6c967g7.js → model-resolver-yzscc1x4.js} +3 -3
- package/dist/chunks/{file-retention-bjtzbw4r.js → model-resolver-z07pqspn.js} +3 -3
- package/dist/chunks/{file-retention-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-xw6mcszy.js → model-resolver-z28qgkdb.js} +16 -16
- package/dist/chunks/{file-retention-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
- package/dist/chunks/{file-retention-rq775frq.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-2yxf3rmy.js → model-resolver-zexagpgf.js} +34 -34
- package/dist/chunks/{file-retention-b0a139tp.js → model-resolver-zgnhzt77.js} +5 -5
- package/dist/chunks/{file-retention-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-3gd62aj9.js → model-resolver-zyj926zy.js} +188 -188
- package/dist/chunks/{file-retention-j6wzn4gt.js → model-resolver-zzypbymf.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- 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 +119 -119
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-retention-0awdyt48.js +0 -26
- package/dist/chunks/file-retention-5g7fvmhm.js +0 -507
- package/dist/chunks/file-retention-c2k3cth8.js +0 -252
- package/dist/chunks/file-retention-ht5y0zrb.js +0 -18
- /package/dist/chunks/{file-retention-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-e5tcccaa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./model-resolver-5dhepvmf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-tjb0cp7v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID7
|
|
17
|
+
} from "./model-resolver-3ckfa135.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID6,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-tbebh6wt.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID7.make("digitalocean");
|
|
31
|
+
var integrationID = ID8.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service81;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID6.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node81
|
|
12
|
+
} from "./model-resolver-x3ymtx59.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID7,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service68,
|
|
20
|
+
node71,
|
|
21
|
+
Event14
|
|
22
|
+
} from "./model-resolver-3ckfa135.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID6,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service67,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node70,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
51
|
+
var ID6 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info20 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
63
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service68;
|
|
65
|
+
const bus = yield* Service81;
|
|
66
|
+
const location = yield* Service78;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service67.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node71, node84, node81] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service67, node70, compatibility2, parse4, exports_model2, Event13 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-3ckfa135.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./model-resolver-tbebh6wt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin35 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service67;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin35, exports_verbosity };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./model-resolver-5dhepvmf.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-f9d9xn2t.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event15,
|
|
38
|
+
ID: () => ID8,
|
|
39
|
+
Info: () => Info22,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service69,
|
|
47
|
+
node: () => node72
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
70
|
+
var ID8 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info22 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID8,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service69 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
114
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service70;
|
|
114
|
+
const bus = yield* Service81;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info22.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
294
294
|
const persistence = yield* createCredential({
|
|
295
295
|
integrationID: attempt.integrationID,
|
|
296
296
|
label: attempt.label,
|
|
297
|
-
value:
|
|
297
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
298
298
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
299
299
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
300
300
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service69.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
462
462
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
463
463
|
if (connection.type === "env") {
|
|
464
464
|
const key = process.env[connection.name];
|
|
465
|
-
return key ?
|
|
465
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
466
466
|
}
|
|
467
467
|
const credential = yield* credentials.get(connection.id);
|
|
468
468
|
if (!credential)
|
|
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
495
495
|
yield* createCredential({
|
|
496
496
|
integrationID: input.integrationID,
|
|
497
497
|
label: input.label,
|
|
498
|
-
value:
|
|
498
|
+
value: Key3.make({
|
|
499
499
|
type: "key",
|
|
500
500
|
key: input.key,
|
|
501
501
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node72 = makeLocationNode({
|
|
603
|
+
service: Service69,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node73, node84, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service69, node72, exports_integration, Event15 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info26,
|
|
6
|
+
ID11,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-gn1qq9yk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./model-resolver-yc2dt6gh.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin31,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin31 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info26.make({
|
|
434
|
+
id: ID11.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info26.make({
|
|
441
|
+
id: ID11.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service59;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-e5tcccaa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service70
|
|
11
|
+
} from "./model-resolver-5dhepvmf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./model-resolver-tjb0cp7v.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./model-resolver-3ckfa135.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-93934eye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID7.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID8.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service70;
|
|
57
|
+
const integrations = yield* Service69;
|
|
58
|
+
const bus = yield* Service81;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./model-resolver-5vy8s2tt.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service64;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|