claude-use 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 +132 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -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.
|
|
@@ -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<{
|
|
@@ -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<{
|
|
@@ -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<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
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>",
|