@opencode/core 0.0.0-dev-20257 → 0.0.0-dev-20259
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{tool-mxck01x7.js → instruction-discovery-02bay2gf.js} +33 -33
- package/dist/chunks/{tool-9jk221y9.js → instruction-discovery-06z5ysp4.js} +9 -9
- package/dist/chunks/{tool-3y576xey.js → instruction-discovery-082rnqjp.js} +43 -43
- package/dist/chunks/{tool-qsgng9yw.js → instruction-discovery-0f43jy32.js} +22 -22
- package/dist/chunks/{tool-csc4d3td.js → instruction-discovery-0gz2bbbw.js} +9 -9
- package/dist/chunks/{tool-41ykdtjg.js → instruction-discovery-0j6z66bd.js} +68 -68
- package/dist/chunks/{tool-w5tjdcqf.js → instruction-discovery-0jc2m42v.js} +20 -20
- package/dist/chunks/{tool-2k8khapm.js → instruction-discovery-0jwsre1p.js} +5 -5
- package/dist/chunks/{tool-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-2c73s09s.js → instruction-discovery-170dw88f.js} +13 -13
- package/dist/chunks/{tool-q73ax3e3.js → instruction-discovery-1cqn462m.js} +6 -6
- package/dist/chunks/{tool-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-df918xjf.js → instruction-discovery-1sm8w69h.js} +13 -13
- package/dist/chunks/{tool-9aqmr64f.js → instruction-discovery-1txkgjsb.js} +5 -5
- package/dist/chunks/{tool-dbnvakxz.js → instruction-discovery-1w2qnnb8.js} +2 -2
- package/dist/chunks/{tool-f5j4h519.js → instruction-discovery-1w4f99jj.js} +32 -32
- package/dist/chunks/{tool-8rn5fqsk.js → instruction-discovery-1wb4p8j4.js} +90 -90
- package/dist/chunks/{tool-ek9e68b4.js → instruction-discovery-1xqbq2zw.js} +27 -27
- package/dist/chunks/{tool-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{tool-391zmw43.js → instruction-discovery-23e9m01n.js} +54 -54
- package/dist/chunks/{tool-6yf2w8yd.js → instruction-discovery-26bq8yqb.js} +13 -13
- package/dist/chunks/{tool-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-na3vr06v.js → instruction-discovery-2jdmakwp.js} +10 -10
- package/dist/chunks/{tool-jvvc3tfq.js → instruction-discovery-2kewd2va.js} +9 -9
- package/dist/chunks/{tool-tg11ymz8.js → instruction-discovery-2pdthjdq.js} +5 -5
- package/dist/chunks/{tool-b4k87etx.js → instruction-discovery-2vzsts29.js} +25 -25
- package/dist/chunks/{tool-57ez7d0k.js → instruction-discovery-2w6fc0zt.js} +7 -7
- package/dist/chunks/{tool-ngr3dbwj.js → instruction-discovery-2z92v142.js} +9 -9
- package/dist/chunks/{tool-56gdpj1q.js → instruction-discovery-33w4ejhs.js} +6 -6
- package/dist/chunks/{tool-w1p328vv.js → instruction-discovery-35j0wzxw.js} +11 -11
- package/dist/chunks/{tool-wkt2y4hc.js → instruction-discovery-3be37bkr.js} +29 -29
- package/dist/chunks/{tool-0v0g5gxd.js → instruction-discovery-3c924577.js} +7 -7
- package/dist/chunks/{tool-rwt25hr0.js → instruction-discovery-3e5hvdm1.js} +11 -11
- package/dist/chunks/{tool-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-ewrs59eb.js → instruction-discovery-3gmzf03n.js} +45 -45
- package/dist/chunks/{tool-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-pwk60xzd.js → instruction-discovery-3np0b0zv.js} +26 -26
- package/dist/chunks/{tool-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-s81k1a76.js → instruction-discovery-3sx3yvec.js} +25 -25
- package/dist/chunks/{tool-gbny3ebw.js → instruction-discovery-3t68fz68.js} +5 -5
- package/dist/chunks/{tool-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-72cm32h1.js → instruction-discovery-3w6kqqmc.js} +6 -6
- package/dist/chunks/{tool-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-xever9ax.js → instruction-discovery-42nrqrzx.js} +37 -37
- package/dist/chunks/{tool-w8n0e5aw.js → instruction-discovery-446kd19h.js} +17 -17
- package/dist/chunks/{tool-fbk6jmjr.js → instruction-discovery-4c8y23xr.js} +8 -8
- package/dist/chunks/{tool-3dtz6yx2.js → instruction-discovery-4cy3kpzm.js} +3 -3
- package/dist/chunks/{tool-8qx87br5.js → instruction-discovery-4gzr2vmx.js} +28 -28
- package/dist/chunks/{tool-njhqdk9p.js → instruction-discovery-4nj4bn9q.js} +2 -2
- package/dist/chunks/{tool-0n945rvh.js → instruction-discovery-4p5b9311.js} +9 -9
- package/dist/chunks/{tool-vdtperbh.js → instruction-discovery-4pxz5wf7.js} +5 -5
- package/dist/chunks/{tool-xhs54hgc.js → instruction-discovery-4sfzh03d.js} +30 -30
- package/dist/chunks/{tool-ehjy287r.js → instruction-discovery-4zpxr980.js} +3 -3
- package/dist/chunks/{tool-h4z1mxff.js → instruction-discovery-5697fheg.js} +5 -5
- package/dist/chunks/{tool-x749c8ap.js → instruction-discovery-589j49yx.js} +26 -26
- package/dist/chunks/{tool-eacc2dt9.js → instruction-discovery-5bvskxbz.js} +15 -15
- package/dist/chunks/{tool-75hmra9r.js → instruction-discovery-5cqaacr7.js} +12 -12
- package/dist/chunks/{tool-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-zs59ffwg.js → instruction-discovery-5k7ke9hw.js} +36 -36
- package/dist/chunks/{tool-e3qxr5gk.js → instruction-discovery-5qd3pb7m.js} +2 -2
- package/dist/chunks/{tool-em3h5ktn.js → instruction-discovery-5qwkxp89.js} +4 -4
- package/dist/chunks/{tool-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-qnshbhpz.js → instruction-discovery-5xjthsep.js} +5 -5
- package/dist/chunks/{tool-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{tool-eg546c9f.js → instruction-discovery-69pbf0b3.js} +32 -32
- package/dist/chunks/{tool-bhz5rt2a.js → instruction-discovery-6ct2gcxk.js} +5 -5
- package/dist/chunks/{tool-qpbc7zwf.js → instruction-discovery-6hcnmam1.js} +5 -5
- package/dist/chunks/{tool-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-zkx6mb6f.js → instruction-discovery-6ng2cevd.js} +6 -6
- package/dist/chunks/{tool-nqhs97wk.js → instruction-discovery-6qbx77pw.js} +11 -11
- package/dist/chunks/{tool-pmjcgjf6.js → instruction-discovery-6qcc9fhq.js} +5 -5
- package/dist/chunks/{tool-4bee6ad1.js → instruction-discovery-6y6v1cfw.js} +11 -11
- package/dist/chunks/{tool-mvfsc1pv.js → instruction-discovery-73tb2d7t.js} +3 -3
- package/dist/chunks/{tool-q5dgj24k.js → instruction-discovery-753k8mgp.js} +17 -17
- package/dist/chunks/{tool-4b636nqp.js → instruction-discovery-7b36kwqm.js} +12 -12
- package/dist/chunks/{tool-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-3wgsv8e5.js → instruction-discovery-7hhy0q6r.js} +3 -3
- package/dist/chunks/{tool-4718644a.js → instruction-discovery-7vabq9wk.js} +19 -19
- package/dist/chunks/{tool-296y6fm3.js → instruction-discovery-7yhr0je5.js} +20 -20
- package/dist/chunks/{tool-kftnayyw.js → instruction-discovery-7zzrzj80.js} +10 -10
- package/dist/chunks/{tool-hxxwhazt.js → instruction-discovery-82m6vwrv.js} +23 -23
- package/dist/chunks/{tool-asmesk1c.js → instruction-discovery-82tk018p.js} +47 -47
- package/dist/chunks/{tool-tz4t78ya.js → instruction-discovery-84zk8rsp.js} +13 -13
- package/dist/chunks/{tool-aw0zj34j.js → instruction-discovery-86nj647e.js} +22 -22
- package/dist/chunks/{tool-tpgzbb02.js → instruction-discovery-87em592p.js} +20 -20
- package/dist/chunks/{tool-qzzwmwsb.js → instruction-discovery-88c3qnqc.js} +24 -24
- package/dist/chunks/{tool-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-zztd99f7.js → instruction-discovery-8fb5jb4r.js} +48 -48
- package/dist/chunks/instruction-discovery-8xcenvzd.js +26 -0
- package/dist/chunks/{tool-5mtzsd3b.js → instruction-discovery-8z00fdkb.js} +4 -4
- package/dist/chunks/{tool-rbedxwk0.js → instruction-discovery-9123sfbk.js} +10 -10
- package/dist/chunks/{tool-gfvb90ym.js → instruction-discovery-94ek1h2f.js} +2 -2
- package/dist/chunks/{tool-pa719ayw.js → instruction-discovery-96cgb2yb.js} +6 -6
- package/dist/chunks/{tool-ev6cj1t6.js → instruction-discovery-98kmyyvj.js} +4 -4
- package/dist/chunks/{tool-2tba787a.js → instruction-discovery-9fxwmyex.js} +10 -10
- package/dist/chunks/{tool-p37cw4rj.js → instruction-discovery-9hn6k4tm.js} +8 -8
- package/dist/chunks/{tool-jca4demv.js → instruction-discovery-9jwxq161.js} +2 -2
- package/dist/chunks/{tool-9y90g72n.js → instruction-discovery-9kpx8jrp.js} +24 -24
- package/dist/chunks/{tool-gy1z56yw.js → instruction-discovery-9v5d9qbw.js} +15 -15
- package/dist/chunks/{tool-4eajfyk1.js → instruction-discovery-9xay0kyp.js} +11 -11
- package/dist/chunks/{tool-faz569s1.js → instruction-discovery-a8aq5zwy.js} +4 -4
- package/dist/chunks/{tool-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-c8c0e7p2.js → instruction-discovery-aapq0y44.js} +4 -4
- package/dist/chunks/{tool-424p9vrf.js → instruction-discovery-ab8cnxkj.js} +12 -12
- package/dist/chunks/{tool-ezfsjjcb.js → instruction-discovery-ae6gjzms.js} +18 -18
- package/dist/chunks/{tool-7rwqf82v.js → instruction-discovery-ahd542yp.js} +8 -8
- package/dist/chunks/{tool-80cfmxjf.js → instruction-discovery-amwjmrz3.js} +20 -20
- package/dist/chunks/{tool-rsmztf11.js → instruction-discovery-ap5w1wvm.js} +20 -20
- package/dist/chunks/{tool-9jcc4y49.js → instruction-discovery-b4pzqhbb.js} +11 -11
- package/dist/chunks/{tool-a7ntt1km.js → instruction-discovery-b671rh71.js} +49 -49
- package/dist/chunks/{tool-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-4khtewc0.js → instruction-discovery-b9we7s9h.js} +43 -43
- package/dist/chunks/{tool-t7n9q6bq.js → instruction-discovery-baaqp4zd.js} +4 -4
- package/dist/chunks/{tool-0egx9fcg.js → instruction-discovery-bazmw5n6.js} +12 -12
- package/dist/chunks/{tool-q9m41f22.js → instruction-discovery-bb1nbzpn.js} +15 -15
- package/dist/chunks/{tool-8265666q.js → instruction-discovery-bfssjy5n.js} +9 -9
- package/dist/chunks/{tool-9dvrwmbd.js → instruction-discovery-btx81dwg.js} +11 -11
- package/dist/chunks/{tool-946c90tq.js → instruction-discovery-bz98gv45.js} +8 -8
- package/dist/chunks/{tool-6tb4xv4d.js → instruction-discovery-c5z2enm2.js} +11 -11
- package/dist/chunks/{tool-f5gy8qwh.js → instruction-discovery-c7mx140r.js} +8 -8
- package/dist/chunks/{tool-axmvebxj.js → instruction-discovery-cavr175a.js} +21 -21
- package/dist/chunks/{tool-dth0kp2g.js → instruction-discovery-chwkvhg6.js} +10 -10
- package/dist/chunks/{tool-54tcyq79.js → instruction-discovery-ckecvw8r.js} +2 -2
- package/dist/chunks/{tool-yt0fqk68.js → instruction-discovery-cr07tj7n.js} +5 -5
- package/dist/chunks/{tool-6ab7jrdn.js → instruction-discovery-d4ffmh4f.js} +13 -13
- package/dist/chunks/{tool-40grcexz.js → instruction-discovery-d89x3sew.js} +23 -23
- package/dist/chunks/{tool-yt55jd1w.js → instruction-discovery-dj4h2fhh.js} +21 -21
- package/dist/chunks/{tool-qbqbaz6q.js → instruction-discovery-dj68pnee.js} +4 -4
- package/dist/chunks/{tool-d4he2qe1.js → instruction-discovery-djszqvmq.js} +9 -9
- package/dist/chunks/{tool-bbertzxx.js → instruction-discovery-dm707m27.js} +24 -24
- package/dist/chunks/{tool-dmqcgk4z.js → instruction-discovery-dmqcgk4z.js} +2 -2
- package/dist/chunks/{tool-y71avatq.js → instruction-discovery-dpkg50ah.js} +4 -4
- package/dist/chunks/{tool-xfkkasph.js → instruction-discovery-drwq78ky.js} +4 -4
- package/dist/chunks/{tool-f9v45azf.js → instruction-discovery-e90sekjx.js} +32 -32
- package/dist/chunks/{tool-ecfe7b91.js → instruction-discovery-ecfe7b91.js} +2 -2
- package/dist/chunks/{tool-a2ew8a62.js → instruction-discovery-edrmdtr5.js} +7 -7
- package/dist/chunks/{tool-5ck8tfnb.js → instruction-discovery-eegdvh3p.js} +8 -8
- package/dist/chunks/{tool-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-syg1g1yq.js → instruction-discovery-egjmf6qc.js} +33 -33
- package/dist/chunks/{tool-txmctbw7.js → instruction-discovery-ekm9gjpr.js} +5 -5
- package/dist/chunks/{tool-aasthdk7.js → instruction-discovery-enzsdrvb.js} +27 -27
- package/dist/chunks/{tool-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/instruction-discovery-eyyv22db.js +507 -0
- package/dist/chunks/{tool-dss8prcv.js → instruction-discovery-f00dmvnw.js} +5 -5
- package/dist/chunks/{tool-0x54nnzp.js → instruction-discovery-f5sm205x.js} +12 -12
- package/dist/chunks/{tool-1976gz4t.js → instruction-discovery-fby5vw61.js} +21 -21
- package/dist/chunks/{tool-grfjx99d.js → instruction-discovery-fh11j35a.js} +34 -34
- package/dist/chunks/{tool-cxfezmj7.js → instruction-discovery-fxafpd8f.js} +14 -14
- package/dist/chunks/{tool-pzmgz1kt.js → instruction-discovery-fym8p956.js} +18 -18
- package/dist/chunks/{tool-n2bwe27v.js → instruction-discovery-g31ban8f.js} +15 -15
- package/dist/chunks/{tool-ktwybt29.js → instruction-discovery-g6k7f39s.js} +22 -22
- package/dist/chunks/{tool-f32czd11.js → instruction-discovery-g8jasmdt.js} +11 -11
- package/dist/chunks/{tool-rhjbct0v.js → instruction-discovery-gbt6w4kb.js} +8 -8
- package/dist/chunks/{tool-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-qte5z7bc.js → instruction-discovery-gg7pg1rj.js} +5 -5
- package/dist/chunks/{tool-tcay1cqt.js → instruction-discovery-gjmk74th.js} +6 -6
- package/dist/chunks/{tool-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-h9wp8z5w.js → instruction-discovery-gw7cjrad.js} +4 -4
- package/dist/chunks/{tool-qvyqyy4a.js → instruction-discovery-h0bms5p2.js} +34 -34
- package/dist/chunks/{tool-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-cnvcdvk7.js → instruction-discovery-hd569af0.js} +6 -6
- package/dist/chunks/{tool-175m3jx7.js → instruction-discovery-hgwc94fk.js} +19 -19
- package/dist/chunks/{tool-d7hv7zmm.js → instruction-discovery-hjcz6rmz.js} +10 -10
- package/dist/chunks/{tool-194bm8bb.js → instruction-discovery-j0kmyrzb.js} +30 -30
- package/dist/chunks/{tool-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-0vx053wa.js → instruction-discovery-j5xe4kp4.js} +32 -32
- package/dist/chunks/{tool-ydgy0jv4.js → instruction-discovery-j7m8st6v.js} +6 -6
- package/dist/chunks/{tool-yw7byxdn.js → instruction-discovery-j7nqan0d.js} +11 -11
- package/dist/chunks/{tool-36sqq72v.js → instruction-discovery-jb9mn43j.js} +11 -11
- package/dist/chunks/{tool-11tc0n79.js → instruction-discovery-jfja93fz.js} +4 -4
- package/dist/chunks/{tool-afmxnawc.js → instruction-discovery-k0n0d029.js} +27 -27
- package/dist/chunks/{tool-k3c624dm.js → instruction-discovery-k3c624dm.js} +3 -3
- package/dist/chunks/{tool-jyzvwcc3.js → instruction-discovery-k3fgecpr.js} +86 -86
- package/dist/chunks/{tool-809ngxdw.js → instruction-discovery-k3sgy8hs.js} +18 -18
- package/dist/chunks/{tool-xh089592.js → instruction-discovery-k6624h3a.js} +5 -5
- package/dist/chunks/{tool-yv16hj29.js → instruction-discovery-k7b9yc55.js} +17 -17
- package/dist/chunks/{tool-bk7jaeqh.js → instruction-discovery-kdvzk119.js} +4 -4
- package/dist/chunks/{tool-y4rjczph.js → instruction-discovery-kejdazsg.js} +31 -31
- package/dist/chunks/{tool-3r7whzgv.js → instruction-discovery-kfdn5s74.js} +7 -7
- package/dist/chunks/{tool-8az6wgtc.js → instruction-discovery-kna9zdqg.js} +16 -16
- package/dist/chunks/{tool-t5eds39s.js → instruction-discovery-kqe3jxzt.js} +25 -25
- package/dist/chunks/{tool-qthggnn3.js → instruction-discovery-ks2mf4k9.js} +27 -27
- package/dist/chunks/{tool-dsr5k85q.js → instruction-discovery-kwne8yvs.js} +26 -26
- package/dist/chunks/{tool-kf4n8cem.js → instruction-discovery-kxryby56.js} +6 -6
- package/dist/chunks/{tool-d45ca2b9.js → instruction-discovery-m19n25mm.js} +15 -15
- package/dist/chunks/{tool-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-w7jh0eam.js → instruction-discovery-m3gtgzfj.js} +1 -1
- package/dist/chunks/{tool-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-wk7hydj3.js → instruction-discovery-mdes6h79.js} +11 -11
- package/dist/chunks/instruction-discovery-memzjhjn.js +252 -0
- package/dist/chunks/{tool-s7va8ds3.js → instruction-discovery-mf059aam.js} +17 -17
- package/dist/chunks/{tool-m82n3tcb.js → instruction-discovery-mkya8j6w.js} +11 -11
- package/dist/chunks/{tool-psxwg2jt.js → instruction-discovery-mwpnn186.js} +52 -52
- package/dist/chunks/{tool-nd981500.js → instruction-discovery-n8ff1d4t.js} +33 -33
- package/dist/chunks/{tool-sd321mms.js → instruction-discovery-nh22j9em.js} +4 -4
- package/dist/chunks/{tool-m5gtchbr.js → instruction-discovery-nhb58r61.js} +8 -8
- package/dist/chunks/{tool-35zcj8ny.js → instruction-discovery-njk6ct5f.js} +10 -10
- package/dist/chunks/{tool-qz49fwgp.js → instruction-discovery-nqnxh7mc.js} +4 -4
- package/dist/chunks/{tool-pnv527nz.js → instruction-discovery-nscznvay.js} +9 -9
- package/dist/chunks/{tool-g6af17tj.js → instruction-discovery-nyes3r6y.js} +15 -15
- package/dist/chunks/{tool-p9njq13k.js → instruction-discovery-p1zwtkem.js} +23 -23
- package/dist/chunks/{tool-fk1tprft.js → instruction-discovery-p56a4w57.js} +3 -3
- package/dist/chunks/{tool-01mtfcwf.js → instruction-discovery-p7p1yhfe.js} +44 -44
- package/dist/chunks/{tool-ttk3mwgy.js → instruction-discovery-p8f6pzys.js} +11 -11
- package/dist/chunks/{tool-eg73nz8j.js → instruction-discovery-pbd6h6hj.js} +16 -16
- package/dist/chunks/instruction-discovery-pf31ssb9.js +18 -0
- package/dist/chunks/{tool-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{tool-bdqrk2vk.js → instruction-discovery-pt3jfr41.js} +4 -4
- package/dist/chunks/{tool-9a22gx4j.js → instruction-discovery-q1k436gh.js} +24 -24
- package/dist/chunks/{tool-95yxn8sy.js → instruction-discovery-qez2bxyt.js} +3 -3
- package/dist/chunks/{tool-2qp6y8xf.js → instruction-discovery-qr8csav2.js} +5 -5
- package/dist/chunks/{tool-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-yj0c5cmr.js → instruction-discovery-r2vezpv1.js} +21 -21
- package/dist/chunks/{tool-g5mnhhzf.js → instruction-discovery-r3vxqx86.js} +5 -5
- package/dist/chunks/{tool-034466pj.js → instruction-discovery-r6d7me87.js} +40 -40
- package/dist/chunks/{tool-gjz1jd2j.js → instruction-discovery-r7vz0h04.js} +17 -17
- package/dist/chunks/{tool-5dhv185w.js → instruction-discovery-rad208an.js} +35 -35
- package/dist/chunks/{tool-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-amxsn76y.js → instruction-discovery-rfg55fwn.js} +9 -9
- package/dist/chunks/{tool-7k1k30bt.js → instruction-discovery-rgrr4spq.js} +1 -1
- package/dist/chunks/{tool-8sze2n9a.js → instruction-discovery-rkprpv83.js} +6 -6
- package/dist/chunks/{tool-67582959.js → instruction-discovery-rqvq2w64.js} +9 -9
- package/dist/chunks/{tool-2wby3dfy.js → instruction-discovery-ry6s3qrm.js} +35 -35
- package/dist/chunks/{tool-tnwevgky.js → instruction-discovery-s6dj8pnk.js} +179 -179
- package/dist/chunks/{tool-4bbjkqbv.js → instruction-discovery-se38j1gb.js} +18 -18
- package/dist/chunks/{tool-sg7et9cp.js → instruction-discovery-sj1ejh6z.js} +14 -14
- package/dist/chunks/{tool-q3t37ft6.js → instruction-discovery-skyymkrr.js} +3 -3
- package/dist/chunks/{tool-9a55rck2.js → instruction-discovery-sm95evjw.js} +19 -19
- package/dist/chunks/{tool-6ha1y7f7.js → instruction-discovery-sqwwewms.js} +10 -10
- package/dist/chunks/{tool-1dmvbadb.js → instruction-discovery-sz2jew9s.js} +15 -15
- package/dist/chunks/{tool-5avn8fxx.js → instruction-discovery-t2kwahea.js} +17 -17
- package/dist/chunks/{tool-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-a9rnddwt.js → instruction-discovery-tc59hw5p.js} +43 -43
- package/dist/chunks/{tool-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{tool-brbv3dp1.js → instruction-discovery-th50z4z5.js} +35 -35
- package/dist/chunks/{tool-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-1msf33w2.js → instruction-discovery-v0x7c1q7.js} +11 -11
- package/dist/chunks/{tool-4acqjqp7.js → instruction-discovery-v6cbqznm.js} +24 -24
- package/dist/chunks/{tool-p7emx7qr.js → instruction-discovery-v7tsp0v2.js} +11 -11
- package/dist/chunks/{tool-vbv8dfnm.js → instruction-discovery-v8ehxkt2.js} +20 -20
- package/dist/chunks/{tool-2dw8d83v.js → instruction-discovery-vcr1vhvm.js} +28 -28
- package/dist/chunks/{tool-espax8zg.js → instruction-discovery-ve85v3xb.js} +4 -4
- package/dist/chunks/{tool-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-bct739vz.js → instruction-discovery-vncycja5.js} +4 -4
- package/dist/chunks/{tool-ksz6c1e3.js → instruction-discovery-vpd81379.js} +24 -24
- package/dist/chunks/{tool-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-vzs5sf6e.js → instruction-discovery-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-84txncab.js → instruction-discovery-w1eejvng.js} +5 -5
- package/dist/chunks/{tool-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-vvaq8bb8.js → instruction-discovery-w4gsqkdq.js} +7 -7
- package/dist/chunks/{tool-f4stfc8j.js → instruction-discovery-w5t6pqft.js} +15 -15
- package/dist/chunks/{tool-psazpmmj.js → instruction-discovery-wd3x2cqz.js} +2 -2
- package/dist/chunks/{tool-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{tool-7v1rs999.js → instruction-discovery-wecyrs26.js} +23 -23
- package/dist/chunks/{tool-a3j192et.js → instruction-discovery-wtmq1pek.js} +17 -17
- package/dist/chunks/{tool-cycpek8a.js → instruction-discovery-wtx0700n.js} +8 -8
- package/dist/chunks/{tool-18eb7gxs.js → instruction-discovery-wx7vyc9r.js} +11 -11
- package/dist/chunks/{tool-znsx74x0.js → instruction-discovery-wxyynt4w.js} +1 -1
- package/dist/chunks/{tool-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-jj4f2m0r.js → instruction-discovery-x807chbq.js} +10 -10
- package/dist/chunks/{tool-wyr36rym.js → instruction-discovery-xbayrgg1.js} +28 -28
- package/dist/chunks/{tool-5xnnt85z.js → instruction-discovery-xvjcg6py.js} +31 -31
- package/dist/chunks/{tool-g5agzp2h.js → instruction-discovery-xvp1j2dc.js} +5 -5
- package/dist/chunks/{tool-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-ka42hk6n.js → instruction-discovery-y58pkr0z.js} +20 -20
- package/dist/chunks/{tool-67kbkrjb.js → instruction-discovery-y5wpm83e.js} +15 -15
- package/dist/chunks/{tool-bne83k22.js → instruction-discovery-y92eb2rg.js} +14 -14
- package/dist/chunks/{tool-2m1k0ztt.js → instruction-discovery-yf850e00.js} +19 -19
- package/dist/chunks/{tool-6t6ktgh6.js → instruction-discovery-yhk2cr6h.js} +27 -27
- package/dist/chunks/{tool-yp2x3t23.js → instruction-discovery-yp2x3t23.js} +1 -1
- package/dist/chunks/{tool-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-jjhdrc4d.js → instruction-discovery-yrs43b58.js} +32 -32
- package/dist/chunks/{tool-s4enseaf.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-bjtzbw4r.js → instruction-discovery-z07pqspn.js} +3 -3
- package/dist/chunks/{tool-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-29x78va6.js → instruction-discovery-z63w68vq.js} +6 -6
- package/dist/chunks/{tool-1r5rhfpg.js → instruction-discovery-zeetkqr7.js} +19 -19
- package/dist/chunks/{tool-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-ss1fsgxr.js → instruction-discovery-zp256g40.js} +18 -18
- package/dist/chunks/{tool-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-n0tq777j.js → instruction-discovery-zrq8kphx.js} +8 -8
- package/dist/chunks/{tool-rmm45jmv.js → instruction-discovery-zw4pk1bw.js} +5 -5
- package/dist/chunks/{tool-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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- 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 +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- 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 +66 -66
- 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/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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +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 +70 -70
- package/dist/file-access.js +102 -102
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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 +361 -361
- 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 +86 -86
- 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 +358 -358
- 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 +106 -106
- package/dist/mcp/instructions.js +126 -126
- 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 +99 -99
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +94 -94
- 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 +77 -77
- 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 +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +119 -119
- 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 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +3 -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 +172 -172
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +7 -7
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +125 -125
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- 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 +14 -14
- 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 +3 -3
- 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 +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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/tool-b4awgack.js +0 -507
- package/dist/chunks/tool-cmck6x1v.js +0 -26
- package/dist/chunks/tool-qjxeh2jn.js +0 -252
- package/dist/chunks/tool-vsdyktar.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → instruction-discovery-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Service77
|
|
7
|
+
} from "./instruction-discovery-xvjcg6py.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-skyymkrr.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-3c924577.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service77;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID15.make(from),
|
|
91
|
+
to: ID15.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-nh22j9em.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service80,
|
|
15
|
-
node84
|
|
16
|
-
} from "./tool-cxfezmj7.js";
|
|
9
|
+
Event13,
|
|
10
|
+
Service60,
|
|
11
|
+
node63
|
|
12
|
+
} from "./instruction-discovery-j0kmyrzb.js";
|
|
17
13
|
import {
|
|
18
14
|
Service78,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
15
|
+
node82
|
|
16
|
+
} from "./instruction-discovery-fxafpd8f.js";
|
|
17
|
+
import {
|
|
18
|
+
Service75,
|
|
19
|
+
node78
|
|
20
|
+
} from "./instruction-discovery-q1k436gh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID12,
|
|
23
|
+
Service66,
|
|
24
|
+
node69
|
|
25
|
+
} from "./instruction-discovery-82m6vwrv.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID6,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service59,
|
|
34
|
+
node62
|
|
35
|
+
} from "./instruction-discovery-3be37bkr.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: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service30,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
56
|
layer: () => layer14,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node33
|
|
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 NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options3 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var layer14 = (options) => Layer.effect(
|
|
103
|
-
const location = yield*
|
|
104
|
-
const environment = yield*
|
|
102
|
+
var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
103
|
+
const location = yield* Service78;
|
|
104
|
+
const environment = yield* Service75;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
106
|
+
const forms = yield* Service66;
|
|
107
|
+
const integration = yield* Service59;
|
|
108
|
+
const credentials = yield* Service60;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID6.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service60, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError3({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service60, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID12.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
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(
|
|
260
|
+
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(Service75, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer14 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service30.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured3(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
519
|
+
service: Service30,
|
|
520
520
|
layer: layer14(options),
|
|
521
|
-
deps: [
|
|
521
|
+
deps: [node82, node78, node87, node69, node62, node63]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node33 = configured3();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options3, layer14, configured3, node33, exports_mcp4 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info13
|
|
7
|
+
} from "./instruction-discovery-cavr175a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info12
|
|
10
|
+
} from "./instruction-discovery-g8jasmdt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info7
|
|
13
|
+
} from "./instruction-discovery-qr8csav2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info10
|
|
16
|
+
} from "./instruction-discovery-edrmdtr5.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info6
|
|
19
|
+
} from "./instruction-discovery-pt3jfr41.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instruction-discovery-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info11
|
|
25
|
+
} from "./instruction-discovery-nqnxh7mc.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info9
|
|
28
|
+
} from "./instruction-discovery-cr07tj7n.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instruction-discovery-0jwsre1p.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info8
|
|
34
|
+
} from "./instruction-discovery-gg7pg1rj.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./instruction-discovery-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info14
|
|
40
|
+
} from "./instruction-discovery-vncycja5.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info5,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info5 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info14 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info10)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info14).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info14 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info12), plan: Schema.optional(Info12) }), [Schema.Record(Schema.String, Info12)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info12),
|
|
119
|
+
build: Schema.optional(Info12),
|
|
120
|
+
general: Schema.optional(Info12),
|
|
121
|
+
explore: Schema.optional(Info12),
|
|
122
|
+
title: Schema.optional(Info12),
|
|
123
|
+
summary: Schema.optional(Info12),
|
|
124
|
+
compaction: Schema.optional(Info12)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info12)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info8)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info9, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info6).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info11).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info13),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info7).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info14 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info5, exports_config2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service50,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service50 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service50, exports_runner };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service36,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node39
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service36 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service36.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node39 = makeLocationNode({
|
|
137
|
+
service: Service36,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service36, node39, exports_tool_output2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-v0x7c1q7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-nh22j9em.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event13
|
|
10
|
+
} from "./instruction-discovery-j0kmyrzb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-3be37bkr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID5
|
|
17
|
+
} from "./instruction-discovery-j5xe4kp4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID4,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-e90sekjx.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID5.make("digitalocean");
|
|
31
|
+
var integrationID = ID6.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID4.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./instruction-discovery-fxafpd8f.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-7yhr0je5.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin17,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin17 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service78;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin17, exports_hg };
|