@caspian2026/agent-sdk 0.0.2 → 0.0.4
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-gcpfxk0c.js → chunk-095vqmds.js} +3 -3
- package/dist/{chunk-mxr2s6d1.js → chunk-0fhm9z6c.js} +16 -16
- package/dist/{chunk-qfk94vcn.js → chunk-0g5cy3wj.js} +4 -4
- package/dist/{chunk-htpehq9t.js → chunk-0jtbeesf.js} +2 -2
- package/dist/{chunk-960ze3jj.js → chunk-0m8q98kb.js} +15 -15
- package/dist/{chunk-5pp28k2r.js → chunk-0ym2z0c7.js} +1 -1
- package/dist/{chunk-c5mz5vw2.js → chunk-0zjqngwf.js} +2 -2
- package/dist/{chunk-8y30k9pz.js → chunk-16ytyka3.js} +2 -2
- package/dist/{chunk-qq0phwn8.js → chunk-17e8efpd.js} +16 -16
- package/dist/{chunk-p39a677r.js → chunk-1avyrycw.js} +23 -23
- package/dist/{chunk-055q0a2m.js → chunk-1avzakfd.js} +2 -2
- package/dist/{chunk-177s15bv.js → chunk-1dgdjrm1.js} +1 -1
- package/dist/{chunk-k5ez1h65.js → chunk-1jgr1xmv.js} +15 -15
- package/dist/{chunk-jxpmkae9.js → chunk-1kjqfv1c.js} +17 -17
- package/dist/{chunk-3mr5ryx4.js → chunk-1mky0pny.js} +3 -3
- package/dist/{chunk-hyb749hd.js → chunk-1mm70p6f.js} +15 -15
- package/dist/{chunk-018smjq7.js → chunk-1rjn0mzk.js} +1 -1
- package/dist/{chunk-0htx82k2.js → chunk-21gmrwhs.js} +3 -3
- package/dist/{chunk-zb8f6h5g.js → chunk-2gs4s61w.js} +101 -101
- package/dist/{chunk-5nchekqe.js → chunk-2jk0g0ej.js} +3 -3
- package/dist/{chunk-8mkwsdk1.js → chunk-2vgdqkw9.js} +1 -1
- package/dist/{chunk-7gvwg1v9.js → chunk-2yec5665.js} +18 -18
- package/dist/{chunk-26hg7303.js → chunk-30wsnkge.js} +2 -2
- package/dist/{chunk-jfja8q7w.js → chunk-317wp0wn.js} +16 -16
- package/dist/{chunk-80a8vabn.js → chunk-34rht45y.js} +18 -18
- package/dist/{chunk-qygmcg7w.js → chunk-3g1vqhyx.js} +3 -3
- package/dist/{chunk-6vthy0fj.js → chunk-3sgqn9w2.js} +15 -15
- package/dist/{chunk-1xct96nd.js → chunk-3x1b70w1.js} +15 -15
- package/dist/{chunk-ysanv95x.js → chunk-425w66ka.js} +1 -1
- package/dist/{chunk-70cw4cg9.js → chunk-4eersz9w.js} +8 -8
- package/dist/{chunk-682qgta2.js → chunk-4k0hbg1a.js} +15 -15
- package/dist/{chunk-5apfzkpy.js → chunk-4m9df5ef.js} +2 -2
- package/dist/{chunk-2h05vtpv.js → chunk-4var0kxc.js} +2 -2
- package/dist/{chunk-beg7bdyz.js → chunk-4vypk32f.js} +15 -15
- package/dist/{chunk-fshfxw2q.js → chunk-4w05nzbr.js} +1 -1
- package/dist/{chunk-f1m9pect.js → chunk-4xb3tk2t.js} +15 -15
- package/dist/{chunk-wjcq2vkf.js → chunk-5315xq5p.js} +15 -15
- package/dist/{chunk-537qfvn5.js → chunk-55te0vge.js} +17 -17
- package/dist/{chunk-xzhaa7gd.js → chunk-560c8jwm.js} +15 -15
- package/dist/{chunk-3yprydpw.js → chunk-56anbhek.js} +16 -16
- package/dist/{chunk-prcah3ys.js → chunk-57j7xceg.js} +15 -15
- package/dist/{chunk-p1zj9mg9.js → chunk-5bas1bgw.js} +15 -15
- package/dist/{chunk-f0rzvqmq.js → chunk-5j832wpx.js} +1 -1
- package/dist/{chunk-q6xs51jj.js → chunk-616gakh4.js} +2 -2
- package/dist/{chunk-2352ts05.js → chunk-6dsqeb38.js} +5 -5
- package/dist/{chunk-n18q5yqs.js → chunk-6g9cwd71.js} +25 -25
- package/dist/{chunk-k591cwbg.js → chunk-6x4zn0e1.js} +16 -16
- package/dist/{chunk-gkyzz8er.js → chunk-7cstfzdy.js} +2 -2
- package/dist/{chunk-jy9rxxqe.js → chunk-7rnqsng2.js} +3 -3
- package/dist/{chunk-d1pyf9as.js → chunk-7rz6y0tq.js} +10 -10
- package/dist/{chunk-zesnmkg3.js → chunk-7wdcfh4q.js} +3 -3
- package/dist/{chunk-8qhxyqj9.js → chunk-820f1c21.js} +15 -15
- package/dist/{chunk-nw9t5pq9.js → chunk-82n4y2dc.js} +1 -1
- package/dist/{chunk-zf47r1b7.js → chunk-88e7rxwn.js} +15 -15
- package/dist/{chunk-0kj8bq80.js → chunk-89cxsbxc.js} +15 -15
- package/dist/{chunk-v8g3kad0.js → chunk-89hcdy9t.js} +16 -16
- package/dist/{chunk-ratvcbmn.js → chunk-8aj0rx52.js} +16 -16
- package/dist/{chunk-qk7dfae6.js → chunk-8hpq2659.js} +1 -1
- package/dist/{chunk-ctdg0qxh.js → chunk-8se4t1n2.js} +22 -22
- package/dist/{chunk-q7zpf4r2.js → chunk-8vq3knm0.js} +1 -1
- package/dist/{chunk-3qbdzsvm.js → chunk-8xwx1xtg.js} +2 -2
- package/dist/{chunk-zshzdw1n.js → chunk-8ydbrnf1.js} +16 -16
- package/dist/{chunk-evp5pb9x.js → chunk-987n7wxq.js} +21 -21
- package/dist/{chunk-5fs6nkjr.js → chunk-9cvywhh8.js} +1 -1
- package/dist/{chunk-ev3qkf76.js → chunk-9hqrbv6v.js} +16 -16
- package/dist/{chunk-8n42zyfx.js → chunk-9p155d20.js} +2 -2
- package/dist/{chunk-q8c88vjm.js → chunk-9p88n9h9.js} +1 -1
- package/dist/{chunk-qj2e1apf.js → chunk-9x21rzc2.js} +63 -18
- package/dist/{chunk-tqmtkm0k.js → chunk-9yp4n9y7.js} +15 -15
- package/dist/{chunk-nebezy1d.js → chunk-a30v3z9j.js} +1 -1
- package/dist/{chunk-9grztvcg.js → chunk-a3h0jbbh.js} +18 -18
- package/dist/{chunk-ne5r3k03.js → chunk-aqhpkb8j.js} +16 -16
- package/dist/{chunk-vmbfv1y5.js → chunk-aqzymhrn.js} +2 -2
- package/dist/{chunk-hqqkj5pg.js → chunk-arhcgn51.js} +2 -2
- package/dist/{chunk-en8wkxh7.js → chunk-as5rvw4n.js} +4 -4
- package/dist/{chunk-6maej1hh.js → chunk-at1f2ywf.js} +2 -2
- package/dist/{chunk-tjcfpk38.js → chunk-b971scpe.js} +2 -2
- package/dist/{chunk-1c4j7qn2.js → chunk-bfzvmq85.js} +17 -17
- package/dist/{chunk-3389cj3w.js → chunk-bv1e9zhq.js} +15 -15
- package/dist/{chunk-4dn3n459.js → chunk-bvveczfm.js} +15 -15
- package/dist/{chunk-pckwmrzd.js → chunk-c11pmm4v.js} +3 -3
- package/dist/{chunk-efgjfast.js → chunk-c91nypz4.js} +1 -1
- package/dist/{chunk-7m2hp89m.js → chunk-c94meqzs.js} +3 -3
- package/dist/{chunk-8hj8ms5q.js → chunk-cfrxsh8r.js} +4 -4
- package/dist/{chunk-cxq7gc42.js → chunk-cgb2gp86.js} +15 -15
- package/dist/{chunk-fn1vvj8k.js → chunk-ckn5yj8j.js} +15 -15
- package/dist/{chunk-vzgkedm9.js → chunk-cm2v5g1p.js} +645 -754
- package/dist/{chunk-sw9ax3ym.js → chunk-cqa1kg0f.js} +19 -19
- package/dist/{chunk-7acgdm7x.js → chunk-cvm2tmwg.js} +3 -3
- package/dist/{chunk-sfcpjh4r.js → chunk-cyv6ms4j.js} +15 -15
- package/dist/{chunk-rvnb2gn6.js → chunk-d57akz81.js} +15 -15
- package/dist/{chunk-msecaxyj.js → chunk-d6rypdxt.js} +1 -1
- package/dist/{chunk-e97mp86b.js → chunk-dg0smfkn.js} +21 -21
- package/dist/{chunk-7yxvpj5j.js → chunk-dpf0m4gm.js} +16 -16
- package/dist/{chunk-hx3j6n92.js → chunk-dpns9q66.js} +16 -16
- package/dist/{chunk-mpbfkp8j.js → chunk-ds0s8q1e.js} +15 -15
- package/dist/{chunk-nhapyawz.js → chunk-dz73wv84.js} +55 -55
- package/dist/{chunk-vjn8mbcw.js → chunk-e3b3cm2x.js} +3 -3
- package/dist/{chunk-vb3x3cxe.js → chunk-e3xnqgg2.js} +24 -24
- package/dist/{chunk-7kcm5hn2.js → chunk-e503mhac.js} +3 -3
- package/dist/{chunk-q3jr5t07.js → chunk-e5t5eefc.js} +2 -2
- package/dist/{chunk-tp2jxmcx.js → chunk-e7efcp3k.js} +19 -19
- package/dist/{chunk-pcb7fbyg.js → chunk-ew3q65ss.js} +3 -3
- package/dist/{chunk-jr1xm1dd.js → chunk-ezaw2s8t.js} +20 -20
- package/dist/{chunk-2nv3d0he.js → chunk-f2fr72ts.js} +15 -15
- package/dist/{chunk-exah13mz.js → chunk-f5t2phet.js} +15 -15
- package/dist/{chunk-jk69qtzx.js → chunk-fbb45n14.js} +15 -15
- package/dist/{chunk-zghtdbat.js → chunk-fcpekt4c.js} +3 -3
- package/dist/{chunk-kajf3jgq.js → chunk-fxx785xe.js} +21 -21
- package/dist/{chunk-0kxcq8h9.js → chunk-g1ywy5br.js} +16 -16
- package/dist/{chunk-505mxxa9.js → chunk-ga86yjm1.js} +4 -4
- package/dist/{chunk-6t8yqfks.js → chunk-gdg6805t.js} +17 -17
- package/dist/{chunk-qwqjesx7.js → chunk-gdhz1652.js} +5 -5
- package/dist/{chunk-cdhmrbj4.js → chunk-gf5znw5n.js} +46 -46
- package/dist/{chunk-q6cfkntd.js → chunk-gqy9hsnm.js} +20 -20
- package/dist/{chunk-yff68ex1.js → chunk-gvrjgq1n.js} +2 -2
- package/dist/{chunk-wby6yd4m.js → chunk-h7m1p3rj.js} +16 -16
- package/dist/{chunk-my40g5hp.js → chunk-h8b7g6wh.js} +17 -17
- package/dist/{chunk-hchy0hq6.js → chunk-h95xc5bs.js} +3 -3
- package/dist/{chunk-2n7bbxm6.js → chunk-hhykgfc1.js} +16 -16
- package/dist/{chunk-69fgaak0.js → chunk-hvxyk4sa.js} +20 -20
- package/dist/{chunk-jyw3np47.js → chunk-j0amyr6k.js} +3 -3
- package/dist/{chunk-5rt4b8q9.js → chunk-j1ajjc3e.js} +23 -23
- package/dist/{chunk-kqggbte3.js → chunk-j4tk2ycp.js} +15 -15
- package/dist/{chunk-gxahdggv.js → chunk-jb40j5s1.js} +1 -1
- package/dist/{chunk-c37j5zxe.js → chunk-jmkn11my.js} +4 -4
- package/dist/{chunk-46hdszda.js → chunk-jpc9zwsk.js} +1 -1
- package/dist/{chunk-21bcvwr7.js → chunk-jybbewy1.js} +2 -2
- package/dist/{chunk-wtjt9qyk.js → chunk-jz892s9k.js} +10 -10
- package/dist/{chunk-pkkngdv0.js → chunk-k1k9c7z4.js} +64 -64
- package/dist/{chunk-a8792r1c.js → chunk-kdy55ceb.js} +3 -3
- package/dist/{chunk-rsq0h0rz.js → chunk-kndzdvxv.js} +21 -21
- package/dist/{chunk-6gh20s05.js → chunk-ks3ha3tz.js} +16 -16
- package/dist/{chunk-cc2tg4q8.js → chunk-ky39hkg1.js} +1 -1
- package/dist/{chunk-xd6kmmb1.js → chunk-kyqa1yzb.js} +22 -22
- package/dist/{chunk-pqvr8jq7.js → chunk-m3t8ps5y.js} +16 -16
- package/dist/{chunk-h6fsks9j.js → chunk-m5e40qm8.js} +16 -16
- package/dist/{chunk-430yrtmk.js → chunk-mbaqbx3h.js} +16 -16
- package/dist/{chunk-vrf54kmt.js → chunk-mch06cr9.js} +1 -1
- package/dist/{chunk-572vjq78.js → chunk-mk1y74w7.js} +3 -3
- package/dist/{chunk-2vqrdwx9.js → chunk-mng7stmp.js} +5 -5
- package/dist/{chunk-k2rybwww.js → chunk-mpn7t2e3.js} +16 -16
- package/dist/{chunk-k3939ggz.js → chunk-mprs88r7.js} +15 -15
- package/dist/{chunk-kr6qfwq0.js → chunk-ms362nhv.js} +1 -1
- package/dist/{chunk-bktfq0ns.js → chunk-mtnm04rp.js} +21 -21
- package/dist/{chunk-qj2mk79w.js → chunk-mw63s1zq.js} +2 -2
- package/dist/{chunk-ped973jn.js → chunk-n22dkg3y.js} +2 -2
- package/dist/{chunk-b0qptb1k.js → chunk-njrt3tac.js} +1 -1
- package/dist/{chunk-nxgsnh2y.js → chunk-nk82j7r2.js} +1 -1
- package/dist/{chunk-ebqwkhyf.js → chunk-npzbmwxy.js} +63 -63
- package/dist/{chunk-tvgvt220.js → chunk-nqn45znr.js} +9 -9
- package/dist/{chunk-7h2ybnf3.js → chunk-p13fw39x.js} +15 -15
- package/dist/{chunk-q6m26rc8.js → chunk-p602tkkz.js} +15 -15
- package/dist/{chunk-6t4a9cgj.js → chunk-p6zna4pn.js} +7 -7
- package/dist/{chunk-chakj069.js → chunk-q09vd0nw.js} +2 -2
- package/dist/{chunk-kjh11txh.js → chunk-q34bcbww.js} +15 -15
- package/dist/{chunk-spybh2dy.js → chunk-qav4kabk.js} +15 -15
- package/dist/{chunk-68w91pzt.js → chunk-qcnhb4cd.js} +7 -7
- package/dist/{chunk-w0yhbmxn.js → chunk-qqqaksgr.js} +18 -18
- package/dist/{chunk-zpmwvd09.js → chunk-qt0ddqas.js} +2 -2
- package/dist/{chunk-bdrjvs5k.js → chunk-qvh1w3t7.js} +2 -2
- package/dist/{chunk-nb6abcch.js → chunk-r6kaak61.js} +2 -2
- package/dist/{chunk-1yrcnrs7.js → chunk-rh6nm7zk.js} +16 -16
- package/dist/{chunk-2h0y6m16.js → chunk-rm2vtv77.js} +4 -4
- package/dist/{chunk-ahr1r7c6.js → chunk-rypet27a.js} +14 -14
- package/dist/{chunk-10qhq6f8.js → chunk-s7fh7n8s.js} +7 -7
- package/dist/{chunk-n0kmh4ra.js → chunk-sgr54ekm.js} +1 -1
- package/dist/{chunk-46hd1gyd.js → chunk-sv4cyh4x.js} +1 -1
- package/dist/{chunk-yg4vgpxs.js → chunk-t023rz4p.js} +2 -2
- package/dist/{chunk-19e603rv.js → chunk-t92cwjf4.js} +15 -15
- package/dist/{chunk-162ewhvy.js → chunk-th4n75pg.js} +15 -15
- package/dist/{chunk-p11xp4xp.js → chunk-tkt32f37.js} +1 -1
- package/dist/{chunk-jss0azv7.js → chunk-tncasfc8.js} +15 -15
- package/dist/{chunk-e2mv8ts8.js → chunk-tyhxfyv5.js} +16 -16
- package/dist/{chunk-qzj4e8fn.js → chunk-vajwapkf.js} +4 -4
- package/dist/{chunk-d4kwjqjy.js → chunk-vn5gr8dp.js} +1 -1
- package/dist/{chunk-e8p3fy6v.js → chunk-vq260rpw.js} +15 -15
- package/dist/{chunk-m1cehfta.js → chunk-vqp4phq0.js} +15 -15
- package/dist/{chunk-d7f1pzkq.js → chunk-vsqwd13w.js} +3 -3
- package/dist/{chunk-3e20cj49.js → chunk-vvkb8ej8.js} +4 -4
- package/dist/{chunk-npnvheft.js → chunk-w1g29evv.js} +18 -18
- package/dist/{chunk-waqwgprq.js → chunk-wcmyztt6.js} +25 -25
- package/dist/{chunk-s4cb0bcb.js → chunk-wr3pd88n.js} +1 -1
- package/dist/{chunk-w004kfw0.js → chunk-wva2xtyc.js} +23 -23
- package/dist/{chunk-e4bhfc6d.js → chunk-wwet4ffh.js} +15 -15
- package/dist/{chunk-ercvcek8.js → chunk-x1r3c099.js} +15 -15
- package/dist/{chunk-46n7byh8.js → chunk-x722mdg1.js} +18 -18
- package/dist/{chunk-e4p1jbs4.js → chunk-x94btg29.js} +3 -3
- package/dist/{chunk-0jmt5sx1.js → chunk-xcvyzxak.js} +15 -15
- package/dist/{chunk-rx278zpa.js → chunk-xd6f7sq8.js} +1 -1
- package/dist/{chunk-jgwd85hp.js → chunk-xecv7nyz.js} +18 -18
- package/dist/{chunk-hzgnejb1.js → chunk-xj4177ny.js} +2 -2
- package/dist/{chunk-p1hwrf72.js → chunk-xnv6kb39.js} +6 -6
- package/dist/{chunk-etgh9xvt.js → chunk-xq2k0708.js} +17 -17
- package/dist/{chunk-fbvw6wq9.js → chunk-xt34mfm4.js} +23 -23
- package/dist/{chunk-bvf2z3g6.js → chunk-xv460e3d.js} +18 -18
- package/dist/{chunk-j3zhb8vv.js → chunk-xwg327ys.js} +1 -1
- package/dist/{chunk-pxdzy0jh.js → chunk-xz4md1nk.js} +17 -17
- package/dist/{chunk-b2fd462a.js → chunk-xz655xxa.js} +1 -1
- package/dist/{chunk-kbm69rtz.js → chunk-y0fhjxef.js} +2 -2
- package/dist/{chunk-35sgv3er.js → chunk-y2p1r9d8.js} +3 -3
- package/dist/{chunk-kvfg8eeg.js → chunk-y30xrr37.js} +1 -1
- package/dist/{chunk-zqncgyf6.js → chunk-y8ncxg44.js} +16 -16
- package/dist/{chunk-zr6mz36s.js → chunk-y9kxzntj.js} +2 -2
- package/dist/{chunk-50bay5qy.js → chunk-yc0k454w.js} +27 -27
- package/dist/{chunk-15sfg4bs.js → chunk-yc23zxmj.js} +1 -1
- package/dist/{chunk-v0qraze5.js → chunk-yfyfkpkr.js} +15 -15
- package/dist/{chunk-mg7pbk0r.js → chunk-ym5m3v80.js} +1 -1
- package/dist/{chunk-mpk1sjyk.js → chunk-ysh2b44y.js} +23 -23
- package/dist/{chunk-yk62vxj2.js → chunk-ywchtr3y.js} +7 -7
- package/dist/{chunk-1xvcvdef.js → chunk-z2txyqmj.js} +17 -17
- package/dist/{chunk-zx5kw7z4.js → chunk-z5d6k0by.js} +2 -2
- package/dist/{chunk-gdg6411p.js → chunk-zdq8eg01.js} +15 -15
- package/dist/{chunk-tc1aazk4.js → chunk-zegpeqny.js} +16 -16
- package/dist/{chunk-5dmhsqap.js → chunk-zg68a3rk.js} +2 -2
- package/dist/cli.js +5 -5
- package/dist/sdk/query.cjs +407 -0
- package/dist/sdk/query.js +372 -0
- package/package.json +129 -122
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-arhcgn51.js";
|
|
3
3
|
import {
|
|
4
4
|
cliError,
|
|
5
5
|
cliOk
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
filterExistingPaths,
|
|
12
12
|
getKnownPathsForRepo,
|
|
13
13
|
updateGithubRepoPathMapping
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-1dgdjrm1.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-dpf0m4gm.js";
|
|
22
22
|
import {
|
|
23
23
|
processResumedConversation,
|
|
24
24
|
skillChangeDetector
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-s7fh7n8s.js";
|
|
26
26
|
import {
|
|
27
27
|
installAsciicastRecorder
|
|
28
28
|
} from "./chunk-hh3k5s1s.js";
|
|
@@ -32,11 +32,11 @@ import {
|
|
|
32
32
|
} from "./chunk-xxw9a0bq.js";
|
|
33
33
|
import {
|
|
34
34
|
createStatsStore
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-0ym2z0c7.js";
|
|
36
36
|
import {
|
|
37
37
|
onChangeAppState
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import"./chunk-
|
|
38
|
+
} from "./chunk-1mky0pny.js";
|
|
39
|
+
import"./chunk-2vgdqkw9.js";
|
|
40
40
|
import {
|
|
41
41
|
seedEarlyInput,
|
|
42
42
|
stopCapturingEarlyInput
|
|
@@ -44,25 +44,25 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
init_partition,
|
|
46
46
|
partition_default
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-jb40j5s1.js";
|
|
48
48
|
import {
|
|
49
49
|
init_setup,
|
|
50
50
|
setupClaudeInChrome,
|
|
51
51
|
shouldAutoEnableClaudeInChrome,
|
|
52
52
|
shouldEnableClaudeInChrome
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-sgr54ekm.js";
|
|
54
54
|
import {
|
|
55
55
|
VALID_INSTALLABLE_SCOPES,
|
|
56
56
|
VALID_UPDATE_SCOPES
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import"./chunk-
|
|
57
|
+
} from "./chunk-095vqmds.js";
|
|
58
|
+
import"./chunk-b971scpe.js";
|
|
59
59
|
import {
|
|
60
60
|
init_releaseNotes,
|
|
61
61
|
migrateChangelogFromConfig
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import"./chunk-
|
|
64
|
-
import"./chunk-
|
|
65
|
-
import"./chunk-
|
|
62
|
+
} from "./chunk-425w66ka.js";
|
|
63
|
+
import"./chunk-616gakh4.js";
|
|
64
|
+
import"./chunk-1avzakfd.js";
|
|
65
|
+
import"./chunk-8xwx1xtg.js";
|
|
66
66
|
import {
|
|
67
67
|
BROWSER_TOOLS,
|
|
68
68
|
init_src as init_src2
|
|
@@ -329,11 +329,11 @@ import {
|
|
|
329
329
|
validateSessionRepository,
|
|
330
330
|
validateUuid,
|
|
331
331
|
waitForPolicyLimitsToLoad
|
|
332
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-cm2v5g1p.js";
|
|
333
333
|
import {
|
|
334
334
|
exports_teammateModeSnapshot,
|
|
335
335
|
init_teammateModeSnapshot
|
|
336
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-jpc9zwsk.js";
|
|
337
337
|
import"./chunk-hwfknpxv.js";
|
|
338
338
|
import"./chunk-4nspekjp.js";
|
|
339
339
|
import {
|
|
@@ -345,49 +345,49 @@ import {
|
|
|
345
345
|
CLAUDE_IN_CHROME_SKILL_HINT,
|
|
346
346
|
init_prompt as init_prompt6
|
|
347
347
|
} from "./chunk-1gx78081.js";
|
|
348
|
-
import"./chunk-
|
|
349
|
-
import"./chunk-ehtwnxpg.js";
|
|
350
|
-
import"./chunk-68w91pzt.js";
|
|
351
|
-
import {
|
|
352
|
-
createEmptyAttributionState,
|
|
353
|
-
init_commitAttribution
|
|
354
|
-
} from "./chunk-s4cb0bcb.js";
|
|
355
|
-
import {
|
|
356
|
-
init_worktreeModeEnabled,
|
|
357
|
-
isWorktreeModeEnabled
|
|
358
|
-
} from "./chunk-cgfdkzhb.js";
|
|
359
|
-
import"./chunk-bxcfz5gy.js";
|
|
348
|
+
import"./chunk-qcnhb4cd.js";
|
|
360
349
|
import {
|
|
361
350
|
DEFAULT_TASKS_MODE_TASK_LIST_ID,
|
|
362
351
|
TASK_STATUSES,
|
|
363
352
|
exports_teammate,
|
|
364
353
|
init_tasks,
|
|
365
354
|
init_teammate
|
|
366
|
-
} from "./chunk-
|
|
355
|
+
} from "./chunk-a30v3z9j.js";
|
|
356
|
+
import"./chunk-2gzv8nrw.js";
|
|
357
|
+
import"./chunk-ehtwnxpg.js";
|
|
358
|
+
import {
|
|
359
|
+
createEmptyAttributionState,
|
|
360
|
+
init_commitAttribution
|
|
361
|
+
} from "./chunk-wr3pd88n.js";
|
|
367
362
|
import {
|
|
368
363
|
CLAUDE_IN_CHROME_MCP_SERVER_NAME,
|
|
369
364
|
init_common,
|
|
370
365
|
isClaudeInChromeMCPServer
|
|
371
366
|
} from "./chunk-wayfjcwt.js";
|
|
367
|
+
import {
|
|
368
|
+
init_worktreeModeEnabled,
|
|
369
|
+
isWorktreeModeEnabled
|
|
370
|
+
} from "./chunk-cgfdkzhb.js";
|
|
371
|
+
import"./chunk-bxcfz5gy.js";
|
|
372
372
|
import {
|
|
373
373
|
init_referral,
|
|
374
374
|
prefetchPassesEligibility
|
|
375
|
-
} from "./chunk-
|
|
375
|
+
} from "./chunk-y0fhjxef.js";
|
|
376
376
|
import"./chunk-j5bth84e.js";
|
|
377
|
-
import"./chunk-
|
|
377
|
+
import"./chunk-nk82j7r2.js";
|
|
378
378
|
import"./chunk-68ffk5qa.js";
|
|
379
379
|
import"./chunk-ps49ymvj.js";
|
|
380
|
-
import"./chunk-bmbq6nt1.js";
|
|
381
|
-
import"./chunk-15sfg4bs.js";
|
|
382
380
|
import"./chunk-p7vkh4wx.js";
|
|
381
|
+
import"./chunk-bmbq6nt1.js";
|
|
382
|
+
import"./chunk-yc23zxmj.js";
|
|
383
383
|
import {
|
|
384
384
|
fetchSession,
|
|
385
385
|
init_api,
|
|
386
386
|
prepareApiRequest
|
|
387
|
-
} from "./chunk-
|
|
387
|
+
} from "./chunk-njrt3tac.js";
|
|
388
388
|
import"./chunk-m87bhhqv.js";
|
|
389
|
-
import"./chunk-
|
|
390
|
-
import"./chunk-
|
|
389
|
+
import"./chunk-xwg327ys.js";
|
|
390
|
+
import"./chunk-xz655xxa.js";
|
|
391
391
|
import"./chunk-c11swzas.js";
|
|
392
392
|
import"./chunk-chsyvavm.js";
|
|
393
393
|
import"./chunk-5rv9c8yd.js";
|
|
@@ -477,7 +477,7 @@ import {
|
|
|
477
477
|
startMdmRawRead,
|
|
478
478
|
updateSettingsForSource,
|
|
479
479
|
validateForceLoginOrg
|
|
480
|
-
} from "./chunk-
|
|
480
|
+
} from "./chunk-e7efcp3k.js";
|
|
481
481
|
import {
|
|
482
482
|
init_json,
|
|
483
483
|
safeParseJSON
|
|
@@ -486,12 +486,6 @@ import {
|
|
|
486
486
|
init_windowsPaths,
|
|
487
487
|
setShellIfWindows
|
|
488
488
|
} from "./chunk-1ax1znzj.js";
|
|
489
|
-
import {
|
|
490
|
-
configureGlobalAgents,
|
|
491
|
-
configureGlobalMTLS,
|
|
492
|
-
init_mtls,
|
|
493
|
-
init_proxy
|
|
494
|
-
} from "./chunk-wha6v7za.js";
|
|
495
489
|
import {
|
|
496
490
|
count,
|
|
497
491
|
init_array,
|
|
@@ -505,6 +499,12 @@ import {
|
|
|
505
499
|
init_lazySchema,
|
|
506
500
|
lazySchema
|
|
507
501
|
} from "./chunk-64c1avct.js";
|
|
502
|
+
import {
|
|
503
|
+
configureGlobalAgents,
|
|
504
|
+
configureGlobalMTLS,
|
|
505
|
+
init_mtls,
|
|
506
|
+
init_proxy
|
|
507
|
+
} from "./chunk-wha6v7za.js";
|
|
508
508
|
import"./chunk-8g5pe1gr.js";
|
|
509
509
|
import"./chunk-4cp6193g.js";
|
|
510
510
|
import {
|
|
@@ -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-xd6f7sq8.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-vq260rpw.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-2yec5665.js");
|
|
3351
|
+
const { REPL } = await import("./chunk-npzbmwxy.js");
|
|
3352
3352
|
await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
|
|
3353
3353
|
...appProps,
|
|
3354
3354
|
children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(REPL, {
|
|
@@ -3804,7 +3804,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3804
3804
|
let onboardingShown = false;
|
|
3805
3805
|
if (!config.theme || !config.hasCompletedOnboarding) {
|
|
3806
3806
|
onboardingShown = true;
|
|
3807
|
-
const { Onboarding } = await import("./chunk-
|
|
3807
|
+
const { Onboarding } = await import("./chunk-hvxyk4sa.js");
|
|
3808
3808
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Onboarding, {
|
|
3809
3809
|
onDone: () => {
|
|
3810
3810
|
completeOnboarding();
|
|
@@ -3814,7 +3814,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3814
3814
|
}
|
|
3815
3815
|
if (!isEnvTruthy(process.env.CLAUBBIT)) {
|
|
3816
3816
|
if (!checkHasTrustDialogAccepted()) {
|
|
3817
|
-
const { TrustDialog } = await import("./chunk-
|
|
3817
|
+
const { TrustDialog } = await import("./chunk-q34bcbww.js");
|
|
3818
3818
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(TrustDialog, {
|
|
3819
3819
|
commands,
|
|
3820
3820
|
onDone: done
|
|
@@ -3830,7 +3830,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3830
3830
|
}
|
|
3831
3831
|
if (await shouldShowClaudeMdExternalIncludesWarning()) {
|
|
3832
3832
|
const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
|
|
3833
|
-
const { ClaudeMdExternalIncludesDialog } = await import("./chunk-
|
|
3833
|
+
const { ClaudeMdExternalIncludesDialog } = await import("./chunk-0fhm9z6c.js");
|
|
3834
3834
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeMdExternalIncludesDialog, {
|
|
3835
3835
|
onDone: done,
|
|
3836
3836
|
isStandaloneDialog: true,
|
|
@@ -3845,7 +3845,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3845
3845
|
applyConfigEnvironmentVariables();
|
|
3846
3846
|
setImmediate(() => initializeTelemetryAfterTrust());
|
|
3847
3847
|
if (await isQualifiedForGrove()) {
|
|
3848
|
-
const { GroveDialog } = await import("./chunk-
|
|
3848
|
+
const { GroveDialog } = await import("./chunk-317wp0wn.js");
|
|
3849
3849
|
const decision = await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(GroveDialog, {
|
|
3850
3850
|
showIfAlreadyViewed: false,
|
|
3851
3851
|
location: onboardingShown ? "onboarding" : "policy_update_modal",
|
|
@@ -3861,7 +3861,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3861
3861
|
const customApiKeyTruncated = normalizeApiKeyForConfig(process.env.ANTHROPIC_API_KEY);
|
|
3862
3862
|
const keyStatus = getCustomApiKeyStatus(customApiKeyTruncated);
|
|
3863
3863
|
if (keyStatus === "new") {
|
|
3864
|
-
const { ApproveApiKey } = await import("./chunk-
|
|
3864
|
+
const { ApproveApiKey } = await import("./chunk-g1ywy5br.js");
|
|
3865
3865
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ApproveApiKey, {
|
|
3866
3866
|
customApiKeyTruncated,
|
|
3867
3867
|
onDone: done
|
|
@@ -3869,7 +3869,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3869
3869
|
}
|
|
3870
3870
|
}
|
|
3871
3871
|
if ((permissionMode === "bypassPermissions" || allowDangerouslySkipPermissions) && !hasSkipDangerousModePermissionPrompt()) {
|
|
3872
|
-
const { BypassPermissionsModeDialog } = await import("./chunk-
|
|
3872
|
+
const { BypassPermissionsModeDialog } = await import("./chunk-qav4kabk.js");
|
|
3873
3873
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(BypassPermissionsModeDialog, {
|
|
3874
3874
|
onAccept: done
|
|
3875
3875
|
}, undefined, false, undefined, this));
|
|
@@ -3877,7 +3877,7 @@ async function showSetupScreens(root, permissionMode, allowDangerouslySkipPermis
|
|
|
3877
3877
|
if (false) {}
|
|
3878
3878
|
if (false) {}
|
|
3879
3879
|
if (claudeInChrome && !getGlobalConfig().hasCompletedClaudeInChromeOnboarding) {
|
|
3880
|
-
const { ClaudeInChromeOnboarding } = await import("./chunk-
|
|
3880
|
+
const { ClaudeInChromeOnboarding } = await import("./chunk-h95xc5bs.js");
|
|
3881
3881
|
await showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(ClaudeInChromeOnboarding, {
|
|
3882
3882
|
onDone: done
|
|
3883
3883
|
}, undefined, false, undefined, this));
|
|
@@ -3938,7 +3938,7 @@ function getRenderContext(exitOnCtrlC) {
|
|
|
3938
3938
|
init_KeybindingProviderSetup();
|
|
3939
3939
|
var jsx_dev_runtime7 = __toESM(require_jsx_dev_runtime(), 1);
|
|
3940
3940
|
async function launchInvalidSettingsDialog(root, props) {
|
|
3941
|
-
const { InvalidSettingsDialog } = await import("./chunk-
|
|
3941
|
+
const { InvalidSettingsDialog } = await import("./chunk-8ydbrnf1.js");
|
|
3942
3942
|
return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(InvalidSettingsDialog, {
|
|
3943
3943
|
settingsErrors: props.settingsErrors,
|
|
3944
3944
|
onContinue: done,
|
|
@@ -3946,7 +3946,7 @@ async function launchInvalidSettingsDialog(root, props) {
|
|
|
3946
3946
|
}, undefined, false, undefined, this));
|
|
3947
3947
|
}
|
|
3948
3948
|
async function launchTeleportResumeWrapper(root) {
|
|
3949
|
-
const { TeleportResumeWrapper } = await import("./chunk-
|
|
3949
|
+
const { TeleportResumeWrapper } = await import("./chunk-5315xq5p.js");
|
|
3950
3950
|
return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportResumeWrapper, {
|
|
3951
3951
|
onComplete: done,
|
|
3952
3952
|
onCancel: () => done(null),
|
|
@@ -3954,7 +3954,7 @@ async function launchTeleportResumeWrapper(root) {
|
|
|
3954
3954
|
}, undefined, false, undefined, this));
|
|
3955
3955
|
}
|
|
3956
3956
|
async function launchTeleportRepoMismatchDialog(root, props) {
|
|
3957
|
-
const { TeleportRepoMismatchDialog } = await import("./chunk-
|
|
3957
|
+
const { TeleportRepoMismatchDialog } = await import("./chunk-56anbhek.js");
|
|
3958
3958
|
return showSetupDialog(root, (done) => /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(TeleportRepoMismatchDialog, {
|
|
3959
3959
|
targetRepo: props.targetRepo,
|
|
3960
3960
|
initialPaths: props.initialPaths,
|
|
@@ -3965,8 +3965,8 @@ async function launchTeleportRepoMismatchDialog(root, props) {
|
|
|
3965
3965
|
async function launchResumeChooser(root, appProps, worktreePathsPromise, resumeProps) {
|
|
3966
3966
|
const [worktreePaths, { ResumeConversation }, { App }] = await Promise.all([
|
|
3967
3967
|
worktreePathsPromise,
|
|
3968
|
-
import("./chunk-
|
|
3969
|
-
import("./chunk-
|
|
3968
|
+
import("./chunk-k1k9c7z4.js"),
|
|
3969
|
+
import("./chunk-2yec5665.js")
|
|
3970
3970
|
]);
|
|
3971
3971
|
await renderAndRun(root, /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(App, {
|
|
3972
3972
|
getFpsMetrics: appProps.getFpsMetrics,
|
|
@@ -4156,7 +4156,7 @@ var TAIL_READ_BYTES = 64 * 1024;
|
|
|
4156
4156
|
function registerDebugSkill() {
|
|
4157
4157
|
registerBundledSkill({
|
|
4158
4158
|
name: "debug",
|
|
4159
|
-
description: process.env.USER_TYPE === "ant" ? "Debug your current
|
|
4159
|
+
description: process.env.USER_TYPE === "ant" ? "Debug your current session by reading the session debug log. Includes all event logging" : "Enable debug logging for this session and help diagnose issues",
|
|
4160
4160
|
allowedTools: ["Read", "Grep", "Glob"],
|
|
4161
4161
|
argumentHint: "[issue description]",
|
|
4162
4162
|
disableModelInvocation: true,
|
|
@@ -4200,7 +4200,7 @@ Tell the user that debug logging is now active at \`${debugLogPath}\`, ask them
|
|
|
4200
4200
|
`;
|
|
4201
4201
|
const prompt = `# Debug Skill
|
|
4202
4202
|
|
|
4203
|
-
Help the user debug an issue they're encountering in this current
|
|
4203
|
+
Help the user debug an issue they're encountering in this current session.
|
|
4204
4204
|
${justEnabledSection}
|
|
4205
4205
|
## Session Debug Log
|
|
4206
4206
|
|
|
@@ -4225,7 +4225,7 @@ Remember that settings are in:
|
|
|
4225
4225
|
|
|
4226
4226
|
1. Review the user's issue description
|
|
4227
4227
|
2. The last ${DEFAULT_DEBUG_LINES_READ} lines show the debug file format. Look for [ERROR] and [WARN] entries, stack traces, and failure patterns across the file
|
|
4228
|
-
3. Consider launching the ${CLAUDE_CODE_GUIDE_AGENT_TYPE} subagent to understand the relevant
|
|
4228
|
+
3. Consider launching the ${CLAUDE_CODE_GUIDE_AGENT_TYPE} subagent to understand the relevant features
|
|
4229
4229
|
4. Explain what you found in plain language
|
|
4230
4230
|
5. Suggest concrete fixes or next steps
|
|
4231
4231
|
`;
|
|
@@ -6997,17 +6997,17 @@ async function main() {
|
|
|
6997
6997
|
if (true) {
|
|
6998
6998
|
const handleUriIdx = process.argv.indexOf("--handle-uri");
|
|
6999
6999
|
if (handleUriIdx !== -1 && process.argv[handleUriIdx + 1]) {
|
|
7000
|
-
const { enableConfigs: enableConfigs2 } = await import("./chunk-
|
|
7000
|
+
const { enableConfigs: enableConfigs2 } = await import("./chunk-gvrjgq1n.js");
|
|
7001
7001
|
enableConfigs2();
|
|
7002
7002
|
const uri = process.argv[handleUriIdx + 1];
|
|
7003
|
-
const { handleDeepLinkUri } = await import("./chunk-
|
|
7003
|
+
const { handleDeepLinkUri } = await import("./chunk-rm2vtv77.js");
|
|
7004
7004
|
const exitCode = await handleDeepLinkUri(uri);
|
|
7005
7005
|
process.exit(exitCode);
|
|
7006
7006
|
}
|
|
7007
7007
|
if (process.platform === "darwin" && process.env.__CFBundleIdentifier === "com.anthropic.claude-code-url-handler") {
|
|
7008
|
-
const { enableConfigs: enableConfigs2 } = await import("./chunk-
|
|
7008
|
+
const { enableConfigs: enableConfigs2 } = await import("./chunk-gvrjgq1n.js");
|
|
7009
7009
|
enableConfigs2();
|
|
7010
|
-
const { handleUrlSchemeLaunch } = await import("./chunk-
|
|
7010
|
+
const { handleUrlSchemeLaunch } = await import("./chunk-rm2vtv77.js");
|
|
7011
7011
|
const urlSchemeResult = await handleUrlSchemeLaunch();
|
|
7012
7012
|
process.exit(urlSchemeResult ?? 1);
|
|
7013
7013
|
}
|
|
@@ -7528,9 +7528,9 @@ ${hint}` : hint;
|
|
|
7528
7528
|
}
|
|
7529
7529
|
if (getPlatform() !== "unknown" && !getIsNonInteractiveSession()) {
|
|
7530
7530
|
try {
|
|
7531
|
-
const { getChicagoEnabled } = await import("./chunk-
|
|
7531
|
+
const { getChicagoEnabled } = await import("./chunk-mk1y74w7.js");
|
|
7532
7532
|
if (getChicagoEnabled()) {
|
|
7533
|
-
const { setupComputerUseMCP } = await import("./chunk-
|
|
7533
|
+
const { setupComputerUseMCP } = await import("./chunk-cvm2tmwg.js");
|
|
7534
7534
|
const { mcpConfig: mcpConfig2, allowedTools: cuTools } = setupComputerUseMCP();
|
|
7535
7535
|
dynamicMcpConfig = {
|
|
7536
7536
|
...dynamicMcpConfig,
|
|
@@ -7652,7 +7652,7 @@ ${hint}` : hint;
|
|
|
7652
7652
|
profileCheckpoint("action_before_setup");
|
|
7653
7653
|
logForDebugging("[STARTUP] Running setup()...");
|
|
7654
7654
|
const setupStart = Date.now();
|
|
7655
|
-
const { setup } = await import("./chunk-
|
|
7655
|
+
const { setup } = await import("./chunk-fxx785xe.js");
|
|
7656
7656
|
const messagingSocketPath = undefined;
|
|
7657
7657
|
const preSetupCwd = getCwd();
|
|
7658
7658
|
if (process.env.CLAUDE_CODE_ENTRYPOINT !== "local-agent") {
|
|
@@ -8163,14 +8163,14 @@ ${customInstructions}` : customInstructions;
|
|
|
8163
8163
|
profileCheckpoint("after_connectMcp_claudeai");
|
|
8164
8164
|
if (!isBareMode()) {
|
|
8165
8165
|
startDeferredPrefetches();
|
|
8166
|
-
import("./chunk-
|
|
8166
|
+
import("./chunk-kndzdvxv.js").then((m) => m.startBackgroundHousekeeping());
|
|
8167
8167
|
if (process.env.USER_TYPE === "ant") {
|
|
8168
8168
|
import("./chunk-3nk79af8.js").then((m) => m.startSdkMemoryMonitor());
|
|
8169
8169
|
}
|
|
8170
8170
|
}
|
|
8171
8171
|
logSessionTelemetry();
|
|
8172
8172
|
profileCheckpoint("before_print_import");
|
|
8173
|
-
const { runHeadless } = await import("./chunk-
|
|
8173
|
+
const { runHeadless } = await import("./chunk-gf5znw5n.js");
|
|
8174
8174
|
profileCheckpoint("after_print_import");
|
|
8175
8175
|
runHeadless(inputPrompt, () => headlessStore.getState(), headlessStore.setState, commandsHeadless, tools, sdkMcpConfigs, agentDefinitions.activeAgents, {
|
|
8176
8176
|
continue: options.continue,
|
|
@@ -8397,7 +8397,7 @@ ${customInstructions}` : customInstructions;
|
|
|
8397
8397
|
let resumeSucceeded = false;
|
|
8398
8398
|
try {
|
|
8399
8399
|
const resumeStart = performance.now();
|
|
8400
|
-
const { clearSessionCaches } = await import("./chunk-
|
|
8400
|
+
const { clearSessionCaches } = await import("./chunk-z2txyqmj.js");
|
|
8401
8401
|
clearSessionCaches();
|
|
8402
8402
|
const result = await loadConversationForResume(undefined, undefined);
|
|
8403
8403
|
if (!result) {
|
|
@@ -8444,7 +8444,7 @@ ${customInstructions}` : customInstructions;
|
|
|
8444
8444
|
process.exit(1);
|
|
8445
8445
|
}
|
|
8446
8446
|
} else if (false) {} else if (false) {} else if (false) {} else if (options.resume || options.fromPr || teleport || remote !== null) {
|
|
8447
|
-
const { clearSessionCaches } = await import("./chunk-
|
|
8447
|
+
const { clearSessionCaches } = await import("./chunk-z2txyqmj.js");
|
|
8448
8448
|
clearSessionCaches();
|
|
8449
8449
|
let messages = null;
|
|
8450
8450
|
let processedResume;
|
|
@@ -8519,7 +8519,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8519
8519
|
logError(toError(error));
|
|
8520
8520
|
return await exitWithError(root, `Error: ${errorMessage(error) || "Failed to authenticate"}`, () => gracefulShutdown(1));
|
|
8521
8521
|
}
|
|
8522
|
-
const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-
|
|
8522
|
+
const { getClaudeAIOAuthTokens: getTokensForRemote } = await import("./chunk-qvh1w3t7.js");
|
|
8523
8523
|
const getAccessTokenForRemote = () => getTokensForRemote()?.accessToken ?? apiCreds.accessToken;
|
|
8524
8524
|
const remoteSessionConfig = createRemoteSessionConfig(createdSession.id, getAccessTokenForRemote, apiCreds.orgUUID, hasInitialPrompt);
|
|
8525
8525
|
const remoteSessionUrl = `${getRemoteSessionUrl(createdSession.id)}?m=0`;
|
|
@@ -8592,7 +8592,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8592
8592
|
`));
|
|
8593
8593
|
}
|
|
8594
8594
|
await validateGitState();
|
|
8595
|
-
const { teleportWithProgress } = await import("./chunk-
|
|
8595
|
+
const { teleportWithProgress } = await import("./chunk-3sgqn9w2.js");
|
|
8596
8596
|
const result = await teleportWithProgress(root, teleport);
|
|
8597
8597
|
setTeleportedSessionInfo({ sessionId: teleport });
|
|
8598
8598
|
messages = result.messages;
|
|
@@ -8849,7 +8849,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8849
8849
|
debug,
|
|
8850
8850
|
verbose
|
|
8851
8851
|
}) => {
|
|
8852
|
-
const { mcpServeHandler } = await import("./chunk-
|
|
8852
|
+
const { mcpServeHandler } = await import("./chunk-h8b7g6wh.js");
|
|
8853
8853
|
await mcpServeHandler({ debug, verbose });
|
|
8854
8854
|
});
|
|
8855
8855
|
registerMcpAddCommand(mcp);
|
|
@@ -8857,27 +8857,27 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8857
8857
|
registerMcpXaaIdpCommand(mcp);
|
|
8858
8858
|
}
|
|
8859
8859
|
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-
|
|
8860
|
+
const { mcpRemoveHandler } = await import("./chunk-h8b7g6wh.js");
|
|
8861
8861
|
await mcpRemoveHandler(name, options);
|
|
8862
8862
|
});
|
|
8863
8863
|
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-
|
|
8864
|
+
const { mcpListHandler } = await import("./chunk-h8b7g6wh.js");
|
|
8865
8865
|
await mcpListHandler();
|
|
8866
8866
|
});
|
|
8867
8867
|
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-
|
|
8868
|
+
const { mcpGetHandler } = await import("./chunk-h8b7g6wh.js");
|
|
8869
8869
|
await mcpGetHandler(name);
|
|
8870
8870
|
});
|
|
8871
8871
|
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-
|
|
8872
|
+
const { mcpAddJsonHandler } = await import("./chunk-h8b7g6wh.js");
|
|
8873
8873
|
await mcpAddJsonHandler(name, json, options);
|
|
8874
8874
|
});
|
|
8875
8875
|
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-
|
|
8876
|
+
const { mcpAddFromDesktopHandler } = await import("./chunk-h8b7g6wh.js");
|
|
8877
8877
|
await mcpAddFromDesktopHandler(options);
|
|
8878
8878
|
});
|
|
8879
8879
|
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-
|
|
8880
|
+
const { mcpResetChoicesHandler } = await import("./chunk-h8b7g6wh.js");
|
|
8881
8881
|
await mcpResetChoicesHandler();
|
|
8882
8882
|
});
|
|
8883
8883
|
if (false) {}
|
|
@@ -8890,74 +8890,74 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8890
8890
|
console: useConsole,
|
|
8891
8891
|
claudeai
|
|
8892
8892
|
}) => {
|
|
8893
|
-
const { authLogin } = await import("./chunk-
|
|
8893
|
+
const { authLogin } = await import("./chunk-88e7rxwn.js");
|
|
8894
8894
|
await authLogin({ email, sso, console: useConsole, claudeai });
|
|
8895
8895
|
});
|
|
8896
8896
|
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-
|
|
8897
|
+
const { authStatus } = await import("./chunk-88e7rxwn.js");
|
|
8898
8898
|
await authStatus(opts);
|
|
8899
8899
|
});
|
|
8900
8900
|
auth.command("logout").description("Log out from your Anthropic account").action(async () => {
|
|
8901
|
-
const { authLogout } = await import("./chunk-
|
|
8901
|
+
const { authLogout } = await import("./chunk-88e7rxwn.js");
|
|
8902
8902
|
await authLogout();
|
|
8903
8903
|
});
|
|
8904
8904
|
const coworkOption = () => new Option("--cowork", "Use cowork_plugins directory").hideHelp();
|
|
8905
8905
|
const pluginCmd = program2.command("plugin").alias("plugins").description("Manage Claude Code plugins").configureHelp(createSortedHelpConfig());
|
|
8906
8906
|
pluginCmd.command("validate <path>").description("Validate a plugin or marketplace manifest").addOption(coworkOption()).action(async (manifestPath, options) => {
|
|
8907
|
-
const { pluginValidateHandler } = await import("./chunk-
|
|
8907
|
+
const { pluginValidateHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8908
8908
|
await pluginValidateHandler(manifestPath, options);
|
|
8909
8909
|
});
|
|
8910
8910
|
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-
|
|
8911
|
+
const { pluginListHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8912
8912
|
await pluginListHandler(options);
|
|
8913
8913
|
});
|
|
8914
8914
|
const marketplaceCmd = pluginCmd.command("marketplace").description("Manage Claude Code marketplaces").configureHelp(createSortedHelpConfig());
|
|
8915
8915
|
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-
|
|
8916
|
+
const { marketplaceAddHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8917
8917
|
await marketplaceAddHandler(source, options);
|
|
8918
8918
|
});
|
|
8919
8919
|
marketplaceCmd.command("list").description("List all configured marketplaces").option("--json", "Output as JSON").addOption(coworkOption()).action(async (options) => {
|
|
8920
|
-
const { marketplaceListHandler } = await import("./chunk-
|
|
8920
|
+
const { marketplaceListHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8921
8921
|
await marketplaceListHandler(options);
|
|
8922
8922
|
});
|
|
8923
8923
|
marketplaceCmd.command("remove <name>").alias("rm").description("Remove a configured marketplace").addOption(coworkOption()).action(async (name, options) => {
|
|
8924
|
-
const { marketplaceRemoveHandler } = await import("./chunk-
|
|
8924
|
+
const { marketplaceRemoveHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8925
8925
|
await marketplaceRemoveHandler(name, options);
|
|
8926
8926
|
});
|
|
8927
8927
|
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-
|
|
8928
|
+
const { marketplaceUpdateHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8929
8929
|
await marketplaceUpdateHandler(name, options);
|
|
8930
8930
|
});
|
|
8931
8931
|
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-
|
|
8932
|
+
const { pluginInstallHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8933
8933
|
await pluginInstallHandler(plugin, options);
|
|
8934
8934
|
});
|
|
8935
8935
|
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-
|
|
8936
|
+
const { pluginUninstallHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8937
8937
|
await pluginUninstallHandler(plugin, options);
|
|
8938
8938
|
});
|
|
8939
8939
|
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-
|
|
8940
|
+
const { pluginEnableHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8941
8941
|
await pluginEnableHandler(plugin, options);
|
|
8942
8942
|
});
|
|
8943
8943
|
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-
|
|
8944
|
+
const { pluginDisableHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8945
8945
|
await pluginDisableHandler(plugin, options);
|
|
8946
8946
|
});
|
|
8947
8947
|
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-
|
|
8948
|
+
const { pluginUpdateHandler } = await import("./chunk-gqy9hsnm.js");
|
|
8949
8949
|
await pluginUpdateHandler(plugin, options);
|
|
8950
8950
|
});
|
|
8951
8951
|
program2.command("setup-token").description("Set up a long-lived authentication token (requires Claude subscription)").action(async () => {
|
|
8952
8952
|
const [{ setupTokenHandler }, { createRoot }] = await Promise.all([
|
|
8953
|
-
import("./chunk-
|
|
8953
|
+
import("./chunk-yc0k454w.js"),
|
|
8954
8954
|
import("./chunk-yyex5gsf.js")
|
|
8955
8955
|
]);
|
|
8956
8956
|
const root = await createRoot(getBaseRenderOptions(false));
|
|
8957
8957
|
await setupTokenHandler(root);
|
|
8958
8958
|
});
|
|
8959
8959
|
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-
|
|
8960
|
+
const { agentsHandler } = await import("./chunk-ks3ha3tz.js");
|
|
8961
8961
|
await agentsHandler();
|
|
8962
8962
|
process.exit(0);
|
|
8963
8963
|
});
|
|
@@ -8966,7 +8966,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
8966
8966
|
if (false) {}
|
|
8967
8967
|
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
8968
|
const [{ doctorHandler }, { createRoot }] = await Promise.all([
|
|
8969
|
-
import("./chunk-
|
|
8969
|
+
import("./chunk-yc0k454w.js"),
|
|
8970
8970
|
import("./chunk-yyex5gsf.js")
|
|
8971
8971
|
]);
|
|
8972
8972
|
const root = await createRoot(getBaseRenderOptions(false));
|
|
@@ -8990,7 +8990,7 @@ Examples:
|
|
|
8990
8990
|
});
|
|
8991
8991
|
}
|
|
8992
8992
|
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-
|
|
8993
|
+
const { installHandler } = await import("./chunk-yc0k454w.js");
|
|
8994
8994
|
await installHandler(target, options);
|
|
8995
8995
|
});
|
|
8996
8996
|
if (process.env.USER_TYPE === "ant") {
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
getFlaggedPlugins,
|
|
5
5
|
init_pluginFlagging,
|
|
6
6
|
loadFlaggedPlugins
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-at1f2ywf.js";
|
|
8
8
|
import {
|
|
9
9
|
init_pluginOperations,
|
|
10
10
|
uninstallPluginOp
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-095vqmds.js";
|
|
12
12
|
import {
|
|
13
13
|
getMarketplace,
|
|
14
14
|
init_installedPluginsManager,
|
|
15
15
|
init_marketplaceManager,
|
|
16
16
|
loadInstalledPluginsV2,
|
|
17
17
|
loadKnownMarketplacesConfigSafe
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-cm2v5g1p.js";
|
|
19
19
|
import {
|
|
20
20
|
errorMessage,
|
|
21
21
|
init_debug,
|