@costrict/csc 4.0.5 → 4.0.7
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/README.md +15 -0
- package/dist/{chunk-7pfa478f.js → chunk-01yymsz6.js} +16 -16
- package/dist/{chunk-381axhkg.js → chunk-07y6jv3h.js} +3 -3
- package/dist/{chunk-24e25s3h.js → chunk-0e6d7s0j.js} +1 -1
- package/dist/{chunk-52tk9vq4.js → chunk-0hc0azmt.js} +25 -25
- package/dist/{chunk-yq0e1vbr.js → chunk-0jyvbp69.js} +27 -27
- package/dist/{chunk-jdabxq24.js → chunk-0nmk925g.js} +5 -5
- package/dist/{chunk-4d9bywzd.js → chunk-0vq5gwqh.js} +1 -1
- package/dist/{chunk-8db0c0z2.js → chunk-0zs1dh2a.js} +33 -33
- package/dist/{chunk-x46veg46.js → chunk-175vt0mw.js} +1 -1
- package/dist/{chunk-jhaf8e2t.js → chunk-1abvy0mw.js} +24 -24
- package/dist/{chunk-xyh08jpm.js → chunk-1bztm3ta.js} +24 -24
- package/dist/{chunk-8fxvkn6g.js → chunk-1c4scy79.js} +2 -2
- package/dist/{chunk-71ptxz0w.js → chunk-1jd9gmbs.js} +1 -1
- package/dist/{chunk-pfjb68fx.js → chunk-1rjkkc24.js} +2 -2
- package/dist/{chunk-4g5nvh92.js → chunk-234pddm4.js} +1 -1
- package/dist/{chunk-c2wjqfxa.js → chunk-24mw3jzn.js} +25 -25
- package/dist/{chunk-r6r0heh4.js → chunk-29bzzvbe.js} +3 -3
- package/dist/{chunk-d20gvf1p.js → chunk-2d3fy7ns.js} +3 -3
- package/dist/{chunk-zd7ftnd0.js → chunk-2gj32j1b.js} +4 -4
- package/dist/{chunk-f6kfvezc.js → chunk-2hnwfpsp.js} +3 -3
- package/dist/{chunk-h0p49ypw.js → chunk-2k8xwhpv.js} +33 -33
- package/dist/{chunk-jcck08pa.js → chunk-2wft9x0c.js} +26 -26
- package/dist/{chunk-zvffthkn.js → chunk-2x3tnx7f.js} +34 -34
- package/dist/{chunk-w3jk4zrh.js → chunk-2zf696x5.js} +24 -24
- package/dist/{chunk-2p4eesfa.js → chunk-3850xe11.js} +24 -24
- package/dist/{chunk-4b0pe90d.js → chunk-3cjdmdrc.js} +25 -25
- package/dist/{chunk-5pnqgsv4.js → chunk-3m41h5pq.js} +1 -1
- package/dist/{chunk-v1bc0k7r.js → chunk-3mpfwtgp.js} +25 -25
- package/dist/{chunk-8sba81p1.js → chunk-3nbesgj4.js} +1 -1
- package/dist/{chunk-sdw4pkat.js → chunk-3vtezrw4.js} +1 -1
- package/dist/{chunk-9svnj49d.js → chunk-3w81r965.js} +2924 -3434
- package/dist/{chunk-ssdgf1bt.js → chunk-40q1y955.js} +24 -24
- package/dist/{chunk-aahtgv6t.js → chunk-44r9krxs.js} +1 -1
- package/dist/{chunk-cxytr6ke.js → chunk-49xa46kd.js} +1 -1
- package/dist/{chunk-vd2cdqer.js → chunk-4g15gstk.js} +5 -5
- package/dist/{chunk-txq07t1t.js → chunk-4gbe9tkr.js} +24 -24
- package/dist/{chunk-7h58vakp.js → chunk-4ke89pwf.js} +25 -25
- package/dist/{chunk-spb70nw0.js → chunk-4r317th6.js} +4 -4
- package/dist/{chunk-9vxn5hr7.js → chunk-4rs8n32v.js} +4 -4
- package/dist/{chunk-bwy9pa2a.js → chunk-4sfjymzb.js} +2 -2
- package/dist/{chunk-thnkgdqf.js → chunk-4xe2e94e.js} +25 -25
- package/dist/{chunk-v9mb8wyh.js → chunk-4y1cxfew.js} +78 -78
- package/dist/{chunk-sca0gdmn.js → chunk-4ymrn7qv.js} +1 -1
- package/dist/{chunk-36k4p0e8.js → chunk-4zz0wbtm.js} +1 -1
- package/dist/{chunk-hnfwnrdw.js → chunk-519scq6w.js} +24 -24
- package/dist/{chunk-c0cxm1jj.js → chunk-54m09576.js} +24 -24
- package/dist/{chunk-erqq5705.js → chunk-55nvgn9d.js} +2 -2
- package/dist/{chunk-cdv319m8.js → chunk-55vfz8eq.js} +1 -1
- package/dist/{chunk-jwf80scb.js → chunk-5daxqv14.js} +25 -25
- package/dist/{chunk-vs0hwycc.js → chunk-5dej9gvh.js} +2 -2
- package/dist/{chunk-mgbjn0ry.js → chunk-5kt12a8s.js} +1 -1
- package/dist/{chunk-k0bqymfw.js → chunk-5kyd7552.js} +2 -2
- package/dist/{chunk-b9n20qcw.js → chunk-5vsjd4gf.js} +7 -7
- package/dist/{chunk-4r7jf6h7.js → chunk-62p7c3ma.js} +7 -7
- package/dist/{chunk-t4360128.js → chunk-69dbs3j4.js} +30 -30
- package/dist/{chunk-h50wemgt.js → chunk-6a7kt618.js} +8 -8
- package/dist/{chunk-xdhd191v.js → chunk-6de2bhp9.js} +24 -24
- package/dist/{chunk-mm6hffs4.js → chunk-6khdhz07.js} +24 -24
- package/dist/{chunk-xt17cf7n.js → chunk-6paghnkb.js} +21 -20
- package/dist/{chunk-1zh5bbh0.js → chunk-6rbwfkwr.js} +36 -36
- package/dist/{chunk-g7f6rhkv.js → chunk-774x4aqd.js} +33 -33
- package/dist/{chunk-jzheakwg.js → chunk-7g2db6yb.js} +24 -24
- package/dist/{chunk-ke1bzwj0.js → chunk-7zpc67td.js} +24 -24
- package/dist/{chunk-ryb0h1z5.js → chunk-81d5qf02.js} +2 -2
- package/dist/{chunk-we086xcr.js → chunk-8c1y1nvm.js} +1 -1
- package/dist/{chunk-j3khjf4a.js → chunk-8mjeg422.js} +1 -1
- package/dist/{chunk-eqrenafc.js → chunk-8n437319.js} +3 -3
- package/dist/{chunk-b183xr8z.js → chunk-8njrxrbc.js} +2 -2
- package/dist/{chunk-2xq2cy9m.js → chunk-8rcw640f.js} +29 -29
- package/dist/{chunk-1c3k1g6e.js → chunk-8wphf6a8.js} +1 -1
- package/dist/{chunk-dqpsg3x6.js → chunk-8xv0wmjc.js} +25 -25
- package/dist/{chunk-8yhh34se.js → chunk-97h7981s.js} +25 -25
- package/dist/{chunk-q99z5w71.js → chunk-9bj03d4q.js} +1 -1
- package/dist/{chunk-89p21yqs.js → chunk-9mbm2sdm.js} +24 -24
- package/dist/{chunk-b2dttpvp.js → chunk-9nfmmvnj.js} +30 -30
- package/dist/{chunk-q68qcqnd.js → chunk-9tbptg5y.js} +1 -1
- package/dist/{chunk-gn36711e.js → chunk-a2n6yzqv.js} +1 -1
- package/dist/{chunk-zyy7th0a.js → chunk-a4h3j9c0.js} +6 -0
- package/dist/{chunk-cnkwshve.js → chunk-a4wj0dzh.js} +2 -2
- package/dist/{chunk-0d4p6r24.js → chunk-a6q11te3.js} +9 -9
- package/dist/{chunk-9962psf2.js → chunk-a87vjfsv.js} +27 -27
- package/dist/{chunk-tvrpmrzn.js → chunk-a8ksa0tn.js} +2 -2
- package/dist/{chunk-xcbm675k.js → chunk-a8kvy6r8.js} +2 -2
- package/dist/{chunk-gneehjp8.js → chunk-a93s9y7d.js} +2 -2
- package/dist/{chunk-872211k4.js → chunk-ad8hpn52.js} +1 -1
- package/dist/{chunk-1bbvgt3p.js → chunk-adsskz37.js} +3 -3
- package/dist/{chunk-r1zjw4gp.js → chunk-af4rn5ry.js} +1 -1
- package/dist/{chunk-b9mgqx58.js → chunk-affmygx1.js} +1 -1
- package/dist/{chunk-0d43nxnk.js → chunk-agbtp3r5.js} +3 -3
- package/dist/{chunk-svyfbay6.js → chunk-ahqa22fc.js} +2 -2
- package/dist/{chunk-s9nd7cyj.js → chunk-amek08r3.js} +26 -26
- package/dist/{chunk-8ehhzphf.js → chunk-ayp00xct.js} +24 -24
- package/dist/{chunk-tx1zp6k9.js → chunk-b4gy7qxa.js} +24 -24
- package/dist/{chunk-30kmyxwn.js → chunk-b5z7efgh.js} +30 -30
- package/dist/{chunk-pj2h71rb.js → chunk-bf0j7mtf.js} +1 -1
- package/dist/{chunk-gjkekgkm.js → chunk-bjzz5jnv.js} +27 -27
- package/dist/{chunk-deeqzmz8.js → chunk-bq3cw3y3.js} +24 -24
- package/dist/{chunk-qst4b9as.js → chunk-bsbwgk3z.js} +2 -2
- package/dist/{chunk-3dt68zn5.js → chunk-bw98bx70.js} +1 -1
- package/dist/{chunk-fps1h69y.js → chunk-c0yfbesp.js} +24 -24
- package/dist/{chunk-av497x84.js → chunk-c2cq3hqm.js} +2 -2
- package/dist/{chunk-y7r4awy2.js → chunk-ccfgt017.js} +2 -2
- package/dist/{chunk-pzna8nzx.js → chunk-cpwbzwz6.js} +24 -24
- package/dist/{chunk-fyq9f1r4.js → chunk-csph54hh.js} +1 -1
- package/dist/{chunk-j3ww1b8w.js → chunk-cy245pr6.js} +24 -24
- package/dist/{chunk-bakrp6by.js → chunk-cytvwyah.js} +9 -9
- package/dist/{chunk-4hwyxaeq.js → chunk-d1khc93r.js} +26 -26
- package/dist/{chunk-f6begf39.js → chunk-d1nbm1ys.js} +25 -25
- package/dist/{chunk-e7x5yj2h.js → chunk-d2pyx3nw.js} +25 -25
- package/dist/{chunk-wbhz1kax.js → chunk-d4zr9mt5.js} +2 -2
- package/dist/{chunk-nxrm815g.js → chunk-ddshg56k.js} +2 -2
- package/dist/{chunk-yc2ay8fz.js → chunk-dfmhj8rk.js} +1 -1
- package/dist/{chunk-m4th1xcy.js → chunk-dh2wjwph.js} +4 -4
- package/dist/{chunk-k4mg16w6.js → chunk-djma0ja2.js} +9 -9
- package/dist/{chunk-5kgmwm72.js → chunk-dmnbhjg3.js} +2 -2
- package/dist/{chunk-qt8j21yc.js → chunk-dppng82a.js} +31 -31
- package/dist/{chunk-91scsdr2.js → chunk-dpqdf1gn.js} +24 -24
- package/dist/{chunk-tbrzz94r.js → chunk-dwpz9tw1.js} +35 -35
- package/dist/{chunk-epkh4aat.js → chunk-e2gty32t.js} +4 -4
- package/dist/{chunk-rynkredv.js → chunk-e83pr4fx.js} +49 -49
- package/dist/{chunk-tgmxbtrk.js → chunk-efx0jwh9.js} +2 -2
- package/dist/{chunk-ptw6r102.js → chunk-en9j7fbc.js} +24 -24
- package/dist/{chunk-f05a5t1g.js → chunk-es4bgrgn.js} +25 -25
- package/dist/{chunk-gckjpwer.js → chunk-escng0z5.js} +26 -26
- package/dist/{chunk-03a7ns5s.js → chunk-f4q0kyes.js} +1 -1
- package/dist/{chunk-a4wba4ee.js → chunk-f6yfe8by.js} +5 -5
- package/dist/{chunk-91fnfkf9.js → chunk-f8ez712p.js} +27 -27
- package/dist/{chunk-ehvhhmg2.js → chunk-fddbvt9a.js} +24 -24
- package/dist/{chunk-jr6arg95.js → chunk-fn7kj69j.js} +3 -3
- package/dist/{chunk-g3zh09cs.js → chunk-fncs86kc.js} +24 -24
- package/dist/{chunk-aa2jk5ec.js → chunk-ftqv63sg.js} +25 -25
- package/dist/{chunk-sekayrhn.js → chunk-fybaxtbf.js} +3 -3
- package/dist/{chunk-6svr4g5y.js → chunk-fywbbx8f.js} +24 -24
- package/dist/{chunk-2whdc8zz.js → chunk-g086f8y9.js} +1 -1
- package/dist/{chunk-4grs5afv.js → chunk-g3vd8drd.js} +1 -1
- package/dist/{chunk-s1gf9fzs.js → chunk-g8q9e36c.js} +1 -1
- package/dist/{chunk-g2ddxeq0.js → chunk-ga7kzrjt.js} +3 -3
- package/dist/{chunk-nre8a00v.js → chunk-ghchj1ps.js} +27 -27
- package/dist/{chunk-b78pzw80.js → chunk-h4x5dems.js} +39 -39
- package/dist/{chunk-8wxvkw8d.js → chunk-h5agawnz.js} +2 -2
- package/dist/{chunk-5s80z8bj.js → chunk-h6ewt42y.js} +24 -24
- package/dist/{chunk-s23ksgx0.js → chunk-h7q4j9tv.js} +36 -36
- package/dist/{chunk-e0nvbjhe.js → chunk-h9f93nb3.js} +2 -2
- package/dist/{chunk-pb5csk8f.js → chunk-h9teyqgw.js} +24 -24
- package/dist/{chunk-zwm57zy3.js → chunk-hbzfsxwr.js} +24 -24
- package/dist/{chunk-55pz9658.js → chunk-hgch0xzr.js} +1 -1
- package/dist/{chunk-7kdnj6r5.js → chunk-hh3snp8a.js} +2 -2
- package/dist/{chunk-94jwb8h8.js → chunk-hnv54bek.js} +1 -1
- package/dist/{chunk-06daydfw.js → chunk-ht5nwqf4.js} +25 -25
- package/dist/{chunk-ysvkq1vy.js → chunk-hvxc53vx.js} +4 -4
- package/dist/{chunk-gm3xyt0n.js → chunk-j58jk5be.js} +7 -7
- package/dist/{chunk-b3x56xw6.js → chunk-jk4kvshe.js} +25 -25
- package/dist/{chunk-a8w9fre5.js → chunk-jw9243fa.js} +2 -2
- package/dist/{chunk-cy9y3g9c.js → chunk-jx15pd6n.js} +3 -3
- package/dist/{chunk-3p3r8awv.js → chunk-k11kvep6.js} +1 -1
- package/dist/{chunk-vdw3tpqy.js → chunk-k3bczqwd.js} +28 -28
- package/dist/{chunk-zhmhyt38.js → chunk-k8nvkgwj.js} +38 -38
- package/dist/{chunk-8vwcxhjg.js → chunk-k91n6rvs.js} +27 -27
- package/dist/{chunk-pa2aeq9e.js → chunk-k9bxfjt0.js} +32 -32
- package/dist/{chunk-yw9303pb.js → chunk-kce43ast.js} +11 -11
- package/dist/{chunk-wckky1kf.js → chunk-kffwpfka.js} +3 -3
- package/dist/{chunk-6837xx50.js → chunk-kj7ashp0.js} +17 -17
- package/dist/{chunk-hsyh3ht5.js → chunk-kjfs2vaf.js} +24 -24
- package/dist/{chunk-htqgje52.js → chunk-kmkcgttc.js} +26 -26
- package/dist/{chunk-ra1n1z0c.js → chunk-kmmab3q2.js} +2 -2
- package/dist/{chunk-96ac88tt.js → chunk-kp1wvy2w.js} +1 -1
- package/dist/{chunk-pgf6xysn.js → chunk-kv8wc1yf.js} +2 -2
- package/dist/{chunk-32rcf02k.js → chunk-kxx8f81d.js} +17 -17
- package/dist/{chunk-9ks4hkyv.js → chunk-m4ryy3kz.js} +25 -25
- package/dist/{chunk-rf9vga8z.js → chunk-mm5tmm1t.js} +51 -27
- package/dist/{chunk-a5vsq9cy.js → chunk-mn6tm502.js} +2 -2
- package/dist/{chunk-85jw2w2x.js → chunk-mq1a96hp.js} +35 -35
- package/dist/{chunk-p3bcc8q8.js → chunk-mrpfbdqg.js} +26 -26
- package/dist/{chunk-3m5d2kwd.js → chunk-mw6mm2qc.js} +26 -26
- package/dist/{chunk-mq26zsme.js → chunk-n7jt62pr.js} +27 -27
- package/dist/{chunk-c2e4y5dn.js → chunk-n9c5d76d.js} +3 -3
- package/dist/{chunk-9nvdx365.js → chunk-ndpf0v43.js} +24 -24
- package/dist/{chunk-qt0k08nw.js → chunk-nhyrvj9d.js} +38 -38
- package/dist/{chunk-4v0pzqmq.js → chunk-nkd5wmr1.js} +2 -2
- package/dist/{chunk-degs4pmz.js → chunk-nkreca9z.js} +4 -4
- package/dist/{chunk-0bf745n6.js → chunk-np06ryz0.js} +2 -2
- package/dist/{chunk-c0jj717y.js → chunk-nq2envz5.js} +2 -2
- package/dist/{chunk-c7ncsekp.js → chunk-nw852ghf.js} +39 -25
- package/dist/{chunk-ydgsnc70.js → chunk-p2b21m3t.js} +3 -3
- package/dist/{chunk-msyn852e.js → chunk-p3re6rah.js} +1 -1
- package/dist/{chunk-8fvt9r29.js → chunk-p6hhdmab.js} +30 -30
- package/dist/{chunk-cpmv1jg1.js → chunk-p71ta08d.js} +1 -1
- package/dist/{chunk-3djy352h.js → chunk-p7gc7s7v.js} +5 -5
- package/dist/{chunk-s6rchtpq.js → chunk-pbe4e87s.js} +24 -24
- package/dist/{chunk-das7sqxf.js → chunk-pg0q4pwk.js} +2 -2
- package/dist/{chunk-8nsmkgac.js → chunk-pjmpmm7h.js} +27 -27
- package/dist/{chunk-srtcyav5.js → chunk-ps93mdfb.js} +24 -24
- package/dist/{chunk-v890zxjh.js → chunk-pv8r67ks.js} +24 -24
- package/dist/{chunk-b66fr7fs.js → chunk-px6vr4bb.js} +2 -2
- package/dist/{chunk-a8z3cmge.js → chunk-qfdasm1m.js} +8 -8
- package/dist/{chunk-40txw5vw.js → chunk-qgxh55n4.js} +26 -26
- package/dist/{chunk-5p9szceb.js → chunk-qzb401r2.js} +1 -1
- package/dist/{chunk-nwj1t73f.js → chunk-r0pash3d.js} +25 -25
- package/dist/{chunk-3qksgf50.js → chunk-r306gjpc.js} +1 -1
- package/dist/{chunk-jh3g1h2m.js → chunk-r5c5e00x.js} +2 -2
- package/dist/{chunk-wg0d4shw.js → chunk-r5w7sh0d.js} +2 -2
- package/dist/{chunk-1dbz25dk.js → chunk-r858nh35.js} +24 -24
- package/dist/{chunk-mkcbbspz.js → chunk-rf8vzkc0.js} +24 -24
- package/dist/{chunk-8e2v15zy.js → chunk-rjx99ypw.js} +1 -1
- package/dist/{chunk-q6kttwf6.js → chunk-s4g85h7g.js} +2 -2
- package/dist/{chunk-cj93y6v4.js → chunk-s80qrsmv.js} +2 -2
- package/dist/{chunk-bf68vqnt.js → chunk-skzyqbm0.js} +174 -436
- package/dist/{chunk-43pqyz7x.js → chunk-swn4hx9p.js} +2 -2
- package/dist/{chunk-y4b897ek.js → chunk-t45y15j4.js} +1 -1
- package/dist/{chunk-p173c51d.js → chunk-t725ckx0.js} +2 -2
- package/dist/{chunk-ys6ctp3c.js → chunk-t89aybme.js} +3 -3
- package/dist/{chunk-5chc8z8n.js → chunk-tjxtyv3f.js} +1 -1
- package/dist/{chunk-3t41eh7n.js → chunk-tmb177bz.js} +25 -25
- package/dist/{chunk-dw02dt93.js → chunk-tmm7pgjj.js} +27 -27
- package/dist/{chunk-981dc4d2.js → chunk-tq2jbqpq.js} +4 -4
- package/dist/{chunk-xmj20j9w.js → chunk-tq58gq2m.js} +1 -1
- package/dist/{chunk-hdkf83nm.js → chunk-tqxc89x7.js} +24 -24
- package/dist/{chunk-x33anyzd.js → chunk-tr893w7r.js} +24 -24
- package/dist/{chunk-67ex9rnd.js → chunk-tw38dfnj.js} +25 -25
- package/dist/{chunk-2hdktzjd.js → chunk-tyw4d27r.js} +24 -24
- package/dist/{chunk-q17esyxh.js → chunk-v53b2jkf.js} +2 -2
- package/dist/{chunk-3rr330xr.js → chunk-v839cwwy.js} +25 -25
- package/dist/{chunk-d61srzjw.js → chunk-v8y338dh.js} +114 -61
- package/dist/{chunk-7rh6ws9p.js → chunk-va27rhej.js} +33 -33
- package/dist/{chunk-7x4tde6q.js → chunk-va5h75dc.js} +24 -24
- package/dist/{chunk-60fbc7y7.js → chunk-vgsb4fz8.js} +24 -24
- package/dist/{chunk-zn27z1n9.js → chunk-vh877sjm.js} +26 -26
- package/dist/chunk-vjwartm5.js +455 -0
- package/dist/{chunk-84r7ze95.js → chunk-vmr0kw02.js} +1 -1
- package/dist/{chunk-z47zsr3f.js → chunk-w13azkx7.js} +24 -24
- package/dist/{chunk-2y6bv8mp.js → chunk-w16xyvrd.js} +25 -25
- package/dist/{chunk-s7xzavdg.js → chunk-w2jgsss9.js} +2 -2
- package/dist/{chunk-zzykgkph.js → chunk-w3a8zcg8.js} +5 -5
- package/dist/{chunk-8kqdnkkh.js → chunk-w82418rj.js} +1 -1
- package/dist/{chunk-fnc95ck8.js → chunk-we2bpgx8.js} +1 -1
- package/dist/{chunk-9zjvwht8.js → chunk-wfxhnna2.js} +1 -1
- package/dist/{chunk-hkbjsxr5.js → chunk-wsxpvh37.js} +11 -10
- package/dist/{chunk-2jx4kafd.js → chunk-wy039c1a.js} +27 -27
- package/dist/{chunk-b7van57x.js → chunk-x1ppem6p.js} +2 -2
- package/dist/{chunk-nnw29ezr.js → chunk-x3vdpejs.js} +2 -2
- package/dist/{chunk-9zvsj7b5.js → chunk-x5azrnp3.js} +24 -24
- package/dist/{chunk-gafvwfpg.js → chunk-x83tm474.js} +1 -1
- package/dist/{chunk-mf1zbwh9.js → chunk-xcda44wq.js} +24 -24
- package/dist/{chunk-bzm15s0d.js → chunk-xneqj8f1.js} +1 -1
- package/dist/{chunk-2gdcc9xa.js → chunk-xp04ynsd.js} +24 -24
- package/dist/{chunk-whas4b6c.js → chunk-xpbw7frh.js} +3 -3
- package/dist/{chunk-dcy4yhmx.js → chunk-xqmvewjg.js} +3 -3
- package/dist/{chunk-6fecngep.js → chunk-xv414749.js} +1 -1
- package/dist/{chunk-e51ayxz6.js → chunk-xw20s6zh.js} +2 -2
- package/dist/{chunk-61v89yt3.js → chunk-xxx1jxjj.js} +1 -1
- package/dist/{chunk-3dyj1fqs.js → chunk-xzpvje25.js} +2 -2
- package/dist/{chunk-kvb1xp5b.js → chunk-y1m13kac.js} +24 -24
- package/dist/{chunk-xz775vz4.js → chunk-y3gb3rcg.js} +24 -24
- package/dist/{chunk-e92z3mma.js → chunk-y71rmvs7.js} +24 -24
- package/dist/{chunk-bnf2s6m6.js → chunk-ycf8vzqn.js} +25 -25
- package/dist/{chunk-jytvzpqv.js → chunk-yjdcape6.js} +2 -2
- package/dist/{chunk-c58vpgh1.js → chunk-ynrkjkgy.js} +24 -24
- package/dist/{chunk-5dm6af6g.js → chunk-yr0wym15.js} +1 -1
- package/dist/{chunk-gqqy616g.js → chunk-ywh5tj6z.js} +5 -5
- package/dist/{chunk-fqcserhk.js → chunk-yxds0gzb.js} +4 -4
- package/dist/{chunk-91wvyz0j.js → chunk-yyashkce.js} +28 -28
- package/dist/{chunk-qc9dbg7c.js → chunk-z4cm5ta4.js} +2 -2
- package/dist/{chunk-t6keftkw.js → chunk-zekhmnqv.js} +3 -3
- package/dist/{chunk-s4ncrmd8.js → chunk-zeptytrq.js} +2 -2
- package/dist/{chunk-sq3cem22.js → chunk-zmq9hvbe.js} +25 -25
- package/dist/{chunk-23mmypzf.js → chunk-znfm1fmc.js} +1 -1
- package/dist/{chunk-xvwnb277.js → chunk-znmbgvhh.js} +2 -2
- package/dist/{chunk-v1mewt1d.js → chunk-zwn8gdmb.js} +77 -77
- package/dist/cli-node.js +418 -10
- package/dist/cli.js +9 -9
- package/package.json +27 -20
- package/dist/chunk-rs3fergy.js +0 -32
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-07y6jv3h.js";
|
|
3
3
|
import {
|
|
4
4
|
cliError,
|
|
5
5
|
cliOk
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
filterExistingPaths,
|
|
16
16
|
getKnownPathsForRepo,
|
|
17
17
|
updateGithubRepoPathMapping
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-affmygx1.js";
|
|
19
19
|
import {
|
|
20
20
|
computeInitialTeamContext,
|
|
21
21
|
createRemoteSessionConfig,
|
|
22
22
|
getModelDeprecationWarning,
|
|
23
23
|
getRelevantTips,
|
|
24
24
|
refreshExampleCommands
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-a6q11te3.js";
|
|
26
26
|
import {
|
|
27
27
|
processResumedConversation,
|
|
28
28
|
skillChangeDetector
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2gj32j1b.js";
|
|
30
30
|
import"./chunk-n1bh6pgv.js";
|
|
31
31
|
import {
|
|
32
32
|
installAsciicastRecorder
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
} from "./chunk-67zpbdn4.js";
|
|
37
37
|
import {
|
|
38
38
|
createStatsStore
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3m41h5pq.js";
|
|
40
40
|
import {
|
|
41
41
|
onChangeAppState
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import"./chunk-
|
|
42
|
+
} from "./chunk-ga7kzrjt.js";
|
|
43
|
+
import"./chunk-xv414749.js";
|
|
44
44
|
import {
|
|
45
45
|
seedEarlyInput,
|
|
46
46
|
stopCapturingEarlyInput
|
|
@@ -49,25 +49,25 @@ import"./chunk-3mgywd32.js";
|
|
|
49
49
|
import {
|
|
50
50
|
init_partition,
|
|
51
51
|
partition_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-175vt0mw.js";
|
|
53
53
|
import {
|
|
54
54
|
init_setup,
|
|
55
55
|
setupClaudeInChrome,
|
|
56
56
|
shouldAutoEnableClaudeInChrome,
|
|
57
57
|
shouldEnableClaudeInChrome
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-znfm1fmc.js";
|
|
59
59
|
import {
|
|
60
60
|
VALID_INSTALLABLE_SCOPES,
|
|
61
61
|
VALID_UPDATE_SCOPES
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import"./chunk-
|
|
62
|
+
} from "./chunk-e2gty32t.js";
|
|
63
|
+
import"./chunk-fn7kj69j.js";
|
|
64
64
|
import {
|
|
65
65
|
init_releaseNotes,
|
|
66
66
|
migrateChangelogFromConfig
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import"./chunk-
|
|
69
|
-
import"./chunk-
|
|
70
|
-
import"./chunk-
|
|
67
|
+
} from "./chunk-jx15pd6n.js";
|
|
68
|
+
import"./chunk-w2jgsss9.js";
|
|
69
|
+
import"./chunk-dmnbhjg3.js";
|
|
70
|
+
import"./chunk-np06ryz0.js";
|
|
71
71
|
import {
|
|
72
72
|
BROWSER_TOOLS,
|
|
73
73
|
init_src as init_src2
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
import {
|
|
76
76
|
init_sink,
|
|
77
77
|
initializeAnalyticsGates
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-ddshg56k.js";
|
|
79
79
|
import {
|
|
80
80
|
ASK_USER_QUESTION_TOOL_NAME,
|
|
81
81
|
AppStateProvider,
|
|
@@ -336,41 +336,41 @@ import {
|
|
|
336
336
|
validateUuid,
|
|
337
337
|
waitForPolicyLimitsToLoad,
|
|
338
338
|
waitForRemoteManagedSettingsToLoad
|
|
339
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-3w81r965.js";
|
|
340
340
|
import"./chunk-qe3qr56q.js";
|
|
341
341
|
import {
|
|
342
342
|
getSessionIngressAuthToken,
|
|
343
343
|
init_sessionIngressAuth
|
|
344
|
-
} from "./chunk-
|
|
345
|
-
import"./chunk-
|
|
344
|
+
} from "./chunk-rjx99ypw.js";
|
|
345
|
+
import"./chunk-qzb401r2.js";
|
|
346
346
|
import"./chunk-et824jj8.js";
|
|
347
347
|
import {
|
|
348
348
|
exports_teammateModeSnapshot,
|
|
349
349
|
init_teammateModeSnapshot
|
|
350
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-4ymrn7qv.js";
|
|
351
351
|
import {
|
|
352
352
|
BASE_CHROME_PROMPT,
|
|
353
353
|
CLAUDE_IN_CHROME_SKILL_HINT,
|
|
354
354
|
init_prompt as init_prompt6
|
|
355
355
|
} from "./chunk-var1et7e.js";
|
|
356
|
-
import"./chunk-
|
|
356
|
+
import"./chunk-hgch0xzr.js";
|
|
357
357
|
import"./chunk-ehtwnxpg.js";
|
|
358
|
-
import"./chunk-
|
|
358
|
+
import"./chunk-x1ppem6p.js";
|
|
359
359
|
import {
|
|
360
360
|
createEmptyAttributionState,
|
|
361
361
|
init_commitAttribution
|
|
362
|
-
} from "./chunk-
|
|
362
|
+
} from "./chunk-9tbptg5y.js";
|
|
363
363
|
import"./chunk-2f6hs25r.js";
|
|
364
364
|
import {
|
|
365
365
|
DEFAULT_TASKS_MODE_TASK_LIST_ID,
|
|
366
366
|
TASK_STATUSES,
|
|
367
367
|
init_tasks
|
|
368
|
-
} from "./chunk-
|
|
368
|
+
} from "./chunk-p71ta08d.js";
|
|
369
369
|
import"./chunk-2gzv8nrw.js";
|
|
370
370
|
import {
|
|
371
371
|
initSentry,
|
|
372
372
|
init_sentry
|
|
373
|
-
} from "./chunk-
|
|
373
|
+
} from "./chunk-jw9243fa.js";
|
|
374
374
|
import {
|
|
375
375
|
init_worktreeModeEnabled,
|
|
376
376
|
isWorktreeModeEnabled
|
|
@@ -383,44 +383,44 @@ import {
|
|
|
383
383
|
import {
|
|
384
384
|
init_referral,
|
|
385
385
|
prefetchPassesEligibility
|
|
386
|
-
} from "./chunk-
|
|
386
|
+
} from "./chunk-hh3snp8a.js";
|
|
387
387
|
import"./chunk-9r28w6ye.js";
|
|
388
|
-
import"./chunk-
|
|
389
|
-
import"./chunk-
|
|
388
|
+
import"./chunk-tq58gq2m.js";
|
|
389
|
+
import"./chunk-g8q9e36c.js";
|
|
390
390
|
import"./chunk-qnbe7d8a.js";
|
|
391
391
|
import"./chunk-n217n8sr.js";
|
|
392
392
|
import"./chunk-ps49ymvj.js";
|
|
393
393
|
import"./chunk-t4kcvmes.js";
|
|
394
|
-
import"./chunk-
|
|
394
|
+
import"./chunk-0vq5gwqh.js";
|
|
395
395
|
import"./chunk-neak2qc4.js";
|
|
396
|
-
import"./chunk-
|
|
396
|
+
import"./chunk-vmr0kw02.js";
|
|
397
397
|
import"./chunk-ers3hn71.js";
|
|
398
398
|
import {
|
|
399
399
|
fetchSession,
|
|
400
400
|
init_api,
|
|
401
401
|
prepareApiRequest
|
|
402
|
-
} from "./chunk-
|
|
402
|
+
} from "./chunk-bf0j7mtf.js";
|
|
403
403
|
import"./chunk-acv242nr.js";
|
|
404
404
|
import {
|
|
405
405
|
getTelemetryAttributes,
|
|
406
406
|
init_betaSessionTracing,
|
|
407
407
|
init_telemetryAttributes,
|
|
408
408
|
isBetaTracingEnabled
|
|
409
|
-
} from "./chunk-
|
|
409
|
+
} from "./chunk-pg0q4pwk.js";
|
|
410
410
|
import"./chunk-ykr5qx9v.js";
|
|
411
411
|
import"./chunk-j6v1eh21.js";
|
|
412
412
|
import"./chunk-4jm600zv.js";
|
|
413
|
-
import"./chunk-
|
|
413
|
+
import"./chunk-8c1y1nvm.js";
|
|
414
414
|
import"./chunk-cek4ewa1.js";
|
|
415
|
-
import"./chunk-
|
|
415
|
+
import"./chunk-1c4scy79.js";
|
|
416
416
|
import"./chunk-rkmwx1yz.js";
|
|
417
417
|
import"./chunk-8bcxzxe5.js";
|
|
418
|
-
import"./chunk-
|
|
419
|
-
import"./chunk-
|
|
420
|
-
import"./chunk-
|
|
421
|
-
import"./chunk-
|
|
418
|
+
import"./chunk-agbtp3r5.js";
|
|
419
|
+
import"./chunk-p3re6rah.js";
|
|
420
|
+
import"./chunk-r306gjpc.js";
|
|
421
|
+
import"./chunk-6paghnkb.js";
|
|
422
422
|
import"./chunk-x4aqy5tg.js";
|
|
423
|
-
import"./chunk-
|
|
423
|
+
import"./chunk-a4h3j9c0.js";
|
|
424
424
|
import {
|
|
425
425
|
AGENT_TOOL_NAME,
|
|
426
426
|
SettingsSchema,
|
|
@@ -526,7 +526,7 @@ import {
|
|
|
526
526
|
updateSettingsForSource,
|
|
527
527
|
validateForceLoginOrg,
|
|
528
528
|
withOAuth401Retry
|
|
529
|
-
} from "./chunk-
|
|
529
|
+
} from "./chunk-wsxpvh37.js";
|
|
530
530
|
import {
|
|
531
531
|
init_json,
|
|
532
532
|
safeParseJSON
|
|
@@ -697,7 +697,6 @@ import {
|
|
|
697
697
|
getKairosActive,
|
|
698
698
|
getMainLoopModelOverride,
|
|
699
699
|
getOriginalCwd,
|
|
700
|
-
getProjectRoot,
|
|
701
700
|
getSdkBetas,
|
|
702
701
|
getSessionCounter,
|
|
703
702
|
getSessionId,
|
|
@@ -3334,8 +3333,8 @@ var init = memoize_default(async () => {
|
|
|
3334
3333
|
setupGracefulShutdown();
|
|
3335
3334
|
profileCheckpoint("init_after_graceful_shutdown");
|
|
3336
3335
|
Promise.all([
|
|
3337
|
-
import("./chunk-
|
|
3338
|
-
import("./chunk-
|
|
3336
|
+
import("./chunk-f4q0kyes.js"),
|
|
3337
|
+
import("./chunk-k11kvep6.js")
|
|
3339
3338
|
]).then(([fp, gb]) => {
|
|
3340
3339
|
fp.initialize1PEventLogging();
|
|
3341
3340
|
gb.onGrowthBookRefresh(() => {
|
|
@@ -3389,7 +3388,7 @@ var init = memoize_default(async () => {
|
|
|
3389
3388
|
setShellIfWindows();
|
|
3390
3389
|
registerCleanup(shutdownLspServerManager);
|
|
3391
3390
|
registerCleanup(async () => {
|
|
3392
|
-
const { cleanupSessionTeams } = await import("./chunk-
|
|
3391
|
+
const { cleanupSessionTeams } = await import("./chunk-wfxhnna2.js");
|
|
3393
3392
|
await cleanupSessionTeams();
|
|
3394
3393
|
});
|
|
3395
3394
|
if (isScratchpadEnabled()) {
|
|
@@ -3411,7 +3410,7 @@ var init = memoize_default(async () => {
|
|
|
3411
3410
|
gracefulShutdownSync(1);
|
|
3412
3411
|
return;
|
|
3413
3412
|
}
|
|
3414
|
-
return import("./chunk-
|
|
3413
|
+
return import("./chunk-2zf696x5.js").then((m) => m.showInvalidConfigDialog({ error }));
|
|
3415
3414
|
} else {
|
|
3416
3415
|
throw error;
|
|
3417
3416
|
}
|
|
@@ -3451,7 +3450,7 @@ async function doInitializeTelemetry() {
|
|
|
3451
3450
|
}
|
|
3452
3451
|
}
|
|
3453
3452
|
async function setMeterState() {
|
|
3454
|
-
const { initializeTelemetry } = await import("./chunk-
|
|
3453
|
+
const { initializeTelemetry } = await import("./chunk-62p7c3ma.js");
|
|
3455
3454
|
const meter = await initializeTelemetry();
|
|
3456
3455
|
if (meter) {
|
|
3457
3456
|
const createAttributedCounter = (name, options) => {
|
|
@@ -3478,8 +3477,8 @@ init_history();
|
|
|
3478
3477
|
// src/replLauncher.tsx
|
|
3479
3478
|
var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
3480
3479
|
async function launchRepl(root, appProps, replProps, renderAndRun) {
|
|
3481
|
-
const { App } = await import("./chunk-
|
|
3482
|
-
const { REPL } = await import("./chunk-
|
|
3480
|
+
const { App } = await import("./chunk-k91n6rvs.js");
|
|
3481
|
+
const { REPL } = await import("./chunk-zwn8gdmb.js");
|
|
3483
3482
|
await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
|
|
3484
3483
|
...appProps,
|
|
3485
3484
|
children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(REPL, {
|
|
@@ -3989,7 +3988,7 @@ function completeOnboarding() {
|
|
|
3989
3988
|
saveGlobalConfig((current) => ({
|
|
3990
3989
|
...current,
|
|
3991
3990
|
hasCompletedOnboarding: true,
|
|
3992
|
-
lastOnboardingVersion: "4.0.
|
|
3991
|
+
lastOnboardingVersion: "4.0.7"
|
|
3993
3992
|
}));
|
|
3994
3993
|
}
|
|
3995
3994
|
function showDialog(root, renderer) {
|
|
@@ -4038,7 +4037,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
4038
4037
|
let onboardingShown = false;
|
|
4039
4038
|
if (!config.theme || !config.hasCompletedOnboarding) {
|
|
4040
4039
|
onboardingShown = true;
|
|
4041
|
-
const { Onboarding } = await import("./chunk-
|
|
4040
|
+
const { Onboarding } = await import("./chunk-tmm7pgjj.js");
|
|
4042
4041
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Onboarding, {
|
|
4043
4042
|
onDone: () => {
|
|
4044
4043
|
completeOnboarding();
|
|
@@ -4048,7 +4047,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
4048
4047
|
}
|
|
4049
4048
|
if (!isEnvTruthy(process.env.CLAUBBIT)) {
|
|
4050
4049
|
if (!checkHasTrustDialogAccepted()) {
|
|
4051
|
-
const { TrustDialog } = await import("./chunk-
|
|
4050
|
+
const { TrustDialog } = await import("./chunk-cpwbzwz6.js");
|
|
4052
4051
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(TrustDialog, {
|
|
4053
4052
|
commands,
|
|
4054
4053
|
onDone: done
|
|
@@ -4064,7 +4063,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
4064
4063
|
}
|
|
4065
4064
|
if (await shouldShowClaudeMdExternalIncludesWarning()) {
|
|
4066
4065
|
const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
|
|
4067
|
-
const { ClaudeMdExternalIncludesDialog } = await import("./chunk-
|
|
4066
|
+
const { ClaudeMdExternalIncludesDialog } = await import("./chunk-3mpfwtgp.js");
|
|
4068
4067
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeMdExternalIncludesDialog, {
|
|
4069
4068
|
onDone: done,
|
|
4070
4069
|
isStandaloneDialog: true,
|
|
@@ -4079,7 +4078,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
4079
4078
|
applyConfigEnvironmentVariables();
|
|
4080
4079
|
setImmediate(() => initializeTelemetryAfterTrust());
|
|
4081
4080
|
if (await isQualifiedForGrove()) {
|
|
4082
|
-
const { GroveDialog } = await import("./chunk-
|
|
4081
|
+
const { GroveDialog } = await import("./chunk-ycf8vzqn.js");
|
|
4083
4082
|
const decision = await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(GroveDialog, {
|
|
4084
4083
|
showIfAlreadyViewed: false,
|
|
4085
4084
|
location: onboardingShown ? "onboarding" : "policy_update_modal",
|
|
@@ -4095,7 +4094,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
4095
4094
|
const customApiKeyTruncated = normalizeApiKeyForConfig(process.env.ANTHROPIC_API_KEY);
|
|
4096
4095
|
const keyStatus = getCustomApiKeyStatus(customApiKeyTruncated);
|
|
4097
4096
|
if (keyStatus === "new") {
|
|
4098
|
-
const { ApproveApiKey } = await import("./chunk-
|
|
4097
|
+
const { ApproveApiKey } = await import("./chunk-8xv0wmjc.js");
|
|
4099
4098
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ApproveApiKey, {
|
|
4100
4099
|
customApiKeyTruncated,
|
|
4101
4100
|
onDone: done
|
|
@@ -4103,7 +4102,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
4103
4102
|
}
|
|
4104
4103
|
}
|
|
4105
4104
|
if ((permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) && !hasSkipDangerousModePermissionPrompt()) {
|
|
4106
|
-
const { BypassPermissionsModeDialog } = await import("./chunk-
|
|
4105
|
+
const { BypassPermissionsModeDialog } = await import("./chunk-en9j7fbc.js");
|
|
4107
4106
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(BypassPermissionsModeDialog, {
|
|
4108
4107
|
onAccept: done
|
|
4109
4108
|
}, undefined, false, undefined, this));
|
|
@@ -4115,8 +4114,8 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
4115
4114
|
}
|
|
4116
4115
|
if (devChannels && devChannels.length > 0) {
|
|
4117
4116
|
const [{ isChannelsEnabled }, { getClaudeAIOAuthTokens: getClaudeAIOAuthTokens2 }] = await Promise.all([
|
|
4118
|
-
import("./chunk-
|
|
4119
|
-
import("./chunk-
|
|
4117
|
+
import("./chunk-2d3fy7ns.js"),
|
|
4118
|
+
import("./chunk-44r9krxs.js")
|
|
4120
4119
|
]);
|
|
4121
4120
|
if (!isChannelsEnabled() || !getClaudeAIOAuthTokens2()?.accessToken) {
|
|
4122
4121
|
setAllowedChannels([
|
|
@@ -4125,7 +4124,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
4125
4124
|
]);
|
|
4126
4125
|
setHasDevChannels(true);
|
|
4127
4126
|
} else {
|
|
4128
|
-
const { DevChannelsDialog } = await import("./chunk-
|
|
4127
|
+
const { DevChannelsDialog } = await import("./chunk-ynrkjkgy.js");
|
|
4129
4128
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(DevChannelsDialog, {
|
|
4130
4129
|
channels: devChannels,
|
|
4131
4130
|
onAccept: () => {
|
|
@@ -4141,7 +4140,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
4141
4140
|
}
|
|
4142
4141
|
}
|
|
4143
4142
|
if (claudeInChrome && !getGlobalConfig().hasCompletedClaudeInChromeOnboarding) {
|
|
4144
|
-
const { ClaudeInChromeOnboarding } = await import("./chunk-
|
|
4143
|
+
const { ClaudeInChromeOnboarding } = await import("./chunk-bsbwgk3z.js");
|
|
4145
4144
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeInChromeOnboarding, {
|
|
4146
4145
|
onDone: done
|
|
4147
4146
|
}, undefined, false, undefined, this));
|
|
@@ -4202,7 +4201,7 @@ function getRenderContext(exitOnCtrlC) {
|
|
|
4202
4201
|
init_KeybindingProviderSetup();
|
|
4203
4202
|
var jsx_dev_runtime7 = __toESM(require_jsx_dev_runtime(), 1);
|
|
4204
4203
|
async function launchInvalidSettingsDialog(root, props) {
|
|
4205
|
-
const { InvalidSettingsDialog } = await import("./chunk-
|
|
4204
|
+
const { InvalidSettingsDialog } = await import("./chunk-5daxqv14.js");
|
|
4206
4205
|
return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(InvalidSettingsDialog, {
|
|
4207
4206
|
settingsErrors: props.settingsErrors,
|
|
4208
4207
|
onContinue: done,
|
|
@@ -4233,7 +4232,7 @@ async function launchAssistantInstallWizard(root) {
|
|
|
4233
4232
|
return Promise.race([resultPromise, errorPromise]);
|
|
4234
4233
|
}
|
|
4235
4234
|
async function launchTeleportResumeWrapper(root) {
|
|
4236
|
-
const { TeleportResumeWrapper } = await import("./chunk-
|
|
4235
|
+
const { TeleportResumeWrapper } = await import("./chunk-fddbvt9a.js");
|
|
4237
4236
|
return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportResumeWrapper, {
|
|
4238
4237
|
onComplete: done,
|
|
4239
4238
|
onCancel: () => done(null),
|
|
@@ -4241,7 +4240,7 @@ async function launchTeleportResumeWrapper(root) {
|
|
|
4241
4240
|
}, undefined, false, undefined, this));
|
|
4242
4241
|
}
|
|
4243
4242
|
async function launchTeleportRepoMismatchDialog(root, props) {
|
|
4244
|
-
const { TeleportRepoMismatchDialog } = await import("./chunk-
|
|
4243
|
+
const { TeleportRepoMismatchDialog } = await import("./chunk-jk4kvshe.js");
|
|
4245
4244
|
return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportRepoMismatchDialog, {
|
|
4246
4245
|
targetRepo: props.targetRepo,
|
|
4247
4246
|
initialPaths: props.initialPaths,
|
|
@@ -4252,8 +4251,8 @@ async function launchTeleportRepoMismatchDialog(root, props) {
|
|
|
4252
4251
|
async function launchResumeChooser(root, appProps, worktreePathsPromise, resumeProps) {
|
|
4253
4252
|
const [worktreePaths, { ResumeConversation }, { App }] = await Promise.all([
|
|
4254
4253
|
worktreePathsPromise,
|
|
4255
|
-
import("./chunk-
|
|
4256
|
-
import("./chunk-
|
|
4254
|
+
import("./chunk-4y1cxfew.js"),
|
|
4255
|
+
import("./chunk-k91n6rvs.js")
|
|
4257
4256
|
]);
|
|
4258
4257
|
await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(App, {
|
|
4259
4258
|
getFpsMetrics: appProps.getFpsMetrics,
|
|
@@ -4281,10 +4280,10 @@ init_client2();
|
|
|
4281
4280
|
// src/skills/bundled/index.ts
|
|
4282
4281
|
init_setup();
|
|
4283
4282
|
|
|
4284
|
-
// src/costrict/
|
|
4283
|
+
// src/costrict/skills/codeReviewSecurity.ts
|
|
4285
4284
|
init_bundledSkills();
|
|
4286
4285
|
|
|
4287
|
-
// src/costrict/
|
|
4286
|
+
// src/costrict/skills/builtin.ts
|
|
4288
4287
|
var SKILL_FILE_0 = `# \u68C0\u67E5\u9879\r
|
|
4289
4288
|
\u8BF7\u4E25\u683C\u6309\u7167\u4E0B\u5217\u68C0\u67E5\u9879\u5BF9\u5386\u53F2\u5BF9\u8BDD\u8BB0\u5F55\u548C\u8F93\u51FA\u7684\u62A5\u544A\u7ED3\u679C\u8FDB\u884C\u68C0\u67E5\uFF0C\u9010\u9879\u786E\u8BA4\u662F\u5426\u6EE1\u8DB3\uFF0C\u5426\u5219\u4F60\u4F1A\u88AB\u6263\u9664\u5341\u4EBF\u7F8E\u91D1\r
|
|
4290
4289
|
\r
|
|
@@ -41696,15 +41695,16 @@ var BUNDLED_SKILLS = {
|
|
|
41696
41695
|
}
|
|
41697
41696
|
};
|
|
41698
41697
|
|
|
41699
|
-
// src/costrict/
|
|
41698
|
+
// src/costrict/skills/codeReviewSecurity.ts
|
|
41700
41699
|
function registerCodeReviewSecuritySkill() {
|
|
41701
41700
|
const files = BUNDLED_SKILLS["security-review"] ?? {};
|
|
41702
41701
|
const skillMd = files["SKILL.md"] ?? "";
|
|
41703
41702
|
registerBundledSkill({
|
|
41704
|
-
name: "
|
|
41705
|
-
description: "
|
|
41706
|
-
whenToUse: "Use when the user requests a code audit, security audit,
|
|
41703
|
+
name: "security-review",
|
|
41704
|
+
description: "CoStrict Security \u2014 identifies code vulnerabilities including SQL injection, XSS, command injection, SSRF, path traversal, deserialization, and business logic flaws",
|
|
41705
|
+
whenToUse: "Use when the user requests a code audit, security audit, vulnerability scan, or wants to review vulnerabilities before deployment. Also triggers on /security-review.",
|
|
41707
41706
|
userInvocable: true,
|
|
41707
|
+
disableModelInvocation: true,
|
|
41708
41708
|
files,
|
|
41709
41709
|
async getPromptForCommand() {
|
|
41710
41710
|
return [{ type: "text", text: skillMd }];
|
|
@@ -43760,7 +43760,7 @@ ${args}`);
|
|
|
43760
43760
|
});
|
|
43761
43761
|
}
|
|
43762
43762
|
|
|
43763
|
-
// src/costrict/
|
|
43763
|
+
// src/costrict/skills/strictPlan.ts
|
|
43764
43764
|
init_bundledSkills();
|
|
43765
43765
|
function registerStrictPlanSkill() {
|
|
43766
43766
|
registerBundledSkill({
|
|
@@ -43768,9 +43768,10 @@ function registerStrictPlanSkill() {
|
|
|
43768
43768
|
description: '\u521B\u5EFA\u7ED3\u6784\u5316\u9700\u6C42\u63D0\u6848\u5E76\u534F\u8C03\u5B9E\u65BD - \u9075\u5FAA"\u7406\u89E3\u9700\u6C42\u2192\u63A2\u7D22\u9879\u76EE\u2192\u9700\u6C42\u6F84\u6E05\u2192\u521B\u5EFA\u63D0\u6848\u2192\u5B9E\u65BD\u63D0\u6848"\u5DE5\u4F5C\u6D41',
|
|
43769
43769
|
whenToUse: "\u6839\u636E\u7528\u6237\u7684\u9700\u6C42\u521B\u5EFA\u5177\u4F53\u53EF\u5B9E\u65BD\u7684\u8BA1\u5212\u3002Use this when you need to create structured, actionable implementation plans based on user requirements. This agent follows a strict workflow: understand requirements \u2192 QuickExplore project \u2192 clarify requirements \u2192 create proposal \u2192 implement proposal.",
|
|
43770
43770
|
userInvocable: true,
|
|
43771
|
+
disableModelInvocation: true,
|
|
43771
43772
|
allowedTools: [
|
|
43772
43773
|
"AskUserQuestion",
|
|
43773
|
-
"Agent",
|
|
43774
|
+
"Agent(QuickExplore,TaskCheck,SubCoding)",
|
|
43774
43775
|
"Read",
|
|
43775
43776
|
"Write",
|
|
43776
43777
|
"Edit",
|
|
@@ -43798,340 +43799,77 @@ function registerStrictPlanSkill() {
|
|
|
43798
43799
|
});
|
|
43799
43800
|
}
|
|
43800
43801
|
|
|
43801
|
-
// src/costrict/
|
|
43802
|
-
init_state();
|
|
43802
|
+
// src/costrict/skills/projectWiki.ts
|
|
43803
43803
|
init_bundledSkills();
|
|
43804
|
-
var PROJECT_WIKI_PROMPT = `# \u9879\u76EE\u6280\u672F\u6587\u6863\u667A\u80FD\u751F\u6210
|
|
43805
|
-
|
|
43806
|
-
## \u4EFB\u52A1\u76EE\u6807
|
|
43807
|
-
\u60A8\u662F\u4E00\u4F4D\u9879\u76EE\u6587\u6863\u751F\u6210\u4E13\u5BB6,\u7CBE\u901A\u4EE3\u7801\u5206\u6790\u3001\u67B6\u6784\u89E3\u6784\u4E0E\u6280\u672F\u6587\u6863\u7F16\u5199\u3002
|
|
43808
|
-
\u60A8\u7684\u4EFB\u52A1\u662F\u6DF1\u5EA6\u5206\u6790\u4EE3\u7801\u5E93,\u751F\u6210\u4E00\u5957\u5B8C\u6574\u7684\u9879\u76EE\u6280\u672F\u6587\u6863\u4F53\u7CFB,\u5305\u62EC\u9879\u76EE\u5206\u6790\u3001\u6587\u6863\u7ED3\u6784\u8BBE\u8BA1\u3001\u6280\u672F\u6587\u6863\u751F\u6210\u548C\u7D22\u5F15\u6587\u4EF6\u521B\u5EFA\u3002
|
|
43809
|
-
|
|
43810
|
-
\u8BE5\u6587\u6863\u4F53\u7CFB\u7684\u6838\u5FC3\u76EE\u6807\u662F:
|
|
43811
|
-
1. \u4E3A\u5F00\u53D1\u8005\u63D0\u4F9B\u9879\u76EE\u7684\u5168\u9762\u6280\u672F\u7406\u89E3,\u5305\u62EC\u67B6\u6784\u8BBE\u8BA1\u3001\u6838\u5FC3\u7EC4\u4EF6\u3001\u6280\u672F\u5B9E\u73B0\u7B49
|
|
43812
|
-
2. \u63D0\u5347AI\u4EE3\u7801\u751F\u6210\u7684\u7CBE\u51C6\u6027,\u901A\u8FC7\u8BE6\u7EC6\u7684\u9879\u76EE\u4E0A\u4E0B\u6587\u4FE1\u606F\u6307\u5BFCAI\u751F\u6210\u66F4\u7B26\u5408\u9879\u76EE\u89C4\u8303\u7684\u4EE3\u7801
|
|
43813
|
-
3. \u5EFA\u7ACB\u7EDF\u4E00\u7684\u5F00\u53D1\u6807\u51C6\u548C\u6700\u4F73\u5B9E\u8DF5\u53C2\u8003
|
|
43814
|
-
4. \u52A0\u901F\u65B0\u5F00\u53D1\u8005\u7684\u9879\u76EE\u4E0A\u624B\u901F\u5EA6
|
|
43815
|
-
|
|
43816
|
-
## \u7528\u6237\u8F93\u5165
|
|
43817
|
-
\u7528\u6237\u8F93\u5165: $ARGUMENTS
|
|
43818
|
-
|
|
43819
|
-
\u6CE8: \u5982\u679C\u6CA1\u6709,\u5219\u5FFD\u7565\u3002\u5982\u679C\u6709,\u5219\u5FC5\u987B\u9075\u5FAA**\u7528\u6237\u8F93\u5165**\u7684\u4FE1\u606F,\u5982\u9047\u51B2\u7A81,\u4EE5\u7528\u6237\u8F93\u5165\u4E3A\u51C6\u3002
|
|
43820
|
-
|
|
43821
|
-
## \u8F93\u51FA\u76EE\u5F55
|
|
43822
|
-
\${path}/.costrict/wiki/
|
|
43823
|
-
|
|
43824
|
-
## \u6267\u884C\u6B65\u9AA4
|
|
43825
|
-
|
|
43826
|
-
### \u6267\u884C\u8981\u70B9
|
|
43827
|
-
1. \u4EFB\u52A1\u6267\u884C\u89C4\u8303
|
|
43828
|
-
- **\u5B50\u4EFB\u52A1\u59D4\u6258**: \u6240\u6709\u5B50\u4EFB\u52A1\u4F7F\u7528 \`Agent\` \u5DE5\u5177\u59D4\u6D3E\u7ED9\u5BF9\u5E94\u7684\u5B50 agent \u6267\u884C,\u53C2\u8003\u4E0B\u65B9"\u5B50\u4EFB\u52A1Prompt\u6A21\u677F",\u586B\u5145\u5BF9\u5E94\u53C2\u6570
|
|
43829
|
-
- **\u52A8\u6001\u5B50\u4EFB\u52A1**: \u7279\u522B\u6CE8\u610F\u4EFB\u52A14\u662F\u52A8\u6001\u521B\u5EFA\u7684N\u4E2A\u5B50\u4EFB\u52A1(N=\u6587\u6863\u6570\u91CF),\u4E0D\u662F\u5355\u4E2A\u5B50\u4EFB\u52A1
|
|
43830
|
-
- **\u5E76\u884CSubAgent\u751F\u6210\u6587\u6863**: \u4EFB\u52A14\u6587\u6863\u751F\u6210\u9636\u6BB5,\u5728\u5355\u6761\u6D88\u606F\u4E2D\u591A\u6B21\u8C03\u7528\`Agent\`\u5DE5\u5177,\u5E76\u884C\u542F\u52A8\u6700\u591A3\u4E2AWikiDocumentGenerate SubAgent,\u9AD8\u6548\u5B8C\u6210\u6587\u6863\u751F\u6210\u4EFB\u52A1
|
|
43831
|
-
- \u4E32\u884C\u6267\u884C\u539F\u5219: \u9664\u4EFB\u52A14\u5916,\u6240\u6709\u5B50\u4EFB\u52A1\u5FC5\u987B\u6309\u987A\u5E8F\u4E32\u884C\u6267\u884C,\u5B8C\u6210\u4E00\u4E2A\u5B50\u4EFB\u52A1\u5E76\u786E\u8BA4\u8FBE\u6807\u540E,\u518D\u542F\u52A8\u4E0B\u4E00\u4E2A
|
|
43832
|
-
- \u5E76\u884C\u5DE5\u5177\u8C03\u7528: \u53EA\u8BFB\u7C7B\u64CD\u4F5C(\u5982\u8BFB\u53D6\u6587\u4EF6\u3001\u5217\u51FA\u76EE\u5F55)\u53EF\u5728\u5355\u6B21\u6D88\u606F\u4E2D\u5E76\u884C\u8C03\u7528\u591A\u4E2A\u5DE5\u5177,\u4F46\u4E0D\u8981\u8D85\u8FC710\u4E2A
|
|
43833
|
-
- \u4E0A\u4E0B\u6587\u7BA1\u7406: \u901A\u8FC7\u5B50\u4EFB\u52A1\u5206\u89E3\u907F\u514D\u5355\u4E2A\u4F1A\u8BDD\u4E0A\u4E0B\u6587\u8FC7\u957F,\u6BCF\u4E2A\u5B50\u4EFB\u52A1\u4E13\u6CE8\u4E8E\u7279\u5B9A\u76EE\u6807
|
|
43834
|
-
|
|
43835
|
-
2. \u6587\u4EF6\u64CD\u4F5C\u7EA6\u675F
|
|
43836
|
-
- \u8F93\u51FA\u76EE\u5F55: \u6240\u6709\u751F\u6210\u7684\u6587\u4EF6\u5FC5\u987B\u8F93\u51FA\u5230 .costrict/wiki/ \u76EE\u5F55
|
|
43837
|
-
- \u4E2D\u95F4\u6587\u4EF6: \u5206\u6790\u8FC7\u7A0B\u4E2D\u7684\u4E34\u65F6\u6587\u4EF6\u8F93\u51FA\u5230 .costrict/wiki/.staging/ \u76EE\u5F55
|
|
43838
|
-
- \u8DEF\u5F84\u89C4\u8303: \u6240\u6709\u6587\u4EF6\u5F15\u7528\u4F7F\u7528\u76F8\u5BF9\u9879\u76EE\u6839\u76EE\u5F55\u7684\u76F8\u5BF9\u8DEF\u5F84
|
|
43839
|
-
|
|
43840
|
-
3. \u5B50\u4EFB\u52A1\u4E0A\u4E0B\u6587\u8981\u6C42
|
|
43841
|
-
- \u8F93\u5165\u5B8C\u6574: \u7ED9\u5B50 agent \u7684\u8F93\u5165\u4FE1\u606F\u9700\u5B8C\u6574\u51C6\u786E,\u5305\u542B\u5B8C\u6210\u4EFB\u52A1\u6240\u9700\u7684\u5168\u90E8\u5173\u952E\u4FE1\u606F
|
|
43842
|
-
- \u6838\u5FC3\u539F\u5219: \u6240\u6709\u5B50\u4EFB\u52A1\u6267\u884C\u9700\u9075\u5FAA"\u5B9E\u4E8B\u6C42\u662F\u3001\u7B80\u6D01\u9AD8\u6548\u3001\u8D28\u91CF\u4F18\u5148",\u7ED3\u8BBA\u57FA\u4E8E\u9879\u76EE\u771F\u5B9E\u4FE1\u606F
|
|
43843
|
-
- \u4FE1\u606F\u4F20\u9012: \u5B50\u4EFB\u52A1\u5B8C\u6210\u540E,\u5173\u952E\u4FE1\u606F\u901A\u8FC7\u4E2D\u95F4\u6587\u4EF6\u4F20\u9012\u7ED9\u540E\u7EED\u4EFB\u52A1
|
|
43844
|
-
|
|
43845
|
-
4. \u5B50\u4EFB\u52A1Prompt\u6A21\u677F
|
|
43846
|
-
\`\`\`json
|
|
43847
|
-
{
|
|
43848
|
-
"subagent_type": "{AgentName}",
|
|
43849
|
-
"description": "{\u4EFB\u52A1\u7B80\u77ED\u63CF\u8FF0}",
|
|
43850
|
-
"prompt": "
|
|
43851
|
-
{\u4EFB\u52A1\u8BE6\u7EC6\u63CF\u8FF0}
|
|
43852
|
-
|
|
43853
|
-
## \u7528\u6237\u8F93\u5165
|
|
43854
|
-
\u7528\u6237\u8F93\u5165: $ARGUMENTS
|
|
43855
|
-
|
|
43856
|
-
\u6CE8: \u5982\u679C\u6CA1\u6709,\u5219\u5FFD\u7565\u3002\u5982\u679C\u6709,\u5219\u5FC5\u987B\u9075\u5FAA**\u7528\u6237\u8F93\u5165**\u7684\u4FE1\u606F,\u5982\u9047\u51B2\u7A81,\u4EE5\u7528\u6237\u8F93\u5165\u4E3A\u51C6\u3002
|
|
43857
|
-
|
|
43858
|
-
## \u8F93\u5165\u4FE1\u606F(\u5982\u6709)
|
|
43859
|
-
{\u7236Agent\u4F20\u9012\u7684\u8F93\u5165\u4FE1\u606F,\u5982\u6587\u4EF6\u8DEF\u5F84\u3001\u53C2\u6570\u7B49}
|
|
43860
|
-
|
|
43861
|
-
## \u8F93\u51FA\u76EE\u5F55
|
|
43862
|
-
\${path}/.costrict/wiki/ \u4E3A\u8F93\u51FA\u6587\u6863\u76EE\u5F55
|
|
43863
|
-
\${path}/.costrict/wiki/.staging/ \u4E3A\u4E34\u65F6\u6587\u4EF6\u76EE\u5F55
|
|
43864
|
-
|
|
43865
|
-
## \u4EFB\u52A1\u8981\u6C42
|
|
43866
|
-
1. {\u5177\u4F53\u6B65\u9AA41}
|
|
43867
|
-
2. {\u5177\u4F53\u6B65\u9AA42}
|
|
43868
|
-
...
|
|
43869
|
-
|
|
43870
|
-
## \u6838\u5FC3\u539F\u5219
|
|
43871
|
-
1. \u5B9E\u4E8B\u6C42\u662F: \u6240\u6709\u7ED3\u8BBA\u5FC5\u987B\u57FA\u4E8E\u9879\u76EE\u771F\u5B9E\u4FE1\u606F,\u7981\u6B62\u731C\u6D4B\u3001\u865A\u6784
|
|
43872
|
-
2. \u4FDD\u6301\u7B80\u6D01: \u53EA\u8F93\u51FA\u5173\u952E\u4FE1\u606F,\u907F\u514D\u5197\u4F59
|
|
43873
|
-
3. \u5E76\u884C\u5DE5\u5177\u8C03\u7528: \u53EA\u8BFB\u7C7B\u64CD\u4F5C\u53EF\u5E76\u884C\u6267\u884C(\u4E0D\u8D85\u8FC710\u4E2A)
|
|
43874
|
-
4. \u8DEF\u5F84\u5F15\u7528: \u4F7F\u7528\u76F8\u5BF9\u9879\u76EE\u6839\u76EE\u5F55\u7684\u76F8\u5BF9\u8DEF\u5F84
|
|
43875
|
-
5. \u8D28\u91CF\u4F18\u5148: \u5173\u6CE8\u5BF9AI\u7406\u89E3\u9879\u76EE\u6709\u4EF7\u503C\u7684\u5185\u5BB9
|
|
43876
|
-
|
|
43877
|
-
## \u6CE8\u610F\u4E8B\u9879
|
|
43878
|
-
- {\u5177\u4F53\u6CE8\u610F\u4E8B\u9879}
|
|
43879
|
-
- \u5B50Agent\u7684\u8F93\u51FA\u6587\u4EF6\u8DEF\u5F84\u5DF2\u5728\u5176system prompt\u4E2D\u5B9A\u4E49,\u65E0\u9700\u5728\u6B64\u91CD\u590D\u6307\u5B9A
|
|
43880
|
-
- \u4E25\u683C\u9075\u5FAA {\u5BF9\u5E94AgentName} agent \u7684\u63D0\u793A\u8BCD\u8981\u6C42
|
|
43881
|
-
"
|
|
43882
|
-
}
|
|
43883
|
-
\`\`\`
|
|
43884
|
-
\u6CE8: \u6A21\u677F\u4E2D\u6240\u6709\`{}\`\u5360\u4F4D\u7B26\u9700\u66FF\u6362\u4E3A\u5B9E\u9645\u5185\u5BB9,\u65E0\u5BF9\u5E94\u5185\u5BB9\u7684\u7AE0\u8282\u53EF\u76F4\u63A5\u5220\u9664,\u7981\u6B62\u4FDD\u7559\u5360\u4F4D\u7B26\u6216\u7A7A\u7AE0\u8282\u3002
|
|
43885
|
-
|
|
43886
|
-
### \u5B50\u4EFB\u52A11: \u9879\u76EE\u5206\u7C7B\u5206\u6790
|
|
43887
|
-
**AgentName**: \`WikiProjectAnalyze\`
|
|
43888
|
-
|
|
43889
|
-
**\u76EE\u6807**: \u6DF1\u5EA6\u89E3\u6790\u76EE\u6807\u4ED3\u5E93\u7684\u6280\u672F\u67B6\u6784\u3001\u4E1A\u52A1\u5B9A\u4F4D\u4E0E\u5F00\u53D1\u6A21\u5F0F,\u751F\u6210\u9879\u76EE\u5206\u7C7B\u5206\u6790\u7ED3\u679C
|
|
43890
|
-
|
|
43891
|
-
#### \u4EFB\u52A1\u8981\u6C42
|
|
43892
|
-
1. \u4F7F\u7528 list \u5DE5\u5177\u83B7\u53D6\u9879\u76EE\u5B8C\u6574\u76EE\u5F55\u7ED3\u6784
|
|
43893
|
-
2. \u4F7F\u7528 read \u5DE5\u5177\u8BFB\u53D6\u5173\u952E\u914D\u7F6E\u6587\u4EF6(README.md\u3001package.json\u3001tsconfig.json\u7B49)
|
|
43894
|
-
3. \u8BC6\u522B\u9879\u76EE\u7C7B\u578B\u3001\u6280\u672F\u6808\u3001\u9879\u76EE\u89C4\u6A21\u3001\u590D\u6742\u5EA6\u7B49\u7EA7
|
|
43895
|
-
4. \u751F\u6210 JSON \u683C\u5F0F\u7684\u5206\u6790\u7ED3\u679C
|
|
43896
|
-
|
|
43897
|
-
#### \u6CE8\u610F\u4E8B\u9879
|
|
43898
|
-
- \u5206\u6790\u5FC5\u987B\u57FA\u4E8E\u5B9E\u9645\u4EE3\u7801\u548C\u914D\u7F6E\u6587\u4EF6,\u4E0D\u8981\u51ED\u63A8\u6D4B
|
|
43899
|
-
- \u786E\u4FDD JSON \u683C\u5F0F\u6B63\u786E,\u53EF\u76F4\u63A5\u88AB\u540E\u7EED\u4EFB\u52A1\u89E3\u6790
|
|
43900
|
-
|
|
43901
|
-
### \u5B50\u4EFB\u52A12: \u6587\u6863\u7ED3\u6784\u8BBE\u8BA1
|
|
43902
|
-
**AgentName**: \`WikiCatalogueDesign\`
|
|
43903
|
-
|
|
43904
|
-
**\u76EE\u6807**: \u57FA\u4E8E\u9879\u76EE\u5206\u6790\u7ED3\u679C,\u8BBE\u8BA1\u52A8\u6001\u9002\u914D\u9879\u76EE\u7279\u6027\u7684\u6587\u6863\u7ED3\u6784
|
|
43905
|
-
|
|
43906
|
-
#### \u4EFB\u52A1\u8981\u6C42
|
|
43907
|
-
1. \u4F7F\u7528 read \u5DE5\u5177\u8BFB\u53D6\u9879\u76EE\u5206\u6790\u7ED3\u679C
|
|
43908
|
-
2. \u6DF1\u5EA6\u5206\u6790\u9879\u76EE\u4EE3\u7801\u7ED3\u6784\u3001\u7EC4\u4EF6\u5173\u7CFB\u3001\u529F\u80FD\u6A21\u5757
|
|
43909
|
-
3. \u8BBE\u8BA1\u6587\u6863\u7ED3\u6784,\u5305\u62EC\u6587\u6863\u6807\u9898\u3001\u7AE0\u8282\u3001\u751F\u6210\u6307\u4EE4
|
|
43910
|
-
4. \u6839\u636E\u9879\u76EE\u590D\u6742\u5EA6\u52A8\u6001\u8C03\u6574\u6587\u6863\u6570\u91CF\u548C\u6DF1\u5EA6
|
|
43911
|
-
|
|
43912
|
-
#### \u6CE8\u610F\u4E8B\u9879
|
|
43913
|
-
- \u6587\u6863\u7ED3\u6784\u5FC5\u987B\u9002\u914D\u9879\u76EE\u5B9E\u9645\u590D\u6742\u5EA6
|
|
43914
|
-
- \u6BCF\u4E2A\u6587\u6863\u7684 prompt \u5B57\u6BB5\u8981\u5177\u4F53\u3001\u53EF\u6267\u884C
|
|
43915
|
-
- \u786E\u4FDD JSON \u683C\u5F0F\u6B63\u786E
|
|
43916
|
-
|
|
43917
|
-
### \u4EFB\u52A13: \u8BFB\u53D6\u6587\u6863\u7ED3\u6784\u5B9A\u4E49\u5E76\u89C4\u5212\u5B50\u4EFB\u52A1
|
|
43918
|
-
\u6CE8: \u672C\u4EFB\u52A1\u5728\u7236Agent\u4E2D\u6267\u884C,\u65E0\u9700\u59D4\u6D3E\u7ED9\u5B50Agent\u3002
|
|
43919
|
-
|
|
43920
|
-
1. \u4F7F\u7528 \`read\` \u5DE5\u5177\u8BFB\u53D6 .costrict/wiki/.staging/catalogue.json
|
|
43921
|
-
2. \u89E3\u6790 JSON \u5185\u5BB9,\u7406\u89E3\u6587\u6863\u7ED3\u6784:
|
|
43922
|
-
- catalogue.json \u662F\u4E00\u4E2A JSON \u6570\u7EC4: \`[{\u6587\u68631}, {\u6587\u68632}, ...]\`
|
|
43923
|
-
- \u6570\u7EC4\u957F\u5EA6 = \u9700\u8981\u521B\u5EFA\u7684\u6587\u6863\u751F\u6210\u5B50\u4EFB\u52A1\u6570\u91CF
|
|
43924
|
-
- \u6BCF\u4E2A\u6570\u7EC4\u5143\u7D20 = \u4E00\u4E2A\u6587\u6863\u5BF9\u8C61,\u5305\u542B title\u3001prompt\u3001sections \u7B49\u4FE1\u606F
|
|
43925
|
-
3. \u7EDF\u8BA1\u9700\u8981\u751F\u6210\u7684\u6587\u6863\u6570\u91CF,\u4E3A\u4EFB\u52A14\u505A\u51C6\u5907
|
|
43926
|
-
|
|
43927
|
-
### \uD83D\uDD04 \u5B50\u4EFB\u52A1\u7EC44: \u52A8\u6001\u6587\u6863\u751F\u6210\uFF08N\u4E2A\u5B50\u4EFB\u52A1\uFF09
|
|
43928
|
-
**\u91CD\u8981**: \u8FD9\u4E0D\u662F\u5355\u4E2A\u5B50\u4EFB\u52A1,\u800C\u662F\u6839\u636E\u4EFB\u52A13\u5206\u6790\u7684\u7ED3\u679C,\u52A8\u6001\u521B\u5EFAN\u4E2A(N=\u6587\u6863\u6570\u91CF)\u5B50\u4EFB\u52A1,\u6BCF\u4E2A\u5B50\u4EFB\u52A1\u53EA\u8D1F\u8D23\u751F\u6210\u4E00\u4E2A\u6587\u6863\u3002
|
|
43929
|
-
|
|
43930
|
-
**AgentName**: \`WikiDocumentGenerate\`
|
|
43931
|
-
|
|
43932
|
-
**\u52A8\u6001\u521B\u5EFA\u89C4\u5219**:
|
|
43933
|
-
1. \u6839\u636E\u4EFB\u52A13\u7684\u7ED3\u679C\uFF0C\u4E3A\u6BCF\u4E2A\u6587\u6863\u5BF9\u8C61\u521B\u5EFA\u4E00\u4E2A\u72EC\u7ACB\u7684 \`Agent\` \u5DE5\u5177\u8C03\u7528
|
|
43934
|
-
2. \u4ECE\u6587\u6863\u5BF9\u8C61\u4E2D\u63D0\u53D6\u4FE1\u606F\u586B\u5145\u5230\u5B50\u4EFB\u52A1 prompt \u4E2D
|
|
43935
|
-
3. \u91C7\u7528\u5E76\u884C\u6279\u6B21\u6267\u884C: \u6BCF\u6279\u6700\u591A\u5E76\u884C3\u4E2ASubAgent,\u5F53\u524D\u6279\u6B21\u5B8C\u6210\u540E\u518D\u542F\u52A8\u4E0B\u4E00\u6279
|
|
43936
|
-
|
|
43937
|
-
**\u6BCF\u4E2A\u5B50\u4EFB\u52A1\u586B\u5145\u7684\u53C2\u6570**:
|
|
43938
|
-
|
|
43939
|
-
#### \u4EFB\u52A1\u8981\u6C42
|
|
43940
|
-
1. \u4F7F\u7528 read \u5DE5\u5177\u8BFB\u53D6\u9879\u76EE\u5206\u6790\u7ED3\u679C
|
|
43941
|
-
2. \u6DF1\u5EA6\u5206\u6790\u76F8\u5173\u4EE3\u7801\u6587\u4EF6,\u7406\u89E3\u5B9E\u73B0\u7EC6\u8282
|
|
43942
|
-
3. \u6839\u636E\u6587\u6863\u4FE1\u606F\u548C\u7AE0\u8282\u8981\u6C42\u751F\u6210\u6280\u672F\u6587\u6863
|
|
43943
|
-
4. \u786E\u4FDD\u6587\u6863\u5305\u542B\u4EE3\u7801\u793A\u4F8B\u3001\u67B6\u6784\u56FE\u3001\u5B9E\u73B0\u7EC6\u8282
|
|
43944
|
-
5. \u6587\u6863\u957F\u5EA6\u548C\u6DF1\u5EA6\u8981\u9002\u914D\u9879\u76EE\u590D\u6742\u5EA6
|
|
43945
|
-
|
|
43946
|
-
#### \u8F93\u5165\u53C2\u6570(\u4ECEcatalogue.json\u63D0\u53D6)
|
|
43947
|
-
- \u6587\u6863\u6807\u9898: {\u4ECE catalogue.json \u63D0\u53D6\u7684 title}
|
|
43948
|
-
- \u6587\u6863\u63CF\u8FF0: {\u4ECE catalogue.json \u63D0\u53D6\u7684 prompt}
|
|
43949
|
-
- \u6587\u6863\u7AE0\u8282: {\u4ECE catalogue.json \u63D0\u53D6\u7684 sections}
|
|
43950
|
-
- \u9879\u76EE\u5206\u6790\u7ED3\u679C: .costrict/wiki/.staging/basic_analyze.json
|
|
43951
|
-
|
|
43952
|
-
#### \u6267\u884C\u8BF4\u660E
|
|
43953
|
-
- \u6BCF\u4E2A\u6587\u6863\u5BF9\u5E94\u4E00\u4E2A\u72EC\u7ACB\u7684 \`Agent\` \u5DE5\u5177\u8C03\u7528(subagent_type: "WikiDocumentGenerate")
|
|
43954
|
-
- **\u5E76\u884C\u6279\u6B21\u6267\u884C**: \u6BCF\u6279\u6700\u591A\u5E76\u884C3\u4E2ASubAgent,\u5728\u5355\u6761\u6D88\u606F\u4E2D\u591A\u6B21\u8C03\u7528\`Agent\`\u5DE5\u5177\u5B9E\u73B0\u5E76\u884C,\u5F53\u524D\u6279\u6B21\u5B8C\u6210\u540E\u518D\u542F\u52A8\u4E0B\u4E00\u6279
|
|
43955
|
-
- \u6240\u6709\u5B50\u4EFB\u52A1\u5B8C\u6210\u540E,\u7EE7\u7EED\u6267\u884C\u4EFB\u52A15
|
|
43956
|
-
|
|
43957
|
-
### \u5B50\u4EFB\u52A14.1: \u6587\u6863\u751F\u6210-1
|
|
43958
|
-
...
|
|
43959
|
-
|
|
43960
|
-
... (\u52A8\u6001\u521B\u5EFA\u7684\u6587\u6863\u751F\u6210\u5B50\u4EFB\u52A1)
|
|
43961
|
-
|
|
43962
|
-
### \u5B50\u4EFB\u52A14.N: \u6587\u6863\u751F\u6210-N
|
|
43963
|
-
...
|
|
43964
|
-
|
|
43965
|
-
#### \u6CE8\u610F\u4E8B\u9879
|
|
43966
|
-
- \u6587\u6863\u5FC5\u987B\u57FA\u4E8E\u5B9E\u9645\u4EE3\u7801\u5206\u6790,\u4E0D\u8981\u51ED\u63A8\u6D4B
|
|
43967
|
-
- \u5F15\u7528\u4EE3\u7801\u6587\u4EF6\u65F6\u4F7F\u7528\u76F8\u5BF9\u8DEF\u5F84
|
|
43968
|
-
|
|
43969
|
-
### \u5B50\u4EFB\u52A15: \u7D22\u5F15\u6587\u4EF6\u751F\u6210
|
|
43970
|
-
**AgentName**: \`WikiIndexGeneration\`
|
|
43971
|
-
|
|
43972
|
-
**\u76EE\u6807**: \u4E3A\u751F\u6210\u7684\u6280\u672F\u6587\u6863\u521B\u5EFA\u7D22\u5F15\u6587\u4EF6,\u4FBF\u4E8E\u5BFC\u822A\u548C\u67E5\u627E
|
|
43973
|
-
|
|
43974
|
-
#### \u4EFB\u52A1\u8981\u6C42
|
|
43975
|
-
1. \u4F7F\u7528 list \u5DE5\u5177\u5217\u51FA .costrict/wiki/ \u76EE\u5F55\u4E0B\u7684\u6240\u6709 .md \u6587\u4EF6
|
|
43976
|
-
2. \u4F7F\u7528 read \u5DE5\u5177\u8BFB\u53D6\u6BCF\u4E2A\u6587\u6863\u7684\u6807\u9898\u548C\u6458\u8981\u4FE1\u606F
|
|
43977
|
-
3. \u63D0\u53D6\u9879\u76EE\u6982\u8FF0\u4FE1\u606F(\u9879\u76EE\u5B9A\u4F4D\u3001\u6280\u672F\u6808\u3001\u67B6\u6784\u7279\u70B9)
|
|
43978
|
-
4. \u751F\u6210\u7ED3\u6784\u5316\u7D22\u5F15\u6587\u4EF6
|
|
43979
|
-
|
|
43980
|
-
#### \u6CE8\u610F\u4E8B\u9879
|
|
43981
|
-
- \u6587\u6863\u94FE\u63A5\u4F7F\u7528\u76F8\u5BF9\u8DEF\u5F84\u683C\u5F0F .costrict/wiki/{\u6587\u4EF6\u540D}
|
|
43982
|
-
- \u7D22\u5F15\u6587\u6863\u957F\u5EA6\u63A7\u5236\u5728100\u884C\u4EE5\u5185
|
|
43983
|
-
- \u6458\u8981\u4FE1\u606F\u63A7\u5236\u572830\u5B57\u4EE5\u5185
|
|
43984
|
-
|
|
43985
|
-
## \u5B8C\u6210\u6807\u51C6
|
|
43986
|
-
\u5F53\u4EE5\u4E0B\u6761\u4EF6\u5168\u90E8\u6EE1\u8DB3\u65F6,\u4EFB\u52A1\u6267\u884C\u5B8C\u6210:
|
|
43987
|
-
1. \u6240\u6709\u5B50\u4EFB\u52A1\u90FD\u5DF2\u6309\u987A\u5E8F\u6267\u884C\u5B8C\u6210
|
|
43988
|
-
2. \u751F\u6210\u4E86\u9879\u76EE\u5206\u6790\u7ED3\u679C\u6587\u4EF6 (.costrict/wiki/.staging/basic_analyze.json)
|
|
43989
|
-
3. \u751F\u6210\u4E86\u6587\u6863\u7ED3\u6784\u5B9A\u4E49\u6587\u4EF6 (.costrict/wiki/.staging/catalogue.json)
|
|
43990
|
-
4. \u6839\u636E\u6587\u6863\u7ED3\u6784\u5B9A\u4E49\u751F\u6210\u4E86\u6240\u6709\u6280\u672F\u6587\u6863 (.costrict/wiki/*.md)
|
|
43991
|
-
5. \u751F\u6210\u4E86\u7D22\u5F15\u6587\u4EF6 (.costrict/wiki/index.md)
|
|
43992
|
-
6. \u6240\u6709\u6587\u4EF6\u5185\u5BB9\u5B8C\u6574\u3001\u683C\u5F0F\u6B63\u786E\u3001\u8D28\u91CF\u7B26\u5408\u8981\u6C42
|
|
43993
|
-
|
|
43994
|
-
## \u6CE8\u610F\u4E8B\u9879
|
|
43995
|
-
1. **\u5B50\u4EFB\u52A1\u8C03\u7528**: \u5982\u672A\u7279\u6B8A\u8BF4\u660E\u5728\u7236agent\u4E2D\u6267\u884C\uFF0C\u5219\u6240\u6709\u5B50\u4EFB\u52A1\u90FD\u4F7F\u7528 \`Agent\` \u5DE5\u5177\u59D4\u6D3E\u7ED9\u5BF9\u5E94\u7684\u5B50 agent \u6267\u884C,\u53C2\u8003\u4E0A\u65B9"\u5B50\u4EFB\u52A1Prompt\u6A21\u677F"\u586B\u5145\u53C2\u6570
|
|
43996
|
-
2. **\u52A8\u6001\u5B50\u4EFB\u52A1\u5E76\u884C\u6267\u884C**: \u7279\u522B\u6CE8\u610F\u4EFB\u52A14\u9700\u8981\u52A8\u6001\u521B\u5EFAN\u4E2A\u5B50\u4EFB\u52A1(N=\u6587\u6863\u6570\u91CF),\u6BCF\u4E2A\u5B50\u4EFB\u52A1\u53EA\u8D1F\u8D23\u751F\u6210\u4E00\u4E2A\u6587\u6863,\u91C7\u7528\u5E76\u884C\u6279\u6B21\u6267\u884C\u65B9\u5F0F,\u6BCF\u6279\u6700\u591A\u5E76\u884C3\u4E2AWikiDocumentGenerate SubAgent,\u5728\u5355\u6761\u6D88\u606F\u4E2D\u591A\u6B21\u8C03\u7528\`Agent\`\u5DE5\u5177\u5B9E\u73B0\u5E76\u884C
|
|
43997
|
-
3. **\u4E32\u884C\u6267\u884C**: \u9664\u4EFB\u52A14\u5916,\u5176\u4ED6\u5B50\u4EFB\u52A1\u5FC5\u987B\u4E25\u683C\u6309\u987A\u5E8F\u4E32\u884C\u6267\u884C,\u4E0D\u53EF\u8DF3\u8FC7\u6216\u5E76\u884C
|
|
43998
|
-
4. **\u5B8C\u6210\u786E\u8BA4**: \u6BCF\u4E2A\u5B50\u4EFB\u52A1\u5B8C\u6210\u540E,\u786E\u8BA4\u8F93\u51FA\u6587\u4EF6\u5B58\u5728\u4E14\u683C\u5F0F\u6B63\u786E,\u518D\u8FDB\u884C\u4E0B\u4E00\u4E2A
|
|
43999
|
-
5. **\u8F93\u51FA\u8BED\u8A00**: \u5982\u679C\u7528\u6237\u672A\u6307\u5B9A,\u5219\u9ED8\u8BA4\u8F93\u51FA\u8BED\u8A00\u5E94\u4E3A**\u7B80\u4F53\u4E2D\u6587**
|
|
44000
|
-
6. **\u9519\u8BEF\u5904\u7406**: \u6587\u6863\u751F\u6210\u8FC7\u7A0B\u4E2D\u5982\u679C\u9047\u5230\u9519\u8BEF,\u5E94\u5F53\u8BB0\u5F55\u9519\u8BEF\u4FE1\u606F\u5E76\u5C1D\u8BD5\u7EE7\u7EED\u6267\u884C
|
|
44001
|
-
|
|
44002
|
-
\u73B0\u5728,\u8BF7\u5F00\u59CB\u6309\u7167**\u6267\u884C\u6B65\u9AA4**\u6267\u884C\u4EFB\u52A1,\u6DF1\u5EA6\u5206\u6790\u9879\u76EE\u6839\u76EE\u5F55,\u6700\u7EC8\u751F\u6210\u4E00\u5957\u5B8C\u6574\u3001\u9AD8\u8D28\u91CF\u7684\u9879\u76EE\u6280\u672F\u6587\u6863\u4F53\u7CFB\u3002`;
|
|
44003
43804
|
function registerProjectWikiSkill() {
|
|
44004
43805
|
registerBundledSkill({
|
|
44005
|
-
name: "project-wiki",
|
|
43806
|
+
name: "strict-project-wiki",
|
|
44006
43807
|
description: "\u4E3A\u9879\u76EE\u751F\u6210\u5B8C\u6574\u7684\u6280\u672F\u6587\u6863\u4F53\u7CFB\uFF0C\u5305\u62EC\u9879\u76EE\u5206\u6790\u3001\u6587\u6863\u7ED3\u6784\u8BBE\u8BA1\u3001\u6280\u672F\u6587\u6863\u751F\u6210\u548C\u7D22\u5F15\u6587\u4EF6\u521B\u5EFA\u3002",
|
|
44007
43808
|
userInvocable: true,
|
|
43809
|
+
disableModelInvocation: true,
|
|
43810
|
+
context: "fork",
|
|
43811
|
+
agent: "WIKI",
|
|
43812
|
+
allowedTools: [
|
|
43813
|
+
"Agent(WikiCatalogueDesign,WikiDocumentGenerate,WikiIndexGeneration,WikiProjectAnalyze)",
|
|
43814
|
+
"Read",
|
|
43815
|
+
"Write",
|
|
43816
|
+
"Edit",
|
|
43817
|
+
"TodoWrite"
|
|
43818
|
+
],
|
|
44008
43819
|
async getPromptForCommand(args) {
|
|
44009
|
-
const
|
|
44010
|
-
|
|
44011
|
-
|
|
43820
|
+
const userRequest = args.trim();
|
|
43821
|
+
if (!userRequest) {
|
|
43822
|
+
return [
|
|
43823
|
+
{
|
|
43824
|
+
type: "text",
|
|
43825
|
+
text: "\u8BF7\u63D0\u4F9B\u6280\u672F\u6587\u6863\u7684\u9700\u6C42\u63CF\u8FF0\u3002\u7528\u6CD5: /strict-project-wiki"
|
|
43826
|
+
}
|
|
43827
|
+
];
|
|
43828
|
+
}
|
|
43829
|
+
return [
|
|
43830
|
+
{
|
|
43831
|
+
type: "text",
|
|
43832
|
+
text: `\u7528\u6237\u8F93\u5165\uFF1A${userRequest}`
|
|
43833
|
+
}
|
|
43834
|
+
];
|
|
44012
43835
|
}
|
|
44013
43836
|
});
|
|
44014
43837
|
}
|
|
44015
43838
|
|
|
44016
|
-
// src/costrict/
|
|
43839
|
+
// src/costrict/skills/tdd.ts
|
|
44017
43840
|
init_bundledSkills();
|
|
44018
|
-
var TDD_PROMPT = `You are executing a comprehensive testing workflow to ensure code quality.
|
|
44019
|
-
|
|
44020
|
-
---
|
|
44021
|
-
|
|
44022
|
-
User Input: $ARGUMENTS
|
|
44023
|
-
|
|
44024
|
-
---
|
|
44025
|
-
|
|
44026
|
-
## Testing Activity
|
|
44027
|
-
|
|
44028
|
-
After coding is complete, proactive testing should be performed as much as possible to ensure code correctness and avoid potential issues caused by changes.
|
|
44029
|
-
|
|
44030
|
-
---
|
|
44031
|
-
|
|
44032
|
-
## Testing Execution Process
|
|
44033
|
-
|
|
44034
|
-
Follow these steps in order, using the \`todowrite\` tool to track progress:
|
|
44035
|
-
|
|
44036
|
-
**Step 1: Execute Runnability Verification**
|
|
44037
|
-
|
|
44038
|
-
Use the \`@RunAndFix\` agent to verify the project can run/compile:
|
|
44039
|
-
- The agent will automatically find and execute verification commands
|
|
44040
|
-
- It will fix any coding issues encountered (syntax errors, type errors, logic bugs, etc.)
|
|
44041
|
-
- It will exit and report non-coding issues (missing dependencies, environment problems, etc.)
|
|
44042
|
-
- Wait for verification to complete and review the results
|
|
44043
|
-
|
|
44044
|
-
If verification fails with coding issues:
|
|
44045
|
-
- The agent will have applied fixes automatically
|
|
44046
|
-
- Proceed to confirm user requirements
|
|
44047
|
-
|
|
44048
|
-
If verification reports non-coding issues:
|
|
44049
|
-
- These require manual resolution (e.g., npm install, environment setup)
|
|
44050
|
-
- Pause and inform user that non-coding issues need to be resolved first
|
|
44051
|
-
- Wait for user confirmation before continuing
|
|
44052
|
-
|
|
44053
|
-
**Step 2: Confirm User Requirements**
|
|
44054
|
-
|
|
44055
|
-
After project is verified to be buildable/runnable:
|
|
44056
|
-
|
|
44057
|
-
**If user provided input above ($ARGUMENTS is not empty)**:
|
|
44058
|
-
- Use the user's input as the primary test scope and requirements
|
|
44059
|
-
- The input may specify:
|
|
44060
|
-
- Specific modules/features to test (e.g., "test the login module")
|
|
44061
|
-
- Test types to focus on (e.g., "only unit tests for API layer")
|
|
44062
|
-
- Specific files or paths (e.g., "test src/auth/login.ts")
|
|
44063
|
-
- Additional context or constraints
|
|
44064
|
-
|
|
44065
|
-
**If no user input provided ($ARGUMENTS is empty)**:
|
|
44066
|
-
1. If the user is using plan mode, search for requirement proposals in '.cospec/plan/changes/'
|
|
44067
|
-
2. Otherwise, confirm the functional requirements based on the user's recent messages and code changes
|
|
44068
|
-
3. Clearly identify what functionality needs to be tested
|
|
44069
|
-
|
|
44070
|
-
**IMPORTANT: After confirming user requirements, you MUST use the \`question\` tool to get user confirmation before proceeding to Step 3**
|
|
44071
|
-
- Present the confirmed requirements to the user
|
|
44072
|
-
- Ask if they want to proceed with test case generation or if they need adjustments
|
|
44073
|
-
|
|
44074
|
-
**Step 3: Generate Test Cases**
|
|
44075
|
-
|
|
44076
|
-
Use the \`@TestDesign\` agent to generate test cases:
|
|
44077
|
-
- Input: User requirement description, related code paths
|
|
44078
|
-
- The agent will design comprehensive test points covering:
|
|
44079
|
-
- Normal scenarios
|
|
44080
|
-
- Boundary conditions
|
|
44081
|
-
- Exception handling
|
|
44082
|
-
- Output: Test plan document saved to \`.cospec/test-plans/test-plan-*.md\`
|
|
44083
|
-
|
|
44084
|
-
Review the generated test plan with the user if needed
|
|
44085
|
-
|
|
44086
|
-
**Step 4: Execute Tests and Fix**
|
|
44087
|
-
|
|
44088
|
-
Use the \`@TestAndFix\` agent to execute tests and fix failures:
|
|
44089
|
-
- Input: Test plan document path (optional), test scope
|
|
44090
|
-
- The agent will:
|
|
44091
|
-
- Execute the tests
|
|
44092
|
-
- Diagnose failures systematically
|
|
44093
|
-
- Apply fixes (prioritizing business code over test code)
|
|
44094
|
-
- Re-run tests to verify fixes (max 3 rounds)
|
|
44095
|
-
- Output: Test execution report with fix details
|
|
44096
|
-
|
|
44097
|
-
---
|
|
44098
|
-
|
|
44099
|
-
## Progress Tracking
|
|
44100
|
-
|
|
44101
|
-
Use the \`todowrite\` tool to manage and track progress through these steps:
|
|
44102
|
-
|
|
44103
|
-
1. Create todos at the start:
|
|
44104
|
-
- Execute runnability verification with @RunAndFix
|
|
44105
|
-
- Confirm user requirements
|
|
44106
|
-
- Generate test cases with @TestDesign
|
|
44107
|
-
- Execute tests and fix failures with @TestAndFix
|
|
44108
|
-
|
|
44109
|
-
2. Update todo status as you complete each step:
|
|
44110
|
-
- Mark each step as \`in_progress\` when starting
|
|
44111
|
-
- Mark each step as \`completed\` when finished
|
|
44112
|
-
|
|
44113
|
-
---
|
|
44114
|
-
|
|
44115
|
-
## Important Notes
|
|
44116
|
-
|
|
44117
|
-
- Ensure a test guide document (TEST_GUIDE.md or .cospec/TEST_GUIDE.md) exists so agents understand the project's testing mechanisms
|
|
44118
|
-
- Test plan documents are saved to \`.cospec/test-plans/\` directory
|
|
44119
|
-
- Automated fixes execute a maximum of 3 rounds; complex issues may require manual intervention
|
|
44120
|
-
- Always prioritize fixing business code rather than lowering test standards
|
|
44121
|
-
|
|
44122
|
-
---
|
|
44123
|
-
|
|
44124
|
-
## Execution
|
|
44125
|
-
|
|
44126
|
-
Start by confirming the user requirements, then proceed with test case generation and execution. Follow the four-step process systematically, using the \`todowrite\` tool to track progress, to ensure thorough testing and quality code.`;
|
|
44127
43841
|
function registerTddSkill() {
|
|
44128
43842
|
registerBundledSkill({
|
|
44129
|
-
name: "test",
|
|
43843
|
+
name: "strict-test",
|
|
44130
43844
|
description: "execute comprehensive testing workflow: confirm requirements, generate test cases, and execute tests with automated fixes",
|
|
44131
43845
|
userInvocable: true,
|
|
43846
|
+
disableModelInvocation: true,
|
|
43847
|
+
allowedTools: [
|
|
43848
|
+
"AskUserQuestion",
|
|
43849
|
+
"Agent(RunAndFix,TestDesign,TestAndFix)",
|
|
43850
|
+
"Read",
|
|
43851
|
+
"Write",
|
|
43852
|
+
"Edit",
|
|
43853
|
+
"TodoWrite"
|
|
43854
|
+
],
|
|
43855
|
+
context: "fork",
|
|
43856
|
+
agent: "TDD",
|
|
44132
43857
|
async getPromptForCommand(args) {
|
|
44133
|
-
const
|
|
44134
|
-
|
|
43858
|
+
const userRequest = args.trim();
|
|
43859
|
+
if (!userRequest) {
|
|
43860
|
+
return [
|
|
43861
|
+
{
|
|
43862
|
+
type: "text",
|
|
43863
|
+
text: "\u8BF7\u63D0\u4F9B\u9700\u8981\u6D4B\u8BD5\u63CF\u8FF0\u3002\u7528\u6CD5: /strict-test <\u9700\u6C42\u63CF\u8FF0>"
|
|
43864
|
+
}
|
|
43865
|
+
];
|
|
43866
|
+
}
|
|
43867
|
+
return [
|
|
43868
|
+
{
|
|
43869
|
+
type: "text",
|
|
43870
|
+
text: `\u7528\u6237\u8F93\u5165\uFF1A${userRequest}`
|
|
43871
|
+
}
|
|
43872
|
+
];
|
|
44135
43873
|
}
|
|
44136
43874
|
});
|
|
44137
43875
|
}
|
|
@@ -45103,17 +44841,17 @@ async function main() {
|
|
|
45103
44841
|
if (true) {
|
|
45104
44842
|
const handleUriIdx = process.argv.indexOf("--handle-uri");
|
|
45105
44843
|
if (handleUriIdx !== -1 && process.argv[handleUriIdx + 1]) {
|
|
45106
|
-
const { enableConfigs: enableConfigs2 } = await import("./chunk-
|
|
44844
|
+
const { enableConfigs: enableConfigs2 } = await import("./chunk-hnv54bek.js");
|
|
45107
44845
|
enableConfigs2();
|
|
45108
44846
|
const uri = process.argv[handleUriIdx + 1];
|
|
45109
|
-
const { handleDeepLinkUri } = await import("./chunk-
|
|
44847
|
+
const { handleDeepLinkUri } = await import("./chunk-xpbw7frh.js");
|
|
45110
44848
|
const exitCode = await handleDeepLinkUri(uri);
|
|
45111
44849
|
process.exit(exitCode);
|
|
45112
44850
|
}
|
|
45113
44851
|
if (process.platform === "darwin" && process.env.__CFBundleIdentifier === "com.anthropic.claude-code-url-handler") {
|
|
45114
|
-
const { enableConfigs: enableConfigs2 } = await import("./chunk-
|
|
44852
|
+
const { enableConfigs: enableConfigs2 } = await import("./chunk-hnv54bek.js");
|
|
45115
44853
|
enableConfigs2();
|
|
45116
|
-
const { handleUrlSchemeLaunch } = await import("./chunk-
|
|
44854
|
+
const { handleUrlSchemeLaunch } = await import("./chunk-xpbw7frh.js");
|
|
45117
44855
|
const urlSchemeResult = await handleUrlSchemeLaunch();
|
|
45118
44856
|
process.exit(urlSchemeResult ?? 1);
|
|
45119
44857
|
}
|
|
@@ -45227,7 +44965,7 @@ async function run() {
|
|
|
45227
44965
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|
|
45228
44966
|
process.title = "claude";
|
|
45229
44967
|
}
|
|
45230
|
-
const { initSinks } = await import("./chunk-
|
|
44968
|
+
const { initSinks } = await import("./chunk-p7gc7s7v.js");
|
|
45231
44969
|
initSinks();
|
|
45232
44970
|
profileCheckpoint("preAction_after_sinks");
|
|
45233
44971
|
const pluginDir = thisCommand.getOptionValue("pluginDir");
|
|
@@ -45672,9 +45410,9 @@ ${hint}` : hint;
|
|
|
45672
45410
|
}
|
|
45673
45411
|
if (getPlatform() !== "unknown" && !getIsNonInteractiveSession()) {
|
|
45674
45412
|
try {
|
|
45675
|
-
const { getChicagoEnabled } = await import("./chunk-
|
|
45413
|
+
const { getChicagoEnabled } = await import("./chunk-nkd5wmr1.js");
|
|
45676
45414
|
if (getChicagoEnabled()) {
|
|
45677
|
-
const { setupComputerUseMCP } = await import("./chunk-
|
|
45415
|
+
const { setupComputerUseMCP } = await import("./chunk-5kyd7552.js");
|
|
45678
45416
|
const { mcpConfig: mcpConfig2, allowedTools: cuTools } = setupComputerUseMCP();
|
|
45679
45417
|
dynamicMcpConfig = {
|
|
45680
45418
|
...dynamicMcpConfig,
|
|
@@ -45831,7 +45569,7 @@ ${hint}` : hint;
|
|
|
45831
45569
|
maybeActivateProactive(options);
|
|
45832
45570
|
let tools = getTools(toolPermissionContext);
|
|
45833
45571
|
if (isEnvTruthy(process.env.CLAUDE_CODE_COORDINATOR_MODE)) {
|
|
45834
|
-
const { applyCoordinatorToolFilter } = await import("./chunk-
|
|
45572
|
+
const { applyCoordinatorToolFilter } = await import("./chunk-kmkcgttc.js");
|
|
45835
45573
|
tools = applyCoordinatorToolFilter(tools);
|
|
45836
45574
|
}
|
|
45837
45575
|
profileCheckpoint("action_tools_loaded");
|
|
@@ -45856,7 +45594,7 @@ ${hint}` : hint;
|
|
|
45856
45594
|
profileCheckpoint("action_before_setup");
|
|
45857
45595
|
logForDebugging("[STARTUP] Running setup()...");
|
|
45858
45596
|
const setupStart = Date.now();
|
|
45859
|
-
const { setup } = await import("./chunk-
|
|
45597
|
+
const { setup } = await import("./chunk-k8nvkgwj.js");
|
|
45860
45598
|
const messagingSocketPath = undefined;
|
|
45861
45599
|
const preSetupCwd = getCwd();
|
|
45862
45600
|
if (process.env.CLAUDE_CODE_ENTRYPOINT !== "local-agent") {
|
|
@@ -46069,7 +45807,7 @@ ${assistantAddendum}` : assistantAddendum;
|
|
|
46069
45807
|
refreshPolicyLimits();
|
|
46070
45808
|
resetUserCache();
|
|
46071
45809
|
refreshGrowthBookAfterAuthChange();
|
|
46072
|
-
import("./chunk-
|
|
45810
|
+
import("./chunk-ccfgt017.js").then((m) => {
|
|
46073
45811
|
m.clearTrustedDeviceToken();
|
|
46074
45812
|
return m.enrollTrustedDevice();
|
|
46075
45813
|
});
|
|
@@ -46181,7 +45919,7 @@ ${assistantAddendum}` : assistantAddendum;
|
|
|
46181
45919
|
}
|
|
46182
45920
|
}
|
|
46183
45921
|
logForDiagnosticsNoPII("info", "started", {
|
|
46184
|
-
version: "4.0.
|
|
45922
|
+
version: "4.0.7",
|
|
46185
45923
|
is_native_binary: isInBundledMode()
|
|
46186
45924
|
});
|
|
46187
45925
|
registerCleanup(async () => {
|
|
@@ -46393,14 +46131,14 @@ ${assistantAddendum}` : assistantAddendum;
|
|
|
46393
46131
|
profileCheckpoint("after_connectMcp_claudeai");
|
|
46394
46132
|
if (!isBareMode()) {
|
|
46395
46133
|
startDeferredPrefetches();
|
|
46396
|
-
import("./chunk-
|
|
46134
|
+
import("./chunk-9nfmmvnj.js").then((m) => m.startBackgroundHousekeeping());
|
|
46397
46135
|
if (process.env.USER_TYPE === "ant") {
|
|
46398
46136
|
import("./chunk-3nk79af8.js").then((m) => m.startSdkMemoryMonitor());
|
|
46399
46137
|
}
|
|
46400
46138
|
}
|
|
46401
46139
|
logSessionTelemetry();
|
|
46402
46140
|
profileCheckpoint("before_print_import");
|
|
46403
|
-
const { runHeadless } = await import("./chunk-
|
|
46141
|
+
const { runHeadless } = await import("./chunk-e83pr4fx.js");
|
|
46404
46142
|
profileCheckpoint("after_print_import");
|
|
46405
46143
|
runHeadless(inputPrompt, () => headlessStore.getState(), headlessStore.setState, commandsHeadless, tools, sdkMcpConfigs, agentDefinitions.activeAgents, {
|
|
46406
46144
|
continue: options.continue,
|
|
@@ -46627,7 +46365,7 @@ ${assistantAddendum}` : assistantAddendum;
|
|
|
46627
46365
|
let resumeSucceeded = false;
|
|
46628
46366
|
try {
|
|
46629
46367
|
const resumeStart = performance.now();
|
|
46630
|
-
const { clearSessionCaches } = await import("./chunk-
|
|
46368
|
+
const { clearSessionCaches } = await import("./chunk-qgxh55n4.js");
|
|
46631
46369
|
clearSessionCaches();
|
|
46632
46370
|
const result = await loadConversationForResume(undefined, undefined);
|
|
46633
46371
|
if (!result) {
|
|
@@ -46715,7 +46453,7 @@ ${assistantAddendum}` : assistantAddendum;
|
|
|
46715
46453
|
const {
|
|
46716
46454
|
checkAndRefreshOAuthTokenIfNeeded,
|
|
46717
46455
|
getClaudeAIOAuthTokens: getClaudeAIOAuthTokens2
|
|
46718
|
-
} = await import("./chunk-
|
|
46456
|
+
} = await import("./chunk-44r9krxs.js");
|
|
46719
46457
|
await checkAndRefreshOAuthTokenIfNeeded();
|
|
46720
46458
|
let apiCreds;
|
|
46721
46459
|
try {
|
|
@@ -46754,7 +46492,7 @@ ${assistantAddendum}` : assistantAddendum;
|
|
|
46754
46492
|
}, renderAndRun);
|
|
46755
46493
|
return;
|
|
46756
46494
|
} else if (options.resume || options.fromPr || teleport || remote !== null) {
|
|
46757
|
-
const { clearSessionCaches } = await import("./chunk-
|
|
46495
|
+
const { clearSessionCaches } = await import("./chunk-qgxh55n4.js");
|
|
46758
46496
|
clearSessionCaches();
|
|
46759
46497
|
let messages = null;
|
|
46760
46498
|
let processedResume;
|
|
@@ -46829,7 +46567,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
46829
46567
|
logError(toError(error));
|
|
46830
46568
|
return await exitWithError(root, `Error: ${errorMessage(error) || "Failed to authenticate"}`, () => gracefulShutdown(1));
|
|
46831
46569
|
}
|
|
46832
|
-
const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-
|
|
46570
|
+
const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-44r9krxs.js");
|
|
46833
46571
|
const getAccessTokenForRemote = () => getTokensForRemote()?.accessToken ?? apiCreds.accessToken;
|
|
46834
46572
|
const remoteSessionConfig = createRemoteSessionConfig(createdSession.id, getAccessTokenForRemote, apiCreds.orgUUID, hasInitialPrompt);
|
|
46835
46573
|
const remoteSessionUrl = `${getRemoteSessionUrl(createdSession.id)}?m=0`;
|
|
@@ -46902,7 +46640,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
46902
46640
|
`));
|
|
46903
46641
|
}
|
|
46904
46642
|
await validateGitState();
|
|
46905
|
-
const { teleportWithProgress } = await import("./chunk-
|
|
46643
|
+
const { teleportWithProgress } = await import("./chunk-6khdhz07.js");
|
|
46906
46644
|
const result = await teleportWithProgress(root, teleport);
|
|
46907
46645
|
setTeleportedSessionInfo({ sessionId: teleport });
|
|
46908
46646
|
messages = result.messages;
|
|
@@ -47111,7 +46849,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
47111
46849
|
pendingHookMessages
|
|
47112
46850
|
}, renderAndRun);
|
|
47113
46851
|
}
|
|
47114
|
-
}).version("4.0.
|
|
46852
|
+
}).version("4.0.7 (CoStrict)", "-v, --version", "Output the version number");
|
|
47115
46853
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
47116
46854
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
47117
46855
|
if (canUserConfigureAdvisor()) {
|
|
@@ -47168,7 +46906,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
47168
46906
|
debug,
|
|
47169
46907
|
verbose
|
|
47170
46908
|
}) => {
|
|
47171
|
-
const { mcpServeHandler } = await import("./chunk-
|
|
46909
|
+
const { mcpServeHandler } = await import("./chunk-mrpfbdqg.js");
|
|
47172
46910
|
await mcpServeHandler({ debug, verbose });
|
|
47173
46911
|
});
|
|
47174
46912
|
registerMcpAddCommand(mcp);
|
|
@@ -47176,107 +46914,107 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
47176
46914
|
registerMcpXaaIdpCommand(mcp);
|
|
47177
46915
|
}
|
|
47178
46916
|
mcp.command("remove <name>").description("Remove an MCP server").option("-s, --scope <scope>", "Configuration scope (local, user, or project) - if not specified, removes from whichever scope it exists in").action(async (name, options) => {
|
|
47179
|
-
const { mcpRemoveHandler } = await import("./chunk-
|
|
46917
|
+
const { mcpRemoveHandler } = await import("./chunk-mrpfbdqg.js");
|
|
47180
46918
|
await mcpRemoveHandler(name, options);
|
|
47181
46919
|
});
|
|
47182
46920
|
mcp.command("list").description("List configured MCP servers. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async () => {
|
|
47183
|
-
const { mcpListHandler } = await import("./chunk-
|
|
46921
|
+
const { mcpListHandler } = await import("./chunk-mrpfbdqg.js");
|
|
47184
46922
|
await mcpListHandler();
|
|
47185
46923
|
});
|
|
47186
46924
|
mcp.command("get <name>").description("Get details about an MCP server. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async (name) => {
|
|
47187
|
-
const { mcpGetHandler } = await import("./chunk-
|
|
46925
|
+
const { mcpGetHandler } = await import("./chunk-mrpfbdqg.js");
|
|
47188
46926
|
await mcpGetHandler(name);
|
|
47189
46927
|
});
|
|
47190
46928
|
mcp.command("add-json <name> <json>").description("Add an MCP server (stdio or SSE) with a JSON string").option("-s, --scope <scope>", "Configuration scope (local, user, or project)", "local").option("--client-secret", "Prompt for OAuth client secret (or set MCP_CLIENT_SECRET env var)").action(async (name, json, options) => {
|
|
47191
|
-
const { mcpAddJsonHandler } = await import("./chunk-
|
|
46929
|
+
const { mcpAddJsonHandler } = await import("./chunk-mrpfbdqg.js");
|
|
47192
46930
|
await mcpAddJsonHandler(name, json, options);
|
|
47193
46931
|
});
|
|
47194
46932
|
mcp.command("add-from-claude-desktop").description("Import MCP servers from Claude Desktop (Mac and WSL only)").option("-s, --scope <scope>", "Configuration scope (local, user, or project)", "local").action(async (options) => {
|
|
47195
|
-
const { mcpAddFromDesktopHandler } = await import("./chunk-
|
|
46933
|
+
const { mcpAddFromDesktopHandler } = await import("./chunk-mrpfbdqg.js");
|
|
47196
46934
|
await mcpAddFromDesktopHandler(options);
|
|
47197
46935
|
});
|
|
47198
46936
|
mcp.command("reset-project-choices").description("Reset all approved and rejected project-scoped (.mcp.json) servers within this project").action(async () => {
|
|
47199
|
-
const { mcpResetChoicesHandler } = await import("./chunk-
|
|
46937
|
+
const { mcpResetChoicesHandler } = await import("./chunk-mrpfbdqg.js");
|
|
47200
46938
|
await mcpResetChoicesHandler();
|
|
47201
46939
|
});
|
|
47202
46940
|
if (false) {}
|
|
47203
46941
|
if (false) {}
|
|
47204
46942
|
if (false) {}
|
|
47205
46943
|
const auth = program2.command("auth").description("Manage authentication").configureHelp(createSortedHelpConfig());
|
|
47206
|
-
auth.command("login").description("Sign in to your CoStrict account").option("--email <email>", "Pre-populate email address on the login page").option("--sso", "Force SSO login flow").option("--console", "Use Anthropic Console (API usage billing) instead of
|
|
46944
|
+
auth.command("login").description("Sign in to your CoStrict account").option("--email <email>", "Pre-populate email address on the login page (Anthropic OAuth only)").option("--sso", "Force SSO login flow (Anthropic OAuth only)").option("--console", "Use Anthropic Console (API usage billing) instead of CoStrict").option("--claudeai", "Use Claude subscription instead of CoStrict").action(async ({
|
|
47207
46945
|
email,
|
|
47208
46946
|
sso,
|
|
47209
46947
|
console: useConsole,
|
|
47210
46948
|
claudeai
|
|
47211
46949
|
}) => {
|
|
47212
|
-
const { authLogin } = await import("./chunk-
|
|
46950
|
+
const { authLogin } = await import("./chunk-c0yfbesp.js");
|
|
47213
46951
|
await authLogin({ email, sso, console: useConsole, claudeai });
|
|
47214
46952
|
});
|
|
47215
46953
|
auth.command("status").description("Show authentication status").option("--json", "Output as JSON (default)").option("--text", "Output as human-readable text").action(async (opts) => {
|
|
47216
|
-
const { authStatus } = await import("./chunk-
|
|
46954
|
+
const { authStatus } = await import("./chunk-c0yfbesp.js");
|
|
47217
46955
|
await authStatus(opts);
|
|
47218
46956
|
});
|
|
47219
46957
|
auth.command("logout").description("Log out from your CoStrict account").action(async () => {
|
|
47220
|
-
const { authLogout } = await import("./chunk-
|
|
46958
|
+
const { authLogout } = await import("./chunk-c0yfbesp.js");
|
|
47221
46959
|
await authLogout();
|
|
47222
46960
|
});
|
|
47223
46961
|
const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
|
|
47224
46962
|
const pluginCmd = program2.command("plugin").alias("plugins").description("Manage CoStrict plugins").configureHelp(createSortedHelpConfig());
|
|
47225
46963
|
pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath, options) => {
|
|
47226
|
-
const { pluginValidateHandler } = await import("./chunk-
|
|
46964
|
+
const { pluginValidateHandler } = await import("./chunk-8rcw640f.js");
|
|
47227
46965
|
await pluginValidateHandler(manifestPath, options);
|
|
47228
46966
|
});
|
|
47229
46967
|
pluginCmd.command("list").description("List installed plugins").option("--json", "Output as JSON").option("--available", "Include available plugins from marketplaces (requires --json)").addOption(coworkOption()).action(async (options) => {
|
|
47230
|
-
const { pluginListHandler } = await import("./chunk-
|
|
46968
|
+
const { pluginListHandler } = await import("./chunk-8rcw640f.js");
|
|
47231
46969
|
await pluginListHandler(options);
|
|
47232
46970
|
});
|
|
47233
46971
|
const marketplaceCmd = pluginCmd.command("marketplace").description("Manage CoStrict marketplaces").configureHelp(createSortedHelpConfig());
|
|
47234
46972
|
marketplaceCmd.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").addOption(coworkOption()).option("--sparse <paths...>", "Limit checkout to specific directories via git sparse-checkout (for monorepos). Example: --sparse .claude-plugin plugins").option("--scope <scope>", "Where to declare the marketplace: user (default), project, or local").action(async (source, options) => {
|
|
47235
|
-
const { marketplaceAddHandler } = await import("./chunk-
|
|
46973
|
+
const { marketplaceAddHandler } = await import("./chunk-8rcw640f.js");
|
|
47236
46974
|
await marketplaceAddHandler(source, options);
|
|
47237
46975
|
});
|
|
47238
46976
|
marketplaceCmd.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").addOption(coworkOption()).action(async (options) => {
|
|
47239
|
-
const { marketplaceListHandler } = await import("./chunk-
|
|
46977
|
+
const { marketplaceListHandler } = await import("./chunk-8rcw640f.js");
|
|
47240
46978
|
await marketplaceListHandler(options);
|
|
47241
46979
|
});
|
|
47242
46980
|
marketplaceCmd.command("remove <name>").alias("rm").description("Remove a configured marketplace").addOption(coworkOption()).action(async (name, options) => {
|
|
47243
|
-
const { marketplaceRemoveHandler } = await import("./chunk-
|
|
46981
|
+
const { marketplaceRemoveHandler } = await import("./chunk-8rcw640f.js");
|
|
47244
46982
|
await marketplaceRemoveHandler(name, options);
|
|
47245
46983
|
});
|
|
47246
46984
|
marketplaceCmd.command("update [name]").description("Update marketplace(s) from their source - updates all if no name specified").addOption(coworkOption()).action(async (name, options) => {
|
|
47247
|
-
const { marketplaceUpdateHandler } = await import("./chunk-
|
|
46985
|
+
const { marketplaceUpdateHandler } = await import("./chunk-8rcw640f.js");
|
|
47248
46986
|
await marketplaceUpdateHandler(name, options);
|
|
47249
46987
|
});
|
|
47250
46988
|
pluginCmd.command("install <plugin>").alias("i").description("Install a plugin from available marketplaces (use plugin@marketplace for specific marketplace)").option("-s, --scope <scope>", "Installation scope: user, project, or local", "user").addOption(coworkOption()).action(async (plugin, options) => {
|
|
47251
|
-
const { pluginInstallHandler } = await import("./chunk-
|
|
46989
|
+
const { pluginInstallHandler } = await import("./chunk-8rcw640f.js");
|
|
47252
46990
|
await pluginInstallHandler(plugin, options);
|
|
47253
46991
|
});
|
|
47254
46992
|
pluginCmd.command("uninstall <plugin>").alias("remove").alias("rm").description("Uninstall an installed plugin").option("-s, --scope <scope>", "Uninstall from scope: user, project, or local", "user").option("--keep-data", "Preserve the plugin's persistent data directory (~/.claude/plugins/data/{id}/)").addOption(coworkOption()).action(async (plugin, options) => {
|
|
47255
|
-
const { pluginUninstallHandler } = await import("./chunk-
|
|
46993
|
+
const { pluginUninstallHandler } = await import("./chunk-8rcw640f.js");
|
|
47256
46994
|
await pluginUninstallHandler(plugin, options);
|
|
47257
46995
|
});
|
|
47258
46996
|
pluginCmd.command("enable <plugin>").description("Enable a disabled plugin").option("-s, --scope <scope>", `Installation scope: ${VALID_INSTALLABLE_SCOPES.join(", ")} (default: auto-detect)`).addOption(coworkOption()).action(async (plugin, options) => {
|
|
47259
|
-
const { pluginEnableHandler } = await import("./chunk-
|
|
46997
|
+
const { pluginEnableHandler } = await import("./chunk-8rcw640f.js");
|
|
47260
46998
|
await pluginEnableHandler(plugin, options);
|
|
47261
46999
|
});
|
|
47262
47000
|
pluginCmd.command("disable [plugin]").description("Disable an enabled plugin").option("-a, --all", "Disable all enabled plugins").option("-s, --scope <scope>", `Installation scope: ${VALID_INSTALLABLE_SCOPES.join(", ")} (default: auto-detect)`).addOption(coworkOption()).action(async (plugin, options) => {
|
|
47263
|
-
const { pluginDisableHandler } = await import("./chunk-
|
|
47001
|
+
const { pluginDisableHandler } = await import("./chunk-8rcw640f.js");
|
|
47264
47002
|
await pluginDisableHandler(plugin, options);
|
|
47265
47003
|
});
|
|
47266
47004
|
pluginCmd.command("update <plugin>").description("Update a plugin to the latest version (restart required to apply)").option("-s, --scope <scope>", `Installation scope: ${VALID_UPDATE_SCOPES.join(", ")} (default: user)`).addOption(coworkOption()).action(async (plugin, options) => {
|
|
47267
|
-
const { pluginUpdateHandler } = await import("./chunk-
|
|
47005
|
+
const { pluginUpdateHandler } = await import("./chunk-8rcw640f.js");
|
|
47268
47006
|
await pluginUpdateHandler(plugin, options);
|
|
47269
47007
|
});
|
|
47270
47008
|
program2.command("setup-token").description("Set up a long-lived authentication token (requires Claude subscription)").action(async () => {
|
|
47271
47009
|
const [{ setupTokenHandler }, { createRoot }] = await Promise.all([
|
|
47272
|
-
import("./chunk-
|
|
47010
|
+
import("./chunk-h4x5dems.js"),
|
|
47273
47011
|
import("./chunk-vsa6z84y.js")
|
|
47274
47012
|
]);
|
|
47275
47013
|
const root = await createRoot(getBaseRenderOptions(false));
|
|
47276
47014
|
await setupTokenHandler(root);
|
|
47277
47015
|
});
|
|
47278
47016
|
program2.command("agents").description("List configured agents").option("--setting-sources <sources>", "Comma-separated list of setting sources to load (user, project, local).").action(async () => {
|
|
47279
|
-
const { agentsHandler } = await import("./chunk-
|
|
47017
|
+
const { agentsHandler } = await import("./chunk-3cjdmdrc.js");
|
|
47280
47018
|
await agentsHandler();
|
|
47281
47019
|
process.exit(0);
|
|
47282
47020
|
});
|
|
@@ -47293,12 +47031,12 @@ Omit sessionId to discover and pick from available sessions.
|
|
|
47293
47031
|
});
|
|
47294
47032
|
}
|
|
47295
47033
|
program2.command("update").alias("upgrade").description("Check for updates and install the latest version").action(async () => {
|
|
47296
|
-
const { update } = await import("./chunk-
|
|
47034
|
+
const { update } = await import("./chunk-nhyrvj9d.js");
|
|
47297
47035
|
await update();
|
|
47298
47036
|
});
|
|
47299
47037
|
program2.command("doctor").description("Check the health of your CoStrict auto-updater. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async () => {
|
|
47300
47038
|
const [{ doctorHandler }, { createRoot }] = await Promise.all([
|
|
47301
|
-
import("./chunk-
|
|
47039
|
+
import("./chunk-h4x5dems.js"),
|
|
47302
47040
|
import("./chunk-vsa6z84y.js")
|
|
47303
47041
|
]);
|
|
47304
47042
|
const root = await createRoot(getBaseRenderOptions(false));
|
|
@@ -47322,7 +47060,7 @@ Examples:
|
|
|
47322
47060
|
});
|
|
47323
47061
|
}
|
|
47324
47062
|
program2.command("install [target]").description("Install CoStrict native build. Use [target] to specify version (stable, latest, or specific version)").option("--force", "Force installation even if already installed").action(async (target, options) => {
|
|
47325
|
-
const { installHandler } = await import("./chunk-
|
|
47063
|
+
const { installHandler } = await import("./chunk-h4x5dems.js");
|
|
47326
47064
|
await installHandler(target, options);
|
|
47327
47065
|
});
|
|
47328
47066
|
if (process.env.USER_TYPE === "ant") {
|