@caspian2026/agent-sdk 0.0.8 → 0.0.11
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-dtgh4te6.js → chunk-0ac6r0fw.js} +46 -45
- package/dist/{chunk-cfgha78n.js → chunk-0dm971mw.js} +2 -2
- package/dist/{chunk-0mej3p7q.js → chunk-0f5anjkb.js} +14 -14
- package/dist/{chunk-6g5qbbxk.js → chunk-0k9sft0s.js} +47 -46
- package/dist/chunk-0kgwksm1.js +57 -0
- package/dist/chunk-0vp3wfab.js +12 -0
- package/dist/{chunk-d9yghsfg.js → chunk-1etzkkxs.js} +1 -1
- package/dist/{chunk-a4npwxvb.js → chunk-1gz2wrhq.js} +46 -45
- package/dist/{chunk-25bwa70y.js → chunk-1pr4hr5x.js} +49 -48
- package/dist/{chunk-2f21meep.js → chunk-1v01c96r.js} +1 -1
- package/dist/{chunk-jvmybb06.js → chunk-1vhjn1j9.js} +46 -45
- package/dist/{chunk-69r3hm9b.js → chunk-1wr6ag3j.js} +13 -19
- package/dist/{chunk-83e71kz6.js → chunk-2072dpbx.js} +2 -2
- package/dist/{chunk-8hpq2659.js → chunk-24t2wjab.js} +1 -1
- package/dist/{chunk-q7e0106d.js → chunk-2589k4k0.js} +51 -56
- package/dist/{chunk-d7886r6a.js → chunk-26wtxbdc.js} +7774 -7774
- package/dist/{chunk-ahrhwpm9.js → chunk-28k13wc7.js} +2 -2
- package/dist/{chunk-vvjgdzhn.js → chunk-2cr43hzw.js} +55 -51
- package/dist/{chunk-mw1kpeg9.js → chunk-2sqhjnpn.js} +1909 -1377
- package/dist/chunk-2tfe2zs1.js +87 -0
- package/dist/{chunk-c11swzas.js → chunk-2vteceqh.js} +5 -5
- package/dist/{chunk-zmra45az.js → chunk-2z9rak9s.js} +47 -46
- package/dist/chunk-31bwdrm5.js +93 -0
- package/dist/{chunk-2xbyb015.js → chunk-38rkx4cj.js} +47 -46
- package/dist/{chunk-am3qcgzp.js → chunk-394djs3v.js} +56 -55
- package/dist/{chunk-15m49c67.js → chunk-3e28fvn0.js} +2 -2
- package/dist/{chunk-4hv90qcz.js → chunk-3mgywd32.js} +1 -1
- package/dist/{chunk-234668cb.js → chunk-3we6j8b4.js} +5 -5
- package/dist/{chunk-7rnqsng2.js → chunk-400r5gmq.js} +19 -19
- package/dist/{chunk-yc23zxmj.js → chunk-4057dtxd.js} +1 -1
- package/dist/{chunk-70eey1nh.js → chunk-40s88wdg.js} +2 -2
- package/dist/{chunk-8nfn89nz.js → chunk-41en0cc6.js} +9 -9
- package/dist/{chunk-t5vbqd9d.js → chunk-488spx13.js} +55 -54
- package/dist/{chunk-9v13f3gm.js → chunk-49bs7x5p.js} +558 -196
- package/dist/{chunk-0awwmrwr.js → chunk-4ayjwyqj.js} +2 -2
- package/dist/chunk-4d0g9n3q.js +92 -0
- package/dist/{chunk-denyma1s.js → chunk-4fh25m1z.js} +14 -12
- package/dist/chunk-4hgxxzdw.js +94 -0
- package/dist/{chunk-8g747a8x.js → chunk-4pbx3g7s.js} +1 -1
- package/dist/{chunk-fkhs3myp.js → chunk-4pj88fnc.js} +5 -3
- package/dist/{chunk-st73prx0.js → chunk-4re879ja.js} +47 -46
- package/dist/{chunk-pb92bj1h.js → chunk-50art2hr.js} +6 -6
- package/dist/{chunk-1nk93fqz.js → chunk-5cxjxxx8.js} +2 -7
- package/dist/{chunk-kek5v6ef.js → chunk-5pqq0nym.js} +3 -3
- package/dist/{chunk-nk82j7r2.js → chunk-6696fngv.js} +7 -7
- package/dist/{chunk-ya40p6vj.js → chunk-66dk94r4.js} +46 -45
- package/dist/{chunk-xrpstt41.js → chunk-67808qek.js} +4 -4
- package/dist/{chunk-zhk465tg.js → chunk-69841w77.js} +46 -45
- package/dist/{chunk-jgzxmtpf.js → chunk-6ebvysef.js} +52 -52
- package/dist/{chunk-bmbq6nt1.js → chunk-6wzg2hpc.js} +2 -2
- package/dist/{chunk-12k745vf.js → chunk-6zsxtysq.js} +3 -3
- package/dist/{chunk-qcnhb4cd.js → chunk-75qqeec8.js} +3 -3
- package/dist/{chunk-nvwwtq1w.js → chunk-765zdaq8.js} +49 -48
- package/dist/{chunk-zq6ezxh2.js → chunk-7ce8wn1f.js} +49 -45
- package/dist/{chunk-e7h4qxgw.js → chunk-7etkb4pr.js} +4 -4
- package/dist/{chunk-wha6v7za.js → chunk-7krg0dkt.js} +2 -2
- package/dist/{chunk-nqrc7pc4.js → chunk-7p2vw8qe.js} +29 -27
- package/dist/{chunk-q1ah9nbq.js → chunk-7t5ymv2m.js} +1 -1
- package/dist/{chunk-xz655xxa.js → chunk-7tphrzjj.js} +2 -2
- package/dist/{chunk-hzknr99c.js → chunk-83b2frat.js} +4 -4
- package/dist/{chunk-bxcfz5gy.js → chunk-87xg6yb4.js} +1 -1
- package/dist/{chunk-nrtksr2p.js → chunk-8b2y3x7a.js} +1 -1
- package/dist/{chunk-1cq2vrzq.js → chunk-8c907cv9.js} +4 -4
- package/dist/{chunk-88cekjja.js → chunk-8dzg4nr5.js} +47 -46
- package/dist/{chunk-2fxpd35d.js → chunk-8hn2xqjz.js} +2 -2
- package/dist/{chunk-3g1vqhyx.js → chunk-8kmna3cc.js} +17 -21
- package/dist/{chunk-1zhy5cbc.js → chunk-8r5eevap.js} +13 -13
- package/dist/{chunk-7n51wk9k.js → chunk-8vkv63c5.js} +2 -2
- package/dist/{chunk-268jd0rc.js → chunk-8w21adpe.js} +6 -4
- package/dist/{chunk-21gmrwhs.js → chunk-8w8d1k7b.js} +17 -21
- package/dist/{chunk-yzcjz0gg.js → chunk-90bqyqfd.js} +46 -45
- package/dist/{chunk-2xvc97x4.js → chunk-942yq6xx.js} +3 -3
- package/dist/{chunk-88xc4d7f.js → chunk-99ck62v1.js} +49 -48
- package/dist/chunk-9ewnsd7f.js +31 -0
- package/dist/{chunk-xwg327ys.js → chunk-9g29z3dv.js} +6 -6
- package/dist/{chunk-5a5w0ygx.js → chunk-9nj016rn.js} +2 -2
- package/dist/chunk-9nk34wee.js +441 -0
- package/dist/{chunk-2v4x8kaq.js → chunk-9z45660r.js} +51 -50
- package/dist/{chunk-s1tg295x.js → chunk-a3gq2vv4.js} +10 -8
- package/dist/{chunk-6p4cyhb3.js → chunk-a6d2q415.js} +2 -2
- package/dist/{chunk-0jtbeesf.js → chunk-akqsq8bn.js} +16 -20
- package/dist/{chunk-tff58196.js → chunk-aqq5qh2y.js} +48 -47
- package/dist/{chunk-dvcwahst.js → chunk-awdftfcf.js} +51 -50
- package/dist/{chunk-3zxswxtg.js → chunk-b3nkagky.js} +2 -2
- package/dist/{chunk-jgjqa49s.js → chunk-b56smerd.js} +3 -3
- package/dist/{chunk-enkdxqas.js → chunk-b5asw4tj.js} +6 -6
- package/dist/{chunk-1x0y4426.js → chunk-b8f5dz5b.js} +4 -4
- package/dist/{chunk-30smv00b.js → chunk-bayvqjm6.js} +47 -46
- package/dist/chunk-bgyb0z0p.js +96 -0
- package/dist/{chunk-3skj4gfg.js → chunk-bhabqhx1.js} +47 -46
- package/dist/{chunk-4140c8xy.js → chunk-bj85dnsy.js} +20 -24
- package/dist/{chunk-vdcm8hz6.js → chunk-bp4s0gry.js} +47 -46
- package/dist/{chunk-d00mfc1e.js → chunk-brng9f4q.js} +46 -45
- package/dist/{chunk-a3ws4gae.js → chunk-bvdzmdw4.js} +47 -46
- package/dist/{chunk-m87bhhqv.js → chunk-bzatg35k.js} +1 -1
- package/dist/{chunk-hxzt3r84.js → chunk-ca72efeb.js} +51 -50
- package/dist/{chunk-vajwapkf.js → chunk-cdact4jj.js} +17 -23
- package/dist/{chunk-s3hsqf80.js → chunk-cexw1jmv.js} +30 -81
- package/dist/chunk-cfyvkbe5.js +197 -0
- package/dist/{chunk-jj5wj46b.js → chunk-cjca0q27.js} +7 -7
- package/dist/{chunk-3hwa20vg.js → chunk-cs9aqzag.js} +49 -46
- package/dist/{chunk-1ax1znzj.js → chunk-cttezxcb.js} +24 -14
- package/dist/chunk-d2g976qe.js +1457 -0
- package/dist/{chunk-d6rypdxt.js → chunk-d7ws01qk.js} +1 -1
- package/dist/{chunk-xxw9a0bq.js → chunk-dhwr4fz4.js} +2 -2
- package/dist/{chunk-x2pvw7xw.js → chunk-dmyedkpw.js} +8 -8
- package/dist/{chunk-af868wet.js → chunk-dsqfe05n.js} +46 -45
- package/dist/{chunk-4r50c14n.js → chunk-e82vbky2.js} +46 -45
- package/dist/{chunk-vawgyev5.js → chunk-eba0b85f.js} +3 -3
- package/dist/{chunk-87e209aj.js → chunk-eqnfk1g0.js} +46 -45
- package/dist/chunk-erj5nc8b.js +92 -0
- package/dist/{chunk-ky39hkg1.js → chunk-eseq7djh.js} +9 -7
- package/dist/{chunk-vvsbvz2b.js → chunk-esrkw9v4.js} +2 -2
- package/dist/{chunk-jgpmpgx6.js → chunk-etdt1xz3.js} +1 -1
- package/dist/{chunk-w05jpkkr.js → chunk-ewbvcf88.js} +5 -9
- package/dist/chunk-ewhxddsa.js +445 -0
- package/dist/{chunk-jjh7m5sg.js → chunk-ey1pg5v8.js} +66 -77
- package/dist/{chunk-h02gcdx5.js → chunk-f1v8h236.js} +8 -8
- package/dist/chunk-f70fwxds.js +211 -0
- package/dist/{chunk-1dwvgrfc.js → chunk-f73trmvk.js} +46 -45
- package/dist/{chunk-xnv6kb39.js → chunk-fcww10dt.js} +22 -23
- package/dist/{chunk-15edybe0.js → chunk-fhprmgf4.js} +1 -1
- package/dist/{chunk-5awgsvrw.js → chunk-fnf4av18.js} +14 -6
- package/dist/{chunk-j4m8fd76.js → chunk-fy543pwf.js} +7 -11
- package/dist/chunk-fybanr7d.js +988 -0
- package/dist/chunk-g5epkvz2.js +331 -0
- package/dist/chunk-g5pe8dew.js +25 -0
- package/dist/chunk-g8183rkv.js +517 -0
- package/dist/{chunk-4g0nj78p.js → chunk-gbztsm42.js} +46 -45
- package/dist/{chunk-ga86yjm1.js → chunk-gdwdqewd.js} +3 -3
- package/dist/{chunk-kva79cra.js → chunk-ge57c9hg.js} +7 -5
- package/dist/{chunk-f2hbn5rk.js → chunk-ggq2y3tn.js} +100420 -57118
- package/dist/{chunk-w0gmf6bv.js → chunk-gpzkzg7v.js} +47 -46
- package/dist/{chunk-v0bykh19.js → chunk-gw1a82j8.js} +108 -102
- package/dist/chunk-gw1g065z.js +20 -0
- package/dist/{chunk-21jsjcfa.js → chunk-h4dnamt5.js} +46 -45
- package/dist/{chunk-hh3k5s1s.js → chunk-h5mkzk0z.js} +3 -3
- package/dist/chunk-h7dm24cc.js +108 -0
- package/dist/{chunk-wr3pd88n.js → chunk-hadww3nd.js} +40 -9
- package/dist/{chunk-8ywngxqt.js → chunk-hapvn84d.js} +10 -10
- package/dist/{chunk-gbte7d7h.js → chunk-hekf5s9q.js} +4 -2
- package/dist/{chunk-veap97he.js → chunk-hkgb5y9f.js} +46 -45
- package/dist/{chunk-23fkapww.js → chunk-hzceftr4.js} +2 -2
- package/dist/chunk-j2x6fp25.js +29 -0
- package/dist/{chunk-vsqwd13w.js → chunk-j30g8fd1.js} +17 -19
- package/dist/{chunk-yyf72f78.js → chunk-j35mw64g.js} +4 -2
- package/dist/{chunk-qq5d2s0d.js → chunk-j3awswy3.js} +46 -45
- package/dist/{chunk-dmqeqxfz.js → chunk-j513wqe9.js} +46 -45
- package/dist/{chunk-hya4c599.js → chunk-jkens34n.js} +46 -45
- package/dist/{chunk-s4zb3f1b.js → chunk-jperb6n2.js} +46 -45
- package/dist/{chunk-psnsve7m.js → chunk-jqmr6ag1.js} +49 -48
- package/dist/{chunk-q7jnesv8.js → chunk-jsj3fx0g.js} +5 -5
- package/dist/{chunk-w1sv7j01.js → chunk-jx6k8msx.js} +46 -45
- package/dist/{chunk-xw8pjerk.js → chunk-jyz65rfv.js} +48 -47
- package/dist/{chunk-1avzakfd.js → chunk-k5mckm5f.js} +3 -3
- package/dist/{chunk-zctfbr1v.js → chunk-k7cw1a8a.js} +1 -1
- package/dist/{chunk-m46xyqr6.js → chunk-k9z36r5q.js} +48 -47
- package/dist/{chunk-th4y838y.js → chunk-kamesdff.js} +51 -50
- package/dist/{chunk-y7we499r.js → chunk-kj4m0j4n.js} +8 -8
- package/dist/{chunk-tdbz9gbm.js → chunk-kjqyhxz7.js} +6 -6
- package/dist/{chunk-k0v0cz71.js → chunk-m25yfqc3.js} +46 -45
- package/dist/{chunk-4nspekjp.js → chunk-mcws22k3.js} +1 -28
- package/dist/chunk-mgpj5f7h.js +150 -0
- package/dist/{chunk-1ybvj5df.js → chunk-mmn62bh2.js} +47 -46
- package/dist/{chunk-jpc9zwsk.js → chunk-mq94v5vn.js} +3 -3
- package/dist/{chunk-a1bf2kh4.js → chunk-msvv7dpt.js} +46 -45
- package/dist/chunk-mtv83pq4.js +123 -0
- package/dist/chunk-n36xjgtj.js +95 -0
- package/dist/{chunk-twqzmqsn.js → chunk-n9d0gg9z.js} +31 -27
- package/dist/{chunk-cvm2tmwg.js → chunk-na63s9wn.js} +20 -24
- package/dist/{chunk-jtztm8f5.js → chunk-nebntwvd.js} +44 -43
- package/dist/{chunk-0ym2z0c7.js → chunk-nj02kck4.js} +1 -1
- package/dist/{chunk-5rv9c8yd.js → chunk-nrjtxhyr.js} +1 -1
- package/dist/{chunk-nqn45znr.js → chunk-ns7x6xam.js} +9 -9
- package/dist/{chunk-jaaxk89e.js → chunk-nsc89h0n.js} +2 -22
- package/dist/{chunk-gnj7tyj6.js → chunk-nv7vcqme.js} +49 -48
- package/dist/{chunk-z19sd3bt.js → chunk-p4196wzm.js} +5 -5
- package/dist/{chunk-as5rvw4n.js → chunk-pbeee2kp.js} +17 -21
- package/dist/{chunk-va8drjmv.js → chunk-pcbm66ch.js} +48 -47
- package/dist/{chunk-phd1qfpc.js → chunk-pd2vy8hx.js} +5 -5
- package/dist/chunk-pe3n0w2t.js +91 -0
- package/dist/{chunk-bd5sqj86.js → chunk-peh3mj19.js} +11 -11
- package/dist/{chunk-mk1y74w7.js → chunk-pepgckn4.js} +17 -21
- package/dist/{chunk-wqvr37xp.js → chunk-pm67yj46.js} +15 -31
- package/dist/{chunk-qyqpb15f.js → chunk-pp8nrx40.js} +205 -261
- package/dist/{chunk-nx7c354z.js → chunk-pq5290db.js} +46 -45
- package/dist/{chunk-w4yn8cq7.js → chunk-psm26hv7.js} +8 -8
- package/dist/{chunk-hwn8vetn.js → chunk-pwpk3gm6.js} +10 -10
- package/dist/chunk-pzp8fj0a.js +123 -0
- package/dist/{chunk-x94btg29.js → chunk-q1j8ebyf.js} +17 -21
- package/dist/{chunk-87scz097.js → chunk-q2fn2p7y.js} +46 -45
- package/dist/chunk-q347821k.js +99 -0
- package/dist/{chunk-23jzrwsw.js → chunk-q6tdxy8v.js} +5 -5
- package/dist/{chunk-byb2mn1c.js → chunk-qb88vpgy.js} +118 -450
- package/dist/{chunk-eenq3avg.js → chunk-qcrpqjya.js} +1 -1
- package/dist/chunk-qehbwde1.js +90 -0
- package/dist/{chunk-ck0ap688.js → chunk-qkczt8cr.js} +4 -4
- package/dist/{chunk-c3d2cnz5.js → chunk-qmmxwh8x.js} +7 -7
- package/dist/{chunk-1a6ez1mg.js → chunk-qxmm3jbn.js} +51 -49
- package/dist/{chunk-njxgct8f.js → chunk-qywk2c7m.js} +46 -45
- package/dist/{chunk-rkg741k3.js → chunk-qz0xdht6.js} +14 -14
- package/dist/chunk-r0dpeqg0.js +468 -0
- package/dist/{chunk-6ksdp40n.js → chunk-r0m970pk.js} +1 -1
- package/dist/{chunk-fape0yfp.js → chunk-r5bf0h0t.js} +46 -45
- package/dist/{chunk-jcwkgtbp.js → chunk-r7xpsch7.js} +52 -90
- package/dist/{chunk-z9n0183s.js → chunk-rfq9kmsy.js} +9 -9
- package/dist/{chunk-xp61y5ba.js → chunk-rkv8bdtr.js} +2 -2
- package/dist/{chunk-5cem2v7n.js → chunk-rkvwts6v.js} +5 -5
- package/dist/{chunk-1vnd9s2j.js → chunk-rm4c8zd9.js} +57 -66
- package/dist/{chunk-e7efcp3k.js → chunk-rm9gb396.js} +257 -2857
- package/dist/{chunk-0m9w9esf.js → chunk-s213xmp8.js} +46 -45
- package/dist/{chunk-c42pqnxx.js → chunk-s3s0611n.js} +1 -1
- package/dist/{chunk-qdnxk7d7.js → chunk-scrk9jbt.js} +29 -30
- package/dist/{chunk-wayfjcwt.js → chunk-sdfvr9ps.js} +4 -4
- package/dist/{chunk-7mqab3z7.js → chunk-skp5w8bq.js} +1 -1
- package/dist/{chunk-76j2e9vy.js → chunk-snxp8mxj.js} +2 -2
- package/dist/{chunk-ad3v6mzw.js → chunk-tgmettzd.js} +12 -12
- package/dist/{chunk-cdj51xbj.js → chunk-tj6hejny.js} +46 -45
- package/dist/chunk-tn0xnp8a.js +124 -0
- package/dist/chunk-tpn6rh31.js +62 -0
- package/dist/{chunk-qsc98gbe.js → chunk-tq4vws6e.js} +2 -2
- package/dist/{chunk-ydcsbj4t.js → chunk-tzzzbb9d.js} +11 -9
- package/dist/chunk-v3s93bzd.js +34 -0
- package/dist/{chunk-4cp6193g.js → chunk-v4t6dyyh.js} +2 -2
- package/dist/{chunk-xfkfh5sd.js → chunk-v6fcbmqz.js} +1808 -1643
- package/dist/{chunk-k7g9gcr9.js → chunk-vc59jf3q.js} +64 -58
- package/dist/{chunk-gdhz1652.js → chunk-vdk9b74d.js} +27 -30
- package/dist/{chunk-tvzr9c8a.js → chunk-vf9c1649.js} +46 -45
- package/dist/{chunk-naybw0p0.js → chunk-vgk0nymz.js} +8 -8
- package/dist/{chunk-jh965sa0.js → chunk-vgzpbh28.js} +47 -46
- package/dist/{chunk-q87kegxh.js → chunk-vhxrn87v.js} +49 -48
- package/dist/chunk-vnzgpyrz.js +1534 -0
- package/dist/{chunk-r6kaak61.js → chunk-vqh6cjfx.js} +16 -20
- package/dist/{chunk-wbbykfdd.js → chunk-vz3pa5n6.js} +1 -1
- package/dist/{chunk-pwqm47kn.js → chunk-w1h5z2sy.js} +46 -45
- package/dist/{chunk-rm2vtv77.js → chunk-w2vvxj1f.js} +22 -25
- package/dist/{chunk-s7q42kp2.js → chunk-w5zezk61.js} +9 -9
- package/dist/{chunk-vrjbc8ap.js → chunk-wa8yn2p0.js} +1 -1
- package/dist/{chunk-a3wczqrp.js → chunk-wahqac7c.js} +37 -41
- package/dist/{chunk-qvd3hbqs.js → chunk-wc0np2zw.js} +5 -5
- package/dist/{chunk-2j3v2dgk.js → chunk-wcpmtszh.js} +47 -46
- package/dist/{chunk-jxfp3g9b.js → chunk-wdzjtdye.js} +4 -4
- package/dist/{chunk-0g5cy3wj.js → chunk-wgk9sxk7.js} +4 -4
- package/dist/{chunk-rc9x0raa.js → chunk-wmbpjx7v.js} +56 -55
- package/dist/chunk-wrsy4y58.js +93 -0
- package/dist/{chunk-rtmh0v4c.js → chunk-wskkym13.js} +6 -6
- package/dist/{chunk-bm5rc541.js → chunk-wt6v1zbe.js} +5 -5
- package/dist/{chunk-37p5p94r.js → chunk-wyj3wpjv.js} +55 -54
- package/dist/chunk-x7fdwq3d.js +33 -0
- package/dist/{chunk-6t5zvnrg.js → chunk-xdg2rpj3.js} +48 -46
- package/dist/{chunk-chsyvavm.js → chunk-xeb6075z.js} +1 -1
- package/dist/{chunk-23q4jpn2.js → chunk-xemw9d52.js} +3 -3
- package/dist/{chunk-n7pnyq43.js → chunk-xhfmdq1y.js} +16 -0
- package/dist/{chunk-jmkn11my.js → chunk-xmdny0m1.js} +20 -20
- package/dist/chunk-xswyz2es.js +118 -0
- package/dist/{chunk-67a4147x.js → chunk-xv5a2xbe.js} +1 -1
- package/dist/{chunk-1dgdjrm1.js → chunk-xx709m24.js} +4 -4
- package/dist/{chunk-qn8z4r79.js → chunk-y024419t.js} +50 -48
- package/dist/{chunk-dbwmzvfj.js → chunk-y1ps26mz.js} +46 -45
- package/dist/{chunk-4m9df5ef.js → chunk-y2r5e6kv.js} +17 -21
- package/dist/{chunk-k1crm94z.js → chunk-y41svpxw.js} +46 -45
- package/dist/{chunk-qjyg1dv7.js → chunk-ygwcq4vd.js} +6 -10
- package/dist/{chunk-fk8crdnk.js → chunk-ykv414dd.js} +48 -46
- package/dist/{chunk-g5pgham9.js → chunk-ynkzfhs1.js} +20 -14
- package/dist/{chunk-gvrjgq1n.js → chunk-yrqx3p9k.js} +16 -20
- package/dist/{chunk-c9dmpdss.js → chunk-ys17e80d.js} +46 -45
- package/dist/{chunk-97wgdsab.js → chunk-z16txqz0.js} +3 -3
- package/dist/{chunk-yvtzznds.js → chunk-z6wm96eh.js} +2 -2
- package/dist/{chunk-8ybw2s0h.js → chunk-zbb7qd0v.js} +4 -4
- package/dist/{chunk-030rqd3a.js → chunk-zjxv5g2n.js} +54 -53
- package/dist/{chunk-425w66ka.js → chunk-zmwgp2sh.js} +4 -4
- package/dist/cli.js +8 -8
- package/dist/gateway/index.js +430 -0
- package/dist/gateway/worker.js +482687 -0
- package/package.json +1 -1
- package/dist/chunk-11cz07kz.js +0 -93
- package/dist/chunk-1pbtp2z2.js +0 -92
- package/dist/chunk-25y2dtzf.js +0 -91
- package/dist/chunk-3hyj0zpy.js +0 -95
- package/dist/chunk-4kqjjakw.js +0 -73
- package/dist/chunk-4zwqbg7s.js +0 -87
- package/dist/chunk-5be33wja.js +0 -120
- package/dist/chunk-70mgxhkz.js +0 -369
- package/dist/chunk-7gmk09cq.js +0 -116
- package/dist/chunk-8dprcdra.js +0 -92
- package/dist/chunk-8xwx1xtg.js +0 -120
- package/dist/chunk-a579wjd2.js +0 -436
- package/dist/chunk-axqk3mxk.js +0 -116
- package/dist/chunk-c0ckmxr1.js +0 -86
- package/dist/chunk-c6t24y8q.js +0 -94
- package/dist/chunk-cfv996bs.js +0 -22
- package/dist/chunk-e5t5eefc.js +0 -62
- package/dist/chunk-eyph0250.js +0 -88
- package/dist/chunk-f825x57v.js +0 -91
- package/dist/chunk-h9xx5bj6.js +0 -91
- package/dist/chunk-j1dg659r.js +0 -89
- package/dist/chunk-jk8seqkk.js +0 -90
- package/dist/chunk-jzg4nddc.js +0 -92
- package/dist/chunk-k5vy0s3c.js +0 -93
- package/dist/chunk-ke820fjw.js +0 -91
- package/dist/chunk-kyzd4p8z.js +0 -111
- package/dist/chunk-njrt3tac.js +0 -640
- package/dist/chunk-pavb6a7w.js +0 -516
- package/dist/chunk-q268gpa0.js +0 -145
- package/dist/chunk-qvh1w3t7.js +0 -157
- package/dist/chunk-qy1es4jj.js +0 -95
- package/dist/chunk-qz2x630m.js +0 -49145
- package/dist/chunk-tw48evtr.js +0 -40
- package/dist/chunk-w0gfctyc.js +0 -117
- package/dist/chunk-y0fhjxef.js +0 -276
- package/dist/chunk-y275vgmw.js +0 -654
- package/dist/chunk-zq7pmdas.js +0 -1003
|
@@ -1,72 +1,80 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-wdzjtdye.js";
|
|
3
3
|
import {
|
|
4
4
|
cliError,
|
|
5
5
|
cliOk
|
|
6
6
|
} from "./chunk-z2dp53wn.js";
|
|
7
7
|
import {
|
|
8
8
|
buildDeepLinkBanner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-snxp8mxj.js";
|
|
10
10
|
import {
|
|
11
11
|
filterExistingPaths,
|
|
12
12
|
getKnownPathsForRepo,
|
|
13
13
|
updateGithubRepoPathMapping
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-xx709m24.js";
|
|
15
15
|
import {
|
|
16
16
|
computeInitialTeamContext,
|
|
17
17
|
createRemoteSessionConfig,
|
|
18
18
|
getModelDeprecationWarning,
|
|
19
19
|
getRelevantTips,
|
|
20
20
|
refreshExampleCommands
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-wahqac7c.js";
|
|
22
22
|
import {
|
|
23
23
|
processResumedConversation,
|
|
24
24
|
skillChangeDetector
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4fh25m1z.js";
|
|
26
|
+
import"./chunk-mswx2nma.js";
|
|
26
27
|
import {
|
|
27
28
|
installAsciicastRecorder
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import
|
|
29
|
+
} from "./chunk-h5mkzk0z.js";
|
|
30
|
+
import {
|
|
31
|
+
seedEarlyInput,
|
|
32
|
+
stopCapturingEarlyInput
|
|
33
|
+
} from "./chunk-xhfmdq1y.js";
|
|
30
34
|
import {
|
|
31
35
|
getBaseRenderOptions
|
|
32
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-dhwr4fz4.js";
|
|
33
37
|
import {
|
|
34
38
|
createStatsStore
|
|
35
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-nj02kck4.js";
|
|
36
40
|
import {
|
|
37
41
|
onChangeAppState
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import"./chunk-
|
|
40
|
-
import {
|
|
41
|
-
seedEarlyInput,
|
|
42
|
-
stopCapturingEarlyInput
|
|
43
|
-
} from "./chunk-n7pnyq43.js";
|
|
44
|
-
import {
|
|
45
|
-
init_partition,
|
|
46
|
-
partition_default
|
|
47
|
-
} from "./chunk-q1ah9nbq.js";
|
|
42
|
+
} from "./chunk-ewbvcf88.js";
|
|
43
|
+
import"./chunk-8vkv63c5.js";
|
|
48
44
|
import {
|
|
49
45
|
init_setup,
|
|
50
46
|
setupClaudeInChrome,
|
|
51
47
|
shouldAutoEnableClaudeInChrome,
|
|
52
48
|
shouldEnableClaudeInChrome
|
|
53
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-kj4m0j4n.js";
|
|
54
50
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import"./chunk-1x0y4426.js";
|
|
51
|
+
init_partition,
|
|
52
|
+
partition_default
|
|
53
|
+
} from "./chunk-7t5ymv2m.js";
|
|
59
54
|
import {
|
|
60
55
|
init_releaseNotes,
|
|
61
56
|
migrateChangelogFromConfig
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
} from "./chunk-zmwgp2sh.js";
|
|
58
|
+
import {
|
|
59
|
+
init_grove,
|
|
60
|
+
isQualifiedForGrove
|
|
61
|
+
} from "./chunk-f70fwxds.js";
|
|
62
|
+
import {
|
|
63
|
+
VALID_INSTALLABLE_SCOPES,
|
|
64
|
+
VALID_UPDATE_SCOPES
|
|
65
|
+
} from "./chunk-3we6j8b4.js";
|
|
66
|
+
import"./chunk-b8f5dz5b.js";
|
|
67
|
+
import"./chunk-rkvwts6v.js";
|
|
68
|
+
import"./chunk-k5mckm5f.js";
|
|
69
|
+
import {
|
|
70
|
+
getSettingsWithAllErrors,
|
|
71
|
+
init_allErrors
|
|
72
|
+
} from "./chunk-j2x6fp25.js";
|
|
73
|
+
import"./chunk-v3s93bzd.js";
|
|
66
74
|
import {
|
|
67
75
|
BROWSER_TOOLS,
|
|
68
76
|
init_src as init_src2
|
|
69
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-wa8yn2p0.js";
|
|
70
78
|
import {
|
|
71
79
|
init_sink,
|
|
72
80
|
initializeAnalyticsGates
|
|
@@ -102,7 +110,6 @@ import {
|
|
|
102
110
|
asSessionId,
|
|
103
111
|
buildConsolidationPrompt,
|
|
104
112
|
cacheSessionTitle,
|
|
105
|
-
canUserConfigureAdvisor,
|
|
106
113
|
checkAndDisableBypassPermissions,
|
|
107
114
|
checkOutTeleportedSessionBranch,
|
|
108
115
|
checkQuotaStatus,
|
|
@@ -145,7 +152,6 @@ import {
|
|
|
145
152
|
getExternalClaudeMdIncludes,
|
|
146
153
|
getGlobExclusionsForPluginCache,
|
|
147
154
|
getIdpClientSecret,
|
|
148
|
-
getInitialAdvisorSetting,
|
|
149
155
|
getInitialEffortSetting,
|
|
150
156
|
getManagedPluginNames,
|
|
151
157
|
getMcpConfigsByScope,
|
|
@@ -160,7 +166,6 @@ import {
|
|
|
160
166
|
getSessionIdFromLog,
|
|
161
167
|
getSessionIngressAuthToken,
|
|
162
168
|
getSessionMemoryContent,
|
|
163
|
-
getSettingsWithAllErrors,
|
|
164
169
|
getSkillToolCommands,
|
|
165
170
|
getSystemContext,
|
|
166
171
|
getTelemetryAttributes,
|
|
@@ -181,11 +186,9 @@ import {
|
|
|
181
186
|
init_SelectMulti,
|
|
182
187
|
init_Shell,
|
|
183
188
|
init_SyntheticOutputTool,
|
|
184
|
-
init_advisor,
|
|
185
189
|
init_agentSwarmsEnabled,
|
|
186
|
-
init_allErrors,
|
|
187
190
|
init_api as init_api2,
|
|
188
|
-
init_auth
|
|
191
|
+
init_auth,
|
|
189
192
|
init_bundledSkills,
|
|
190
193
|
init_cacheUtils,
|
|
191
194
|
init_changeDetector,
|
|
@@ -214,7 +217,6 @@ import {
|
|
|
214
217
|
init_frontmatterParser,
|
|
215
218
|
init_getWorktreePaths,
|
|
216
219
|
init_gracefulShutdown,
|
|
217
|
-
init_grove,
|
|
218
220
|
init_history,
|
|
219
221
|
init_hookEvents,
|
|
220
222
|
init_ids,
|
|
@@ -264,7 +266,6 @@ import {
|
|
|
264
266
|
initializePolicyLimitsLoadingPromise,
|
|
265
267
|
initializeToolPermissionContext,
|
|
266
268
|
initializeVersionedPlugins,
|
|
267
|
-
isAdvisorEnabled,
|
|
268
269
|
isAgentSwarmsEnabled,
|
|
269
270
|
isAnalyticsDisabled,
|
|
270
271
|
isBuiltInAgent,
|
|
@@ -272,11 +273,9 @@ import {
|
|
|
272
273
|
isKeybindingCustomizationEnabled,
|
|
273
274
|
isPolicyAllowed,
|
|
274
275
|
isPolicyLimitsEligible,
|
|
275
|
-
isQualifiedForGrove,
|
|
276
276
|
isScratchpadEnabled,
|
|
277
277
|
isSyntheticOutputToolEnabled,
|
|
278
278
|
isTmuxAvailable,
|
|
279
|
-
isValidAdvisorModel,
|
|
280
279
|
isXaaEnabled,
|
|
281
280
|
issuerKey,
|
|
282
281
|
loadAllPluginsCacheOnly,
|
|
@@ -288,7 +287,6 @@ import {
|
|
|
288
287
|
logPluginLoadErrors,
|
|
289
288
|
logPluginsEnabledForSession,
|
|
290
289
|
mapValues_default,
|
|
291
|
-
modelSupportsAdvisor,
|
|
292
290
|
parseAgentsFromJson,
|
|
293
291
|
parseEffortValue,
|
|
294
292
|
parseFileSpecs,
|
|
@@ -329,68 +327,108 @@ import {
|
|
|
329
327
|
validateSessionRepository,
|
|
330
328
|
validateUuid,
|
|
331
329
|
waitForPolicyLimitsToLoad
|
|
332
|
-
} from "./chunk-
|
|
333
|
-
import
|
|
334
|
-
exports_teammateModeSnapshot,
|
|
335
|
-
init_teammateModeSnapshot
|
|
336
|
-
} from "./chunk-jpc9zwsk.js";
|
|
337
|
-
import"./chunk-hwfknpxv.js";
|
|
338
|
-
import"./chunk-4nspekjp.js";
|
|
330
|
+
} from "./chunk-ggq2y3tn.js";
|
|
331
|
+
import"./chunk-mcws22k3.js";
|
|
339
332
|
import {
|
|
340
333
|
initSentry,
|
|
341
334
|
init_sentry
|
|
342
335
|
} from "./chunk-jzthz1bx.js";
|
|
336
|
+
import {
|
|
337
|
+
exports_teammateModeSnapshot,
|
|
338
|
+
init_teammateModeSnapshot
|
|
339
|
+
} from "./chunk-mq94v5vn.js";
|
|
340
|
+
import"./chunk-hwfknpxv.js";
|
|
343
341
|
import {
|
|
344
342
|
BASE_CHROME_PROMPT,
|
|
345
343
|
CLAUDE_IN_CHROME_SKILL_HINT,
|
|
346
344
|
init_prompt as init_prompt6
|
|
347
345
|
} from "./chunk-1gx78081.js";
|
|
348
|
-
import"./chunk-
|
|
346
|
+
import"./chunk-ehtwnxpg.js";
|
|
347
|
+
import"./chunk-75qqeec8.js";
|
|
348
|
+
import {
|
|
349
|
+
createEmptyAttributionState,
|
|
350
|
+
init_commitAttribution
|
|
351
|
+
} from "./chunk-hadww3nd.js";
|
|
352
|
+
import"./chunk-87xg6yb4.js";
|
|
349
353
|
import {
|
|
350
354
|
DEFAULT_TASKS_MODE_TASK_LIST_ID,
|
|
351
355
|
TASK_STATUSES,
|
|
352
356
|
exports_teammate,
|
|
353
357
|
init_tasks,
|
|
354
358
|
init_teammate
|
|
355
|
-
} from "./chunk-
|
|
359
|
+
} from "./chunk-w5zezk61.js";
|
|
356
360
|
import"./chunk-2gzv8nrw.js";
|
|
357
|
-
import"./chunk-ehtwnxpg.js";
|
|
358
|
-
import {
|
|
359
|
-
createEmptyAttributionState,
|
|
360
|
-
init_commitAttribution
|
|
361
|
-
} from "./chunk-wr3pd88n.js";
|
|
362
361
|
import {
|
|
363
362
|
CLAUDE_IN_CHROME_MCP_SERVER_NAME,
|
|
364
363
|
init_common,
|
|
365
364
|
isClaudeInChromeMCPServer
|
|
366
|
-
} from "./chunk-
|
|
365
|
+
} from "./chunk-sdfvr9ps.js";
|
|
367
366
|
import {
|
|
368
367
|
init_worktreeModeEnabled,
|
|
369
368
|
isWorktreeModeEnabled
|
|
370
369
|
} from "./chunk-cgfdkzhb.js";
|
|
371
|
-
import"./chunk-bxcfz5gy.js";
|
|
372
370
|
import {
|
|
373
371
|
init_referral,
|
|
374
372
|
prefetchPassesEligibility
|
|
375
|
-
} from "./chunk-
|
|
373
|
+
} from "./chunk-xswyz2es.js";
|
|
376
374
|
import"./chunk-j5bth84e.js";
|
|
377
|
-
import"./chunk-
|
|
378
|
-
import"./chunk-68ffk5qa.js";
|
|
375
|
+
import"./chunk-6696fngv.js";
|
|
379
376
|
import"./chunk-ps49ymvj.js";
|
|
377
|
+
import"./chunk-68ffk5qa.js";
|
|
378
|
+
import {
|
|
379
|
+
canUserConfigureAdvisor,
|
|
380
|
+
filterAllowedSdkBetas,
|
|
381
|
+
getInitialAdvisorSetting,
|
|
382
|
+
init_advisor,
|
|
383
|
+
init_betas,
|
|
384
|
+
isAdvisorEnabled,
|
|
385
|
+
isValidAdvisorModel,
|
|
386
|
+
modelSupportsAdvisor
|
|
387
|
+
} from "./chunk-g8183rkv.js";
|
|
388
|
+
import {
|
|
389
|
+
ensureModelStringsInitialized,
|
|
390
|
+
getAPIProvider,
|
|
391
|
+
getContextWindowForModel,
|
|
392
|
+
getDefaultMainLoopModel,
|
|
393
|
+
getDefaultMainLoopModelSetting,
|
|
394
|
+
getInitialFastModeSetting,
|
|
395
|
+
getUserSpecifiedModelSetting,
|
|
396
|
+
init_context,
|
|
397
|
+
init_fastMode,
|
|
398
|
+
init_model,
|
|
399
|
+
init_modelCapabilities,
|
|
400
|
+
init_modelStrings,
|
|
401
|
+
init_providers,
|
|
402
|
+
isFastModeEnabled,
|
|
403
|
+
isLegacyModelRemapEnabled,
|
|
404
|
+
isOpus1mMergeEnabled,
|
|
405
|
+
normalizeModelStringForAPI,
|
|
406
|
+
parseUserSpecifiedModel,
|
|
407
|
+
prefetchFastModeStatus,
|
|
408
|
+
refreshModelCapabilities,
|
|
409
|
+
resolveFastModeStatusFromCache
|
|
410
|
+
} from "./chunk-vnzgpyrz.js";
|
|
411
|
+
import {
|
|
412
|
+
configureGlobalAgents,
|
|
413
|
+
configureGlobalMTLS,
|
|
414
|
+
init_mtls,
|
|
415
|
+
init_proxy
|
|
416
|
+
} from "./chunk-7krg0dkt.js";
|
|
417
|
+
import"./chunk-4057dtxd.js";
|
|
380
418
|
import"./chunk-p7vkh4wx.js";
|
|
381
|
-
import"./chunk-
|
|
382
|
-
import"./chunk-
|
|
419
|
+
import"./chunk-6wzg2hpc.js";
|
|
420
|
+
import"./chunk-9g29z3dv.js";
|
|
421
|
+
import"./chunk-7tphrzjj.js";
|
|
422
|
+
import"./chunk-2vteceqh.js";
|
|
423
|
+
import"./chunk-xeb6075z.js";
|
|
424
|
+
import"./chunk-nrjtxhyr.js";
|
|
425
|
+
import"./chunk-v4t6dyyh.js";
|
|
383
426
|
import {
|
|
384
427
|
fetchSession,
|
|
385
428
|
init_api,
|
|
386
429
|
prepareApiRequest
|
|
387
|
-
} from "./chunk-
|
|
388
|
-
import"./chunk-
|
|
389
|
-
import"./chunk-xwg327ys.js";
|
|
390
|
-
import"./chunk-xz655xxa.js";
|
|
391
|
-
import"./chunk-c11swzas.js";
|
|
392
|
-
import"./chunk-chsyvavm.js";
|
|
393
|
-
import"./chunk-5rv9c8yd.js";
|
|
430
|
+
} from "./chunk-g5epkvz2.js";
|
|
431
|
+
import"./chunk-bzatg35k.js";
|
|
394
432
|
import {
|
|
395
433
|
AGENT_TOOL_NAME,
|
|
396
434
|
PERMISSION_MODES,
|
|
@@ -399,20 +437,12 @@ import {
|
|
|
399
437
|
enableConfigs,
|
|
400
438
|
ensureKeychainPrefetchCompleted,
|
|
401
439
|
ensureMdmSettingsLoaded,
|
|
402
|
-
ensureModelStringsInitialized,
|
|
403
440
|
exports_prompt,
|
|
404
|
-
filterAllowedSdkBetas,
|
|
405
|
-
getAPIProvider,
|
|
406
441
|
getAutoMemPath,
|
|
407
|
-
getClaudeAIOAuthTokens,
|
|
408
|
-
getContextWindowForModel,
|
|
409
442
|
getCurrentProjectConfig,
|
|
410
443
|
getCustomApiKeyStatus,
|
|
411
|
-
getDefaultMainLoopModel,
|
|
412
|
-
getDefaultMainLoopModelSetting,
|
|
413
444
|
getFeatureValue_CACHED_MAY_BE_STALE,
|
|
414
445
|
getGlobalConfig,
|
|
415
|
-
getInitialFastModeSetting,
|
|
416
446
|
getInitialSettings,
|
|
417
447
|
getManagedSettingsKeysForLogging,
|
|
418
448
|
getRemoteControlAtStartup,
|
|
@@ -420,29 +450,19 @@ import {
|
|
|
420
450
|
getSettingsForSource,
|
|
421
451
|
getSettingsWithErrors,
|
|
422
452
|
getSettings_DEPRECATED,
|
|
423
|
-
getSubscriptionType,
|
|
424
|
-
getUserSpecifiedModelSetting,
|
|
425
453
|
hasGrowthBookEnvOverride,
|
|
426
454
|
hasSkipDangerousModePermissionPrompt,
|
|
427
455
|
initUser,
|
|
428
456
|
init_PermissionMode,
|
|
429
|
-
init_auth,
|
|
430
457
|
init_authPortable,
|
|
431
|
-
init_betas1 as init_betas,
|
|
432
458
|
init_config,
|
|
433
459
|
init_constants,
|
|
434
460
|
init_constants1 as init_constants2,
|
|
435
|
-
init_context,
|
|
436
|
-
init_fastMode,
|
|
437
461
|
init_growthbook,
|
|
438
462
|
init_keychainPrefetch,
|
|
439
|
-
init_model,
|
|
440
|
-
init_modelCapabilities,
|
|
441
|
-
init_modelStrings,
|
|
442
463
|
init_paths,
|
|
443
464
|
init_pickBy,
|
|
444
465
|
init_prompt1 as init_prompt,
|
|
445
|
-
init_providers,
|
|
446
466
|
init_rawRead,
|
|
447
467
|
init_settings,
|
|
448
468
|
init_settings1 as init_settings2,
|
|
@@ -452,40 +472,27 @@ import {
|
|
|
452
472
|
initializeGrowthBook,
|
|
453
473
|
isAutoMemoryEnabled,
|
|
454
474
|
isAutoUpdaterDisabled,
|
|
455
|
-
isClaudeAISubscriber,
|
|
456
|
-
isFastModeEnabled,
|
|
457
|
-
isLegacyModelRemapEnabled,
|
|
458
|
-
isMaxSubscriber,
|
|
459
|
-
isOpus1mMergeEnabled,
|
|
460
|
-
isProSubscriber,
|
|
461
|
-
isTeamPremiumSubscriber,
|
|
462
475
|
normalizeApiKeyForConfig,
|
|
463
|
-
normalizeModelStringForAPI,
|
|
464
476
|
parseSettingSourcesFlag,
|
|
465
|
-
parseUserSpecifiedModel,
|
|
466
477
|
pickBy_default,
|
|
467
478
|
plural,
|
|
468
|
-
prefetchFastModeStatus,
|
|
469
479
|
recordFirstStartTime,
|
|
470
|
-
refreshModelCapabilities,
|
|
471
480
|
resetGrowthBook,
|
|
472
481
|
resetUserCache,
|
|
473
|
-
resolveFastModeStatusFromCache,
|
|
474
482
|
saveCurrentProjectConfig,
|
|
475
483
|
saveGlobalConfig,
|
|
476
484
|
startKeychainPrefetch,
|
|
477
485
|
startMdmRawRead,
|
|
478
|
-
updateSettingsForSource
|
|
479
|
-
|
|
480
|
-
} from "./chunk-e7efcp3k.js";
|
|
486
|
+
updateSettingsForSource
|
|
487
|
+
} from "./chunk-rm9gb396.js";
|
|
481
488
|
import {
|
|
482
489
|
init_json,
|
|
483
490
|
safeParseJSON
|
|
484
|
-
} from "./chunk-
|
|
491
|
+
} from "./chunk-p4196wzm.js";
|
|
485
492
|
import {
|
|
486
493
|
init_windowsPaths,
|
|
487
494
|
setShellIfWindows
|
|
488
|
-
} from "./chunk-
|
|
495
|
+
} from "./chunk-cttezxcb.js";
|
|
489
496
|
import {
|
|
490
497
|
count,
|
|
491
498
|
init_array,
|
|
@@ -494,45 +501,37 @@ import {
|
|
|
494
501
|
import {
|
|
495
502
|
getPlatform,
|
|
496
503
|
init_platform
|
|
497
|
-
} from "./chunk-
|
|
504
|
+
} from "./chunk-rkv8bdtr.js";
|
|
498
505
|
import {
|
|
499
506
|
init_lazySchema,
|
|
500
507
|
lazySchema
|
|
501
508
|
} from "./chunk-64c1avct.js";
|
|
502
|
-
import {
|
|
503
|
-
configureGlobalAgents,
|
|
504
|
-
configureGlobalMTLS,
|
|
505
|
-
init_mtls,
|
|
506
|
-
init_proxy
|
|
507
|
-
} from "./chunk-wha6v7za.js";
|
|
508
509
|
import"./chunk-8g5pe1gr.js";
|
|
509
|
-
import"./chunk-4cp6193g.js";
|
|
510
510
|
import {
|
|
511
511
|
init_v4
|
|
512
|
-
} from "./chunk-
|
|
512
|
+
} from "./chunk-4pbx3g7s.js";
|
|
513
513
|
import {
|
|
514
514
|
exports_external,
|
|
515
515
|
toJSONSchema
|
|
516
|
-
} from "./chunk-
|
|
517
|
-
import"./chunk-
|
|
516
|
+
} from "./chunk-26wtxbdc.js";
|
|
517
|
+
import"./chunk-z6wm96eh.js";
|
|
518
518
|
import"./chunk-4jm600zv.js";
|
|
519
|
-
import"./chunk-
|
|
520
|
-
import"./chunk-
|
|
521
|
-
import"./chunk-nrtksr2p.js";
|
|
519
|
+
import"./chunk-1v01c96r.js";
|
|
520
|
+
import"./chunk-8b2y3x7a.js";
|
|
522
521
|
import"./chunk-3c25bcsw.js";
|
|
523
522
|
import {
|
|
524
|
-
|
|
523
|
+
getApiConfig,
|
|
524
|
+
init_apiConfig,
|
|
525
525
|
init_bundledMode,
|
|
526
|
-
init_oauth,
|
|
527
526
|
isInBundledMode
|
|
528
|
-
} from "./chunk-
|
|
527
|
+
} from "./chunk-cexw1jmv.js";
|
|
529
528
|
import {
|
|
530
529
|
formatFileSize,
|
|
531
530
|
init_format,
|
|
532
531
|
init_startupProfiler,
|
|
533
532
|
profileCheckpoint,
|
|
534
533
|
profileReport
|
|
535
|
-
} from "./chunk-
|
|
534
|
+
} from "./chunk-j35mw64g.js";
|
|
536
535
|
import"./chunk-cdz5yb0r.js";
|
|
537
536
|
import {
|
|
538
537
|
Byline,
|
|
@@ -562,7 +561,7 @@ import {
|
|
|
562
561
|
detectCurrentRepositoryWithHost,
|
|
563
562
|
init_detectRepository,
|
|
564
563
|
parseGitRemote
|
|
565
|
-
} from "./chunk-
|
|
564
|
+
} from "./chunk-3e28fvn0.js";
|
|
566
565
|
import {
|
|
567
566
|
findGitRoot,
|
|
568
567
|
getBranch,
|
|
@@ -572,14 +571,14 @@ import {
|
|
|
572
571
|
init_diagLogs,
|
|
573
572
|
init_git,
|
|
574
573
|
logForDiagnosticsNoPII
|
|
575
|
-
} from "./chunk-
|
|
576
|
-
import"./chunk-
|
|
574
|
+
} from "./chunk-kjqyhxz7.js";
|
|
575
|
+
import"./chunk-4ayjwyqj.js";
|
|
577
576
|
import"./chunk-qnfx3qtx.js";
|
|
578
|
-
import"./chunk-
|
|
577
|
+
import"./chunk-40s88wdg.js";
|
|
579
578
|
import {
|
|
580
579
|
init_log,
|
|
581
580
|
logError
|
|
582
|
-
} from "./chunk-
|
|
581
|
+
} from "./chunk-5cxjxxx8.js";
|
|
583
582
|
import {
|
|
584
583
|
getCwd,
|
|
585
584
|
init_cwd
|
|
@@ -587,8 +586,8 @@ import {
|
|
|
587
586
|
import {
|
|
588
587
|
init_which,
|
|
589
588
|
which
|
|
590
|
-
} from "./chunk-
|
|
591
|
-
import"./chunk-
|
|
589
|
+
} from "./chunk-qcrpqjya.js";
|
|
590
|
+
import"./chunk-skp5w8bq.js";
|
|
592
591
|
import {
|
|
593
592
|
execa,
|
|
594
593
|
init_execa
|
|
@@ -616,12 +615,7 @@ import {
|
|
|
616
615
|
setHasFormattedOutput,
|
|
617
616
|
toError,
|
|
618
617
|
writeFileSync_DEPRECATED
|
|
619
|
-
} from "./chunk-
|
|
620
|
-
import {
|
|
621
|
-
init_process,
|
|
622
|
-
peekForStdinData,
|
|
623
|
-
writeToStderr
|
|
624
|
-
} from "./chunk-fbv4apne.js";
|
|
618
|
+
} from "./chunk-pd2vy8hx.js";
|
|
625
619
|
import {
|
|
626
620
|
hasNodeOption,
|
|
627
621
|
init_envUtils,
|
|
@@ -630,7 +624,12 @@ import {
|
|
|
630
624
|
isInProtectedNamespace,
|
|
631
625
|
isRunningOnHomespace,
|
|
632
626
|
parseEnvVars
|
|
633
|
-
} from "./chunk-
|
|
627
|
+
} from "./chunk-nsc89h0n.js";
|
|
628
|
+
import {
|
|
629
|
+
init_process,
|
|
630
|
+
peekForStdinData,
|
|
631
|
+
writeToStderr
|
|
632
|
+
} from "./chunk-fbv4apne.js";
|
|
634
633
|
import {
|
|
635
634
|
getInitialMainLoopModel,
|
|
636
635
|
getIsNonInteractiveSession,
|
|
@@ -3084,13 +3083,14 @@ function registerScheduleRemoteAgentsSkill() {
|
|
|
3084
3083
|
}
|
|
3085
3084
|
});
|
|
3086
3085
|
}
|
|
3087
|
-
var
|
|
3086
|
+
var getClaudeAIOAuthTokens = () => {
|
|
3087
|
+
return;
|
|
3088
|
+
}, BASE58 = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz", BASE_QUESTION = "What would you like to do with scheduled remote agents?";
|
|
3088
3089
|
var init_scheduleRemoteAgents = __esm(() => {
|
|
3089
3090
|
init_growthbook();
|
|
3090
3091
|
init_policyLimits();
|
|
3091
3092
|
init_prompt3();
|
|
3092
3093
|
init_prompt5();
|
|
3093
|
-
init_auth();
|
|
3094
3094
|
init_preconditions();
|
|
3095
3095
|
init_debug();
|
|
3096
3096
|
init_detectRepository();
|
|
@@ -3126,7 +3126,7 @@ init_source();
|
|
|
3126
3126
|
init_mapValues();
|
|
3127
3127
|
init_pickBy();
|
|
3128
3128
|
init_uniqBy();
|
|
3129
|
-
|
|
3129
|
+
init_apiConfig();
|
|
3130
3130
|
init_product();
|
|
3131
3131
|
init_context2();
|
|
3132
3132
|
import { readFileSync } from "fs";
|
|
@@ -3142,20 +3142,20 @@ init_manager();
|
|
|
3142
3142
|
init_policyLimits();
|
|
3143
3143
|
|
|
3144
3144
|
// src/utils/apiPreconnect.ts
|
|
3145
|
-
|
|
3146
|
-
|
|
3145
|
+
init_apiConfig();
|
|
3146
|
+
init_providers();
|
|
3147
3147
|
var fired = false;
|
|
3148
3148
|
function preconnectAnthropicApi() {
|
|
3149
3149
|
if (fired)
|
|
3150
3150
|
return;
|
|
3151
3151
|
fired = true;
|
|
3152
|
-
if (
|
|
3152
|
+
if (getAPIProvider() === "openai") {
|
|
3153
3153
|
return;
|
|
3154
3154
|
}
|
|
3155
3155
|
if (process.env.HTTPS_PROXY || process.env.https_proxy || process.env.HTTP_PROXY || process.env.http_proxy || process.env.ANTHROPIC_UNIX_SOCKET || process.env.CLAUDE_CODE_CLIENT_CERT || process.env.CLAUDE_CODE_CLIENT_KEY) {
|
|
3156
3156
|
return;
|
|
3157
3157
|
}
|
|
3158
|
-
const baseUrl = process.env.ANTHROPIC_BASE_URL ||
|
|
3158
|
+
const baseUrl = process.env.ANTHROPIC_BASE_URL || getApiConfig().BASE_API_URL;
|
|
3159
3159
|
fetch(baseUrl, {
|
|
3160
3160
|
method: "HEAD",
|
|
3161
3161
|
signal: AbortSignal.timeout(1e4)
|
|
@@ -3263,8 +3263,8 @@ var init = memoize_default(async () => {
|
|
|
3263
3263
|
preconnectAnthropicApi();
|
|
3264
3264
|
if (isEnvTruthy(process.env.CLAUDE_CODE_REMOTE)) {
|
|
3265
3265
|
try {
|
|
3266
|
-
const { initUpstreamProxy, getUpstreamProxyEnv } = await import("./chunk-
|
|
3267
|
-
const { registerUpstreamProxyEnvFn } = await import("./chunk-
|
|
3266
|
+
const { initUpstreamProxy, getUpstreamProxyEnv } = await import("./chunk-83b2frat.js");
|
|
3267
|
+
const { registerUpstreamProxyEnvFn } = await import("./chunk-a6d2q415.js");
|
|
3268
3268
|
registerUpstreamProxyEnvFn(getUpstreamProxyEnv);
|
|
3269
3269
|
await initUpstreamProxy();
|
|
3270
3270
|
} catch (err) {
|
|
@@ -3274,7 +3274,7 @@ var init = memoize_default(async () => {
|
|
|
3274
3274
|
setShellIfWindows();
|
|
3275
3275
|
registerCleanup(shutdownLspServerManager);
|
|
3276
3276
|
registerCleanup(async () => {
|
|
3277
|
-
const { cleanupSessionTeams } = await import("./chunk-
|
|
3277
|
+
const { cleanupSessionTeams } = await import("./chunk-peh3mj19.js");
|
|
3278
3278
|
await cleanupSessionTeams();
|
|
3279
3279
|
});
|
|
3280
3280
|
if (isScratchpadEnabled()) {
|
|
@@ -3296,7 +3296,7 @@ var init = memoize_default(async () => {
|
|
|
3296
3296
|
gracefulShutdownSync(1);
|
|
3297
3297
|
return;
|
|
3298
3298
|
}
|
|
3299
|
-
return import("./chunk-
|
|
3299
|
+
return import("./chunk-2z9rak9s.js").then((m) => m.showInvalidConfigDialog({ error }));
|
|
3300
3300
|
} else {
|
|
3301
3301
|
throw error;
|
|
3302
3302
|
}
|
|
@@ -3347,8 +3347,8 @@ init_history();
|
|
|
3347
3347
|
// src/replLauncher.tsx
|
|
3348
3348
|
var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
3349
3349
|
async function launchRepl(root, appProps, replProps, renderAndRun) {
|
|
3350
|
-
const { App } = await import("./chunk-
|
|
3351
|
-
const { REPL } = await import("./chunk-
|
|
3350
|
+
const { App } = await import("./chunk-nv7vcqme.js");
|
|
3351
|
+
const { REPL } = await import("./chunk-mgpj5f7h.js");
|
|
3352
3352
|
await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
|
|
3353
3353
|
...appProps,
|
|
3354
3354
|
children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(REPL, {
|
|
@@ -3367,8 +3367,6 @@ init_tools();
|
|
|
3367
3367
|
init_advisor();
|
|
3368
3368
|
init_agentSwarmsEnabled();
|
|
3369
3369
|
init_array();
|
|
3370
|
-
init_auth();
|
|
3371
|
-
init_auth();
|
|
3372
3370
|
init_config();
|
|
3373
3371
|
init_effort();
|
|
3374
3372
|
init_fastMode();
|
|
@@ -3804,7 +3802,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3804
3802
|
let onboardingShown = false;
|
|
3805
3803
|
if (!config.theme || !config.hasCompletedOnboarding) {
|
|
3806
3804
|
onboardingShown = true;
|
|
3807
|
-
const { Onboarding } = await import("./chunk-
|
|
3805
|
+
const { Onboarding } = await import("./chunk-9nk34wee.js");
|
|
3808
3806
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Onboarding, {
|
|
3809
3807
|
onDone: () => {
|
|
3810
3808
|
completeOnboarding();
|
|
@@ -3814,7 +3812,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3814
3812
|
}
|
|
3815
3813
|
if (!isEnvTruthy(process.env.CLAUBBIT)) {
|
|
3816
3814
|
if (!checkHasTrustDialogAccepted()) {
|
|
3817
|
-
const { TrustDialog } = await import("./chunk-
|
|
3815
|
+
const { TrustDialog } = await import("./chunk-90bqyqfd.js");
|
|
3818
3816
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(TrustDialog, {
|
|
3819
3817
|
commands,
|
|
3820
3818
|
onDone: done
|
|
@@ -3830,7 +3828,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3830
3828
|
}
|
|
3831
3829
|
if (await shouldShowClaudeMdExternalIncludesWarning()) {
|
|
3832
3830
|
const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
|
|
3833
|
-
const { ClaudeMdExternalIncludesDialog } = await import("./chunk-
|
|
3831
|
+
const { ClaudeMdExternalIncludesDialog } = await import("./chunk-qehbwde1.js");
|
|
3834
3832
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeMdExternalIncludesDialog, {
|
|
3835
3833
|
onDone: done,
|
|
3836
3834
|
isStandaloneDialog: true,
|
|
@@ -3845,7 +3843,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3845
3843
|
applyConfigEnvironmentVariables();
|
|
3846
3844
|
setImmediate(() => initializeTelemetryAfterTrust());
|
|
3847
3845
|
if (await isQualifiedForGrove()) {
|
|
3848
|
-
const { GroveDialog } = await import("./chunk-
|
|
3846
|
+
const { GroveDialog } = await import("./chunk-wrsy4y58.js");
|
|
3849
3847
|
const decision = await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(GroveDialog, {
|
|
3850
3848
|
showIfAlreadyViewed: false,
|
|
3851
3849
|
location: onboardingShown ? "onboarding" : "policy_update_modal",
|
|
@@ -3861,7 +3859,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3861
3859
|
const customApiKeyTruncated = normalizeApiKeyForConfig(process.env.ANTHROPIC_API_KEY);
|
|
3862
3860
|
const keyStatus = getCustomApiKeyStatus(customApiKeyTruncated);
|
|
3863
3861
|
if (keyStatus === "new") {
|
|
3864
|
-
const { ApproveApiKey } = await import("./chunk-
|
|
3862
|
+
const { ApproveApiKey } = await import("./chunk-2tfe2zs1.js");
|
|
3865
3863
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ApproveApiKey, {
|
|
3866
3864
|
customApiKeyTruncated,
|
|
3867
3865
|
onDone: done
|
|
@@ -3869,7 +3867,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3869
3867
|
}
|
|
3870
3868
|
}
|
|
3871
3869
|
if ((permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) && !hasSkipDangerousModePermissionPrompt()) {
|
|
3872
|
-
const { BypassPermissionsModeDialog } = await import("./chunk-
|
|
3870
|
+
const { BypassPermissionsModeDialog } = await import("./chunk-m25yfqc3.js");
|
|
3873
3871
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(BypassPermissionsModeDialog, {
|
|
3874
3872
|
onAccept: done
|
|
3875
3873
|
}, undefined, false, undefined, this));
|
|
@@ -3877,7 +3875,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3877
3875
|
if (false) {}
|
|
3878
3876
|
if (false) {}
|
|
3879
3877
|
if (claudeInChrome && !getGlobalConfig().hasCompletedClaudeInChromeOnboarding) {
|
|
3880
|
-
const { ClaudeInChromeOnboarding } = await import("./chunk-
|
|
3878
|
+
const { ClaudeInChromeOnboarding } = await import("./chunk-bj85dnsy.js");
|
|
3881
3879
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeInChromeOnboarding, {
|
|
3882
3880
|
onDone: done
|
|
3883
3881
|
}, undefined, false, undefined, this));
|
|
@@ -3938,7 +3936,7 @@ function getRenderContext(exitOnCtrlC) {
|
|
|
3938
3936
|
init_KeybindingProviderSetup();
|
|
3939
3937
|
var jsx_dev_runtime7 = __toESM(require_jsx_dev_runtime(), 1);
|
|
3940
3938
|
async function launchInvalidSettingsDialog(root, props) {
|
|
3941
|
-
const { InvalidSettingsDialog } = await import("./chunk-
|
|
3939
|
+
const { InvalidSettingsDialog } = await import("./chunk-38rkx4cj.js");
|
|
3942
3940
|
return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(InvalidSettingsDialog, {
|
|
3943
3941
|
settingsErrors: props.settingsErrors,
|
|
3944
3942
|
onContinue: done,
|
|
@@ -3946,7 +3944,7 @@ async function launchInvalidSettingsDialog(root, props) {
|
|
|
3946
3944
|
}, undefined, false, undefined, this));
|
|
3947
3945
|
}
|
|
3948
3946
|
async function launchTeleportResumeWrapper(root) {
|
|
3949
|
-
const { TeleportResumeWrapper } = await import("./chunk-
|
|
3947
|
+
const { TeleportResumeWrapper } = await import("./chunk-eqnfk1g0.js");
|
|
3950
3948
|
return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportResumeWrapper, {
|
|
3951
3949
|
onComplete: done,
|
|
3952
3950
|
onCancel: () => done(null),
|
|
@@ -3954,7 +3952,7 @@ async function launchTeleportResumeWrapper(root) {
|
|
|
3954
3952
|
}, undefined, false, undefined, this));
|
|
3955
3953
|
}
|
|
3956
3954
|
async function launchTeleportRepoMismatchDialog(root, props) {
|
|
3957
|
-
const { TeleportRepoMismatchDialog } = await import("./chunk-
|
|
3955
|
+
const { TeleportRepoMismatchDialog } = await import("./chunk-vgzpbh28.js");
|
|
3958
3956
|
return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportRepoMismatchDialog, {
|
|
3959
3957
|
targetRepo: props.targetRepo,
|
|
3960
3958
|
initialPaths: props.initialPaths,
|
|
@@ -3965,8 +3963,8 @@ async function launchTeleportRepoMismatchDialog(root, props) {
|
|
|
3965
3963
|
async function launchResumeChooser(root, appProps, worktreePathsPromise, resumeProps) {
|
|
3966
3964
|
const [worktreePaths, { ResumeConversation }, { App }] = await Promise.all([
|
|
3967
3965
|
worktreePathsPromise,
|
|
3968
|
-
import("./chunk-
|
|
3969
|
-
import("./chunk-
|
|
3966
|
+
import("./chunk-gw1a82j8.js"),
|
|
3967
|
+
import("./chunk-nv7vcqme.js")
|
|
3970
3968
|
]);
|
|
3971
3969
|
await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(App, {
|
|
3972
3970
|
getFpsMetrics: appProps.getFpsMetrics,
|
|
@@ -6147,7 +6145,7 @@ init_uuid();
|
|
|
6147
6145
|
|
|
6148
6146
|
// src/commands/mcp/addCommand.ts
|
|
6149
6147
|
init_analytics();
|
|
6150
|
-
|
|
6148
|
+
init_auth();
|
|
6151
6149
|
init_config2();
|
|
6152
6150
|
init_utils();
|
|
6153
6151
|
init_xaaIdpLogin();
|
|
@@ -6662,38 +6660,7 @@ function migrateSonnet1mToSonnet45() {
|
|
|
6662
6660
|
}
|
|
6663
6661
|
|
|
6664
6662
|
// src/migrations/migrateSonnet45ToSonnet46.ts
|
|
6665
|
-
|
|
6666
|
-
init_auth();
|
|
6667
|
-
init_config();
|
|
6668
|
-
init_providers();
|
|
6669
|
-
init_settings2();
|
|
6670
|
-
function migrateSonnet45ToSonnet46() {
|
|
6671
|
-
if (getAPIProvider() !== "firstParty") {
|
|
6672
|
-
return;
|
|
6673
|
-
}
|
|
6674
|
-
if (!isProSubscriber() && !isMaxSubscriber() && !isTeamPremiumSubscriber()) {
|
|
6675
|
-
return;
|
|
6676
|
-
}
|
|
6677
|
-
const model = getSettingsForSource("userSettings")?.model;
|
|
6678
|
-
if (model !== "claude-sonnet-4-5-20250929" && model !== "claude-sonnet-4-5-20250929[1m]" && model !== "sonnet-4-5-20250929" && model !== "sonnet-4-5-20250929[1m]") {
|
|
6679
|
-
return;
|
|
6680
|
-
}
|
|
6681
|
-
const has1m = model.endsWith("[1m]");
|
|
6682
|
-
updateSettingsForSource("userSettings", {
|
|
6683
|
-
model: has1m ? "sonnet[1m]" : "sonnet"
|
|
6684
|
-
});
|
|
6685
|
-
const config = getGlobalConfig();
|
|
6686
|
-
if (config.numStartups > 1) {
|
|
6687
|
-
saveGlobalConfig((current) => ({
|
|
6688
|
-
...current,
|
|
6689
|
-
sonnet45To46MigrationTimestamp: Date.now()
|
|
6690
|
-
}));
|
|
6691
|
-
}
|
|
6692
|
-
logEvent("tengu_sonnet45_to_46_migration", {
|
|
6693
|
-
from_model: model,
|
|
6694
|
-
has_1m: has1m
|
|
6695
|
-
});
|
|
6696
|
-
}
|
|
6663
|
+
function migrateSonnet45ToSonnet46() {}
|
|
6697
6664
|
|
|
6698
6665
|
// src/migrations/resetAutoModeOptInForDefaultOffer.ts
|
|
6699
6666
|
init_analytics();
|
|
@@ -6704,10 +6671,10 @@ init_settings2();
|
|
|
6704
6671
|
|
|
6705
6672
|
// src/migrations/resetProToOpusDefault.ts
|
|
6706
6673
|
init_analytics();
|
|
6707
|
-
init_auth();
|
|
6708
6674
|
init_config();
|
|
6709
6675
|
init_providers();
|
|
6710
6676
|
init_settings2();
|
|
6677
|
+
var isProSubscriber = () => false;
|
|
6711
6678
|
function resetProToOpusDefault() {
|
|
6712
6679
|
const config = getGlobalConfig();
|
|
6713
6680
|
if (config.opusProMigrationComplete) {
|
|
@@ -6883,8 +6850,6 @@ function startDeferredPrefetches() {
|
|
|
6883
6850
|
getUserContext();
|
|
6884
6851
|
prefetchSystemContextIfSafe();
|
|
6885
6852
|
getRelevantTips();
|
|
6886
|
-
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) && !isEnvTruthy(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH)) {}
|
|
6887
|
-
if (isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) && !isEnvTruthy(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH)) {}
|
|
6888
6853
|
countFilesRoundedRg(getCwd(), AbortSignal.timeout(3000), []);
|
|
6889
6854
|
initializeAnalyticsGates();
|
|
6890
6855
|
refreshModelCapabilities();
|
|
@@ -6997,17 +6962,17 @@ async function main() {
|
|
|
6997
6962
|
if (true) {
|
|
6998
6963
|
const handleUriIdx = process.argv.indexOf("--handle-uri");
|
|
6999
6964
|
if (handleUriIdx !== -1 && process.argv[handleUriIdx + 1]) {
|
|
7000
|
-
const { enableConfigs: enableConfigs2 } = await import("./chunk-
|
|
6965
|
+
const { enableConfigs: enableConfigs2 } = await import("./chunk-yrqx3p9k.js");
|
|
7001
6966
|
enableConfigs2();
|
|
7002
6967
|
const uri = process.argv[handleUriIdx + 1];
|
|
7003
|
-
const { handleDeepLinkUri } = await import("./chunk-
|
|
6968
|
+
const { handleDeepLinkUri } = await import("./chunk-w2vvxj1f.js");
|
|
7004
6969
|
const exitCode = await handleDeepLinkUri(uri);
|
|
7005
6970
|
process.exit(exitCode);
|
|
7006
6971
|
}
|
|
7007
6972
|
if (process.platform === "darwin" && process.env.__CFBundleIdentifier === "com.anthropic.claude-code-url-handler") {
|
|
7008
|
-
const { enableConfigs: enableConfigs2 } = await import("./chunk-
|
|
6973
|
+
const { enableConfigs: enableConfigs2 } = await import("./chunk-yrqx3p9k.js");
|
|
7009
6974
|
enableConfigs2();
|
|
7010
|
-
const { handleUrlSchemeLaunch } = await import("./chunk-
|
|
6975
|
+
const { handleUrlSchemeLaunch } = await import("./chunk-w2vvxj1f.js");
|
|
7011
6976
|
const urlSchemeResult = await handleUrlSchemeLaunch();
|
|
7012
6977
|
process.exit(urlSchemeResult ?? 1);
|
|
7013
6978
|
}
|
|
@@ -7106,7 +7071,7 @@ async function run() {
|
|
|
7106
7071
|
if (!isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_TERMINAL_TITLE)) {
|
|
7107
7072
|
process.title = "claude";
|
|
7108
7073
|
}
|
|
7109
|
-
const { initSinks } = await import("./chunk-
|
|
7074
|
+
const { initSinks } = await import("./chunk-7etkb4pr.js");
|
|
7110
7075
|
initSinks();
|
|
7111
7076
|
profileCheckpoint("preAction_after_sinks");
|
|
7112
7077
|
const pluginDir = thisCommand.getOptionValue("pluginDir");
|
|
@@ -7312,7 +7277,7 @@ ${getTmuxInstallInstructions()}
|
|
|
7312
7277
|
const files = parseFileSpecs(fileSpecs);
|
|
7313
7278
|
if (files.length > 0) {
|
|
7314
7279
|
const config = {
|
|
7315
|
-
baseUrl: process.env.ANTHROPIC_BASE_URL ||
|
|
7280
|
+
baseUrl: process.env.ANTHROPIC_BASE_URL || getApiConfig().BASE_API_URL,
|
|
7316
7281
|
oauthToken: sessionToken,
|
|
7317
7282
|
sessionId: fileSessionId
|
|
7318
7283
|
};
|
|
@@ -7444,7 +7409,7 @@ ${formattedErrors}
|
|
|
7444
7409
|
const {
|
|
7445
7410
|
isComputerUseMCPServer,
|
|
7446
7411
|
COMPUTER_USE_MCP_SERVER_NAME
|
|
7447
|
-
} = await import("./chunk-
|
|
7412
|
+
} = await import("./chunk-b5asw4tj.js");
|
|
7448
7413
|
if (nonSdkConfigNames.some(isComputerUseMCPServer)) {
|
|
7449
7414
|
reservedNameError = `Invalid MCP configuration: "${COMPUTER_USE_MCP_SERVER_NAME}" is a reserved MCP name.`;
|
|
7450
7415
|
}
|
|
@@ -7468,7 +7433,7 @@ ${formattedErrors}
|
|
|
7468
7433
|
}
|
|
7469
7434
|
const chromeOpts = options;
|
|
7470
7435
|
setChromeFlagOverride(chromeOpts.chrome);
|
|
7471
|
-
const enableClaudeInChrome = shouldEnableClaudeInChrome(chromeOpts.chrome) &&
|
|
7436
|
+
const enableClaudeInChrome = shouldEnableClaudeInChrome(chromeOpts.chrome) && process.env.USER_TYPE === "ant";
|
|
7472
7437
|
const autoEnableClaudeInChrome = !enableClaudeInChrome && shouldAutoEnableClaudeInChrome();
|
|
7473
7438
|
if (enableClaudeInChrome) {
|
|
7474
7439
|
const platform = getPlatform();
|
|
@@ -7528,9 +7493,9 @@ ${hint}` : hint;
|
|
|
7528
7493
|
}
|
|
7529
7494
|
if (getPlatform() !== "unknown" && !getIsNonInteractiveSession()) {
|
|
7530
7495
|
try {
|
|
7531
|
-
const { getChicagoEnabled } = await import("./chunk-
|
|
7496
|
+
const { getChicagoEnabled } = await import("./chunk-pepgckn4.js");
|
|
7532
7497
|
if (getChicagoEnabled()) {
|
|
7533
|
-
const { setupComputerUseMCP } = await import("./chunk-
|
|
7498
|
+
const { setupComputerUseMCP } = await import("./chunk-na63s9wn.js");
|
|
7534
7499
|
const { mcpConfig: mcpConfig2, allowedTools: cuTools } = setupComputerUseMCP();
|
|
7535
7500
|
dynamicMcpConfig = {
|
|
7536
7501
|
...dynamicMcpConfig,
|
|
@@ -7652,7 +7617,7 @@ ${hint}` : hint;
|
|
|
7652
7617
|
profileCheckpoint("action_before_setup");
|
|
7653
7618
|
logForDebugging("[STARTUP] Running setup()...");
|
|
7654
7619
|
const setupStart = Date.now();
|
|
7655
|
-
const { setup } = await import("./chunk-
|
|
7620
|
+
const { setup } = await import("./chunk-vc59jf3q.js");
|
|
7656
7621
|
const messagingSocketPath = undefined;
|
|
7657
7622
|
const preSetupCwd = getCwd();
|
|
7658
7623
|
if (process.env.CLAUDE_CODE_ENTRYPOINT !== "local-agent") {
|
|
@@ -7845,10 +7810,6 @@ ${customInstructions}` : customInstructions;
|
|
|
7845
7810
|
refreshPolicyLimits();
|
|
7846
7811
|
resetUserCache();
|
|
7847
7812
|
}
|
|
7848
|
-
const orgValidation = await validateForceLoginOrg();
|
|
7849
|
-
if (!orgValidation.valid) {
|
|
7850
|
-
await exitWithError(root, orgValidation.message);
|
|
7851
|
-
}
|
|
7852
7813
|
}
|
|
7853
7814
|
if (process.exitCode !== undefined) {
|
|
7854
7815
|
logForDebugging("Graceful shutdown initiated, skipping further initialization");
|
|
@@ -8027,13 +7988,6 @@ ${customInstructions}` : customInstructions;
|
|
|
8027
7988
|
initializeTelemetryAfterTrust();
|
|
8028
7989
|
const sessionStartHooksPromise = options.continue || options.resume || teleport || setupTrigger ? undefined : processSessionStartHooks("startup");
|
|
8029
7990
|
sessionStartHooksPromise?.catch(() => {});
|
|
8030
|
-
profileCheckpoint("before_validateForceLoginOrg");
|
|
8031
|
-
const orgValidation = await validateForceLoginOrg();
|
|
8032
|
-
if (!orgValidation.valid) {
|
|
8033
|
-
process.stderr.write(orgValidation.message + `
|
|
8034
|
-
`);
|
|
8035
|
-
process.exit(1);
|
|
8036
|
-
}
|
|
8037
7991
|
const commandsHeadless = disableSlashCommands ? [] : commands.filter((command) => command.type === "prompt" && !command.disableNonInteractive || command.type === "local" && command.supportsNonInteractive);
|
|
8038
7992
|
const defaultState = getDefaultAppState();
|
|
8039
7993
|
const headlessInitialState = {
|
|
@@ -8163,14 +8117,14 @@ ${customInstructions}` : customInstructions;
|
|
|
8163
8117
|
profileCheckpoint("after_connectMcp_claudeai");
|
|
8164
8118
|
if (!isBareMode()) {
|
|
8165
8119
|
startDeferredPrefetches();
|
|
8166
|
-
import("./chunk-
|
|
8120
|
+
import("./chunk-bgyb0z0p.js").then((m) => m.startBackgroundHousekeeping());
|
|
8167
8121
|
if (process.env.USER_TYPE === "ant") {
|
|
8168
8122
|
import("./chunk-3nk79af8.js").then((m) => m.startSdkMemoryMonitor());
|
|
8169
8123
|
}
|
|
8170
8124
|
}
|
|
8171
8125
|
logSessionTelemetry();
|
|
8172
8126
|
profileCheckpoint("before_print_import");
|
|
8173
|
-
const { runHeadless } = await import("./chunk-
|
|
8127
|
+
const { runHeadless } = await import("./chunk-49bs7x5p.js");
|
|
8174
8128
|
profileCheckpoint("after_print_import");
|
|
8175
8129
|
runHeadless(inputPrompt, () => headlessStore.getState(), headlessStore.setState, commandsHeadless, tools, sdkMcpConfigs, agentDefinitions.activeAgents, {
|
|
8176
8130
|
continue: options.continue,
|
|
@@ -8207,7 +8161,7 @@ ${customInstructions}` : customInstructions;
|
|
|
8207
8161
|
cli_flag: options.model,
|
|
8208
8162
|
env_var: process.env.ANTHROPIC_MODEL,
|
|
8209
8163
|
settings_file: (getInitialSettings() || {}).model,
|
|
8210
|
-
subscriptionType:
|
|
8164
|
+
subscriptionType: null,
|
|
8211
8165
|
agent: agentSetting
|
|
8212
8166
|
});
|
|
8213
8167
|
const deprecationWarning = getModelDeprecationWarning(resolvedInitialModel);
|
|
@@ -8397,7 +8351,7 @@ ${customInstructions}` : customInstructions;
|
|
|
8397
8351
|
let resumeSucceeded = false;
|
|
8398
8352
|
try {
|
|
8399
8353
|
const resumeStart = performance.now();
|
|
8400
|
-
const { clearSessionCaches } = await import("./chunk-
|
|
8354
|
+
const { clearSessionCaches } = await import("./chunk-pe3n0w2t.js");
|
|
8401
8355
|
clearSessionCaches();
|
|
8402
8356
|
const result = await loadConversationForResume(undefined, undefined);
|
|
8403
8357
|
if (!result) {
|
|
@@ -8444,7 +8398,7 @@ ${customInstructions}` : customInstructions;
|
|
|
8444
8398
|
process.exit(1);
|
|
8445
8399
|
}
|
|
8446
8400
|
} else if (false) {} else if (false) {} else if (false) {} else if (options.resume || options.fromPr || teleport || remote !== null) {
|
|
8447
|
-
const { clearSessionCaches } = await import("./chunk-
|
|
8401
|
+
const { clearSessionCaches } = await import("./chunk-pe3n0w2t.js");
|
|
8448
8402
|
clearSessionCaches();
|
|
8449
8403
|
let messages = null;
|
|
8450
8404
|
let processedResume;
|
|
@@ -8519,8 +8473,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8519
8473
|
logError(toError(error));
|
|
8520
8474
|
return await exitWithError(root, `Error: ${errorMessage(error) || "Failed to authenticate"}`, () => gracefulShutdown(1));
|
|
8521
8475
|
}
|
|
8522
|
-
const
|
|
8523
|
-
const getAccessTokenForRemote = () => getTokensForRemote()?.accessToken ?? apiCreds.accessToken;
|
|
8476
|
+
const getAccessTokenForRemote = () => apiCreds.accessToken;
|
|
8524
8477
|
const remoteSessionConfig = createRemoteSessionConfig(createdSession.id, getAccessTokenForRemote, apiCreds.orgUUID, hasInitialPrompt);
|
|
8525
8478
|
const remoteSessionUrl = `${getRemoteSessionUrl(createdSession.id)}?m=0`;
|
|
8526
8479
|
const remoteInfoMessage = createSystemMessage(`/remote-control is active. Code in CLI or at ${remoteSessionUrl}`, "info");
|
|
@@ -8592,7 +8545,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8592
8545
|
`));
|
|
8593
8546
|
}
|
|
8594
8547
|
await validateGitState();
|
|
8595
|
-
const { teleportWithProgress } = await import("./chunk-
|
|
8548
|
+
const { teleportWithProgress } = await import("./chunk-j513wqe9.js");
|
|
8596
8549
|
const result = await teleportWithProgress(root, teleport);
|
|
8597
8550
|
setTeleportedSessionInfo({ sessionId: teleport });
|
|
8598
8551
|
messages = result.messages;
|
|
@@ -8849,7 +8802,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8849
8802
|
debug,
|
|
8850
8803
|
verbose
|
|
8851
8804
|
}) => {
|
|
8852
|
-
const { mcpServeHandler } = await import("./chunk-
|
|
8805
|
+
const { mcpServeHandler } = await import("./chunk-vhxrn87v.js");
|
|
8853
8806
|
await mcpServeHandler({ debug, verbose });
|
|
8854
8807
|
});
|
|
8855
8808
|
registerMcpAddCommand(mcp);
|
|
@@ -8857,107 +8810,98 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8857
8810
|
registerMcpXaaIdpCommand(mcp);
|
|
8858
8811
|
}
|
|
8859
8812
|
mcp.command("remove <name>").description("Remove an MCP server").option("-s, --scope <scope>", "Configuration scope (local, user, or project) - if not specified, removes from whichever scope it exists in").action(async (name, options) => {
|
|
8860
|
-
const { mcpRemoveHandler } = await import("./chunk-
|
|
8813
|
+
const { mcpRemoveHandler } = await import("./chunk-vhxrn87v.js");
|
|
8861
8814
|
await mcpRemoveHandler(name, options);
|
|
8862
8815
|
});
|
|
8863
8816
|
mcp.command("list").description("List configured MCP servers. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async () => {
|
|
8864
|
-
const { mcpListHandler } = await import("./chunk-
|
|
8817
|
+
const { mcpListHandler } = await import("./chunk-vhxrn87v.js");
|
|
8865
8818
|
await mcpListHandler();
|
|
8866
8819
|
});
|
|
8867
8820
|
mcp.command("get <name>").description("Get details about an MCP server. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async (name) => {
|
|
8868
|
-
const { mcpGetHandler } = await import("./chunk-
|
|
8821
|
+
const { mcpGetHandler } = await import("./chunk-vhxrn87v.js");
|
|
8869
8822
|
await mcpGetHandler(name);
|
|
8870
8823
|
});
|
|
8871
8824
|
mcp.command("add-json <name> <json>").description("Add an MCP server (stdio or SSE) with a JSON string").option("-s, --scope <scope>", "Configuration scope (local, user, or project)", "local").option("--client-secret", "Prompt for OAuth client secret (or set MCP_CLIENT_SECRET env var)").action(async (name, json, options) => {
|
|
8872
|
-
const { mcpAddJsonHandler } = await import("./chunk-
|
|
8825
|
+
const { mcpAddJsonHandler } = await import("./chunk-vhxrn87v.js");
|
|
8873
8826
|
await mcpAddJsonHandler(name, json, options);
|
|
8874
8827
|
});
|
|
8875
8828
|
mcp.command("add-from-claude-desktop").description("Import MCP servers from Claude Desktop (Mac and WSL only)").option("-s, --scope <scope>", "Configuration scope (local, user, or project)", "local").action(async (options) => {
|
|
8876
|
-
const { mcpAddFromDesktopHandler } = await import("./chunk-
|
|
8829
|
+
const { mcpAddFromDesktopHandler } = await import("./chunk-vhxrn87v.js");
|
|
8877
8830
|
await mcpAddFromDesktopHandler(options);
|
|
8878
8831
|
});
|
|
8879
8832
|
mcp.command("reset-project-choices").description("Reset all approved and rejected project-scoped (.mcp.json) servers within this project").action(async () => {
|
|
8880
|
-
const { mcpResetChoicesHandler } = await import("./chunk-
|
|
8833
|
+
const { mcpResetChoicesHandler } = await import("./chunk-vhxrn87v.js");
|
|
8881
8834
|
await mcpResetChoicesHandler();
|
|
8882
8835
|
});
|
|
8883
8836
|
if (false) {}
|
|
8884
8837
|
if (false) {}
|
|
8885
8838
|
if (false) {}
|
|
8886
8839
|
const auth = program2.command("auth").description("Manage authentication").configureHelp(createSortedHelpConfig());
|
|
8887
|
-
auth.command("login").description("Sign in to your Anthropic account").option("--email <email>", "Pre-populate email address on the login page").option("--sso", "Force SSO login flow").option("--console", "Use Anthropic Console (API usage billing) instead of Claude subscription").option("--claudeai", "Use Claude subscription (default)").action(async ({
|
|
8888
|
-
email,
|
|
8889
|
-
sso,
|
|
8890
|
-
console: useConsole,
|
|
8891
|
-
claudeai
|
|
8892
|
-
}) => {
|
|
8893
|
-
const { authLogin } = await import("./chunk-c6t24y8q.js");
|
|
8894
|
-
await authLogin({ email, sso, console: useConsole, claudeai });
|
|
8895
|
-
});
|
|
8896
8840
|
auth.command("status").description("Show authentication status").option("--json", "Output as JSON (default)").option("--text", "Output as human-readable text").action(async (opts) => {
|
|
8897
|
-
const { authStatus } = await import("./chunk-
|
|
8841
|
+
const { authStatus } = await import("./chunk-cfyvkbe5.js");
|
|
8898
8842
|
await authStatus(opts);
|
|
8899
8843
|
});
|
|
8900
8844
|
auth.command("logout").description("Log out from your Anthropic account").action(async () => {
|
|
8901
|
-
const { authLogout } = await import("./chunk-
|
|
8845
|
+
const { authLogout } = await import("./chunk-cfyvkbe5.js");
|
|
8902
8846
|
await authLogout();
|
|
8903
8847
|
});
|
|
8904
8848
|
const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
|
|
8905
8849
|
const pluginCmd = program2.command("plugin").alias("plugins").description("Manage Claude Code plugins").configureHelp(createSortedHelpConfig());
|
|
8906
8850
|
pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath, options) => {
|
|
8907
|
-
const { pluginValidateHandler } = await import("./chunk-
|
|
8851
|
+
const { pluginValidateHandler } = await import("./chunk-9z45660r.js");
|
|
8908
8852
|
await pluginValidateHandler(manifestPath, options);
|
|
8909
8853
|
});
|
|
8910
8854
|
pluginCmd.command("list").description("List installed plugins").option("--json", "Output as JSON").option("--available", "Include available plugins from marketplaces (requires --json)").addOption(coworkOption()).action(async (options) => {
|
|
8911
|
-
const { pluginListHandler } = await import("./chunk-
|
|
8855
|
+
const { pluginListHandler } = await import("./chunk-9z45660r.js");
|
|
8912
8856
|
await pluginListHandler(options);
|
|
8913
8857
|
});
|
|
8914
8858
|
const marketplaceCmd = pluginCmd.command("marketplace").description("Manage Claude Code marketplaces").configureHelp(createSortedHelpConfig());
|
|
8915
8859
|
marketplaceCmd.command("add <source>").description("Add a marketplace from a URL, path, or GitHub repo").addOption(coworkOption()).option("--sparse <paths...>", "Limit checkout to specific directories via git sparse-checkout (for monorepos). Example: --sparse .claude-plugin plugins").option("--scope <scope>", "Where to declare the marketplace: user (default), project, or local").action(async (source, options) => {
|
|
8916
|
-
const { marketplaceAddHandler } = await import("./chunk-
|
|
8860
|
+
const { marketplaceAddHandler } = await import("./chunk-9z45660r.js");
|
|
8917
8861
|
await marketplaceAddHandler(source, options);
|
|
8918
8862
|
});
|
|
8919
8863
|
marketplaceCmd.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").addOption(coworkOption()).action(async (options) => {
|
|
8920
|
-
const { marketplaceListHandler } = await import("./chunk-
|
|
8864
|
+
const { marketplaceListHandler } = await import("./chunk-9z45660r.js");
|
|
8921
8865
|
await marketplaceListHandler(options);
|
|
8922
8866
|
});
|
|
8923
8867
|
marketplaceCmd.command("remove <name>").alias("rm").description("Remove a configured marketplace").addOption(coworkOption()).action(async (name, options) => {
|
|
8924
|
-
const { marketplaceRemoveHandler } = await import("./chunk-
|
|
8868
|
+
const { marketplaceRemoveHandler } = await import("./chunk-9z45660r.js");
|
|
8925
8869
|
await marketplaceRemoveHandler(name, options);
|
|
8926
8870
|
});
|
|
8927
8871
|
marketplaceCmd.command("update [name]").description("Update marketplace(s) from their source - updates all if no name specified").addOption(coworkOption()).action(async (name, options) => {
|
|
8928
|
-
const { marketplaceUpdateHandler } = await import("./chunk-
|
|
8872
|
+
const { marketplaceUpdateHandler } = await import("./chunk-9z45660r.js");
|
|
8929
8873
|
await marketplaceUpdateHandler(name, options);
|
|
8930
8874
|
});
|
|
8931
8875
|
pluginCmd.command("install <plugin>").alias("i").description("Install a plugin from available marketplaces (use plugin@marketplace for specific marketplace)").option("-s, --scope <scope>", "Installation scope: user, project, or local", "user").addOption(coworkOption()).action(async (plugin, options) => {
|
|
8932
|
-
const { pluginInstallHandler } = await import("./chunk-
|
|
8876
|
+
const { pluginInstallHandler } = await import("./chunk-9z45660r.js");
|
|
8933
8877
|
await pluginInstallHandler(plugin, options);
|
|
8934
8878
|
});
|
|
8935
8879
|
pluginCmd.command("uninstall <plugin>").alias("remove").alias("rm").description("Uninstall an installed plugin").option("-s, --scope <scope>", "Uninstall from scope: user, project, or local", "user").option("--keep-data", "Preserve the plugin's persistent data directory (~/.claude/plugins/data/{id}/)").addOption(coworkOption()).action(async (plugin, options) => {
|
|
8936
|
-
const { pluginUninstallHandler } = await import("./chunk-
|
|
8880
|
+
const { pluginUninstallHandler } = await import("./chunk-9z45660r.js");
|
|
8937
8881
|
await pluginUninstallHandler(plugin, options);
|
|
8938
8882
|
});
|
|
8939
8883
|
pluginCmd.command("enable <plugin>").description("Enable a disabled plugin").option("-s, --scope <scope>", `Installation scope: ${VALID_INSTALLABLE_SCOPES.join(", ")} (default: auto-detect)`).addOption(coworkOption()).action(async (plugin, options) => {
|
|
8940
|
-
const { pluginEnableHandler } = await import("./chunk-
|
|
8884
|
+
const { pluginEnableHandler } = await import("./chunk-9z45660r.js");
|
|
8941
8885
|
await pluginEnableHandler(plugin, options);
|
|
8942
8886
|
});
|
|
8943
8887
|
pluginCmd.command("disable [plugin]").description("Disable an enabled plugin").option("-a, --all", "Disable all enabled plugins").option("-s, --scope <scope>", `Installation scope: ${VALID_INSTALLABLE_SCOPES.join(", ")} (default: auto-detect)`).addOption(coworkOption()).action(async (plugin, options) => {
|
|
8944
|
-
const { pluginDisableHandler } = await import("./chunk-
|
|
8888
|
+
const { pluginDisableHandler } = await import("./chunk-9z45660r.js");
|
|
8945
8889
|
await pluginDisableHandler(plugin, options);
|
|
8946
8890
|
});
|
|
8947
8891
|
pluginCmd.command("update <plugin>").description("Update a plugin to the latest version (restart required to apply)").option("-s, --scope <scope>", `Installation scope: ${VALID_UPDATE_SCOPES.join(", ")} (default: user)`).addOption(coworkOption()).action(async (plugin, options) => {
|
|
8948
|
-
const { pluginUpdateHandler } = await import("./chunk-
|
|
8892
|
+
const { pluginUpdateHandler } = await import("./chunk-9z45660r.js");
|
|
8949
8893
|
await pluginUpdateHandler(plugin, options);
|
|
8950
8894
|
});
|
|
8951
8895
|
program2.command("setup-token").description("Set up a long-lived authentication token (requires Claude subscription)").action(async () => {
|
|
8952
8896
|
const [{ setupTokenHandler }, { createRoot }] = await Promise.all([
|
|
8953
|
-
import("./chunk-
|
|
8897
|
+
import("./chunk-ey1pg5v8.js"),
|
|
8954
8898
|
import("./chunk-yyex5gsf.js")
|
|
8955
8899
|
]);
|
|
8956
8900
|
const root = await createRoot(getBaseRenderOptions(false));
|
|
8957
8901
|
await setupTokenHandler(root);
|
|
8958
8902
|
});
|
|
8959
8903
|
program2.command("agents").description("List configured agents").option("--setting-sources <sources>", "Comma-separated list of setting sources to load (user, project, local).").action(async () => {
|
|
8960
|
-
const { agentsHandler } = await import("./chunk-
|
|
8904
|
+
const { agentsHandler } = await import("./chunk-mmn62bh2.js");
|
|
8961
8905
|
await agentsHandler();
|
|
8962
8906
|
process.exit(0);
|
|
8963
8907
|
});
|
|
@@ -8966,7 +8910,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8966
8910
|
if (false) {}
|
|
8967
8911
|
program2.command("doctor").description("Check the health of your Claude Code auto-updater. Note: The workspace trust dialog is skipped and stdio servers from .mcp.json are spawned for health checks. Only use this command in directories you trust.").action(async () => {
|
|
8968
8912
|
const [{ doctorHandler }, { createRoot }] = await Promise.all([
|
|
8969
|
-
import("./chunk-
|
|
8913
|
+
import("./chunk-ey1pg5v8.js"),
|
|
8970
8914
|
import("./chunk-yyex5gsf.js")
|
|
8971
8915
|
]);
|
|
8972
8916
|
const root = await createRoot(getBaseRenderOptions(false));
|
|
@@ -8990,7 +8934,7 @@ Examples:
|
|
|
8990
8934
|
});
|
|
8991
8935
|
}
|
|
8992
8936
|
program2.command("install [target]").description("Install Claude Code native build. Use [target] to specify version (stable, latest, or specific version)").option("--force", "Force installation even if already installed").action(async (target, options) => {
|
|
8993
|
-
const { installHandler } = await import("./chunk-
|
|
8937
|
+
const { installHandler } = await import("./chunk-ey1pg5v8.js");
|
|
8994
8938
|
await installHandler(target, options);
|
|
8995
8939
|
});
|
|
8996
8940
|
if (process.env.USER_TYPE === "ant") {
|