claude-use 11.19.0 → 11.19.1
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/cli.cjs +28 -22
- package/dist/index.cjs +21 -14
- package/dist/index.mjs +20 -13
- package/dist/types/index.d.ts +14 -5
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -34172,7 +34172,7 @@ var init_package = __esm({
|
|
|
34172
34172
|
"package.json"() {
|
|
34173
34173
|
package_default = {
|
|
34174
34174
|
name: "claude-use",
|
|
34175
|
-
version: "11.19.
|
|
34175
|
+
version: "11.19.1",
|
|
34176
34176
|
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.",
|
|
34177
34177
|
license: "MIT",
|
|
34178
34178
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -110046,7 +110046,13 @@ function validateMembers(pools, name, members2) {
|
|
|
110046
110046
|
throw new UsageError(`Member "pool:${cycle[1] ?? name}" would make pool "${name}" reach itself: ${cycle.join(" -> ")}. A pool cannot nest itself, directly or through another pool.`);
|
|
110047
110047
|
}
|
|
110048
110048
|
}
|
|
110049
|
-
function
|
|
110049
|
+
function poolPolicyOf(policy) {
|
|
110050
|
+
return { ...policy.preference === void 0 ? {} : { preference: policy.preference } };
|
|
110051
|
+
}
|
|
110052
|
+
function isPoolChange(change) {
|
|
110053
|
+
return change.identities !== void 0 || change.preference !== void 0;
|
|
110054
|
+
}
|
|
110055
|
+
function addPool(paths, name, identities, policy = {}) {
|
|
110050
110056
|
if (!PoolNameSchema.safeParse(name).success) {
|
|
110051
110057
|
throw new InvalidPoolNameError(name);
|
|
110052
110058
|
}
|
|
@@ -110055,14 +110061,16 @@ function addPool(paths, name, identities, preference) {
|
|
|
110055
110061
|
throw new PoolAlreadyExistsError(name);
|
|
110056
110062
|
}
|
|
110057
110063
|
validateMembers(pools, name, identities);
|
|
110058
|
-
const pool = { identities: [...identities], ...
|
|
110064
|
+
const pool = { identities: [...identities], ...poolPolicyOf(policy) };
|
|
110059
110065
|
writePools(paths, { ...pools, [name]: pool });
|
|
110060
110066
|
return pool;
|
|
110061
110067
|
}
|
|
110062
|
-
function
|
|
110063
|
-
requirePool(paths, name);
|
|
110068
|
+
function changePool(paths, name, change) {
|
|
110069
|
+
const existing = requirePool(paths, name);
|
|
110070
|
+
const identities = change.identities ?? existing.identities;
|
|
110064
110071
|
validateMembers(readPools(paths), name, identities);
|
|
110065
|
-
const
|
|
110072
|
+
const preference = change.preference === void 0 ? existing.preference : change.preference === false ? void 0 : change.preference;
|
|
110073
|
+
const pool = { identities: [...identities], ...poolPolicyOf({ preference }) };
|
|
110066
110074
|
writePools(paths, { ...readPools(paths), [name]: pool });
|
|
110067
110075
|
return pool;
|
|
110068
110076
|
}
|
|
@@ -126343,20 +126351,19 @@ function createConfigApiRouter(deps) {
|
|
|
126343
126351
|
add: route("/rest/config/pool/add", "Define a pool").input(ConfigPoolAddInputSchema).output(ConfigPoolAddOutputSchema).handler(
|
|
126344
126352
|
({ input: input2 }) => guarded(() => {
|
|
126345
126353
|
requireIdentityNames(paths, input2.identities);
|
|
126346
|
-
const created = addPool(paths, input2.name, input2.identities, input2.preference);
|
|
126354
|
+
const created = addPool(paths, input2.name, input2.identities, { preference: input2.preference });
|
|
126347
126355
|
return { action: "created", kind: "pool", name: input2.name, value: created };
|
|
126348
126356
|
})
|
|
126349
126357
|
),
|
|
126350
126358
|
set: route("/rest/config/pool/set", "Replace a pool's members, its preference or both").input(ConfigPoolSetInputSchema).output(ConfigPoolSetOutputSchema).handler(
|
|
126351
126359
|
({ input: input2 }) => guarded(() => {
|
|
126352
|
-
|
|
126353
|
-
|
|
126360
|
+
const change = { identities: input2.identities, preference: input2.preference };
|
|
126361
|
+
requireChange(isPoolChange(change), "identities or preference");
|
|
126362
|
+
requirePool(paths, input2.name);
|
|
126354
126363
|
if (input2.identities !== void 0) {
|
|
126355
126364
|
requireIdentityNames(paths, input2.identities);
|
|
126356
126365
|
}
|
|
126357
|
-
|
|
126358
|
-
const preference = input2.preference === void 0 ? existing.preference : input2.preference === false ? void 0 : input2.preference;
|
|
126359
|
-
return { action: "updated", kind: "pool", name: input2.name, value: setPool(paths, input2.name, members2, preference) };
|
|
126366
|
+
return { action: "updated", kind: "pool", name: input2.name, value: changePool(paths, input2.name, change) };
|
|
126360
126367
|
})
|
|
126361
126368
|
),
|
|
126362
126369
|
remove: route("/rest/config/pool/remove", "Delete a pool").input(ConfigPoolRemoveInputSchema).output(ConfigPoolRemoveOutputSchema).handler(({ input: input2 }) => {
|
|
@@ -145074,7 +145081,7 @@ function registerPoolCommand(program2, deps) {
|
|
|
145074
145081
|
pool.command("add <name>").description("Define a pool. Fails if one with this name already exists.").option("--identity <name>", "A member: an identity name, or pool:<name> to nest another pool with its own policy (repeatable).", collectRepeated).addOption(new Option("--preference <mode>", PREFERENCE_DESCRIPTION).choices(POOL_PREFERENCES)).option("--json", "Print the result as JSON.").action((name, options) => {
|
|
145075
145082
|
const members2 = membersOf(options);
|
|
145076
145083
|
requireIdentityNames(paths, members2);
|
|
145077
|
-
const created = addPool(paths, name, members2, options.preference);
|
|
145084
|
+
const created = addPool(paths, name, members2, { preference: options.preference });
|
|
145078
145085
|
reportMutation(options.json, { action: "created", kind: "pool", name, value: created }, () => {
|
|
145079
145086
|
console.log(`Created pool "${name}" with ${members2.join(", ")}.`);
|
|
145080
145087
|
});
|
|
@@ -145083,18 +145090,17 @@ function registerPoolCommand(program2, deps) {
|
|
|
145083
145090
|
);
|
|
145084
145091
|
withExamples(
|
|
145085
145092
|
pool.command("set <name>").description("Replace a pool's members, its preference, or both.").option("--identity <name>", "A member: an identity name, or pool:<name> to nest another pool with its own policy (repeatable); the full new list. Kept as-is when this option is absent.", collectRepeated).addOption(new Option("--preference <mode>", PREFERENCE_DESCRIPTION).choices(POOL_PREFERENCES)).option("--no-preference", "Clear the preference back to the default, score.").option("--json", "Print the result as JSON.").action((name, options) => {
|
|
145086
|
-
|
|
145087
|
-
|
|
145093
|
+
requirePool(paths, name);
|
|
145094
|
+
const change = { identities: options.identity, preference: options.preference };
|
|
145095
|
+
if (!isPoolChange(change)) {
|
|
145088
145096
|
throw new UsageError("Nothing to change: pass --identity, --preference or --no-preference.");
|
|
145089
145097
|
}
|
|
145090
|
-
const members2 = options.identity === void 0 ? existing.identities : membersOf(options);
|
|
145091
145098
|
if (options.identity !== void 0) {
|
|
145092
145099
|
requireIdentityNames(paths, membersOf(options));
|
|
145093
145100
|
}
|
|
145094
|
-
const
|
|
145095
|
-
const updated = setPool(paths, name, members2, preference);
|
|
145101
|
+
const updated = changePool(paths, name, change);
|
|
145096
145102
|
reportMutation(options.json, { action: "updated", kind: "pool", name, value: updated }, () => {
|
|
145097
|
-
console.log(`Pool "${name}" now has ${
|
|
145103
|
+
console.log(`Pool "${name}" now has ${updated.identities.map(poolMemberIdentity).join(", ")}.`);
|
|
145098
145104
|
});
|
|
145099
145105
|
}),
|
|
145100
145106
|
["agent-shim pool set subs --identity work --identity personal --identity spare", "agent-shim pool set subs --preference listed"]
|
|
@@ -145104,7 +145110,7 @@ function registerPoolCommand(program2, deps) {
|
|
|
145104
145110
|
const pools = readPools(paths);
|
|
145105
145111
|
const active = readActiveIdentity2(paths);
|
|
145106
145112
|
if (options.json === true) {
|
|
145107
|
-
printJson(Object.entries(pools).map(([name, entry]) => ({ name, identities: entry.identities, ...entry
|
|
145113
|
+
printJson(Object.entries(pools).map(([name, entry]) => ({ name, identities: entry.identities, ...poolPolicyOf(entry), active: active === `${POOL_SELECTOR_PREFIX}${name}` })));
|
|
145108
145114
|
return;
|
|
145109
145115
|
}
|
|
145110
145116
|
const names = Object.keys(pools).sort();
|
|
@@ -145114,7 +145120,7 @@ function registerPoolCommand(program2, deps) {
|
|
|
145114
145120
|
}
|
|
145115
145121
|
for (const name of names) {
|
|
145116
145122
|
const entry = pools[name];
|
|
145117
|
-
console.log(`${active === `${POOL_SELECTOR_PREFIX}${name}` ? "*" : " "} ${name}: ${(entry?.identities ?? []).map(poolMemberIdentity).join(", ")}${entry?.preference === void 0 ? "" :
|
|
145123
|
+
console.log(`${active === `${POOL_SELECTOR_PREFIX}${name}` ? "*" : " "} ${name}: ${(entry?.identities ?? []).map(poolMemberIdentity).join(", ")}${entry?.preference === void 0 ? "" : ` (preference: ${entry.preference})`}`);
|
|
145118
145124
|
}
|
|
145119
145125
|
}),
|
|
145120
145126
|
["agent-shim pool list", "agent-shim pool list --json"]
|
|
@@ -145123,7 +145129,7 @@ function registerPoolCommand(program2, deps) {
|
|
|
145123
145129
|
pool.command("show <name>").description("Show one pool's members.").option("--json", "Print the pool as JSON.").action((name, options) => {
|
|
145124
145130
|
const entry = requirePool(paths, name);
|
|
145125
145131
|
if (options.json === true) {
|
|
145126
|
-
printJson({ name, identities: entry.identities, ...entry
|
|
145132
|
+
printJson({ name, identities: entry.identities, ...poolPolicyOf(entry) });
|
|
145127
145133
|
return;
|
|
145128
145134
|
}
|
|
145129
145135
|
console.log(`Pool: ${name}`);
|
package/dist/index.cjs
CHANGED
|
@@ -2920,7 +2920,7 @@ var init_package = __esm({
|
|
|
2920
2920
|
"package.json"() {
|
|
2921
2921
|
package_default = {
|
|
2922
2922
|
name: "claude-use",
|
|
2923
|
-
version: "11.19.
|
|
2923
|
+
version: "11.19.1",
|
|
2924
2924
|
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.",
|
|
2925
2925
|
license: "MIT",
|
|
2926
2926
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -9164,6 +9164,7 @@ __export(index_exports, {
|
|
|
9164
9164
|
buildRcSetPermissionModePayload: () => buildRcSetPermissionModePayload,
|
|
9165
9165
|
buildRcUserMessagePayload: () => buildRcUserMessagePayload,
|
|
9166
9166
|
carryOver: () => carryOver,
|
|
9167
|
+
changePool: () => changePool,
|
|
9167
9168
|
checkReportHasWarnings: () => checkReportHasWarnings,
|
|
9168
9169
|
checkReportToJson: () => checkReportToJson,
|
|
9169
9170
|
collectCheckReport: () => collectCheckReport,
|
|
@@ -9321,7 +9322,6 @@ __export(index_exports, {
|
|
|
9321
9322
|
setDefaultConfigProfile: () => setDefaultConfigProfile,
|
|
9322
9323
|
setGlobalDefaultProfile: () => setGlobalDefaultProfile,
|
|
9323
9324
|
setIdentityCredential: () => setIdentityCredential,
|
|
9324
|
-
setPool: () => setPool,
|
|
9325
9325
|
setProfileCategories: () => setProfileCategories,
|
|
9326
9326
|
setProfileEntries: () => setProfileEntries,
|
|
9327
9327
|
setProfileLaunchFlags: () => setProfileLaunchFlags,
|
|
@@ -13247,7 +13247,13 @@ function validateMembers(pools, name, members) {
|
|
|
13247
13247
|
throw new UsageError(`Member "pool:${cycle[1] ?? name}" would make pool "${name}" reach itself: ${cycle.join(" -> ")}. A pool cannot nest itself, directly or through another pool.`);
|
|
13248
13248
|
}
|
|
13249
13249
|
}
|
|
13250
|
-
function
|
|
13250
|
+
function poolPolicyOf(policy) {
|
|
13251
|
+
return { ...policy.preference === void 0 ? {} : { preference: policy.preference } };
|
|
13252
|
+
}
|
|
13253
|
+
function isPoolChange(change) {
|
|
13254
|
+
return change.identities !== void 0 || change.preference !== void 0;
|
|
13255
|
+
}
|
|
13256
|
+
function addPool(paths, name, identities, policy = {}) {
|
|
13251
13257
|
if (!PoolNameSchema.safeParse(name).success) {
|
|
13252
13258
|
throw new InvalidPoolNameError(name);
|
|
13253
13259
|
}
|
|
@@ -13256,14 +13262,16 @@ function addPool(paths, name, identities, preference) {
|
|
|
13256
13262
|
throw new PoolAlreadyExistsError(name);
|
|
13257
13263
|
}
|
|
13258
13264
|
validateMembers(pools, name, identities);
|
|
13259
|
-
const pool = { identities: [...identities], ...
|
|
13265
|
+
const pool = { identities: [...identities], ...poolPolicyOf(policy) };
|
|
13260
13266
|
writePools(paths, { ...pools, [name]: pool });
|
|
13261
13267
|
return pool;
|
|
13262
13268
|
}
|
|
13263
|
-
function
|
|
13264
|
-
requirePool(paths, name);
|
|
13269
|
+
function changePool(paths, name, change) {
|
|
13270
|
+
const existing = requirePool(paths, name);
|
|
13271
|
+
const identities = change.identities ?? existing.identities;
|
|
13265
13272
|
validateMembers(readPools(paths), name, identities);
|
|
13266
|
-
const
|
|
13273
|
+
const preference = change.preference === void 0 ? existing.preference : change.preference === false ? void 0 : change.preference;
|
|
13274
|
+
const pool = { identities: [...identities], ...poolPolicyOf({ preference }) };
|
|
13267
13275
|
writePools(paths, { ...readPools(paths), [name]: pool });
|
|
13268
13276
|
return pool;
|
|
13269
13277
|
}
|
|
@@ -15611,20 +15619,19 @@ function createConfigApiRouter(deps) {
|
|
|
15611
15619
|
add: route("/rest/config/pool/add", "Define a pool").input(ConfigPoolAddInputSchema).output(ConfigPoolAddOutputSchema).handler(
|
|
15612
15620
|
({ input }) => guarded(() => {
|
|
15613
15621
|
requireIdentityNames(paths, input.identities);
|
|
15614
|
-
const created = addPool(paths, input.name, input.identities, input.preference);
|
|
15622
|
+
const created = addPool(paths, input.name, input.identities, { preference: input.preference });
|
|
15615
15623
|
return { action: "created", kind: "pool", name: input.name, value: created };
|
|
15616
15624
|
})
|
|
15617
15625
|
),
|
|
15618
15626
|
set: route("/rest/config/pool/set", "Replace a pool's members, its preference or both").input(ConfigPoolSetInputSchema).output(ConfigPoolSetOutputSchema).handler(
|
|
15619
15627
|
({ input }) => guarded(() => {
|
|
15620
|
-
|
|
15621
|
-
|
|
15628
|
+
const change = { identities: input.identities, preference: input.preference };
|
|
15629
|
+
requireChange(isPoolChange(change), "identities or preference");
|
|
15630
|
+
requirePool(paths, input.name);
|
|
15622
15631
|
if (input.identities !== void 0) {
|
|
15623
15632
|
requireIdentityNames(paths, input.identities);
|
|
15624
15633
|
}
|
|
15625
|
-
|
|
15626
|
-
const preference = input.preference === void 0 ? existing.preference : input.preference === false ? void 0 : input.preference;
|
|
15627
|
-
return { action: "updated", kind: "pool", name: input.name, value: setPool(paths, input.name, members, preference) };
|
|
15634
|
+
return { action: "updated", kind: "pool", name: input.name, value: changePool(paths, input.name, change) };
|
|
15628
15635
|
})
|
|
15629
15636
|
),
|
|
15630
15637
|
remove: route("/rest/config/pool/remove", "Delete a pool").input(ConfigPoolRemoveInputSchema).output(ConfigPoolRemoveOutputSchema).handler(({ input }) => {
|
|
@@ -18841,6 +18848,7 @@ init_ownCli();
|
|
|
18841
18848
|
buildRcSetPermissionModePayload,
|
|
18842
18849
|
buildRcUserMessagePayload,
|
|
18843
18850
|
carryOver,
|
|
18851
|
+
changePool,
|
|
18844
18852
|
checkReportHasWarnings,
|
|
18845
18853
|
checkReportToJson,
|
|
18846
18854
|
collectCheckReport,
|
|
@@ -18998,7 +19006,6 @@ init_ownCli();
|
|
|
18998
19006
|
setDefaultConfigProfile,
|
|
18999
19007
|
setGlobalDefaultProfile,
|
|
19000
19008
|
setIdentityCredential,
|
|
19001
|
-
setPool,
|
|
19002
19009
|
setProfileCategories,
|
|
19003
19010
|
setProfileEntries,
|
|
19004
19011
|
setProfileLaunchFlags,
|
package/dist/index.mjs
CHANGED
|
@@ -2896,7 +2896,7 @@ var init_package = __esm({
|
|
|
2896
2896
|
"package.json"() {
|
|
2897
2897
|
package_default = {
|
|
2898
2898
|
name: "claude-use",
|
|
2899
|
-
version: "11.19.
|
|
2899
|
+
version: "11.19.1",
|
|
2900
2900
|
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.",
|
|
2901
2901
|
license: "MIT",
|
|
2902
2902
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -12834,7 +12834,13 @@ function validateMembers(pools, name, members) {
|
|
|
12834
12834
|
throw new UsageError(`Member "pool:${cycle[1] ?? name}" would make pool "${name}" reach itself: ${cycle.join(" -> ")}. A pool cannot nest itself, directly or through another pool.`);
|
|
12835
12835
|
}
|
|
12836
12836
|
}
|
|
12837
|
-
function
|
|
12837
|
+
function poolPolicyOf(policy) {
|
|
12838
|
+
return { ...policy.preference === void 0 ? {} : { preference: policy.preference } };
|
|
12839
|
+
}
|
|
12840
|
+
function isPoolChange(change) {
|
|
12841
|
+
return change.identities !== void 0 || change.preference !== void 0;
|
|
12842
|
+
}
|
|
12843
|
+
function addPool(paths, name, identities, policy = {}) {
|
|
12838
12844
|
if (!PoolNameSchema.safeParse(name).success) {
|
|
12839
12845
|
throw new InvalidPoolNameError(name);
|
|
12840
12846
|
}
|
|
@@ -12843,14 +12849,16 @@ function addPool(paths, name, identities, preference) {
|
|
|
12843
12849
|
throw new PoolAlreadyExistsError(name);
|
|
12844
12850
|
}
|
|
12845
12851
|
validateMembers(pools, name, identities);
|
|
12846
|
-
const pool = { identities: [...identities], ...
|
|
12852
|
+
const pool = { identities: [...identities], ...poolPolicyOf(policy) };
|
|
12847
12853
|
writePools(paths, { ...pools, [name]: pool });
|
|
12848
12854
|
return pool;
|
|
12849
12855
|
}
|
|
12850
|
-
function
|
|
12851
|
-
requirePool(paths, name);
|
|
12856
|
+
function changePool(paths, name, change) {
|
|
12857
|
+
const existing = requirePool(paths, name);
|
|
12858
|
+
const identities = change.identities ?? existing.identities;
|
|
12852
12859
|
validateMembers(readPools(paths), name, identities);
|
|
12853
|
-
const
|
|
12860
|
+
const preference = change.preference === void 0 ? existing.preference : change.preference === false ? void 0 : change.preference;
|
|
12861
|
+
const pool = { identities: [...identities], ...poolPolicyOf({ preference }) };
|
|
12854
12862
|
writePools(paths, { ...readPools(paths), [name]: pool });
|
|
12855
12863
|
return pool;
|
|
12856
12864
|
}
|
|
@@ -15198,20 +15206,19 @@ function createConfigApiRouter(deps) {
|
|
|
15198
15206
|
add: route("/rest/config/pool/add", "Define a pool").input(ConfigPoolAddInputSchema).output(ConfigPoolAddOutputSchema).handler(
|
|
15199
15207
|
({ input }) => guarded(() => {
|
|
15200
15208
|
requireIdentityNames(paths, input.identities);
|
|
15201
|
-
const created = addPool(paths, input.name, input.identities, input.preference);
|
|
15209
|
+
const created = addPool(paths, input.name, input.identities, { preference: input.preference });
|
|
15202
15210
|
return { action: "created", kind: "pool", name: input.name, value: created };
|
|
15203
15211
|
})
|
|
15204
15212
|
),
|
|
15205
15213
|
set: route("/rest/config/pool/set", "Replace a pool's members, its preference or both").input(ConfigPoolSetInputSchema).output(ConfigPoolSetOutputSchema).handler(
|
|
15206
15214
|
({ input }) => guarded(() => {
|
|
15207
|
-
|
|
15208
|
-
|
|
15215
|
+
const change = { identities: input.identities, preference: input.preference };
|
|
15216
|
+
requireChange(isPoolChange(change), "identities or preference");
|
|
15217
|
+
requirePool(paths, input.name);
|
|
15209
15218
|
if (input.identities !== void 0) {
|
|
15210
15219
|
requireIdentityNames(paths, input.identities);
|
|
15211
15220
|
}
|
|
15212
|
-
|
|
15213
|
-
const preference = input.preference === void 0 ? existing.preference : input.preference === false ? void 0 : input.preference;
|
|
15214
|
-
return { action: "updated", kind: "pool", name: input.name, value: setPool(paths, input.name, members, preference) };
|
|
15221
|
+
return { action: "updated", kind: "pool", name: input.name, value: changePool(paths, input.name, change) };
|
|
15215
15222
|
})
|
|
15216
15223
|
),
|
|
15217
15224
|
remove: route("/rest/config/pool/remove", "Delete a pool").input(ConfigPoolRemoveInputSchema).output(ConfigPoolRemoveOutputSchema).handler(({ input }) => {
|
|
@@ -18427,6 +18434,7 @@ export {
|
|
|
18427
18434
|
buildRcSetPermissionModePayload,
|
|
18428
18435
|
buildRcUserMessagePayload,
|
|
18429
18436
|
carryOver,
|
|
18437
|
+
changePool,
|
|
18430
18438
|
checkReportHasWarnings,
|
|
18431
18439
|
checkReportToJson,
|
|
18432
18440
|
collectCheckReport,
|
|
@@ -18584,7 +18592,6 @@ export {
|
|
|
18584
18592
|
setDefaultConfigProfile,
|
|
18585
18593
|
setGlobalDefaultProfile,
|
|
18586
18594
|
setIdentityCredential,
|
|
18587
|
-
setPool,
|
|
18588
18595
|
setProfileCategories,
|
|
18589
18596
|
setProfileEntries,
|
|
18590
18597
|
setProfileLaunchFlags,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -13394,10 +13394,19 @@ declare class PoolNotFoundError extends CliError {
|
|
|
13394
13394
|
declare function readPools(paths: LayoutPaths): Readonly<Record<string, Pool>>;
|
|
13395
13395
|
/** The pool named `name`; throws `PoolNotFoundError` when none is defined. */
|
|
13396
13396
|
declare function requirePool(paths: LayoutPaths, name: string): Pool;
|
|
13397
|
+
/** The settings of a pool beside its members: every `Pool` field but `identities`, each one optional. A field left undefined is the pool's default for it. */
|
|
13398
|
+
type PoolPolicy = {
|
|
13399
|
+
readonly [Field in keyof Omit<Pool, "identities">]?: Omit<Pool, "identities">[Field] | undefined;
|
|
13400
|
+
};
|
|
13401
|
+
/** What a change to an existing pool may name: the full new member list, and the policy fields to set, where `false` clears a field back to its default. A field left undefined is kept as it is. */
|
|
13402
|
+
interface PoolChange {
|
|
13403
|
+
readonly identities?: readonly PoolMemberEntry[] | undefined;
|
|
13404
|
+
readonly preference?: PoolPreference | false | undefined;
|
|
13405
|
+
}
|
|
13397
13406
|
/** Defines a new pool. Throws `InvalidPoolNameError` for a name `PoolNameSchema` rejects, `PoolAlreadyExistsError` for one already defined, and `UsageError` for a nested member that names an undefined pool or a cycle. */
|
|
13398
|
-
declare function addPool(paths: LayoutPaths, name: string, identities: readonly PoolMemberEntry[],
|
|
13399
|
-
/**
|
|
13400
|
-
declare function
|
|
13407
|
+
declare function addPool(paths: LayoutPaths, name: string, identities: readonly PoolMemberEntry[], policy?: PoolPolicy): Pool;
|
|
13408
|
+
/** Applies `change` to an existing pool: the members it names replace the list, a policy field it names is set (or cleared, for `false`), and everything else is kept. Throws `PoolNotFoundError` when the pool is not defined, and `UsageError` for a nested member that names an undefined pool or a cycle. */
|
|
13409
|
+
declare function changePool(paths: LayoutPaths, name: string, change: PoolChange): Pool;
|
|
13401
13410
|
/** Removes a pool. Throws `PoolNotFoundError` when it is not defined. Anything that selected it (an active-identity file, a directory rule) is left for `doctor` to report, as with a removed identity. */
|
|
13402
13411
|
declare function removePool(paths: LayoutPaths, name: string): void;
|
|
13403
13412
|
|
|
@@ -13620,5 +13629,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
|
|
|
13620
13629
|
*/
|
|
13621
13630
|
declare function agentShimCliPath(distDir?: string | undefined): string;
|
|
13622
13631
|
|
|
13623
|
-
export { AMBIENT_CREDENTIAL_VARS, AgentKindSchema, AgentMetaSchema, AgentNodeSchema, AgentTreesListInputSchema, AgentTreesListOutputSchema, AgentTreesShowInputSchema, AgentTreesShowOutputSchema, CHECK_CREDENTIAL_APPLIES, CODEX_APP_SERVER_GENERATED_AGAINST, CODEX_APP_SERVER_TIMEOUT_MS, CONNECT_INTERCEPT_HOST, CONNECT_INTERCEPT_HOSTS, CONNECT_LIMITS, CONTROL_PATH_PREFIX, CategoryClassificationOverlaySchema, CategoryClassificationSchema, CategoryMapSchema, CheckReportJsonSchema, CheckRunInputSchema, CliError, CodexAccountReadSchema, CodexAppServerProtocolError, CodexAppServerRequestError, CodexAppServerUnavailableError, CodexLogoutOutputSchema, CodexRateLimitsReadSchema, CodexSignInSchema, CodexStatusOutputSchema, ConfigIdentityAddOutputSchema, ConfigIdentityRemoveInputSchema, ConfigIdentityRemoveOutputSchema, ConfigIdentitySetInputSchema, ConfigIdentitySetOutputSchema, ConfigIdentityUseOutputSchema, ConfigNameInputSchema, ConfigPoolAddInputSchema, ConfigPoolAddOutputSchema, ConfigPoolRemoveInputSchema, ConfigPoolRemoveOutputSchema, ConfigPoolSetInputSchema, ConfigPoolSetOutputSchema, ConfigPoolUseOutputSchema, ConfigProfileAddInputSchema, ConfigProfileAddOutputSchema, ConfigProfileRemoveInputSchema, ConfigProfileRemoveOutputSchema, ConfigProfileSchema, ConfigProfileSetInputSchema, ConfigProfileSetOutputSchema, ConfigProfileUseOutputSchema, ConfigProviderAddInputSchema, ConfigProviderAddOutputSchema, ConfigProviderRemoveInputSchema, ConfigProviderRemoveOutputSchema, ConfigProviderSetInputSchema, ConfigProviderSetOutputSchema, ConfigRuleAddInputSchema, ConfigRuleAddOutputSchema, ConfigRuleRemoveInputSchema, ConfigRuleRemoveOutputSchema, ConfigRuleSetInputSchema, ConfigRuleSetOutputSchema, CredentialCacheSchema, CredentialSchema, CredentialSourceSchema, CredentialSummarySchema, DOOR_EVENT_BUFFER_EVENTS, DOOR_EVENT_SOURCE_RC, DOOR_HEALTH_EVENT_SOURCE, DirectoryRuleAlreadyExistsError, DirectoryRuleMissingTargetError, DirectoryRuleNotFoundError, DirectoryRuleSchema, DirectoryRulesSchema, DoctorFindingSchema, DoctorRunOutputSchema, DoorEventSchema, DoorEventSourceQuerySchema, DoorHealthEventSchema, EXIT_FAILURE, EXIT_USAGE, EffectiveWindowSchema, EntryValueSchema, FARM_MANIFEST_FILENAME, FrontDoorControlMaterialError, FrontDoorNotServingError, FrontDoorRestartOutputSchema, FrontDoorSessionStatusSchema, FrontDoorSessionsOutputSchema, FrontDoorStartError, FrontDoorStateSchema, FrontDoorStatusOutputSchema, GlobalConfigSchema, HeadroomSocketTargetSchema, HeadroomStartError, IdentityAlreadyExistsError, IdentityNotFoundError, IdentitySchema, InvalidCategoryNameError, InvalidIdentityNameError, InvalidProviderNameError, LAUNCH_EVENT_SOURCE, LIVE_TASK_CAP, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, LiveTaskSchema, MergedAgentNodeSchema, MergedAgentTreeSchema, OWN_CLI_FILE_NAME, PROMPT_CACHE_TTL_MS, PlanClassSchema, PoolGraphError, PoolNameSchema, PoolNotFoundError, PoolPickReportSchema, PoolSchema, PortableConfigSchema, ProfileAlreadyExistsError, ProfileNotFoundError, ProviderAlreadyExistsError, ProviderKindMismatchError, ProviderNotFoundError, ProviderSchema, QUOTA_EXPIRING_EVENT_SOURCE, QuotaExpiringEventSchema, RC_CONTEXT_USAGE_DETAILS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, RC_PERMISSION_MODES, RC_READ_FILE_ENCODINGS, RC_REQUEST_PARSE_CAP_BYTES, RC_SELF_HOST_ENV, RC_SELF_HOST_KEEPALIVE_MS, RC_SELF_HOST_RECORD_DIR, RC_SELF_HOST_RECORD_FILE, RC_SELF_HOST_RETENTION_MS, RC_SELF_HOST_SCOPE_LIST, RC_SELF_HOST_WORKER_JWT_TTL_SECONDS, RC_SESSIONS_PATH_PREFIX, RC_STREAM_BACKOFF_MS, RC_WEB_FETCH_ALLOW_PRIVATE_ENV, RC_WEB_FETCH_DEADLINE_MS, RC_WEB_FETCH_MAX_BYTES, RC_WEB_FETCH_MAX_REDIRECTS, ROUTED_PATH_PREFIX, RcLiveRateLimitSchema, RcPermissionModeSchema, RcRateLimitInfoSchema, RcRateLimitWindowSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, SessionAgentTreeSchema, SessionLookupError, SessionSummarySchema, TaskItemSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, WorkflowRunSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, applyAgentTaskEvent, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, collectSessionList, createAgentTreesApiRouter, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, launchRequiredUpstreams, listDirectoryRules, listIdentities, listProfiles, listProviders, listSessions, listUsageSnapshots, locateSession, matchBranch, mergeLiveTasks, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readSessionAgentTree, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, realSessionFs, reconnectRcSessionMcpServer, recoverFarm, recoveryDiagnostics, refreshLaunchPoolUsage, refreshPoolUsage, refreshStalePoolMembers, removeDirectoryRule, removeIdentity, removePool, removeProfile, removeProvider, requirePool, resolveAgentShimHome, resolveClaudeHome, resolveClaudeLaunch, resolveDecisions, resolveLaunch, resolveLaunchSelection, resolveLayoutPaths, resolveSupervisorConfig, resyncFarm, runCheck, runClaudeLaunch, runDoctor, runFrontDoorSupervisor, runLaunchPlan, runLauncher, runSupervisor, sendRcKeepAlive, servedByPipeline, setAllowAmbientCredential, setDefaultConfigProfile, setGlobalDefaultProfile, setIdentityCredential,
|
|
13624
|
-
export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexAccountRead, CodexApiClient, CodexApiDeps, CodexApiRouter, CodexAppServerConnection, CodexAppServerPort, CodexAppServerReadOptions, CodexRateLimitsRead, CollectCheckReportParams, CollectDoctorReportParams, CompiledRule, ConditionContext, ConfigApiDeps, ConfigApiRouter, ConfigProfile, ConnectCertStore, ConnectEffects, ConnectLimits, ConnectLocalSurface, ConnectServerConfig, ConnectServerHandle, ConnectTarget, ControlApiClient, ControlApiDeps, ControlApiRouter, Credential, CredentialSource, Decision, Diagnostic, DirectoryRule, DirectoryRules, DoctorReport, DoorApiClient, DoorApiContext, DoorApiDeps, DoorApiRouter, DoorEvent, DoorEventHub, DoorEventPublisher, DoorEventStream, DoorEventsApiDeps, DoorHealthEvent, DoorHealthPublisher, EffectiveWindow, EliminatedRule, EnsureFrontDoorPorts, EnsureHeadroomPorts, EntryFact, EntryFacts, EntryValue, EvaluateAmbientCredentialGuardParams, FlattenedCascade, FrontDoorControlMaterial, FrontDoorRcControl, FrontDoorSessionStatus, FrontDoorStatus, FrontDoorSupervisorPorts, GlobalConfig, HeadroomSupervisorConfig, Identity, IdentityCredentialChange, IdentityListEntry, IdentityListing, IdentitySession, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, LiveTask, LiveTaskBook, LocatedSession, MergedAgentNode, MergedAgentTree, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolMember, PoolPickReport, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SessionAgentTree, SessionCommandFs, SessionListFilters, SessionRef, SessionSummary, SessionView, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, TaskItem, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation, WorkflowRun };
|
|
13632
|
+
export { AMBIENT_CREDENTIAL_VARS, AgentKindSchema, AgentMetaSchema, AgentNodeSchema, AgentTreesListInputSchema, AgentTreesListOutputSchema, AgentTreesShowInputSchema, AgentTreesShowOutputSchema, CHECK_CREDENTIAL_APPLIES, CODEX_APP_SERVER_GENERATED_AGAINST, CODEX_APP_SERVER_TIMEOUT_MS, CONNECT_INTERCEPT_HOST, CONNECT_INTERCEPT_HOSTS, CONNECT_LIMITS, CONTROL_PATH_PREFIX, CategoryClassificationOverlaySchema, CategoryClassificationSchema, CategoryMapSchema, CheckReportJsonSchema, CheckRunInputSchema, CliError, CodexAccountReadSchema, CodexAppServerProtocolError, CodexAppServerRequestError, CodexAppServerUnavailableError, CodexLogoutOutputSchema, CodexRateLimitsReadSchema, CodexSignInSchema, CodexStatusOutputSchema, ConfigIdentityAddOutputSchema, ConfigIdentityRemoveInputSchema, ConfigIdentityRemoveOutputSchema, ConfigIdentitySetInputSchema, ConfigIdentitySetOutputSchema, ConfigIdentityUseOutputSchema, ConfigNameInputSchema, ConfigPoolAddInputSchema, ConfigPoolAddOutputSchema, ConfigPoolRemoveInputSchema, ConfigPoolRemoveOutputSchema, ConfigPoolSetInputSchema, ConfigPoolSetOutputSchema, ConfigPoolUseOutputSchema, ConfigProfileAddInputSchema, ConfigProfileAddOutputSchema, ConfigProfileRemoveInputSchema, ConfigProfileRemoveOutputSchema, ConfigProfileSchema, ConfigProfileSetInputSchema, ConfigProfileSetOutputSchema, ConfigProfileUseOutputSchema, ConfigProviderAddInputSchema, ConfigProviderAddOutputSchema, ConfigProviderRemoveInputSchema, ConfigProviderRemoveOutputSchema, ConfigProviderSetInputSchema, ConfigProviderSetOutputSchema, ConfigRuleAddInputSchema, ConfigRuleAddOutputSchema, ConfigRuleRemoveInputSchema, ConfigRuleRemoveOutputSchema, ConfigRuleSetInputSchema, ConfigRuleSetOutputSchema, CredentialCacheSchema, CredentialSchema, CredentialSourceSchema, CredentialSummarySchema, DOOR_EVENT_BUFFER_EVENTS, DOOR_EVENT_SOURCE_RC, DOOR_HEALTH_EVENT_SOURCE, DirectoryRuleAlreadyExistsError, DirectoryRuleMissingTargetError, DirectoryRuleNotFoundError, DirectoryRuleSchema, DirectoryRulesSchema, DoctorFindingSchema, DoctorRunOutputSchema, DoorEventSchema, DoorEventSourceQuerySchema, DoorHealthEventSchema, EXIT_FAILURE, EXIT_USAGE, EffectiveWindowSchema, EntryValueSchema, FARM_MANIFEST_FILENAME, FrontDoorControlMaterialError, FrontDoorNotServingError, FrontDoorRestartOutputSchema, FrontDoorSessionStatusSchema, FrontDoorSessionsOutputSchema, FrontDoorStartError, FrontDoorStateSchema, FrontDoorStatusOutputSchema, GlobalConfigSchema, HeadroomSocketTargetSchema, HeadroomStartError, IdentityAlreadyExistsError, IdentityNotFoundError, IdentitySchema, InvalidCategoryNameError, InvalidIdentityNameError, InvalidProviderNameError, LAUNCH_EVENT_SOURCE, LIVE_TASK_CAP, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, LiveTaskSchema, MergedAgentNodeSchema, MergedAgentTreeSchema, OWN_CLI_FILE_NAME, PROMPT_CACHE_TTL_MS, PlanClassSchema, PoolGraphError, PoolNameSchema, PoolNotFoundError, PoolPickReportSchema, PoolSchema, PortableConfigSchema, ProfileAlreadyExistsError, ProfileNotFoundError, ProviderAlreadyExistsError, ProviderKindMismatchError, ProviderNotFoundError, ProviderSchema, QUOTA_EXPIRING_EVENT_SOURCE, QuotaExpiringEventSchema, RC_CONTEXT_USAGE_DETAILS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, RC_PERMISSION_MODES, RC_READ_FILE_ENCODINGS, RC_REQUEST_PARSE_CAP_BYTES, RC_SELF_HOST_ENV, RC_SELF_HOST_KEEPALIVE_MS, RC_SELF_HOST_RECORD_DIR, RC_SELF_HOST_RECORD_FILE, RC_SELF_HOST_RETENTION_MS, RC_SELF_HOST_SCOPE_LIST, RC_SELF_HOST_WORKER_JWT_TTL_SECONDS, RC_SESSIONS_PATH_PREFIX, RC_STREAM_BACKOFF_MS, RC_WEB_FETCH_ALLOW_PRIVATE_ENV, RC_WEB_FETCH_DEADLINE_MS, RC_WEB_FETCH_MAX_BYTES, RC_WEB_FETCH_MAX_REDIRECTS, ROUTED_PATH_PREFIX, RcLiveRateLimitSchema, RcPermissionModeSchema, RcRateLimitInfoSchema, RcRateLimitWindowSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, SessionAgentTreeSchema, SessionLookupError, SessionSummarySchema, TaskItemSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, WorkflowRunSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, applyAgentTaskEvent, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, changePool, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, collectSessionList, createAgentTreesApiRouter, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, launchRequiredUpstreams, listDirectoryRules, listIdentities, listProfiles, listProviders, listSessions, listUsageSnapshots, locateSession, matchBranch, mergeLiveTasks, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readSessionAgentTree, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, realSessionFs, reconnectRcSessionMcpServer, recoverFarm, recoveryDiagnostics, refreshLaunchPoolUsage, refreshPoolUsage, refreshStalePoolMembers, removeDirectoryRule, removeIdentity, removePool, removeProfile, removeProvider, requirePool, resolveAgentShimHome, resolveClaudeHome, resolveClaudeLaunch, resolveDecisions, resolveLaunch, resolveLaunchSelection, resolveLayoutPaths, resolveSupervisorConfig, resyncFarm, runCheck, runClaudeLaunch, runDoctor, runFrontDoorSupervisor, runLaunchPlan, runLauncher, runSupervisor, sendRcKeepAlive, servedByPipeline, setAllowAmbientCredential, setDefaultConfigProfile, setGlobalDefaultProfile, setIdentityCredential, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, showSession, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, summariseSession, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, writeDirectoryRules };
|
|
13633
|
+
export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexAccountRead, CodexApiClient, CodexApiDeps, CodexApiRouter, CodexAppServerConnection, CodexAppServerPort, CodexAppServerReadOptions, CodexRateLimitsRead, CollectCheckReportParams, CollectDoctorReportParams, CompiledRule, ConditionContext, ConfigApiDeps, ConfigApiRouter, ConfigProfile, ConnectCertStore, ConnectEffects, ConnectLimits, ConnectLocalSurface, ConnectServerConfig, ConnectServerHandle, ConnectTarget, ControlApiClient, ControlApiDeps, ControlApiRouter, Credential, CredentialSource, Decision, Diagnostic, DirectoryRule, DirectoryRules, DoctorReport, DoorApiClient, DoorApiContext, DoorApiDeps, DoorApiRouter, DoorEvent, DoorEventHub, DoorEventPublisher, DoorEventStream, DoorEventsApiDeps, DoorHealthEvent, DoorHealthPublisher, EffectiveWindow, EliminatedRule, EnsureFrontDoorPorts, EnsureHeadroomPorts, EntryFact, EntryFacts, EntryValue, EvaluateAmbientCredentialGuardParams, FlattenedCascade, FrontDoorControlMaterial, FrontDoorRcControl, FrontDoorSessionStatus, FrontDoorStatus, FrontDoorSupervisorPorts, GlobalConfig, HeadroomSupervisorConfig, Identity, IdentityCredentialChange, IdentityListEntry, IdentityListing, IdentitySession, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, LiveTask, LiveTaskBook, LocatedSession, MergedAgentNode, MergedAgentTree, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolChange, PoolMember, PoolPickReport, PoolPolicy, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SessionAgentTree, SessionCommandFs, SessionListFilters, SessionRef, SessionSummary, SessionView, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, TaskItem, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation, WorkflowRun };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.1",
|
|
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>",
|