@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-156fkcxj.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-2da87w3a.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-3y377wv9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-20hxmkmy.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./models-dev-tdbz35zs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-cdq3zv6g.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service78
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-156fkcxj.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./models-dev-p7763bs8.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./models-dev-fs0ryakd.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./models-dev-zcxh2nc1.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID11
|
|
33
|
+
} from "./models-dev-2akqzpk3.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./models-dev-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID16.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -230,14 +230,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(ID13.githubCopilot,
|
|
234
|
-
models.update(ID13.githubCopilot,
|
|
233
|
+
if (models.get(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
243
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -265,7 +265,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node64
|
|
9
|
+
} from "./models-dev-xvae3yab.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-128c3rgk.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service62;
|
|
335
|
+
return Service12.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node64] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-20hxmkmy.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./models-dev-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service48,
|
|
17
|
+
node51
|
|
18
|
+
} from "./models-dev-td64wsrz.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./models-dev-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info7,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service47,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node50
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info7 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service47 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service85;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service48;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info7.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info7.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service47.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node50 = makeLocationNode({
|
|
116
|
+
service: Service47,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node89,
|
|
118
|
+
deps: [Global.node, node89, node51]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info7, Service47, node50, exports_reference2, Event8 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-156fkcxj.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID6,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info14
|
|
11
|
+
} from "./models-dev-p7763bs8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID6.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,10 +118,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info14.make({
|
|
122
|
+
...Info14.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
124
|
+
modelID: ID6.make(remote.id),
|
|
125
125
|
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service13,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service13 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service13.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node15 = makeGlobalNode({ service: Service13, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service13, node15, exports_discovery };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service49
|
|
4
|
+
} from "./models-dev-18yjff17.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin33,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service49;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin37 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin33, exports_warming };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service49
|
|
4
|
+
} from "./models-dev-18yjff17.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./models-dev-337a4zhp.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin7 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service49;
|
|
27
|
+
const snapshot = yield* Service45;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-tksp512h.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
node62
|
|
7
|
+
} from "./models-dev-q4vh7wx4.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service23,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node26
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service60;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer24 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer24 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service23.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node26 = makeLocationNode({
|
|
74
|
+
service: Service23,
|
|
75
|
+
layer: layer10,
|
|
76
|
+
deps: [node62, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service23, layer10, node26, exports_generate };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./models-dev-20qam0gr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./models-dev-18yjff17.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-fps60k0v.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin16 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service49;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin16, exports_reference };
|