agent-shim 9.13.0 → 9.14.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 +1 -0
- package/dist/cli.cjs +879 -564
- package/dist/index.cjs +109 -63
- package/dist/index.mjs +109 -63
- package/dist/types/index.d.ts +160 -28
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1332,8 +1332,8 @@ declare const HeadroomGlobalConfigSchema: z.ZodObject<{
|
|
|
1332
1332
|
targetRatio: z.ZodOptional<z.ZodNumber>;
|
|
1333
1333
|
ccr: z.ZodOptional<z.ZodEnum<{
|
|
1334
1334
|
default: "default";
|
|
1335
|
-
lossless: "lossless";
|
|
1336
1335
|
none: "none";
|
|
1336
|
+
lossless: "lossless";
|
|
1337
1337
|
}>>;
|
|
1338
1338
|
rolloutChannel: z.ZodOptional<z.ZodEnum<{
|
|
1339
1339
|
beta: "beta";
|
|
@@ -1460,8 +1460,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
1460
1460
|
targetRatio: z.ZodOptional<z.ZodNumber>;
|
|
1461
1461
|
ccr: z.ZodOptional<z.ZodEnum<{
|
|
1462
1462
|
default: "default";
|
|
1463
|
-
lossless: "lossless";
|
|
1464
1463
|
none: "none";
|
|
1464
|
+
lossless: "lossless";
|
|
1465
1465
|
}>>;
|
|
1466
1466
|
rolloutChannel: z.ZodOptional<z.ZodEnum<{
|
|
1467
1467
|
beta: "beta";
|
|
@@ -1608,6 +1608,19 @@ declare const IdentitySchema: z.ZodObject<{
|
|
|
1608
1608
|
}>>;
|
|
1609
1609
|
}, z.core.$strict>>;
|
|
1610
1610
|
}, z.core.$strict>>;
|
|
1611
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1612
|
+
days: z.ZodArray<z.ZodEnum<{
|
|
1613
|
+
mon: "mon";
|
|
1614
|
+
tue: "tue";
|
|
1615
|
+
wed: "wed";
|
|
1616
|
+
thu: "thu";
|
|
1617
|
+
fri: "fri";
|
|
1618
|
+
sat: "sat";
|
|
1619
|
+
sun: "sun";
|
|
1620
|
+
}>>;
|
|
1621
|
+
time: z.ZodString;
|
|
1622
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
}, z.core.$strict>>>;
|
|
1611
1624
|
}, z.core.$strict>;
|
|
1612
1625
|
type Identity = z.infer<typeof IdentitySchema>;
|
|
1613
1626
|
/**
|
|
@@ -1711,6 +1724,8 @@ interface LayoutPaths {
|
|
|
1711
1724
|
readonly mcpPermissionsFile: string;
|
|
1712
1725
|
/** The last identity picked from a pool for each directory, so a conversation stays on the account whose prompt cache is warm. */
|
|
1713
1726
|
readonly usagePicksFile: string;
|
|
1727
|
+
/** The last anchor the front door's window keeper handled for each identity, so a restart neither replays an anchor nor skips one. */
|
|
1728
|
+
readonly usageAnchorsFile: string;
|
|
1714
1729
|
}
|
|
1715
1730
|
/**
|
|
1716
1731
|
* Resolves the state root: `AGENT_SHIM_HOME` when set to a non-empty string (an empty string counts as unset, consistent with how this project treats empty-string environment variables elsewhere, see the ambient-credential guard), otherwise `~/.agent-shim`, or the former `~/.claude-use` when only that exists.
|
|
@@ -3859,12 +3874,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
3859
3874
|
identity: z.ZodObject<{
|
|
3860
3875
|
name: z.ZodNullable<z.ZodString>;
|
|
3861
3876
|
source: z.ZodEnum<{
|
|
3862
|
-
env: "env";
|
|
3863
|
-
none: "none";
|
|
3864
3877
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
3865
3878
|
argv: "argv";
|
|
3879
|
+
env: "env";
|
|
3866
3880
|
"directory-pin": "directory-pin";
|
|
3867
3881
|
"active-identity-file": "active-identity-file";
|
|
3882
|
+
none: "none";
|
|
3868
3883
|
}>;
|
|
3869
3884
|
}, z.core.$strict>;
|
|
3870
3885
|
pool: z.ZodOptional<z.ZodObject<{
|
|
@@ -3942,11 +3957,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
3942
3957
|
"category-default": "category-default";
|
|
3943
3958
|
}>;
|
|
3944
3959
|
category: z.ZodNullable<z.ZodEnum<{
|
|
3960
|
+
secret: "secret";
|
|
3945
3961
|
runtime: "runtime";
|
|
3946
3962
|
history: "history";
|
|
3947
3963
|
knowledge: "knowledge";
|
|
3948
3964
|
settings: "settings";
|
|
3949
|
-
secret: "secret";
|
|
3950
3965
|
}>>;
|
|
3951
3966
|
rule: z.ZodOptional<z.ZodObject<{
|
|
3952
3967
|
key: z.ZodString;
|
|
@@ -5083,6 +5098,19 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5083
5098
|
}>>;
|
|
5084
5099
|
}, zod_v4_core.$strict>>;
|
|
5085
5100
|
}, zod_v4_core.$strict>>;
|
|
5101
|
+
anchors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
5102
|
+
days: zod.ZodArray<zod.ZodEnum<{
|
|
5103
|
+
mon: "mon";
|
|
5104
|
+
tue: "tue";
|
|
5105
|
+
wed: "wed";
|
|
5106
|
+
thu: "thu";
|
|
5107
|
+
fri: "fri";
|
|
5108
|
+
sat: "sat";
|
|
5109
|
+
sun: "sun";
|
|
5110
|
+
}>>;
|
|
5111
|
+
time: zod.ZodString;
|
|
5112
|
+
timeZone: zod.ZodOptional<zod.ZodString>;
|
|
5113
|
+
}, zod_v4_core.$strict>>>;
|
|
5086
5114
|
}, zod_v4_core.$strict>;
|
|
5087
5115
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
5088
5116
|
set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
@@ -5121,6 +5149,19 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5121
5149
|
}>>;
|
|
5122
5150
|
}, zod_v4_core.$strict>]>>;
|
|
5123
5151
|
}, zod_v4_core.$strict>]>>;
|
|
5152
|
+
anchors: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodArray<zod.ZodObject<{
|
|
5153
|
+
days: zod.ZodArray<zod.ZodEnum<{
|
|
5154
|
+
mon: "mon";
|
|
5155
|
+
tue: "tue";
|
|
5156
|
+
wed: "wed";
|
|
5157
|
+
thu: "thu";
|
|
5158
|
+
fri: "fri";
|
|
5159
|
+
sat: "sat";
|
|
5160
|
+
sun: "sun";
|
|
5161
|
+
}>>;
|
|
5162
|
+
time: zod.ZodString;
|
|
5163
|
+
timeZone: zod.ZodOptional<zod.ZodString>;
|
|
5164
|
+
}, zod_v4_core.$strict>>]>>;
|
|
5124
5165
|
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
5125
5166
|
action: zod.ZodLiteral<"updated">;
|
|
5126
5167
|
kind: zod.ZodLiteral<"identity">;
|
|
@@ -5162,6 +5203,19 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5162
5203
|
}>>;
|
|
5163
5204
|
}, zod_v4_core.$strict>>;
|
|
5164
5205
|
}, zod_v4_core.$strict>>;
|
|
5206
|
+
anchors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
5207
|
+
days: zod.ZodArray<zod.ZodEnum<{
|
|
5208
|
+
mon: "mon";
|
|
5209
|
+
tue: "tue";
|
|
5210
|
+
wed: "wed";
|
|
5211
|
+
thu: "thu";
|
|
5212
|
+
fri: "fri";
|
|
5213
|
+
sat: "sat";
|
|
5214
|
+
sun: "sun";
|
|
5215
|
+
}>>;
|
|
5216
|
+
time: zod.ZodString;
|
|
5217
|
+
timeZone: zod.ZodOptional<zod.ZodString>;
|
|
5218
|
+
}, zod_v4_core.$strict>>>;
|
|
5165
5219
|
}, zod_v4_core.$strict>;
|
|
5166
5220
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
5167
5221
|
remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
@@ -6476,9 +6530,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
|
|
|
6476
6530
|
current: zod.ZodString;
|
|
6477
6531
|
latest: zod.ZodString;
|
|
6478
6532
|
action: zod.ZodEnum<{
|
|
6479
|
-
updated: "updated";
|
|
6480
6533
|
current: "current";
|
|
6481
6534
|
available: "available";
|
|
6535
|
+
updated: "updated";
|
|
6482
6536
|
}>;
|
|
6483
6537
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
6484
6538
|
};
|
|
@@ -6725,12 +6779,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
6725
6779
|
decision: zod.ZodObject<{
|
|
6726
6780
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
6727
6781
|
identitySource: zod.ZodEnum<{
|
|
6728
|
-
env: "env";
|
|
6729
|
-
none: "none";
|
|
6730
6782
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
6731
6783
|
argv: "argv";
|
|
6784
|
+
env: "env";
|
|
6732
6785
|
"directory-pin": "directory-pin";
|
|
6733
6786
|
"active-identity-file": "active-identity-file";
|
|
6787
|
+
none: "none";
|
|
6734
6788
|
}>;
|
|
6735
6789
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
6736
6790
|
name: zod.ZodString;
|
|
@@ -7116,12 +7170,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7116
7170
|
identity: zod.ZodObject<{
|
|
7117
7171
|
name: zod.ZodNullable<zod.ZodString>;
|
|
7118
7172
|
source: zod.ZodEnum<{
|
|
7119
|
-
env: "env";
|
|
7120
|
-
none: "none";
|
|
7121
7173
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
7122
7174
|
argv: "argv";
|
|
7175
|
+
env: "env";
|
|
7123
7176
|
"directory-pin": "directory-pin";
|
|
7124
7177
|
"active-identity-file": "active-identity-file";
|
|
7178
|
+
none: "none";
|
|
7125
7179
|
}>;
|
|
7126
7180
|
}, zod_v4_core.$strict>;
|
|
7127
7181
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -7199,11 +7253,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7199
7253
|
"category-default": "category-default";
|
|
7200
7254
|
}>;
|
|
7201
7255
|
category: zod.ZodNullable<zod.ZodEnum<{
|
|
7256
|
+
secret: "secret";
|
|
7202
7257
|
runtime: "runtime";
|
|
7203
7258
|
history: "history";
|
|
7204
7259
|
knowledge: "knowledge";
|
|
7205
7260
|
settings: "settings";
|
|
7206
|
-
secret: "secret";
|
|
7207
7261
|
}>>;
|
|
7208
7262
|
rule: zod.ZodOptional<zod.ZodObject<{
|
|
7209
7263
|
key: zod.ZodString;
|
|
@@ -7422,11 +7476,10 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7422
7476
|
"global-config": "global-config";
|
|
7423
7477
|
"config-profile": "config-profile";
|
|
7424
7478
|
identity: "identity";
|
|
7425
|
-
keychain: "keychain";
|
|
7426
7479
|
provider: "provider";
|
|
7427
|
-
headroom: "headroom";
|
|
7428
7480
|
frontdoor: "frontdoor";
|
|
7429
7481
|
pool: "pool";
|
|
7482
|
+
keychain: "keychain";
|
|
7430
7483
|
"ambient-credential": "ambient-credential";
|
|
7431
7484
|
"binary-discovery": "binary-discovery";
|
|
7432
7485
|
"claude-shim": "claude-shim";
|
|
@@ -7436,6 +7489,7 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7436
7489
|
"directory-rules": "directory-rules";
|
|
7437
7490
|
"categories-local": "categories-local";
|
|
7438
7491
|
"active-identity": "active-identity";
|
|
7492
|
+
headroom: "headroom";
|
|
7439
7493
|
}>;
|
|
7440
7494
|
subject: zod.ZodOptional<zod.ZodString>;
|
|
7441
7495
|
severity: zod.ZodEnum<{
|
|
@@ -7556,12 +7610,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
7556
7610
|
decision: zod.ZodObject<{
|
|
7557
7611
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
7558
7612
|
identitySource: zod.ZodEnum<{
|
|
7559
|
-
env: "env";
|
|
7560
|
-
none: "none";
|
|
7561
7613
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
7562
7614
|
argv: "argv";
|
|
7615
|
+
env: "env";
|
|
7563
7616
|
"directory-pin": "directory-pin";
|
|
7564
7617
|
"active-identity-file": "active-identity-file";
|
|
7618
|
+
none: "none";
|
|
7565
7619
|
}>;
|
|
7566
7620
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
7567
7621
|
name: zod.ZodString;
|
|
@@ -7713,6 +7767,19 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
7713
7767
|
}>>;
|
|
7714
7768
|
}, zod_v4_core.$strict>>;
|
|
7715
7769
|
}, zod_v4_core.$strict>>;
|
|
7770
|
+
anchors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7771
|
+
days: zod.ZodArray<zod.ZodEnum<{
|
|
7772
|
+
mon: "mon";
|
|
7773
|
+
tue: "tue";
|
|
7774
|
+
wed: "wed";
|
|
7775
|
+
thu: "thu";
|
|
7776
|
+
fri: "fri";
|
|
7777
|
+
sat: "sat";
|
|
7778
|
+
sun: "sun";
|
|
7779
|
+
}>>;
|
|
7780
|
+
time: zod.ZodString;
|
|
7781
|
+
timeZone: zod.ZodOptional<zod.ZodString>;
|
|
7782
|
+
}, zod_v4_core.$strict>>>;
|
|
7716
7783
|
}, zod_v4_core.$strict>;
|
|
7717
7784
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
7718
7785
|
set: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
@@ -7751,6 +7818,19 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
7751
7818
|
}>>;
|
|
7752
7819
|
}, zod_v4_core.$strict>]>>;
|
|
7753
7820
|
}, zod_v4_core.$strict>]>>;
|
|
7821
|
+
anchors: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodArray<zod.ZodObject<{
|
|
7822
|
+
days: zod.ZodArray<zod.ZodEnum<{
|
|
7823
|
+
mon: "mon";
|
|
7824
|
+
tue: "tue";
|
|
7825
|
+
wed: "wed";
|
|
7826
|
+
thu: "thu";
|
|
7827
|
+
fri: "fri";
|
|
7828
|
+
sat: "sat";
|
|
7829
|
+
sun: "sun";
|
|
7830
|
+
}>>;
|
|
7831
|
+
time: zod.ZodString;
|
|
7832
|
+
timeZone: zod.ZodOptional<zod.ZodString>;
|
|
7833
|
+
}, zod_v4_core.$strict>>]>>;
|
|
7754
7834
|
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
7755
7835
|
action: zod.ZodLiteral<"updated">;
|
|
7756
7836
|
kind: zod.ZodLiteral<"identity">;
|
|
@@ -7792,6 +7872,19 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
7792
7872
|
}>>;
|
|
7793
7873
|
}, zod_v4_core.$strict>>;
|
|
7794
7874
|
}, zod_v4_core.$strict>>;
|
|
7875
|
+
anchors: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7876
|
+
days: zod.ZodArray<zod.ZodEnum<{
|
|
7877
|
+
mon: "mon";
|
|
7878
|
+
tue: "tue";
|
|
7879
|
+
wed: "wed";
|
|
7880
|
+
thu: "thu";
|
|
7881
|
+
fri: "fri";
|
|
7882
|
+
sat: "sat";
|
|
7883
|
+
sun: "sun";
|
|
7884
|
+
}>>;
|
|
7885
|
+
time: zod.ZodString;
|
|
7886
|
+
timeZone: zod.ZodOptional<zod.ZodString>;
|
|
7887
|
+
}, zod_v4_core.$strict>>>;
|
|
7795
7888
|
}, zod_v4_core.$strict>;
|
|
7796
7889
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
7797
7890
|
remove: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
@@ -8898,9 +8991,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8898
8991
|
current: zod.ZodString;
|
|
8899
8992
|
latest: zod.ZodString;
|
|
8900
8993
|
action: zod.ZodEnum<{
|
|
8901
|
-
updated: "updated";
|
|
8902
8994
|
current: "current";
|
|
8903
8995
|
available: "available";
|
|
8996
|
+
updated: "updated";
|
|
8904
8997
|
}>;
|
|
8905
8998
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
8906
8999
|
};
|
|
@@ -9099,12 +9192,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9099
9192
|
identity: zod.ZodObject<{
|
|
9100
9193
|
name: zod.ZodNullable<zod.ZodString>;
|
|
9101
9194
|
source: zod.ZodEnum<{
|
|
9102
|
-
env: "env";
|
|
9103
|
-
none: "none";
|
|
9104
9195
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
9105
9196
|
argv: "argv";
|
|
9197
|
+
env: "env";
|
|
9106
9198
|
"directory-pin": "directory-pin";
|
|
9107
9199
|
"active-identity-file": "active-identity-file";
|
|
9200
|
+
none: "none";
|
|
9108
9201
|
}>;
|
|
9109
9202
|
}, zod_v4_core.$strict>;
|
|
9110
9203
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -9182,11 +9275,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9182
9275
|
"category-default": "category-default";
|
|
9183
9276
|
}>;
|
|
9184
9277
|
category: zod.ZodNullable<zod.ZodEnum<{
|
|
9278
|
+
secret: "secret";
|
|
9185
9279
|
runtime: "runtime";
|
|
9186
9280
|
history: "history";
|
|
9187
9281
|
knowledge: "knowledge";
|
|
9188
9282
|
settings: "settings";
|
|
9189
|
-
secret: "secret";
|
|
9190
9283
|
}>>;
|
|
9191
9284
|
rule: zod.ZodOptional<zod.ZodObject<{
|
|
9192
9285
|
key: zod.ZodString;
|
|
@@ -9405,11 +9498,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9405
9498
|
"global-config": "global-config";
|
|
9406
9499
|
"config-profile": "config-profile";
|
|
9407
9500
|
identity: "identity";
|
|
9408
|
-
keychain: "keychain";
|
|
9409
9501
|
provider: "provider";
|
|
9410
|
-
headroom: "headroom";
|
|
9411
9502
|
frontdoor: "frontdoor";
|
|
9412
9503
|
pool: "pool";
|
|
9504
|
+
keychain: "keychain";
|
|
9413
9505
|
"ambient-credential": "ambient-credential";
|
|
9414
9506
|
"binary-discovery": "binary-discovery";
|
|
9415
9507
|
"claude-shim": "claude-shim";
|
|
@@ -9419,6 +9511,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9419
9511
|
"directory-rules": "directory-rules";
|
|
9420
9512
|
"categories-local": "categories-local";
|
|
9421
9513
|
"active-identity": "active-identity";
|
|
9514
|
+
headroom: "headroom";
|
|
9422
9515
|
}>;
|
|
9423
9516
|
subject: zod.ZodOptional<zod.ZodString>;
|
|
9424
9517
|
severity: zod.ZodEnum<{
|
|
@@ -9782,6 +9875,19 @@ declare const ConfigIdentityAddOutputSchema: z.ZodObject<{
|
|
|
9782
9875
|
}>>;
|
|
9783
9876
|
}, z.core.$strict>>;
|
|
9784
9877
|
}, z.core.$strict>>;
|
|
9878
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9879
|
+
days: z.ZodArray<z.ZodEnum<{
|
|
9880
|
+
mon: "mon";
|
|
9881
|
+
tue: "tue";
|
|
9882
|
+
wed: "wed";
|
|
9883
|
+
thu: "thu";
|
|
9884
|
+
fri: "fri";
|
|
9885
|
+
sat: "sat";
|
|
9886
|
+
sun: "sun";
|
|
9887
|
+
}>>;
|
|
9888
|
+
time: z.ZodString;
|
|
9889
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
9890
|
+
}, z.core.$strict>>>;
|
|
9785
9891
|
}, z.core.$strict>;
|
|
9786
9892
|
}, z.core.$strict>;
|
|
9787
9893
|
/** `defaultConfigProfile: false` clears it; `credential: false` removes the credential block, returning the identity to its stored login. At least one field must be present. */
|
|
@@ -9821,6 +9927,19 @@ declare const ConfigIdentitySetInputSchema: z.ZodObject<{
|
|
|
9821
9927
|
}>>;
|
|
9822
9928
|
}, z.core.$strict>]>>;
|
|
9823
9929
|
}, z.core.$strict>]>>;
|
|
9930
|
+
anchors: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodArray<z.ZodObject<{
|
|
9931
|
+
days: z.ZodArray<z.ZodEnum<{
|
|
9932
|
+
mon: "mon";
|
|
9933
|
+
tue: "tue";
|
|
9934
|
+
wed: "wed";
|
|
9935
|
+
thu: "thu";
|
|
9936
|
+
fri: "fri";
|
|
9937
|
+
sat: "sat";
|
|
9938
|
+
sun: "sun";
|
|
9939
|
+
}>>;
|
|
9940
|
+
time: z.ZodString;
|
|
9941
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
9942
|
+
}, z.core.$strict>>]>>;
|
|
9824
9943
|
}, z.core.$strict>;
|
|
9825
9944
|
declare const ConfigIdentitySetOutputSchema: z.ZodObject<{
|
|
9826
9945
|
action: z.ZodLiteral<"updated">;
|
|
@@ -9863,6 +9982,19 @@ declare const ConfigIdentitySetOutputSchema: z.ZodObject<{
|
|
|
9863
9982
|
}>>;
|
|
9864
9983
|
}, z.core.$strict>>;
|
|
9865
9984
|
}, z.core.$strict>>;
|
|
9985
|
+
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9986
|
+
days: z.ZodArray<z.ZodEnum<{
|
|
9987
|
+
mon: "mon";
|
|
9988
|
+
tue: "tue";
|
|
9989
|
+
wed: "wed";
|
|
9990
|
+
thu: "thu";
|
|
9991
|
+
fri: "fri";
|
|
9992
|
+
sat: "sat";
|
|
9993
|
+
sun: "sun";
|
|
9994
|
+
}>>;
|
|
9995
|
+
time: z.ZodString;
|
|
9996
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
9997
|
+
}, z.core.$strict>>>;
|
|
9866
9998
|
}, z.core.$strict>;
|
|
9867
9999
|
}, z.core.$strict>;
|
|
9868
10000
|
declare const ConfigIdentityRemoveInputSchema: z.ZodObject<{
|
|
@@ -11212,11 +11344,10 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
11212
11344
|
"global-config": "global-config";
|
|
11213
11345
|
"config-profile": "config-profile";
|
|
11214
11346
|
identity: "identity";
|
|
11215
|
-
keychain: "keychain";
|
|
11216
11347
|
provider: "provider";
|
|
11217
|
-
headroom: "headroom";
|
|
11218
11348
|
frontdoor: "frontdoor";
|
|
11219
11349
|
pool: "pool";
|
|
11350
|
+
keychain: "keychain";
|
|
11220
11351
|
"ambient-credential": "ambient-credential";
|
|
11221
11352
|
"binary-discovery": "binary-discovery";
|
|
11222
11353
|
"claude-shim": "claude-shim";
|
|
@@ -11226,6 +11357,7 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
11226
11357
|
"directory-rules": "directory-rules";
|
|
11227
11358
|
"categories-local": "categories-local";
|
|
11228
11359
|
"active-identity": "active-identity";
|
|
11360
|
+
headroom: "headroom";
|
|
11229
11361
|
}>;
|
|
11230
11362
|
subject: z.ZodOptional<z.ZodString>;
|
|
11231
11363
|
severity: z.ZodEnum<{
|
|
@@ -11243,11 +11375,10 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
11243
11375
|
"global-config": "global-config";
|
|
11244
11376
|
"config-profile": "config-profile";
|
|
11245
11377
|
identity: "identity";
|
|
11246
|
-
keychain: "keychain";
|
|
11247
11378
|
provider: "provider";
|
|
11248
|
-
headroom: "headroom";
|
|
11249
11379
|
frontdoor: "frontdoor";
|
|
11250
11380
|
pool: "pool";
|
|
11381
|
+
keychain: "keychain";
|
|
11251
11382
|
"ambient-credential": "ambient-credential";
|
|
11252
11383
|
"binary-discovery": "binary-discovery";
|
|
11253
11384
|
"claude-shim": "claude-shim";
|
|
@@ -11257,6 +11388,7 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
11257
11388
|
"directory-rules": "directory-rules";
|
|
11258
11389
|
"categories-local": "categories-local";
|
|
11259
11390
|
"active-identity": "active-identity";
|
|
11391
|
+
headroom: "headroom";
|
|
11260
11392
|
}>;
|
|
11261
11393
|
subject: z.ZodOptional<z.ZodString>;
|
|
11262
11394
|
severity: z.ZodEnum<{
|
|
@@ -11277,9 +11409,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
|
|
|
11277
11409
|
current: z.ZodString;
|
|
11278
11410
|
latest: z.ZodString;
|
|
11279
11411
|
action: z.ZodEnum<{
|
|
11280
|
-
updated: "updated";
|
|
11281
11412
|
current: "current";
|
|
11282
11413
|
available: "available";
|
|
11414
|
+
updated: "updated";
|
|
11283
11415
|
}>;
|
|
11284
11416
|
}, z.core.$strict>;
|
|
11285
11417
|
/** The Sign in with ChatGPT login's state as `codex status` reports it: no sign-in yet, signed in (with who, whether the plan scope was granted, and when the access token lapses), or a file that cannot be read. */
|
|
@@ -11329,12 +11461,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
11329
11461
|
decision: z.ZodObject<{
|
|
11330
11462
|
identity: z.ZodOptional<z.ZodString>;
|
|
11331
11463
|
identitySource: z.ZodEnum<{
|
|
11332
|
-
env: "env";
|
|
11333
|
-
none: "none";
|
|
11334
11464
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
11335
11465
|
argv: "argv";
|
|
11466
|
+
env: "env";
|
|
11336
11467
|
"directory-pin": "directory-pin";
|
|
11337
11468
|
"active-identity-file": "active-identity-file";
|
|
11469
|
+
none: "none";
|
|
11338
11470
|
}>;
|
|
11339
11471
|
pool: z.ZodOptional<z.ZodObject<{
|
|
11340
11472
|
name: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-shim",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.14.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>",
|