@opencode/core 0.0.0-dev-425 → 0.0.0-dev-431
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +242 -242
- package/dist/bus.js +80 -80
- package/dist/chunks/{provider-4sprtgdv.js → shell-00n2stnc.js} +12 -12
- package/dist/chunks/{provider-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{provider-qkrdbb78.js → shell-03qx06a8.js} +18 -18
- package/dist/chunks/{provider-k98yejja.js → shell-0ahs07zn.js} +7 -7
- package/dist/chunks/{provider-nf1wqckr.js → shell-0d23rnfz.js} +86 -86
- package/dist/chunks/{provider-ma7ygzsk.js → shell-0fdr8kfq.js} +11 -11
- package/dist/chunks/{provider-jr9m0ztp.js → shell-0hjszs0j.js} +43 -43
- package/dist/chunks/{provider-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
- package/dist/chunks/{provider-fa7rq57z.js → shell-0mbfgmpk.js} +12 -12
- package/dist/chunks/{provider-0mtp185z.js → shell-0mtp185z.js} +2 -2
- package/dist/chunks/{provider-yceh4n4n.js → shell-0pdkte95.js} +21 -21
- package/dist/chunks/{provider-spck9dep.js → shell-0wycx49y.js} +81 -81
- package/dist/chunks/{provider-c5zvymhv.js → shell-15qtk8ma.js} +4 -4
- package/dist/chunks/{provider-vda4j8hg.js → shell-16czvpr3.js} +43 -43
- package/dist/chunks/{provider-pac3ht26.js → shell-193d5v67.js} +11 -11
- package/dist/chunks/{provider-92pecssn.js → shell-19sdd6re.js} +11 -11
- package/dist/chunks/{provider-pqrezmp9.js → shell-1abavcy4.js} +3 -3
- package/dist/chunks/{provider-cjqd6aye.js → shell-1aeagxc9.js} +44 -44
- package/dist/chunks/{provider-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
- package/dist/chunks/{provider-gybwvmz6.js → shell-1ecnrbv4.js} +6 -6
- package/dist/chunks/{provider-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{provider-ymmand0v.js → shell-1mp7wfbt.js} +11 -11
- package/dist/chunks/{provider-ksh0y4ds.js → shell-1r95fj2c.js} +15 -15
- package/dist/chunks/{provider-6pwzz7pj.js → shell-1sa8tzgh.js} +3 -3
- package/dist/chunks/{provider-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{provider-546y6032.js → shell-23aqdb85.js} +45 -45
- package/dist/chunks/{provider-x1b9htc3.js → shell-23tpq7wy.js} +10 -10
- package/dist/chunks/{provider-8b3vzgkx.js → shell-25h84942.js} +4 -4
- package/dist/chunks/{provider-0q6rq0wx.js → shell-27jdjj3w.js} +26 -23
- package/dist/chunks/{provider-s1qnk4n1.js → shell-28jz28yf.js} +9 -9
- package/dist/chunks/{provider-rnzbxsx7.js → shell-29tc179s.js} +59 -59
- package/dist/chunks/{provider-stbxy1ts.js → shell-2a9e1g32.js} +14 -14
- package/dist/chunks/{provider-52pksey1.js → shell-2jhx4df4.js} +23 -23
- package/dist/chunks/{provider-2p60zmnr.js → shell-2p60zmnr.js} +2 -2
- package/dist/chunks/{provider-n1v16chy.js → shell-2s9xahkc.js} +5 -5
- package/dist/chunks/{provider-174fpaxw.js → shell-2v0ht2yf.js} +11 -11
- package/dist/chunks/{provider-9397xyzj.js → shell-2x3j5zyt.js} +17 -17
- package/dist/chunks/{provider-0cv8g5av.js → shell-34f0rf5s.js} +24 -24
- package/dist/chunks/{provider-90ct6wq4.js → shell-38aws4xb.js} +4 -4
- package/dist/chunks/{provider-wg1n8gdk.js → shell-3gkcky3x.js} +4 -4
- package/dist/chunks/{provider-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-y021prdf.js → shell-3jq89af5.js} +5 -5
- package/dist/chunks/{provider-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{provider-a02qxqvd.js → shell-3qqjmfxr.js} +344 -344
- package/dist/chunks/{provider-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
- package/dist/chunks/{provider-v5m218qy.js → shell-44ekhfcb.js} +21 -19
- package/dist/chunks/{provider-44pmzq9c.js → shell-44pmzq9c.js} +2 -2
- package/dist/chunks/{provider-cf4q40qb.js → shell-45dxp6m0.js} +30 -30
- package/dist/chunks/{provider-ypjhy90d.js → shell-473whfzz.js} +12 -12
- package/dist/chunks/{provider-7fh49tq1.js → shell-47m6qkpp.js} +5 -5
- package/dist/chunks/{provider-41gppdmm.js → shell-49c4kh4a.js} +20 -20
- package/dist/chunks/{provider-d8y9a7eq.js → shell-4d9h2s3f.js} +27 -27
- package/dist/chunks/{provider-58gn9me1.js → shell-4dvwkgbn.js} +27 -27
- package/dist/chunks/{provider-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
- package/dist/chunks/{provider-wvg71hsd.js → shell-4mnzwx94.js} +11 -11
- package/dist/chunks/{provider-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
- package/dist/chunks/{provider-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{provider-c7a2sp6j.js → shell-50d2ek6j.js} +4 -4
- package/dist/chunks/{provider-phkds94a.js → shell-52wx9f6h.js} +11 -11
- package/dist/chunks/{provider-2mq8mdn8.js → shell-53e3z61x.js} +24 -24
- package/dist/chunks/{provider-dckpms46.js → shell-5j95cqby.js} +29 -29
- package/dist/chunks/{provider-mzshr8vq.js → shell-5jphrwgc.js} +32 -32
- package/dist/chunks/{provider-54mjf881.js → shell-5ks5dv4j.js} +11 -11
- package/dist/chunks/{provider-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-jkdcm5hg.js → shell-5n0rnk8e.js} +4 -4
- package/dist/chunks/{provider-y6r1yzhv.js → shell-5vpa3fvx.js} +16 -14
- package/dist/chunks/{provider-gmemj5zs.js → shell-62zd5tzk.js} +7 -7
- package/dist/chunks/{provider-8bykyf12.js → shell-669m41n7.js} +5 -5
- package/dist/chunks/{provider-kz17759e.js → shell-6a1czsq8.js} +17 -17
- package/dist/chunks/{provider-nt4skj9g.js → shell-6cwvt60a.js} +20 -20
- package/dist/chunks/{provider-b2r3mvad.js → shell-6d8d064b.js} +15 -15
- package/dist/chunks/{provider-41cdwvpp.js → shell-71gw76tb.js} +9 -9
- package/dist/chunks/{provider-snyypby0.js → shell-7322416x.js} +9 -9
- package/dist/chunks/{provider-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
- package/dist/chunks/{provider-80mg3ag8.js → shell-775hqbnd.js} +3 -3
- package/dist/chunks/{provider-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-7kr66rt3.js → shell-7kr66rt3.js} +1 -1
- package/dist/chunks/{provider-b21v141d.js → shell-7nfgxnna.js} +20 -20
- package/dist/chunks/{provider-5va8f550.js → shell-7r2je9tv.js} +9 -9
- package/dist/chunks/{provider-env1txb6.js → shell-7t0112fz.js} +33 -33
- package/dist/chunks/{provider-aedwt843.js → shell-7tpyp9vw.js} +8 -8
- package/dist/chunks/{provider-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{provider-7weczvnd.js → shell-7weczvnd.js} +1 -1
- package/dist/chunks/{provider-n0ytpvtj.js → shell-85ngfxgw.js} +20 -20
- package/dist/chunks/{provider-89287pr7.js → shell-89287pr7.js} +1 -1
- package/dist/chunks/{provider-4d2dtj2f.js → shell-8cg7mtm3.js} +4 -4
- package/dist/chunks/{provider-9m6vv5qq.js → shell-8dxzr75f.js} +6 -6
- package/dist/chunks/{provider-nyxfy9wj.js → shell-8h403a68.js} +5 -5
- package/dist/chunks/{provider-2rmbv6aj.js → shell-8kj1ydmj.js} +16 -16
- package/dist/chunks/{provider-t4pmh5wj.js → shell-8smpb43d.js} +9 -9
- package/dist/chunks/{provider-5t9swdnx.js → shell-8t99kr38.js} +4 -4
- package/dist/chunks/{provider-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{provider-3n8k58ev.js → shell-8xa2vke9.js} +10 -10
- package/dist/chunks/{provider-90zstvax.js → shell-90zstvax.js} +1 -1
- package/dist/chunks/{provider-94s5f2xb.js → shell-94s5f2xb.js} +1 -1
- package/dist/chunks/{provider-mxske2t2.js → shell-96zc22sb.js} +11 -11
- package/dist/chunks/{provider-zscq35gf.js → shell-97vmwqgx.js} +17 -17
- package/dist/chunks/{provider-tckbvbtm.js → shell-9p09wbjf.js} +20 -20
- package/dist/chunks/{provider-rp7y7c6h.js → shell-9z47e9rq.js} +27 -27
- package/dist/chunks/{provider-55fyebza.js → shell-a09rhta5.js} +18 -18
- package/dist/chunks/{provider-624434jz.js → shell-a5amgwqt.js} +4 -4
- package/dist/chunks/{provider-mrpnjyvf.js → shell-a5fx33f2.js} +2 -2
- package/dist/chunks/shell-a610t88q.js +18 -0
- package/dist/chunks/{provider-s10yds1m.js → shell-a91jf8s9.js} +11 -9
- package/dist/chunks/{provider-cee6vc86.js → shell-a9sg7ebt.js} +17 -17
- package/dist/chunks/{provider-h274fqx9.js → shell-aems2vrd.js} +11 -11
- package/dist/chunks/{provider-eggfh18w.js → shell-af30khrr.js} +17 -17
- package/dist/chunks/{provider-8d4xkafh.js → shell-afcwrtac.js} +29 -29
- package/dist/chunks/{provider-wvheyyf0.js → shell-apd33ypq.js} +24 -24
- package/dist/chunks/{provider-rtfvcbjv.js → shell-at2q98t1.js} +19 -19
- package/dist/chunks/{provider-1cymf1wv.js → shell-awk99s3a.js} +5 -5
- package/dist/chunks/{provider-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{provider-5nnwax6m.js → shell-b6vsg801.js} +5 -5
- package/dist/chunks/{provider-2ar72s4v.js → shell-be5f4zms.js} +9 -9
- package/dist/chunks/shell-bnf9rp9e.js +26 -0
- package/dist/chunks/{provider-bstexjd6.js → shell-bstexjd6.js} +1 -1
- package/dist/chunks/{provider-80338099.js → shell-c0k28r9c.js} +10 -10
- package/dist/chunks/{provider-fppzhakr.js → shell-c2na2264.js} +2 -2
- package/dist/chunks/{provider-9xz8rx1e.js → shell-ca97wcc6.js} +28 -28
- package/dist/chunks/{provider-v8thj8wx.js → shell-cags73dr.js} +12 -12
- package/dist/chunks/{provider-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{provider-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{provider-c7ka5j4r.js → shell-d53n7f21.js} +11 -11
- package/dist/chunks/{provider-3zy30qv4.js → shell-d5z4bkxr.js} +15 -15
- package/dist/chunks/{provider-hqtkd67t.js → shell-d97evh6t.js} +11 -11
- package/dist/chunks/{provider-p3bh0xsg.js → shell-datw7qtq.js} +8 -8
- package/dist/chunks/{provider-ayxakjnc.js → shell-ddhhfkrp.js} +21 -21
- package/dist/chunks/{provider-bg6z9m5n.js → shell-dfm17qbt.js} +11 -11
- package/dist/chunks/{provider-7dks1d1n.js → shell-dpce6frn.js} +6 -6
- package/dist/chunks/{provider-qpxk8k0n.js → shell-dt4w99j0.js} +27 -27
- package/dist/chunks/{provider-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{provider-wn77a8c9.js → shell-dv96216k.js} +4 -4
- package/dist/chunks/{provider-2hqxj3e8.js → shell-dwccqcs6.js} +12 -12
- package/dist/chunks/{provider-q1jc1abz.js → shell-e4bj9h60.js} +12 -12
- package/dist/chunks/{provider-4rramvaq.js → shell-e797dk3c.js} +27 -27
- package/dist/chunks/{provider-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{provider-7e1ydx3z.js → shell-ebwyk99b.js} +27 -27
- package/dist/chunks/{provider-jn344vfw.js → shell-ecea3fza.js} +6 -6
- package/dist/chunks/{provider-tznkg22c.js → shell-edm37t96.js} +6 -6
- package/dist/chunks/{provider-6edbc7zm.js → shell-ep6pe98a.js} +5 -5
- package/dist/chunks/{provider-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
- package/dist/chunks/{provider-86g45369.js → shell-est5w5t7.js} +4 -4
- package/dist/chunks/{provider-v8xpr2tt.js → shell-etrnj9s7.js} +11 -11
- package/dist/chunks/{provider-78k8rqvg.js → shell-f2tph26c.js} +5 -5
- package/dist/chunks/{provider-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{provider-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
- package/dist/chunks/{provider-pb37mcnd.js → shell-fhg22z1w.js} +22 -22
- package/dist/chunks/{provider-y4exmj8g.js → shell-fn0rv3ya.js} +13 -13
- package/dist/chunks/{provider-h7xyg9h9.js → shell-fn389wq5.js} +39 -39
- package/dist/chunks/{provider-ft3x1tqf.js → shell-frwvv92n.js} +8 -8
- package/dist/chunks/{provider-93e35kep.js → shell-ftcdnxrm.js} +12 -12
- package/dist/chunks/{provider-azz1ye8b.js → shell-fv59jycd.js} +31 -31
- package/dist/chunks/{provider-kpfcexn1.js → shell-fw9za8th.js} +21 -19
- package/dist/chunks/{provider-hw3dt85w.js → shell-fwvz4vmm.js} +50 -50
- package/dist/chunks/{provider-f20mvry3.js → shell-fy4j1bx8.js} +18 -18
- package/dist/chunks/{provider-dkh2xj1z.js → shell-fy5x2faz.js} +9 -9
- package/dist/chunks/{provider-q46cgv3h.js → shell-g8k90hx5.js} +11 -11
- package/dist/chunks/{provider-htqfs7hb.js → shell-g965az4h.js} +16 -16
- package/dist/chunks/{provider-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
- package/dist/chunks/{provider-8apdhker.js → shell-gsw2m7k6.js} +21 -21
- package/dist/chunks/{provider-3n03fw67.js → shell-gvp7022y.js} +17 -17
- package/dist/chunks/{provider-vx8b1jz6.js → shell-gx1fp3rr.js} +18 -18
- package/dist/chunks/{provider-tdnw9kda.js → shell-h047cagb.js} +33 -33
- package/dist/chunks/{provider-0gwyvsgx.js → shell-h76zyjsb.js} +14 -14
- package/dist/chunks/{provider-5jby4dm2.js → shell-hbdj9fbj.js} +21 -21
- package/dist/chunks/{provider-r31zvyjt.js → shell-hbvq878w.js} +33 -33
- package/dist/chunks/{provider-nqjvae97.js → shell-hccd5xc6.js} +6 -6
- package/dist/chunks/{provider-4kjss04h.js → shell-hg96msre.js} +4 -4
- package/dist/chunks/{provider-81vnvh8a.js → shell-hgbhmszv.js} +20 -20
- package/dist/chunks/{provider-1xzb85s3.js → shell-hkk57xb1.js} +27 -27
- package/dist/chunks/{provider-zvnbbcek.js → shell-hmtj6hyv.js} +7 -7
- package/dist/chunks/{provider-hpg1pkwy.js → shell-hpg1pkwy.js} +1 -1
- package/dist/chunks/{provider-7def1eh5.js → shell-hs3yxfaz.js} +5 -5
- package/dist/chunks/{provider-nscq7kby.js → shell-hz4wpdd1.js} +29 -29
- package/dist/chunks/{provider-ymysc5j4.js → shell-hzwt6x4n.js} +20 -20
- package/dist/chunks/{provider-zkkdtva6.js → shell-j6qs954z.js} +11 -11
- package/dist/chunks/{provider-ze75qvmd.js → shell-j9nxzz3g.js} +3 -3
- package/dist/chunks/{provider-p9rhhmba.js → shell-j9v2cv05.js} +37 -37
- package/dist/chunks/{provider-gtm2a6wz.js → shell-jaqyf2j9.js} +43 -43
- package/dist/chunks/{provider-58622k4e.js → shell-jdeeg1qm.js} +17 -17
- package/dist/chunks/{provider-msd2a3qm.js → shell-jet8nhkm.js} +8 -8
- package/dist/chunks/{provider-ay6wrfq3.js → shell-jjpqhn5j.js} +9 -9
- package/dist/chunks/{provider-cb37h3g9.js → shell-jm1fsxv2.js} +43 -43
- package/dist/chunks/{provider-j40jtnfz.js → shell-jqhn00se.js} +22 -22
- package/dist/chunks/{provider-dcpaety6.js → shell-jrprd1cy.js} +10 -10
- package/dist/chunks/{provider-x7x8wt0t.js → shell-js6r64sq.js} +11 -11
- package/dist/chunks/{provider-jtnps1zs.js → shell-jtnps1zs.js} +2 -2
- package/dist/chunks/{provider-h1ywddef.js → shell-jxe04nha.js} +33 -33
- package/dist/chunks/{provider-payghzyh.js → shell-jxzydp3a.js} +15 -15
- package/dist/chunks/{provider-k3cx6fhe.js → shell-k3cx6fhe.js} +1 -1
- package/dist/chunks/{provider-z8jj1f5x.js → shell-k44714xv.js} +1 -1
- package/dist/chunks/{provider-qfz6bxfd.js → shell-k46dd5bg.js} +4 -4
- package/dist/chunks/{provider-7m9sc66j.js → shell-k5t1f9zg.js} +2 -2
- package/dist/chunks/{provider-70y17xeh.js → shell-kerhshr9.js} +5 -5
- package/dist/chunks/{provider-wfgaw5r7.js → shell-kgdx1aw0.js} +16 -16
- package/dist/chunks/{provider-ab4q7tsw.js → shell-knwd8g3y.js} +21 -21
- package/dist/chunks/{provider-yhgtqtqc.js → shell-krcm13gg.js} +7 -7
- package/dist/chunks/{provider-aj9978bz.js → shell-kshj9d31.js} +6 -6
- package/dist/chunks/{provider-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
- package/dist/chunks/{provider-backbg8m.js → shell-kxpnq44j.js} +25 -25
- package/dist/chunks/{provider-p9j2z5m0.js → shell-ky55b5b1.js} +4 -4
- package/dist/chunks/{provider-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
- package/dist/chunks/{provider-vnf6v5dn.js → shell-m0jv0hdf.js} +13 -13
- package/dist/chunks/{provider-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{provider-njjbze85.js → shell-m5jddc9g.js} +4 -4
- package/dist/chunks/{provider-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
- package/dist/chunks/{provider-2kcp91wn.js → shell-mehg9rzj.js} +7 -7
- package/dist/chunks/{provider-h8tz8d21.js → shell-mhn0qtha.js} +9 -9
- package/dist/chunks/{provider-q3x79h5v.js → shell-mkkrgnv3.js} +5 -5
- package/dist/chunks/{provider-qhy5xrym.js → shell-mpc68446.js} +22 -22
- package/dist/chunks/{provider-j58p6fk7.js → shell-mpfhh4bd.js} +8 -8
- package/dist/chunks/{provider-mhbkds0y.js → shell-mr0dpwp4.js} +9 -9
- package/dist/chunks/{provider-wkj89kcq.js → shell-n3t645yb.js} +15 -15
- package/dist/chunks/{provider-3wffx9mc.js → shell-n69phmws.js} +75 -43
- package/dist/chunks/{provider-d46dhjdk.js → shell-ne0be9nn.js} +17 -17
- package/dist/chunks/{provider-pz8h5s64.js → shell-nkqxqv0c.js} +9 -9
- package/dist/chunks/{provider-jjh1yrzz.js → shell-nnrrg0xj.js} +35 -35
- package/dist/chunks/{provider-1e5ztcp9.js → shell-npg553gx.js} +189 -189
- package/dist/chunks/{provider-n7kjthd5.js → shell-ns98cv9x.js} +18 -18
- package/dist/chunks/{provider-kdxnvd2v.js → shell-nt907s04.js} +3 -3
- package/dist/chunks/{provider-jv6qbwa1.js → shell-nxcvrfrm.js} +3 -3
- package/dist/chunks/{provider-5zrxpy3q.js → shell-p7vhpwh8.js} +5 -5
- package/dist/chunks/{provider-y9xk9k2e.js → shell-p80v23td.js} +6 -6
- package/dist/chunks/{provider-0kp7995d.js → shell-pe85184h.js} +50 -50
- package/dist/chunks/{provider-dnckx5rt.js → shell-pe8ga148.js} +9 -9
- package/dist/chunks/{provider-5cem1vp4.js → shell-pg1dvydq.js} +12 -12
- package/dist/chunks/{provider-pre1sqds.js → shell-pgqxr0th.js} +4 -4
- package/dist/chunks/{provider-v75dtzt0.js → shell-phq0g8v8.js} +7 -7
- package/dist/chunks/{provider-n50v2y52.js → shell-pja29dwb.js} +15 -15
- package/dist/chunks/{provider-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{provider-6p17b4q9.js → shell-psnt6a2q.js} +47 -47
- package/dist/chunks/{provider-qeregzmt.js → shell-pts3bsq2.js} +25 -25
- package/dist/chunks/{provider-avz75qha.js → shell-pzk6pdkc.js} +5 -5
- package/dist/chunks/{provider-zgydsjmk.js → shell-q6vr76yn.js} +34 -34
- package/dist/chunks/{provider-nzgss3b9.js → shell-qajwpk2t.js} +7 -7
- package/dist/chunks/{provider-q1dm7ww2.js → shell-qern7cq5.js} +24 -24
- package/dist/chunks/{provider-h25b548x.js → shell-qj97zj8m.js} +11 -11
- package/dist/chunks/{provider-x1fz8cgm.js → shell-qm8rpqes.js} +5 -5
- package/dist/chunks/{provider-8wjgamp7.js → shell-qnqasnye.js} +6 -6
- package/dist/chunks/{provider-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{provider-kets680g.js → shell-qpe0jarf.js} +2 -2
- package/dist/chunks/{provider-qqvy8y24.js → shell-qqvy8y24.js} +1 -1
- package/dist/chunks/{provider-jad8sfx7.js → shell-qrkgw2b2.js} +4 -4
- package/dist/chunks/{provider-e1y225ng.js → shell-qsg8cjn6.js} +8 -8
- package/dist/chunks/{provider-hjstnads.js → shell-qtf35215.js} +3 -3
- package/dist/chunks/{provider-zeb8ypb2.js → shell-qtvg5wgd.js} +6 -6
- package/dist/chunks/{provider-xksw6ev0.js → shell-qzgp0jr4.js} +4 -4
- package/dist/chunks/{provider-8aq0b3q8.js → shell-r1bspy9s.js} +18 -18
- package/dist/chunks/{provider-gt4s71hs.js → shell-r1x2dnd5.js} +23 -23
- package/dist/chunks/{provider-55dnbtkz.js → shell-r3j2m9q7.js} +13 -13
- package/dist/chunks/{provider-4f25tdd0.js → shell-r542h3bh.js} +5 -5
- package/dist/chunks/{provider-mrg5btk6.js → shell-r8cjbfhs.js} +17 -17
- package/dist/chunks/shell-ranh0xe7.js +16 -0
- package/dist/chunks/{provider-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{provider-g050tpn7.js → shell-rjedfxjv.js} +4 -4
- package/dist/chunks/{provider-8x29dp53.js → shell-rjkqrftx.js} +18 -18
- package/dist/chunks/{provider-wsyb79d4.js → shell-rmpjmhqv.js} +13 -13
- package/dist/chunks/{provider-hqvhb0wh.js → shell-rrq56t4b.js} +11 -11
- package/dist/chunks/{provider-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{provider-pfssdf0n.js → shell-rvxhxrx3.js} +9 -9
- package/dist/chunks/{provider-5v8qem1n.js → shell-s0h6qfwx.js} +15 -15
- package/dist/chunks/{provider-3y5sd8jb.js → shell-s0q158zn.js} +21 -21
- package/dist/chunks/{provider-weapmq0e.js → shell-s12w367s.js} +5 -5
- package/dist/chunks/{provider-zwpxamqy.js → shell-s1qxcrks.js} +12 -12
- package/dist/chunks/{provider-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
- package/dist/chunks/{provider-0wh0wreq.js → shell-sb8b9r4h.js} +8 -8
- package/dist/chunks/{provider-5m6a7xby.js → shell-sbegqkxp.js} +6 -6
- package/dist/chunks/{provider-sbya78hr.js → shell-sbya78hr.js} +1 -1
- package/dist/chunks/{provider-21ebwj7d.js → shell-sj254tvt.js} +25 -25
- package/dist/chunks/{provider-y6699624.js → shell-sj7nrpyn.js} +8 -8
- package/dist/chunks/{provider-c32zfq3f.js → shell-sn2ktsvh.js} +8 -8
- package/dist/chunks/{provider-0j7gp832.js → shell-sqjzf8x2.js} +4 -4
- package/dist/chunks/{provider-7n31wws5.js → shell-ssme6qjn.js} +4 -4
- package/dist/chunks/{provider-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{provider-szwm4crx.js → shell-szwm4crx.js} +4 -4
- package/dist/chunks/{provider-tbwn0emh.js → shell-t3fnm34t.js} +5 -5
- package/dist/chunks/{provider-7hbfr3gt.js → shell-t8erkws8.js} +5 -5
- package/dist/chunks/{provider-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{provider-tg7s7b5t.js → shell-tg7s7b5t.js} +1 -1
- package/dist/chunks/{provider-mytjvv38.js → shell-tkzv1ga7.js} +18 -18
- package/dist/chunks/{provider-tr8x705m.js → shell-tr8x705m.js} +1 -1
- package/dist/chunks/{provider-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{provider-p72h74xg.js → shell-v2e1rrdw.js} +6 -6
- package/dist/chunks/{provider-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{provider-m2cw6p4v.js → shell-v3v67mam.js} +21 -21
- package/dist/chunks/{provider-g2ksfzwc.js → shell-v736ed2x.js} +3 -3
- package/dist/chunks/{provider-sbz71ybr.js → shell-vb80j1wh.js} +3 -3
- package/dist/chunks/{provider-zp5ndmj8.js → shell-vemd5yc8.js} +9 -9
- package/dist/chunks/{provider-yeb3rtca.js → shell-vhxfk71n.js} +37 -37
- package/dist/chunks/{provider-nfap6d10.js → shell-vj50rhab.js} +8 -8
- package/dist/chunks/{provider-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
- package/dist/chunks/shell-vjm3mk0c.js +261 -0
- package/dist/chunks/{provider-dm6t6wvg.js → shell-vnbwfcdt.js} +36 -36
- package/dist/chunks/{provider-rmt6m6se.js → shell-vrcsa8qx.js} +9 -9
- package/dist/chunks/{provider-9f3jsh1d.js → shell-vt4r9rmy.js} +9 -9
- package/dist/chunks/{provider-w2eysc6j.js → shell-w2eysc6j.js} +2 -2
- package/dist/chunks/{provider-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-qwv9yzsq.js → shell-w5aa2add.js} +3 -3
- package/dist/chunks/{provider-bzf8sw1v.js → shell-w6by9cwq.js} +4 -4
- package/dist/chunks/{provider-mmx1mfjr.js → shell-w79nt68w.js} +4 -4
- package/dist/chunks/{provider-ap5bkdw3.js → shell-w8v0wgg0.js} +26 -26
- package/dist/chunks/{provider-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{provider-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{provider-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
- package/dist/chunks/{provider-3rkhzrx8.js → shell-wemtzmhb.js} +26 -26
- package/dist/chunks/{provider-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
- package/dist/chunks/{provider-tek14qfj.js → shell-wqbwz6hm.js} +8 -8
- package/dist/chunks/{provider-w687dnns.js → shell-wr3re1en.js} +4 -4
- package/dist/chunks/{provider-nyxvvj5y.js → shell-wvr8xscb.js} +4 -4
- package/dist/chunks/{provider-kem3h3gp.js → shell-ww7bwvyr.js} +30 -30
- package/dist/chunks/{provider-95sp4hdf.js → shell-wws03c5r.js} +4 -4
- package/dist/chunks/{provider-safn44c7.js → shell-x150ncgg.js} +2 -2
- package/dist/chunks/{provider-t55cvahq.js → shell-x30drkm9.js} +9 -9
- package/dist/chunks/{provider-dx7zpeqp.js → shell-xbrr9mx4.js} +11 -11
- package/dist/chunks/{provider-rcbjwvze.js → shell-xpve62cf.js} +4 -4
- package/dist/chunks/{provider-ek9mpve2.js → shell-xsehgyx0.js} +5 -5
- package/dist/chunks/{provider-4yqm5m6p.js → shell-xwmtk72n.js} +5 -5
- package/dist/chunks/{provider-g148ep0a.js → shell-xzv52cwv.js} +3 -3
- package/dist/chunks/{provider-vt3w9sen.js → shell-y30x783a.js} +42 -42
- package/dist/chunks/{provider-mbp2g4gy.js → shell-y3r9dpew.js} +16 -16
- package/dist/chunks/{provider-hyh06f6h.js → shell-y5knf827.js} +26 -26
- package/dist/chunks/{provider-55x429hg.js → shell-y74ve27q.js} +4 -4
- package/dist/chunks/{provider-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{provider-sczhbnde.js → shell-ykzqzvbr.js} +14 -14
- package/dist/chunks/{provider-c3zb5mpn.js → shell-yp9xkj78.js} +21 -21
- package/dist/chunks/{provider-yr705xyq.js → shell-yr705xyq.js} +1 -1
- package/dist/chunks/{provider-cwmxe7a1.js → shell-ysh69y78.js} +21 -21
- package/dist/chunks/{provider-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
- package/dist/chunks/{provider-ram30ap6.js → shell-yw61gdr6.js} +81 -81
- package/dist/chunks/{provider-2j5gpsjp.js → shell-zenbbnxs.js} +11 -11
- package/dist/chunks/{provider-zm27gg57.js → shell-zm27gg57.js} +2 -2
- package/dist/chunks/{provider-wkx0wxf8.js → shell-zmdx3j86.js} +39 -31
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +130 -130
- package/dist/config/plugin/command.js +229 -229
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +137 -137
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +131 -131
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +77 -77
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- package/dist/git.js +7 -7
- 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 +104 -104
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +172 -172
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +113 -113
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +114 -114
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +126 -126
- 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 +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 +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +243 -243
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- 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 +243 -243
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +234 -234
- package/dist/session/usage.js +3 -3
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +162 -162
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +166 -166
- package/dist/tool/plugin/grep.js +164 -164
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +164 -164
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/mcp/index.d.ts +5 -0
- package/dist/types/plugin/provider/credential-settings.d.ts +2 -2
- package/dist/types/tool/mcp.d.ts +4 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/provider-208nbn7x.js +0 -16
- package/dist/chunks/provider-6zjm2phc.js +0 -18
- package/dist/chunks/provider-pdr5pber.js +0 -261
- package/dist/chunks/provider-qb74t3th.js +0 -26
- /package/dist/chunks/{provider-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kah00gy.js → shell-1kah00gy.js} +0 -0
- /package/dist/chunks/{provider-1pevy3nx.js → shell-1pevy3nx.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{provider-6agm2x70.js → shell-6agm2x70.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-7stb81gk.js → shell-7stb81gk.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-syrav9an.js → shell-syrav9an.js} +0 -0
- /package/dist/chunks/{provider-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
- /package/dist/chunks/{provider-ty7weeps.js → shell-ty7weeps.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-vtarvj67.js → shell-vtarvj67.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./shell-fy4j1bx8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./shell-y30x783a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID9,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
|
-
|
|
11
|
+
DisabledError4,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service52
|
|
14
|
+
} from "./shell-h047cagb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin13,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID9,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin13 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service70;
|
|
53
|
+
const forms = yield* Service84;
|
|
54
|
+
const websearch = yield* Service52;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -109,7 +109,7 @@ var Plugin19 = {
|
|
|
109
109
|
return yield* Effect.fail(new Error("Web search cancelled"));
|
|
110
110
|
if (response.answer.choice === "disable") {
|
|
111
111
|
yield* websearch.select(false);
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new DisabledError4;
|
|
113
113
|
}
|
|
114
114
|
const selection = response.answer.choice === "choose" ? yield* forms.ask({
|
|
115
115
|
sessionID: context.sessionID,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin13, exports_websearch };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-qj97zj8m.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-m5jddc9g.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event21,
|
|
10
10
|
Service88
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-2s9xahkc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID18,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-hzwt6x4n.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-53e3z61x.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID16,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info24
|
|
24
|
+
} from "./shell-e797dk3c.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./shell-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./shell-1ecnrbv4.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
38
|
-
import { Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
38
|
+
import { Deferred, Effect, Equal, Option, Schema, Semaphore, Stream } from "effect";
|
|
39
39
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
40
40
|
var registrationClientID = "dynamic_agent_client";
|
|
41
41
|
var agentName = "OpenCode";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID17.openai;
|
|
47
|
+
var integrationID = ID18.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -192,12 +192,14 @@ var ChatGPTPlugin2 = define({
|
|
|
192
192
|
return;
|
|
193
193
|
})) : undefined;
|
|
194
194
|
chatgpt = credential?.type === "oauth" && credential.methodID === methodID ? credential : undefined;
|
|
195
|
+
const previous = source;
|
|
195
196
|
source = chatgpt ? connection : undefined;
|
|
197
|
+
return !Equal.equals(previous, source);
|
|
196
198
|
});
|
|
197
199
|
yield* ctx.integration.transform((editor) => {
|
|
198
200
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
199
201
|
});
|
|
200
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
202
|
+
yield* Effect.forEach(yield* credentials.list(ID18.make("openai")), (entry) => {
|
|
201
203
|
const value = entry.value;
|
|
202
204
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
203
205
|
return Effect.void;
|
|
@@ -269,7 +271,7 @@ var ChatGPTPlugin2 = define({
|
|
|
269
271
|
});
|
|
270
272
|
}
|
|
271
273
|
});
|
|
272
|
-
const reload = () => loading.withPermit(load().pipe(Effect.
|
|
274
|
+
const reload = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
|
|
273
275
|
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
274
276
|
})
|
|
275
277
|
});
|
|
@@ -327,7 +329,7 @@ function deriveModels2(remote, existing) {
|
|
|
327
329
|
const found = byID.get(model.modelID);
|
|
328
330
|
return found ? [deriveModel(found, model)] : [];
|
|
329
331
|
}),
|
|
330
|
-
...remote.filter((model) => !known.has(
|
|
332
|
+
...remote.filter((model) => !known.has(ID16.make(model.slug))).map((model) => deriveModel(model, Info24.default(ID17.openai, ID16.make(model.slug))))
|
|
331
333
|
];
|
|
332
334
|
}
|
|
333
335
|
function deriveModel(remote, previous) {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-m5jddc9g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-k5t1f9zg.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node83
|
|
16
|
+
} from "./shell-23tpq7wy.js";
|
|
17
17
|
import {
|
|
18
18
|
latest2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node77
|
|
21
|
+
} from "./shell-fn389wq5.js";
|
|
22
22
|
import {
|
|
23
23
|
detect2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-4pyp9zr9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service22,
|
|
27
|
+
node25
|
|
28
|
+
} from "./shell-0d23rnfz.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./shell-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/artifact.ts
|
|
34
34
|
var exports_artifact2 = {};
|
|
@@ -36,23 +36,23 @@ __export(exports_artifact2, {
|
|
|
36
36
|
Artifact: () => exports_artifact2,
|
|
37
37
|
Capability: () => Capability2,
|
|
38
38
|
Content: () => Content2,
|
|
39
|
-
CreateInput: () =>
|
|
40
|
-
DisabledError: () =>
|
|
41
|
-
Event: () =>
|
|
39
|
+
CreateInput: () => CreateInput5,
|
|
40
|
+
DisabledError: () => DisabledError3,
|
|
41
|
+
Event: () => Event5,
|
|
42
42
|
FileMissingError: () => FileMissingError2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID7,
|
|
44
|
+
Info: () => Info8,
|
|
45
45
|
InvalidError: () => InvalidError3,
|
|
46
46
|
LocalProviderID: () => LocalProviderID2,
|
|
47
47
|
NotFoundError: () => NotFoundError4,
|
|
48
|
-
Provider: () =>
|
|
48
|
+
Provider: () => Provider2,
|
|
49
49
|
ProviderError: () => ProviderError2,
|
|
50
50
|
ProviderID: () => ProviderID2,
|
|
51
|
-
ProviderNotFoundError: () =>
|
|
52
|
-
Service: () =>
|
|
51
|
+
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
52
|
+
Service: () => Service21,
|
|
53
53
|
UpdateInput: () => UpdateInput3,
|
|
54
54
|
locate: () => locate2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node24
|
|
56
56
|
});
|
|
57
57
|
import { randomUUID } from "node:crypto";
|
|
58
58
|
import fs from "node:fs/promises";
|
|
@@ -61,11 +61,11 @@ import { lookup } from "mime-types";
|
|
|
61
61
|
import {
|
|
62
62
|
Capability as Capability2,
|
|
63
63
|
Content as Content2,
|
|
64
|
-
CreateInput as
|
|
65
|
-
Event as
|
|
66
|
-
ID as
|
|
67
|
-
Info as
|
|
68
|
-
Provider as
|
|
64
|
+
CreateInput as CreateInput5,
|
|
65
|
+
Event as Event5,
|
|
66
|
+
ID as ID7,
|
|
67
|
+
Info as Info8,
|
|
68
|
+
Provider as Provider2,
|
|
69
69
|
ProviderID as ProviderID2,
|
|
70
70
|
UpdateInput as UpdateInput3
|
|
71
71
|
} from "@opencode/schema/artifact";
|
|
@@ -75,14 +75,14 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
|
|
|
75
75
|
var LocalProviderID2 = ProviderID2.make("local");
|
|
76
76
|
var ItemPrefix = "artifact:item:";
|
|
77
77
|
|
|
78
|
-
class
|
|
78
|
+
class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
|
|
79
79
|
get message() {
|
|
80
80
|
return "Artifacts are disabled; set experimental.artifacts in config";
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class NotFoundError4 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
85
|
-
artifactID:
|
|
85
|
+
artifactID: ID7
|
|
86
86
|
}) {
|
|
87
87
|
get message() {
|
|
88
88
|
return `Artifact not found: ${this.artifactID}`;
|
|
@@ -90,7 +90,7 @@ class NotFoundError4 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
|
|
93
|
-
artifactID:
|
|
93
|
+
artifactID: ID7,
|
|
94
94
|
path: Schema.String
|
|
95
95
|
}) {
|
|
96
96
|
get message() {
|
|
@@ -98,7 +98,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
class
|
|
101
|
+
class ProviderNotFoundError2 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
|
|
102
102
|
providerID: ProviderID2
|
|
103
103
|
}) {
|
|
104
104
|
get message() {
|
|
@@ -124,10 +124,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
class
|
|
127
|
+
class Service21 extends Context.Service()("@opencode/Artifact") {
|
|
128
128
|
}
|
|
129
129
|
var StoredRecord = Schema.Struct({
|
|
130
|
-
info:
|
|
130
|
+
info: Info8,
|
|
131
131
|
directory: Schema.String,
|
|
132
132
|
projectID: Schema.String
|
|
133
133
|
});
|
|
@@ -140,13 +140,13 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
|
|
|
140
140
|
const decoded = decodeStoredRecord(stored);
|
|
141
141
|
return Option.isSome(decoded) ? decoded.value.directory : undefined;
|
|
142
142
|
}));
|
|
143
|
-
var layer = Layer.effect(
|
|
143
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
144
144
|
const bus = yield* Service89;
|
|
145
|
-
const config = yield*
|
|
145
|
+
const config = yield* Service75;
|
|
146
146
|
const global = yield* Global.Service;
|
|
147
|
-
const kv = yield*
|
|
147
|
+
const kv = yield* Service80;
|
|
148
148
|
const location = yield* Service85;
|
|
149
|
-
const sessions = yield*
|
|
149
|
+
const sessions = yield* Service22;
|
|
150
150
|
const rootDir = path.join(global.data, "artifacts");
|
|
151
151
|
const itemDir = (id) => path.join(rootDir, id);
|
|
152
152
|
const localProvider = {
|
|
@@ -187,13 +187,13 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}),
|
|
190
|
-
notify: changes2(snapshotProviders, () => bus.publish(
|
|
190
|
+
notify: changes2(snapshotProviders, () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid))
|
|
191
191
|
});
|
|
192
192
|
const isEnabled = Effect.fn("Artifact.enabled")(function* () {
|
|
193
193
|
const entries = yield* config.entries();
|
|
194
194
|
return latest2(entries, "experimental")?.artifacts === true;
|
|
195
195
|
});
|
|
196
|
-
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new
|
|
196
|
+
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
|
|
197
197
|
const activeDefaultID = () => {
|
|
198
198
|
const data = state.get();
|
|
199
199
|
return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
|
|
@@ -202,17 +202,17 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
202
202
|
const data = state.get();
|
|
203
203
|
const target = requested ?? activeDefaultID();
|
|
204
204
|
const found = data.providers.get(target);
|
|
205
|
-
return found ? Effect.succeed(found) : Effect.fail(new
|
|
205
|
+
return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
|
|
206
206
|
};
|
|
207
207
|
const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
|
|
208
|
-
return
|
|
208
|
+
return Service21.of({
|
|
209
209
|
transform: state.transform,
|
|
210
210
|
reload: state.reload,
|
|
211
211
|
enabled: isEnabled,
|
|
212
212
|
providers: Effect.fn("Artifact.providers")(function* () {
|
|
213
213
|
yield* requireEnabled();
|
|
214
214
|
const defaultID = activeDefaultID();
|
|
215
|
-
return Array.from(state.get().providers.values(), (provider) =>
|
|
215
|
+
return Array.from(state.get().providers.values(), (provider) => Provider2.make({
|
|
216
216
|
id: provider.id,
|
|
217
217
|
name: provider.name,
|
|
218
218
|
capabilities: [...provider.capabilities],
|
|
@@ -249,10 +249,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
249
249
|
const files = yield* normalizeFiles(encodeStringFiles(input.files));
|
|
250
250
|
const entry = yield* resolveEntry(files, input.entry);
|
|
251
251
|
const provider = yield* resolveProvider(input.provider);
|
|
252
|
-
const id =
|
|
252
|
+
const id = ID7.create();
|
|
253
253
|
const now = yield* Clock.currentTimeMillis;
|
|
254
254
|
const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
255
|
-
const info =
|
|
255
|
+
const info = Info8.make({
|
|
256
256
|
id,
|
|
257
257
|
provider: provider.id,
|
|
258
258
|
...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
|
|
@@ -302,7 +302,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
302
302
|
const now = yield* Clock.currentTimeMillis;
|
|
303
303
|
const sessionID = input.sessionID ?? existing.info.sessionID;
|
|
304
304
|
const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
305
|
-
const info =
|
|
305
|
+
const info = Info8.make({
|
|
306
306
|
id,
|
|
307
307
|
provider: existing.info.provider,
|
|
308
308
|
...sessionID === undefined ? {} : { sessionID },
|
|
@@ -350,10 +350,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
350
350
|
})
|
|
351
351
|
});
|
|
352
352
|
}));
|
|
353
|
-
var
|
|
354
|
-
service:
|
|
353
|
+
var node24 = makeLocationNode({
|
|
354
|
+
service: Service21,
|
|
355
355
|
layer,
|
|
356
|
-
deps: [node92,
|
|
356
|
+
deps: [node92, node77, Global.node, node83, node88, node25]
|
|
357
357
|
});
|
|
358
358
|
function encodeStringFiles(files) {
|
|
359
359
|
return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
|
|
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
export { Capability2, Content2,
|
|
494
|
+
export { Capability2, Content2, CreateInput5, Event5, ID7, Info8, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service21, locate2, node24, exports_artifact2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-m5jddc9g.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID19,
|
|
20
|
+
Info: () => Info28,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError13,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service84,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer27,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node87,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID19 = Form.ID;
|
|
39
|
+
var Info28 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID19
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID19
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID19
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID19,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service84 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer27 = Layer.effect(
|
|
84
|
+
var layer27 = Layer.effect(Service84, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service89;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer27 = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID19.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service84.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node87 = makeLocationNode({ service: Service84, layer: layer27, deps: [node92] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer27, node87, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-m5jddc9g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-k5t1f9zg.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service34
|
|
10
|
+
} from "./shell-n69phmws.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin44 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service85;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service34;
|
|
201
201
|
const bus = yield* Service89;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin44, exports_command2 };
|