@opencode/core 0.0.0-dev-19815 → 0.0.0-dev-19824
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-mutation-fjvq75r9.js → variant-01vks33x.js} +31 -31
- package/dist/chunks/{file-mutation-0gdmqesm.js → variant-02nrjc1r.js} +8 -8
- package/dist/chunks/{file-mutation-mn433rsw.js → variant-05te5r5d.js} +9 -9
- package/dist/chunks/{file-mutation-6pcefmbq.js → variant-0e1yr8gf.js} +21 -21
- package/dist/chunks/{file-mutation-jyzcxg5d.js → variant-0ejw9b49.js} +15 -15
- package/dist/chunks/variant-0mesazry.js +4 -0
- package/dist/chunks/{file-mutation-tvs3qzmc.js → variant-0p7hypfr.js} +29 -29
- package/dist/chunks/{file-mutation-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-e8qyrgb1.js → variant-150yg2gd.js} +5 -5
- package/dist/chunks/{file-mutation-q5k1gk2r.js → variant-16f8z16b.js} +24 -24
- package/dist/chunks/{file-mutation-r1q2hccy.js → variant-19b2eas9.js} +15 -15
- package/dist/chunks/{file-mutation-yxc72q6g.js → variant-19khz4p6.js} +15 -15
- package/dist/chunks/{file-mutation-yp2x3t23.js → variant-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-mutation-fb10pz29.js → variant-1c43qsr2.js} +20 -20
- package/dist/chunks/{file-mutation-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-64kphnzf.js → variant-1hc11dc4.js} +4 -4
- package/dist/chunks/{file-mutation-fk7y4jkk.js → variant-1jp1tdmc.js} +11 -11
- package/dist/chunks/{file-mutation-tf439zmr.js → variant-1ksx1n19.js} +26 -26
- package/dist/chunks/{file-mutation-vynmvp9h.js → variant-1rh4yqvv.js} +9 -9
- package/dist/chunks/{file-mutation-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-6h73sxmp.js → variant-2402vzrj.js} +5 -5
- package/dist/chunks/{file-mutation-ghfgp0c3.js → variant-248b5nak.js} +24 -24
- package/dist/chunks/{file-mutation-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-wy8b5sm2.js → variant-2jz473v5.js} +1 -1
- package/dist/chunks/{file-mutation-7dqw4kz8.js → variant-2k8khapm.js} +5 -5
- package/dist/chunks/{file-mutation-fradymh3.js → variant-2q14h232.js} +8 -8
- package/dist/chunks/{file-mutation-bzbtqdde.js → variant-2sn2n8my.js} +1 -1
- package/dist/chunks/{file-mutation-hfbvy1sn.js → variant-2xd641c6.js} +19 -19
- package/dist/chunks/{file-mutation-806j49yq.js → variant-34rkz0x9.js} +7 -7
- package/dist/chunks/{file-mutation-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-0x4jbnkh.js → variant-3ha39emb.js} +44 -44
- package/dist/chunks/{file-mutation-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-8ymss7tz.js → variant-3vf9kxrv.js} +5 -5
- package/dist/chunks/{file-mutation-tgkhkf8q.js → variant-3vgvden2.js} +8 -8
- package/dist/chunks/{file-mutation-sm4ygxtf.js → variant-3x80nh0t.js} +4 -4
- package/dist/chunks/{file-mutation-fz059jzw.js → variant-3zw4hbeh.js} +3 -3
- package/dist/chunks/{file-mutation-fvhrn3gk.js → variant-45bkrsy9.js} +5 -5
- package/dist/chunks/{file-mutation-xnetyx8p.js → variant-49t4bw2f.js} +11 -11
- package/dist/chunks/{file-mutation-npnjm836.js → variant-4r1byab9.js} +11 -11
- package/dist/chunks/{file-mutation-v3qe9rs0.js → variant-4rpjqd73.js} +19 -19
- package/dist/chunks/{file-mutation-b5a5chs4.js → variant-4znq6v3w.js} +11 -11
- package/dist/chunks/{file-mutation-q643w91n.js → variant-4zxqczn4.js} +5 -5
- package/dist/chunks/{file-mutation-5jyrccsa.js → variant-55885aw2.js} +25 -25
- package/dist/chunks/{file-mutation-f3fzf6ct.js → variant-57h76tt0.js} +33 -33
- package/dist/chunks/{file-mutation-zgr90j8v.js → variant-5ax8768v.js} +52 -52
- package/dist/chunks/{file-mutation-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-yd2f7xje.js → variant-5heqpdcj.js} +22 -22
- package/dist/chunks/{file-mutation-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-mutation-vyxtkag7.js → variant-5sxy960f.js} +34 -34
- package/dist/chunks/{file-mutation-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-qz5dz7fn.js → variant-5vwk78cz.js} +16 -16
- package/dist/chunks/{file-mutation-cmwkp3r5.js → variant-5xtgfte3.js} +8 -8
- package/dist/chunks/{file-mutation-jh7y3ak4.js → variant-6178vqjw.js} +7 -7
- package/dist/chunks/{file-mutation-xpjszw2w.js → variant-61er8rqz.js} +14 -14
- package/dist/chunks/{file-mutation-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-tfthf431.js → variant-6bqyejp5.js} +14 -14
- package/dist/chunks/{file-mutation-8q83d4tx.js → variant-6c0t2kqd.js} +12 -12
- package/dist/chunks/{file-mutation-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-y8gdy8xa.js → variant-6qk4ttjb.js} +11 -11
- package/dist/chunks/{file-mutation-szbjyn1k.js → variant-6rh0k5sx.js} +16 -16
- package/dist/chunks/{file-mutation-vb0h7fes.js → variant-6tfqh345.js} +32 -32
- package/dist/chunks/{file-mutation-beq4zmjh.js → variant-6wqj8apg.js} +6 -6
- package/dist/chunks/{file-mutation-kbgxh5wd.js → variant-71wx4n8j.js} +11 -11
- package/dist/chunks/{file-mutation-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-vackyeka.js → variant-7jxaecna.js} +7 -7
- package/dist/chunks/{file-mutation-1xv6ggcd.js → variant-7rashwxq.js} +35 -35
- package/dist/chunks/{file-mutation-8gwfkhjz.js → variant-7rvnq0b8.js} +10 -10
- package/dist/chunks/{file-mutation-khgmt31j.js → variant-7s3agvsz.js} +14 -14
- package/dist/chunks/{file-mutation-0tg136y5.js → variant-7sd2f9r3.js} +6 -6
- package/dist/chunks/{file-mutation-7a9f7nwj.js → variant-7tbzje54.js} +20 -20
- package/dist/chunks/{file-mutation-4khym028.js → variant-7vh7np3y.js} +4 -4
- package/dist/chunks/{file-mutation-yq432fpn.js → variant-7ymyehve.js} +24 -24
- package/dist/chunks/{file-mutation-kkp8zx71.js → variant-80scg3y3.js} +4 -4
- package/dist/chunks/{file-mutation-dhwr7h25.js → variant-818pfwc9.js} +11 -11
- package/dist/chunks/{file-mutation-vndk1130.js → variant-84fbrg39.js} +23 -23
- package/dist/chunks/{file-mutation-7hf3hesr.js → variant-8azdsswj.js} +4 -4
- package/dist/chunks/{file-mutation-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-vvqa46qn.js → variant-8ddaa20y.js} +26 -26
- package/dist/chunks/{file-mutation-k1grr621.js → variant-8dy8n873.js} +23 -23
- package/dist/chunks/{file-mutation-8p4f9s12.js → variant-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-gpsxp3jx.js → variant-8ywwvf0t.js} +24 -24
- package/dist/chunks/variant-91mft8vy.js +26 -0
- package/dist/chunks/{file-mutation-25r2jws7.js → variant-9am4gqzb.js} +15 -15
- package/dist/chunks/{file-mutation-8hbb8fdq.js → variant-9jgqz78v.js} +4 -4
- package/dist/chunks/{file-mutation-5ft7ers2.js → variant-9p53xqtp.js} +11 -11
- package/dist/chunks/{file-mutation-cbje66mk.js → variant-9pgrmpwd.js} +15 -15
- package/dist/chunks/{file-mutation-7w99qc9d.js → variant-9vs0xtad.js} +3 -3
- package/dist/chunks/variant-9vwccmx4.js +65 -0
- package/dist/chunks/{file-mutation-27hdnw63.js → variant-9xnmpb9w.js} +10 -10
- package/dist/chunks/{file-mutation-q85fv5sm.js → variant-9z0pj5xn.js} +44 -44
- package/dist/chunks/{file-mutation-8ar1z498.js → variant-9z7phx5z.js} +13 -13
- package/dist/chunks/variant-9zdhvgqs.js +18 -0
- package/dist/chunks/{file-mutation-a1bz86dw.js → variant-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-g1q4s0jw.js → variant-a2mv5gbr.js} +18 -18
- package/dist/chunks/{file-mutation-42ybwkjg.js → variant-a5gskt6c.js} +17 -17
- package/dist/chunks/{file-mutation-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-969z9wtq.js → variant-actcqt2d.js} +47 -47
- package/dist/chunks/{file-mutation-bdqrk2vk.js → variant-awaee7qt.js} +6 -6
- package/dist/chunks/{file-mutation-3hn2t390.js → variant-b0qd10xy.js} +27 -27
- package/dist/chunks/{file-mutation-n0rcm67m.js → variant-b2aetxcc.js} +25 -25
- package/dist/chunks/{file-mutation-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-zw4pk1bw.js → variant-b7v4cx43.js} +5 -5
- package/dist/chunks/{file-mutation-gdaj5aat.js → variant-be05fv2r.js} +13 -13
- package/dist/chunks/{file-mutation-hk26yxvn.js → variant-be67pzrd.js} +17 -17
- package/dist/chunks/{file-mutation-8mhg0p4j.js → variant-bff9p5qa.js} +6 -6
- package/dist/chunks/{file-mutation-5jwj12zg.js → variant-bhezncwp.js} +4 -4
- package/dist/chunks/{file-mutation-0q6eeezy.js → variant-bn7rnd9f.js} +5 -5
- package/dist/chunks/{file-mutation-5p7phca6.js → variant-bppyyj2v.js} +44 -44
- package/dist/chunks/{file-mutation-mgscsna9.js → variant-c89x1wvt.js} +18 -18
- package/dist/chunks/{file-mutation-r98d5qx5.js → variant-cb43d9sh.js} +9 -9
- package/dist/chunks/{file-mutation-yjvamrjh.js → variant-ccx8w1mb.js} +20 -20
- package/dist/chunks/{file-mutation-cfpkc3c9.js → variant-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-ye41kewf.js → variant-ctqcwx6w.js} +15 -15
- package/dist/chunks/{file-mutation-d4he2qe1.js → variant-cwa6csj7.js} +9 -9
- package/dist/chunks/{file-mutation-eyrsk2wr.js → variant-cz7hb8nc.js} +17 -17
- package/dist/chunks/{file-mutation-ymw7bbdm.js → variant-d47yf70a.js} +9 -9
- package/dist/chunks/{file-mutation-aamtrqep.js → variant-dc6tzc5b.js} +9 -9
- package/dist/chunks/{file-mutation-ptkbcdgn.js → variant-dgmte57d.js} +11 -11
- package/dist/chunks/{file-mutation-nxp2ndre.js → variant-dky5496k.js} +2 -2
- package/dist/chunks/{file-mutation-y71avatq.js → variant-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-mutation-xfkkasph.js → variant-drwq78ky.js} +4 -4
- package/dist/chunks/{file-mutation-ff2d2r5m.js → variant-dxedze6s.js} +17 -17
- package/dist/chunks/{file-mutation-jxt024yh.js → variant-dyjdaad3.js} +11 -11
- package/dist/chunks/{file-mutation-s8wea8bx.js → variant-e0qms0gr.js} +16 -16
- package/dist/chunks/{file-mutation-vfmrq4xs.js → variant-e0vs1mzd.js} +4 -4
- package/dist/chunks/{file-mutation-qz49fwgp.js → variant-e6hd9jay.js} +6 -6
- package/dist/chunks/{file-mutation-a43a3g9h.js → variant-e8sb7jec.js} +10 -10
- package/dist/chunks/{file-mutation-ft2kdwr0.js → variant-ecqcnbwp.js} +39 -39
- package/dist/chunks/{file-mutation-sbydz4ep.js → variant-ed3hs6y1.js} +3 -3
- package/dist/chunks/{file-mutation-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-272j0xxc.js → variant-ehrq6y4r.js} +7 -7
- package/dist/chunks/{file-mutation-8hpm3er8.js → variant-enyt10qg.js} +42 -42
- package/dist/chunks/{file-mutation-f4zk55g1.js → variant-ept6nwjm.js} +10 -10
- package/dist/chunks/{file-mutation-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-mutation-dm5eaebf.js → variant-es4kqjb3.js} +35 -35
- package/dist/chunks/{file-mutation-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-ma79mf5h.js → variant-ewv1g2sm.js} +22 -22
- package/dist/chunks/{file-mutation-xyd70p3w.js → variant-f64b4e2b.js} +20 -20
- package/dist/chunks/{file-mutation-f828m53h.js → variant-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-44ke2mar.js → variant-fkjmw100.js} +6 -6
- package/dist/chunks/{file-mutation-0eg4rpj5.js → variant-fmw9g2g8.js} +43 -43
- package/dist/chunks/{file-mutation-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-vkxpz7g2.js → variant-fxqygnfa.js} +4 -4
- package/dist/chunks/{file-mutation-q26d77qc.js → variant-fyctn3rt.js} +11 -11
- package/dist/chunks/{file-mutation-vsp1fds9.js → variant-g190xswt.js} +21 -21
- package/dist/chunks/{file-mutation-mrhf43mr.js → variant-g72thvg4.js} +13 -13
- package/dist/chunks/{file-mutation-r2h83j2n.js → variant-g7kkk6th.js} +7 -7
- package/dist/chunks/{file-mutation-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-h2mtz7rf.js → variant-gfjefykw.js} +16 -16
- package/dist/chunks/{file-mutation-ddszz877.js → variant-gkqze24a.js} +5 -5
- package/dist/chunks/{file-mutation-h53tpazp.js → variant-gmks98jd.js} +12 -12
- package/dist/chunks/{file-mutation-zzm21s8t.js → variant-gt3g9qfj.js} +10 -10
- package/dist/chunks/{file-mutation-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-th6pfvs0.js → variant-gyn2rxq2.js} +33 -33
- package/dist/chunks/{file-mutation-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-ett7491z.js → variant-h9xag4rw.js} +20 -20
- package/dist/chunks/{file-mutation-9xw9w00h.js → variant-hdv2372r.js} +11 -11
- package/dist/chunks/{file-mutation-1yaa2472.js → variant-hrctb8qc.js} +8 -8
- package/dist/chunks/{file-mutation-07nzwxsz.js → variant-j35apsye.js} +9 -9
- package/dist/chunks/{file-mutation-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-1xebqrby.js → variant-j6na985x.js} +43 -43
- package/dist/chunks/{file-mutation-25835ps7.js → variant-jbas8wg3.js} +20 -20
- package/dist/chunks/{file-mutation-3rqkssp8.js → variant-jh28hxeq.js} +8 -8
- package/dist/chunks/{file-mutation-3hdyanjz.js → variant-jqnpsya4.js} +4 -4
- package/dist/chunks/{file-mutation-zxfw9cda.js → variant-k16ghk50.js} +5 -5
- package/dist/chunks/{file-mutation-k3c624dm.js → variant-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-whtqb0a0.js → variant-k3e8ne48.js} +32 -32
- package/dist/chunks/{file-mutation-7m15pt6c.js → variant-k5pje4am.js} +30 -30
- package/dist/chunks/{file-mutation-3wwmjj1e.js → variant-kf50wy9q.js} +16 -16
- package/dist/chunks/{file-mutation-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-7m9w9bvj.js → variant-m9rrsbxp.js} +10 -10
- package/dist/chunks/{file-mutation-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-tz0rw111.js → variant-mc2pt6fx.js} +41 -41
- package/dist/chunks/{file-mutation-q58h1swb.js → variant-mc6qvgp2.js} +18 -18
- package/dist/chunks/{file-mutation-56gdpj1q.js → variant-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-mutation-w15v5k7j.js → variant-mgjjxbpm.js} +5 -5
- package/dist/chunks/{file-mutation-4vg93jqq.js → variant-mkc0g45p.js} +13 -13
- package/dist/chunks/{file-mutation-n22ydv4n.js → variant-mn27gk35.js} +11 -11
- package/dist/chunks/variant-mq7hv93r.js +252 -0
- package/dist/chunks/{file-mutation-jb05x9cx.js → variant-mrpf0s6m.js} +54 -54
- package/dist/chunks/{file-mutation-618kh5az.js → variant-mxa5vjk2.js} +187 -187
- package/dist/chunks/{file-mutation-1awtappa.js → variant-mxkppnpc.js} +23 -23
- package/dist/chunks/{file-mutation-2r0aj5wh.js → variant-n47hyx40.js} +5 -5
- package/dist/chunks/{file-mutation-a0t9nbea.js → variant-na5de2cq.js} +3 -3
- package/dist/chunks/{file-mutation-4ym5jtja.js → variant-nejkx4kn.js} +24 -24
- package/dist/chunks/{file-mutation-an8v9wk2.js → variant-nemkzx8e.js} +41 -41
- package/dist/chunks/{file-mutation-tvzz1vvx.js → variant-nhp7k55c.js} +31 -31
- package/dist/chunks/{file-mutation-89sbf2tr.js → variant-nmzzzee9.js} +3 -3
- package/dist/chunks/{file-mutation-pnv527nz.js → variant-nscznvay.js} +9 -9
- package/dist/chunks/{file-mutation-mzrbxmyd.js → variant-ntp4wasn.js} +11 -11
- package/dist/chunks/{file-mutation-h6r3nrb9.js → variant-nzyhnfxz.js} +4 -4
- package/dist/chunks/{file-mutation-8hvq2ep8.js → variant-p1esdbs0.js} +15 -15
- package/dist/chunks/{file-mutation-p28j5sbe.js → variant-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-mutation-fzw6vb94.js → variant-p2jf4nmx.js} +30 -30
- package/dist/chunks/{file-mutation-1tve5nz8.js → variant-p6d8qggk.js} +8 -8
- package/dist/chunks/{file-mutation-h6jr292a.js → variant-p7nsp59h.js} +4 -4
- package/dist/chunks/{file-mutation-7ea56vch.js → variant-pbr0sv84.js} +6 -6
- package/dist/chunks/{file-mutation-af04s6ss.js → variant-pecb0brz.js} +5 -5
- package/dist/chunks/{file-mutation-hfdv8wax.js → variant-phn1vqr0.js} +6 -6
- package/dist/chunks/{file-mutation-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-ve4pfa0n.js → variant-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-mutation-8d81dgab.js → variant-ppezy4na.js} +11 -11
- package/dist/chunks/{file-mutation-hm06wjfd.js → variant-ps86rfva.js} +88 -88
- package/dist/chunks/{file-mutation-e1qag84x.js → variant-qjkp0ajm.js} +20 -20
- package/dist/chunks/{file-mutation-emkv37r5.js → variant-qkgfpw9r.js} +17 -17
- package/dist/chunks/{file-mutation-510m7gjw.js → variant-qn4ba14w.js} +5 -5
- package/dist/chunks/{file-mutation-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-akrwbyqx.js → variant-qw4a9453.js} +32 -32
- package/dist/chunks/{file-mutation-mvfsc1pv.js → variant-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-mutation-qjj0dw3c.js → variant-rd9tmpf4.js} +38 -38
- package/dist/chunks/{file-mutation-3yxkz7nw.js → variant-rda27rv4.js} +44 -44
- package/dist/chunks/{file-mutation-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-kne8f3cn.js → variant-rpg9c19m.js} +4 -4
- package/dist/chunks/{file-mutation-pdb8ga4w.js → variant-rsz70btv.js} +12 -12
- package/dist/chunks/{file-mutation-0pkscahp.js → variant-rw8hg23m.js} +15 -15
- package/dist/chunks/{file-mutation-cwe02ca0.js → variant-ry67yat8.js} +11 -11
- package/dist/chunks/{file-mutation-bew5cyq4.js → variant-s0vhasp4.js} +30 -30
- package/dist/chunks/{file-mutation-a7h69g84.js → variant-sd457nqd.js} +58 -58
- package/dist/chunks/{file-mutation-2vw86sre.js → variant-shjpqyhe.js} +25 -25
- package/dist/chunks/{file-mutation-mx9vqzsb.js → variant-shrpy2d8.js} +6 -6
- package/dist/chunks/{file-mutation-se8haf2r.js → variant-skh4jwq9.js} +3 -3
- package/dist/chunks/{file-mutation-grdqhvxd.js → variant-skrnqp3s.js} +23 -23
- package/dist/chunks/{file-mutation-8aaqm6qj.js → variant-sm965ndy.js} +8 -8
- package/dist/chunks/{file-mutation-h7w9m21h.js → variant-spqcpneg.js} +6 -6
- package/dist/chunks/{file-mutation-6vew141g.js → variant-svjqs73s.js} +5 -5
- package/dist/chunks/{file-mutation-vf8xkcyd.js → variant-syxd02q9.js} +13 -13
- package/dist/chunks/{file-mutation-4rys938p.js → variant-t9x8rfw8.js} +12 -12
- package/dist/chunks/{file-mutation-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-t9mj6jt2.js → variant-tqmdgn9s.js} +4 -4
- package/dist/chunks/{file-mutation-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-yw8t9dwe.js → variant-tx9w5tca.js} +8 -8
- package/dist/chunks/{file-mutation-ag9w8cw1.js → variant-tz2bjj40.js} +5 -5
- package/dist/chunks/{file-mutation-cpbpaj6d.js → variant-v1q568e6.js} +24 -24
- package/dist/chunks/{file-mutation-nng2ktcm.js → variant-v2f6dcv3.js} +2 -2
- package/dist/chunks/{file-mutation-kdbxf4qp.js → variant-vaqp5c1f.js} +9 -9
- package/dist/chunks/{file-mutation-9d7xkn7g.js → variant-vbwzfp4q.js} +15 -15
- package/dist/chunks/{file-mutation-nk6ab3nm.js → variant-vd2f7v7q.js} +16 -16
- package/dist/chunks/{file-mutation-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-5zrd1yp0.js → variant-vvxzq7xj.js} +7 -7
- package/dist/chunks/{file-mutation-2a234wtm.js → variant-vxgxjse3.js} +26 -26
- package/dist/chunks/{file-mutation-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-3zbb0e4x.js → variant-w418y777.js} +13 -13
- package/dist/chunks/{file-mutation-349ahzma.js → variant-w7rdgnme.js} +21 -21
- package/dist/chunks/{file-mutation-x2ncb56t.js → variant-w9mmbxy7.js} +24 -24
- package/dist/chunks/{file-mutation-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-4dxew0jv.js → variant-wfs508dn.js} +3 -3
- package/dist/chunks/{file-mutation-wqexvhqz.js → variant-ws2e64dn.js} +1 -1
- package/dist/chunks/{file-mutation-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-b0kddjqc.js → variant-x1vgmzea.js} +85 -85
- package/dist/chunks/{file-mutation-83w0rrj2.js → variant-x57ttj0w.js} +33 -33
- package/dist/chunks/{file-mutation-jp61ynmd.js → variant-x8t1j5yt.js} +17 -17
- package/dist/chunks/{file-mutation-gdsttb99.js → variant-xjtb2jnx.js} +4 -4
- package/dist/chunks/{file-mutation-mx4jkr8z.js → variant-xxtjwt1f.js} +9 -9
- package/dist/chunks/{file-mutation-v9spj19e.js → variant-xy1c65ay.js} +30 -30
- package/dist/chunks/{file-mutation-7ehb06f5.js → variant-xyshxsph.js} +19 -19
- package/dist/chunks/{file-mutation-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-x2kz3kd9.js → variant-y2ae7hkp.js} +10 -10
- package/dist/chunks/{file-mutation-s1kvmffy.js → variant-y56ehv6b.js} +9 -9
- package/dist/chunks/{file-mutation-ymnk3hjs.js → variant-yep1rxaf.js} +30 -30
- package/dist/chunks/{file-mutation-w9jrmyp1.js → variant-ynk6d6vz.js} +24 -24
- package/dist/chunks/{file-mutation-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-s4enseaf.js → variant-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-29x78va6.js → variant-z63w68vq.js} +6 -6
- package/dist/chunks/{file-mutation-rk9tjfwx.js → variant-zbg2c216.js} +11 -11
- package/dist/chunks/{file-mutation-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-mfk1rbdv.js → variant-zg4fhqvk.js} +19 -19
- package/dist/chunks/variant-zj3z6d73.js +492 -0
- package/dist/chunks/{file-mutation-kkhsm4n5.js → variant-zpeypfhm.js} +28 -28
- package/dist/chunks/{file-mutation-kjfdeayr.js → variant-zq6stcrg.js} +8 -8
- package/dist/chunks/{file-mutation-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-xw3aqcjm.js → variant-ztq7ncxt.js} +7 -7
- package/dist/chunks/{file-mutation-5aj0q20a.js → variant-zwcphd4s.js} +18 -18
- package/dist/chunks/{file-mutation-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-cvkwxbsz.js → variant-zy32w698.js} +16 -16
- package/dist/chunks/{file-mutation-vxfja19v.js → variant-zyc8eh8e.js} +3 -3
- package/dist/chunks/{file-mutation-h2g1afwd.js → variant-zzkngxht.js} +11 -11
- 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 +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-mutation-2680q31g.js +0 -65
- package/dist/chunks/file-mutation-5fvgv7y0.js +0 -26
- package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
- package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
- package/dist/chunks/file-mutation-e2h1d8z0.js +0 -492
- package/dist/chunks/file-mutation-w1v3sb82.js +0 -252
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → variant-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → variant-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-na5de2cq.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-tqmdgn9s.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./variant-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info25,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service63,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node67
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event15 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service63 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info25({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service63.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info25({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node67 = makeGlobalNode({ service: Service63, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event15, Info25, Service63, node67, exports_credential };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-02nrjc1r.js";
|
|
8
8
|
import {
|
|
9
9
|
ID5,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service41,
|
|
13
|
+
node45
|
|
14
|
+
} from "./variant-c89x1wvt.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./variant-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
20
|
+
var exports_instructions5 = {};
|
|
21
|
+
__export(exports_instructions5, {
|
|
22
22
|
Service: () => Service36,
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
SkillInstructions: () => exports_instructions5,
|
|
24
|
+
node: () => node39
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -63,15 +63,15 @@ var update = (previous, current) => {
|
|
|
63
63
|
class Service36 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
65
|
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
66
|
-
const skills = yield*
|
|
66
|
+
const skills = yield* Service41;
|
|
67
67
|
return Service36.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
74
|
-
key:
|
|
73
|
+
return make20({
|
|
74
|
+
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node39 = makeLocationNode({ service: Service36, layer, deps: [node45] });
|
|
87
87
|
|
|
88
|
-
export { Service36,
|
|
88
|
+
export { Service36, node39, exports_instructions5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./variant-6tfqh345.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./variant-nemkzx8e.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-6wqj8apg.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service44;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID8.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-na5de2cq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-tqmdgn9s.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service75,
|
|
14
|
+
node79
|
|
15
|
+
} from "./variant-gmks98jd.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./variant-dc6tzc5b.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./variant-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./variant-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./variant-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info32,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service74,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node78,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service74 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,9 +93,9 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service75;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service82;
|
|
101
101
|
const db = (yield* Service83).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID16.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event19.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID16.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID16.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID16.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID16.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service74.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node78 = makeGlobalNode({
|
|
276
|
+
service: Service74,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node86, node87, FSUtil.node,
|
|
278
|
+
deps: [node86, node87, FSUtil.node, node79, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service74, node78, exports_project };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-mc2pt6fx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node77
|
|
10
|
+
} from "./variant-qkgfpw9r.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service66,
|
|
13
|
+
node70
|
|
14
|
+
} from "./variant-5ax8768v.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./variant-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service18,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node20,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service18 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service73;
|
|
61
|
+
const permission = yield* Service66;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service18.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node20 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node77, node70] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service18, resolvePath2, node20, exports_file_access };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./variant-qkgfpw9r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service73;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|