claude-use 11.34.0 → 11.36.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 +2 -1
- package/dist/cli.cjs +392 -301
- package/dist/index.cjs +312 -240
- package/dist/index.mjs +313 -241
- package/dist/types/index.d.ts +15 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -3451,6 +3451,8 @@ interface SessionIdentity {
|
|
|
3451
3451
|
readonly provider: string | undefined;
|
|
3452
3452
|
/** Whether this launch resolved headroom on, so its requests must pass through the headroom hop before their route. */
|
|
3453
3453
|
readonly headroom: boolean;
|
|
3454
|
+
/** Whether this launch routes provider-qualified model names through the models block, whatever provider it selected. */
|
|
3455
|
+
readonly routeByName: boolean;
|
|
3454
3456
|
/** The project identity headroom scopes memory to, re-set on the headroom hop and sent nowhere else. */
|
|
3455
3457
|
readonly projectId: string | undefined;
|
|
3456
3458
|
}
|
|
@@ -6245,6 +6247,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6245
6247
|
delay: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
|
|
6246
6248
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
6247
6249
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
6250
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
6248
6251
|
}, zod_v4_core.$strict>>;
|
|
6249
6252
|
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
6250
6253
|
action: zod.ZodLiteral<"updated">;
|
|
@@ -7561,6 +7564,8 @@ interface ResolvedLaunchFlags {
|
|
|
7561
7564
|
readonly pause: boolean;
|
|
7562
7565
|
/** Whether the launch's report lists every pool member the pick ranked and why, and not only the one picked. */
|
|
7563
7566
|
readonly explain: boolean;
|
|
7567
|
+
/** Whether a provider session routes provider-qualified model names through the models block to the provider that serves them. */
|
|
7568
|
+
readonly routeByName: boolean;
|
|
7564
7569
|
/** How long the launcher waits after its own output before it starts claude, in milliseconds; zero for no wait. */
|
|
7565
7570
|
readonly delayMs: number;
|
|
7566
7571
|
}
|
|
@@ -7764,10 +7769,11 @@ interface LaunchResolution {
|
|
|
7764
7769
|
readonly name: string;
|
|
7765
7770
|
readonly summary: CredentialSummary;
|
|
7766
7771
|
};
|
|
7767
|
-
/** Which daemons the launch would route through. */
|
|
7772
|
+
/** Which daemons the launch would route through, and whether it routes provider-qualified model names through the models block. */
|
|
7768
7773
|
readonly routing: {
|
|
7769
7774
|
readonly frontDoor: boolean;
|
|
7770
7775
|
readonly headroom: boolean;
|
|
7776
|
+
readonly routeByName: boolean;
|
|
7771
7777
|
};
|
|
7772
7778
|
/** The names of the environment variables the launch would set or unset, sorted. Values are never reported: the launcher's environment carries tokens and per-launch capabilities that mean nothing outside it. */
|
|
7773
7779
|
readonly environment: readonly string[];
|
|
@@ -7854,6 +7860,7 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
7854
7860
|
trackUsage: zod.ZodBoolean;
|
|
7855
7861
|
pause: zod.ZodBoolean;
|
|
7856
7862
|
explain: zod.ZodBoolean;
|
|
7863
|
+
routeByName: zod.ZodBoolean;
|
|
7857
7864
|
delayMs: zod.ZodNumber;
|
|
7858
7865
|
}, zod_v4_core.$strict>;
|
|
7859
7866
|
claudeVersion: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -7909,6 +7916,7 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
7909
7916
|
routing: zod.ZodObject<{
|
|
7910
7917
|
frontDoor: zod.ZodBoolean;
|
|
7911
7918
|
headroom: zod.ZodBoolean;
|
|
7919
|
+
routeByName: zod.ZodBoolean;
|
|
7912
7920
|
}, zod_v4_core.$strict>;
|
|
7913
7921
|
environment: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
7914
7922
|
warnings: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
@@ -8974,6 +8982,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8974
8982
|
trackUsage: zod.ZodBoolean;
|
|
8975
8983
|
pause: zod.ZodBoolean;
|
|
8976
8984
|
explain: zod.ZodBoolean;
|
|
8985
|
+
routeByName: zod.ZodBoolean;
|
|
8977
8986
|
delayMs: zod.ZodNumber;
|
|
8978
8987
|
}, zod_v4_core.$strict>;
|
|
8979
8988
|
claudeVersion: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -9029,6 +9038,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9029
9038
|
routing: zod.ZodObject<{
|
|
9030
9039
|
frontDoor: zod.ZodBoolean;
|
|
9031
9040
|
headroom: zod.ZodBoolean;
|
|
9041
|
+
routeByName: zod.ZodBoolean;
|
|
9032
9042
|
}, zod_v4_core.$strict>;
|
|
9033
9043
|
environment: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
9034
9044
|
warnings: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
@@ -9392,6 +9402,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9392
9402
|
delay: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
|
|
9393
9403
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
9394
9404
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
9405
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
9395
9406
|
}, zod_v4_core.$strict>>;
|
|
9396
9407
|
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
9397
9408
|
action: zod.ZodLiteral<"updated">;
|
|
@@ -11651,6 +11662,7 @@ declare const ConfigProfileSetInputSchema: z.ZodObject<{
|
|
|
11651
11662
|
delay: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
11652
11663
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
11653
11664
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
11665
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
11654
11666
|
}, z.core.$strict>>;
|
|
11655
11667
|
}, z.core.$strict>;
|
|
11656
11668
|
declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
@@ -13129,6 +13141,7 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
13129
13141
|
trackUsage: z.ZodBoolean;
|
|
13130
13142
|
pause: z.ZodBoolean;
|
|
13131
13143
|
explain: z.ZodBoolean;
|
|
13144
|
+
routeByName: z.ZodBoolean;
|
|
13132
13145
|
delayMs: z.ZodNumber;
|
|
13133
13146
|
}, z.core.$strict>;
|
|
13134
13147
|
claudeVersion: z.ZodOptional<z.ZodObject<{
|
|
@@ -13184,6 +13197,7 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
13184
13197
|
routing: z.ZodObject<{
|
|
13185
13198
|
frontDoor: z.ZodBoolean;
|
|
13186
13199
|
headroom: z.ZodBoolean;
|
|
13200
|
+
routeByName: z.ZodBoolean;
|
|
13187
13201
|
}, z.core.$strict>;
|
|
13188
13202
|
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
13189
13203
|
warnings: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.36.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>",
|