@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID10,
|
|
6
|
+
Service54
|
|
7
|
+
} from "./shell-kxpnq44j.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-qtf35215.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-edm37t96.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service54;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID10.make(from),
|
|
91
|
+
to: ID10.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
scan4,
|
|
3
3
|
scanPowerShell2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-7kr66rt3.js";
|
|
5
5
|
import {
|
|
6
6
|
name17,
|
|
7
7
|
ps2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-at2q98t1.js";
|
|
9
9
|
import {
|
|
10
10
|
match3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-1aqsckx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/shell/parse.ts
|
|
17
17
|
var exports_parse = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-m5jddc9g.js";
|
|
4
4
|
import {
|
|
5
5
|
Event21
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-2s9xahkc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID18
|
|
9
|
+
} from "./shell-hzwt6x4n.js";
|
|
10
10
|
import {
|
|
11
11
|
isLoggedIn2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-2p60zmnr.js";
|
|
13
13
|
import {
|
|
14
14
|
ID3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-2x3j5zyt.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/plugin/provider/claude-agent/integration.ts
|
|
21
21
|
var exports_integration = {};
|
|
22
22
|
__export(exports_integration, {
|
|
23
23
|
ClaudeIntegration: () => exports_integration,
|
|
24
24
|
METHOD_ID: () => METHOD_ID2,
|
|
25
|
-
register: () =>
|
|
25
|
+
register: () => register5
|
|
26
26
|
});
|
|
27
27
|
import { Effect, Stream, SubscriptionRef } from "effect";
|
|
28
28
|
var METHOD_ID2 = "claude-login";
|
|
29
|
-
var
|
|
29
|
+
var register5 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
|
|
30
30
|
yield* ctx.integration.transform((editor) => {
|
|
31
31
|
editor.update(ID3, (integration) => {
|
|
32
32
|
integration.name = "Claude Agent";
|
|
@@ -49,7 +49,7 @@ var register3 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status)
|
|
|
49
49
|
});
|
|
50
50
|
})), Effect.forkScoped);
|
|
51
51
|
const bus = yield* Service89;
|
|
52
|
-
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
52
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make(ID3)), Stream.runForEach(() => status.refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
53
53
|
});
|
|
54
54
|
function problem(state) {
|
|
55
55
|
if (state.type === "missing")
|
|
@@ -65,4 +65,4 @@ function problem(state) {
|
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export { METHOD_ID2,
|
|
68
|
+
export { METHOD_ID2, register5, exports_integration };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-m5jddc9g.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-wws03c5r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID18,
|
|
14
|
+
Service83,
|
|
15
|
+
node86,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-hzwt6x4n.js";
|
|
18
18
|
import {
|
|
19
19
|
Service85,
|
|
20
20
|
node88
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-k5t1f9zg.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider4 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_provider4, {
|
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
34
|
Event: () => Event17,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID17,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider4,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service82,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider4, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node85,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -333,7 +333,7 @@ var decode = Schema.decodeUnknownSync(Legacy);
|
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
335
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
336
|
-
var
|
|
336
|
+
var ID17 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -577,9 +577,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info25 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service82 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,9 +592,9 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service89;
|
|
597
|
-
const integrations = yield*
|
|
597
|
+
const integrations = yield* Service83;
|
|
598
598
|
const location = yield* Service85;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service80, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info25.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service80, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service80, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([Event18.Updated, Credential.Event.
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service82.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service80, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node85 = makeLocationNode({ service: Service82, layer, deps: [node92, node86, node88] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service82, node85, exports_provider4, Event17 };
|
|
@@ -1,46 +1,46 @@
|
|
|
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
|
ID22,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event21
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-2s9xahkc.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-wws03c5r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID18,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-hzwt6x4n.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID17
|
|
22
|
+
} from "./shell-53e3z61x.js";
|
|
23
23
|
import {
|
|
24
24
|
Remote3,
|
|
25
25
|
Document3,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make31
|
|
27
|
+
} from "./shell-8t99kr38.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service75
|
|
30
|
+
} from "./shell-fn389wq5.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-6d8d064b.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./shell-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ID9,
|
|
41
|
+
Input16,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./shell-h047cagb.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -91,7 +91,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
91
91
|
}
|
|
92
92
|
function oauth(http) {
|
|
93
93
|
return {
|
|
94
|
-
integrationID:
|
|
94
|
+
integrationID: ID18.make("opencode"),
|
|
95
95
|
method: {
|
|
96
96
|
id: methodID,
|
|
97
97
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var OpencodePlugin2 = define({
|
|
|
159
159
|
const bus = yield* Service89;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service75;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -195,12 +195,12 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
});
|
|
196
196
|
let integrated;
|
|
197
197
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
198
|
-
yield* config.integration?.(
|
|
199
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
198
|
+
yield* config.integration?.(ID18.make("opencode"), document) ?? Effect.void;
|
|
199
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID18.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
yield* integrate(next.remote && next.connection &&
|
|
203
|
-
integrationID:
|
|
202
|
+
yield* integrate(next.remote && next.connection && make31({
|
|
203
|
+
integrationID: ID18.make("opencode"),
|
|
204
204
|
connection: next.connection.type === "credential" ? { ...next.connection, id: ID22.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
206
206
|
info: next.remote
|
|
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
221
221
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
222
222
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
223
223
|
const server = yield* normalizeServer(server2(credential));
|
|
224
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
224
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input16)({
|
|
225
225
|
query: input.query,
|
|
226
226
|
providerID
|
|
227
227
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
integrate2(providers, integrated);
|
|
250
250
|
});
|
|
251
251
|
yield* ctx.provider.transform((providers) => {
|
|
252
|
-
const item = providers.get(
|
|
252
|
+
const item = providers.get(ID17.opencode);
|
|
253
253
|
if (!item)
|
|
254
254
|
return;
|
|
255
255
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
});
|
|
263
263
|
yield* ctx.model.transform((models) => {
|
|
264
|
-
const item = models.provider.get(
|
|
264
|
+
const item = models.provider.get(ID17.opencode);
|
|
265
265
|
if (!item)
|
|
266
266
|
return;
|
|
267
267
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID9.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
316
316
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
317
317
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
318
|
-
|
|
318
|
+
ID17.opencode,
|
|
319
319
|
...Object.keys(next.remote?.providers ?? {})
|
|
320
320
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
321
321
|
});
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
onlyIfMissing: true
|
|
329
329
|
});
|
|
330
330
|
});
|
|
331
|
-
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
331
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
332
332
|
yield* poll();
|
|
333
333
|
})
|
|
334
334
|
});
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-v736ed2x.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-m5jddc9g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./shell-sbegqkxp.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-89287pr7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError12,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-edm37t96.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service72
|
|
29
|
+
} from "./shell-e4bj9h60.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service40
|
|
33
|
+
} from "./shell-gsw2m7k6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service38
|
|
36
|
+
} from "./shell-nnrrg0xj.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./shell-8kj1ydmj.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./shell-y3r9dpew.js";
|
|
45
45
|
import {
|
|
46
46
|
start4
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./shell-28jz28yf.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./shell-mr0dpwp4.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./shell-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session4 = {};
|
|
57
57
|
__export(exports_session4, {
|
|
58
58
|
Session: () => exports_session4,
|
|
59
|
-
make: () =>
|
|
59
|
+
make: () => make23
|
|
60
60
|
});
|
|
61
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
64
|
+
var make23 = Effect.fn("Session.make")(function* () {
|
|
65
65
|
const bus = yield* Service89;
|
|
66
66
|
const database = yield* Service90;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service72;
|
|
68
|
+
const instances = yield* Service41;
|
|
69
|
+
const execution = yield* Service38;
|
|
70
|
+
const admission = yield* Service40;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError12({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -164,7 +164,7 @@ var make22 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service90, database), Effect.provideService(Service89, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service89, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -348,4 +348,4 @@ ${error.message}`,
|
|
|
348
348
|
return { forSession };
|
|
349
349
|
});
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { make23, exports_session4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service75
|
|
4
|
+
} from "./shell-fn389wq5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./shell-d97evh6t.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin30 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service75;
|
|
27
|
+
const output = yield* Service59;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin4 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin30, exports_tool_output };
|