@opencode/core 0.0.0-dev-21340 → 0.0.0-dev-21351
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{form-mmjb59xw.js → command-05095fa7.js} +12 -12
- package/dist/chunks/{form-43833zpv.js → command-09kr4fhv.js} +7 -7
- package/dist/chunks/{form-zswrtyyf.js → command-0c8wkbnb.js} +15 -15
- package/dist/chunks/{form-5wr9n5bc.js → command-0cz7970t.js} +18 -18
- package/dist/chunks/{form-rq76fwbg.js → command-0grvjp2e.js} +19 -19
- package/dist/chunks/{form-ngv1hrws.js → command-0n4gbw3s.js} +11 -11
- package/dist/chunks/{form-15nepkqg.js → command-0t9wd588.js} +8 -8
- package/dist/chunks/{form-mc39ckc0.js → command-0vb0cg2n.js} +16 -16
- package/dist/chunks/{form-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-sagdypxn.js → command-0x8wbs59.js} +11 -11
- package/dist/chunks/{form-1krmxpby.js → command-0xg0skbm.js} +4 -4
- package/dist/chunks/{form-dtkj6t2x.js → command-0xgt1t5f.js} +33 -33
- package/dist/chunks/{form-qc22nsxb.js → command-0yfyxnbj.js} +15 -15
- package/dist/chunks/{form-whms72wd.js → command-0z7w8q86.js} +43 -43
- package/dist/chunks/{form-dbt3qtfn.js → command-1387w9ct.js} +24 -24
- package/dist/chunks/{form-rvqf1hhw.js → command-15zv62fh.js} +22 -22
- package/dist/chunks/{form-y7nndgyc.js → command-1jdt266a.js} +9 -9
- package/dist/chunks/{form-e7a0tnjd.js → command-1ks1qykk.js} +10 -10
- package/dist/chunks/{form-2tzz6wa4.js → command-1xcqb8y9.js} +52 -52
- package/dist/chunks/{form-t0pyhqcw.js → command-1yd7h3h8.js} +11 -11
- package/dist/chunks/{form-8xh436hj.js → command-220na3xh.js} +4 -4
- package/dist/chunks/{form-hhm4rk5s.js → command-251hxpd6.js} +2 -2
- package/dist/chunks/{form-qwert80r.js → command-27mk30s9.js} +11 -11
- package/dist/chunks/{form-vzs67vbf.js → command-27qsxf2d.js} +86 -86
- package/dist/chunks/{form-adnpvf0n.js → command-2a4xmc3t.js} +75 -75
- package/dist/chunks/{form-a4f079eb.js → command-2a88t129.js} +26 -26
- package/dist/chunks/{form-2wzyh2nh.js → command-2gcctbpp.js} +20 -20
- package/dist/chunks/{form-7refdtwv.js → command-2gdhf4ep.js} +2 -2
- package/dist/chunks/{form-tprmfzaq.js → command-2ht9mx02.js} +15 -15
- package/dist/chunks/{form-wegah70x.js → command-2qmdv9pq.js} +44 -44
- package/dist/chunks/{form-rense280.js → command-2xgs0rjp.js} +15 -15
- package/dist/chunks/{form-he8gezxy.js → command-37eaq4pg.js} +20 -20
- package/dist/chunks/{form-fh8k3p5m.js → command-385fh67q.js} +15 -15
- package/dist/chunks/{form-q0n5p59x.js → command-3gaxmgjd.js} +9 -9
- package/dist/chunks/{form-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-99x6s37t.js → command-3k0bgyc5.js} +32 -32
- package/dist/chunks/{form-yq6kw6eg.js → command-3r1d6b2h.js} +32 -32
- package/dist/chunks/{form-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-vjawge7b.js → command-3yqrkyy4.js} +23 -23
- package/dist/chunks/{form-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-3xzhnrg0.js → command-48jj4jxg.js} +23 -23
- package/dist/chunks/command-4v7qdvcn.js +18 -0
- package/dist/chunks/{form-92swnv4m.js → command-4w5f3qm5.js} +8 -8
- package/dist/chunks/{form-ym4b2kva.js → command-4xfaac4p.js} +13 -13
- package/dist/chunks/{form-1tcnrg0s.js → command-4zhk6gck.js} +19 -19
- package/dist/chunks/{form-bgg5jk8p.js → command-53216tw9.js} +4 -4
- package/dist/chunks/{form-tg63fvkh.js → command-56y3az4a.js} +16 -16
- package/dist/chunks/{form-65qcyyma.js → command-5c7wq0sw.js} +7 -7
- package/dist/chunks/{form-rpqs4zrr.js → command-5fp6vwb6.js} +15 -15
- package/dist/chunks/{form-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-hfnb13cj.js → command-5mh3tc9m.js} +1 -1
- package/dist/chunks/{form-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-j73xx5v2.js → command-5s6h66r9.js} +12 -12
- package/dist/chunks/{form-2jybnyep.js → command-5xnwhm0z.js} +16 -16
- package/dist/chunks/{form-2aqgybcp.js → command-604rtc6f.js} +29 -29
- package/dist/chunks/{form-0bmnjpfs.js → command-622w9434.js} +6 -6
- package/dist/chunks/{form-67k81bmf.js → command-67kdra4q.js} +3 -3
- package/dist/chunks/{form-6827pfxn.js → command-6827pfxn.js} +1 -1
- package/dist/chunks/{form-8hpy5qx6.js → command-6c31gg04.js} +32 -32
- package/dist/chunks/{form-n8p3yyy1.js → command-6jtaxcks.js} +13 -13
- package/dist/chunks/{form-6pc27hjz.js → command-6pc27hjz.js} +2 -2
- package/dist/chunks/{form-jqd7rvfh.js → command-6qjch3xb.js} +3 -3
- package/dist/chunks/{form-eeeprd1m.js → command-6rm67adk.js} +13 -13
- package/dist/chunks/{form-54bvb9cj.js → command-6tphwxvp.js} +27 -27
- package/dist/chunks/{form-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/command-6ydndmq1.js +257 -0
- package/dist/chunks/{form-775gj3j1.js → command-775gj3j1.js} +2 -2
- package/dist/chunks/{form-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-5xhehs7n.js → command-7fydwwh4.js} +10 -10
- package/dist/chunks/{form-kbs0fn1w.js → command-7hw33090.js} +25 -25
- package/dist/chunks/{form-wdfe9bpp.js → command-7wkzvct8.js} +5 -5
- package/dist/chunks/{form-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{form-0p4mvthy.js → command-84ze4qhs.js} +15 -15
- package/dist/chunks/{form-pfq1ksym.js → command-8dff8bqa.js} +5 -5
- package/dist/chunks/{form-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-8mywswrd.js → command-8mywswrd.js} +1 -1
- package/dist/chunks/{form-0s7awbhn.js → command-8rzhxpaa.js} +3 -3
- package/dist/chunks/{form-tvq4fmk2.js → command-93fzsdqz.js} +9 -9
- package/dist/chunks/{form-je3wc35j.js → command-94hhby22.js} +14 -14
- package/dist/chunks/{form-ct5beqmq.js → command-98mtcx2z.js} +10 -10
- package/dist/chunks/{form-mddns072.js → command-9fyafw4g.js} +14 -14
- package/dist/chunks/{form-j2ahjm38.js → command-9mfdrtvq.js} +9 -9
- package/dist/chunks/{form-am8khs7c.js → command-9rwhmys3.js} +37 -37
- package/dist/chunks/{form-tpr2dqt6.js → command-9tpen41z.js} +35 -35
- package/dist/chunks/{form-a20pjse5.js → command-a20pjse5.js} +3 -3
- package/dist/chunks/{form-361k30qc.js → command-a8hjw2pw.js} +30 -30
- package/dist/chunks/{form-jdthh91w.js → command-an728vdg.js} +21 -21
- package/dist/chunks/{form-kwqx9ezn.js → command-an9279zr.js} +18 -18
- package/dist/chunks/{form-zpq5tdxv.js → command-aphfpn53.js} +26 -26
- package/dist/chunks/{form-78y8a3rg.js → command-asa9eaah.js} +12 -12
- package/dist/chunks/{form-tv2qmm1m.js → command-avssq4vf.js} +19 -19
- package/dist/chunks/{form-h9eccewq.js → command-b32ay7gd.js} +8 -8
- package/dist/chunks/{form-b89refpb.js → command-baqyxak2.js} +4 -4
- package/dist/chunks/{form-360h9knm.js → command-bb572888.js} +13 -13
- package/dist/chunks/{form-j9dnpnxm.js → command-bb705aa1.js} +67 -67
- package/dist/chunks/{form-2ypbq784.js → command-bg0682zv.js} +5 -5
- package/dist/chunks/{form-61s75xk5.js → command-bgvrfqm6.js} +8 -8
- package/dist/chunks/{form-bjx1sjef.js → command-bjx1sjef.js} +2 -2
- package/dist/chunks/{form-7dx0mp5a.js → command-bmgh3q8m.js} +4 -4
- package/dist/chunks/{form-962zhnx1.js → command-brds95yc.js} +32 -32
- package/dist/chunks/{form-g6f94y0n.js → command-bsksjwvt.js} +17 -17
- package/dist/chunks/{form-d2edjj1v.js → command-bx3v92m9.js} +14 -14
- package/dist/chunks/{form-02sakfs1.js → command-bxcc14q9.js} +9 -9
- package/dist/chunks/{form-1ep4rre3.js → command-bzeyqsqd.js} +4 -4
- package/dist/chunks/{form-ztter523.js → command-c198g0h1.js} +3 -3
- package/dist/chunks/{form-c1fqxshp.js → command-c1fqxshp.js} +3 -3
- package/dist/chunks/{form-a8nkje97.js → command-ce60aw2j.js} +11 -11
- package/dist/chunks/{form-2sejkfem.js → command-cpneeje0.js} +9 -9
- package/dist/chunks/{form-5e1pzs32.js → command-d43tgzm4.js} +9 -9
- package/dist/chunks/{form-wz9398tt.js → command-d7ndwx9z.js} +46 -46
- package/dist/chunks/{form-55xzanda.js → command-da69ngs0.js} +21 -21
- package/dist/chunks/{form-svvda557.js → command-db5a3xpd.js} +10 -10
- package/dist/chunks/{form-yy1b5byj.js → command-djc2hdbm.js} +8 -8
- package/dist/chunks/{form-6yb97afg.js → command-dpsmw30v.js} +6 -6
- package/dist/chunks/{form-drwq78ky.js → command-drwq78ky.js} +1 -1
- package/dist/chunks/{form-4fw7esra.js → command-dsmb6j4j.js} +4 -4
- package/dist/chunks/{form-91js1pam.js → command-e234ef09.js} +18 -18
- package/dist/chunks/{form-vep9yay1.js → command-e7gxy7fd.js} +4 -4
- package/dist/chunks/{form-e80seqcp.js → command-e80seqcp.js} +1 -1
- package/dist/chunks/{form-4eh83hae.js → command-ed65y2xt.js} +23 -23
- package/dist/chunks/{form-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-zerhytxa.js → command-ef4pq4rq.js} +13 -13
- package/dist/chunks/{form-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-v70j0478.js → command-exg57wy8.js} +15 -15
- package/dist/chunks/{form-cf8mxv8s.js → command-f4b1a4m9.js} +25 -25
- package/dist/chunks/{form-4n9d0tgx.js → command-f4j6r664.js} +41 -41
- package/dist/chunks/{form-me4kkzkr.js → command-fb1vsn26.js} +4 -4
- package/dist/chunks/{form-fcy631f0.js → command-fcy631f0.js} +1 -1
- package/dist/chunks/{form-h71w788e.js → command-fdms3n6w.js} +9 -9
- package/dist/chunks/{form-nzndyyrp.js → command-fgvq5ykp.js} +42 -42
- package/dist/chunks/{form-g454qmhn.js → command-fhnqh9t2.js} +36 -36
- package/dist/chunks/{form-fn9t717r.js → command-fn9t717r.js} +3 -3
- package/dist/chunks/{form-w1xdw7re.js → command-fvgp290g.js} +8 -8
- package/dist/chunks/{form-wgefzgwt.js → command-g2eyzg35.js} +18 -18
- package/dist/chunks/{form-n9z01exy.js → command-g3kxpvs4.js} +16 -16
- package/dist/chunks/{form-g8j30dqw.js → command-g54sgenx.js} +17 -17
- package/dist/chunks/{form-3n1993ym.js → command-g5wn2q2s.js} +11 -11
- package/dist/chunks/{form-tekdv28b.js → command-g73w5qej.js} +16 -16
- package/dist/chunks/{form-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-6xwkk55c.js → command-gd86bjwa.js} +9 -9
- package/dist/chunks/{form-dk6zbvkj.js → command-gj65pq0y.js} +2 -2
- package/dist/chunks/{form-ckh33p24.js → command-gt2z1exm.js} +24 -24
- package/dist/chunks/{form-1hqqab4s.js → command-gzwfafjp.js} +11 -11
- package/dist/chunks/{form-a3c7ahw6.js → command-h6310vsd.js} +4 -4
- package/dist/chunks/{form-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-kcvspnct.js → command-haej02k4.js} +10 -10
- package/dist/chunks/{form-px1ej7j2.js → command-hey9g07n.js} +23 -23
- package/dist/chunks/{form-bqsaj0qs.js → command-hfdh5dc7.js} +16 -16
- package/dist/chunks/{form-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-h48rpa6y.js → command-hhhc48xm.js} +11 -11
- package/dist/chunks/{form-fxaymqdw.js → command-hq3c8me3.js} +4 -4
- package/dist/chunks/{form-trya7axm.js → command-hsjvmpjh.js} +8 -8
- package/dist/chunks/{form-zqjsn67b.js → command-hsn4nmqy.js} +7 -7
- package/dist/chunks/{form-2nragry7.js → command-hxz3bp73.js} +15 -15
- package/dist/chunks/{form-cr0bat6b.js → command-j03zn41z.js} +16 -16
- package/dist/chunks/{form-ymx7xvyq.js → command-j1ps5swj.js} +23 -23
- package/dist/chunks/{form-ardm1wrc.js → command-j36hwdkw.js} +47 -47
- package/dist/chunks/{form-55m81wnp.js → command-j6ktnsbj.js} +12 -12
- package/dist/chunks/{form-s90dqpw7.js → command-jb04bhbq.js} +13 -13
- package/dist/chunks/{form-rc9vttjd.js → command-jkndgnpn.js} +17 -17
- package/dist/chunks/{form-80zvrhj7.js → command-jq52wte9.js} +26 -26
- package/dist/chunks/{form-ebkydghs.js → command-k253d0v5.js} +6 -6
- package/dist/chunks/{form-zcrspsvn.js → command-k76fn4kw.js} +4 -4
- package/dist/chunks/{form-1n047p2a.js → command-kb1k1n05.js} +18 -18
- package/dist/chunks/{form-jhyjs82x.js → command-kg4apzy2.js} +26 -26
- package/dist/chunks/{form-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-r4gn9rws.js → command-m7etpe19.js} +37 -37
- package/dist/chunks/{form-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → command-maspj1v3.js} +1 -1
- package/dist/chunks/{form-27jfxer4.js → command-mc8h1syp.js} +3 -3
- package/dist/chunks/{form-tp68cw24.js → command-mh22khwx.js} +18 -18
- package/dist/chunks/{form-50aa1a66.js → command-mn47nv5k.js} +36 -36
- package/dist/chunks/{form-7zzdk6j1.js → command-mnrpn436.js} +320 -320
- package/dist/chunks/{form-rp9znzbk.js → command-mswa6128.js} +1 -1
- package/dist/chunks/{form-jm9pv4jw.js → command-mw6y76xd.js} +11 -11
- package/dist/chunks/{form-xkhfjrgz.js → command-my4zabxr.js} +3 -3
- package/dist/chunks/{form-6n9djq0h.js → command-n07afgf2.js} +11 -11
- package/dist/chunks/{form-bvdpv0z0.js → command-n135qwgn.js} +28 -28
- package/dist/chunks/{form-n2fddagm.js → command-n21ct7b2.js} +10 -10
- package/dist/chunks/{form-0qaxnjep.js → command-n7t3y450.js} +11 -11
- package/dist/chunks/{form-qcws3hz9.js → command-n88bvnwb.js} +10 -10
- package/dist/chunks/{form-wkx7yw3s.js → command-naw4xxfq.js} +24 -24
- package/dist/chunks/{form-jcj17ehp.js → command-nbpkwy47.js} +14 -14
- package/dist/chunks/{form-jevsscxn.js → command-njn2n5jy.js} +9 -9
- package/dist/chunks/{form-tq73j5ey.js → command-p26dmfsa.js} +5 -5
- package/dist/chunks/{form-cmwkp3r5.js → command-p37cw4rj.js} +8 -8
- package/dist/chunks/{form-xxxym934.js → command-pct1c8gm.js} +4 -4
- package/dist/chunks/{form-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{form-pkj8hqbd.js → command-pp79t3cy.js} +9 -9
- package/dist/chunks/{form-xed4prex.js → command-pp9jn5kx.js} +20 -20
- package/dist/chunks/{form-rt5r8wym.js → command-pvzb71g5.js} +33 -33
- package/dist/chunks/{form-482mympf.js → command-qggje9jn.js} +32 -32
- package/dist/chunks/{form-fcrkznn8.js → command-qgn6gcr1.js} +5 -5
- package/dist/chunks/{form-y6qsrq0m.js → command-qjk7pmd1.js} +5 -5
- package/dist/chunks/{form-jfqtm2ew.js → command-qm0v3jhh.js} +7 -7
- package/dist/chunks/{form-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-vawf6b6n.js → command-qr7b2z7s.js} +4 -4
- package/dist/chunks/{form-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{form-54ma36ye.js → command-r94pvvab.js} +4 -4
- package/dist/chunks/{form-xx4eqekj.js → command-rdtz8wvy.js} +36 -36
- package/dist/chunks/{form-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-rert0e01.js → command-rert0e01.js} +2 -2
- package/dist/chunks/{form-16ptnzp4.js → command-rhyqmwwc.js} +29 -29
- package/dist/chunks/{form-rj3eygr5.js → command-rj3eygr5.js} +2 -2
- package/dist/chunks/{form-h0et906m.js → command-rmf492z6.js} +36 -36
- package/dist/chunks/{form-pk9fe0rg.js → command-rmh16r2t.js} +11 -11
- package/dist/chunks/{form-5g85rz3q.js → command-rtjf12cr.js} +24 -24
- package/dist/chunks/{form-b0frvc6a.js → command-rwpvq48k.js} +26 -26
- package/dist/chunks/{form-cqfbx4h9.js → command-rx89xx9n.js} +3 -3
- package/dist/chunks/{form-nb3eeafx.js → command-s10de7sg.js} +46 -46
- package/dist/chunks/{form-ykbgc1mn.js → command-s4nj2b0b.js} +8 -8
- package/dist/chunks/{form-0gdmqesm.js → command-s8d7rejh.js} +4 -4
- package/dist/chunks/{form-sa8ekw3f.js → command-sa8ekw3f.js} +2 -2
- package/dist/chunks/{form-aza9mb39.js → command-sjq0w1dy.js} +14 -14
- package/dist/chunks/{form-syv4x271.js → command-syv4x271.js} +1 -1
- package/dist/chunks/{form-p4g7pjpc.js → command-sz18dr9d.js} +5 -5
- package/dist/chunks/{form-nvbqagkz.js → command-t1nb18tz.js} +30 -30
- package/dist/chunks/{form-jbr6yd38.js → command-t62r8r49.js} +14 -14
- package/dist/chunks/{form-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{form-rsrjg9aq.js → command-tjdqweme.js} +175 -175
- package/dist/chunks/{form-9sjyw1m6.js → command-tkq9v61v.js} +7 -7
- package/dist/chunks/{form-tm0kqsz3.js → command-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-wptgs5cr.js → command-tw95hwns.js} +50 -50
- package/dist/chunks/{form-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{form-n68wnkf7.js → command-v0t8kgzm.js} +20 -20
- package/dist/chunks/{form-v13b12ef.js → command-v13b12ef.js} +2 -2
- package/dist/chunks/{form-0javqkgf.js → command-v210v162.js} +9 -9
- package/dist/chunks/{form-hxpm8s3f.js → command-v2ns1dvt.js} +6 -6
- package/dist/chunks/{form-man6r55w.js → command-v2xqde73.js} +11 -11
- package/dist/chunks/{form-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-pbtbray8.js → command-v9tzeyfp.js} +20 -20
- package/dist/chunks/{form-kzbxs04q.js → command-vb39zxh1.js} +20 -20
- package/dist/chunks/{form-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{form-0bkg5nam.js → command-vgye044z.js} +34 -34
- package/dist/chunks/{form-frnhj82z.js → command-vjtq7ejx.js} +11 -11
- package/dist/chunks/{form-g2brvksk.js → command-vjtswx8y.js} +27 -27
- package/dist/chunks/{form-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-dhb2hta4.js → command-w1ba7bfx.js} +5 -5
- package/dist/chunks/{form-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-bbk4sw4d.js → command-w7sew22p.js} +17 -17
- package/dist/chunks/{form-f3rpkqey.js → command-wa1x5gqd.js} +29 -29
- package/dist/chunks/{form-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{form-ez4eysx7.js → command-wktdpkdp.js} +25 -25
- package/dist/chunks/{form-pww2q2ts.js → command-wn1z5f4t.js} +1 -1
- package/dist/chunks/{form-s7vrpya1.js → command-wzmp8b6n.js} +5 -5
- package/dist/chunks/{form-b2zs7akg.js → command-x2h8bnd2.js} +36 -36
- package/dist/chunks/{form-4krksnp0.js → command-x3568k2f.js} +24 -24
- package/dist/chunks/{form-1v8j23j1.js → command-x4t6fkjq.js} +43 -43
- package/dist/chunks/{form-addxnjmp.js → command-x661k3y3.js} +4 -4
- package/dist/chunks/{form-zkdxs0f7.js → command-xfyaaxy5.js} +5 -5
- package/dist/chunks/{form-bvse6ds2.js → command-xq96cc1n.js} +19 -19
- package/dist/chunks/{form-egwezsn2.js → command-xw5dbgmb.js} +35 -35
- package/dist/chunks/{form-6yz0wx8n.js → command-y0jhh126.js} +5 -5
- package/dist/chunks/{form-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-y71avatq.js → command-y71avatq.js} +1 -1
- package/dist/chunks/{form-r2zk8jj2.js → command-ye5e9ygh.js} +11 -11
- package/dist/chunks/{form-4mwpykj0.js → command-yf4jcbx9.js} +6 -6
- package/dist/chunks/{form-qne3fa44.js → command-ygdna4kr.js} +5 -5
- package/dist/chunks/{form-4hfeq7yc.js → command-yj7k2rcj.js} +3 -3
- package/dist/chunks/{form-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-z18fegx4.js → command-z18fegx4.js} +1 -1
- package/dist/chunks/{form-abnya1q3.js → command-z1q23cxf.js} +14 -14
- package/dist/chunks/{form-6wg7wrda.js → command-z2qvtray.js} +4 -4
- package/dist/chunks/{form-aat25gmm.js → command-z71zmefb.js} +21 -21
- package/dist/chunks/{form-0r36wfjw.js → command-z8bsayw1.js} +21 -21
- package/dist/chunks/{form-kgash78d.js → command-z8gf1a03.js} +4 -4
- package/dist/chunks/{form-fbvxegff.js → command-zj1ec9ty.js} +3 -3
- package/dist/chunks/{form-7f8j414w.js → command-zpavnpw0.js} +21 -21
- package/dist/chunks/{form-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-kbymfr7p.js → command-zr2ps911.js} +11 -11
- package/dist/chunks/{form-54q14agg.js → command-zrqhmf6p.js} +15 -15
- package/dist/chunks/{form-t4t28t75.js → command-zrw8628a.js} +18 -18
- package/dist/chunks/{form-kmgdj4b7.js → command-zs18rbfx.js} +5 -5
- package/dist/chunks/{form-0jqywv5j.js → command-zvsvprng.js} +11 -11
- package/dist/chunks/{form-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-cd4peczh.js → command-zydxjw4b.js} +30 -30
- 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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +114 -114
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +96 -96
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/form-9sh4wc5j.js +0 -18
- package/dist/chunks/form-ymafgmrd.js +0 -257
- /package/dist/chunks/{form-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → command-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → command-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./command-j6ktnsbj.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service82,
|
|
13
|
+
node86
|
|
14
|
+
} from "./command-5xnwhm0z.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service56,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node58,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service56 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service82;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID3.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service56.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node58 = makeLocationNode({
|
|
153
|
+
service: Service56,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node88, Global.node, node86]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer3 = Layer.succeed(
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service56, Service56.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service47, Service47.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error4({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID3, Error4, Service56, node58, noopLayer3, exports_snapshot2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node67
|
|
5
|
+
} from "./command-zr2ps911.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node76
|
|
9
|
+
} from "./command-4w5f3qm5.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-fgvq5ykp.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-mw6y76xd.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error3
|
|
18
|
+
} from "./command-7hw33090.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get4
|
|
21
|
+
} from "./command-r94pvvab.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service26,
|
|
24
|
+
node30
|
|
25
|
+
} from "./command-ce60aw2j.js";
|
|
26
26
|
import {
|
|
27
27
|
make14
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-drwq78ky.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-2gdhf4ep.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service23,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer12,
|
|
44
|
+
node: () => node26,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -160,11 +160,11 @@ var boundImages2 = (messages) => {
|
|
|
160
160
|
});
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
class
|
|
163
|
+
class Service23 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
164
164
|
}
|
|
165
|
-
var
|
|
166
|
-
const hooks = yield*
|
|
167
|
-
const transport = yield*
|
|
165
|
+
var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
166
|
+
const hooks = yield* Service72;
|
|
167
|
+
const transport = yield* Service26;
|
|
168
168
|
const app = yield* Metadata2;
|
|
169
169
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
170
170
|
const session = input.session;
|
|
@@ -172,7 +172,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
172
172
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
173
173
|
const tools = input.tools ?? {
|
|
174
174
|
definitions: [],
|
|
175
|
-
execute: () => new
|
|
175
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
176
176
|
};
|
|
177
177
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
178
178
|
const shaped = yield* shape({
|
|
@@ -190,7 +190,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
190
190
|
const entries = Object.entries(shaped.options);
|
|
191
191
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
192
192
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
193
|
-
const affinity =
|
|
193
|
+
const affinity = get4(session);
|
|
194
194
|
const base = LLM.request({
|
|
195
195
|
model: model.model,
|
|
196
196
|
http: {
|
|
@@ -266,17 +266,17 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
266
266
|
};
|
|
267
267
|
});
|
|
268
268
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
269
|
-
return
|
|
269
|
+
return Service23.of({
|
|
270
270
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
271
271
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
272
272
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
273
273
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
274
274
|
});
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
278
|
-
layer:
|
|
279
|
-
deps: [
|
|
276
|
+
var node26 = makeLocationNode({
|
|
277
|
+
service: Service23,
|
|
278
|
+
layer: layer12,
|
|
279
|
+
deps: [node76, node30, node67]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
282
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service23, layer12, node26, exports_model_request };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-bmgh3q8m.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service66,
|
|
7
|
+
node70
|
|
8
|
+
} from "./command-n21ct7b2.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
|
+
ID: () => ID5,
|
|
22
22
|
Input: () => Input15,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service59,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node62
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event8 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input15 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID5,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service59 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service85;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service66;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service59.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node62 = makeLocationNode({
|
|
188
|
+
service: Service59,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node89,
|
|
190
|
+
deps: [node89, node70]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID5, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service59, node62, exports_websearch3, Event8 };
|
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-bmgh3q8m.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-rdw6cm16.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event6,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options8,
|
|
27
|
+
Service: () => Service46,
|
|
28
|
+
configured: () => configured7,
|
|
29
|
+
layer: () => layer20,
|
|
30
|
+
node: () => node49
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,17 +39,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event6 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options8 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service46 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
52
|
+
var layer20 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service85;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
@@ -69,9 +69,9 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make21({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service46.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured7(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
106
|
+
service: Service46,
|
|
107
|
+
layer: layer20(options),
|
|
108
108
|
deps: [node89]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node49 = configured7();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event6, Options8, Service46, layer20, configured7, node49, exports_instruction_discovery };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service29,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service29 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service29.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service29, awaitActivation2, exports_service };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service72,
|
|
10
|
+
node: () => node76
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service72 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service72.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service72, node76, exports_hooks };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service73,
|
|
3
|
+
node77
|
|
4
|
+
} from "./command-x2h8bnd2.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-my4zabxr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service52,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node54,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service52 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service73;
|
|
59
|
+
return Service52.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node54 = makeLocationNode({ service: Service52, layer, deps: [node77] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service52, resolved2, node54, exports_model };
|