@opencode/core 0.0.0-dev-20427 → 0.0.0-dev-20436
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{schema-a1hhf2r6.js → instruction-discovery-01rwjjcz.js} +23 -23
- package/dist/chunks/{schema-s8d7rejh.js → instruction-discovery-02nrjc1r.js} +8 -8
- package/dist/chunks/{schema-yze7y2ew.js → instruction-discovery-080vvshd.js} +23 -23
- package/dist/chunks/{schema-x6rmv6e6.js → instruction-discovery-09ahpnqs.js} +22 -22
- package/dist/chunks/{schema-tfbfrq56.js → instruction-discovery-0e16np3z.js} +13 -13
- package/dist/chunks/{schema-8wha04vy.js → instruction-discovery-0npx16jc.js} +20 -20
- package/dist/chunks/{schema-zfs8ae4p.js → instruction-discovery-0ntvdsg8.js} +4 -4
- package/dist/chunks/{schema-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-1f62gqxs.js → instruction-discovery-0q1nq9gp.js} +24 -24
- package/dist/chunks/{schema-0vbcp93d.js → instruction-discovery-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-cshgsf68.js → instruction-discovery-18f1kqxe.js} +25 -25
- package/dist/chunks/{schema-pk5j9peg.js → instruction-discovery-1b1c4dzk.js} +29 -29
- package/dist/chunks/{schema-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-qzrkvpeb.js → instruction-discovery-1nv2cx5q.js} +11 -11
- package/dist/chunks/{schema-6yz0wx8n.js → instruction-discovery-1pxz8ven.js} +5 -5
- package/dist/chunks/{schema-5wk64npe.js → instruction-discovery-1reqv2dv.js} +11 -11
- package/dist/chunks/{schema-f2jhgqeb.js → instruction-discovery-1v84xk10.js} +24 -24
- package/dist/chunks/{schema-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{schema-ab9238g2.js → instruction-discovery-23pqda6t.js} +5 -5
- package/dist/chunks/{schema-f9jvv9fd.js → instruction-discovery-25dqpbdt.js} +29 -29
- package/dist/chunks/{schema-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-qhgb43ta.js → instruction-discovery-2kgjpspn.js} +48 -48
- package/dist/chunks/{schema-3ppptnan.js → instruction-discovery-2myva995.js} +6 -6
- package/dist/chunks/{schema-rk1r2hx8.js → instruction-discovery-2tsm52y3.js} +1 -1
- package/dist/chunks/{schema-h4c8g149.js → instruction-discovery-31cn1m4w.js} +13 -13
- package/dist/chunks/{schema-pnafm5rd.js → instruction-discovery-31d6twgp.js} +17 -17
- package/dist/chunks/{schema-h2b79v29.js → instruction-discovery-3cegwx68.js} +2 -2
- package/dist/chunks/{schema-00hg8mdp.js → instruction-discovery-3e22cpye.js} +35 -35
- package/dist/chunks/{schema-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-bzd62h0k.js → instruction-discovery-3fre7mpw.js} +23 -23
- package/dist/chunks/{schema-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-arhaqhb4.js → instruction-discovery-3j31p43m.js} +4 -4
- package/dist/chunks/{schema-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-3v5tjer0.js → instruction-discovery-3v5tjer0.js} +2 -2
- package/dist/chunks/{schema-3jtvz2c8.js → instruction-discovery-3wh4g806.js} +18 -18
- package/dist/chunks/{schema-a7bcxdzj.js → instruction-discovery-3z0hjn58.js} +9 -9
- package/dist/chunks/{schema-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-z8k62dd3.js → instruction-discovery-4314ycrs.js} +9 -9
- package/dist/chunks/{schema-6ew4nd0q.js → instruction-discovery-47d6wyq0.js} +44 -44
- package/dist/chunks/{schema-cxrcevmg.js → instruction-discovery-47t04rwa.js} +3 -3
- package/dist/chunks/{schema-0dfv3dc6.js → instruction-discovery-4fecg1gp.js} +14 -14
- package/dist/chunks/{schema-6k5d2hav.js → instruction-discovery-4jwmrx58.js} +92 -92
- package/dist/chunks/{schema-s077a73h.js → instruction-discovery-4ky6jgdw.js} +27 -27
- package/dist/chunks/{schema-4ts7tf6z.js → instruction-discovery-4ts7tf6z.js} +2 -2
- package/dist/chunks/{schema-ygrbgkqb.js → instruction-discovery-4x16na4a.js} +11 -11
- package/dist/chunks/{schema-kx3tazm0.js → instruction-discovery-4xg7vbg1.js} +22 -22
- package/dist/chunks/{schema-7hp7v40b.js → instruction-discovery-4zh31xwb.js} +5 -5
- package/dist/chunks/{schema-k6yq57aq.js → instruction-discovery-539jk4fq.js} +3 -3
- package/dist/chunks/{schema-54ma36ye.js → instruction-discovery-54ma36ye.js} +1 -1
- package/dist/chunks/{schema-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-j1z04ftp.js → instruction-discovery-5rz9mp7t.js} +8 -8
- package/dist/chunks/{schema-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-66x1gf3g.js → instruction-discovery-5wefe36s.js} +26 -26
- package/dist/chunks/{schema-m9xh49tw.js → instruction-discovery-5yk7faxb.js} +9 -9
- package/dist/chunks/{schema-5jpgchb0.js → instruction-discovery-6437vj42.js} +19 -19
- package/dist/chunks/{schema-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{schema-ce128ryg.js → instruction-discovery-67gyhswp.js} +56 -56
- package/dist/chunks/{schema-mdqp54e4.js → instruction-discovery-6f0av2j1.js} +16 -16
- package/dist/chunks/{schema-xkw3h4yy.js → instruction-discovery-6pdejbrj.js} +9 -9
- package/dist/chunks/{schema-pgp1nwjn.js → instruction-discovery-6t4hr8r6.js} +4 -4
- package/dist/chunks/{schema-fk0bqkbn.js → instruction-discovery-6y2nrvpb.js} +15 -15
- package/dist/chunks/{schema-nxentx58.js → instruction-discovery-75b92wra.js} +13 -13
- package/dist/chunks/{schema-kpfrge9a.js → instruction-discovery-761m9ptj.js} +5 -5
- package/dist/chunks/{schema-en1ae6kt.js → instruction-discovery-79sz3r55.js} +32 -32
- package/dist/chunks/{schema-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-nam3yqey.js → instruction-discovery-7g3c0nm9.js} +5 -5
- package/dist/chunks/{schema-xmqeavvf.js → instruction-discovery-7jy5y1d0.js} +3 -3
- package/dist/chunks/{schema-2ndfqft8.js → instruction-discovery-7refrf3w.js} +18 -18
- package/dist/chunks/{schema-884bfwk0.js → instruction-discovery-7rkkkr4d.js} +6 -6
- package/dist/chunks/{schema-knrf1btg.js → instruction-discovery-7szkp5y2.js} +7 -7
- package/dist/chunks/{schema-9cqw126c.js → instruction-discovery-7z7ettx5.js} +13 -13
- package/dist/chunks/{schema-1dvck2a7.js → instruction-discovery-84h8c373.js} +2 -2
- package/dist/chunks/{schema-2p623br6.js → instruction-discovery-84zcxbc9.js} +5 -5
- package/dist/chunks/{schema-tcezcvh9.js → instruction-discovery-89znhe33.js} +4 -4
- package/dist/chunks/{schema-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-smwxesx6.js → instruction-discovery-8hxe8pkp.js} +11 -11
- package/dist/chunks/{schema-tyfhy1xa.js → instruction-discovery-8y6rr02y.js} +12 -6
- package/dist/chunks/{schema-3ymztgxb.js → instruction-discovery-97w5rk9e.js} +8 -8
- package/dist/chunks/{schema-j34d9wvd.js → instruction-discovery-9bc1v1ef.js} +12 -12
- package/dist/chunks/{schema-czfptnv9.js → instruction-discovery-9hn6k4tm.js} +8 -8
- package/dist/chunks/{schema-n9ape9rz.js → instruction-discovery-9p1s4wf0.js} +13 -13
- package/dist/chunks/{schema-33s4cs7k.js → instruction-discovery-9svgz92n.js} +19 -19
- package/dist/chunks/{schema-b49zbxty.js → instruction-discovery-9xxdq54b.js} +25 -25
- package/dist/chunks/{schema-a8kgewhr.js → instruction-discovery-9zppm9tj.js} +24 -24
- package/dist/chunks/{schema-j028xdjb.js → instruction-discovery-a1gpj94z.js} +3 -3
- package/dist/chunks/{schema-jm3yycek.js → instruction-discovery-a713gwtq.js} +3 -3
- package/dist/chunks/{schema-44w1d694.js → instruction-discovery-a93qqd3r.js} +1 -1
- package/dist/chunks/{schema-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-ed1pdgvd.js → instruction-discovery-b0pe6pks.js} +87 -87
- package/dist/chunks/{schema-myhy7sh9.js → instruction-discovery-b5a1eknj.js} +2 -2
- package/dist/chunks/{schema-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-ncnxs0cm.js → instruction-discovery-bk4e8b28.js} +17 -17
- package/dist/chunks/{schema-0jcwpj80.js → instruction-discovery-c5dja1rz.js} +15 -15
- package/dist/chunks/{schema-ebpmbt03.js → instruction-discovery-cc19yrrc.js} +35 -35
- package/dist/chunks/{schema-91q34nvd.js → instruction-discovery-cfyqmpvb.js} +15 -15
- package/dist/chunks/{schema-ry36hy20.js → instruction-discovery-cn7bc80e.js} +11 -11
- package/dist/chunks/{schema-btnx3k07.js → instruction-discovery-ctj0c0vy.js} +35 -35
- package/dist/chunks/{schema-pyy44cbc.js → instruction-discovery-d0tsr4jg.js} +180 -180
- package/dist/chunks/{schema-xxndcd6m.js → instruction-discovery-d9sgy5v4.js} +4 -4
- package/dist/chunks/{schema-1mr0tf63.js → instruction-discovery-db70kwg2.js} +11 -11
- package/dist/chunks/{schema-0tfh6cbg.js → instruction-discovery-dbfz4arg.js} +13 -13
- package/dist/chunks/{schema-00z3vp5f.js → instruction-discovery-dfe8djrf.js} +4 -4
- package/dist/chunks/{schema-9b00c1fb.js → instruction-discovery-dfzjqex4.js} +5 -5
- package/dist/chunks/{schema-2dhyt72p.js → instruction-discovery-dh757vhx.js} +8 -8
- package/dist/chunks/{schema-dmqcgk4z.js → instruction-discovery-dmqcgk4z.js} +2 -2
- package/dist/chunks/{schema-50qbwwxg.js → instruction-discovery-dnwv4286.js} +14 -14
- package/dist/chunks/{schema-dpkg50ah.js → instruction-discovery-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-jeacqz11.js → instruction-discovery-drpgmr68.js} +24 -24
- package/dist/chunks/{schema-xkf0j60n.js → instruction-discovery-dvjzzf76.js} +34 -34
- package/dist/chunks/{schema-gtz8s5m7.js → instruction-discovery-dx06g6ak.js} +49 -49
- package/dist/chunks/{schema-164n2a8b.js → instruction-discovery-dzv9ey9b.js} +24 -24
- package/dist/chunks/{schema-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-5k2jxtxf.js → instruction-discovery-ej868w5m.js} +7 -7
- package/dist/chunks/{schema-2j5hbwxg.js → instruction-discovery-en9mxp96.js} +9 -9
- package/dist/chunks/{schema-a89e0tac.js → instruction-discovery-ermxvwhp.js} +4 -4
- package/dist/chunks/{schema-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-613r56za.js → instruction-discovery-exrb6f4b.js} +39 -39
- package/dist/chunks/{schema-cd1hpav8.js → instruction-discovery-f1w2j8y8.js} +11 -11
- package/dist/chunks/{schema-75re34rt.js → instruction-discovery-f53zr6n7.js} +10 -10
- package/dist/chunks/{schema-chrxq3ex.js → instruction-discovery-f67tw5z1.js} +11 -11
- package/dist/chunks/{schema-71az546q.js → instruction-discovery-f75zav2x.js} +2 -2
- package/dist/chunks/instruction-discovery-fewx72qc.js +507 -0
- package/dist/chunks/{schema-z892f7j6.js → instruction-discovery-fsff54r6.js} +32 -32
- package/dist/chunks/{schema-jhymbn69.js → instruction-discovery-fsw0mc83.js} +9 -9
- package/dist/chunks/{schema-3g00cn95.js → instruction-discovery-fw1dz7t9.js} +39 -39
- package/dist/chunks/{schema-5pmpx3tn.js → instruction-discovery-g5e9pd1v.js} +33 -33
- package/dist/chunks/{schema-0msk7f2d.js → instruction-discovery-g8h26jd5.js} +12 -12
- package/dist/chunks/{schema-5nxa4r0r.js → instruction-discovery-g960pwnm.js} +10 -10
- package/dist/chunks/{schema-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-51eyhnsv.js → instruction-discovery-gf55pmfv.js} +30 -30
- package/dist/chunks/{schema-0a25p3r5.js → instruction-discovery-gq159grd.js} +25 -25
- package/dist/chunks/{schema-fa2nx576.js → instruction-discovery-gqj9xvwh.js} +12 -12
- package/dist/chunks/{schema-4a0nv7mx.js → instruction-discovery-gs3s1a1g.js} +8 -8
- package/dist/chunks/{schema-01jce939.js → instruction-discovery-gsw922gt.js} +19 -19
- package/dist/chunks/{schema-5atn9wfq.js → instruction-discovery-gt5g32da.js} +19 -19
- package/dist/chunks/{schema-6nmnvwva.js → instruction-discovery-h0m6qmgv.js} +11 -11
- package/dist/chunks/instruction-discovery-h1j66rmt.js +26 -0
- package/dist/chunks/{schema-vap9bzaw.js → instruction-discovery-h4h0wgnp.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-7sf05c4f.js → instruction-discovery-hcn189kp.js} +24 -24
- package/dist/chunks/{schema-6mf5w0g3.js → instruction-discovery-hps2b6na.js} +29 -29
- package/dist/chunks/{schema-m58kmhef.js → instruction-discovery-hpsfhvb4.js} +6 -9
- package/dist/chunks/{schema-y853g6y0.js → instruction-discovery-hr8b5vpd.js} +4 -4
- package/dist/chunks/{schema-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-3yvx2c16.js → instruction-discovery-j6vwemrx.js} +7 -7
- package/dist/chunks/{schema-acmb6w5b.js → instruction-discovery-jafnk310.js} +11 -11
- package/dist/chunks/{schema-h7w9m21h.js → instruction-discovery-jd00bmkr.js} +6 -6
- package/dist/chunks/{schema-rvw4nqpr.js → instruction-discovery-jm7h4j2a.js} +32 -32
- package/dist/chunks/{schema-x254e9t3.js → instruction-discovery-jq8xwx8t.js} +41 -41
- package/dist/chunks/{schema-ver7ymjs.js → instruction-discovery-js24vr7f.js} +23 -23
- package/dist/chunks/{schema-e31x7ahd.js → instruction-discovery-jy0az3tm.js} +20 -20
- package/dist/chunks/{schema-acv9cqfs.js → instruction-discovery-k0133kzt.js} +15 -15
- package/dist/chunks/{schema-1dfjj4a2.js → instruction-discovery-k0jv87xe.js} +22 -22
- package/dist/chunks/{schema-d2094b0z.js → instruction-discovery-k1qrnqst.js} +8 -8
- package/dist/chunks/{schema-k3c624dm.js → instruction-discovery-k3c624dm.js} +3 -3
- package/dist/chunks/{schema-dyvwp316.js → instruction-discovery-k4bpkq42.js} +8 -8
- package/dist/chunks/{schema-9e5bzkjp.js → instruction-discovery-kb9j3d72.js} +3 -3
- package/dist/chunks/{schema-y0kv9337.js → instruction-discovery-kd4y974r.js} +1 -1
- package/dist/chunks/{schema-w55xx4k1.js → instruction-discovery-kdfm79bn.js} +6 -6
- package/dist/chunks/{schema-c358x8ws.js → instruction-discovery-kq9d3hx9.js} +15 -15
- package/dist/chunks/{schema-74sfygzs.js → instruction-discovery-kvp5kq6m.js} +41 -41
- package/dist/chunks/{schema-njy42cgf.js → instruction-discovery-m39hh8zp.js} +11 -11
- package/dist/chunks/{schema-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-mjymc32g.js → instruction-discovery-magykp64.js} +4 -4
- package/dist/chunks/{schema-mazbtkaa.js → instruction-discovery-mazbtkaa.js} +2 -2
- package/dist/chunks/{schema-h23hyb4a.js → instruction-discovery-mc73fyb8.js} +12 -12
- package/dist/chunks/{schema-n6bzx4yk.js → instruction-discovery-mdemgye2.js} +5 -5
- package/dist/chunks/{schema-mfqp6xfm.js → instruction-discovery-mfqp6xfm.js} +2 -2
- package/dist/chunks/{schema-r44petzp.js → instruction-discovery-mjqndqed.js} +12 -12
- package/dist/chunks/{schema-mszav1c8.js → instruction-discovery-mme0rg1v.js} +5 -5
- package/dist/chunks/{schema-w2pt7pe3.js → instruction-discovery-mmha7pa6.js} +33 -33
- package/dist/chunks/{schema-dnxkq42g.js → instruction-discovery-mxvxcxwy.js} +4 -4
- package/dist/chunks/{schema-076g5gtq.js → instruction-discovery-n05027zw.js} +34 -36
- package/dist/chunks/{schema-b2jc6q54.js → instruction-discovery-n18sa6tb.js} +11 -11
- package/dist/chunks/{schema-qmf8xmg7.js → instruction-discovery-n1wv36jt.js} +7 -7
- package/dist/chunks/{schema-y23bhd53.js → instruction-discovery-n6v2epj8.js} +11 -11
- package/dist/chunks/{schema-3av0r9g0.js → instruction-discovery-n77dttfg.js} +40 -40
- package/dist/chunks/{schema-z6c3x22d.js → instruction-discovery-n8vdnqrc.js} +5 -5
- package/dist/chunks/{schema-dk3fapr1.js → instruction-discovery-n9fn70d8.js} +11 -11
- package/dist/chunks/{schema-wp2jv443.js → instruction-discovery-nc120egx.js} +8 -8
- package/dist/chunks/{schema-wcantn69.js → instruction-discovery-nc13b7kg.js} +19 -19
- package/dist/chunks/{schema-sseg7a2b.js → instruction-discovery-ngs2t85n.js} +29 -29
- package/dist/chunks/{schema-8nst9j1y.js → instruction-discovery-nhef0ppz.js} +16 -16
- package/dist/chunks/{schema-hc7nmvs9.js → instruction-discovery-nmpw1asp.js} +8 -8
- package/dist/chunks/{schema-1cm1abtm.js → instruction-discovery-np1hwe2g.js} +10 -10
- package/dist/chunks/{schema-rhty04x1.js → instruction-discovery-nq1erwx6.js} +17 -17
- package/dist/chunks/{schema-0ns8nkzq.js → instruction-discovery-ns3twq43.js} +22 -22
- package/dist/chunks/instruction-discovery-p2h6zvwc.js +18 -0
- package/dist/chunks/{schema-drf7jsh9.js → instruction-discovery-p5ywxg46.js} +9 -9
- package/dist/chunks/{schema-d87tmwdg.js → instruction-discovery-pary2kw6.js} +35 -35
- package/dist/chunks/{schema-hpxy8090.js → instruction-discovery-pg6pk43k.js} +31 -31
- package/dist/chunks/{schema-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{schema-xmx5bapj.js → instruction-discovery-pnn35psd.js} +5 -5
- package/dist/chunks/{schema-7szz14f0.js → instruction-discovery-pqegxn2t.js} +8 -8
- package/dist/chunks/{schema-0ppje3yj.js → instruction-discovery-pre7v3rr.js} +13 -13
- package/dist/chunks/{schema-8wjfwe4f.js → instruction-discovery-prs6m51s.js} +9 -9
- package/dist/chunks/{schema-f28an6tq.js → instruction-discovery-pvt2fb7y.js} +15 -15
- package/dist/chunks/{schema-py3kkmfq.js → instruction-discovery-py3kkmfq.js} +2 -2
- package/dist/chunks/{schema-q0xm7vwc.js → instruction-discovery-q0xm7vwc.js} +2 -2
- package/dist/chunks/{schema-p1s1983h.js → instruction-discovery-q3mv52s2.js} +30 -30
- package/dist/chunks/{schema-b0awdqvx.js → instruction-discovery-q5nw5m1n.js} +8 -8
- package/dist/chunks/{schema-dhtadd1m.js → instruction-discovery-q6d53jre.js} +8 -8
- package/dist/chunks/instruction-discovery-q6njh5pv.js +252 -0
- package/dist/chunks/{schema-7dqw4kz8.js → instruction-discovery-qgn6gcr1.js} +5 -5
- package/dist/chunks/{schema-qnc92qwc.js → instruction-discovery-qnc92qwc.js} +1 -1
- package/dist/chunks/{schema-wpk418tb.js → instruction-discovery-qpsckf0j.js} +50 -50
- package/dist/chunks/{schema-03xyy9gs.js → instruction-discovery-qrqxbka5.js} +8 -8
- package/dist/chunks/{schema-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-tm55b6qc.js → instruction-discovery-qx36bxgz.js} +5 -5
- package/dist/chunks/{schema-6vgan4aw.js → instruction-discovery-qz7bfay8.js} +19 -19
- package/dist/chunks/{schema-rey5gbxv.js → instruction-discovery-r2m716tb.js} +9 -9
- package/dist/chunks/{schema-xrpg47n6.js → instruction-discovery-r9w3djhf.js} +9 -9
- package/dist/chunks/{schema-rtwmwkb1.js → instruction-discovery-ra7tqc9g.js} +4 -4
- package/dist/chunks/{schema-pcmm8ydh.js → instruction-discovery-rakf4fws.js} +18 -18
- package/dist/chunks/{schema-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-0fk84ear.js → instruction-discovery-rensfgbr.js} +4 -4
- package/dist/chunks/{schema-r4h4t1nf.js → instruction-discovery-rk44qj15.js} +18 -18
- package/dist/chunks/{schema-qwhmp407.js → instruction-discovery-rrbrp6k4.js} +35 -35
- package/dist/chunks/{schema-j0drmkjr.js → instruction-discovery-rtbqen95.js} +25 -26
- package/dist/chunks/{schema-g2axpq5m.js → instruction-discovery-rvmf1nwp.js} +30 -30
- package/dist/chunks/{schema-v978r2zh.js → instruction-discovery-rvzwzr4g.js} +3 -3
- package/dist/chunks/{schema-7sbkp4xb.js → instruction-discovery-ryr25ayn.js} +4 -4
- package/dist/chunks/{schema-f29mbr7f.js → instruction-discovery-rywzfdxh.js} +4 -4
- package/dist/chunks/{schema-2v8phk0m.js → instruction-discovery-s3f7jc6p.js} +25 -25
- package/dist/chunks/{schema-r832v3f0.js → instruction-discovery-s7e94ybw.js} +9 -9
- package/dist/chunks/{schema-m0jvvp9j.js → instruction-discovery-s87m1rh1.js} +27 -27
- package/dist/chunks/{schema-a8m135tr.js → instruction-discovery-sb1y7h9k.js} +10 -10
- package/dist/chunks/{schema-c3r8r2c7.js → instruction-discovery-sbht0gze.js} +9 -9
- package/dist/chunks/{schema-b3f8fkhc.js → instruction-discovery-scgrse2b.js} +5 -5
- package/dist/chunks/{schema-gst7axd9.js → instruction-discovery-t2az9yje.js} +4 -4
- package/dist/chunks/{schema-nscs897a.js → instruction-discovery-t4xck8m6.js} +35 -35
- package/dist/chunks/{schema-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{schema-p9xxkds4.js → instruction-discovery-tm7rm1cd.js} +3 -3
- package/dist/chunks/{schema-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-5w9cwpmd.js → instruction-discovery-txp4gwkg.js} +8 -8
- package/dist/chunks/{schema-cgw81b0z.js → instruction-discovery-tyw2rt9s.js} +21 -21
- package/dist/chunks/{schema-3p0qyp3j.js → instruction-discovery-tztphjnf.js} +12 -12
- package/dist/chunks/{schema-q2hf1xmk.js → instruction-discovery-v66g3x96.js} +8 -8
- package/dist/chunks/{schema-0e8fjg4b.js → instruction-discovery-v6z2m2jp.js} +20 -20
- package/dist/chunks/{schema-yh7gpy6m.js → instruction-discovery-vd50vaq5.js} +18 -18
- package/dist/chunks/{schema-8gbsj511.js → instruction-discovery-vde899zy.js} +3 -3
- package/dist/chunks/{schema-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-qfhvag9a.js → instruction-discovery-vgeew69v.js} +27 -27
- package/dist/chunks/{schema-ga0xt9e2.js → instruction-discovery-vj4r8hhk.js} +2 -2
- package/dist/chunks/{schema-sk3dx986.js → instruction-discovery-vkzxswb9.js} +44 -44
- package/dist/chunks/{schema-0mc57tk4.js → instruction-discovery-vnchxsqg.js} +22 -22
- package/dist/chunks/{schema-v65w0t96.js → instruction-discovery-vt1ndr5w.js} +42 -42
- package/dist/chunks/{schema-fcmr8hvx.js → instruction-discovery-vwb48jve.js} +35 -35
- package/dist/chunks/{schema-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-vzs5sf6e.js → instruction-discovery-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-84txncab.js → instruction-discovery-w1eejvng.js} +5 -5
- package/dist/chunks/{schema-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-gqx7042s.js → instruction-discovery-wb8phxs5.js} +23 -23
- package/dist/chunks/{schema-5gn7zxfa.js → instruction-discovery-wcxbx603.js} +25 -25
- package/dist/chunks/{schema-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{schema-5agx6kaf.js → instruction-discovery-wnmeb7fj.js} +15 -15
- package/dist/chunks/{schema-sdexfqp0.js → instruction-discovery-ws0chgfk.js} +73 -73
- package/dist/chunks/{schema-7ekw9ay4.js → instruction-discovery-wvw8jb1e.js} +41 -41
- package/dist/chunks/{schema-2yjg5v3n.js → instruction-discovery-x18va5sk.js} +34 -34
- package/dist/chunks/{schema-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-ffb4je5h.js → instruction-discovery-xa1rfemh.js} +11 -11
- package/dist/chunks/{schema-xfkkasph.js → instruction-discovery-xfkkasph.js} +1 -1
- package/dist/chunks/{schema-q2q20c0d.js → instruction-discovery-xjtdekf3.js} +15 -15
- package/dist/chunks/{schema-2vkncht2.js → instruction-discovery-xsa6f9c6.js} +26 -26
- package/dist/chunks/{schema-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-mqzwkyay.js → instruction-discovery-y8p3zjbc.js} +6 -6
- package/dist/chunks/{schema-xakdp5s2.js → instruction-discovery-y91qmtyz.js} +8 -8
- package/dist/chunks/{schema-evgg74h5.js → instruction-discovery-y9nbppkg.js} +6 -6
- package/dist/chunks/{schema-7xjhysdy.js → instruction-discovery-ybhdk4g3.js} +9 -9
- package/dist/chunks/{schema-908m4j2d.js → instruction-discovery-ydnksj1z.js} +6 -6
- package/dist/chunks/{schema-9bqmr884.js → instruction-discovery-ymj43g9a.js} +15 -15
- package/dist/chunks/{schema-1acjjqhc.js → instruction-discovery-yp2x3t23.js} +4 -4
- package/dist/chunks/{schema-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-vt1v0sxt.js → instruction-discovery-yshmskfg.js} +51 -51
- package/dist/chunks/{schema-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-y0aje2pb.js → instruction-discovery-z3xrvpgm.js} +12 -12
- package/dist/chunks/{schema-btt5ky6n.js → instruction-discovery-z6g40wxz.js} +40 -40
- package/dist/chunks/{schema-k2maas8p.js → instruction-discovery-z8w9xafz.js} +14 -14
- package/dist/chunks/{schema-p2s1jj4p.js → instruction-discovery-zh848x0v.js} +11 -11
- package/dist/chunks/{schema-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-ytswgsqe.js → instruction-discovery-zx3ym5xt.js} +23 -23
- package/dist/chunks/{schema-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -93
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +114 -112
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +112 -112
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/session/revert.d.ts +0 -1
- package/dist/types/session/session.d.ts +2 -2
- package/dist/types/session/to-session-error.d.ts +2 -0
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/schema-790j68qn.js +0 -507
- package/dist/chunks/schema-bng5gf7f.js +0 -252
- package/dist/chunks/schema-bvmv4qm1.js +0 -26
- package/dist/chunks/schema-gyce5qg1.js +0 -18
- package/dist/filesystem/ignore.js +0 -58
- package/dist/types/filesystem/ignore.d.ts +0 -2
- /package/dist/chunks/{schema-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → instruction-discovery-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./instruction-discovery-6f0av2j1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service61,
|
|
11
|
+
node64
|
|
12
|
+
} from "./instruction-discovery-vwb48jve.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./instruction-discovery-4fecg1gp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node77
|
|
20
|
+
} from "./instruction-discovery-9zppm9tj.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service70,
|
|
24
|
+
node73
|
|
25
|
+
} from "./instruction-discovery-s87m1rh1.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service60,
|
|
34
|
+
node63
|
|
35
|
+
} from "./instruction-discovery-mmha7pa6.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
45
|
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service29,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured3,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node32
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service29 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options3 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const environment = yield* Service74;
|
|
117
|
+
const bus = yield* Service83;
|
|
118
|
+
const forms = yield* Service70;
|
|
119
|
+
const integration = yield* Service60;
|
|
120
|
+
const credentials = yield* Service61;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID9.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service61, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError2({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service61, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID15.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service74, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service29.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service29,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node84, node77, node87, node73, node63, node64]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node32 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service29, Options3, layer14, configured3, node32, exports_mcp4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info15
|
|
6
|
+
} from "./instruction-discovery-magykp64.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info13
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info15)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info13 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info13, exports_agent3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./instruction-discovery-t4xck8m6.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID8.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-xa1rfemh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./instruction-discovery-6f0av2j1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service61
|
|
11
|
+
} from "./instruction-discovery-vwb48jve.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./instruction-discovery-mmha7pa6.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./instruction-discovery-t4xck8m6.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instruction-discovery-y9nbppkg.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 = ID8.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID9.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ 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*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service61;
|
|
57
|
+
const integrations = yield* Service60;
|
|
58
|
+
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event14.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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-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: () => Service7,
|
|
13
|
+
node: () => node8
|
|
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 Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service7, 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(Service4, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service7.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 node8 = makeLocationNode({ service: Service7, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service7, node8, exports_location_watcher_policy };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-t4xck8m6.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-pary2kw6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service65
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-vt1ndr5w.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-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: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin45,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
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
|
|
33
|
+
var name9 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `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 Input9 = 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 Input2 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin45 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
99
|
const permission = yield* Service65;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin36 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
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 { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin45, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-dfzjqex4.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|