claude-use 11.46.0 → 11.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/cli.cjs +2522 -2064
- package/dist/index.cjs +8605 -8411
- package/dist/index.mjs +8078 -7884
- package/dist/types/index.d.ts +39 -3
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -279,6 +279,7 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
279
279
|
delay: z.ZodOptional<z.ZodString>;
|
|
280
280
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
281
281
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
282
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
282
283
|
}, z.core.$strict>;
|
|
283
284
|
type LaunchFlags = z.infer<typeof LaunchSchema>;
|
|
284
285
|
/**
|
|
@@ -960,6 +961,7 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
960
961
|
delay: z.ZodOptional<z.ZodString>;
|
|
961
962
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
962
963
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
964
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
963
965
|
}, z.core.$strict>>;
|
|
964
966
|
models: z.ZodOptional<z.ZodObject<{
|
|
965
967
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1261,6 +1263,7 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
1261
1263
|
delay: z.ZodOptional<z.ZodString>;
|
|
1262
1264
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
1263
1265
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
1266
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1264
1267
|
}, z.core.$strict>>;
|
|
1265
1268
|
path: z.ZodString;
|
|
1266
1269
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
@@ -1489,6 +1492,7 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
1489
1492
|
delay: z.ZodOptional<z.ZodString>;
|
|
1490
1493
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
1491
1494
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
1495
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1492
1496
|
}, z.core.$strict>>;
|
|
1493
1497
|
path: z.ZodString;
|
|
1494
1498
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
@@ -1718,6 +1722,7 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
1718
1722
|
delay: z.ZodOptional<z.ZodString>;
|
|
1719
1723
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
1720
1724
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
1725
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1721
1726
|
}, z.core.$strict>>;
|
|
1722
1727
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
1723
1728
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -1926,6 +1931,7 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
1926
1931
|
delay: z.ZodOptional<z.ZodString>;
|
|
1927
1932
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
1928
1933
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
1934
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1929
1935
|
}, z.core.$strict>>;
|
|
1930
1936
|
headroom: z.ZodOptional<z.ZodObject<{
|
|
1931
1937
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -2219,6 +2225,8 @@ interface LayoutPaths {
|
|
|
2219
2225
|
readonly configProfilesDir: string;
|
|
2220
2226
|
/** Directory holding one `<name>.json` provider definition per API provider. */
|
|
2221
2227
|
readonly providersDir: string;
|
|
2228
|
+
/** Path to the file recording the former names of renamed providers, so a session launched under an old name keeps being served until it ends. Absent until a provider is first renamed. */
|
|
2229
|
+
readonly providerAliasesFile: string;
|
|
2222
2230
|
/** Path to the directory-rules.json file describing directory-scoped identity/profile pins. */
|
|
2223
2231
|
readonly directoryRulesFile: string;
|
|
2224
2232
|
/** Path to the persisted active-identity file (the identity `agent-shim identity use` selected). */
|
|
@@ -3670,7 +3678,6 @@ interface SessionIdentity {
|
|
|
3670
3678
|
readonly provider: string | undefined;
|
|
3671
3679
|
/** Whether this launch resolved headroom on, so its requests must pass through the headroom hop before their route. */
|
|
3672
3680
|
readonly headroom: boolean;
|
|
3673
|
-
/** Whether this launch routes provider-qualified model names through the models block, whatever provider it selected. */
|
|
3674
3681
|
/** The project identity headroom scopes memory to, re-set on the headroom hop and sent nowhere else. */
|
|
3675
3682
|
readonly projectId: string | undefined;
|
|
3676
3683
|
}
|
|
@@ -5687,6 +5694,14 @@ type FrontDoorSupervisorListing = {
|
|
|
5687
5694
|
readonly message: string;
|
|
5688
5695
|
};
|
|
5689
5696
|
|
|
5697
|
+
/**
|
|
5698
|
+
* The former names of renamed providers, by the old name: `{ "z": "zai" }` means a request or a launch that names `z` is served by the provider now called `zai`.
|
|
5699
|
+
*
|
|
5700
|
+
* A running session has its provider's name fixed at launch, and the front door resolves that name against the providers directory on every request, so renaming a provider file alone strands every session launched before the rename. An alias is what keeps those sessions served until they end. Targets are always current provider names: renaming a provider repoints every alias that targeted it, so a lookup is one step and never a chain.
|
|
5701
|
+
*/
|
|
5702
|
+
declare const ProviderAliasesSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5703
|
+
type ProviderAliases = z.infer<typeof ProviderAliasesSchema>;
|
|
5704
|
+
|
|
5690
5705
|
/** The result of a successful discovery. */
|
|
5691
5706
|
interface DiscoveredClaudeBinary {
|
|
5692
5707
|
/** Full path to the discovered `claude` executable. */
|
|
@@ -5779,6 +5794,8 @@ interface RunDoctorParams {
|
|
|
5779
5794
|
readonly identities: readonly DoctorIdentityInput[];
|
|
5780
5795
|
readonly configProfiles: readonly DoctorConfigProfileInput[];
|
|
5781
5796
|
readonly providers: readonly DoctorProviderInput[];
|
|
5797
|
+
/** The recorded former names of renamed providers. Omit to leave them out of the findings. */
|
|
5798
|
+
readonly providerAliases?: ProviderAliases;
|
|
5782
5799
|
readonly directoryRules: DoctorFileInput;
|
|
5783
5800
|
readonly globalConfig: DoctorFileInput;
|
|
5784
5801
|
/** The parsed `models` block of the global config, when one is defined. Omit to skip the models checks. */
|
|
@@ -6439,6 +6456,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6439
6456
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
6440
6457
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
6441
6458
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
6459
|
+
proxyBypass: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
6442
6460
|
}, zod_v4_core.$strict>>;
|
|
6443
6461
|
}, zod_v4_core.$strict>;
|
|
6444
6462
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -6458,6 +6476,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6458
6476
|
delay: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
|
|
6459
6477
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
6460
6478
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
6479
|
+
proxyBypass: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodString>, zod.ZodLiteral<false>]>>;
|
|
6461
6480
|
}, zod_v4_core.$strict>>;
|
|
6462
6481
|
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
6463
6482
|
action: zod.ZodLiteral<"updated">;
|
|
@@ -6610,6 +6629,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6610
6629
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
6611
6630
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
6612
6631
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
6632
|
+
proxyBypass: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
6613
6633
|
}, zod_v4_core.$strict>>;
|
|
6614
6634
|
}, zod_v4_core.$strict>;
|
|
6615
6635
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -7262,6 +7282,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
7262
7282
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
7263
7283
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
7264
7284
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
7285
|
+
proxyBypass: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
7265
7286
|
}, zod_v4_core.$strict>>;
|
|
7266
7287
|
path: zod.ZodString;
|
|
7267
7288
|
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
@@ -7495,6 +7516,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
7495
7516
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
7496
7517
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
7497
7518
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
7519
|
+
proxyBypass: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
7498
7520
|
}, zod_v4_core.$strict>>;
|
|
7499
7521
|
path: zod.ZodString;
|
|
7500
7522
|
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
@@ -7828,9 +7850,10 @@ interface ResolvedLaunchFlags {
|
|
|
7828
7850
|
readonly pause: boolean;
|
|
7829
7851
|
/** Whether the launch's report lists every pool member the pick ranked and why, and not only the one picked. */
|
|
7830
7852
|
readonly explain: boolean;
|
|
7831
|
-
/** Whether a provider session routes provider-qualified model names through the models block to the provider that serves them. */
|
|
7832
7853
|
/** How long the launcher waits after its own output before it starts claude, in milliseconds; zero for no wait. */
|
|
7833
7854
|
readonly delayMs: number;
|
|
7855
|
+
/** Hosts kept off the front door by adding them to the child's `NO_PROXY`, checked and without duplicates. */
|
|
7856
|
+
readonly proxyBypass: readonly string[];
|
|
7834
7857
|
}
|
|
7835
7858
|
|
|
7836
7859
|
/** How a supervised launch names its conversation to claude: `start` begins one under the launch's id, `resume` continues the one with that id, `as-given` leaves the caller's own `--resume <id>` as written. */
|
|
@@ -8034,7 +8057,7 @@ interface LaunchResolution {
|
|
|
8034
8057
|
readonly name: string;
|
|
8035
8058
|
readonly summary: CredentialSummary;
|
|
8036
8059
|
};
|
|
8037
|
-
/** Which daemons the launch would route through
|
|
8060
|
+
/** Which daemons the launch would route through. */
|
|
8038
8061
|
readonly routing: {
|
|
8039
8062
|
readonly frontDoor: boolean;
|
|
8040
8063
|
readonly headroom: boolean;
|
|
@@ -8125,6 +8148,7 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
8125
8148
|
pause: zod.ZodBoolean;
|
|
8126
8149
|
explain: zod.ZodBoolean;
|
|
8127
8150
|
delayMs: zod.ZodNumber;
|
|
8151
|
+
proxyBypass: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
8128
8152
|
}, zod_v4_core.$strict>;
|
|
8129
8153
|
claudeVersion: zod.ZodOptional<zod.ZodObject<{
|
|
8130
8154
|
version: zod.ZodString;
|
|
@@ -9245,6 +9269,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9245
9269
|
pause: zod.ZodBoolean;
|
|
9246
9270
|
explain: zod.ZodBoolean;
|
|
9247
9271
|
delayMs: zod.ZodNumber;
|
|
9272
|
+
proxyBypass: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
9248
9273
|
}, zod_v4_core.$strict>;
|
|
9249
9274
|
claudeVersion: zod.ZodOptional<zod.ZodObject<{
|
|
9250
9275
|
version: zod.ZodString;
|
|
@@ -9661,6 +9686,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9661
9686
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
9662
9687
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
9663
9688
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
9689
|
+
proxyBypass: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
9664
9690
|
}, zod_v4_core.$strict>>;
|
|
9665
9691
|
}, zod_v4_core.$strict>;
|
|
9666
9692
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -9680,6 +9706,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9680
9706
|
delay: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
|
|
9681
9707
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
9682
9708
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
9709
|
+
proxyBypass: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodArray<zod.ZodString>, zod.ZodLiteral<false>]>>;
|
|
9683
9710
|
}, zod_v4_core.$strict>>;
|
|
9684
9711
|
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
9685
9712
|
action: zod.ZodLiteral<"updated">;
|
|
@@ -9832,6 +9859,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9832
9859
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
9833
9860
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
9834
9861
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
9862
|
+
proxyBypass: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
9835
9863
|
}, zod_v4_core.$strict>>;
|
|
9836
9864
|
}, zod_v4_core.$strict>;
|
|
9837
9865
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -10484,6 +10512,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
10484
10512
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
10485
10513
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
10486
10514
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
10515
|
+
proxyBypass: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10487
10516
|
}, zod_v4_core.$strict>>;
|
|
10488
10517
|
path: zod.ZodString;
|
|
10489
10518
|
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
@@ -10717,6 +10746,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
10717
10746
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
10718
10747
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
10719
10748
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
10749
|
+
proxyBypass: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
10720
10750
|
}, zod_v4_core.$strict>>;
|
|
10721
10751
|
path: zod.ZodString;
|
|
10722
10752
|
configProfile: zod.ZodOptional<zod.ZodString>;
|
|
@@ -11991,6 +12021,7 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
11991
12021
|
delay: z.ZodOptional<z.ZodString>;
|
|
11992
12022
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
11993
12023
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
12024
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11994
12025
|
}, z.core.$strict>>;
|
|
11995
12026
|
}, z.core.$strict>;
|
|
11996
12027
|
}, z.core.$strict>;
|
|
@@ -12011,6 +12042,7 @@ declare const ConfigProfileSetInputSchema: z.ZodObject<{
|
|
|
12011
12042
|
delay: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
12012
12043
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
12013
12044
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
12045
|
+
proxyBypass: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<false>]>>;
|
|
12014
12046
|
}, z.core.$strict>>;
|
|
12015
12047
|
}, z.core.$strict>;
|
|
12016
12048
|
declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
@@ -12164,6 +12196,7 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
12164
12196
|
delay: z.ZodOptional<z.ZodString>;
|
|
12165
12197
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
12166
12198
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
12199
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12167
12200
|
}, z.core.$strict>>;
|
|
12168
12201
|
}, z.core.$strict>;
|
|
12169
12202
|
}, z.core.$strict>;
|
|
@@ -12818,6 +12851,7 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
12818
12851
|
delay: z.ZodOptional<z.ZodString>;
|
|
12819
12852
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
12820
12853
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
12854
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12821
12855
|
}, z.core.$strict>>;
|
|
12822
12856
|
path: z.ZodString;
|
|
12823
12857
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
@@ -13053,6 +13087,7 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
13053
13087
|
delay: z.ZodOptional<z.ZodString>;
|
|
13054
13088
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
13055
13089
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
13090
|
+
proxyBypass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13056
13091
|
}, z.core.$strict>>;
|
|
13057
13092
|
path: z.ZodString;
|
|
13058
13093
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
@@ -13544,6 +13579,7 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
13544
13579
|
pause: z.ZodBoolean;
|
|
13545
13580
|
explain: z.ZodBoolean;
|
|
13546
13581
|
delayMs: z.ZodNumber;
|
|
13582
|
+
proxyBypass: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
13547
13583
|
}, z.core.$strict>;
|
|
13548
13584
|
claudeVersion: z.ZodOptional<z.ZodObject<{
|
|
13549
13585
|
version: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.48.0",
|
|
4
4
|
"description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Joseph Mearman <joseph@mearman.co.uk>",
|