@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,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-20hxmkmy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./models-dev-5w6g5fb7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./models-dev-ypcym4nd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Ref3,
|
|
15
|
+
Service79,
|
|
16
|
+
node83
|
|
17
|
+
} from "./models-dev-20qam0gr.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-w3jqc8y5.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./models-dev-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service70,
|
|
26
|
+
node73
|
|
27
|
+
} from "./models-dev-73mn35m0.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service28,
|
|
30
|
+
node31
|
|
31
|
+
} from "./models-dev-0z3sj3f1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service27,
|
|
41
|
+
node: () => node30
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service27 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
|
+
const permission = yield* Service70;
|
|
54
|
+
const forms = yield* Service84;
|
|
55
|
+
const rpc = yield* Service28;
|
|
56
|
+
const project = yield* Service80;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -76,19 +76,19 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
76
76
|
yield* forms.close;
|
|
77
77
|
yield* rpc.close;
|
|
78
78
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
79
|
-
location:
|
|
79
|
+
location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service27.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node30 = makeLocationNode({
|
|
89
|
+
service: Service27,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89,
|
|
91
|
+
deps: [node89, node83, node73, node84, node88, node31]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service27, node30, exports_location_lifecycle };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./models-dev-20qam0gr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./models-dev-xvae3yab.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service25,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./models-dev-xj3491xa.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./models-dev-y80h604t.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service70
|
|
17
|
+
} from "./models-dev-73mn35m0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service14,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./models-dev-nfdwzame.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./models-dev-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input11,
|
|
34
|
+
Output: () => Output8,
|
|
35
|
+
Plugin: () => Plugin47,
|
|
36
|
+
name: () => name11
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name11 = "edit";
|
|
43
|
+
var Input11 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output8 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin47 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service14;
|
|
197
|
+
const fileMutation = yield* Service25;
|
|
198
|
+
const environment = yield* Service62;
|
|
199
|
+
const formatter = yield* Service15;
|
|
200
|
+
const location = yield* Service79;
|
|
201
|
+
const permission = yield* Service70;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name11,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input11,
|
|
207
|
+
output: Output8,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin46 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name11, Input11, Output8, Plugin47, exports_edit };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|
|
@@ -1,41 +1,41 @@
|
|
|
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
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./models-dev-tdbz35zs.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-3y377wv9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-cdq3zv6g.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service68
|
|
21
|
+
} from "./models-dev-e76kv9r4.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-156fkcxj.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./models-dev-p7763bs8.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./models-dev-12xa7c19.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID4,
|
|
36
|
+
Input13,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./models-dev-30fcd0bd.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
61
|
var RemoteResponse = Schema.Struct({
|
|
62
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
63
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
64
|
+
providerID: ID4
|
|
65
65
|
}).pipe(Schema.optional),
|
|
66
66
|
mcp: Schema.Struct({
|
|
67
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
112
|
}
|
|
113
113
|
function oauth(http) {
|
|
114
114
|
return {
|
|
115
|
-
integrationID:
|
|
115
|
+
integrationID: ID16.make("opencode"),
|
|
116
116
|
method: {
|
|
117
117
|
id: methodID,
|
|
118
118
|
type: "oauth",
|
|
@@ -179,7 +179,7 @@ var OpencodePlugin2 = define({
|
|
|
179
179
|
const bus = yield* Service85;
|
|
180
180
|
const client = yield* HttpClient.HttpClient;
|
|
181
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service68;
|
|
183
183
|
const scope = yield* Scope.Scope;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
231
231
|
providers.update(providerID, (provider) => {
|
|
232
232
|
if (source && source.provider !== provider)
|
|
233
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID16.make("opencode");
|
|
235
235
|
if (item.canonical !== undefined)
|
|
236
236
|
provider.canonical = item.canonical;
|
|
237
237
|
if (item.name !== undefined)
|
|
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
|
|
|
349
349
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
350
350
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
351
351
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
352
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
352
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
353
353
|
query: input.query,
|
|
354
354
|
providerID: descriptor.providerID
|
|
355
355
|
}));
|
|
@@ -407,7 +407,7 @@ var OpencodePlugin2 = define({
|
|
|
407
407
|
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
408
408
|
});
|
|
409
409
|
yield* guard(snapshot);
|
|
410
|
-
yield* bus.subscribe(
|
|
410
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
411
411
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
412
412
|
})
|
|
413
413
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make6(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make6 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-20hxmkmy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event21,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service84,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer28,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node88,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event21 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID18
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID18,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service84 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer28 = Layer.effect(
|
|
84
|
+
var layer28 = Layer.effect(Service84, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID18.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service84.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node88 = makeLocationNode({ service: Service84, layer: layer28, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer28, node88, validateAnswer2, validateFields2, exports_form, Event21 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./models-dev-20qam0gr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service19,
|
|
10
|
+
node21
|
|
11
|
+
} from "./models-dev-anr4w7k8.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service18,
|
|
26
26
|
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
28
|
layer: () => layer9,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node20,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options2 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service18 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service19;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service18.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service18.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service18.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -175,7 +175,7 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
177
|
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
-
const location = yield*
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,8 +183,8 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured2(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service18, layer: layer9(options), deps: [node83, node21] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node20 = configured2();
|
|
189
189
|
|
|
190
|
-
export { Options2,
|
|
190
|
+
export { Options2, Service18, ripgrepLayer2, fffLayer2, layer9, configured2, node20, exports_search };
|
|
@@ -1,12 +1,12 @@
|
|
|
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
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|