@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./variant-nemkzx8e.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
const policies = () => loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
28
28
|
yield* ctx.provider.transform((providers) => {
|
|
@@ -46,4 +46,4 @@ var Plugin15 = define({
|
|
|
46
46
|
})
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin16, exports_policy };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./variant-5ax8768v.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin47,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name12 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input12 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input12.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin47 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service66;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name12,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input12,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin12 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin47, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-tqmdgn9s.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event15
|
|
7
|
+
} from "./variant-k5pje4am.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-01vks33x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-k3e8ne48.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID4,
|
|
19
19
|
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./variant-8dy8n873.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID10.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
|
|
|
134
134
|
providers.update(providerID, (provider) => {
|
|
135
135
|
if (source && source.provider !== provider)
|
|
136
136
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
137
|
-
provider.integrationID =
|
|
137
|
+
provider.integrationID = ID10.make("opencode");
|
|
138
138
|
if (item.canonical !== undefined)
|
|
139
139
|
provider.canonical = item.canonical;
|
|
140
140
|
if (item.name !== undefined)
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
sourceConnection: snapshot.connection
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
const item = providers.get(
|
|
207
|
+
const item = providers.get(ID9.opencode);
|
|
208
208
|
if (!item)
|
|
209
209
|
return;
|
|
210
210
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
|
|
|
216
216
|
});
|
|
217
217
|
});
|
|
218
218
|
yield* ctx.model.transform((models) => {
|
|
219
|
-
const item = models.provider.get(
|
|
219
|
+
const item = models.provider.get(ID9.opencode);
|
|
220
220
|
if (!item)
|
|
221
221
|
return;
|
|
222
222
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
|
|
|
271
271
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
272
272
|
});
|
|
273
273
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
274
|
-
yield* bus.subscribe(
|
|
274
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
275
275
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
276
276
|
})
|
|
277
277
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-ntp4wasn.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-tqmdgn9s.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service63
|
|
11
|
+
} from "./variant-k5pje4am.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID10,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service62
|
|
16
|
+
} from "./variant-01vks33x.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID9
|
|
23
|
+
} from "./variant-k3e8ne48.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./variant-6wqj8apg.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID9.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID10.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service63;
|
|
57
|
+
const integrations = yield* Service62;
|
|
58
58
|
const bus = yield* Service82;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./variant-shrpy2d8.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9zdhvgqs.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-6178vqjw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./variant-c89x1wvt.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event19,
|
|
13
|
+
ID: () => ID17,
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID17 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event19 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID17, Current3, Info33, UpdateInput4, Event19, Vcs3, exports_schema };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./variant-84fbrg39.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./variant-5ax8768v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service69;
|
|
57
|
+
const permission = yield* Service66;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-ehrq6y4r.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|