@costrict/csc 4.0.26 → 4.1.1
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/{chunk-zqpjzykt.js → chunk-00f3aac0.js} +6 -6
- package/dist/{chunk-rj90jr3s.js → chunk-07vfsvas.js} +2 -2
- package/dist/{chunk-473tm966.js → chunk-08wf7txh.js} +7 -7
- package/dist/{chunk-a98cfwsn.js → chunk-09af0bmq.js} +7 -7
- package/dist/{chunk-dc7mqdvk.js → chunk-0fq3smhy.js} +4 -4
- package/dist/{chunk-6tznqggp.js → chunk-0hr0mh6d.js} +3 -3
- package/dist/{chunk-nv8s5paw.js → chunk-0j3jy5jp.js} +33 -33
- package/dist/{chunk-4as2z0z2.js → chunk-0p6e05c5.js} +2 -2
- package/dist/{chunk-mfse41eq.js → chunk-0qa1hgxp.js} +5 -5
- package/dist/{chunk-h8hxw8bx.js → chunk-16waz3fy.js} +3 -3
- package/dist/{chunk-b7j23h93.js → chunk-17j9hb87.js} +34 -34
- package/dist/{chunk-a9xw4y2b.js → chunk-193vfma7.js} +36 -36
- package/dist/{chunk-p2g74nnb.js → chunk-1dg4nrws.js} +5 -5
- package/dist/{chunk-bt2sad7r.js → chunk-1h952cez.js} +3 -4
- package/dist/{chunk-5t3f5hvd.js → chunk-1mf9624z.js} +33 -33
- package/dist/{chunk-k497h47k.js → chunk-1qdm27em.js} +33 -33
- package/dist/{chunk-6rtar6ph.js → chunk-1qw175nj.js} +3 -3
- package/dist/{chunk-30bnv64r.js → chunk-1wxx3s6s.js} +2 -2
- package/dist/{chunk-3ren8cyc.js → chunk-1yzryj0w.js} +42 -42
- package/dist/{chunk-5ev9aqg9.js → chunk-23nwpyay.js} +5 -5
- package/dist/{chunk-1tayszbn.js → chunk-25a6cm96.js} +2 -2
- package/dist/{chunk-m0dzmb49.js → chunk-26w1pqen.js} +34 -34
- package/dist/{chunk-m1cde5ep.js → chunk-2fnpj7fv.js} +5 -5
- package/dist/{chunk-4dr0xd36.js → chunk-2km8scdk.js} +33 -33
- package/dist/{chunk-agxvakrv.js → chunk-2vfcftww.js} +34 -34
- package/dist/{chunk-hf082yr2.js → chunk-2wbgexnn.js} +36 -36
- package/dist/{chunk-ggkz7zpe.js → chunk-304wjbyj.js} +3 -3
- package/dist/{chunk-pktb949w.js → chunk-31fcazbn.js} +2 -2
- package/dist/{chunk-222t7fpw.js → chunk-34merw4c.js} +34 -34
- package/dist/{chunk-0bgkjrsh.js → chunk-352yw5fs.js} +6 -6
- package/dist/{chunk-d6k1g2xf.js → chunk-3d8ccn91.js} +5 -5
- package/dist/{chunk-pgfyhd5y.js → chunk-3dkccqes.js} +4 -4
- package/dist/{chunk-6a9p49xv.js → chunk-3fs4xc9h.js} +3 -3
- package/dist/{chunk-ywj3pbpp.js → chunk-3s7v8tsk.js} +9 -213
- package/dist/{chunk-kcxrtdwq.js → chunk-3tm5sns7.js} +42 -42
- package/dist/{chunk-n8nvnv1w.js → chunk-3xwn1ww1.js} +6 -6
- package/dist/{chunk-b0mcjhjp.js → chunk-3yc8k84c.js} +15 -15
- package/dist/{chunk-5fxx5288.js → chunk-4157n57z.js} +2 -2
- package/dist/{chunk-t1c15718.js → chunk-456jxy81.js} +33 -33
- package/dist/{chunk-s3y7bydr.js → chunk-4aqc3s2f.js} +4 -4
- package/dist/{chunk-1t4xbttb.js → chunk-4c56f6d2.js} +3 -3
- package/dist/{chunk-f97yjttq.js → chunk-4fjgdmr9.js} +22 -22
- package/dist/{chunk-0gsmsdh4.js → chunk-4k2ztys5.js} +33 -33
- package/dist/{chunk-pznwmgqg.js → chunk-4pf098nn.js} +35 -35
- package/dist/{chunk-p1d8at8g.js → chunk-4xbk1cv1.js} +4 -4
- package/dist/{chunk-qyz9jmp9.js → chunk-4zqzdz62.js} +33 -33
- package/dist/{chunk-z6cnqvmw.js → chunk-51pkqrja.js} +33 -33
- package/dist/{chunk-b9pf192h.js → chunk-551jxdwj.js} +36 -36
- package/dist/{chunk-5nt8dd0r.js → chunk-56djb736.js} +2 -2
- package/dist/{chunk-826b1sfh.js → chunk-57h3kd2w.js} +35 -35
- package/dist/{chunk-twxk0xky.js → chunk-587dvnad.js} +2 -2
- package/dist/chunk-5bw23taw.js +215 -0
- package/dist/{chunk-2e3zdzh1.js → chunk-5c1ym1nc.js} +39 -39
- package/dist/{chunk-pc7p24mg.js → chunk-5kcmmrbe.js} +2 -2
- package/dist/{chunk-rpmtzc0s.js → chunk-5nnjgn3n.js} +2 -2
- package/dist/{chunk-h87c7a24.js → chunk-5wvcws9f.js} +8 -8
- package/dist/{chunk-1vq6x9q5.js → chunk-5x884kq9.js} +37 -37
- package/dist/{chunk-cgk2pjgp.js → chunk-5yjm9yth.js} +35 -35
- package/dist/{chunk-g3vjsmnj.js → chunk-60731s4z.js} +2 -2
- package/dist/{chunk-rtfqf8z6.js → chunk-61008xjm.js} +35 -35
- package/dist/{chunk-ezyjzfxp.js → chunk-61xprjs1.js} +34 -34
- package/dist/{chunk-m7d30ca2.js → chunk-63hz4ckd.js} +4 -4
- package/dist/{chunk-0d8p60ae.js → chunk-6dhkeb6t.js} +3 -3
- package/dist/{chunk-ffdy7rh1.js → chunk-6hnqaxvs.js} +35 -35
- package/dist/{chunk-r2xvch4b.js → chunk-6ka2mh69.js} +106 -84
- package/dist/{chunk-gqne99kd.js → chunk-6nqv04m4.js} +2 -2
- package/dist/{chunk-s9akg5gx.js → chunk-72cez8rw.js} +34 -34
- package/dist/{chunk-d350mtdp.js → chunk-732ycv3a.js} +5 -5
- package/dist/{chunk-355gws28.js → chunk-75q1d027.js} +35 -35
- package/dist/{chunk-er7ftgay.js → chunk-78kph36p.js} +33 -33
- package/dist/{chunk-h53hzpwf.js → chunk-7c4fsh0s.js} +36 -35
- package/dist/{chunk-fabjfz76.js → chunk-7cgjgppb.js} +3 -3
- package/dist/{chunk-pb0y08dh.js → chunk-7d5yfjs6.js} +2 -2
- package/dist/{chunk-mjrt04hp.js → chunk-7ghq231e.js} +2 -2
- package/dist/{chunk-a1agzjjq.js → chunk-7h13c72t.js} +8 -8
- package/dist/{chunk-z23e45bm.js → chunk-7jkb3tck.js} +7 -7
- package/dist/{chunk-a2menty3.js → chunk-7kznscxn.js} +59 -51
- package/dist/{chunk-pk38htem.js → chunk-7npzwf36.js} +33 -33
- package/dist/{chunk-xv8a3z7c.js → chunk-7nwehwa4.js} +5 -5
- package/dist/{chunk-9fyx3c1j.js → chunk-7nyptyee.js} +3 -3
- package/dist/{chunk-fwv3gw04.js → chunk-7qq9wgng.js} +3 -3
- package/dist/{chunk-z6ym9w36.js → chunk-7s3wyn34.js} +34 -34
- package/dist/{chunk-9k5sqmrn.js → chunk-7t9j97cz.js} +35 -35
- package/dist/{chunk-8fzv1f9r.js → chunk-7v874g5h.js} +4 -4
- package/dist/{chunk-09xfd9fs.js → chunk-80yycsam.js} +15 -15
- package/dist/{chunk-tcrqp6wc.js → chunk-837h4x1j.js} +2 -2
- package/dist/{chunk-mb72n8pg.js → chunk-83m8mxaj.js} +2 -2
- package/dist/{chunk-g5zhahz5.js → chunk-841eka5g.js} +40 -40
- package/dist/{chunk-tkwrfnsb.js → chunk-87s3zt6w.js} +3 -3
- package/dist/{chunk-3qrza6tk.js → chunk-8dtk8ma2.js} +4 -4
- package/dist/{chunk-6jzkh510.js → chunk-8ehewpj6.js} +3 -3
- package/dist/{chunk-xxxjveh1.js → chunk-8n28z1eg.js} +6 -6
- package/dist/{chunk-x33p4amm.js → chunk-8py19hja.js} +36 -36
- package/dist/{chunk-w5a3424c.js → chunk-8z5fmqh3.js} +33 -33
- package/dist/{chunk-apnse6et.js → chunk-8zdrypte.js} +2 -2
- package/dist/{chunk-jrhz76hn.js → chunk-90qefxa4.js} +46 -46
- package/dist/{chunk-5ejr67k7.js → chunk-98204r0v.js} +3 -3
- package/dist/{chunk-yg99yatw.js → chunk-9ds6nhgx.js} +43 -43
- package/dist/{chunk-sbt35yj7.js → chunk-9eervnn3.js} +3 -3
- package/dist/{chunk-6n9zpe91.js → chunk-9khxkxz7.js} +2 -2
- package/dist/{chunk-n7we2mzq.js → chunk-9tkrb3jy.js} +33 -33
- package/dist/{chunk-9tkqjdpk.js → chunk-a35q4knx.js} +3 -3
- package/dist/{chunk-yjfkfxw6.js → chunk-a66xp7jk.js} +34 -12
- package/dist/{chunk-9vn3hkjw.js → chunk-a9garrrp.js} +33 -33
- package/dist/{chunk-wqkqhphb.js → chunk-a9pqw4tk.js} +4 -4
- package/dist/{chunk-qhxsnqvx.js → chunk-ab8c2gs2.js} +6 -6
- package/dist/{chunk-6wr0g1ss.js → chunk-ac3vxv72.js} +6 -6
- package/dist/{chunk-k2j6n6az.js → chunk-amnaevyb.js} +43 -43
- package/dist/{chunk-m6fbbptw.js → chunk-ancr20tb.js} +2 -2
- package/dist/{chunk-3wg2bpra.js → chunk-aq0t16sn.js} +5 -5
- package/dist/{chunk-k91shy8h.js → chunk-avaa7ds2.js} +5 -5
- package/dist/{chunk-hswxhdpb.js → chunk-azbndvdt.js} +85 -31
- package/dist/{chunk-d17ec2nx.js → chunk-b00v4z7e.js} +9 -9
- package/dist/{chunk-cpfdd0x4.js → chunk-b0hjzm3t.js} +43 -43
- package/dist/{chunk-84vepq31.js → chunk-b1dyfwm2.js} +5 -5
- package/dist/{chunk-3fpsjd12.js → chunk-b1my2ag9.js} +36 -36
- package/dist/{chunk-96cv2fyg.js → chunk-bdhx8k7k.js} +36 -36
- package/dist/{chunk-cwcx1ahx.js → chunk-bxfv6aew.js} +34 -34
- package/dist/{chunk-s2x7qa6s.js → chunk-bz6pjkch.js} +2 -2
- package/dist/{chunk-kvndafy2.js → chunk-c05zaj6g.js} +3 -3
- package/dist/{chunk-asakh3ef.js → chunk-c9gga8sn.js} +34 -34
- package/dist/{chunk-f4047zzs.js → chunk-cb3vp4tb.js} +2 -2
- package/dist/{chunk-awpm9px6.js → chunk-ccqk19v9.js} +33 -33
- package/dist/{chunk-2c1zv3bp.js → chunk-cea3mepz.js} +18 -18
- package/dist/{chunk-zcdb5xw5.js → chunk-cf98rrym.js} +5 -5
- package/dist/{chunk-1714gcjg.js → chunk-cg0h6vpf.js} +2 -2
- package/dist/{chunk-q6gcffj8.js → chunk-cjg9tm4d.js} +36 -36
- package/dist/{chunk-s4syfhb1.js → chunk-ck1qvj5k.js} +183 -155
- package/dist/{chunk-ey47wam7.js → chunk-cp4da168.js} +34 -34
- package/dist/{chunk-95d2h680.js → chunk-cph4yr50.js} +33 -33
- package/dist/{chunk-5mw10bf5.js → chunk-cqnfwapm.js} +2 -2
- package/dist/{chunk-gcwp4gz5.js → chunk-ctaxszne.js} +33 -33
- package/dist/{chunk-knme2vkr.js → chunk-ctw9a4hh.js} +10 -10
- package/dist/{chunk-91xqzmka.js → chunk-cvr6at4f.js} +2 -2
- package/dist/{chunk-06tab0db.js → chunk-cxktxwv9.js} +33 -33
- package/dist/{chunk-a183r425.js → chunk-d9tbq3h3.js} +2 -2
- package/dist/{chunk-wb6r77xv.js → chunk-d9tcjh43.js} +33 -33
- package/dist/{chunk-b849w74s.js → chunk-dawa3bxd.js} +2 -2
- package/dist/{chunk-h55ad1nf.js → chunk-dk8te1zz.js} +2 -2
- package/dist/{chunk-8m60p8wf.js → chunk-dkzq1yj3.js} +6 -6
- package/dist/{chunk-v2jh3msm.js → chunk-dmsc23kp.js} +6 -6
- package/dist/{chunk-1tpa48pv.js → chunk-dnp096zb.js} +3 -3
- package/dist/{chunk-fay16b5a.js → chunk-dt0y1vkc.js} +2 -2
- package/dist/{chunk-1r3cqxjm.js → chunk-dvp0xagf.js} +34 -34
- package/dist/{chunk-a18xh9vr.js → chunk-dw1cwmt3.js} +6 -6
- package/dist/{chunk-3bf13ch4.js → chunk-dwkc1vgf.js} +33 -33
- package/dist/{chunk-t3ckp6p5.js → chunk-e29wgmh7.js} +7 -7
- package/dist/{chunk-8zrpa416.js → chunk-ec3vxfsp.js} +35 -35
- package/dist/{chunk-gra6eehz.js → chunk-eeee4v34.js} +2 -2
- package/dist/{chunk-nhe1pq7a.js → chunk-egv3k4gg.js} +15 -14
- package/dist/{chunk-5jnpr97q.js → chunk-eje4tzhm.js} +34 -34
- package/dist/{chunk-znze5xat.js → chunk-ejfvtxhc.js} +30 -8
- package/dist/{chunk-0v91nxfq.js → chunk-emvhjwh9.js} +12 -12
- package/dist/{chunk-m35sysv5.js → chunk-etcypdxa.js} +33 -33
- package/dist/{chunk-kabcp9jz.js → chunk-etqmgb7b.js} +40 -40
- package/dist/{chunk-g845y1ka.js → chunk-evmvnppx.js} +33 -33
- package/dist/{chunk-qd8585n3.js → chunk-exag2njg.js} +16 -16
- package/dist/{chunk-74zfs1p8.js → chunk-f1az36w2.js} +92 -91
- package/dist/{chunk-wd1v2rnk.js → chunk-f2d9gmzw.js} +9 -9
- package/dist/{chunk-bxsaw58z.js → chunk-f6v5bq78.js} +2 -2
- package/dist/{chunk-aqdy7q9j.js → chunk-f9vf3z7d.js} +4 -4
- package/dist/{chunk-d7xg727q.js → chunk-fgfvmggw.js} +6 -6
- package/dist/{chunk-p6hz8rmv.js → chunk-fkjqakzs.js} +33 -33
- package/dist/{chunk-3ct5a91y.js → chunk-fkpm0dka.js} +9 -9
- package/dist/{chunk-9fkxas75.js → chunk-fnjqn6ez.js} +63 -59
- package/dist/{chunk-3hp9e8pz.js → chunk-fr84aysg.js} +6 -6
- package/dist/{chunk-32n46ss5.js → chunk-fstr76j0.js} +12 -12
- package/dist/{chunk-68y3gd6k.js → chunk-fv8tcte1.js} +42 -42
- package/dist/{chunk-p3awtaay.js → chunk-fxg6tk9f.js} +33 -33
- package/dist/{chunk-198zafav.js → chunk-g2r5nsx7.js} +2 -2
- package/dist/{chunk-cwm7h7rw.js → chunk-g410gawd.js} +34 -34
- package/dist/{chunk-nj65btxp.js → chunk-g6eqgh16.js} +4 -4
- package/dist/{chunk-f76npmzp.js → chunk-g6vvs0w9.js} +2 -2
- package/dist/{chunk-0tp7wk5n.js → chunk-ga5v18wb.js} +33 -33
- package/dist/{chunk-tep0xpvy.js → chunk-gcrf35hk.js} +34 -34
- package/dist/{chunk-5v90eybg.js → chunk-gf3t5h70.js} +36 -36
- package/dist/{chunk-4d9f55wm.js → chunk-gfsh3syp.js} +4 -4
- package/dist/{chunk-thrkdmq6.js → chunk-gmsb3jtb.js} +2 -2
- package/dist/{chunk-qmw8093t.js → chunk-gn0d6g6p.js} +2 -2
- package/dist/{chunk-0qffzcqf.js → chunk-gqxam9dm.js} +7 -7
- package/dist/{chunk-xfcdmcv8.js → chunk-gwfv9a10.js} +3 -3
- package/dist/{chunk-68v54e6s.js → chunk-gytaebn1.js} +33 -33
- package/dist/{chunk-zahezcse.js → chunk-h1e34028.js} +3 -3
- package/dist/{chunk-0cxxv51e.js → chunk-hdx2p9h7.js} +6 -6
- package/dist/{chunk-8g0x2fm1.js → chunk-hhdbv9eg.js} +3 -3
- package/dist/{chunk-wwtenh26.js → chunk-hjfabpxk.js} +3 -3
- package/dist/{chunk-49zrq0aq.js → chunk-hm9rq604.js} +33 -33
- package/dist/{chunk-myfwzd7t.js → chunk-hn438x41.js} +52 -52
- package/dist/{chunk-4q0zwd1b.js → chunk-hnh89cye.js} +62 -40
- package/dist/{chunk-t36byddf.js → chunk-hp6ym2xt.js} +3 -3
- package/dist/{chunk-z1q0sv24.js → chunk-hq20dsgb.js} +39 -37
- package/dist/{chunk-6anwrzmb.js → chunk-hvve83a7.js} +2 -2
- package/dist/{chunk-0j5w23ar.js → chunk-hyptxmaj.js} +10 -10
- package/dist/{chunk-9d5h62xw.js → chunk-jcd8qmcc.js} +39 -39
- package/dist/{chunk-ec0abnjq.js → chunk-jcfp9q8e.js} +36 -36
- package/dist/{chunk-9rmhhnky.js → chunk-jdvx0xe9.js} +33 -33
- package/dist/{chunk-3yn9qewt.js → chunk-je4jw9pe.js} +2 -2
- package/dist/{chunk-8m0rcan8.js → chunk-jjjrmgee.js} +34 -34
- package/dist/{chunk-jy654bwc.js → chunk-jpd98chs.js} +39 -39
- package/dist/{chunk-2a5n4jqf.js → chunk-jq30e6rg.js} +37 -37
- package/dist/{chunk-mfbs8dkm.js → chunk-js10hr63.js} +33 -33
- package/dist/{chunk-wsxh6ytz.js → chunk-jsfytv0f.js} +36 -36
- package/dist/{chunk-12521mm2.js → chunk-jw0ky94p.js} +34 -34
- package/dist/{chunk-wh7sk56t.js → chunk-jxefgv2b.js} +2 -2
- package/dist/{chunk-p0zry8fv.js → chunk-k1pjc56n.js} +3 -3
- package/dist/{chunk-g7tfjgmp.js → chunk-k8a68cwg.js} +44 -21
- package/dist/{chunk-bq9n6kwb.js → chunk-kankxtem.js} +34 -34
- package/dist/{chunk-5sk87amw.js → chunk-kexhnah5.js} +7 -7
- package/dist/{chunk-n9g527ks.js → chunk-kfdgw9j2.js} +5 -5
- package/dist/{chunk-2e3dq1vw.js → chunk-kqt7same.js} +35 -35
- package/dist/{chunk-yws0b4zr.js → chunk-krmmbjp9.js} +6 -6
- package/dist/{chunk-pcd3dc4w.js → chunk-ky41ddym.js} +6 -6
- package/dist/{chunk-nsf21qcs.js → chunk-kymq7j5k.js} +6 -6
- package/dist/{chunk-vcn9y21w.js → chunk-m4wfythr.js} +38 -38
- package/dist/{chunk-0y2xq6sr.js → chunk-m5daf1hp.js} +33 -33
- package/dist/{chunk-q2kcjake.js → chunk-mdmh4hh4.js} +36 -36
- package/dist/{chunk-ykxfctv3.js → chunk-mf1n757j.js} +8 -8
- package/dist/{chunk-tqpx2q8b.js → chunk-mt0hyhtp.js} +5 -5
- package/dist/{chunk-d8ay70ye.js → chunk-mwky1mwc.js} +6 -6
- package/dist/{chunk-g5njq8th.js → chunk-myysj9vz.js} +2 -2
- package/dist/{chunk-vz6pvfy5.js → chunk-mzh12ebc.js} +34 -34
- package/dist/{chunk-0chj27qz.js → chunk-n08zma6t.js} +33 -33
- package/dist/{chunk-011r0d97.js → chunk-n3xd3ev4.js} +4 -4
- package/dist/{chunk-bzspva98.js → chunk-na7nxj7y.js} +3 -3
- package/dist/{chunk-h55atsfa.js → chunk-naenwsts.js} +34 -34
- package/dist/{chunk-mawbarbs.js → chunk-naqmbswb.js} +99 -71
- package/dist/{chunk-dhatwdbp.js → chunk-ne02d12y.js} +3 -3
- package/dist/{chunk-385hthkc.js → chunk-nfaj0b7z.js} +33 -33
- package/dist/{chunk-x85krpfg.js → chunk-ng7nkgv1.js} +6 -6
- package/dist/{chunk-kjjyty3a.js → chunk-p2r92sj1.js} +33 -33
- package/dist/{chunk-ef90dkza.js → chunk-p3erbvbz.js} +2 -2
- package/dist/{chunk-3avqdqcm.js → chunk-p60wnp9a.js} +9 -9
- package/dist/{chunk-6xgbg3j6.js → chunk-p83fdzct.js} +3 -3
- package/dist/{chunk-s4zpzeyd.js → chunk-pathr6ec.js} +5 -5
- package/dist/{chunk-n2mkhmxw.js → chunk-pjvthvm1.js} +6 -6
- package/dist/{chunk-6tyxbqa0.js → chunk-pv7jrynh.js} +2 -2
- package/dist/{chunk-36jg7xdr.js → chunk-pxzawaw7.js} +34 -34
- package/dist/{chunk-e0ngpd0w.js → chunk-q0j190dz.js} +5 -5
- package/dist/{chunk-z2657ck2.js → chunk-q0ks2prw.js} +5 -5
- package/dist/{chunk-900344w6.js → chunk-q4v51jm6.js} +4 -4
- package/dist/{chunk-166as1sf.js → chunk-q9fppwnq.js} +35 -35
- package/dist/{chunk-nhm9aya1.js → chunk-qdfqack5.js} +2 -2
- package/dist/{chunk-c5nra9mn.js → chunk-qezmm114.js} +34 -34
- package/dist/{chunk-bkq06wc7.js → chunk-qhpnsf4r.js} +3 -3
- package/dist/{chunk-fm876wgz.js → chunk-qph8gdxy.js} +33 -33
- package/dist/{chunk-8hccyrns.js → chunk-qvzvzzdw.js} +2 -2
- package/dist/{chunk-b7zdp6mk.js → chunk-qy3bd939.js} +34 -34
- package/dist/{chunk-cnmm2pen.js → chunk-qzwja18r.js} +4 -4
- package/dist/{chunk-pd68s0y3.js → chunk-r1sfk1j6.js} +39 -38
- package/dist/{chunk-3pz41k09.js → chunk-raftjwkd.js} +5 -5
- package/dist/{chunk-11vc1vhg.js → chunk-rdmen6bn.js} +36 -36
- package/dist/{chunk-f9mrsh3x.js → chunk-rg3c0e6m.js} +35 -35
- package/dist/{chunk-jc79zywr.js → chunk-rhjbecsk.js} +8 -8
- package/dist/{chunk-tjs8dvx9.js → chunk-rhndt0ek.js} +6 -6
- package/dist/{chunk-k6anr72z.js → chunk-rmfp4mf2.js} +3 -3
- package/dist/{chunk-6w3jbf67.js → chunk-rqfzhr9m.js} +2 -2
- package/dist/{chunk-6tyjpkxm.js → chunk-rqn40hvy.js} +4 -4
- package/dist/{chunk-nwnpcajb.js → chunk-rs2skqcv.js} +3 -3
- package/dist/{chunk-37366ma5.js → chunk-rv57x1qr.js} +3 -3
- package/dist/{chunk-73krv3xz.js → chunk-rz56zge4.js} +22 -3
- package/dist/{chunk-zfschdzs.js → chunk-s3tdz6j0.js} +6 -6
- package/dist/{chunk-gfr74cys.js → chunk-s41zt5kj.js} +5 -5
- package/dist/{chunk-dg84tgsz.js → chunk-s4akexsk.js} +3 -3
- package/dist/{chunk-6z1nwq0x.js → chunk-s81bx611.js} +35 -35
- package/dist/{chunk-tezexc0d.js → chunk-sk9mmh7x.js} +33 -33
- package/dist/{chunk-hsxx81w3.js → chunk-sm0ak846.js} +4 -4
- package/dist/{chunk-n9c4m3tr.js → chunk-snjbtcsd.js} +4 -4
- package/dist/{chunk-kd8xf7he.js → chunk-spd5z6xd.js} +3 -3
- package/dist/{chunk-7qm4d1b2.js → chunk-sq5fyhqd.js} +46 -46
- package/dist/{chunk-jrha7a1s.js → chunk-sqnghamc.js} +33 -33
- package/dist/{chunk-v7jcc93g.js → chunk-srrcngcy.js} +3 -3
- package/dist/{chunk-38vtg40q.js → chunk-ssnp42gc.js} +8 -6
- package/dist/{chunk-zns59e48.js → chunk-sxgc1sm1.js} +2 -2
- package/dist/{chunk-fbn561q3.js → chunk-szkay129.js} +34 -34
- package/dist/{chunk-fbbsegj6.js → chunk-t2r4qham.js} +38 -38
- package/dist/{chunk-vvkyr7mm.js → chunk-t66dy38x.js} +7 -7
- package/dist/{chunk-1g967pre.js → chunk-t802hx06.js} +5 -5
- package/dist/{chunk-ptw14p46.js → chunk-t8bj4y17.js} +6 -6
- package/dist/{chunk-emj2asj0.js → chunk-t9z3edw6.js} +695 -217
- package/dist/{chunk-yaegsnjz.js → chunk-tbx1hn1a.js} +33 -33
- package/dist/{chunk-9bqhjm5p.js → chunk-tc848afj.js} +12 -12
- package/dist/{chunk-0n4jvb9f.js → chunk-tjc1tx3q.js} +2 -2
- package/dist/{chunk-m6wskk6x.js → chunk-tn5b34gd.js} +33 -33
- package/dist/{chunk-xmgpc45n.js → chunk-v2gsemps.js} +2 -2
- package/dist/{chunk-a8ntzv7r.js → chunk-v91g64jx.js} +6 -6
- package/dist/{chunk-59y1adsx.js → chunk-vempyean.js} +2 -2
- package/dist/{chunk-kbb7ns4b.js → chunk-vgzdtvca.js} +4 -4
- package/dist/{chunk-q9mhgwx7.js → chunk-vhnm2h49.js} +2 -2
- package/dist/{chunk-8sm4m9gn.js → chunk-vnsmwwcx.js} +6 -6
- package/dist/{chunk-2g1tgnxv.js → chunk-vtwf9pyn.js} +2 -2
- package/dist/{chunk-ks94rxy2.js → chunk-vwpr34gb.js} +44 -44
- package/dist/{chunk-7qtre57f.js → chunk-w4bqdhna.js} +5 -5
- package/dist/{chunk-bnya4bde.js → chunk-w6x102n9.js} +33 -33
- package/dist/{chunk-cpffd1z8.js → chunk-wbwzf5z4.js} +2 -2
- package/dist/{chunk-gp9gnjnw.js → chunk-wfyhm9cg.js} +34 -34
- package/dist/{chunk-x9jzmqv3.js → chunk-wgvazba2.js} +5 -5
- package/dist/{chunk-g74egqk1.js → chunk-whbkstfm.js} +33 -33
- package/dist/{chunk-wwzg2ek6.js → chunk-wmd102c3.js} +35 -35
- package/dist/{chunk-1m49s9x9.js → chunk-wn11yvgy.js} +34 -34
- package/dist/{chunk-16ncx3yz.js → chunk-wpm7sbfe.js} +33 -33
- package/dist/{chunk-6eemhnjg.js → chunk-wvh4g9jt.js} +33 -33
- package/dist/{chunk-am866519.js → chunk-wwt8x57q.js} +37 -37
- package/dist/{chunk-4jw2pkjv.js → chunk-x0nt6xta.js} +34 -34
- package/dist/{chunk-q4dnqycm.js → chunk-x59dmzab.js} +40 -40
- package/dist/{chunk-e2e17ebw.js → chunk-x7t8wrq1.js} +33 -33
- package/dist/{chunk-9ehaesss.js → chunk-xb6r5wtg.js} +2 -2
- package/dist/{chunk-d98383r3.js → chunk-xbc1xb90.js} +34 -34
- package/dist/{chunk-nxh4a3yy.js → chunk-xgjs3rkr.js} +33 -33
- package/dist/{chunk-gte84y9c.js → chunk-xj7nr4b8.js} +5 -5
- package/dist/{chunk-jw71r4r1.js → chunk-xn02xqxj.js} +2 -2
- package/dist/{chunk-x6say5dj.js → chunk-xqzmd8rx.js} +2 -2
- package/dist/{chunk-sf09rsk5.js → chunk-xt7g86gj.js} +3 -3
- package/dist/{chunk-70ng3b8c.js → chunk-xzw0ettz.js} +9 -9
- package/dist/{chunk-jmkyxhzj.js → chunk-y1cqsd0p.js} +33 -33
- package/dist/{chunk-e068hr0y.js → chunk-y7q1vtv4.js} +41 -41
- package/dist/{chunk-3czh6jjh.js → chunk-y90gh0z2.js} +33 -33
- package/dist/{chunk-c3afnn86.js → chunk-y9g1ynzy.js} +35 -35
- package/dist/{chunk-7t54b4dv.js → chunk-yaefwx7d.js} +33 -33
- package/dist/{chunk-j2xpctqm.js → chunk-ybzc4vyc.js} +8 -8
- package/dist/{chunk-2dp1wykr.js → chunk-ycjjsnm4.js} +2 -2
- package/dist/{chunk-vy79z624.js → chunk-yephhrfa.js} +5 -5
- package/dist/{chunk-1j7pkej8.js → chunk-yjmtjd5c.js} +33 -33
- package/dist/{chunk-pkzb5nre.js → chunk-yjyaq9ja.js} +3 -3
- package/dist/{chunk-a8gyfj1z.js → chunk-yk99hmx2.js} +2 -2
- package/dist/{chunk-c64ywjbh.js → chunk-ytzqmbt0.js} +33 -33
- package/dist/{chunk-2frm2k93.js → chunk-yvsb81fm.js} +6 -6
- package/dist/{chunk-q2ek5vmm.js → chunk-yydr31ss.js} +12 -12
- package/dist/{chunk-qevt0qy4.js → chunk-z763jd56.js} +3 -3
- package/dist/{chunk-f6e9471g.js → chunk-z9ezvde9.js} +33 -33
- package/dist/{chunk-4ft976nv.js → chunk-zdnv8fvz.js} +33 -33
- package/dist/{chunk-r85pyxw6.js → chunk-zffnk5t6.js} +4 -4
- package/dist/{chunk-cfk99554.js → chunk-zpte5txk.js} +33 -33
- package/dist/{chunk-nw0xnj0e.js → chunk-ztqe8k2y.js} +3 -3
- package/dist/{chunk-eyt9gcfx.js → chunk-zxhtrvtt.js} +2 -2
- package/dist/{chunk-nkfc361r.js → chunk-zzjq53z6.js} +90 -89
- package/dist/cli.js +19 -19
- package/dist/services/rawDump/batchWorker.js +8 -6
- package/package.json +1 -1
- package/scripts/postinstall.cjs +107 -1
|
@@ -29,19 +29,19 @@ import {
|
|
|
29
29
|
sendSessionActivitySignal,
|
|
30
30
|
startSessionActivity,
|
|
31
31
|
stopSessionActivity
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ejfvtxhc.js";
|
|
33
33
|
import {
|
|
34
34
|
clearTrustedDeviceTokenCache,
|
|
35
35
|
init_trustedDevice
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-cg0h6vpf.js";
|
|
37
37
|
import {
|
|
38
38
|
init_sessionDataUploader,
|
|
39
39
|
uploadSessionTurn
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ssnp42gc.js";
|
|
41
41
|
import {
|
|
42
42
|
getTeammateModeFromSnapshot,
|
|
43
43
|
init_teammateModeSnapshot
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-dawa3bxd.js";
|
|
45
45
|
import {
|
|
46
46
|
DANGEROUS_uncachedSystemPromptSection,
|
|
47
47
|
clearSystemPromptSections,
|
|
@@ -64,11 +64,11 @@ import {
|
|
|
64
64
|
getUndercoverInstructions,
|
|
65
65
|
init_undercover,
|
|
66
66
|
isUndercover
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-c05zaj6g.js";
|
|
68
68
|
import {
|
|
69
69
|
SentryErrorBoundary,
|
|
70
70
|
init_SentryErrorBoundary
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-cqnfwapm.js";
|
|
72
72
|
import {
|
|
73
73
|
init_p_map,
|
|
74
74
|
pMap
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
createEmptyAttributionState,
|
|
83
83
|
init_commitAttribution,
|
|
84
84
|
isInternalModelRepo
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-jxefgv2b.js";
|
|
86
86
|
import {
|
|
87
87
|
init_store,
|
|
88
88
|
updateProviderBuckets
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
unregisterTeamForSessionCleanup,
|
|
126
126
|
updateTask,
|
|
127
127
|
writeTeamFileAsync
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-vempyean.js";
|
|
129
129
|
import {
|
|
130
130
|
BUILTIN_MARKETPLACE_NAME,
|
|
131
131
|
escapeXml,
|
|
@@ -138,11 +138,11 @@ import {
|
|
|
138
138
|
parsePluginIdentifier,
|
|
139
139
|
scopeToSettingSource,
|
|
140
140
|
settingSourceToScope
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-ycjjsnm4.js";
|
|
142
142
|
import {
|
|
143
143
|
closeSentry,
|
|
144
144
|
init_sentry
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-h1e34028.js";
|
|
146
146
|
import {
|
|
147
147
|
init_worktreeModeEnabled,
|
|
148
148
|
isWorktreeModeEnabled
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
cosineSimilarity,
|
|
160
160
|
init_localSearch,
|
|
161
161
|
tokenizeAndStem
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-25a6cm96.js";
|
|
163
163
|
import {
|
|
164
164
|
hasMalformedTokens,
|
|
165
165
|
hasShellQuoteSingleQuoteBug,
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
init_useDoublePress,
|
|
176
176
|
init_useExitOnCtrlCDWithKeybindings,
|
|
177
177
|
useExitOnCtrlCDWithKeybindings
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-q0ks2prw.js";
|
|
179
179
|
import {
|
|
180
180
|
READ_FILE_STATE_CACHE_SIZE,
|
|
181
181
|
cacheKeys,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
init_terminalSetup,
|
|
191
191
|
markBackslashReturnUsed,
|
|
192
192
|
maybeMarkProjectOnboardingComplete
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-4aqc3s2f.js";
|
|
194
194
|
import {
|
|
195
195
|
debugBody,
|
|
196
196
|
exports_sessionIdCompat,
|
|
@@ -210,10 +210,10 @@ import {
|
|
|
210
210
|
getBreakCacheAlwaysPath,
|
|
211
211
|
getBreakCacheMarkerPath,
|
|
212
212
|
init_break_cache
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-tjc1tx3q.js";
|
|
214
214
|
import {
|
|
215
215
|
init_useKeybinding
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-8zdrypte.js";
|
|
217
217
|
import {
|
|
218
218
|
TungstenTool,
|
|
219
219
|
init_TungstenTool
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
exports_poorMode,
|
|
223
223
|
init_poorMode,
|
|
224
224
|
isPoorModeActive
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-587dvnad.js";
|
|
226
226
|
import {
|
|
227
227
|
checkComputerUseLock,
|
|
228
228
|
init_computerUseLock,
|
|
@@ -368,7 +368,7 @@ import {
|
|
|
368
368
|
removeCronTasks,
|
|
369
369
|
renderPromptTemplate,
|
|
370
370
|
toolMatchesName
|
|
371
|
-
} from "./chunk-
|
|
371
|
+
} from "./chunk-rqfzhr9m.js";
|
|
372
372
|
import {
|
|
373
373
|
cronToHuman,
|
|
374
374
|
init_cron,
|
|
@@ -382,7 +382,7 @@ import {
|
|
|
382
382
|
getBridgeBaseUrl,
|
|
383
383
|
init_bridgeConfig,
|
|
384
384
|
isSelfHostedBridge
|
|
385
|
-
} from "./chunk-
|
|
385
|
+
} from "./chunk-4157n57z.js";
|
|
386
386
|
import {
|
|
387
387
|
init_featureCheck,
|
|
388
388
|
isSkillLearningCompiledIn,
|
|
@@ -392,7 +392,7 @@ import {
|
|
|
392
392
|
init_voiceModeEnabled,
|
|
393
393
|
isVoiceAvailable,
|
|
394
394
|
isVoiceGrowthBookEnabled
|
|
395
|
-
} from "./chunk-
|
|
395
|
+
} from "./chunk-0p6e05c5.js";
|
|
396
396
|
import {
|
|
397
397
|
init_detection,
|
|
398
398
|
isInITerm2,
|
|
@@ -415,7 +415,7 @@ import {
|
|
|
415
415
|
getCoStrictBaseURL,
|
|
416
416
|
init_auth as init_auth2,
|
|
417
417
|
pollLoginToken
|
|
418
|
-
} from "./chunk-
|
|
418
|
+
} from "./chunk-1h952cez.js";
|
|
419
419
|
import {
|
|
420
420
|
deleteCoStrictCredentials,
|
|
421
421
|
generateMachineId,
|
|
@@ -428,15 +428,15 @@ import {
|
|
|
428
428
|
init_token,
|
|
429
429
|
isCoStrictTokenValid,
|
|
430
430
|
refreshCoStrictToken
|
|
431
|
-
} from "./chunk-
|
|
431
|
+
} from "./chunk-a9pqw4tk.js";
|
|
432
432
|
import {
|
|
433
433
|
getComputerUseHostAdapter,
|
|
434
434
|
init_hostAdapter
|
|
435
|
-
} from "./chunk-
|
|
435
|
+
} from "./chunk-wbwzf5z4.js";
|
|
436
436
|
import {
|
|
437
437
|
getChicagoCoordinateMode,
|
|
438
438
|
init_gates
|
|
439
|
-
} from "./chunk-
|
|
439
|
+
} from "./chunk-vhnm2h49.js";
|
|
440
440
|
import {
|
|
441
441
|
ReadBuffer,
|
|
442
442
|
init_stdio,
|
|
@@ -445,7 +445,7 @@ import {
|
|
|
445
445
|
import {
|
|
446
446
|
init_datadog,
|
|
447
447
|
shutdownDatadog
|
|
448
|
-
} from "./chunk-
|
|
448
|
+
} from "./chunk-ancr20tb.js";
|
|
449
449
|
import {
|
|
450
450
|
DEFAULT_GRANT_FLAGS,
|
|
451
451
|
bindSessionContext,
|
|
@@ -509,7 +509,7 @@ import {
|
|
|
509
509
|
getOAuthHeaders,
|
|
510
510
|
init_api,
|
|
511
511
|
isTransientNetworkError
|
|
512
|
-
} from "./chunk-
|
|
512
|
+
} from "./chunk-gmsb3jtb.js";
|
|
513
513
|
import {
|
|
514
514
|
init_browser,
|
|
515
515
|
openBrowser,
|
|
@@ -541,7 +541,7 @@ import {
|
|
|
541
541
|
startToolExecutionSpan,
|
|
542
542
|
startToolSpan,
|
|
543
543
|
unregisterAgent
|
|
544
|
-
} from "./chunk-
|
|
544
|
+
} from "./chunk-7v874g5h.js";
|
|
545
545
|
import {
|
|
546
546
|
BasicTracerProvider,
|
|
547
547
|
BatchSpanProcessor,
|
|
@@ -919,7 +919,7 @@ import {
|
|
|
919
919
|
validateSettingsFileContent,
|
|
920
920
|
withOAuth401Retry,
|
|
921
921
|
writeTextContent
|
|
922
|
-
} from "./chunk-
|
|
922
|
+
} from "./chunk-egv3k4gg.js";
|
|
923
923
|
import {
|
|
924
924
|
ConfigScopeSchema,
|
|
925
925
|
McpJsonConfigSchema,
|
|
@@ -1023,7 +1023,7 @@ import {
|
|
|
1023
1023
|
clearModelCache,
|
|
1024
1024
|
getCachedCoStrictModels,
|
|
1025
1025
|
init_models
|
|
1026
|
-
} from "./chunk-
|
|
1026
|
+
} from "./chunk-xt7g86gj.js";
|
|
1027
1027
|
import {
|
|
1028
1028
|
init_v4,
|
|
1029
1029
|
v4_default
|
|
@@ -1102,7 +1102,7 @@ import {
|
|
|
1102
1102
|
truncate,
|
|
1103
1103
|
truncateToWidth,
|
|
1104
1104
|
truncateToWidthNoEllipsis
|
|
1105
|
-
} from "./chunk-
|
|
1105
|
+
} from "./chunk-gn0d6g6p.js";
|
|
1106
1106
|
import {
|
|
1107
1107
|
firstGrapheme,
|
|
1108
1108
|
getGraphemeSegmenter,
|
|
@@ -1178,7 +1178,7 @@ import {
|
|
|
1178
1178
|
wrapAnsi,
|
|
1179
1179
|
wrapForMultiplexer,
|
|
1180
1180
|
wrapText
|
|
1181
|
-
} from "./chunk-
|
|
1181
|
+
} from "./chunk-azbndvdt.js";
|
|
1182
1182
|
import {
|
|
1183
1183
|
require_react
|
|
1184
1184
|
} from "./chunk-64k6ybmm.js";
|
|
@@ -1684,7 +1684,7 @@ var init_add_dir = __esm(() => {
|
|
|
1684
1684
|
name: "add-dir",
|
|
1685
1685
|
description: "Add a new working directory",
|
|
1686
1686
|
argumentHint: "<path>",
|
|
1687
|
-
load: () => import("./chunk-
|
|
1687
|
+
load: () => import("./chunk-6hnqaxvs.js")
|
|
1688
1688
|
};
|
|
1689
1689
|
add_dir_default = addDir;
|
|
1690
1690
|
});
|
|
@@ -1716,7 +1716,7 @@ var init_autofix_pr = __esm(() => {
|
|
|
1716
1716
|
return "Invalid args. Use /autofix-pr <pr-number> | stop | <owner>/<repo>#<n>";
|
|
1717
1717
|
},
|
|
1718
1718
|
load: async () => {
|
|
1719
|
-
const m = await import("./chunk-
|
|
1719
|
+
const m = await import("./chunk-whbkstfm.js");
|
|
1720
1720
|
return { call: m.callAutofixPr };
|
|
1721
1721
|
}
|
|
1722
1722
|
};
|
|
@@ -1738,7 +1738,7 @@ var init_btw = __esm(() => {
|
|
|
1738
1738
|
description: "Ask a quick side question without interrupting the main conversation",
|
|
1739
1739
|
immediate: true,
|
|
1740
1740
|
argumentHint: "<question>",
|
|
1741
|
-
load: () => import("./chunk-
|
|
1741
|
+
load: () => import("./chunk-szkay129.js")
|
|
1742
1742
|
};
|
|
1743
1743
|
btw_default = btw;
|
|
1744
1744
|
});
|
|
@@ -84809,7 +84809,7 @@ function trackGitOperations(command, exitCode, stdout) {
|
|
|
84809
84809
|
if (stdout) {
|
|
84810
84810
|
const prInfo = findPrInStdout(stdout);
|
|
84811
84811
|
if (prInfo) {
|
|
84812
|
-
import("./chunk-
|
|
84812
|
+
import("./chunk-fkjqakzs.js").then(({ linkSessionToPR }) => {
|
|
84813
84813
|
import("./chunk-3pb880dx.js").then(({ getSessionId: getSessionId2 }) => {
|
|
84814
84814
|
const sessionId = getSessionId2();
|
|
84815
84815
|
if (sessionId) {
|
|
@@ -97702,7 +97702,7 @@ async function persistFileSnapshotIfRemote() {
|
|
|
97702
97702
|
uuid: randomUUID3(),
|
|
97703
97703
|
snapshotFiles
|
|
97704
97704
|
};
|
|
97705
|
-
const { recordTranscript } = await import("./chunk-
|
|
97705
|
+
const { recordTranscript } = await import("./chunk-fkjqakzs.js");
|
|
97706
97706
|
await recordTranscript([message]);
|
|
97707
97707
|
} catch (error) {
|
|
97708
97708
|
logError(error);
|
|
@@ -99541,7 +99541,7 @@ function getInstallationEnv() {
|
|
|
99541
99541
|
return;
|
|
99542
99542
|
}
|
|
99543
99543
|
function getClaudeCodeVersion() {
|
|
99544
|
-
return "4.
|
|
99544
|
+
return "4.1.1";
|
|
99545
99545
|
}
|
|
99546
99546
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
99547
99547
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -110918,7 +110918,7 @@ function initLangfuse() {
|
|
|
110918
110918
|
flushInterval: parseInt(process.env.LANGFUSE_FLUSH_INTERVAL ?? "10", 10),
|
|
110919
110919
|
mask: maskFn,
|
|
110920
110920
|
environment: process.env.LANGFUSE_TRACING_ENVIRONMENT ?? "development",
|
|
110921
|
-
release: "4.
|
|
110921
|
+
release: "4.1.1",
|
|
110922
110922
|
exportMode: process.env.LANGFUSE_EXPORT_MODE ?? "batched",
|
|
110923
110923
|
timeout: parseInt(process.env.LANGFUSE_TIMEOUT ?? "5", 10)
|
|
110924
110924
|
});
|
|
@@ -111478,7 +111478,7 @@ function computeFingerprint(messageText, version) {
|
|
|
111478
111478
|
}
|
|
111479
111479
|
function computeFingerprintFromMessages(messages) {
|
|
111480
111480
|
const firstMessageText = extractFirstMessageText(messages);
|
|
111481
|
-
return computeFingerprint(firstMessageText, "4.
|
|
111481
|
+
return computeFingerprint(firstMessageText, "4.1.1");
|
|
111482
111482
|
}
|
|
111483
111483
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
111484
111484
|
var init_fingerprint = () => {};
|
|
@@ -119394,8 +119394,8 @@ import { randomUUID as randomUUID6 } from "crypto";
|
|
|
119394
119394
|
import { createRequire } from "module";
|
|
119395
119395
|
function getVersion() {
|
|
119396
119396
|
try {
|
|
119397
|
-
if (typeof MACRO !== "undefined" && "4.
|
|
119398
|
-
return "4.
|
|
119397
|
+
if (typeof MACRO !== "undefined" && "4.1.1")
|
|
119398
|
+
return "4.1.1";
|
|
119399
119399
|
} catch {}
|
|
119400
119400
|
try {
|
|
119401
119401
|
const require2 = createRequire(import.meta.url);
|
|
@@ -119547,7 +119547,7 @@ async function sideQuery(opts) {
|
|
|
119547
119547
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
119548
119548
|
}
|
|
119549
119549
|
const messageText = extractFirstUserMessageText(messages);
|
|
119550
|
-
const fingerprint = computeFingerprint(messageText, "4.
|
|
119550
|
+
const fingerprint = computeFingerprint(messageText, "4.1.1");
|
|
119551
119551
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
119552
119552
|
const systemBlocks = [
|
|
119553
119553
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -121810,11 +121810,11 @@ function snipCompactIfNeeded(messages, _options) {
|
|
|
121810
121810
|
boundaryMessage
|
|
121811
121811
|
};
|
|
121812
121812
|
}
|
|
121813
|
-
const removedSet = new Set(removedUuids);
|
|
121813
|
+
const removedSet = new Set(removedUuids.filter((u3) => typeof u3 === "string"));
|
|
121814
121814
|
const kept = [];
|
|
121815
121815
|
let tokensFreed = 0;
|
|
121816
121816
|
for (const msg of messages) {
|
|
121817
|
-
if (removedSet.has(msg.uuid)) {
|
|
121817
|
+
if (msg.uuid && removedSet.has(msg.uuid)) {
|
|
121818
121818
|
tokensFreed += estimateMessageTokens2(msg);
|
|
121819
121819
|
continue;
|
|
121820
121820
|
}
|
|
@@ -147009,7 +147009,9 @@ class MeasuredText {
|
|
|
147009
147009
|
return 0;
|
|
147010
147010
|
if (index >= text2.length)
|
|
147011
147011
|
return stringWidth(text2);
|
|
147012
|
-
|
|
147012
|
+
if (!this.hasAnsiSequence(text2))
|
|
147013
|
+
return stringWidth(text2.substring(0, index));
|
|
147014
|
+
return this.stringIndexToDisplayWidthWithAnsi(text2, index);
|
|
147013
147015
|
}
|
|
147014
147016
|
displayWidthToStringIndex(text2, targetWidth) {
|
|
147015
147017
|
if (targetWidth <= 0)
|
|
@@ -147019,6 +147021,9 @@ class MeasuredText {
|
|
|
147019
147021
|
if (text2 === this.text) {
|
|
147020
147022
|
return this.offsetAtDisplayWidth(targetWidth);
|
|
147021
147023
|
}
|
|
147024
|
+
if (this.hasAnsiSequence(text2)) {
|
|
147025
|
+
return this.offsetAtDisplayWidthInText(text2, targetWidth);
|
|
147026
|
+
}
|
|
147022
147027
|
let currentWidth = 0;
|
|
147023
147028
|
let currentOffset = 0;
|
|
147024
147029
|
for (const { segment: segment2, index } of getGraphemeSegmenter().segment(text2)) {
|
|
@@ -147034,6 +147039,9 @@ class MeasuredText {
|
|
|
147034
147039
|
offsetAtDisplayWidth(targetWidth) {
|
|
147035
147040
|
if (targetWidth <= 0)
|
|
147036
147041
|
return 0;
|
|
147042
|
+
if (this.hasAnsiSequence(this.text)) {
|
|
147043
|
+
return this.offsetAtDisplayWidthInText(this.text, targetWidth);
|
|
147044
|
+
}
|
|
147037
147045
|
let currentWidth = 0;
|
|
147038
147046
|
const boundaries = this.getGraphemeBoundaries();
|
|
147039
147047
|
for (let i = 0;i < boundaries.length - 1; i++) {
|
|
@@ -147050,6 +147058,48 @@ class MeasuredText {
|
|
|
147050
147058
|
}
|
|
147051
147059
|
return this.text.length;
|
|
147052
147060
|
}
|
|
147061
|
+
stringIndexToDisplayWidthWithAnsi(text2, index) {
|
|
147062
|
+
const endIndex = Math.min(index, text2.length);
|
|
147063
|
+
let offset = 0;
|
|
147064
|
+
let currentWidth = 0;
|
|
147065
|
+
while (offset < endIndex) {
|
|
147066
|
+
const ansiEnd = this.getAnsiSequenceEndInText(text2, offset);
|
|
147067
|
+
if (ansiEnd !== null) {
|
|
147068
|
+
if (ansiEnd > endIndex)
|
|
147069
|
+
break;
|
|
147070
|
+
offset = ansiEnd;
|
|
147071
|
+
continue;
|
|
147072
|
+
}
|
|
147073
|
+
const segment2 = this.getGraphemeAtOffsetInText(text2, offset);
|
|
147074
|
+
if (segment2.length === 0)
|
|
147075
|
+
break;
|
|
147076
|
+
currentWidth += stringWidth(segment2);
|
|
147077
|
+
offset += segment2.length;
|
|
147078
|
+
}
|
|
147079
|
+
return currentWidth;
|
|
147080
|
+
}
|
|
147081
|
+
offsetAtDisplayWidthInText(text2, targetWidth) {
|
|
147082
|
+
if (targetWidth <= 0)
|
|
147083
|
+
return 0;
|
|
147084
|
+
let offset = 0;
|
|
147085
|
+
let currentWidth = 0;
|
|
147086
|
+
while (offset < text2.length) {
|
|
147087
|
+
const ansiEnd = this.getAnsiSequenceEndInText(text2, offset);
|
|
147088
|
+
if (ansiEnd !== null) {
|
|
147089
|
+
offset = ansiEnd;
|
|
147090
|
+
continue;
|
|
147091
|
+
}
|
|
147092
|
+
const segment2 = this.getGraphemeAtOffsetInText(text2, offset);
|
|
147093
|
+
if (segment2.length === 0)
|
|
147094
|
+
break;
|
|
147095
|
+
const segmentWidth = stringWidth(segment2);
|
|
147096
|
+
if (currentWidth + segmentWidth > targetWidth)
|
|
147097
|
+
break;
|
|
147098
|
+
currentWidth += segmentWidth;
|
|
147099
|
+
offset += segment2.length;
|
|
147100
|
+
}
|
|
147101
|
+
return offset;
|
|
147102
|
+
}
|
|
147053
147103
|
measureWrappedText() {
|
|
147054
147104
|
const TAB_PLACEHOLDER_CANDIDATES = ["\u2060", "\u2061", "\u2062", "\u2063"];
|
|
147055
147105
|
const tabPlaceholder = TAB_PLACEHOLDER_CANDIDATES.find((ch) => !this.text.includes(ch));
|
|
@@ -147081,22 +147131,114 @@ class MeasuredText {
|
|
|
147081
147131
|
wrappedLines.push(new WrappedLine(text2, startOffset, isPrecededByNewline(startOffset), false));
|
|
147082
147132
|
}
|
|
147083
147133
|
} else {
|
|
147084
|
-
|
|
147134
|
+
let startOffset = this.text.indexOf(text2, searchOffset);
|
|
147135
|
+
let lineText = text2;
|
|
147085
147136
|
if (startOffset === -1) {
|
|
147086
|
-
|
|
147137
|
+
startOffset = this.findFallbackStartOffset(searchOffset, lastNewLinePos);
|
|
147138
|
+
const endOffset = this.findOffsetAtDisplayWidth(startOffset, stringWidth(text2));
|
|
147139
|
+
lineText = this.text.slice(startOffset, endOffset);
|
|
147140
|
+
searchOffset = endOffset;
|
|
147141
|
+
} else {
|
|
147142
|
+
searchOffset = startOffset + text2.length;
|
|
147087
147143
|
}
|
|
147088
|
-
|
|
147089
|
-
const potentialNewlinePos = startOffset + text2.length;
|
|
147144
|
+
const potentialNewlinePos = startOffset + lineText.length;
|
|
147090
147145
|
const endsWithNewline = potentialNewlinePos < this.text.length && this.text[potentialNewlinePos] === `
|
|
147091
147146
|
`;
|
|
147092
147147
|
if (endsWithNewline) {
|
|
147093
147148
|
lastNewLinePos = potentialNewlinePos;
|
|
147094
147149
|
}
|
|
147095
|
-
wrappedLines.push(new WrappedLine(
|
|
147150
|
+
wrappedLines.push(new WrappedLine(lineText, startOffset, isPrecededByNewline(startOffset), endsWithNewline));
|
|
147096
147151
|
}
|
|
147097
147152
|
}
|
|
147098
147153
|
return wrappedLines;
|
|
147099
147154
|
}
|
|
147155
|
+
findFallbackStartOffset(searchOffset, lastNewLinePos) {
|
|
147156
|
+
let startOffset = Math.max(searchOffset, lastNewLinePos + 1);
|
|
147157
|
+
while (startOffset < this.text.length && this.text[startOffset] === `
|
|
147158
|
+
`) {
|
|
147159
|
+
startOffset++;
|
|
147160
|
+
}
|
|
147161
|
+
return startOffset;
|
|
147162
|
+
}
|
|
147163
|
+
findOffsetAtDisplayWidth(startOffset, targetWidth) {
|
|
147164
|
+
if (targetWidth <= 0)
|
|
147165
|
+
return startOffset;
|
|
147166
|
+
let offset = startOffset;
|
|
147167
|
+
let currentWidth = 0;
|
|
147168
|
+
while (offset < this.text.length) {
|
|
147169
|
+
if (this.text[offset] === `
|
|
147170
|
+
`)
|
|
147171
|
+
break;
|
|
147172
|
+
const ansiEnd = this.getAnsiSequenceEndInText(this.text, offset);
|
|
147173
|
+
if (ansiEnd !== null) {
|
|
147174
|
+
offset = ansiEnd;
|
|
147175
|
+
continue;
|
|
147176
|
+
}
|
|
147177
|
+
const segment2 = this.getGraphemeAtOffset(offset);
|
|
147178
|
+
if (segment2.length === 0)
|
|
147179
|
+
break;
|
|
147180
|
+
currentWidth += stringWidth(segment2);
|
|
147181
|
+
offset += segment2.length;
|
|
147182
|
+
if (currentWidth >= targetWidth)
|
|
147183
|
+
break;
|
|
147184
|
+
}
|
|
147185
|
+
return offset;
|
|
147186
|
+
}
|
|
147187
|
+
getGraphemeAtOffset(offset) {
|
|
147188
|
+
return this.getGraphemeAtOffsetInText(this.text, offset);
|
|
147189
|
+
}
|
|
147190
|
+
getGraphemeAtOffsetInText(text2, offset) {
|
|
147191
|
+
const iterator = getGraphemeSegmenter().segment(text2.slice(offset))[Symbol.iterator]();
|
|
147192
|
+
const next = iterator.next();
|
|
147193
|
+
return next.done ? "" : next.value.segment;
|
|
147194
|
+
}
|
|
147195
|
+
hasAnsiSequence(text2) {
|
|
147196
|
+
return text2.includes("\x1B") || text2.includes("\x9B") || text2.includes("\x9D");
|
|
147197
|
+
}
|
|
147198
|
+
getAnsiSequenceEndInText(text2, offset) {
|
|
147199
|
+
const first = text2.charCodeAt(offset);
|
|
147200
|
+
if (first === 155) {
|
|
147201
|
+
return this.findControlSequenceEnd(text2, offset + 1);
|
|
147202
|
+
}
|
|
147203
|
+
if (first === 157) {
|
|
147204
|
+
return this.findStringControlEnd(text2, offset + 1);
|
|
147205
|
+
}
|
|
147206
|
+
if (first !== 27)
|
|
147207
|
+
return null;
|
|
147208
|
+
const second = text2.charCodeAt(offset + 1);
|
|
147209
|
+
if (Number.isNaN(second))
|
|
147210
|
+
return null;
|
|
147211
|
+
if (second === 91) {
|
|
147212
|
+
return this.findControlSequenceEnd(text2, offset + 2);
|
|
147213
|
+
}
|
|
147214
|
+
if (second === 93) {
|
|
147215
|
+
return this.findStringControlEnd(text2, offset + 2);
|
|
147216
|
+
}
|
|
147217
|
+
return Math.min(offset + 2, text2.length);
|
|
147218
|
+
}
|
|
147219
|
+
findControlSequenceEnd(text2, offset) {
|
|
147220
|
+
let i = offset;
|
|
147221
|
+
while (i < text2.length) {
|
|
147222
|
+
const code = text2.charCodeAt(i);
|
|
147223
|
+
if (code >= 64 && code <= 126)
|
|
147224
|
+
return i + 1;
|
|
147225
|
+
i++;
|
|
147226
|
+
}
|
|
147227
|
+
return text2.length;
|
|
147228
|
+
}
|
|
147229
|
+
findStringControlEnd(text2, offset) {
|
|
147230
|
+
let i = offset;
|
|
147231
|
+
while (i < text2.length) {
|
|
147232
|
+
const code = text2.charCodeAt(i);
|
|
147233
|
+
if (code === 7)
|
|
147234
|
+
return i + 1;
|
|
147235
|
+
if (code === 27 && text2.charCodeAt(i + 1) === 92) {
|
|
147236
|
+
return Math.min(i + 2, text2.length);
|
|
147237
|
+
}
|
|
147238
|
+
i++;
|
|
147239
|
+
}
|
|
147240
|
+
return text2.length;
|
|
147241
|
+
}
|
|
147100
147242
|
getWrappedText() {
|
|
147101
147243
|
return this.wrappedLines.map((line) => line.isPrecededByNewline ? line.text : line.text.trimStart());
|
|
147102
147244
|
}
|
|
@@ -151258,7 +151400,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
151258
151400
|
const client = new Client({
|
|
151259
151401
|
name: "claude-code",
|
|
151260
151402
|
title: "CoStrict",
|
|
151261
|
-
version: "4.
|
|
151403
|
+
version: "4.1.1",
|
|
151262
151404
|
description: "CoStrict agentic coding tool",
|
|
151263
151405
|
websiteUrl: PRODUCT_URL
|
|
151264
151406
|
}, {
|
|
@@ -151582,7 +151724,7 @@ var init_client8 = __esm(() => {
|
|
|
151582
151724
|
transport = new StreamableHTTPClientTransport(new URL(proxyUrl), transportOptions);
|
|
151583
151725
|
logMCPDebug(name, `claude.ai proxy transport created successfully`);
|
|
151584
151726
|
} else if ((serverRef.type === "stdio" || !serverRef.type) && isClaudeInChromeMCPServer(name)) {
|
|
151585
|
-
const { createChromeContext } = await import("./chunk-
|
|
151727
|
+
const { createChromeContext } = await import("./chunk-cp4da168.js");
|
|
151586
151728
|
const { createClaudeForChromeMcpServer } = await import("./chunk-ksrq87gt.js");
|
|
151587
151729
|
const { createLinkedTransportPair: createLinkedTransportPair2 } = await import("./chunk-1h2famwb.js");
|
|
151588
151730
|
const context2 = createChromeContext(serverRef.env);
|
|
@@ -151592,7 +151734,7 @@ var init_client8 = __esm(() => {
|
|
|
151592
151734
|
transport = clientTransport;
|
|
151593
151735
|
logMCPDebug(name, `In-process Chrome MCP server started`);
|
|
151594
151736
|
} else if ((serverRef.type === "stdio" || !serverRef.type) && isComputerUseMCPServer(name)) {
|
|
151595
|
-
const { createComputerUseMcpServerForCli } = await import("./chunk-
|
|
151737
|
+
const { createComputerUseMcpServerForCli } = await import("./chunk-xzw0ettz.js");
|
|
151596
151738
|
const { createLinkedTransportPair: createLinkedTransportPair2 } = await import("./chunk-1h2famwb.js");
|
|
151597
151739
|
inProcessServer = await createComputerUseMcpServerForCli();
|
|
151598
151740
|
const [clientTransport, serverTransport] = createLinkedTransportPair2();
|
|
@@ -151633,7 +151775,7 @@ var init_client8 = __esm(() => {
|
|
|
151633
151775
|
const client = new Client({
|
|
151634
151776
|
name: "claude-code",
|
|
151635
151777
|
title: "CoStrict",
|
|
151636
|
-
version: "4.
|
|
151778
|
+
version: "4.1.1",
|
|
151637
151779
|
description: "CoStrict agentic coding tool",
|
|
151638
151780
|
websiteUrl: PRODUCT_URL
|
|
151639
151781
|
}, {
|
|
@@ -164464,6 +164606,8 @@ function cleanupTerminalModes() {
|
|
|
164464
164606
|
} catch {
|
|
164465
164607
|
writeSync(1, EXIT_ALT_SCREEN);
|
|
164466
164608
|
}
|
|
164609
|
+
} else if (inst) {
|
|
164610
|
+
inst.clearMainScreenForShutdown();
|
|
164467
164611
|
}
|
|
164468
164612
|
inst?.drainStdin();
|
|
164469
164613
|
inst?.detachForShutdown();
|
|
@@ -164546,7 +164690,7 @@ async function gracefulShutdown(exitCode = 0, reason = "other", options) {
|
|
|
164546
164690
|
return;
|
|
164547
164691
|
}
|
|
164548
164692
|
shutdownInProgress = true;
|
|
164549
|
-
const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-
|
|
164693
|
+
const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-p2r92sj1.js");
|
|
164550
164694
|
const sessionEndTimeoutMs = getSessionEndHookTimeoutMs();
|
|
164551
164695
|
failsafeTimer = setTimeout((code) => {
|
|
164552
164696
|
cleanupTerminalModes();
|
|
@@ -165032,7 +165176,7 @@ var init_remoteManagedSettings = __esm(() => {
|
|
|
165032
165176
|
|
|
165033
165177
|
// src/commands/logout/logout.tsx
|
|
165034
165178
|
async function performLogout({ clearOnboarding = false }) {
|
|
165035
|
-
const { flushTelemetry } = await import("./chunk-
|
|
165179
|
+
const { flushTelemetry } = await import("./chunk-fstr76j0.js");
|
|
165036
165180
|
await flushTelemetry();
|
|
165037
165181
|
await removeApiKey();
|
|
165038
165182
|
const secureStorage = getSecureStorage();
|
|
@@ -165443,23 +165587,42 @@ exec "${localInstallDir}/node_modules/.bin/claude" "$@"`, 493);
|
|
|
165443
165587
|
async function installOrUpdateClaudePackage(channel, specificVersion) {
|
|
165444
165588
|
try {
|
|
165445
165589
|
if (!await ensureLocalPackageEnvironment()) {
|
|
165446
|
-
return
|
|
165590
|
+
return {
|
|
165591
|
+
status: "install_failed",
|
|
165592
|
+
errorCategory: "Failed to set up local install directory",
|
|
165593
|
+
suggestion: `Could not create ~/.claude/local directory or write package.json.
|
|
165594
|
+
` + "Check disk space and permissions."
|
|
165595
|
+
};
|
|
165447
165596
|
}
|
|
165448
165597
|
const versionSpec = specificVersion ? specificVersion : channel === "stable" ? "stable" : "latest";
|
|
165449
165598
|
const result = await execFileNoThrowWithCwd("npm", ["install", `${"@costrict/csc"}@${versionSpec}`], { cwd: getLocalInstallDir(), maxBuffer: 1e6 });
|
|
165450
165599
|
if (result.code !== 0) {
|
|
165451
|
-
const
|
|
165600
|
+
const { category, suggestion } = analyzeNpmError(result.stderr, result.stdout);
|
|
165601
|
+
const error41 = new Error(`Failed to install Claude CLI package: ${category}
|
|
165602
|
+
stderr: ${result.stderr}`);
|
|
165452
165603
|
logError(error41);
|
|
165453
|
-
return
|
|
165604
|
+
return {
|
|
165605
|
+
status: result.code === 190 ? "in_progress" : "install_failed",
|
|
165606
|
+
errorCategory: category,
|
|
165607
|
+
suggestion,
|
|
165608
|
+
npmStderr: result.stderr
|
|
165609
|
+
};
|
|
165454
165610
|
}
|
|
165455
165611
|
saveGlobalConfig((current) => ({
|
|
165456
165612
|
...current,
|
|
165457
165613
|
installMethod: "local"
|
|
165458
165614
|
}));
|
|
165459
|
-
return "success";
|
|
165615
|
+
return { status: "success" };
|
|
165460
165616
|
} catch (error41) {
|
|
165461
165617
|
logError(error41);
|
|
165462
|
-
return
|
|
165618
|
+
return {
|
|
165619
|
+
status: "install_failed",
|
|
165620
|
+
errorCategory: "Unexpected error during local install",
|
|
165621
|
+
suggestion: `An unexpected error occurred.
|
|
165622
|
+
` + `Try:
|
|
165623
|
+
` + " \u2022 Manually update: cd ~/.claude/local && npm update " + "@costrict/csc" + `
|
|
165624
|
+
` + " \u2022 Switch to native installation: csc install"
|
|
165625
|
+
};
|
|
165463
165626
|
}
|
|
165464
165627
|
}
|
|
165465
165628
|
async function localInstallationExists() {
|
|
@@ -165481,6 +165644,7 @@ function getShellType() {
|
|
|
165481
165644
|
return "unknown";
|
|
165482
165645
|
}
|
|
165483
165646
|
var init_localInstaller = __esm(() => {
|
|
165647
|
+
init_autoUpdater();
|
|
165484
165648
|
init_config2();
|
|
165485
165649
|
init_envUtils();
|
|
165486
165650
|
init_errors();
|
|
@@ -165778,52 +165942,142 @@ async function getGcsDistTags() {
|
|
|
165778
165942
|
]);
|
|
165779
165943
|
return { latest, stable };
|
|
165780
165944
|
}
|
|
165945
|
+
function analyzeNpmError(stderr, stdout) {
|
|
165946
|
+
const combined = `${stderr} ${stdout}`.toLowerCase();
|
|
165947
|
+
if (combined.includes("eacces") || combined.includes("eperm") || combined.includes("permission denied") || combined.includes("operation not permitted")) {
|
|
165948
|
+
return {
|
|
165949
|
+
category: "Permission denied",
|
|
165950
|
+
suggestion: `The package manager lacks write permission to the global install directory.
|
|
165951
|
+
` + `Options:
|
|
165952
|
+
` + ` 1. Fix npm permissions: https://docs.npmjs.com/resolving-eacces-permissions-errors
|
|
165953
|
+
` + ` 2. Run with sudo (not recommended long-term)
|
|
165954
|
+
` + ` 3. Switch to local installation: csc install --local
|
|
165955
|
+
` + " 4. Switch to native installation: csc install"
|
|
165956
|
+
};
|
|
165957
|
+
}
|
|
165958
|
+
if (combined.includes("erofs") || combined.includes("read-only file system")) {
|
|
165959
|
+
return {
|
|
165960
|
+
category: "Read-only file system",
|
|
165961
|
+
suggestion: `The target directory is read-only.
|
|
165962
|
+
` + `Try installing to a user-writable prefix:
|
|
165963
|
+
` + ` npm config set prefix ~/.npm-global
|
|
165964
|
+
` + "Or switch to local/native installation."
|
|
165965
|
+
};
|
|
165966
|
+
}
|
|
165967
|
+
if (combined.includes("etimedout") || combined.includes("econnrefused") || combined.includes("enotfound") || combined.includes("network timeout") || combined.includes("socket hang up")) {
|
|
165968
|
+
return {
|
|
165969
|
+
category: "Network error",
|
|
165970
|
+
suggestion: `Unable to reach the npm registry.
|
|
165971
|
+
` + `Try:
|
|
165972
|
+
` + ` \u2022 Check your internet connection
|
|
165973
|
+
` + ` \u2022 If behind a proxy, configure npm: npm config set proxy http://...
|
|
165974
|
+
` + " \u2022 Try again later (registry may be temporarily unavailable)"
|
|
165975
|
+
};
|
|
165976
|
+
}
|
|
165977
|
+
if (combined.includes("e404") || combined.includes("not found") || combined.includes("no matching version") || combined.includes("package not found")) {
|
|
165978
|
+
return {
|
|
165979
|
+
category: "Package or version not found",
|
|
165980
|
+
suggestion: `The package "${"@costrict/csc"}" or the requested version could not be found.
|
|
165981
|
+
` + `Possible causes:
|
|
165982
|
+
` + ` \u2022 Scoped package requires npm login: npm whoami
|
|
165983
|
+
` + ` \u2022 The version tag does not exist yet
|
|
165984
|
+
` + " \u2022 Corporate registry mirror is missing this package"
|
|
165985
|
+
};
|
|
165986
|
+
}
|
|
165987
|
+
if (combined.includes("ebusy") || combined.includes("eexist") || combined.includes("resource busy") || combined.includes("file exists")) {
|
|
165988
|
+
return {
|
|
165989
|
+
category: "File locked or already exists",
|
|
165990
|
+
suggestion: `A file is locked or already exists.
|
|
165991
|
+
` + `Try:
|
|
165992
|
+
` + ` \u2022 Close other CoStrict / Node processes
|
|
165993
|
+
` + " \u2022 Delete the lock file and retry: rm ~/.claude/.update.lock"
|
|
165994
|
+
};
|
|
165995
|
+
}
|
|
165996
|
+
if (combined.includes("elifecycle") || combined.includes("postinstall")) {
|
|
165997
|
+
return {
|
|
165998
|
+
category: "Install script failed",
|
|
165999
|
+
suggestion: `A post-install script failed.
|
|
166000
|
+
` + `Try:
|
|
166001
|
+
` + ` \u2022 npm install -g --ignore-scripts (workaround, skips lifecycle hooks)
|
|
166002
|
+
` + " \u2022 Check that your Node.js version is supported"
|
|
166003
|
+
};
|
|
166004
|
+
}
|
|
166005
|
+
if (combined.includes("enoent") || combined.includes("no such file")) {
|
|
166006
|
+
return {
|
|
166007
|
+
category: "Missing file or directory",
|
|
166008
|
+
suggestion: `A required file or directory is missing.
|
|
166009
|
+
` + `Try reinstalling:
|
|
166010
|
+
` + " npm uninstall -g " + "@costrict/csc" + " && npm install -g " + "@costrict/csc"
|
|
166011
|
+
};
|
|
166012
|
+
}
|
|
166013
|
+
return {
|
|
166014
|
+
category: "Installation failed",
|
|
166015
|
+
suggestion: `The package manager returned an unrecognized error.
|
|
166016
|
+
` + `You can try:
|
|
166017
|
+
` + ` \u2022 Run the install command manually to see full output
|
|
166018
|
+
` + ` \u2022 Clear npm cache: npm cache clean --force
|
|
166019
|
+
` + " \u2022 Switch to native installation: csc install"
|
|
166020
|
+
};
|
|
166021
|
+
}
|
|
165781
166022
|
async function installGlobalPackage(specificVersion) {
|
|
165782
166023
|
if (!await acquireLock()) {
|
|
165783
166024
|
logError(new AutoUpdaterError("Another process is currently installing an update"));
|
|
165784
166025
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
165785
166026
|
pid: process.pid,
|
|
165786
|
-
currentVersion: "4.
|
|
166027
|
+
currentVersion: "4.1.1"
|
|
165787
166028
|
});
|
|
165788
|
-
return "in_progress";
|
|
166029
|
+
return { status: "in_progress" };
|
|
165789
166030
|
}
|
|
165790
166031
|
try {
|
|
165791
166032
|
await removeClaudeAliasesFromShellConfigs();
|
|
165792
166033
|
if (!env.isRunningWithBun() && env.isNpmFromWindowsPath()) {
|
|
165793
166034
|
logError(new Error("Windows NPM detected in WSL environment"));
|
|
165794
166035
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
165795
|
-
currentVersion: "4.
|
|
166036
|
+
currentVersion: "4.1.1"
|
|
165796
166037
|
});
|
|
165797
|
-
|
|
165798
|
-
|
|
165799
|
-
|
|
165800
|
-
You
|
|
165801
|
-
|
|
165802
|
-
|
|
165803
|
-
|
|
165804
|
-
|
|
165805
|
-
|
|
165806
|
-
3. Try updating again with 'csc update'
|
|
165807
|
-
`);
|
|
165808
|
-
return "install_failed";
|
|
166038
|
+
return {
|
|
166039
|
+
status: "install_failed",
|
|
166040
|
+
errorCategory: "Windows NPM in WSL",
|
|
166041
|
+
suggestion: `You are running CoStrict in WSL but using the Windows NPM installation from /mnt/c/.
|
|
166042
|
+
` + `To fix:
|
|
166043
|
+
` + ` 1. Install Node.js inside WSL: sudo apt install nodejs npm
|
|
166044
|
+
` + ` 2. Ensure Linux npm appears first in PATH
|
|
166045
|
+
` + " 3. Retry: csc update"
|
|
166046
|
+
};
|
|
165809
166047
|
}
|
|
165810
166048
|
const { hasPermissions } = await checkGlobalInstallPermissions();
|
|
165811
166049
|
if (!hasPermissions) {
|
|
165812
|
-
return
|
|
166050
|
+
return {
|
|
166051
|
+
status: "no_permissions",
|
|
166052
|
+
errorCategory: "Insufficient permissions",
|
|
166053
|
+
suggestion: `No write access to the global npm prefix.
|
|
166054
|
+
` + `Try:
|
|
166055
|
+
` + ` 1. Fix npm permissions: https://docs.npmjs.com/resolving-eacces-permissions-errors
|
|
166056
|
+
` + ` 2. Run: sudo csc update (temporary workaround)
|
|
166057
|
+
` + " 3. Switch to native installation: csc install"
|
|
166058
|
+
};
|
|
165813
166059
|
}
|
|
165814
166060
|
const packageSpec = specificVersion ? `${"@costrict/csc"}@${specificVersion}` : "@costrict/csc";
|
|
165815
166061
|
const packageManager = env.isRunningWithBun() ? "bun" : "npm";
|
|
165816
166062
|
const installResult = await execFileNoThrowWithCwd(packageManager, ["install", "-g", packageSpec], { cwd: homedir12() });
|
|
165817
166063
|
if (installResult.code !== 0) {
|
|
165818
|
-
const
|
|
166064
|
+
const { category, suggestion } = analyzeNpmError(installResult.stderr, installResult.stdout);
|
|
166065
|
+
const error41 = new AutoUpdaterError(`Failed to install new version: ${category}
|
|
166066
|
+
stdout: ${installResult.stdout}
|
|
166067
|
+
stderr: ${installResult.stderr}`);
|
|
165819
166068
|
logError(error41);
|
|
165820
|
-
return
|
|
166069
|
+
return {
|
|
166070
|
+
status: "install_failed",
|
|
166071
|
+
errorCategory: category,
|
|
166072
|
+
suggestion,
|
|
166073
|
+
npmStderr: installResult.stderr
|
|
166074
|
+
};
|
|
165821
166075
|
}
|
|
165822
166076
|
saveGlobalConfig((current) => ({
|
|
165823
166077
|
...current,
|
|
165824
166078
|
installMethod: "global"
|
|
165825
166079
|
}));
|
|
165826
|
-
return "success";
|
|
166080
|
+
return { status: "success" };
|
|
165827
166081
|
} finally {
|
|
165828
166082
|
await releaseLock();
|
|
165829
166083
|
}
|
|
@@ -166326,7 +166580,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
166326
166580
|
}
|
|
166327
166581
|
async function getDoctorDiagnostic() {
|
|
166328
166582
|
const installationType = await getCurrentInstallationType();
|
|
166329
|
-
const version2 = typeof MACRO !== "undefined" ? "4.
|
|
166583
|
+
const version2 = typeof MACRO !== "undefined" ? "4.1.1" : "unknown";
|
|
166330
166584
|
const installationPath = await getInstallationPath();
|
|
166331
166585
|
const invokedBinary = getInvokedBinary();
|
|
166332
166586
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -167236,8 +167490,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
167236
167490
|
const maxVersion = await getMaxVersion();
|
|
167237
167491
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
167238
167492
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
167239
|
-
if (gte("4.
|
|
167240
|
-
logForDebugging(`Native installer: current version ${"4.
|
|
167493
|
+
if (gte("4.1.1", maxVersion)) {
|
|
167494
|
+
logForDebugging(`Native installer: current version ${"4.1.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
167241
167495
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
167242
167496
|
latency_ms: Date.now() - startTime,
|
|
167243
167497
|
max_version: maxVersion,
|
|
@@ -167248,7 +167502,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
167248
167502
|
version2 = maxVersion;
|
|
167249
167503
|
}
|
|
167250
167504
|
}
|
|
167251
|
-
if (!forceReinstall && version2 === "4.
|
|
167505
|
+
if (!forceReinstall && version2 === "4.1.1" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
167252
167506
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
167253
167507
|
logEvent("tengu_native_update_complete", {
|
|
167254
167508
|
latency_ms: Date.now() - startTime,
|
|
@@ -167834,19 +168088,18 @@ async function cleanupOldVersions() {
|
|
|
167834
168088
|
}
|
|
167835
168089
|
}
|
|
167836
168090
|
}
|
|
167837
|
-
async function isNpmSymlink(executablePath) {
|
|
167838
|
-
let targetPath = executablePath;
|
|
167839
|
-
const stats = await lstat2(executablePath);
|
|
167840
|
-
if (stats.isSymbolicLink()) {
|
|
167841
|
-
targetPath = await realpath5(executablePath);
|
|
167842
|
-
}
|
|
167843
|
-
return targetPath.endsWith(".js") || targetPath.includes("node_modules");
|
|
167844
|
-
}
|
|
167845
168091
|
async function removeInstalledSymlink() {
|
|
167846
168092
|
const dirs = getBaseDirectories();
|
|
167847
168093
|
try {
|
|
167848
|
-
|
|
167849
|
-
|
|
168094
|
+
const linkStats = await lstat2(dirs.executable);
|
|
168095
|
+
if (!linkStats.isSymbolicLink()) {
|
|
168096
|
+
logForDebugging(`Skipping removal of ${dirs.executable} - not a symlink`);
|
|
168097
|
+
return;
|
|
168098
|
+
}
|
|
168099
|
+
const rawTarget = await readlink2(dirs.executable);
|
|
168100
|
+
const targetPath = resolve19(dirname27(dirs.executable), rawTarget);
|
|
168101
|
+
if (!targetPath.startsWith(dirs.versions)) {
|
|
168102
|
+
logForDebugging(`Skipping removal of ${dirs.executable} - target ${targetPath} is not in ${dirs.versions}`);
|
|
167850
168103
|
return;
|
|
167851
168104
|
}
|
|
167852
168105
|
await unlink9(dirs.executable);
|
|
@@ -174146,10 +174399,10 @@ function OAuthStatusMessage({
|
|
|
174146
174399
|
if (value === "costrict") {
|
|
174147
174400
|
(async () => {
|
|
174148
174401
|
try {
|
|
174149
|
-
const { generateState: generateState3, getCoStrictBaseURL: getCoStrictBaseURL2, buildCoStrictLoginURL: buildCoStrictLoginURL2, pollLoginToken: pollLoginToken2 } = await import("./chunk-
|
|
174402
|
+
const { generateState: generateState3, getCoStrictBaseURL: getCoStrictBaseURL2, buildCoStrictLoginURL: buildCoStrictLoginURL2, pollLoginToken: pollLoginToken2 } = await import("./chunk-hhdbv9eg.js");
|
|
174150
174403
|
const { generateMachineId: generateMachineId2, saveCoStrictCredentials: saveCoStrictCredentials2 } = await import("./chunk-9mn682c6.js");
|
|
174151
|
-
const { extractExpiryFromJWT: extractExpiryFromJWT2 } = await import("./chunk-
|
|
174152
|
-
const { updateSettingsForSource: updateSettingsForSource2 } = await import("./chunk-
|
|
174404
|
+
const { extractExpiryFromJWT: extractExpiryFromJWT2 } = await import("./chunk-qvzvzzdw.js");
|
|
174405
|
+
const { updateSettingsForSource: updateSettingsForSource2 } = await import("./chunk-t802hx06.js");
|
|
174153
174406
|
const baseUrl = getCoStrictBaseURL2();
|
|
174154
174407
|
const state = generateState3();
|
|
174155
174408
|
const machineId = generateMachineId2();
|
|
@@ -174172,7 +174425,7 @@ function OAuthStatusMessage({
|
|
|
174172
174425
|
updateSettingsForSource2("userSettings", { modelType: "costrict" });
|
|
174173
174426
|
process.env.CLAUDE_CODE_USE_COSTRICT = "1";
|
|
174174
174427
|
try {
|
|
174175
|
-
const { fetchCoStrictModels } = await import("./chunk-
|
|
174428
|
+
const { fetchCoStrictModels } = await import("./chunk-sxgc1sm1.js");
|
|
174176
174429
|
const models = await fetchCoStrictModels(baseUrl, tokens.access_token);
|
|
174177
174430
|
if (models.length > 0) {
|
|
174178
174431
|
setOAuthStatus({ state: "costrict_model_select", models });
|
|
@@ -183632,7 +183885,7 @@ async function* runAgent({
|
|
|
183632
183885
|
}
|
|
183633
183886
|
validSkills.push({ skillName, skill });
|
|
183634
183887
|
}
|
|
183635
|
-
const { formatSkillLoadingMetadata } = await import("./chunk-
|
|
183888
|
+
const { formatSkillLoadingMetadata } = await import("./chunk-x7t8wrq1.js");
|
|
183636
183889
|
const loaded = await Promise.all(validSkills.map(async ({ skillName, skill }) => ({
|
|
183637
183890
|
skillName,
|
|
183638
183891
|
skill,
|
|
@@ -185312,9 +185565,9 @@ var init_PaneBackendExecutor = __esm(() => {
|
|
|
185312
185565
|
async function ensureBackendsRegistered() {
|
|
185313
185566
|
if (backendsRegistered)
|
|
185314
185567
|
return;
|
|
185315
|
-
await import("./chunk-
|
|
185316
|
-
await import("./chunk-
|
|
185317
|
-
await import("./chunk-
|
|
185568
|
+
await import("./chunk-fxg6tk9f.js");
|
|
185569
|
+
await import("./chunk-51pkqrja.js");
|
|
185570
|
+
await import("./chunk-m5daf1hp.js");
|
|
185318
185571
|
backendsRegistered = true;
|
|
185319
185572
|
}
|
|
185320
185573
|
function registerTmuxBackend(backendClass) {
|
|
@@ -185993,12 +186246,6 @@ var init_It2SetupPrompt = __esm(() => {
|
|
|
185993
186246
|
function getHardcodedTeammateModelFallback() {
|
|
185994
186247
|
return CLAUDE_OPUS_4_6_CONFIG[getAPIProvider()];
|
|
185995
186248
|
}
|
|
185996
|
-
var init_teammateModel = __esm(() => {
|
|
185997
|
-
init_configs();
|
|
185998
|
-
init_providers();
|
|
185999
|
-
});
|
|
186000
|
-
|
|
186001
|
-
// packages/builtin-tools/src/tools/shared/spawnMultiAgent.ts
|
|
186002
186249
|
function getDefaultTeammateModel(leaderModel) {
|
|
186003
186250
|
const configured = getGlobalConfig().teammateDefaultModel;
|
|
186004
186251
|
if (configured === null) {
|
|
@@ -186007,6 +186254,9 @@ function getDefaultTeammateModel(leaderModel) {
|
|
|
186007
186254
|
if (configured !== undefined) {
|
|
186008
186255
|
return parseUserSpecifiedModel(configured);
|
|
186009
186256
|
}
|
|
186257
|
+
if (getAPIProvider() === "costrict" && leaderModel) {
|
|
186258
|
+
return leaderModel;
|
|
186259
|
+
}
|
|
186010
186260
|
return getHardcodedTeammateModelFallback();
|
|
186011
186261
|
}
|
|
186012
186262
|
function resolveTeammateModel(inputModel, leaderModel) {
|
|
@@ -186015,6 +186265,14 @@ function resolveTeammateModel(inputModel, leaderModel) {
|
|
|
186015
186265
|
}
|
|
186016
186266
|
return inputModel ?? getDefaultTeammateModel(leaderModel);
|
|
186017
186267
|
}
|
|
186268
|
+
var init_teammateModel = __esm(() => {
|
|
186269
|
+
init_configs();
|
|
186270
|
+
init_model();
|
|
186271
|
+
init_providers();
|
|
186272
|
+
init_config2();
|
|
186273
|
+
});
|
|
186274
|
+
|
|
186275
|
+
// packages/builtin-tools/src/tools/shared/spawnMultiAgent.ts
|
|
186018
186276
|
async function generateUniqueTeammateName(baseName, teamName) {
|
|
186019
186277
|
if (!teamName) {
|
|
186020
186278
|
return baseName;
|
|
@@ -186212,10 +186470,8 @@ var import_react43;
|
|
|
186212
186470
|
var init_spawnMultiAgent = __esm(() => {
|
|
186213
186471
|
init_state();
|
|
186214
186472
|
init_agentId();
|
|
186215
|
-
init_config2();
|
|
186216
186473
|
init_cwd();
|
|
186217
186474
|
init_debug();
|
|
186218
|
-
init_model();
|
|
186219
186475
|
init_registry();
|
|
186220
186476
|
init_constants22();
|
|
186221
186477
|
init_It2SetupPrompt();
|
|
@@ -186772,7 +187028,7 @@ var init_extra_usage = __esm(() => {
|
|
|
186772
187028
|
name: "extra-usage",
|
|
186773
187029
|
description: "Configure extra usage to keep working when limits are hit",
|
|
186774
187030
|
isEnabled: () => isExtraUsageAllowed() && !getIsNonInteractiveSession(),
|
|
186775
|
-
load: () => import("./chunk-
|
|
187031
|
+
load: () => import("./chunk-etqmgb7b.js")
|
|
186776
187032
|
};
|
|
186777
187033
|
extraUsageNonInteractive = {
|
|
186778
187034
|
type: "local",
|
|
@@ -186783,7 +187039,7 @@ var init_extra_usage = __esm(() => {
|
|
|
186783
187039
|
get isHidden() {
|
|
186784
187040
|
return !getIsNonInteractiveSession();
|
|
186785
187041
|
},
|
|
186786
|
-
load: () => import("./chunk-
|
|
187042
|
+
load: () => import("./chunk-fkpm0dka.js")
|
|
186787
187043
|
};
|
|
186788
187044
|
});
|
|
186789
187045
|
|
|
@@ -191281,7 +191537,8 @@ function projectSnippedView(messages) {
|
|
|
191281
191537
|
const meta = msg.snipMetadata;
|
|
191282
191538
|
if (meta?.removedUuids) {
|
|
191283
191539
|
for (const uuid5 of meta.removedUuids) {
|
|
191284
|
-
|
|
191540
|
+
if (typeof uuid5 === "string")
|
|
191541
|
+
removedSet.add(uuid5);
|
|
191285
191542
|
}
|
|
191286
191543
|
}
|
|
191287
191544
|
}
|
|
@@ -193888,7 +194145,7 @@ var init_SkillTool = __esm(() => {
|
|
|
193888
194145
|
if (command?.type === "prompt" && command.context === "fork") {
|
|
193889
194146
|
return executeForkedSkill(command, commandName, args, context2, canUseTool, parentMessage, onProgress);
|
|
193890
194147
|
}
|
|
193891
|
-
const { processPromptSlashCommand } = await import("./chunk-
|
|
194148
|
+
const { processPromptSlashCommand } = await import("./chunk-x7t8wrq1.js");
|
|
193892
194149
|
const processedCommand = await processPromptSlashCommand(commandName, args || "", commands, context2);
|
|
193893
194150
|
if (!processedCommand.shouldQuery) {
|
|
193894
194151
|
throw new Error("Command processing failed");
|
|
@@ -198968,6 +199225,20 @@ var init_ExecuteTool = __esm(() => {
|
|
|
198968
199225
|
]
|
|
198969
199226
|
};
|
|
198970
199227
|
}
|
|
199228
|
+
const validationResult = await targetTool.validateInput?.(input.params, context2);
|
|
199229
|
+
if (validationResult && validationResult.result === false) {
|
|
199230
|
+
return {
|
|
199231
|
+
data: {
|
|
199232
|
+
result: null,
|
|
199233
|
+
tool_name: input.tool_name
|
|
199234
|
+
},
|
|
199235
|
+
newMessages: [
|
|
199236
|
+
createUserMessage({
|
|
199237
|
+
content: `Invalid input for tool "${input.tool_name}": ${validationResult.message}`
|
|
199238
|
+
})
|
|
199239
|
+
]
|
|
199240
|
+
};
|
|
199241
|
+
}
|
|
198971
199242
|
const permResult = await targetTool.checkPermissions?.(input.params, context2);
|
|
198972
199243
|
if (permResult && permResult.behavior === "deny") {
|
|
198973
199244
|
return {
|
|
@@ -200409,6 +200680,11 @@ var init_supportedSettings = __esm(() => {
|
|
|
200409
200680
|
description: 'How to spawn teammates: "tmux" for traditional tmux, "in-process" for same process, "auto" to choose automatically',
|
|
200410
200681
|
options: TEAMMATE_MODES
|
|
200411
200682
|
},
|
|
200683
|
+
showMemoryPid: {
|
|
200684
|
+
source: "global",
|
|
200685
|
+
type: "boolean",
|
|
200686
|
+
description: "Show memory usage and PID in the footer status bar"
|
|
200687
|
+
},
|
|
200412
200688
|
...process.env.USER_TYPE === "ant" ? {
|
|
200413
200689
|
classifierPermissionsEnabled: {
|
|
200414
200690
|
source: "settings",
|
|
@@ -200702,7 +200978,7 @@ var init_ConfigTool = __esm(() => {
|
|
|
200702
200978
|
renderToolUseRejectedMessage: renderToolUseRejectedMessage8,
|
|
200703
200979
|
async call({ setting, value }, context2) {
|
|
200704
200980
|
if (setting === "voiceEnabled") {
|
|
200705
|
-
const { isVoiceGrowthBookEnabled: isVoiceGrowthBookEnabled2 } = await import("./chunk-
|
|
200981
|
+
const { isVoiceGrowthBookEnabled: isVoiceGrowthBookEnabled2 } = await import("./chunk-dmsc23kp.js");
|
|
200706
200982
|
if (!isVoiceGrowthBookEnabled2()) {
|
|
200707
200983
|
return {
|
|
200708
200984
|
data: { success: false, error: `Unknown setting: "${setting}"` }
|
|
@@ -200795,9 +201071,9 @@ var init_ConfigTool = __esm(() => {
|
|
|
200795
201071
|
}
|
|
200796
201072
|
}
|
|
200797
201073
|
if (setting === "voiceEnabled" && finalValue === true) {
|
|
200798
|
-
const { isVoiceModeEnabled } = await import("./chunk-
|
|
201074
|
+
const { isVoiceModeEnabled } = await import("./chunk-dmsc23kp.js");
|
|
200799
201075
|
if (!isVoiceModeEnabled()) {
|
|
200800
|
-
const { isAnthropicAuthEnabled } = await import("./chunk-
|
|
201076
|
+
const { isAnthropicAuthEnabled } = await import("./chunk-0qa1hgxp.js");
|
|
200801
201077
|
return {
|
|
200802
201078
|
data: {
|
|
200803
201079
|
success: false,
|
|
@@ -200805,7 +201081,7 @@ var init_ConfigTool = __esm(() => {
|
|
|
200805
201081
|
}
|
|
200806
201082
|
};
|
|
200807
201083
|
}
|
|
200808
|
-
const { isVoiceStreamAvailable } = await import("./chunk-
|
|
201084
|
+
const { isVoiceStreamAvailable } = await import("./chunk-hdx2p9h7.js");
|
|
200809
201085
|
const {
|
|
200810
201086
|
checkRecordingAvailability,
|
|
200811
201087
|
checkVoiceDependencies,
|
|
@@ -200888,7 +201164,7 @@ var init_ConfigTool = __esm(() => {
|
|
|
200888
201164
|
}
|
|
200889
201165
|
}
|
|
200890
201166
|
if (setting === "voiceEnabled") {
|
|
200891
|
-
const { settingsChangeDetector: settingsChangeDetector2 } = await import("./chunk-
|
|
201167
|
+
const { settingsChangeDetector: settingsChangeDetector2 } = await import("./chunk-zdnv8fvz.js");
|
|
200892
201168
|
settingsChangeDetector2.notifyChange("userSettings");
|
|
200893
201169
|
}
|
|
200894
201170
|
if (config3.appStateKey) {
|
|
@@ -204113,7 +204389,7 @@ Guidelines:
|
|
|
204113
204389
|
let fileUuid;
|
|
204114
204390
|
if (appState.replBridgeEnabled) {
|
|
204115
204391
|
try {
|
|
204116
|
-
const { uploadBriefAttachment } = await import("./chunk-
|
|
204392
|
+
const { uploadBriefAttachment } = await import("./chunk-ac3vxv72.js");
|
|
204117
204393
|
fileUuid = await uploadBriefAttachment(file_path, fileSize, {
|
|
204118
204394
|
replBridgeEnabled: true,
|
|
204119
204395
|
signal: context2.abortController.signal
|
|
@@ -205275,6 +205551,16 @@ var exports_SendMessageTool = {};
|
|
|
205275
205551
|
__export(exports_SendMessageTool, {
|
|
205276
205552
|
SendMessageTool: () => SendMessageTool
|
|
205277
205553
|
});
|
|
205554
|
+
function parseProtocolResponseString(content) {
|
|
205555
|
+
const parsed = safeParseJSON(content, false);
|
|
205556
|
+
const result = StructuredMessage().safeParse(parsed);
|
|
205557
|
+
if (!result.success)
|
|
205558
|
+
return null;
|
|
205559
|
+
if (result.data.type !== "shutdown_response" && result.data.type !== "plan_approval_response") {
|
|
205560
|
+
return null;
|
|
205561
|
+
}
|
|
205562
|
+
return result.data;
|
|
205563
|
+
}
|
|
205278
205564
|
function stripInlineUdsToken(target) {
|
|
205279
205565
|
const markerIndex = target.indexOf(UDS_INLINE_TOKEN_MARKER);
|
|
205280
205566
|
return markerIndex === -1 ? target : target.slice(0, markerIndex);
|
|
@@ -205583,6 +205869,7 @@ var init_SendMessageTool = __esm(() => {
|
|
|
205583
205869
|
init_errors();
|
|
205584
205870
|
init_format();
|
|
205585
205871
|
init_gracefulShutdown();
|
|
205872
|
+
init_json();
|
|
205586
205873
|
init_lazySchema();
|
|
205587
205874
|
init_peerAddress();
|
|
205588
205875
|
init_semanticBoolean();
|
|
@@ -205731,7 +206018,22 @@ var init_SendMessageTool = __esm(() => {
|
|
|
205731
206018
|
return { result: true };
|
|
205732
206019
|
}
|
|
205733
206020
|
if (typeof input.message === "string") {
|
|
205734
|
-
|
|
206021
|
+
const protocolResponse = parseProtocolResponseString(input.message);
|
|
206022
|
+
if (protocolResponse?.type === "shutdown_response" && input.to !== TEAM_LEAD_NAME) {
|
|
206023
|
+
return {
|
|
206024
|
+
result: false,
|
|
206025
|
+
message: `shutdown_response must be sent to "${TEAM_LEAD_NAME}"`,
|
|
206026
|
+
errorCode: 9
|
|
206027
|
+
};
|
|
206028
|
+
}
|
|
206029
|
+
if (protocolResponse?.type === "shutdown_response" && !protocolResponse.approve && (!protocolResponse.reason || protocolResponse.reason.trim().length === 0)) {
|
|
206030
|
+
return {
|
|
206031
|
+
result: false,
|
|
206032
|
+
message: "reason is required when rejecting a shutdown request",
|
|
206033
|
+
errorCode: 9
|
|
206034
|
+
};
|
|
206035
|
+
}
|
|
206036
|
+
if (!protocolResponse && (!input.summary || input.summary.trim().length === 0)) {
|
|
205735
206037
|
return {
|
|
205736
206038
|
result: false,
|
|
205737
206039
|
message: "summary is required when message is a string",
|
|
@@ -205783,6 +206085,7 @@ var init_SendMessageTool = __esm(() => {
|
|
|
205783
206085
|
};
|
|
205784
206086
|
},
|
|
205785
206087
|
async call(input, context2, canUseTool, assistantMessage) {
|
|
206088
|
+
const protocolResponse = typeof input.message === "string" ? parseProtocolResponseString(input.message) : null;
|
|
205786
206089
|
if (typeof input.message === "string") {
|
|
205787
206090
|
const addr = parseAddress(input.to);
|
|
205788
206091
|
if (addr.scheme === "uds" && hasInlineUdsToken(input.to)) {
|
|
@@ -205795,7 +206098,7 @@ var init_SendMessageTool = __esm(() => {
|
|
|
205795
206098
|
}
|
|
205796
206099
|
}
|
|
205797
206100
|
if (false) {}
|
|
205798
|
-
if (typeof input.message === "string" && input.to !== "*") {
|
|
206101
|
+
if (typeof input.message === "string" && input.to !== "*" && !protocolResponse) {
|
|
205799
206102
|
const appState = context2.getAppState();
|
|
205800
206103
|
const registered = appState.agentNameRegistry.get(input.to);
|
|
205801
206104
|
const agentId = registered ?? toAgentId(input.to);
|
|
@@ -205860,6 +206163,20 @@ var init_SendMessageTool = __esm(() => {
|
|
|
205860
206163
|
}
|
|
205861
206164
|
}
|
|
205862
206165
|
if (typeof input.message === "string") {
|
|
206166
|
+
if (protocolResponse) {
|
|
206167
|
+
switch (protocolResponse.type) {
|
|
206168
|
+
case "shutdown_response":
|
|
206169
|
+
if (protocolResponse.approve) {
|
|
206170
|
+
return handleShutdownApproval(protocolResponse.request_id, context2);
|
|
206171
|
+
}
|
|
206172
|
+
return handleShutdownRejection(protocolResponse.request_id, protocolResponse.reason);
|
|
206173
|
+
case "plan_approval_response":
|
|
206174
|
+
if (protocolResponse.approve) {
|
|
206175
|
+
return handlePlanApproval(input.to, protocolResponse.request_id, context2);
|
|
206176
|
+
}
|
|
206177
|
+
return handlePlanRejection(input.to, protocolResponse.request_id, protocolResponse.feedback, context2);
|
|
206178
|
+
}
|
|
206179
|
+
}
|
|
205863
206180
|
if (input.to === "*") {
|
|
205864
206181
|
return handleBroadcast(input.message, input.summary, context2);
|
|
205865
206182
|
}
|
|
@@ -206235,10 +206552,11 @@ Guidelines:
|
|
|
206235
206552
|
};
|
|
206236
206553
|
},
|
|
206237
206554
|
async call(input) {
|
|
206555
|
+
const ids = input?.message_ids ?? [];
|
|
206238
206556
|
return {
|
|
206239
206557
|
data: {
|
|
206240
|
-
snipped_count:
|
|
206241
|
-
summary: input
|
|
206558
|
+
snipped_count: ids.length,
|
|
206559
|
+
summary: input?.reason ?? `Snipped ${ids.length} messages`
|
|
206242
206560
|
}
|
|
206243
206561
|
};
|
|
206244
206562
|
}
|
|
@@ -213710,7 +214028,7 @@ var init_toolHooks = __esm(() => {
|
|
|
213710
214028
|
// src/services/tools/toolExecution.ts
|
|
213711
214029
|
function getSkillLearningWrapper() {
|
|
213712
214030
|
if (!_skillLearningWrapperCache) {
|
|
213713
|
-
_skillLearningWrapperCache = import("./chunk-
|
|
214031
|
+
_skillLearningWrapperCache = import("./chunk-f6v5bq78.js").catch((err) => {
|
|
213714
214032
|
_skillLearningWrapperCache = undefined;
|
|
213715
214033
|
throw err;
|
|
213716
214034
|
});
|
|
@@ -214836,6 +215154,9 @@ function* normalizeMessage(message) {
|
|
|
214836
215154
|
if (!isNotEmptyMessage(_2)) {
|
|
214837
215155
|
continue;
|
|
214838
215156
|
}
|
|
215157
|
+
if (isThinkingMessage(_2)) {
|
|
215158
|
+
continue;
|
|
215159
|
+
}
|
|
214839
215160
|
yield {
|
|
214840
215161
|
type: "assistant",
|
|
214841
215162
|
message: _2.message,
|
|
@@ -217134,6 +217455,11 @@ async function* runShellCommand({
|
|
|
217134
217455
|
return;
|
|
217135
217456
|
}
|
|
217136
217457
|
backgroundShellId = foregroundTaskId;
|
|
217458
|
+
const resolve28 = resolveProgress;
|
|
217459
|
+
if (resolve28) {
|
|
217460
|
+
resolveProgress = null;
|
|
217461
|
+
resolve28();
|
|
217462
|
+
}
|
|
217137
217463
|
logEvent(eventName, {
|
|
217138
217464
|
command_type: getCommandTypeForLogging2(command)
|
|
217139
217465
|
});
|
|
@@ -218583,8 +218909,8 @@ async function countBuiltInToolTokens(tools, getToolPermissionContext, agentInfo
|
|
|
218583
218909
|
systemToolDetails: []
|
|
218584
218910
|
};
|
|
218585
218911
|
}
|
|
218586
|
-
const { isSearchExtraToolsEnabled: isSearchExtraToolsEnabled2 } = await import("./chunk-
|
|
218587
|
-
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-
|
|
218912
|
+
const { isSearchExtraToolsEnabled: isSearchExtraToolsEnabled2 } = await import("./chunk-hm9rq604.js");
|
|
218913
|
+
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-krmmbjp9.js");
|
|
218588
218914
|
const isDeferred = await isSearchExtraToolsEnabled2(model ?? "", tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeBuiltIn");
|
|
218589
218915
|
const alwaysLoadedTools = builtInTools.filter((t) => !isDeferredTool2(t));
|
|
218590
218916
|
const deferredBuiltinTools = builtInTools.filter((t) => isDeferredTool2(t));
|
|
@@ -218718,8 +219044,8 @@ async function countMcpToolTokens(tools, getToolPermissionContext, agentInfo, mo
|
|
|
218718
219044
|
}))));
|
|
218719
219045
|
const estimateTotal = estimates.reduce((s, e) => s + e, 0) || 1;
|
|
218720
219046
|
const mcpToolTokensByTool = estimates.map((e) => Math.round(e / estimateTotal * totalTokens));
|
|
218721
|
-
const { isSearchExtraToolsEnabled: isSearchExtraToolsEnabled2 } = await import("./chunk-
|
|
218722
|
-
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-
|
|
219047
|
+
const { isSearchExtraToolsEnabled: isSearchExtraToolsEnabled2 } = await import("./chunk-hm9rq604.js");
|
|
219048
|
+
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-krmmbjp9.js");
|
|
218723
219049
|
const isDeferred = await isSearchExtraToolsEnabled2(model, tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeMcp");
|
|
218724
219050
|
const loadedMcpToolNames = new Set;
|
|
218725
219051
|
if (isDeferred && messages) {
|
|
@@ -222270,7 +222596,7 @@ async function* handleStopHooks(messagesForQuery, assistantMessages, systemPromp
|
|
|
222270
222596
|
saveCacheSafeParams(createCacheSafeParams(stopHookContext));
|
|
222271
222597
|
}
|
|
222272
222598
|
if (false) {}
|
|
222273
|
-
const poorMode = (await import("./chunk-
|
|
222599
|
+
const poorMode = (await import("./chunk-s3tdz6j0.js")).isPoorModeActive();
|
|
222274
222600
|
if (!isBareMode()) {
|
|
222275
222601
|
if (!isEnvDefinedFalsy(process.env.CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION) && !poorMode) {
|
|
222276
222602
|
executePromptSuggestion(stopHookContext);
|
|
@@ -222667,6 +222993,21 @@ function* yieldMissingToolResultBlocks(assistantMessages, errorMessage2) {
|
|
|
222667
222993
|
function isWithheldMaxOutputTokens(msg) {
|
|
222668
222994
|
return msg?.type === "assistant" && msg.apiError === "max_output_tokens";
|
|
222669
222995
|
}
|
|
222996
|
+
function isMissingToolUseResponse(msg) {
|
|
222997
|
+
if (msg?.type !== "assistant")
|
|
222998
|
+
return false;
|
|
222999
|
+
if (msg.isApiErrorMessage)
|
|
223000
|
+
return false;
|
|
223001
|
+
const message = msg.message;
|
|
223002
|
+
if (!message)
|
|
223003
|
+
return false;
|
|
223004
|
+
if (message.stop_reason !== "tool_use")
|
|
223005
|
+
return false;
|
|
223006
|
+
const content = message.content;
|
|
223007
|
+
if (!Array.isArray(content))
|
|
223008
|
+
return false;
|
|
223009
|
+
return !content.some((block) => block.type === "tool_use");
|
|
223010
|
+
}
|
|
222670
223011
|
async function* query2(params) {
|
|
222671
223012
|
const consumedCommandUuids = [];
|
|
222672
223013
|
const ownsTrace = !params.toolUseContext.langfuseTrace;
|
|
@@ -223231,6 +223572,33 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
223231
223572
|
executeStopFailureHooks(lastMessage, toolUseContext);
|
|
223232
223573
|
return { reason: "completed" };
|
|
223233
223574
|
}
|
|
223575
|
+
if (isMissingToolUseResponse(lastMessage) && state.transition?.reason !== "missing_tool_use_recovery") {
|
|
223576
|
+
logEvent("tengu_missing_tool_use_recovery", {
|
|
223577
|
+
queryChainId: queryChainIdForAnalytics,
|
|
223578
|
+
queryDepth: queryTracking.depth
|
|
223579
|
+
});
|
|
223580
|
+
const next2 = {
|
|
223581
|
+
messages: [
|
|
223582
|
+
...messagesForQuery,
|
|
223583
|
+
...assistantMessages,
|
|
223584
|
+
createUserMessage({
|
|
223585
|
+
content: MISSING_TOOL_USE_RECOVERY_MESSAGE,
|
|
223586
|
+
isMeta: true
|
|
223587
|
+
})
|
|
223588
|
+
],
|
|
223589
|
+
toolUseContext,
|
|
223590
|
+
autoCompactTracking: tracking,
|
|
223591
|
+
maxOutputTokensRecoveryCount: 0,
|
|
223592
|
+
hasAttemptedReactiveCompact,
|
|
223593
|
+
maxOutputTokensOverride: undefined,
|
|
223594
|
+
pendingToolUseSummary: undefined,
|
|
223595
|
+
stopHookActive: undefined,
|
|
223596
|
+
turnCount,
|
|
223597
|
+
transition: { reason: "missing_tool_use_recovery" }
|
|
223598
|
+
};
|
|
223599
|
+
state = next2;
|
|
223600
|
+
continue;
|
|
223601
|
+
}
|
|
223234
223602
|
const stopHookResult = yield* handleStopHooks(messagesForQuery, assistantMessages, systemPrompt, userContext, systemContext, toolUseContext, querySource, stopHookActive);
|
|
223235
223603
|
if (stopHookResult.preventContinuation) {
|
|
223236
223604
|
return { reason: "stop_hook_prevented" };
|
|
@@ -223498,7 +223866,7 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
223498
223866
|
__callDispose(__stack, _err, _hasErr);
|
|
223499
223867
|
}
|
|
223500
223868
|
}
|
|
223501
|
-
var reactiveCompact = null, contextCollapse, skillPrefetch = null, snipModule, MAX_OUTPUT_TOKENS_RECOVERY_LIMIT = 3;
|
|
223869
|
+
var reactiveCompact = null, contextCollapse, skillPrefetch = null, snipModule, MAX_OUTPUT_TOKENS_RECOVERY_LIMIT = 3, MISSING_TOOL_USE_RECOVERY_MESSAGE = "Your previous response ended with stop_reason=tool_use but did not include a tool_use block. Continue by issuing the missing tool call now. If the user asked to update task state, call TaskUpdate with the appropriate taskId and status; do not just describe the action.";
|
|
223502
223870
|
var init_query2 = __esm(() => {
|
|
223503
223871
|
init_withRetry();
|
|
223504
223872
|
init_autoCompact();
|
|
@@ -226307,7 +226675,7 @@ function getAnthropicEnvMetadata() {
|
|
|
226307
226675
|
function getBuildAgeMinutes() {
|
|
226308
226676
|
if (false)
|
|
226309
226677
|
;
|
|
226310
|
-
const buildTime = new Date("2026-05-
|
|
226678
|
+
const buildTime = new Date("2026-05-16T03:32:34.788Z").getTime();
|
|
226311
226679
|
if (isNaN(buildTime))
|
|
226312
226680
|
return;
|
|
226313
226681
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -227250,22 +227618,22 @@ async function* queryModel(messages, systemPrompt, thinkingConfig, tools, signal
|
|
|
227250
227618
|
}
|
|
227251
227619
|
messagesForAPI = stripExcessMediaItems(messagesForAPI, API_MAX_MEDIA_PER_REQUEST);
|
|
227252
227620
|
if (getAPIProvider() === "openai") {
|
|
227253
|
-
const { queryModelOpenAI } = await import("./chunk-
|
|
227621
|
+
const { queryModelOpenAI } = await import("./chunk-78kph36p.js");
|
|
227254
227622
|
yield* queryModelOpenAI(messagesForAPI, systemPrompt, tools, signal, options);
|
|
227255
227623
|
return;
|
|
227256
227624
|
}
|
|
227257
227625
|
if (getAPIProvider() === "gemini") {
|
|
227258
|
-
const { queryModelGemini } = await import("./chunk-
|
|
227626
|
+
const { queryModelGemini } = await import("./chunk-x0nt6xta.js");
|
|
227259
227627
|
yield* queryModelGemini(messagesForAPI, systemPrompt, filteredTools, signal, options, thinkingConfig);
|
|
227260
227628
|
return;
|
|
227261
227629
|
}
|
|
227262
227630
|
if (getAPIProvider() === "grok") {
|
|
227263
|
-
const { queryModelGrok } = await import("./chunk-
|
|
227631
|
+
const { queryModelGrok } = await import("./chunk-4zqzdz62.js");
|
|
227264
227632
|
yield* queryModelGrok(messagesForAPI, systemPrompt, filteredTools, signal, options);
|
|
227265
227633
|
return;
|
|
227266
227634
|
}
|
|
227267
227635
|
if (getAPIProvider() === "costrict") {
|
|
227268
|
-
const { queryModelCoStrict } = await import("./chunk-
|
|
227636
|
+
const { queryModelCoStrict } = await import("./chunk-js10hr63.js");
|
|
227269
227637
|
yield* queryModelCoStrict(messagesForAPI, systemPrompt, filteredTools, signal, options);
|
|
227270
227638
|
return;
|
|
227271
227639
|
}
|
|
@@ -231221,6 +231589,105 @@ import { randomUUID as randomUUID25 } from "crypto";
|
|
|
231221
231589
|
function getTeammateMailbox() {
|
|
231222
231590
|
return init_teammateMailbox(), __toCommonJS(exports_teammateMailbox);
|
|
231223
231591
|
}
|
|
231592
|
+
function normalizeLooseTaskStatus(value) {
|
|
231593
|
+
const key = value.trim().toLowerCase().replace(/[\s-]+/g, "_");
|
|
231594
|
+
if (key === "open" || key === "todo")
|
|
231595
|
+
return "pending";
|
|
231596
|
+
if (key === "started" || key === "active" || key === "inprogress" || key.startsWith("in_progress")) {
|
|
231597
|
+
return "in_progress";
|
|
231598
|
+
}
|
|
231599
|
+
if (key === "complete" || key === "done" || key === "resolved" || key === "closed" || key.startsWith("completed") || key.startsWith("complete")) {
|
|
231600
|
+
return "completed";
|
|
231601
|
+
}
|
|
231602
|
+
if (key === "delete" || key === "removed" || key.startsWith("deleted")) {
|
|
231603
|
+
return "deleted";
|
|
231604
|
+
}
|
|
231605
|
+
return value;
|
|
231606
|
+
}
|
|
231607
|
+
function extractLooseTaskStringField(raw, key) {
|
|
231608
|
+
const quoted = new RegExp(`["']${key}["']\\s*:\\s*["']([^"']*)`).exec(raw);
|
|
231609
|
+
if (quoted)
|
|
231610
|
+
return quoted[1] ?? "";
|
|
231611
|
+
const bare = new RegExp(`["']${key}["']\\s*:\\s*([^,}\\n\\r]+)`).exec(raw);
|
|
231612
|
+
if (!bare)
|
|
231613
|
+
return null;
|
|
231614
|
+
return (bare[1] ?? "").trim().replace(/^["']/, "").replace(/["']$/, "");
|
|
231615
|
+
}
|
|
231616
|
+
function extractLooseTaskStringArray(raw, key) {
|
|
231617
|
+
const match = new RegExp(`["']${key}["']\\s*:\\s*\\[([^\\]]*)\\]`).exec(raw);
|
|
231618
|
+
if (!match)
|
|
231619
|
+
return null;
|
|
231620
|
+
return (match[1] ?? "").split(",").map((item) => item.trim().replace(/^["']/, "").replace(/["']$/, "")).filter(Boolean);
|
|
231621
|
+
}
|
|
231622
|
+
function repairTaskToolInput(toolName, rawInput) {
|
|
231623
|
+
if (!TASK_TOOL_NAMES.has(toolName))
|
|
231624
|
+
return null;
|
|
231625
|
+
const repaired = {};
|
|
231626
|
+
if (toolName === TASK_LIST_TOOL_NAME) {
|
|
231627
|
+
return rawInput.trim() === "" || rawInput.trim() === "{" ? {} : null;
|
|
231628
|
+
}
|
|
231629
|
+
for (const key of ["taskId", "task_id", "id"]) {
|
|
231630
|
+
const value = extractLooseTaskStringField(rawInput, key);
|
|
231631
|
+
if (value !== null) {
|
|
231632
|
+
repaired.taskId = value;
|
|
231633
|
+
break;
|
|
231634
|
+
}
|
|
231635
|
+
}
|
|
231636
|
+
if (toolName === TASK_UPDATE_TOOL_NAME) {
|
|
231637
|
+
const status = extractLooseTaskStringField(rawInput, "status");
|
|
231638
|
+
if (status !== null) {
|
|
231639
|
+
const normalizedStatus = normalizeLooseTaskStatus(status);
|
|
231640
|
+
if (TASK_STATUS_VALUES.includes(normalizedStatus)) {
|
|
231641
|
+
repaired.status = normalizedStatus;
|
|
231642
|
+
} else {
|
|
231643
|
+
return null;
|
|
231644
|
+
}
|
|
231645
|
+
}
|
|
231646
|
+
for (const key of ["subject", "description", "activeForm", "owner"]) {
|
|
231647
|
+
const value = extractLooseTaskStringField(rawInput, key);
|
|
231648
|
+
if (value !== null)
|
|
231649
|
+
repaired[key] = value;
|
|
231650
|
+
}
|
|
231651
|
+
const activeForm = extractLooseTaskStringField(rawInput, "active_form");
|
|
231652
|
+
if (activeForm !== null && repaired.activeForm === undefined) {
|
|
231653
|
+
repaired.activeForm = activeForm;
|
|
231654
|
+
}
|
|
231655
|
+
for (const [sourceKey, targetKey] of [
|
|
231656
|
+
["addBlocks", "addBlocks"],
|
|
231657
|
+
["add_blocks", "addBlocks"],
|
|
231658
|
+
["blocks", "addBlocks"],
|
|
231659
|
+
["addBlockedBy", "addBlockedBy"],
|
|
231660
|
+
["add_blocked_by", "addBlockedBy"],
|
|
231661
|
+
["blockedBy", "addBlockedBy"],
|
|
231662
|
+
["blocked_by", "addBlockedBy"]
|
|
231663
|
+
]) {
|
|
231664
|
+
const value = extractLooseTaskStringArray(rawInput, sourceKey);
|
|
231665
|
+
if (value !== null && repaired[targetKey] === undefined) {
|
|
231666
|
+
repaired[targetKey] = value;
|
|
231667
|
+
}
|
|
231668
|
+
}
|
|
231669
|
+
} else if (toolName === TASK_CREATE_TOOL_NAME) {
|
|
231670
|
+
for (const key of ["subject", "description", "activeForm"]) {
|
|
231671
|
+
const value = extractLooseTaskStringField(rawInput, key);
|
|
231672
|
+
if (value !== null)
|
|
231673
|
+
repaired[key] = value;
|
|
231674
|
+
}
|
|
231675
|
+
const activeForm = extractLooseTaskStringField(rawInput, "active_form");
|
|
231676
|
+
if (activeForm !== null && repaired.activeForm === undefined) {
|
|
231677
|
+
repaired.activeForm = activeForm;
|
|
231678
|
+
}
|
|
231679
|
+
}
|
|
231680
|
+
if ((toolName === TASK_GET_TOOL_NAME || toolName === TASK_UPDATE_TOOL_NAME) && typeof repaired.taskId !== "string") {
|
|
231681
|
+
return null;
|
|
231682
|
+
}
|
|
231683
|
+
if (toolName === TASK_UPDATE_TOOL_NAME && !Object.keys(repaired).some((key) => key !== "taskId")) {
|
|
231684
|
+
return null;
|
|
231685
|
+
}
|
|
231686
|
+
if (toolName === TASK_CREATE_TOOL_NAME && (typeof repaired.subject !== "string" || typeof repaired.description !== "string")) {
|
|
231687
|
+
return null;
|
|
231688
|
+
}
|
|
231689
|
+
return Object.keys(repaired).length > 0 ? repaired : null;
|
|
231690
|
+
}
|
|
231224
231691
|
function withMemoryCorrectionHint(message) {
|
|
231225
231692
|
if (isAutoMemoryEnabled() && getFeatureValue_CACHED_MAY_BE_STALE("tengu_amber_prism", false)) {
|
|
231226
231693
|
return message + MEMORY_CORRECTION_HINT;
|
|
@@ -232751,7 +233218,7 @@ function normalizeContentFromAPI(contentBlocks, tools, agentId) {
|
|
|
232751
233218
|
logForDebugging(`tool input JSON parse fail: ${contentBlock.input.slice(0, 200)}`, { level: "warn" });
|
|
232752
233219
|
}
|
|
232753
233220
|
}
|
|
232754
|
-
normalizedInput = parsed ?? {};
|
|
233221
|
+
normalizedInput = parsed ?? repairTaskToolInput(contentBlock.name, contentBlock.input) ?? {};
|
|
232755
233222
|
} else {
|
|
232756
233223
|
normalizedInput = contentBlock.input;
|
|
232757
233224
|
}
|
|
@@ -234673,7 +235140,7 @@ IMPORTANT: After completing your current task, you MUST address the user's messa
|
|
|
234673
235140
|
}
|
|
234674
235141
|
var MEMORY_CORRECTION_HINT = `
|
|
234675
235142
|
|
|
234676
|
-
Note: The user's next message may contain a correction or preference. Pay close attention \u2014 if they explain what went wrong or how they'd prefer you to work, consider saving that to memory for future sessions.`, TOOL_REFERENCE_TURN_BOUNDARY = "Tool loaded.", INTERRUPT_MESSAGE = "[Request interrupted by user]", INTERRUPT_MESSAGE_FOR_TOOL_USE = "[Request interrupted by user for tool use]", CANCEL_MESSAGE = "The user doesn't want to take this action right now. STOP what you are doing and wait for the user to tell you how to proceed.", REJECT_MESSAGE = "The user doesn't want to proceed with this tool use. The tool use was rejected (eg. if it was a file edit, the new_string was NOT written to the file). STOP what you are doing and wait for the user to tell you how to proceed.", REJECT_MESSAGE_WITH_REASON_PREFIX = `The user doesn't want to proceed with this tool use. The tool use was rejected (eg. if it was a file edit, the new_string was NOT written to the file). To tell you how to proceed, the user said:
|
|
235143
|
+
Note: The user's next message may contain a correction or preference. Pay close attention \u2014 if they explain what went wrong or how they'd prefer you to work, consider saving that to memory for future sessions.`, TOOL_REFERENCE_TURN_BOUNDARY = "Tool loaded.", TASK_TOOL_NAMES, TASK_STATUS_VALUES, INTERRUPT_MESSAGE = "[Request interrupted by user]", INTERRUPT_MESSAGE_FOR_TOOL_USE = "[Request interrupted by user for tool use]", CANCEL_MESSAGE = "The user doesn't want to take this action right now. STOP what you are doing and wait for the user to tell you how to proceed.", REJECT_MESSAGE = "The user doesn't want to proceed with this tool use. The tool use was rejected (eg. if it was a file edit, the new_string was NOT written to the file). STOP what you are doing and wait for the user to tell you how to proceed.", REJECT_MESSAGE_WITH_REASON_PREFIX = `The user doesn't want to proceed with this tool use. The tool use was rejected (eg. if it was a file edit, the new_string was NOT written to the file). To tell you how to proceed, the user said:
|
|
234677
235144
|
`, SUBAGENT_REJECT_MESSAGE = "Permission for this tool use was denied. The tool use was rejected (eg. if it was a file edit, the new_string was NOT written to the file). Try a different approach or report the limitation to complete your task.", SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX = `Permission for this tool use was denied. The tool use was rejected (eg. if it was a file edit, the new_string was NOT written to the file). The user said:
|
|
234678
235145
|
`, PLAN_REJECTION_PREFIX = `The agent proposed a plan that was rejected by the user. The user chose to stay in plan mode rather than proceed with implementation.
|
|
234679
235146
|
|
|
@@ -234744,6 +235211,8 @@ var init_messages4 = __esm(() => {
|
|
|
234744
235211
|
init_FileReadTool();
|
|
234745
235212
|
init_constants7();
|
|
234746
235213
|
init_constants11();
|
|
235214
|
+
init_constants12();
|
|
235215
|
+
init_constants13();
|
|
234747
235216
|
init_constants3();
|
|
234748
235217
|
init_constants14();
|
|
234749
235218
|
init_api3();
|
|
@@ -234760,6 +235229,13 @@ var init_messages4 = __esm(() => {
|
|
|
234760
235229
|
init_stringUtils();
|
|
234761
235230
|
init_tasks();
|
|
234762
235231
|
init_searchExtraTools();
|
|
235232
|
+
TASK_TOOL_NAMES = new Set([
|
|
235233
|
+
TASK_CREATE_TOOL_NAME,
|
|
235234
|
+
TASK_GET_TOOL_NAME,
|
|
235235
|
+
TASK_LIST_TOOL_NAME,
|
|
235236
|
+
TASK_UPDATE_TOOL_NAME
|
|
235237
|
+
]);
|
|
235238
|
+
TASK_STATUS_VALUES = ["pending", "in_progress", "completed", "deleted"];
|
|
234763
235239
|
DENIAL_WORKAROUND_GUIDANCE = `IMPORTANT: You *may* attempt to accomplish this action using other tools that might naturally be used to accomplish this goal, ` + `e.g. using head instead of cat. But you *should not* attempt to work around this denial in malicious ways, ` + `e.g. do not use your ability to run tests to execute non-test actions. ` + `You should only try to work around this restriction in reasonable ways that do not attempt to bypass the intent behind this denial. ` + `If you believe this capability is essential to complete the user's request, STOP and explain to the user ` + `what you were trying to do and why you need this permission. Let the user decide how to proceed.`;
|
|
234764
235240
|
SYNTHETIC_MESSAGES = new Set([
|
|
234765
235241
|
INTERRUPT_MESSAGE,
|
|
@@ -235626,7 +236102,7 @@ var init_feedback = __esm(() => {
|
|
|
235626
236102
|
description: `Submit feedback about CoStrict`,
|
|
235627
236103
|
argumentHint: "[report]",
|
|
235628
236104
|
isEnabled: () => !(isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || isEnvTruthy(process.env.DISABLE_FEEDBACK_COMMAND) || isEnvTruthy(process.env.DISABLE_BUG_COMMAND) || isEssentialTrafficOnly() || process.env.USER_TYPE === "ant" || !isPolicyAllowed("allow_product_feedback")),
|
|
235629
|
-
load: () => import("./chunk-
|
|
236105
|
+
load: () => import("./chunk-2vfcftww.js")
|
|
235630
236106
|
};
|
|
235631
236107
|
feedback_default = feedback;
|
|
235632
236108
|
});
|
|
@@ -235640,7 +236116,7 @@ var init_clear = __esm(() => {
|
|
|
235640
236116
|
description: "Clear conversation history and free up context",
|
|
235641
236117
|
aliases: ["reset", "new"],
|
|
235642
236118
|
supportsNonInteractive: false,
|
|
235643
|
-
load: () => import("./chunk-
|
|
236119
|
+
load: () => import("./chunk-mdmh4hh4.js")
|
|
235644
236120
|
};
|
|
235645
236121
|
clear_default = clear;
|
|
235646
236122
|
});
|
|
@@ -235654,7 +236130,7 @@ var init_color = __esm(() => {
|
|
|
235654
236130
|
description: "Set the prompt bar color for this session",
|
|
235655
236131
|
immediate: true,
|
|
235656
236132
|
argumentHint: "<color|default>",
|
|
235657
|
-
load: () => import("./chunk-
|
|
236133
|
+
load: () => import("./chunk-a9garrrp.js")
|
|
235658
236134
|
};
|
|
235659
236135
|
color_default = color2;
|
|
235660
236136
|
});
|
|
@@ -235754,7 +236230,7 @@ var init_copy = __esm(() => {
|
|
|
235754
236230
|
type: "local-jsx",
|
|
235755
236231
|
name: "copy",
|
|
235756
236232
|
description: "Copy CoStrict's last response to clipboard (or /copy N for the Nth-latest)",
|
|
235757
|
-
load: () => import("./chunk-
|
|
236233
|
+
load: () => import("./chunk-n08zma6t.js")
|
|
235758
236234
|
};
|
|
235759
236235
|
copy_default = copy;
|
|
235760
236236
|
});
|
|
@@ -235917,7 +236393,7 @@ var init_compact2 = __esm(() => {
|
|
|
235917
236393
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_COMPACT),
|
|
235918
236394
|
supportsNonInteractive: true,
|
|
235919
236395
|
argumentHint: "<optional custom summarization instructions>",
|
|
235920
|
-
load: () => import("./chunk-
|
|
236396
|
+
load: () => import("./chunk-dwkc1vgf.js")
|
|
235921
236397
|
};
|
|
235922
236398
|
compact_default = compact;
|
|
235923
236399
|
});
|
|
@@ -235930,7 +236406,7 @@ var init_config7 = __esm(() => {
|
|
|
235930
236406
|
type: "local-jsx",
|
|
235931
236407
|
name: "config",
|
|
235932
236408
|
description: "Open config panel",
|
|
235933
|
-
load: () => import("./chunk-
|
|
236409
|
+
load: () => import("./chunk-fv8tcte1.js")
|
|
235934
236410
|
};
|
|
235935
236411
|
config_default = config3;
|
|
235936
236412
|
});
|
|
@@ -235944,7 +236420,7 @@ var init_context3 = __esm(() => {
|
|
|
235944
236420
|
description: "Visualize current context usage as a colored grid",
|
|
235945
236421
|
isEnabled: () => !getIsNonInteractiveSession(),
|
|
235946
236422
|
type: "local-jsx",
|
|
235947
|
-
load: () => import("./chunk-
|
|
236423
|
+
load: () => import("./chunk-34merw4c.js")
|
|
235948
236424
|
};
|
|
235949
236425
|
contextNonInteractive = {
|
|
235950
236426
|
type: "local",
|
|
@@ -235957,7 +236433,7 @@ var init_context3 = __esm(() => {
|
|
|
235957
236433
|
isEnabled() {
|
|
235958
236434
|
return getIsNonInteractiveSession();
|
|
235959
236435
|
},
|
|
235960
|
-
load: () => import("./chunk-
|
|
236436
|
+
load: () => import("./chunk-kankxtem.js")
|
|
235961
236437
|
};
|
|
235962
236438
|
});
|
|
235963
236439
|
|
|
@@ -235969,7 +236445,7 @@ var init_usage2 = __esm(() => {
|
|
|
235969
236445
|
name: "usage",
|
|
235970
236446
|
aliases: ["cost", "stats"],
|
|
235971
236447
|
description: "Show session cost, plan usage, and activity stats",
|
|
235972
|
-
load: () => import("./chunk-
|
|
236448
|
+
load: () => import("./chunk-1yzryj0w.js")
|
|
235973
236449
|
};
|
|
235974
236450
|
});
|
|
235975
236451
|
|
|
@@ -235985,7 +236461,7 @@ var init_diff2 = __esm(() => {
|
|
|
235985
236461
|
type: "local-jsx",
|
|
235986
236462
|
name: "diff",
|
|
235987
236463
|
description: "View uncommitted changes and per-turn diffs",
|
|
235988
|
-
load: () => import("./chunk-
|
|
236464
|
+
load: () => import("./chunk-xqzmd8rx.js")
|
|
235989
236465
|
};
|
|
235990
236466
|
});
|
|
235991
236467
|
|
|
@@ -236004,7 +236480,7 @@ var init_doctor = __esm(() => {
|
|
|
236004
236480
|
description: "Diagnose and verify your CoStrict installation and settings",
|
|
236005
236481
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_DOCTOR_COMMAND),
|
|
236006
236482
|
type: "local-jsx",
|
|
236007
|
-
load: () => import("./chunk-
|
|
236483
|
+
load: () => import("./chunk-x59dmzab.js")
|
|
236008
236484
|
};
|
|
236009
236485
|
doctor_default = doctor;
|
|
236010
236486
|
});
|
|
@@ -236016,7 +236492,7 @@ var init_memory = __esm(() => {
|
|
|
236016
236492
|
type: "local-jsx",
|
|
236017
236493
|
name: "memory",
|
|
236018
236494
|
description: "Edit Claude memory files",
|
|
236019
|
-
load: () => import("./chunk-
|
|
236495
|
+
load: () => import("./chunk-7s3wyn34.js")
|
|
236020
236496
|
};
|
|
236021
236497
|
memory_default = memory;
|
|
236022
236498
|
});
|
|
@@ -236028,7 +236504,7 @@ var init_help = __esm(() => {
|
|
|
236028
236504
|
type: "local-jsx",
|
|
236029
236505
|
name: "help",
|
|
236030
236506
|
description: "Show help and available commands",
|
|
236031
|
-
load: () => import("./chunk-
|
|
236507
|
+
load: () => import("./chunk-jcfp9q8e.js")
|
|
236032
236508
|
};
|
|
236033
236509
|
help_default = help;
|
|
236034
236510
|
});
|
|
@@ -236041,7 +236517,7 @@ var init_ide2 = __esm(() => {
|
|
|
236041
236517
|
name: "ide",
|
|
236042
236518
|
description: "Manage IDE integrations and show status",
|
|
236043
236519
|
argumentHint: "[open]",
|
|
236044
|
-
load: () => import("./chunk-
|
|
236520
|
+
load: () => import("./chunk-4k2ztys5.js")
|
|
236045
236521
|
};
|
|
236046
236522
|
ide_default = ide;
|
|
236047
236523
|
});
|
|
@@ -236564,7 +237040,7 @@ var init_keybindings = __esm(() => {
|
|
|
236564
237040
|
isEnabled: () => isKeybindingCustomizationEnabled(),
|
|
236565
237041
|
supportsNonInteractive: false,
|
|
236566
237042
|
type: "local",
|
|
236567
|
-
load: () => import("./chunk-
|
|
237043
|
+
load: () => import("./chunk-jjjrmgee.js")
|
|
236568
237044
|
};
|
|
236569
237045
|
keybindings_default = keybindings;
|
|
236570
237046
|
});
|
|
@@ -236578,7 +237054,7 @@ var init_lang = __esm(() => {
|
|
|
236578
237054
|
description: "Set display language (en/zh/auto)",
|
|
236579
237055
|
immediate: true,
|
|
236580
237056
|
argumentHint: "<en|zh|auto>",
|
|
236581
|
-
load: () => import("./chunk-
|
|
237057
|
+
load: () => import("./chunk-5yjm9yth.js")
|
|
236582
237058
|
};
|
|
236583
237059
|
lang_default = lang;
|
|
236584
237060
|
});
|
|
@@ -236589,7 +237065,7 @@ var login_default = () => ({
|
|
|
236589
237065
|
name: "login",
|
|
236590
237066
|
description: hasAnthropicApiKeyAuth() ? "Switch CoStrict accounts" : "Sign in with your CoStrict account",
|
|
236591
237067
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGIN_COMMAND),
|
|
236592
|
-
load: () => import("./chunk-
|
|
237068
|
+
load: () => import("./chunk-rdmen6bn.js")
|
|
236593
237069
|
});
|
|
236594
237070
|
var init_login = __esm(() => {
|
|
236595
237071
|
init_auth();
|
|
@@ -236605,7 +237081,7 @@ var init_logout2 = __esm(() => {
|
|
|
236605
237081
|
name: "logout",
|
|
236606
237082
|
description: "Sign out from your CoStrict account",
|
|
236607
237083
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
|
|
236608
|
-
load: () => import("./chunk-
|
|
237084
|
+
load: () => import("./chunk-yaefwx7d.js")
|
|
236609
237085
|
};
|
|
236610
237086
|
});
|
|
236611
237087
|
|
|
@@ -236619,7 +237095,7 @@ var init_install_github_app = __esm(() => {
|
|
|
236619
237095
|
description: "Set up Claude GitHub Actions for a repository",
|
|
236620
237096
|
availability: ["claude-ai", "console"],
|
|
236621
237097
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_INSTALL_GITHUB_APP_COMMAND),
|
|
236622
|
-
load: () => import("./chunk-
|
|
237098
|
+
load: () => import("./chunk-z9ezvde9.js")
|
|
236623
237099
|
};
|
|
236624
237100
|
install_github_app_default = installGitHubApp;
|
|
236625
237101
|
});
|
|
@@ -236633,7 +237109,7 @@ var init_install_slack_app = __esm(() => {
|
|
|
236633
237109
|
description: "Install the Claude Slack app",
|
|
236634
237110
|
availability: ["claude-ai"],
|
|
236635
237111
|
supportsNonInteractive: false,
|
|
236636
|
-
load: () => import("./chunk-
|
|
237112
|
+
load: () => import("./chunk-aq0t16sn.js")
|
|
236637
237113
|
};
|
|
236638
237114
|
install_slack_app_default = installSlackApp;
|
|
236639
237115
|
});
|
|
@@ -236647,7 +237123,7 @@ var init_mcp = __esm(() => {
|
|
|
236647
237123
|
description: "Manage MCP servers",
|
|
236648
237124
|
immediate: true,
|
|
236649
237125
|
argumentHint: "[enable|disable [server-name]]",
|
|
236650
|
-
load: () => import("./chunk-
|
|
237126
|
+
load: () => import("./chunk-7kznscxn.js")
|
|
236651
237127
|
};
|
|
236652
237128
|
mcp_default = mcp;
|
|
236653
237129
|
});
|
|
@@ -236660,7 +237136,7 @@ var init_mobile = __esm(() => {
|
|
|
236660
237136
|
name: "mobile",
|
|
236661
237137
|
aliases: ["ios", "android"],
|
|
236662
237138
|
description: "Show QR code to download the Claude mobile app",
|
|
236663
|
-
load: () => import("./chunk-
|
|
237139
|
+
load: () => import("./chunk-16waz3fy.js")
|
|
236664
237140
|
};
|
|
236665
237141
|
mobile_default = mobile;
|
|
236666
237142
|
});
|
|
@@ -236678,7 +237154,7 @@ var init_onboarding = __esm(() => {
|
|
|
236678
237154
|
bridgeSafe: false,
|
|
236679
237155
|
getBridgeInvocationError: () => "onboarding requires the local interactive UI and is not bridge-safe",
|
|
236680
237156
|
load: async () => {
|
|
236681
|
-
const m2 = await import("./chunk-
|
|
237157
|
+
const m2 = await import("./chunk-17j9hb87.js");
|
|
236682
237158
|
return { call: m2.callOnboarding };
|
|
236683
237159
|
}
|
|
236684
237160
|
};
|
|
@@ -236790,7 +237266,7 @@ var init_release_notes = __esm(() => {
|
|
|
236790
237266
|
name: "release-notes",
|
|
236791
237267
|
type: "local",
|
|
236792
237268
|
supportsNonInteractive: true,
|
|
236793
|
-
load: () => import("./chunk-
|
|
237269
|
+
load: () => import("./chunk-v91g64jx.js")
|
|
236794
237270
|
};
|
|
236795
237271
|
release_notes_default = releaseNotes;
|
|
236796
237272
|
});
|
|
@@ -236804,7 +237280,7 @@ var init_rename = __esm(() => {
|
|
|
236804
237280
|
description: "Rename the current conversation",
|
|
236805
237281
|
immediate: true,
|
|
236806
237282
|
argumentHint: "[name]",
|
|
236807
|
-
load: () => import("./chunk-
|
|
237283
|
+
load: () => import("./chunk-193vfma7.js")
|
|
236808
237284
|
};
|
|
236809
237285
|
rename_default = rename8;
|
|
236810
237286
|
});
|
|
@@ -236818,7 +237294,7 @@ var init_resume = __esm(() => {
|
|
|
236818
237294
|
description: "Resume a previous conversation",
|
|
236819
237295
|
aliases: ["continue"],
|
|
236820
237296
|
argumentHint: "[conversation id or search term]",
|
|
236821
|
-
load: () => import("./chunk-
|
|
237297
|
+
load: () => import("./chunk-vwpr34gb.js")
|
|
236822
237298
|
};
|
|
236823
237299
|
resume_default = resume;
|
|
236824
237300
|
});
|
|
@@ -236841,7 +237317,7 @@ var init_review = __esm(() => {
|
|
|
236841
237317
|
name: "ultrareview",
|
|
236842
237318
|
description: `~10\u201320 min \xB7 Finds and verifies bugs in your branch. Runs in CoStrict on the web. See ${CCR_TERMS_URL}`,
|
|
236843
237319
|
isEnabled: () => isUltrareviewEnabled(),
|
|
236844
|
-
load: () => import("./chunk-
|
|
237320
|
+
load: () => import("./chunk-72cez8rw.js")
|
|
236845
237321
|
};
|
|
236846
237322
|
});
|
|
236847
237323
|
|
|
@@ -236858,7 +237334,7 @@ var init_session = __esm(() => {
|
|
|
236858
237334
|
get isHidden() {
|
|
236859
237335
|
return !getIsRemoteMode();
|
|
236860
237336
|
},
|
|
236861
|
-
load: () => import("./chunk-
|
|
237337
|
+
load: () => import("./chunk-tbx1hn1a.js")
|
|
236862
237338
|
};
|
|
236863
237339
|
session_default = session;
|
|
236864
237340
|
});
|
|
@@ -237196,7 +237672,7 @@ var init_skills2 = __esm(() => {
|
|
|
237196
237672
|
type: "local-jsx",
|
|
237197
237673
|
name: "skills",
|
|
237198
237674
|
description: "List available skills",
|
|
237199
|
-
load: () => import("./chunk-
|
|
237675
|
+
load: () => import("./chunk-wpm7sbfe.js")
|
|
237200
237676
|
};
|
|
237201
237677
|
skills_default = skills;
|
|
237202
237678
|
});
|
|
@@ -237209,7 +237685,7 @@ var init_status2 = __esm(() => {
|
|
|
237209
237685
|
name: "status",
|
|
237210
237686
|
description: "Show CoStrict status including version, model, account, API connectivity, and tool statuses",
|
|
237211
237687
|
immediate: true,
|
|
237212
|
-
load: () => import("./chunk-
|
|
237688
|
+
load: () => import("./chunk-3tm5sns7.js")
|
|
237213
237689
|
};
|
|
237214
237690
|
status_default = status;
|
|
237215
237691
|
});
|
|
@@ -237222,7 +237698,7 @@ var init_tasks3 = __esm(() => {
|
|
|
237222
237698
|
name: "tasks",
|
|
237223
237699
|
aliases: ["bashes"],
|
|
237224
237700
|
description: "List and manage background tasks",
|
|
237225
|
-
load: () => import("./chunk-
|
|
237701
|
+
load: () => import("./chunk-jsfytv0f.js")
|
|
237226
237702
|
};
|
|
237227
237703
|
tasks_default = tasks;
|
|
237228
237704
|
});
|
|
@@ -237241,7 +237717,7 @@ var init_teleport2 = __esm(() => {
|
|
|
237241
237717
|
bridgeSafe: false,
|
|
237242
237718
|
getBridgeInvocationError: (_args) => "teleport resumes the REPL and is not bridge-safe",
|
|
237243
237719
|
load: async () => {
|
|
237244
|
-
const m2 = await import("./chunk-
|
|
237720
|
+
const m2 = await import("./chunk-7npzwf36.js");
|
|
237245
237721
|
return { call: m2.callTeleport };
|
|
237246
237722
|
}
|
|
237247
237723
|
};
|
|
@@ -237269,7 +237745,7 @@ var init_terminalSetup2 = __esm(() => {
|
|
|
237269
237745
|
name: "terminal-setup",
|
|
237270
237746
|
description: env.terminal === "Apple_Terminal" ? "Enable Option+Enter key binding for newlines and visual bell" : "Install Shift+Enter key binding for newlines",
|
|
237271
237747
|
isHidden: env.terminal !== null && env.terminal in NATIVE_CSIU_TERMINALS,
|
|
237272
|
-
load: () => import("./chunk-
|
|
237748
|
+
load: () => import("./chunk-7jkb3tck.js")
|
|
237273
237749
|
};
|
|
237274
237750
|
terminalSetup_default = terminalSetup;
|
|
237275
237751
|
});
|
|
@@ -237281,7 +237757,7 @@ var init_theme2 = __esm(() => {
|
|
|
237281
237757
|
type: "local-jsx",
|
|
237282
237758
|
name: "theme",
|
|
237283
237759
|
description: "Change the theme",
|
|
237284
|
-
load: () => import("./chunk-
|
|
237760
|
+
load: () => import("./chunk-26w1pqen.js")
|
|
237285
237761
|
};
|
|
237286
237762
|
theme_default = theme;
|
|
237287
237763
|
});
|
|
@@ -237294,7 +237770,7 @@ var init_vim = __esm(() => {
|
|
|
237294
237770
|
description: "Toggle between Vim and Normal editing modes",
|
|
237295
237771
|
supportsNonInteractive: false,
|
|
237296
237772
|
type: "local",
|
|
237297
|
-
load: () => import("./chunk-
|
|
237773
|
+
load: () => import("./chunk-732ycv3a.js")
|
|
237298
237774
|
};
|
|
237299
237775
|
vim_default = command5;
|
|
237300
237776
|
});
|
|
@@ -237308,7 +237784,7 @@ var init_thinkback = __esm(() => {
|
|
|
237308
237784
|
name: "think-back",
|
|
237309
237785
|
description: "Your 2025 CoStrict Year in Review",
|
|
237310
237786
|
isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
|
|
237311
|
-
load: () => import("./chunk-
|
|
237787
|
+
load: () => import("./chunk-b1my2ag9.js")
|
|
237312
237788
|
};
|
|
237313
237789
|
thinkback_default = thinkback;
|
|
237314
237790
|
});
|
|
@@ -237324,7 +237800,7 @@ var init_thinkback_play = __esm(() => {
|
|
|
237324
237800
|
isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
|
|
237325
237801
|
isHidden: true,
|
|
237326
237802
|
supportsNonInteractive: false,
|
|
237327
|
-
load: () => import("./chunk-
|
|
237803
|
+
load: () => import("./chunk-gf3t5h70.js")
|
|
237328
237804
|
};
|
|
237329
237805
|
thinkback_play_default = thinkbackPlay;
|
|
237330
237806
|
});
|
|
@@ -237337,7 +237813,7 @@ var init_permissions4 = __esm(() => {
|
|
|
237337
237813
|
name: "permissions",
|
|
237338
237814
|
aliases: ["allowed-tools"],
|
|
237339
237815
|
description: "Manage allow & deny tool permission rules",
|
|
237340
|
-
load: () => import("./chunk-
|
|
237816
|
+
load: () => import("./chunk-m4wfythr.js")
|
|
237341
237817
|
};
|
|
237342
237818
|
permissions_default = permissions;
|
|
237343
237819
|
});
|
|
@@ -237358,7 +237834,7 @@ var init_plan = __esm(() => {
|
|
|
237358
237834
|
name: "plan",
|
|
237359
237835
|
description: "Enable plan mode or view the current session plan",
|
|
237360
237836
|
argumentHint: "[open|<description>]",
|
|
237361
|
-
load: () => import("./chunk-
|
|
237837
|
+
load: () => import("./chunk-75q1d027.js")
|
|
237362
237838
|
};
|
|
237363
237839
|
plan_default = plan;
|
|
237364
237840
|
});
|
|
@@ -237391,7 +237867,7 @@ var init_fast = __esm(() => {
|
|
|
237391
237867
|
get immediate() {
|
|
237392
237868
|
return shouldInferenceConfigCommandBeImmediate();
|
|
237393
237869
|
},
|
|
237394
|
-
load: () => import("./chunk-
|
|
237870
|
+
load: () => import("./chunk-pxzawaw7.js")
|
|
237395
237871
|
};
|
|
237396
237872
|
fast_default = fast;
|
|
237397
237873
|
});
|
|
@@ -237414,7 +237890,7 @@ var init_passes = __esm(() => {
|
|
|
237414
237890
|
const { eligible, hasCache } = checkCachedPassesEligibility();
|
|
237415
237891
|
return !eligible || !hasCache;
|
|
237416
237892
|
},
|
|
237417
|
-
load: () => import("./chunk-
|
|
237893
|
+
load: () => import("./chunk-5wvcws9f.js")
|
|
237418
237894
|
};
|
|
237419
237895
|
});
|
|
237420
237896
|
|
|
@@ -237429,7 +237905,7 @@ var init_privacy_settings = __esm(() => {
|
|
|
237429
237905
|
isEnabled: () => {
|
|
237430
237906
|
return isConsumerSubscriber();
|
|
237431
237907
|
},
|
|
237432
|
-
load: () => import("./chunk-
|
|
237908
|
+
load: () => import("./chunk-qezmm114.js")
|
|
237433
237909
|
};
|
|
237434
237910
|
privacy_settings_default = privacySettings;
|
|
237435
237911
|
});
|
|
@@ -237442,7 +237918,7 @@ var init_hooks = __esm(() => {
|
|
|
237442
237918
|
name: "hooks",
|
|
237443
237919
|
description: "View hook configurations for tool events",
|
|
237444
237920
|
immediate: true,
|
|
237445
|
-
load: () => import("./chunk-
|
|
237921
|
+
load: () => import("./chunk-ga5v18wb.js")
|
|
237446
237922
|
};
|
|
237447
237923
|
hooks_default = hooks;
|
|
237448
237924
|
});
|
|
@@ -237470,7 +237946,7 @@ var init_branch = __esm(() => {
|
|
|
237470
237946
|
aliases: [],
|
|
237471
237947
|
description: "Create a branch of the current conversation at this point",
|
|
237472
237948
|
argumentHint: "[name]",
|
|
237473
|
-
load: () => import("./chunk-
|
|
237949
|
+
load: () => import("./chunk-2km8scdk.js")
|
|
237474
237950
|
};
|
|
237475
237951
|
branch_default = branch;
|
|
237476
237952
|
});
|
|
@@ -237482,7 +237958,7 @@ var init_agents = __esm(() => {
|
|
|
237482
237958
|
type: "local-jsx",
|
|
237483
237959
|
name: "agents",
|
|
237484
237960
|
description: "Manage agent configurations",
|
|
237485
|
-
load: () => import("./chunk-
|
|
237961
|
+
load: () => import("./chunk-hnh89cye.js")
|
|
237486
237962
|
};
|
|
237487
237963
|
agents_default = agents;
|
|
237488
237964
|
});
|
|
@@ -237496,7 +237972,7 @@ var init_plugin2 = __esm(() => {
|
|
|
237496
237972
|
aliases: ["plugins", "marketplace"],
|
|
237497
237973
|
description: "Manage CoStrict plugins",
|
|
237498
237974
|
immediate: true,
|
|
237499
|
-
load: () => import("./chunk-
|
|
237975
|
+
load: () => import("./chunk-9ds6nhgx.js")
|
|
237500
237976
|
};
|
|
237501
237977
|
plugin_default = plugin;
|
|
237502
237978
|
});
|
|
@@ -237509,7 +237985,7 @@ var init_reload_plugins = __esm(() => {
|
|
|
237509
237985
|
name: "reload-plugins",
|
|
237510
237986
|
description: "Activate pending plugin changes in the current session",
|
|
237511
237987
|
supportsNonInteractive: false,
|
|
237512
|
-
load: () => import("./chunk-
|
|
237988
|
+
load: () => import("./chunk-y9g1ynzy.js")
|
|
237513
237989
|
};
|
|
237514
237990
|
reload_plugins_default = reloadPlugins;
|
|
237515
237991
|
});
|
|
@@ -237538,7 +238014,7 @@ var init_heapdump = __esm(() => {
|
|
|
237538
238014
|
description: "Dump the JS heap to ~/Desktop",
|
|
237539
238015
|
isHidden: true,
|
|
237540
238016
|
supportsNonInteractive: true,
|
|
237541
|
-
load: () => import("./chunk-
|
|
238017
|
+
load: () => import("./chunk-gqxam9dm.js")
|
|
237542
238018
|
};
|
|
237543
238019
|
heapdump_default = heapDump;
|
|
237544
238020
|
});
|
|
@@ -238035,7 +238511,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
238035
238511
|
var call3 = async () => {
|
|
238036
238512
|
return {
|
|
238037
238513
|
type: "text",
|
|
238038
|
-
value: `${"4.
|
|
238514
|
+
value: `${"4.1.1"} (built ${"2026-05-16T03:32:34.788Z"})`
|
|
238039
238515
|
};
|
|
238040
238516
|
}, version2, version_default;
|
|
238041
238517
|
var init_version2 = __esm(() => {
|
|
@@ -238058,8 +238534,8 @@ var API_SAFE_TYPES, call4 = async (_args, context3) => {
|
|
|
238058
238534
|
return { type: "text", value: "No messages to summarize." };
|
|
238059
238535
|
}
|
|
238060
238536
|
try {
|
|
238061
|
-
const { manuallyExtractSessionMemory } = await import("./chunk-
|
|
238062
|
-
const { getSessionMemoryContent: getSessionMemoryContent2 } = await import("./chunk-
|
|
238537
|
+
const { manuallyExtractSessionMemory } = await import("./chunk-g410gawd.js");
|
|
238538
|
+
const { getSessionMemoryContent: getSessionMemoryContent2 } = await import("./chunk-cxktxwv9.js");
|
|
238063
238539
|
const safeContext = { ...context3, messages: safeMessages };
|
|
238064
238540
|
const result = await manuallyExtractSessionMemory(safeMessages, safeContext);
|
|
238065
238541
|
if (!result.success) {
|
|
@@ -238112,7 +238588,7 @@ var init_skill_learning = __esm(() => {
|
|
|
238112
238588
|
argumentHint: "[start|stop|about|status|ingest|evolve|export|import|prune|promote|projects]",
|
|
238113
238589
|
isEnabled: () => isSkillLearningCompiledIn(),
|
|
238114
238590
|
isHidden: false,
|
|
238115
|
-
load: () => import("./chunk-
|
|
238591
|
+
load: () => import("./chunk-8py19hja.js")
|
|
238116
238592
|
};
|
|
238117
238593
|
skill_learning_default = skillLearning;
|
|
238118
238594
|
});
|
|
@@ -238139,7 +238615,7 @@ var init_skill_search = __esm(() => {
|
|
|
238139
238615
|
argumentHint: "[start|stop|about|status]",
|
|
238140
238616
|
isEnabled: () => isSkillSearchCompiledIn(),
|
|
238141
238617
|
isHidden: false,
|
|
238142
|
-
load: () => import("./chunk-
|
|
238618
|
+
load: () => import("./chunk-61xprjs1.js")
|
|
238143
238619
|
};
|
|
238144
238620
|
skill_search_default = skillSearch;
|
|
238145
238621
|
});
|
|
@@ -238576,7 +239052,7 @@ var init_sandbox_toggle = __esm(() => {
|
|
|
238576
239052
|
},
|
|
238577
239053
|
immediate: true,
|
|
238578
239054
|
type: "local-jsx",
|
|
238579
|
-
load: () => import("./chunk-
|
|
239055
|
+
load: () => import("./chunk-8z5fmqh3.js")
|
|
238580
239056
|
};
|
|
238581
239057
|
sandbox_toggle_default = command6;
|
|
238582
239058
|
});
|
|
@@ -238591,7 +239067,7 @@ var init_chrome = __esm(() => {
|
|
|
238591
239067
|
availability: [],
|
|
238592
239068
|
isEnabled: () => !getIsNonInteractiveSession(),
|
|
238593
239069
|
type: "local-jsx",
|
|
238594
|
-
load: () => import("./chunk-
|
|
239070
|
+
load: () => import("./chunk-naenwsts.js")
|
|
238595
239071
|
};
|
|
238596
239072
|
chrome_default = command7;
|
|
238597
239073
|
});
|
|
@@ -238709,7 +239185,7 @@ var init_autonomy = __esm(() => {
|
|
|
238709
239185
|
name: "autonomy",
|
|
238710
239186
|
description: "Inspect automatic autonomy runs recorded for proactive ticks and scheduled tasks",
|
|
238711
239187
|
argumentHint: "[status [--deep]|runs [limit]|flows [limit]|flow <id>|flow cancel <id>|flow resume <id>]",
|
|
238712
|
-
load: () => import("./chunk-
|
|
239188
|
+
load: () => import("./chunk-kqt7same.js")
|
|
238713
239189
|
};
|
|
238714
239190
|
autonomy_default = autonomy;
|
|
238715
239191
|
});
|
|
@@ -239375,7 +239851,7 @@ var init_exit = __esm(() => {
|
|
|
239375
239851
|
aliases: ["quit"],
|
|
239376
239852
|
description: "Exit the REPL",
|
|
239377
239853
|
immediate: true,
|
|
239378
|
-
load: () => import("./chunk-
|
|
239854
|
+
load: () => import("./chunk-wfyhm9cg.js")
|
|
239379
239855
|
};
|
|
239380
239856
|
exit_default = exit;
|
|
239381
239857
|
});
|
|
@@ -239388,7 +239864,7 @@ var init_export = __esm(() => {
|
|
|
239388
239864
|
name: "export",
|
|
239389
239865
|
description: "Export the current conversation to a file or clipboard",
|
|
239390
239866
|
argumentHint: "[filename]",
|
|
239391
|
-
load: () => import("./chunk-
|
|
239867
|
+
load: () => import("./chunk-amnaevyb.js")
|
|
239392
239868
|
};
|
|
239393
239869
|
export_default = exportCommand;
|
|
239394
239870
|
});
|
|
@@ -239408,7 +239884,7 @@ var init_model2 = __esm(() => {
|
|
|
239408
239884
|
get immediate() {
|
|
239409
239885
|
return shouldInferenceConfigCommandBeImmediate();
|
|
239410
239886
|
},
|
|
239411
|
-
load: () => import("./chunk-
|
|
239887
|
+
load: () => import("./chunk-wwt8x57q.js")
|
|
239412
239888
|
};
|
|
239413
239889
|
});
|
|
239414
239890
|
|
|
@@ -239421,7 +239897,7 @@ var init_tag = __esm(() => {
|
|
|
239421
239897
|
description: "Toggle a searchable tag on the current session",
|
|
239422
239898
|
isEnabled: () => process.env.USER_TYPE === "ant",
|
|
239423
239899
|
argumentHint: "<tag-name>",
|
|
239424
|
-
load: () => import("./chunk-
|
|
239900
|
+
load: () => import("./chunk-y1cqsd0p.js")
|
|
239425
239901
|
};
|
|
239426
239902
|
tag_default = tag;
|
|
239427
239903
|
});
|
|
@@ -239433,7 +239909,7 @@ var init_knowledge_hub = __esm(() => {
|
|
|
239433
239909
|
type: "local-jsx",
|
|
239434
239910
|
name: "hub",
|
|
239435
239911
|
description: "Enable or disable CoStrict cloud favorite items (auto-download on load)",
|
|
239436
|
-
load: () => import("./chunk-
|
|
239912
|
+
load: () => import("./chunk-hq20dsgb.js")
|
|
239437
239913
|
};
|
|
239438
239914
|
knowledge_hub_default = knowledgeHub;
|
|
239439
239915
|
});
|
|
@@ -239464,7 +239940,7 @@ var init_remote_env = __esm(() => {
|
|
|
239464
239940
|
get isHidden() {
|
|
239465
239941
|
return !isClaudeAISubscriber() || !isPolicyAllowed("allow_remote_sessions");
|
|
239466
239942
|
},
|
|
239467
|
-
load: () => import("./chunk-
|
|
239943
|
+
load: () => import("./chunk-ytzqmbt0.js")
|
|
239468
239944
|
};
|
|
239469
239945
|
});
|
|
239470
239946
|
|
|
@@ -239479,7 +239955,7 @@ var init_upgrade = __esm(() => {
|
|
|
239479
239955
|
description: "Upgrade to Max for higher rate limits and more Opus",
|
|
239480
239956
|
availability: ["claude-ai"],
|
|
239481
239957
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_UPGRADE_COMMAND) && getSubscriptionType() !== "enterprise",
|
|
239482
|
-
load: () => import("./chunk-
|
|
239958
|
+
load: () => import("./chunk-jq30e6rg.js")
|
|
239483
239959
|
};
|
|
239484
239960
|
upgrade_default = upgrade;
|
|
239485
239961
|
});
|
|
@@ -239499,7 +239975,7 @@ var init_rate_limit_options = __esm(() => {
|
|
|
239499
239975
|
return true;
|
|
239500
239976
|
},
|
|
239501
239977
|
isHidden: true,
|
|
239502
|
-
load: () => import("./chunk-
|
|
239978
|
+
load: () => import("./chunk-y7q1vtv4.js")
|
|
239503
239979
|
};
|
|
239504
239980
|
rate_limit_options_default = rateLimitOptions;
|
|
239505
239981
|
});
|
|
@@ -239543,7 +240019,7 @@ var init_effort2 = __esm(() => {
|
|
|
239543
240019
|
get immediate() {
|
|
239544
240020
|
return shouldInferenceConfigCommandBeImmediate();
|
|
239545
240021
|
},
|
|
239546
|
-
load: () => import("./chunk-
|
|
240022
|
+
load: () => import("./chunk-eje4tzhm.js")
|
|
239547
240023
|
};
|
|
239548
240024
|
});
|
|
239549
240025
|
|
|
@@ -239554,7 +240030,7 @@ var init_stats = __esm(() => {
|
|
|
239554
240030
|
type: "local-jsx",
|
|
239555
240031
|
name: "stats",
|
|
239556
240032
|
description: "Show your CoStrict usage statistics and activity",
|
|
239557
|
-
load: () => import("./chunk-
|
|
240033
|
+
load: () => import("./chunk-nfaj0b7z.js")
|
|
239558
240034
|
};
|
|
239559
240035
|
stats_default = stats;
|
|
239560
240036
|
});
|
|
@@ -239741,7 +240217,7 @@ var init_agents_platform = __esm(() => {
|
|
|
239741
240217
|
bridgeSafe: false,
|
|
239742
240218
|
availability: ["claude-ai"],
|
|
239743
240219
|
load: async () => {
|
|
239744
|
-
const m2 = await import("./chunk-
|
|
240220
|
+
const m2 = await import("./chunk-fgfvmggw.js");
|
|
239745
240221
|
return { call: m2.callAgentsPlatform };
|
|
239746
240222
|
}
|
|
239747
240223
|
};
|
|
@@ -239895,7 +240371,7 @@ var init_assistant = __esm(() => {
|
|
|
239895
240371
|
return !isAssistantEnabled();
|
|
239896
240372
|
},
|
|
239897
240373
|
immediate: true,
|
|
239898
|
-
load: () => import("./chunk-
|
|
240374
|
+
load: () => import("./chunk-s81bx611.js")
|
|
239899
240375
|
};
|
|
239900
240376
|
assistant_default = assistant;
|
|
239901
240377
|
});
|
|
@@ -239917,7 +240393,7 @@ var init_voice2 = __esm(() => {
|
|
|
239917
240393
|
return !isVoiceAvailable();
|
|
239918
240394
|
},
|
|
239919
240395
|
supportsNonInteractive: false,
|
|
239920
|
-
load: () => import("./chunk-
|
|
240396
|
+
load: () => import("./chunk-2wbgexnn.js")
|
|
239921
240397
|
};
|
|
239922
240398
|
voice_default = voice;
|
|
239923
240399
|
});
|
|
@@ -240048,7 +240524,7 @@ var call7 = async (_args, context3) => {
|
|
|
240048
240524
|
if (messages.length === 0) {
|
|
240049
240525
|
return { type: "text", value: "No messages to snip." };
|
|
240050
240526
|
}
|
|
240051
|
-
const removedUuids = messages.map((m2) => m2.uuid);
|
|
240527
|
+
const removedUuids = messages.map((m2) => m2.uuid).filter((u3) => !!u3);
|
|
240052
240528
|
const boundaryMessage = {
|
|
240053
240529
|
type: "system",
|
|
240054
240530
|
subtype: "snip_boundary",
|
|
@@ -240843,7 +241319,7 @@ var init_fork = __esm(() => {
|
|
|
240843
241319
|
name: "fork",
|
|
240844
241320
|
description: "Fork the current session into a new sub-agent",
|
|
240845
241321
|
argumentHint: "<prompt>",
|
|
240846
|
-
load: () => import("./chunk-
|
|
241322
|
+
load: () => import("./chunk-ctaxszne.js")
|
|
240847
241323
|
};
|
|
240848
241324
|
fork_default = fork;
|
|
240849
241325
|
});
|
|
@@ -240860,7 +241336,7 @@ var init_poor = __esm(() => {
|
|
|
240860
241336
|
name: "poor",
|
|
240861
241337
|
description: "Toggle poor mode \u2014 disable extract_memories and prompt_suggestion to save tokens",
|
|
240862
241338
|
supportsNonInteractive: false,
|
|
240863
|
-
load: () => import("./chunk-
|
|
241339
|
+
load: () => import("./chunk-00f3aac0.js")
|
|
240864
241340
|
};
|
|
240865
241341
|
poor_default = poor;
|
|
240866
241342
|
});
|
|
@@ -241146,7 +241622,7 @@ var init_commands2 = __esm(() => {
|
|
|
241146
241622
|
progressMessage: "analyzing your sessions",
|
|
241147
241623
|
source: "builtin",
|
|
241148
241624
|
async getPromptForCommand(args, context3) {
|
|
241149
|
-
const real = (await import("./chunk-
|
|
241625
|
+
const real = (await import("./chunk-57h3kd2w.js")).default;
|
|
241150
241626
|
if (real.type !== "prompt")
|
|
241151
241627
|
throw new Error("unreachable");
|
|
241152
241628
|
return real.getPromptForCommand(args, context3);
|
|
@@ -242535,8 +243011,10 @@ function applySnipRemovals(messages) {
|
|
|
242535
243011
|
const removedUuids = entry.snipMetadata?.removedUuids;
|
|
242536
243012
|
if (!removedUuids)
|
|
242537
243013
|
continue;
|
|
242538
|
-
for (const uuid5 of removedUuids)
|
|
242539
|
-
|
|
243014
|
+
for (const uuid5 of removedUuids) {
|
|
243015
|
+
if (uuid5)
|
|
243016
|
+
toDelete.add(uuid5);
|
|
243017
|
+
}
|
|
242540
243018
|
}
|
|
242541
243019
|
if (toDelete.size === 0)
|
|
242542
243020
|
return;
|
|
@@ -244318,7 +244796,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
244318
244796
|
init_settings2();
|
|
244319
244797
|
init_slowOperations();
|
|
244320
244798
|
init_uuid2();
|
|
244321
|
-
VERSION3 = typeof MACRO !== "undefined" ? "4.
|
|
244799
|
+
VERSION3 = typeof MACRO !== "undefined" ? "4.1.1" : "unknown";
|
|
244322
244800
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
244323
244801
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
244324
244802
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -245580,7 +246058,7 @@ var init_filesystem = __esm(() => {
|
|
|
245580
246058
|
});
|
|
245581
246059
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
245582
246060
|
const nonce = randomBytes16(16).toString("hex");
|
|
245583
|
-
return join85(getClaudeTempDir(), "bundled-skills", "4.
|
|
246061
|
+
return join85(getClaudeTempDir(), "bundled-skills", "4.1.1", nonce);
|
|
245584
246062
|
});
|
|
245585
246063
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
245586
246064
|
});
|
|
@@ -246927,7 +247405,7 @@ var init_ssrfGuard = () => {};
|
|
|
246927
247405
|
|
|
246928
247406
|
// src/utils/hooks/execHttpHook.ts
|
|
246929
247407
|
async function getSandboxProxyConfig() {
|
|
246930
|
-
const { SandboxManager: SandboxManager3 } = await import("./chunk-
|
|
247408
|
+
const { SandboxManager: SandboxManager3 } = await import("./chunk-1mf9624z.js");
|
|
246931
247409
|
if (!SandboxManager3.isSandboxingEnabled()) {
|
|
246932
247410
|
return;
|
|
246933
247411
|
}
|
|
@@ -250167,5 +250645,5 @@ var init_changeDetector = __esm(() => {
|
|
|
250167
250645
|
|
|
250168
250646
|
export { MessageResponse, init_MessageResponse, validateDirectoryForWorkspace, addDirHelpMessage, init_validation2 as init_validation, createStore, init_store2 as init_store, useVoiceState, useSetVoiceState, useGetVoiceState, init_voice, useMailbox, init_mailbox2 as init_mailbox, initialize3 as initialize, dispose2 as dispose, subscribe2 as subscribe, notifyChange, resetForTesting, settingsChangeDetector, init_changeDetector, useSettingsChange, init_useSettingsChange, last_default, init_last, duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk, init_types6 as init_types, getCompanion, init_companion, NO_CONTENT_MESSAGE, init_messages, parseYaml, init_yaml, FRONTMATTER_REGEX, parseFrontmatter, init_frontmatterParser, ripGrep2 as ripGrep, countFilesRoundedRg, init_ripgrep2 as init_ripgrep, isRestrictedToPluginOnly, isSourceAdminTrusted, init_pluginOnlyPolicy, CLAUDE_CONFIG_DIRECTORIES, loadMarkdownFilesForSubdir, init_markdownConfigLoader, getPluginErrorMessage, init_plugin, getAddDirEnabledPlugins, init_addDirPluginSettings, findReverseDependents, formatReverseDependentsSuffix, init_dependencyResolver, OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME, init_officialMarketplace, logPluginFetch, classifyFetchError, init_fetchTelemetry, checkGitAvailable, markGitUnavailable, init_gitAvailability, SandboxViolationStore, SandboxRuntimeConfigSchema, resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, SandboxManager2 as SandboxManager, init_sandbox_adapter, getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDirSize, deletePluginDataDir, init_pluginDirectories, isUltrathinkEnabled, findThinkingTriggerPositions, getRainbowColor, modelSupportsAdaptiveThinking, shouldEnableThinkingByDefault, init_thinking, EFFORT_LEVELS, modelSupportsEffort, modelSupportsMaxEffort, modelSupportsXhighEffort, isEffortLevel, parseEffortValue, toPersistableEffort, getInitialEffortSetting, resolvePickerEffortPersistence, getEffortEnvOverride, resolveAppliedEffort, getDisplayedEffortLevel, getEffortSuffix, convertEffortValueToLevel, getEffortValueDescription, getOpusDefaultEffortConfig, getDefaultEffortForModel, init_effort, isMcpbSource, loadMcpServerUserConfig, saveMcpServerUserConfig, loadMcpbFile, init_mcpbHandler, loadPluginOptions, savePluginOptions, deletePluginOptions, getUnconfiguredOptions, init_pluginOptionsStorage, loadPluginAgents, init_loadPluginAgents, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor, init_agentColorManager, CLAUDE_CODE_GUIDE_AGENT_TYPE, init_claudeCodeGuideAgent, TEAM_CREATE_TOOL_NAME, init_constants24 as init_constants, getBuiltInAgents, init_builtInAgents, isBuiltInAgent, isCustomAgent, isPluginAgent, getActiveAgentsFromList, hasRequiredMcpServers, filterAgentsByMcpRequirements, getAgentDefinitionsWithOverrides, clearAgentDefinitionsCache, parseAgentFromJson, parseAgentsFromJson, parseAgentFromMarkdown, exports_loadAgentsDir, init_loadAgentsDir, SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, getPrompt2 as getPrompt, getSkillToolInfo, getLimitedSkillToolCommands, clearPromptCache, getSkillInfo, init_prompt18 as init_prompt, diffLines, init_libesm, notifyCompaction, resetPromptCacheBreakDetection, init_promptCacheBreakDetection, compactWarningStore, suppressCompactWarning, init_compactWarningState, resetMicrocompactState, microcompactMessages, init_microCompact, g, init_marked_esm, MAX_MEMORY_CHARACTER_COUNT, getMemoryFiles, clearMemoryFileCaches, resetGetMemoryFilesCache, getLargeMemoryFiles, getExternalClaudeMdIncludes, hasExternalClaudeMdIncludes, shouldShowClaudeMdExternalIncludesWarning, init_claudemd, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext, init_context2 as init_context, getTokenUsage, tokenCountFromLastAPIResponse, getCurrentUsage, doesMostRecentAssistantMessageExceed200k, getAssistantMessageContentLength, tokenCountWithEstimation, init_tokens, DEFAULT_SESSION_MEMORY_CONFIG, getLastSummarizedMessageId, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, waitForSessionMemoryExtraction, getSessionMemoryContent, setSessionMemoryConfig, getSessionMemoryConfig, recordExtractionTokenCount, isSessionMemoryInitialized, markSessionMemoryInitialized, hasMetInitializationThreshold, hasMetUpdateThreshold, getToolCallsBetweenUpdates, resetSessionMemoryState, init_sessionMemoryUtils, uniqBy_default, init_uniqBy, init_toolIndex, inputSchema12 as inputSchema, outputSchema11 as outputSchema, clearSearchExtraToolsDescriptionCache, SearchExtraToolsTool, init_SearchExtraToolsTool, init_withRetry, maybeResizeAndDownsampleImageBlock, detectImageFormatFromBase64, createImageMetadataText, init_imageResizer, init_systemPromptType, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, enqueue, enqueuePendingNotification, dequeue, peek, dequeueAllMatching, removeByFilter, clearCommandQueue, isQueuedCommandEditable, isQueuedCommandVisible, popAllEditable, getCommandsByMaxPriority, init_messageQueueManager, setCommandLifecycleListener, notifyCommandLifecycle, init_commandLifecycle, headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn, init_headlessProfiler, registerPostSamplingHook, init_postSamplingHooks, clearAllDumpState, getDumpPromptsPath, init_dumpPrompts, createAbortController, init_abortController, getCliHighlightPromise, getLanguageName, init_cliHighlight, logPermissionDecision, init_permissionLogging, PROMPT_PREFIX, createPromptRuleContent, isClassifierPermissionsEnabled, getBashPromptAllowDescriptions, generateGenericDescription, init_bashClassifier, shouldShowAlwaysAllowOptions, getPermissionRulesForSource, init_permissionsLoader, extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, persistPermissionUpdates, init_PermissionUpdate, permissionRuleExtractPrefix, init_shellRuleMatching, setupVscodeSdkMcp, init_vscodeSdkMcp, getRateLimitWarning, getUsingOverageText, getRawUtilization, statusListeners, checkQuotaStatus, init_claudeAiLimits, shouldEnablePromptSuggestion, abortPromptSuggestion, tryGenerateSuggestion, logSuggestionOutcome, logSuggestionSuppressed, init_promptSuggestion, IDLE_SPECULATION_STATE, getDefaultAppState, init_AppStateStore, toArray, fromArray, init_generators, isLangfuseEnabled, initLangfuse, shutdownLangfuse, createTrace, recordLLMObservation, endTrace, init_tracing, init_langfuse, isResultSuccessful, normalizeMessage, handleOrphanedPermission, extractReadFilesFromMessages, extractBashToolsFromMessages, init_queryHelpers, abortSpeculation, handleSpeculationAccept, init_speculation, drainSdkEvents, emitTaskTerminatedSdk, init_sdkEventQueue, updateTaskState, evictTerminalTask, getRunningTasks, init_framework, asSessionId, asAgentId, init_ids, getQuerySourceForREPL, init_promptCategory, isCoordinatorMode, exports_coordinatorMode, init_coordinatorMode, getRemoteSessionUrl, init_product, TodoListSchema, init_types10 as init_types1, TodoWriteTool, init_TodoWriteTool, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, refreshPolicyLimits, init_policyLimits, fetchEnvironments, createDefaultCloudEnvironment, init_environments, checkRepoForRemoteAccess, init_preconditions, setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, gracefulShutdown, init_gracefulShutdown, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, isQualifiedForGrove, getGroveNoticeConfig, calculateShouldShowGrove, checkGroveForNonInteractive, init_grove, initializeRemoteManagedSettingsLoadingPromise, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, init_remoteManagedSettings, performLogout, clearAuthRelatedCaches, call, init_logout, OAuthService, init_oauth2 as init_oauth, installOrUpdateClaudePackage, localInstallationExists, getShellType, init_localInstaller, getLatestVersion, getNpmDistTags, getGcsDistTags, installGlobalPackage, init_autoUpdater, getPackageManager, init_packageManagers, getCurrentInstallationType, getDoctorDiagnostic, init_doctorDiagnostic, _baseSlice_default, init__baseSlice, capitalize_default, init_capitalize, mapValues_default, init_mapValues, DEFAULT_BINDINGS, init_defaultBindings, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, normalizeKeyForComparison, init_reservedShortcuts, isKeybindingCustomizationEnabled, getKeybindingsPath, loadKeybindingsSyncWithWarnings, getCachedKeybindingWarnings, init_loadUserBindings, init_resolver, getShortcutDisplay, init_shortcutFormat, init_KeybindingContext, useShortcutDisplay, init_useShortcutDisplay, isNavigableMessage, toolCallOf, MessageActionsSelectedContext, InVirtualListContext, useMessageActions, MessageActionsBar, stripSystemReminders, init_messageActions, sliceAnsi, init_sliceAnsi, init_prompt16 as init_prompt1, init_useTerminalSize, ListMcpResourcesTool, init_ListMcpResourcesTool, _baseEach_default, init__baseEach, reject_default, init_reject, loadPluginMcpServers, getUnconfiguredChannels, init_mcpPluginIntegration, fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, hasClaudeAiMcpEverConnected, init_claudeai, getMcpServerSignature, dedupClaudeAiMcpServers, filterMcpServersByPolicy, addMcpConfig, removeMcpConfig, getMcpConfigsByScope, getMcpConfigByName, getClaudeCodeMcpConfigs, getAllMcpConfigs, parseMcpConfig, parseMcpConfigFromFilePath, doesEnterpriseMcpConfigExist, areMcpConfigsAllowedWithEnterpriseMcpConfig, isMcpServerDisabled, setMcpServerEnabled, init_config3 as init_config, filterToolsByServer, commandBelongsToServer, filterMcpPromptsByServer, excludeToolsByServer, excludeCommandsByServer, excludeResourcesByServer, excludeStalePluginClients, isMcpTool, describeMcpConfigFilePath, getScopeLabel, ensureConfigScope, ensureTransport, parseHeaders, getProjectMcpServerStatus, extractAgentMcpServers, init_utils5 as init_utils, isXaaEnabled, getXaaIdpSettings, issuerKey, getCachedIdpIdToken, saveIdpIdTokenFromJwt, clearIdpIdToken, saveIdpClientSecret, getIdpClientSecret, clearIdpClientSecret, acquireIdpIdToken, init_xaaIdpLogin, AuthenticationCancelledError, revokeServerTokens, clearServerTokensFromLocalStorage, performMCPOAuthFlow, ClaudeAuthProvider, readClientSecret, saveMcpClientSecret, clearMcpClientConfig, getMcpClientConfig, init_auth5 as init_auth, TOOL_RESULTS_SUBDIR, processToolResultBlock, createContentReplacementState, provisionContentReplacementState, reconstructContentReplacementState, init_toolResultStorage, ReadMcpResourceTool, init_ReadMcpResourceTool, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks, init_elicitationHandler, PASTE_THRESHOLD, getImageFromClipboard, init_imagePaste, cacheImagePath, storeImage, storeImages, clearStoredImagePaths, cleanupOldImageCaches, init_imageStore, ConfigurableShortcutHint, init_ConfigurableShortcutHint, useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive, init_overlayContext, Select, init_select, getMcpServerConnectionBatchSize, connectToServer, clearServerCache, areMcpConfigsEqual, fetchToolsForClient, fetchResourcesForClient, fetchCommandsForClient, callIdeRpc, reconnectMcpServerImpl, getMcpToolsCommandsAndResources, prefetchAllMcpResources, setupSdkMcpClients, init_client8 as init_client, isJetBrainsPluginInstalledCachedSync, init_jetbrains, WindowsToWSLConverter, init_idePathConversion, IdeOnboardingDialog, init_IdeOnboardingDialog, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getTerminalIdeType, getSortedIdeLockfiles, detectIDEs, hasAccessToIDEExtensionDiffFeature, isCursorInstalled, isWindsurfInstalled, isVSCodeInstalled, detectRunningIDEs, detectRunningIDEsCached, getConnectedIdeName, toIDEDisplayName, getConnectedIdeClient, closeOpenDiffs, initializeIdeIntegration, init_ide, isPidBasedLockingEnabled, getAllLockInfo, cleanupStaleLocks, init_pidLock, checkInstall, installLatest, lockCurrentVersion, cleanupOldVersions, removeInstalledSymlink, cleanupShellAliases, cleanupNpmInstallations, init_nativeInstaller, getSettingsWithAllErrors, init_allErrors, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, buildSettingSourcesProperties, buildInstallationDiagnostics, buildInstallationHealthDiagnostics, buildAccountProperties, buildAPIProviderProperties, getModelDisplayLabel, init_status, installOAuthTokens, authLogin, authStatus, authLogout, init_auth6 as init_auth1, sendNotification, init_notifier, buildBridgeConnectUrl, getBridgeStatus, buildIdleFooterText, buildActiveFooterText, FAILED_FOOTER_TEXT, init_bridgeStatusUtil, sample_default, init_sample, activityManager, init_activityManager, isInProcessTeammateTask, init_types7 as init_types2, init_ThemedText, TaskListV2, init_TaskListV2, useTasksV2, useTasksV2WithCollapseEffect, init_useTasksV2, getTheme, themeColorToAnsi, init_theme, interpolateColor, toRGBColor, hueToRgb, init_utils6 as init_utils1, ShimmerChar, init_ShimmerChar, SpinnerGlyph, init_SpinnerGlyph, useShimmerAnimation, init_useShimmerAnimation, toInkColor, init_ink, useSettings, init_useSettings, isBackgroundTask, init_types12 as init_types3, listAutonomyFlows, requestManagedAutonomyFlowCancel, getAutonomyFlowById, formatAutonomyFlowsStatus, formatAutonomyFlowsList, formatAutonomyFlowDetail, init_autonomyFlows, listAutonomyRuns, markAutonomyRunRunning, markAutonomyRunFailed, markAutonomyRunCancelled, finalizeAutonomyRunCompleted, finalizeAutonomyRunFailed, resumeManagedAutonomyFlowPrompt, createAutonomyQueuedPrompt, createAutonomyQueuedPromptIfNoActiveSource, createProactiveAutonomyCommands, formatAutonomyRunsStatus, formatAutonomyRunsList, init_autonomyRuns, formatAgentId, init_agentId, McpServerConfigForProcessTransportSchema, McpServerStatusSchema, PermissionUpdateSchema, PermissionModeSchema, HookEventSchema, HookInputSchema, SlashCommandSchema, AgentInfoSchema, ModelInfoSchema, AccountInfoSchema, AgentDefinitionSchema, SDKUserMessageSchema, SDKStreamlinedTextMessageSchema, SDKStreamlinedToolUseSummaryMessageSchema, SDKPostTurnSummaryMessageSchema, SDKMessageSchema, FastModeStateSchema, init_coreSchemas, readUnreadMessages, writeToMailbox, markMessagesAsRead, createIdleNotification, isPermissionRequest, isPermissionResponse, isSandboxPermissionRequest, isSandboxPermissionResponse, sendShutdownRequestToMailbox, isShutdownRequest, isPlanApprovalRequest, isShutdownApproved, isPlanApprovalResponse, isTeamPermissionUpdate, createModeSetRequestMessage, isModeSetRequest, getLastPeerDmSummary, init_teammateMailbox, permissionUpdateSchema, init_PermissionUpdateSchema, createPermissionRequest, isSwarmWorker, sendPermissionRequestViaMailbox, sendPermissionResponseViaMailbox, generateSandboxRequestId, sendSandboxPermissionRequestViaMailbox, sendSandboxPermissionResponseViaMailbox, init_permissionSync, registerPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, registerSandboxPermissionCallback, hasSandboxPermissionCallback, processSandboxPermissionResponse, init_useSwarmPermissionPoller, isLocalShellTask, init_guards, getHookDisplayText, getAllHooks, hookSourceDescriptionDisplayString, hookSourceHeaderDisplayString, hookSourceInlineDisplayString, sortMatchersByPriority, init_hooksSettings, addSessionHook, addFunctionHook, removeSessionHook, init_sessionHooks, getDefaultSubagentModel, getAgentModelDisplay, getAgentModelOptions, init_agent, validateUuid, createAgentId, init_uuid2 as init_uuid, filterToolsForAgent, resolveAgentTools, init_agentToolUtils, applyMarkdown, init_markdown, Markdown, StreamingMarkdown, init_Markdown, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, modelSupportsAdvisor, isValidAdvisorModel, getInitialAdvisorSetting, init_advisor, isFullscreenEnvEnabled, isMouseTrackingEnabled, isFullscreenActive, maybeGetTmuxMouseHint, init_fullscreen, checkOpus1mAccess, checkSonnet1mAccess, init_check1mAccess, getUpgradeMessage, init_contextWindowUpgradeCheck, extraUsage, init_extra_usage, useClaudeAiLimits, init_claudeAiLimitsHook, AssistantThinkingMessage, init_AssistantThinkingMessage, clearClassifierChecking, init_classifierApprovals, FilePathLink, init_FilePathLink, UserBashInputMessage, init_UserBashInputMessage, UserPlanMessage, init_UserPlanMessage, QueuedMessageProvider, init_QueuedMessageContext, UserTextMessage, init_UserTextMessage, diagnosticTracker, init_diagnosticTracking, PrBadge, init_PrBadge, getPillLabel, pillNeedsCta, init_pillLabel, OffscreenFreeze, init_OffscreenFreeze, exports_snipProjection, init_snipProjection, exports_snipCompact, init_snipCompact, hasThinkingContent, Message, init_Message, renderToolUseProgressMessage4 as renderToolUseProgressMessage, init_UI11 as init_UI, recordSkillUsage, getSkillUsageScore, init_skillUsageTracking, buildPluginTelemetryFields, buildPluginCommandTelemetryFields, logPluginsEnabledForSession, classifyPluginCommandError, logPluginLoadErrors, init_pluginTelemetry, exports_MonitorMcpTask, init_MonitorMcpTask, runAgent, init_runAgent, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, unregisterLeaderSetToolPermissionContext, init_leaderPermissionBridge, exports_teammatePromptAddendum, init_teammatePromptAddendum, assignTeammateColor, init_teammateLayoutManager, ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, registerWindowsTerminalBackend, detectAndGetBackend, getBackendByType, getCachedBackend, getCachedDetectionResult, markInProcessFallback, isInProcessEnabled, getResolvedTeammateMode, getInProcessBackend, getTeammateExecutor, resetBackendDetection, init_registry, InProcessTeammateTask, injectUserMessageToTeammate, findTeammateTaskByAgentId, getAllInProcessTeammateTasks, getRunningTeammatesSorted, exports_InProcessTeammateTask, init_InProcessTeammateTask, getViewedTeammateTask, getActiveAgentForInput, init_selectors, useElapsedTime, init_useElapsedTime, SpinnerWithVerb, BriefIdleStatus, Spinner, init_Spinner2 as init_Spinner, checkApiControlConfig, disableNonCoStrictProviders, init_apiControlConfig, ConsoleOAuthFlow, init_ConsoleOAuthFlow, SelectMulti, init_SelectMulti, init_CustomSelect, TeleportError, init_TeleportError, KeybindingSetup2 as KeybindingSetup, init_KeybindingProviderSetup, clearAllSessions, init_sessionIngress, fileHistoryEnabled, fileHistoryMakeSnapshot, fileHistoryRewind, fileHistoryCanRestore, fileHistoryGetDiffStats, fileHistoryHasAnyChanges, fileHistoryRestoreStateFromLog, copyFileHistoryForResume, init_fileHistory, init_outputsScanner, generateShortWordSlug, init_words, getPlanSlug, setPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, getPlan, copyPlanForResume, copyPlanForFork, init_plans, captureHooksConfigSnapshot, updateHooksConfigSnapshot, init_hooksConfigSnapshot, setEnvHookNotifier, initializeFileChangedWatcher, init_fileChangedWatcher, loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload, init_loadPluginHooks, takeInitialUserMessage, processSessionStartHooks, processSetupHooks, init_sessionStart, exports_prompt3 as exports_prompt, init_prompt25 as init_prompt2, deserializeMessages, loadConversationForResume, init_conversationRecovery, downloadSessionFiles, parseFileSpecs, init_filesApi, generateTempFilePath, init_tempfile, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, validateSessionRepository, teleportResumeCodeSession, teleportToRemoteWithErrorHandling, teleportFromSessionsAPI, pollRemoteSessionEvents, teleportToRemote, archiveRemoteSession, init_teleport, checkRemoteAgentEligibility, formatPreconditionError, registerRemoteAgentTask, restoreRemoteAgentTasks, RemoteAgentTask, getRemoteTaskSessionUrl, init_RemoteAgentTask, SkillTool, init_SkillTool, resetAllLSPDiagnosticState, init_LSPDiagnosticRegistry, loadPluginLspServers, init_lspPluginIntegration, getLspServerManager, getInitializationStatus, initializeLspServerManager, reinitializeLspServerManager, shutdownLspServerManager, init_manager2 as init_manager, parseArguments, generateProgressiveArgumentHint, init_argumentSubstitution, clearPendingHint, markShownThisSession, subscribeToPendingHint, getPendingHintSnapshot, init_claudeCodeHints, isPluginBlockedByPolicy, init_pluginPolicy, resolvePluginHint, markHintPluginShown, disableHintRecommendations, init_hintRecommendation, CircularBuffer, init_CircularBuffer, validateBoundedIntEnvVar, init_envValidation, BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, init_outputLimits, clearSessionEnvVars, init_sessionEnvVars, exec, setCwd, init_Shell, ShellProgressMessage, init_ShellProgressMessage, parseSedEditCommand, applySedSubstitution, init_sedEditParser, parsePowerShellCommandCached, getAllCommands2 as getAllCommands, init_parser5 as init_parser, isAllowlistedCommand, init_readOnlyValidation2 as init_readOnlyValidation, NEVER_SUGGEST, init_dangerousCmdlets, PowerShellTool, exports_PowerShellTool, init_PowerShellTool, getSkillsPath, estimateSkillFrontmatterTokens, clearSkillCaches, onDynamicSkillsLoaded, clearDynamicSkills, init_loadSkillsDir, getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatCost, formatTotalCost, addToTotalSessionCost, init_cost_tracker, CONTEXT_LINES, adjustHunkLineNumbers, getPatchFromContents, getPatchForDisplay, init_diff, fetchGitDiff, fetchGitDiffHunks, init_gitDiff, getColorModuleUnavailableReason, getSyntaxTheme2 as getSyntaxTheme, init_colorDiff, HighlightedCode, init_HighlightedCode, StructuredDiff, init_StructuredDiff, StructuredDiffList, init_StructuredDiffList, CHUNK_SIZE, openForScan, scanForContext, readCapped, init_readEditContext, findActualString, preserveQuoteStyle, getPatchForEdits, getEditsForPatch, init_utils2, FileEditTool, init_FileEditTool, FileWriteTool, init_FileWriteTool, getGlobExclusionsForPluginCache, clearPluginCacheExclusions, init_orphanedPluginFilter, GrepTool, init_GrepTool, GlobTool, init_GlobTool, parseCellId, init_notebook, NotebookEditTool, init_NotebookEditTool, clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, getWithPermittedRedirects, getURLMarkdownContent, applyPromptToMarkdown, init_utils9 as init_utils3, WebFetchTool, init_WebFetchTool, readLastConsolidatedAt, recordConsolidation, init_consolidationLock, DreamTask, init_DreamTask, exports_LocalWorkflowTask, init_LocalWorkflowTask, stopTask, init_stopTask, TaskStopTool, init_TaskStopTool, exports_BriefTool, init_BriefTool, TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, init_outputFormatting, TaskOutputTool, init_TaskOutputTool, WebSearchTool, init_WebSearchTool, findInProcessTeammateTaskId, handlePlanApprovalResponse, init_inProcessTeammateHelpers, ExitPlanModeV2Tool, init_ExitPlanModeV2Tool, AskUserQuestionTool, init_AskUserQuestionTool, isPlanModeInterviewPhaseEnabled, getPewterLedgerVariant, init_planModeV2, EnterPlanModeTool, init_EnterPlanModeTool, getModelOptions, init_modelOptions, validateModel, init_validateModel, listRemoteTriggerAuditRecords, formatRemoteTriggerAuditStatus, init_remoteTriggerAudit, REMOTE_TRIGGER_TOOL_NAME, init_prompt39 as init_prompt3, exports_MonitorTool, init_MonitorTool, registerSession, updateSessionName, updateSessionBridgeId, countConcurrentSessions, init_concurrentSessions, getReplBridgeHandle, init_replBridgeHandle, startBackgroundSession, init_LocalMainSessionTask, buildEffectiveSystemPrompt, init_systemPrompt, FORK_SUBAGENT_TYPE, isInForkChild, init_forkSubagent, resumeAgentBackground, init_resumeAgent, exports_contextCollapse, init_contextCollapse, exports_WorkflowTool, init_WorkflowTool, getAllBaseTools, filterToolsByDenyRules, getTools, assembleToolPool, init_tools2 as init_tools, getHardcodedTeammateModelFallback, init_teammateModel, AgentTool, init_AgentTool, isAutoManagedMemoryFile, init_memoryFileDetection, getSearchExtraToolsOrReadInfo, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, collapseReadSearchGroups, summarizeRecentActivities, init_collapseReadSearch, isLocalAgentTask, isPanelAgentTask, queuePendingMessage, appendMessageToLocalAgent, LocalAgentTask, killAllRunningAgentTasks, markAgentsNotified, init_LocalAgentTask, BACKGROUND_BASH_SUMMARY_PREFIX, LocalShellTask, hasForegroundTasks, backgroundAll, init_LocalShellTask, isMemoryFileAccess, registerSessionFileAccessHooks, init_sessionFileAccessHooks, BashTool, init_BashTool, getSimpleCommandPrefix, getFirstWordPrefix, clearSpeculativeChecks, init_bashPermissions, Stream2 as Stream, init_stream2 as init_stream, getErrorParts, init_toolErrors, startQueryProfile, queryCheckpoint, logQueryProfileReport, init_queryProfiler, isAutoDreamEnabled, init_config5 as init_config1, init_readFileInRange, exports_extractMemories, init_extractMemories, buildConsolidationPrompt, init_consolidationPrompt, initAutoDream, init_autoDream, parseTokenBudget, findTokenBudgetPositions, init_tokenBudget, query2 as query, init_query2 as init_query, getLastCacheSafeParams, createCacheSafeParams, prepareForkedCommandContext, extractResultText, createSubagentContext, runForkedAgent, init_forkedAgent, logPermissionContextForAnts, init_internalLogging, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES, ERROR_MESSAGE_USER_ABORT, ERROR_MESSAGE_INCOMPLETE_RESPONSE, buildPostCompactMessages, mergeHookInstructions, compactConversation, partialCompactConversation, init_compact, registerCompactCleanup, runPostCompactCleanup, init_postCompactCleanup, loadSessionMemoryTemplate, buildSessionMemoryUpdatePrompt, init_prompts, shouldUseSessionMemoryCompaction, trySessionMemoryCompaction, init_sessionMemoryCompact, getEffectiveContextWindowSize, calculateTokenWarningState, isAutoCompactEnabled, init_autoCompact, countMcpToolTokens, analyzeContextUsage, init_analyzeContext, zodToJsonSchema, init_zodToJsonSchema, getAutoSearchExtraToolsCharThreshold, getSearchExtraToolsMode, isSearchExtraToolsEnabledOptimistic, isSearchExtraToolsToolAvailable, isSearchExtraToolsEnabled, isToolReferenceBlock, extractDiscoveredToolNames, isDeferredToolsDeltaEnabled, getDeferredToolsDelta, init_searchExtraTools, roughTokenCountEstimation, init_tokenEstimation, registerFileReadListener, FileReadTool, init_FileReadTool, isValidImagePaste, init_textInputTypes, registerHookEventHandler, setAllHookEventsEnabled, init_hookEvents, finalizePendingAsyncHooks, init_AsyncHookRegistry, isHumanTurn, init_messagePredicates, getQueuedCommandAttachments, resetSentSkillNames, getAttachmentMessages, createAttachmentMessage, init_attachments2 as init_attachments, getPluginCommands, init_loadPluginCommands, isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, cleanupSessionPluginCache, atomicWriteToZipCache, getMarketplaceJsonRelativePath, isMarketplaceSourceSupportedByZipCache, init_zipCache, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground, init_cacheUtils, formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getPluginTrustMessage, isSourceAllowedByPolicy, detectEmptyMarketplaceReason, init_marketplaceHelpers, fetchOfficialMarketplaceFromGcs, init_officialMarketplaceGcs, getMarketplacesCacheDir, clearMarketplacesCache, getDeclaredMarketplaces, saveMarketplaceToSettings, loadKnownMarketplacesConfig, loadKnownMarketplacesConfigSafe, saveKnownMarketplacesConfig, registerSeedMarketplaces, addMarketplaceSource, removeMarketplaceSource, getMarketplace, getPluginById, refreshAllMarketplaces, refreshMarketplace, setMarketplaceAutoUpdate, init_marketplaceManager, loadInstalledPluginsV2, removePluginInstallation, getInMemoryInstalledPlugins, loadInstalledPluginsFromDisk, updateInstallationPathOnDisk, initializeVersionedPlugins, isInstallationRelevantToCurrentProject, isPluginInstalled, isPluginGloballyInstalled, migrateFromEnabledPlugins, init_installedPluginsManager, getManagedPluginNames, init_managedPlugins, calculatePluginVersion, init_pluginVersioning, cacheAndRegisterPlugin, registerPluginInstallation, formatResolutionError, installResolvedPlugin, installPluginFromMarketplace, init_pluginInstallationHelpers, getVersionedCachePath, getVersionedZipCachePath, copyPluginToVersionedCache, cachePlugin, loadPluginManifest, loadAllPlugins, loadAllPluginsCacheOnly, clearPluginCache, init_pluginLoader, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, init_outputStyles, withMemoryCorrectionHint, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, REJECT_MESSAGE, REJECT_MESSAGE_WITH_REASON_PREFIX, SUBAGENT_REJECT_MESSAGE, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, SYNTHETIC_MODEL, SYNTHETIC_MESSAGES, isSyntheticMessage, getLastAssistantMessage, hasToolCallsInLastAssistantTurn, createAssistantMessage, createAssistantAPIErrorMessage, createUserMessage, prepareUserContent, createUserInterruptionMessage, createSyntheticUserCaveatMessage, formatCommandInputTags, createModelSwitchBreadcrumbs, extractTag, isNotEmptyMessage, deriveUUID, normalizeMessages, isToolUseResultMessage, reorderMessagesInUI, buildMessageLookups, updateMessageLookupsIncremental, computeMessageStructureKey, EMPTY_LOOKUPS, EMPTY_STRING_SET, getSiblingToolUseIDsFromLookup, getProgressMessagesFromLookup, hasUnresolvedHooksFromLookup, getToolUseIDs, isSystemLocalCommandMessage, normalizeMessagesForAPI, normalizeContentFromAPI, isEmptyMessageText, stripPromptXMLTags, getToolUseID, getAssistantMessageText, getUserMessageText, textForResubmit, extractTextContent, getContentText, handleMessageFromStream, createSystemMessage, createPermissionRetryMessage, createScheduledTaskFireMessage, createTurnDurationMessage, createAwaySummaryMessage, createAgentsKilledMessage, createApiMetricsMessage, createCommandInputMessage, isCompactBoundaryMessage, getMessagesAfterCompactBoundary, shouldShowUserMessage, countToolCalls, stripSignatureBlocks, init_messages4 as init_messages1, startsWithApiErrorPrefix, categorizeRetryableAPIError, init_errors7 as init_errors, splitCommand_DEPRECATED, clearCommandPrefixCaches, extractOutputRedirections, init_commands, shouldUseSandbox, init_shouldUseSandbox, permissionRuleSourceDisplayString, getAllowRules, getDenyRules, getAskRules, hasPermissionsToUseTool, deletePermissionRule, init_permissions3 as init_permissions, removeDangerousPermissions, transitionPermissionMode, initialPermissionModeFromCLI, parseToolListFromCLI, initializeToolPermissionContext, isAutoModeGateEnabled, getAutoModeUnavailableReason, isBypassPermissionsModeDisabled, prepareContextForPlanMode, transitionPlanAutoMode, init_permissionSetup, applySettingsChange, init_applySettingsChange, AppStateProvider, useAppState, useSetAppState, useAppStateStore, init_AppState, useNotifications, init_notifications, useClipboardImageHint, init_useClipboardImageHint, prependModeCharacterToInput, getModeFromInput, getValueFromInput, init_inputModes, cleanupOldPastes, init_pasteStore, getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, makeHistoryReader, getHistory, addToHistory, removeLastFromHistory, init_history, pushToKillRing, getLastKill, resetKillAccumulation, recordYank, yankPop, updateYankLength, resetYankState, isVimWordChar, isVimWhitespace, isVimPunctuation, Cursor, init_Cursor, useTextInput, init_useTextInput, BaseTextInput, init_BaseTextInput, TextInput, init_TextInput, getWorktreePaths, init_getWorktreePaths, isUltrareviewEnabled, init_ultrareviewEnabled, DEFAULT_SESSION_TIMEOUT_MS, BRIDGE_LOGIN_ERROR, init_types15 as init_types4, getPromptIdentifier, getDialogConfig, init_prompt45 as init_prompt4, CCR_TERMS_URL2 as CCR_TERMS_URL, stopUltraplan, launchUltraplan, init_ultraplan, validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403, init_bridgeApi, registerBridgeDebugHandle, clearBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection, init_bridgeDebug, isSkillSearchEnabled, init_featureCheck2 as init_featureCheck, SAFE_ENV_VARS3 as SAFE_ENV_VARS, init_managedEnvConstants, applySafeConfigEnvironmentVariables, applyConfigEnvironmentVariables, init_managedEnv, registerBundledSkill, getBundledSkills, init_bundledSkills, exit_default, init_exit, createCoStrictFetch, init_fetch, upgrade_default, init_upgrade, getCommandName, isCommandEnabled, init_command, INTERNAL_ONLY_COMMANDS, builtInCommandNames, meetsAvailabilityRequirement, getCommands, clearCommandMemoizationCaches, clearCommandsCache, getMcpSkillCommands, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, BRIDGE_SAFE_COMMANDS, isBridgeSafeCommand, getBridgeCommandSafety, filterCommandsForRemoteMode, findCommand, hasCommand, getCommand, formatDescriptionWithSource, init_commands2 as init_commands1, isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir, getTranscriptPath, getTranscriptPathForSession, MAX_TRANSCRIPT_READ_BYTES, setAgentTranscriptSubdir, clearAgentTranscriptSubdir, getAgentTranscriptPath, writeAgentMetadata, readAgentMetadata, writeRemoteAgentMetadata, readRemoteAgentMetadata, deleteRemoteAgentMetadata, listRemoteAgentMetadata, sessionIdExists, getNodeEnv, getUserType, isCustomTitleEnabled, getProjectDir, resetProjectFlushStateForTesting, resetProjectForTesting, setSessionFileForTesting, setInternalEventWriter, setInternalEventReader, setRemoteIngressUrlForTesting, recordTranscript, recordSidechainTranscript, recordQueueOperation, removeTranscriptMessage, recordFileHistorySnapshot, recordAttributionSnapshot, recordContentReplacement, resetSessionFilePointer, adoptResumedSessionFile, recordContextCollapseCommit, recordContextCollapseSnapshot, flushSessionStorage, hydrateRemoteSession, hydrateFromCCRv2InternalEvents, getFirstMeaningfulUserMessageTextContent, removeExtraFields, buildConversationChain, checkResumeConsistency, loadTranscriptFromFile, fetchLogs, saveCustomTitle, saveAiGeneratedTitle, saveTaskSummary, saveTag, linkSessionToPR, getCurrentSessionTag, getCurrentSessionTitle, getCurrentSessionAgentColor, restoreSessionMetadata, clearSessionMetadata, reAppendSessionMetadata, saveAgentName, saveAgentColor, saveAgentSetting, cacheSessionTitle, saveMode, saveWorktreeState, getSessionIdFromLog, isLiteLog, loadFullLog, searchSessionsByCustomTitle, loadTranscriptFile, clearSessionMessagesCache, doesMessageExistInSession, getLastSessionLog, loadMessageLogs, loadAllProjectsMessageLogs, loadAllProjectsMessageLogsProgressive, loadSameRepoMessageLogs, loadSameRepoMessageLogsProgressive, getAgentTranscript, extractAgentIdsFromMessages, extractTeammateTranscriptsFromTasks, loadSubagentTranscripts, loadAllSubagentTranscriptsFromDisk, isLoggableMessage, cleanMessagesForLogging, getLogByIndex, findUnresolvedToolUse, getSessionFilesWithMtime, loadAllLogsFromSessionFile, getSessionFilesLite, enrichLogs, exports_sessionStorage, init_sessionStorage, loadMemoryPrompt, init_memdir, getAgentMemoryDir, getMemoryScopeDisplay, loadAgentMemoryPrompt, init_agentMemory, normalizeCaseForComparison2 as normalizeCaseForComparison, getSessionMemoryDir, getSessionMemoryPath, isScratchpadEnabled, getScratchpadDir, ensureScratchpadDir, pathInAllowedWorkingPath, generateSuggestions, init_filesystem, getTaskOutputPath, evictTaskOutput, initTaskOutputAsSymlink, init_diskOutput, isTerminalTaskStatus, init_Task, hookJSONOutputSchema, init_hooks2 as init_hooks, createCombinedAbortSignal, init_combinedAbortSignal, registerStructuredOutputEnforcement, init_hookHelpers, getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, getMatchingHooks, getPreToolHookBlockingMessage, getStopHookMessage, getTeammateIdleHookMessage, getTaskCreatedHookMessage, getTaskCompletedHookMessage, getUserPromptSubmitHookBlockingMessage, hasBlockingResult, executePreToolHooks, executePostToolHooks, executePostToolUseFailureHooks, executePermissionDeniedHooks2 as executePermissionDeniedHooks, executeNotificationHooks, executeStopFailureHooks, executeStopHooks, executeTeammateIdleHooks, executeTaskCreatedHooks, executeTaskCompletedHooks, executeUserPromptSubmitHooks, executeSessionStartHooks, executeSetupHooks, executeSubagentStartHooks, executePreCompactHooks, executePostCompactHooks, executeSessionEndHooks, executePermissionRequestHooks, executeConfigChangeHooks, executeCwdChangedHooks, executeFileChangedHooks, hasInstructionsLoadedHook, executeInstructionsLoadedHooks, executeElicitationHooks, executeElicitationResultHooks, executeStatusLineCommand, executeFileSuggestionCommand, hasWorktreeCreateHook, executeWorktreeCreateHook, executeWorktreeRemoveHook, init_hooks3 as init_hooks1, validateWorktreeSlug, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, copyWorktreeIncludeFiles, parsePRReference, isTmuxAvailable2 as isTmuxAvailable, getTmuxInstallInstructions, createTmuxSessionForWorktree, killTmuxSession, createWorktreeForSession, keepWorktree, cleanupWorktree, createAgentWorktree, removeAgentWorktree, cleanupStaleAgentWorktrees, hasWorktreeChanges, execIntoTmuxWorktree, init_worktree, getSystemPrompt, init_prompts3 as init_prompts1, toolToAPISchema, prependUserContext, logContextMetrics, init_api3 as init_api, convertMessagesToLangfuse, convertToolsToLangfuse, convertOutputToLangfuse, init_convert, OpenAI, init_openai, getOpenAIClient, init_client7 as init_client1, verifyApiKey, queryModelWithoutStreaming, updateUsage, accumulateUsage, queryHaiku, queryWithModel, init_claude, sideQuery, init_sideQuery };
|
|
250169
250647
|
|
|
250170
|
-
//# debugId=
|
|
250171
|
-
//# sourceMappingURL=chunk-
|
|
250648
|
+
//# debugId=75F727D0EA8A8C0264756E2164756E21
|
|
250649
|
+
//# sourceMappingURL=chunk-t9z3edw6.js.map
|