@opencode/core 0.0.0-dev-21102 → 0.0.0-dev-21103
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{file-mutation-cyz4rac1.js → models-dev-00rnpv17.js} +15 -15
- package/dist/chunks/{file-mutation-egyn2h7c.js → models-dev-02whdv0x.js} +7 -7
- package/dist/chunks/{file-mutation-0a45r66e.js → models-dev-0jzbpbks.js} +10 -10
- package/dist/chunks/{file-mutation-bbsgqxz3.js → models-dev-0m54b994.js} +5 -5
- package/dist/chunks/{file-mutation-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-mutation-xqevex3y.js → models-dev-0ynsf4tc.js} +24 -24
- package/dist/chunks/{file-mutation-ze4328nr.js → models-dev-0z3sj3f1.js} +20 -20
- package/dist/chunks/{file-mutation-vx9tn3ww.js → models-dev-128c3rgk.js} +30 -30
- package/dist/chunks/{file-mutation-e236apxg.js → models-dev-12xa7c19.js} +3 -3
- package/dist/chunks/{file-mutation-rsk8b1r9.js → models-dev-14dmx2cw.js} +11 -11
- package/dist/chunks/{file-mutation-b81ahfje.js → models-dev-156fkcxj.js} +17 -17
- package/dist/chunks/{file-mutation-6qr2hpa3.js → models-dev-18j937x3.js} +22 -22
- package/dist/chunks/{file-mutation-z8abfd22.js → models-dev-18yjff17.js} +46 -46
- package/dist/chunks/{file-mutation-w31qasc1.js → models-dev-1bkg66xs.js} +9 -9
- package/dist/chunks/{file-mutation-tr1j93sp.js → models-dev-1cxrryk4.js} +11 -11
- package/dist/chunks/{file-mutation-86hr6tyx.js → models-dev-1hgqdnhq.js} +16 -16
- package/dist/chunks/{file-mutation-7f067m2e.js → models-dev-1jzxfm5p.js} +4 -4
- package/dist/chunks/{file-mutation-khmqacep.js → models-dev-1w2wqhfv.js} +4 -4
- package/dist/chunks/{file-mutation-a5cb3rxh.js → models-dev-20hxmkmy.js} +4 -4
- package/dist/chunks/{file-mutation-s9hmt3s5.js → models-dev-20qam0gr.js} +17 -17
- package/dist/chunks/{file-mutation-hvb11wac.js → models-dev-21x2tq4y.js} +8 -8
- package/dist/chunks/{file-mutation-6b5qcyht.js → models-dev-22zphmk5.js} +11 -11
- package/dist/chunks/{file-mutation-t3zmyd3w.js → models-dev-2466df47.js} +30 -30
- package/dist/chunks/{file-mutation-s7p2cp87.js → models-dev-2akqzpk3.js} +24 -24
- package/dist/chunks/{file-mutation-kna85462.js → models-dev-2cghqvnp.js} +16 -16
- package/dist/chunks/{file-mutation-eac7ec6d.js → models-dev-2da87w3a.js} +4 -4
- package/dist/chunks/{file-mutation-jxwk72h5.js → models-dev-2h747eb3.js} +1 -1
- package/dist/chunks/{file-mutation-fcrkznn8.js → models-dev-2k8khapm.js} +5 -5
- package/dist/chunks/{file-mutation-x5wrmng7.js → models-dev-2r1j4600.js} +11 -11
- package/dist/chunks/{file-mutation-r6twsrbc.js → models-dev-2z6przmx.js} +11 -11
- package/dist/chunks/{file-mutation-dpdqynsp.js → models-dev-30fcd0bd.js} +25 -25
- package/dist/chunks/{file-mutation-6gke9jm0.js → models-dev-337a4zhp.js} +22 -22
- package/dist/chunks/{file-mutation-sjsq85cv.js → models-dev-3c0dn32h.js} +17 -17
- package/dist/chunks/{file-mutation-kecerxq6.js → models-dev-3ej3pa37.js} +5 -5
- package/dist/chunks/{file-mutation-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-6et16byz.js → models-dev-3gmam5k1.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
- package/dist/chunks/{file-mutation-3xmz25ae.js → models-dev-3mkrw1ny.js} +6 -6
- package/dist/chunks/{file-mutation-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-addxnjmp.js → models-dev-3y377wv9.js} +4 -4
- package/dist/chunks/{file-mutation-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-v0es1rhs.js → models-dev-4434d9q2.js} +9 -9
- package/dist/chunks/{file-mutation-vhs7bsm8.js → models-dev-4enwrpjj.js} +85 -85
- package/dist/chunks/{file-mutation-bhja2czc.js → models-dev-4nhk0sdz.js} +31 -31
- package/dist/chunks/{file-mutation-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
- package/dist/chunks/{file-mutation-4y2jths2.js → models-dev-55yh6xd3.js} +8 -8
- package/dist/chunks/{file-mutation-wrmx1wd8.js → models-dev-589cd944.js} +18 -18
- package/dist/chunks/{file-mutation-f8g1y2jp.js → models-dev-598djycs.js} +17 -17
- package/dist/chunks/{file-mutation-6n6k1agq.js → models-dev-5d1ww40v.js} +35 -35
- package/dist/chunks/{file-mutation-bh35h2a4.js → models-dev-5e6zhe75.js} +32 -32
- package/dist/chunks/{file-mutation-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-mutation-e3qxr5gk.js → models-dev-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-mutation-wyfpybhz.js → models-dev-5r77gv8f.js} +21 -21
- package/dist/chunks/{file-mutation-e80seqcp.js → models-dev-5rzwp8tz.js} +3 -3
- package/dist/chunks/{file-mutation-es633c8d.js → models-dev-5w6g5fb7.js} +23 -23
- package/dist/chunks/{file-mutation-zj0rakt4.js → models-dev-5ye64gj6.js} +24 -24
- package/dist/chunks/{file-mutation-v38qq1xq.js → models-dev-6aqh8tvj.js} +5 -5
- package/dist/chunks/{file-mutation-kvwqxrwb.js → models-dev-6bh82st2.js} +7 -7
- package/dist/chunks/{file-mutation-523zf4ny.js → models-dev-6efh69t8.js} +8 -8
- package/dist/chunks/{file-mutation-rg5vjzce.js → models-dev-6hxktd23.js} +15 -15
- package/dist/chunks/{file-mutation-yh7kjdpc.js → models-dev-6n4b0dsb.js} +9 -9
- package/dist/chunks/{file-mutation-44gm7dpy.js → models-dev-6qcm6qfy.js} +14 -14
- package/dist/chunks/{file-mutation-7apm8bw6.js → models-dev-6rqswetv.js} +15 -15
- package/dist/chunks/{file-mutation-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-mutation-1nbyw85c.js → models-dev-721yw7xq.js} +11 -11
- package/dist/chunks/{file-mutation-0kqmzpgj.js → models-dev-73g36y3t.js} +4 -4
- package/dist/chunks/{file-mutation-831szrnr.js → models-dev-73mn35m0.js} +50 -50
- package/dist/chunks/{file-mutation-775gj3j1.js → models-dev-775gj3j1.js} +2 -2
- package/dist/chunks/{file-mutation-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-86qjnnqk.js → models-dev-7zkbhs7g.js} +11 -11
- package/dist/chunks/{file-mutation-ab17c7dx.js → models-dev-80edwejb.js} +10 -10
- package/dist/chunks/{file-mutation-qze06xta.js → models-dev-80ss7tj8.js} +29 -29
- package/dist/chunks/{file-mutation-84txncab.js → models-dev-84txncab.js} +1 -1
- package/dist/chunks/{file-mutation-fqtvmpfq.js → models-dev-8ank75fn.js} +8 -8
- package/dist/chunks/{file-mutation-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
- package/dist/chunks/{file-mutation-z6szz84x.js → models-dev-8snydk6z.js} +17 -17
- package/dist/chunks/{file-mutation-91qna3x0.js → models-dev-91qna3x0.js} +3 -3
- package/dist/chunks/{file-mutation-5xeyj92j.js → models-dev-a6m5ge69.js} +2 -2
- package/dist/chunks/{file-mutation-y6mhz57t.js → models-dev-a89e0tac.js} +4 -4
- package/dist/chunks/{file-mutation-fg22vpm1.js → models-dev-a8wpgx3y.js} +18 -18
- package/dist/chunks/{file-mutation-mx9vqzsb.js → models-dev-acd4vkpt.js} +6 -6
- package/dist/chunks/{file-mutation-4ekscj25.js → models-dev-aj3rbcf1.js} +5 -5
- package/dist/chunks/{file-mutation-3nn61x4m.js → models-dev-anr4w7k8.js} +14 -14
- package/dist/chunks/{file-mutation-e3xy4e71.js → models-dev-ay3ezy6z.js} +8 -8
- package/dist/chunks/{file-mutation-emew9pj0.js → models-dev-b154dzx1.js} +16 -16
- package/dist/chunks/{file-mutation-ed01axam.js → models-dev-b7ykavmz.js} +3 -3
- package/dist/chunks/{file-mutation-bddt2pqj.js → models-dev-bf4gbvg4.js} +9 -9
- package/dist/chunks/{file-mutation-xjpvrdvq.js → models-dev-bgtk5hwy.js} +10 -10
- package/dist/chunks/{file-mutation-6axq4ad7.js → models-dev-byba8atx.js} +13 -13
- package/dist/chunks/{file-mutation-j58c5xyq.js → models-dev-bydnjh3t.js} +9 -9
- package/dist/chunks/{file-mutation-c1fqxshp.js → models-dev-c1fqxshp.js} +3 -3
- package/dist/chunks/{file-mutation-vx3jgdek.js → models-dev-c2sed5cq.js} +3 -3
- package/dist/chunks/{file-mutation-py1s82by.js → models-dev-c36fk44k.js} +9 -9
- package/dist/chunks/{file-mutation-2mq1h16s.js → models-dev-c765mh8b.js} +9 -9
- package/dist/chunks/{file-mutation-6qbfyeq4.js → models-dev-c8jf41fm.js} +3 -3
- package/dist/chunks/{file-mutation-ag0c998m.js → models-dev-cdq3zv6g.js} +28 -28
- package/dist/chunks/{file-mutation-jvf3yq6v.js → models-dev-ckf8nxjz.js} +4 -4
- package/dist/chunks/{file-mutation-p42hj8p8.js → models-dev-cmwkp3r5.js} +8 -8
- package/dist/chunks/{file-mutation-a0ngmh7v.js → models-dev-csdvkhge.js} +49 -49
- package/dist/chunks/{file-mutation-wq5jrx1v.js → models-dev-cww38x45.js} +46 -46
- package/dist/chunks/{file-mutation-qa3qhgw8.js → models-dev-d216944b.js} +7 -7
- package/dist/chunks/{file-mutation-78mmz05e.js → models-dev-d56qzfzb.js} +3 -3
- package/dist/chunks/{file-mutation-9cd83t7f.js → models-dev-damz5fwt.js} +15 -15
- package/dist/chunks/{file-mutation-v4r9rrgr.js → models-dev-dcpdnsk6.js} +20 -20
- package/dist/chunks/{file-mutation-np2zj9yp.js → models-dev-dfksb2wc.js} +31 -31
- package/dist/chunks/{file-mutation-6n4qjbg5.js → models-dev-dfxa828b.js} +26 -26
- package/dist/chunks/{file-mutation-dpkg50ah.js → models-dev-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-mutation-dqxsqydv.js → models-dev-dqxsqydv.js} +1 -1
- package/dist/chunks/{file-mutation-tk14y25j.js → models-dev-dssbfrwz.js} +5 -5
- package/dist/chunks/{file-mutation-e7a0tnjd.js → models-dev-e76kv9r4.js} +10 -10
- package/dist/chunks/{file-mutation-k9rqwrkg.js → models-dev-eask04rd.js} +9 -9
- package/dist/chunks/{file-mutation-82s76q1y.js → models-dev-ecw21w1h.js} +4 -4
- package/dist/chunks/{file-mutation-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
- package/dist/chunks/{file-mutation-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-atmskjxw.js → models-dev-em0gpvwq.js} +21 -21
- package/dist/chunks/{file-mutation-dhww0s6x.js → models-dev-f13580fy.js} +1 -1
- package/dist/chunks/{file-mutation-paerxhb0.js → models-dev-f2576r4s.js} +13 -13
- package/dist/chunks/{file-mutation-8xdknktr.js → models-dev-f4d0nvvk.js} +8 -8
- package/dist/chunks/{file-mutation-31cd2ng7.js → models-dev-f8068ewz.js} +3 -3
- package/dist/chunks/{file-mutation-wdbsdckj.js → models-dev-fad1fstv.js} +19 -19
- package/dist/chunks/{file-mutation-cng1644r.js → models-dev-fn7bcat4.js} +15 -15
- package/dist/chunks/{file-mutation-3zzm0etj.js → models-dev-fps60k0v.js} +24 -24
- package/dist/chunks/{file-mutation-zx5swzrd.js → models-dev-fs0ryakd.js} +9 -9
- package/dist/chunks/{file-mutation-kjd40bgk.js → models-dev-g686f6pq.js} +9 -9
- package/dist/chunks/{file-mutation-ettnqe8w.js → models-dev-g8h5p3ab.js} +7 -7
- package/dist/chunks/{file-mutation-h2m7wh0c.js → models-dev-g99py8zc.js} +8 -8
- package/dist/chunks/{file-mutation-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-yk3k7trf.js → models-dev-gh6hwtw0.js} +3 -3
- package/dist/chunks/{file-mutation-tjn2qjgm.js → models-dev-gj3abg68.js} +25 -25
- package/dist/chunks/{file-mutation-yzmsvx3n.js → models-dev-gm7mgs39.js} +13 -13
- package/dist/chunks/{file-mutation-34pqwryj.js → models-dev-gvc0pday.js} +28 -28
- package/dist/chunks/{file-mutation-m6078mdh.js → models-dev-gwj8012a.js} +40 -40
- package/dist/chunks/{file-mutation-bbzjnv7y.js → models-dev-h11j87t7.js} +31 -31
- package/dist/chunks/{file-mutation-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-31xfzrxg.js → models-dev-h7s7r6s9.js} +5 -5
- package/dist/chunks/{file-mutation-whmxtv1k.js → models-dev-hawbp04s.js} +22 -22
- package/dist/chunks/{file-mutation-jfnyz2cb.js → models-dev-hgmf4m41.js} +24 -24
- package/dist/chunks/{file-mutation-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
- package/dist/chunks/{file-mutation-nr90a0dt.js → models-dev-hkhazw4s.js} +42 -42
- package/dist/chunks/{file-mutation-zz5c3g14.js → models-dev-hrfrq9hz.js} +3 -3
- package/dist/chunks/{file-mutation-ym72szr7.js → models-dev-j0dm9avb.js} +38 -38
- package/dist/chunks/{file-mutation-mnv5anne.js → models-dev-j0gvhh7c.js} +15 -15
- package/dist/chunks/{file-mutation-wq2exejj.js → models-dev-j2dqzky9.js} +35 -35
- package/dist/chunks/{file-mutation-mjagy123.js → models-dev-j34dxvpb.js} +5 -5
- package/dist/chunks/{file-mutation-1ja1wxmc.js → models-dev-j7aq1t3e.js} +8 -8
- package/dist/chunks/{file-mutation-2ee1qjw3.js → models-dev-jae11whn.js} +16 -16
- package/dist/chunks/{file-mutation-34yg83yr.js → models-dev-jda5r79c.js} +13 -13
- package/dist/chunks/{file-mutation-53rh8r92.js → models-dev-jktyb4p1.js} +15 -15
- package/dist/chunks/{file-mutation-qcf9sep0.js → models-dev-jtp4xp8v.js} +7 -7
- package/dist/chunks/{file-mutation-1pw9daj1.js → models-dev-jynx48he.js} +11 -11
- package/dist/chunks/{file-mutation-yv1g7dvw.js → models-dev-k2k03ya2.js} +21 -21
- package/dist/chunks/{file-mutation-fssat8nd.js → models-dev-k7ad02mm.js} +12 -12
- package/dist/chunks/{file-mutation-mrp1vw8h.js → models-dev-k87dtxhj.js} +19 -19
- package/dist/chunks/{file-mutation-v9ym5vkf.js → models-dev-kgz81yt2.js} +27 -27
- package/dist/chunks/{file-mutation-2njd48f3.js → models-dev-kj84qpwx.js} +4 -4
- package/dist/chunks/{file-mutation-kqx1b4hy.js → models-dev-kqx1b4hy.js} +4 -4
- package/dist/chunks/{file-mutation-stdh1w8b.js → models-dev-kr0apa3b.js} +11 -11
- package/dist/chunks/{file-mutation-zj24t7xr.js → models-dev-ksqd16ha.js} +5 -5
- package/dist/chunks/{file-mutation-kwb1v3vj.js → models-dev-kwb1v3vj.js} +1 -1
- package/dist/chunks/{file-mutation-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-maspj1v3.js → models-dev-maspj1v3.js} +1 -1
- package/dist/chunks/{file-mutation-5pyjqqve.js → models-dev-mb14aw74.js} +2 -2
- package/dist/chunks/{file-mutation-ns6qmrtd.js → models-dev-mdtzp1pw.js} +15 -15
- package/dist/chunks/{file-mutation-ahjtwsk1.js → models-dev-mszqs36w.js} +11 -11
- package/dist/chunks/{file-mutation-jc9d9mw1.js → models-dev-n1t23x52.js} +17 -17
- package/dist/chunks/models-dev-n95b3jav.js +18 -0
- package/dist/chunks/{file-mutation-vaer15sz.js → models-dev-nanfamht.js} +16 -16
- package/dist/chunks/{file-mutation-ykbenvtt.js → models-dev-nfdwzame.js} +18 -18
- package/dist/chunks/{file-mutation-svvw92nk.js → models-dev-nfejd64p.js} +34 -34
- package/dist/chunks/{file-mutation-f9twm2pk.js → models-dev-nfypdxw6.js} +23 -23
- package/dist/chunks/{file-mutation-pgvws8e3.js → models-dev-nmzb0xa3.js} +87 -87
- package/dist/chunks/{file-mutation-atrg28jh.js → models-dev-nxqm7gwv.js} +32 -32
- package/dist/chunks/{file-mutation-928exejz.js → models-dev-p3gkw1kz.js} +13 -13
- package/dist/chunks/{file-mutation-1vq8waa3.js → models-dev-p7763bs8.js} +23 -23
- package/dist/chunks/{file-mutation-w80w7egq.js → models-dev-p83e3t0x.js} +26 -26
- package/dist/chunks/{file-mutation-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-ckc5xesv.js → models-dev-pmnneqsb.js} +53 -53
- package/dist/chunks/{file-mutation-yqc6bamn.js → models-dev-pnzf6mjf.js} +1 -1
- package/dist/chunks/{file-mutation-9az4rgkb.js → models-dev-pp2ce1g6.js} +24 -24
- package/dist/chunks/{file-mutation-vnrbpqt1.js → models-dev-pt3sjhha.js} +19 -19
- package/dist/chunks/{file-mutation-cry3q34q.js → models-dev-pwj87jde.js} +20 -20
- package/dist/chunks/{file-mutation-6pc27hjz.js → models-dev-py3kkmfq.js} +6 -6
- package/dist/chunks/{file-mutation-10bapksq.js → models-dev-q4vh7wx4.js} +34 -34
- package/dist/chunks/{file-mutation-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-mutation-xtxypabt.js → models-dev-qrf0dgbn.js} +12 -12
- package/dist/chunks/{file-mutation-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-vgbe0hx2.js → models-dev-qzpyk82z.js} +6 -6
- package/dist/chunks/{file-mutation-9tk0xbhp.js → models-dev-r0jx86qv.js} +21 -21
- package/dist/chunks/{file-mutation-0vhb79zx.js → models-dev-r2y1k1ra.js} +19 -19
- package/dist/chunks/{file-mutation-5vma4t00.js → models-dev-r953n9w9.js} +9 -9
- package/dist/chunks/{file-mutation-7gzvat6z.js → models-dev-r966epky.js} +18 -18
- package/dist/chunks/{file-mutation-4x8f5qrc.js → models-dev-rbwza9gb.js} +60 -60
- package/dist/chunks/{file-mutation-av34pvd4.js → models-dev-rchmsnxv.js} +14 -14
- package/dist/chunks/{file-mutation-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-rert0e01.js → models-dev-rert0e01.js} +2 -2
- package/dist/chunks/models-dev-rffya3h2.js +26 -0
- package/dist/chunks/{file-mutation-rp1sxpnt.js → models-dev-rfxjeba6.js} +1 -1
- package/dist/chunks/{file-mutation-qhj8gsw7.js → models-dev-rgeb7nt4.js} +25 -25
- package/dist/chunks/{file-mutation-rhjbct0v.js → models-dev-rhjbct0v.js} +1 -1
- package/dist/chunks/{file-mutation-rj3eygr5.js → models-dev-rj3eygr5.js} +2 -2
- package/dist/chunks/{file-mutation-qqrcrv2d.js → models-dev-rqct9df9.js} +11 -11
- package/dist/chunks/{file-mutation-q19wpyyh.js → models-dev-rtrczrsy.js} +32 -32
- package/dist/chunks/{file-mutation-24ashckt.js → models-dev-s04yg0h5.js} +32 -32
- package/dist/chunks/{file-mutation-mq9ghvnj.js → models-dev-s9v1gswf.js} +10 -10
- package/dist/chunks/{file-mutation-sa8ekw3f.js → models-dev-sa8ekw3f.js} +2 -2
- package/dist/chunks/models-dev-snpcd400.js +513 -0
- package/dist/chunks/{file-mutation-r1rs5fcg.js → models-dev-snygwxgw.js} +9 -9
- package/dist/chunks/{file-mutation-dt4y2tq7.js → models-dev-sw6dhtwx.js} +24 -24
- package/dist/chunks/{file-mutation-syv4x271.js → models-dev-syv4x271.js} +1 -1
- package/dist/chunks/{file-mutation-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-hgpde3vb.js → models-dev-td64wsrz.js} +20 -20
- package/dist/chunks/{file-mutation-cqbnrm9h.js → models-dev-tdbz35zs.js} +28 -28
- package/dist/chunks/{file-mutation-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-bdwftekd.js → models-dev-tk5cb0ff.js} +24 -24
- package/dist/chunks/{file-mutation-32qfxbms.js → models-dev-tkjw6tc9.js} +10 -10
- package/dist/chunks/{file-mutation-jpqkz8s9.js → models-dev-tksp512h.js} +50 -50
- package/dist/chunks/{file-mutation-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
- package/dist/chunks/{file-mutation-crygnby0.js → models-dev-tvfx0eya.js} +3 -3
- package/dist/chunks/{file-mutation-1j6m29mr.js → models-dev-txm3e8qz.js} +9 -9
- package/dist/chunks/{file-mutation-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
- package/dist/chunks/{file-mutation-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
- package/dist/chunks/{file-mutation-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-6rm5yzkt.js → models-dev-vfjhn2wd.js} +4 -4
- package/dist/chunks/{file-mutation-xvjf424w.js → models-dev-vm7ea25z.js} +10 -10
- package/dist/chunks/{file-mutation-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-4p0ag926.js → models-dev-w3jqc8y5.js} +11 -11
- package/dist/chunks/{file-mutation-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-3zy697b6.js → models-dev-w3x9v1nk.js} +8 -8
- package/dist/chunks/{file-mutation-y8p3zjbc.js → models-dev-w4axh9wz.js} +4 -4
- package/dist/chunks/{file-mutation-y35511gd.js → models-dev-w74zvrdf.js} +19 -19
- package/dist/chunks/{file-mutation-zm7ab947.js → models-dev-w86a4jbk.js} +20 -20
- package/dist/chunks/{file-mutation-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-cz1vwcws.js → models-dev-wgnf5zhk.js} +2 -2
- package/dist/chunks/{file-mutation-kp1hjqcq.js → models-dev-wgwt0zmy.js} +11 -11
- package/dist/chunks/{file-mutation-395y8vmn.js → models-dev-whw5zgdk.js} +27 -27
- package/dist/chunks/{file-mutation-wjr9rjd7.js → models-dev-wjr9rjd7.js} +2 -2
- package/dist/chunks/{file-mutation-atcakhwd.js → models-dev-wmgjprx4.js} +14 -14
- package/dist/chunks/{file-mutation-8kpxa52r.js → models-dev-wx7p5bgg.js} +174 -174
- package/dist/chunks/{file-mutation-83nvk7gf.js → models-dev-wxc0f3yq.js} +11 -11
- package/dist/chunks/{file-mutation-xfh984c1.js → models-dev-x3exxkhm.js} +17 -17
- package/dist/chunks/models-dev-xf54mzqc.js +257 -0
- package/dist/chunks/{file-mutation-drwq78ky.js → models-dev-xfkkasph.js} +4 -4
- package/dist/chunks/{file-mutation-0bn0sq9n.js → models-dev-xj3491xa.js} +13 -13
- package/dist/chunks/{file-mutation-3h7vgc1c.js → models-dev-xvae3yab.js} +24 -24
- package/dist/chunks/{file-mutation-bjzecbrs.js → models-dev-xvr28c84.js} +5 -5
- package/dist/chunks/{file-mutation-vx06kqgv.js → models-dev-xvyqtd7m.js} +13 -13
- package/dist/chunks/{file-mutation-9qtbwzwj.js → models-dev-y1ejwj9k.js} +4 -4
- package/dist/chunks/{file-mutation-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-ab0v7xqg.js → models-dev-y343fkzx.js} +11 -11
- package/dist/chunks/{file-mutation-sqxd4b6a.js → models-dev-y5975pxr.js} +9 -9
- package/dist/chunks/{file-mutation-gv0fvrxd.js → models-dev-y5h2s11h.js} +14 -14
- package/dist/chunks/{file-mutation-8nhf552q.js → models-dev-y80h604t.js} +15 -15
- package/dist/chunks/{file-mutation-4byykzwt.js → models-dev-y95rb4b8.js} +10 -10
- package/dist/chunks/{file-mutation-y45dsw3d.js → models-dev-y9cmq7cc.js} +25 -25
- package/dist/chunks/{file-mutation-z6c3x22d.js → models-dev-ygdna4kr.js} +5 -5
- package/dist/chunks/{file-mutation-yp2x3t23.js → models-dev-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-mutation-yewqjc3q.js → models-dev-ypcym4nd.js} +46 -46
- package/dist/chunks/{file-mutation-h9wp8z5w.js → models-dev-yrcj3v3g.js} +4 -4
- package/dist/chunks/{file-mutation-cba5y8md.js → models-dev-ytqyg6zh.js} +3 -3
- package/dist/chunks/{file-mutation-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-nteb4xfc.js → models-dev-z135rspg.js} +9 -9
- package/dist/chunks/{file-mutation-4pxfaks0.js → models-dev-z54hq8gt.js} +2 -2
- package/dist/chunks/{file-mutation-bwtsbp89.js → models-dev-z5hpwnec.js} +16 -16
- package/dist/chunks/{file-mutation-tms097mr.js → models-dev-z6zf04q7.js} +20 -20
- package/dist/chunks/{file-mutation-nbe12rbe.js → models-dev-z8p7drz6.js} +9 -9
- package/dist/chunks/{file-mutation-s0xd9fk5.js → models-dev-zcxh2nc1.js} +11 -11
- package/dist/chunks/{file-mutation-whepmyc8.js → models-dev-zf24vjx2.js} +1 -1
- package/dist/chunks/{file-mutation-mw3zb6qd.js → models-dev-zhpzfnnm.js} +3 -3
- package/dist/chunks/{file-mutation-7x9m82rv.js → models-dev-zjzm1mqh.js} +10 -10
- package/dist/chunks/{file-mutation-qskc9fng.js → models-dev-zp4b7z7f.js} +8 -8
- package/dist/chunks/{file-mutation-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-zyk1yjk8.js → models-dev-zyk1yjk8.js} +2 -2
- package/dist/chunks/{file-mutation-gjvt2sw1.js → models-dev-zzyrpm7p.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- 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 +115 -115
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +355 -355
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- 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 +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +202 -202
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-mutation-1e0042jk.js +0 -513
- package/dist/chunks/file-mutation-49n22trf.js +0 -257
- package/dist/chunks/file-mutation-jqh9b0xq.js +0 -18
- package/dist/chunks/file-mutation-pgrantrc.js +0 -26
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-m18g726c.js → models-dev-m18g726c.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{file-mutation-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wjj7prxr.js → models-dev-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./models-dev-pp2ce1g6.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./models-dev-20qam0gr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./models-dev-18yjff17.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./models-dev-tk5cb0ff.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./models-dev-g686f6pq.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./models-dev-3mkrw1ny.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin18
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin18 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service49;
|
|
43
|
+
const discovery = yield* Service13;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service50;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin6 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin18, exports_skill };
|
|
@@ -3,29 +3,29 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available3,
|
|
11
|
+
Service69,
|
|
12
|
+
node72
|
|
13
|
+
} from "./models-dev-tk5cb0ff.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions5 = {};
|
|
20
|
+
__export(exports_instructions5, {
|
|
21
|
+
Service: () => Service42,
|
|
22
|
+
SkillInstructions: () => exports_instructions5,
|
|
23
|
+
node: () => node45
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID7,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,13 +60,13 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service42 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service69;
|
|
67
|
+
return Service42.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
69
|
+
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
70
|
return make20({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node45 = makeLocationNode({ service: Service42, layer, deps: [node72] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service42, node45, exports_instructions5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-xfkkasph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./models-dev-cdq3zv6g.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
mergeHeaders2,
|
|
18
18
|
Service78,
|
|
19
19
|
node82
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-156fkcxj.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service61,
|
|
23
|
+
node63
|
|
24
|
+
} from "./models-dev-z8p7drz6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID6,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service67,
|
|
30
|
+
node70,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./models-dev-p7763bs8.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service60,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer22,
|
|
52
|
+
node: () => node62,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -60,7 +60,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
62
|
providerID: ID13,
|
|
63
|
-
modelID:
|
|
63
|
+
modelID: ID6,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -70,7 +70,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
72
|
providerID: ID13,
|
|
73
|
-
modelID:
|
|
73
|
+
modelID: ID6,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -81,7 +81,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
83
|
providerID: ID13,
|
|
84
|
-
modelID:
|
|
84
|
+
modelID: ID6,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -92,7 +92,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
94
|
providerID: ID13,
|
|
95
|
-
modelID:
|
|
95
|
+
modelID: ID6,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -104,7 +104,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
106
|
providerID: ID13,
|
|
107
|
-
modelID:
|
|
107
|
+
modelID: ID6,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -114,7 +114,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
116
|
providerID: ID13,
|
|
117
|
-
modelID:
|
|
117
|
+
modelID: ID6,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service60 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
274
|
+
var layer22 = Layer.effect(Service60, Effect.gen(function* () {
|
|
275
275
|
const providers = yield* Service78;
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
276
|
+
const models = yield* Service67;
|
|
277
|
+
const integrations = yield* Service82;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service61;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
282
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
283
283
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
284
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
285
|
const runtimeInfo = {
|
|
@@ -306,7 +306,7 @@ var layer25 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service60.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
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)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
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;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [node82,
|
|
326
|
+
var node62 = makeLocationNode({
|
|
327
|
+
service: Service60,
|
|
328
|
+
layer: layer22,
|
|
329
|
+
deps: [node82, node70, node86, Npm.node, node63]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node62, exports_model_resolver };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
722
722
|
kind: index === 0 ? "main" : "linked"
|
|
723
723
|
}));
|
|
724
724
|
});
|
|
725
|
-
return
|
|
725
|
+
return Service81.of({
|
|
726
726
|
repo: { discover, clone, create },
|
|
727
727
|
remote: { get: remote },
|
|
728
728
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
739
739
|
objects: { pack: packObjects }
|
|
740
740
|
});
|
|
741
741
|
}));
|
|
742
|
-
var
|
|
742
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
743
743
|
function run(cwd, proc, args) {
|
|
744
744
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
745
745
|
}
|
|
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
|
|
|
806
806
|
return path.resolve(cwd, normalized);
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
809
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node85
|
|
6
|
+
} from "./models-dev-qrf0dgbn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./models-dev-20qam0gr.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make12
|
|
16
|
+
} from "./models-dev-f4d0nvvk.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service22,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node25
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service22 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service79;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service22.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node25 = makeLocationNode({
|
|
61
|
+
service: Service22,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node83, Global.node, node85, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service22, node25, exports_strategies };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-zcxh2nc1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-20hxmkmy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID17,
|
|
9
|
+
Event20,
|
|
10
|
+
Service83
|
|
11
|
+
} from "./models-dev-tdbz35zs.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-3y377wv9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-cdq3zv6g.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./models-dev-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
Service78
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./models-dev-156fkcxj.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID6
|
|
28
|
+
} from "./models-dev-p7763bs8.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./models-dev-2da87w3a.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -73,7 +73,7 @@ function make9(endpoints = {
|
|
|
73
73
|
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
76
|
+
const credentials = yield* Service83;
|
|
77
77
|
const providers = yield* Service78;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
@@ -143,7 +143,7 @@ function make9(endpoints = {
|
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
145
|
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -273,7 +273,7 @@ function make9(endpoints = {
|
|
|
273
273
|
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
279
|
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID6.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID6.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|