agent-shim 9.14.0 → 9.15.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 +4 -1
- package/dist/cli.cjs +803 -398
- package/dist/index.cjs +25 -9
- package/dist/index.mjs +25 -9
- package/dist/types/index.d.ts +71 -34
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -236,7 +236,7 @@ function isTimeZone(name) {
|
|
|
236
236
|
return false;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
var import_node_path2, import_zod, import_trilean, CATEGORY_NAMES, OVERRIDABLE_CATEGORIES, CategoryMapSchema, DURATION_RE, DurationSchema, WhenConditionObjectSchema, WhenSchema, EntryValueSchema, ENTRY_KEY_RE, EntriesSchema, LaunchSchema, CREDENTIAL_TARGETS, PROVIDER_CREDENTIAL_TARGETS, CREDENTIAL_TARGET_VARS, ArgvSchema, CommandSourceOptions, EnvCredentialSourceSchema, FileCredentialSourceSchema, CommandCredentialSourceSchema, OpCredentialSourceSchema, KeychainCredentialSourceSchema, LiteralCredentialSourceSchema, CredentialSourceSchema, RemoteCredentialSourceSchema, CREDENTIAL_CACHE_STORES, CredentialCacheSchema, CredentialSchema, ProviderCredentialSchema, RESERVED_PROVIDER_ENV_KEYS, ProviderEnvSchema, PROVIDER_KINDS, CODEX_EFFORTS, CODEX_LOGINS, CODEX_DEFAULT_TIER_MODELS, CodexProviderConfigSchema, ProviderRouteSchema, HttpProviderSchema, CodexProviderSchema, ProviderSchema, ConfigProfileSchema, POOL_SELECTOR_PREFIX, POOL_NAME_PATTERN, IDENTITY_NAME_PATTERN, PoolNameSchema, SELECTOR_RE, IdentitySelectorSchema, PoolMemberSchema, POOL_PREFERENCES, PoolPreferenceSchema, PoolSchema, DirectoryRuleSchema, DirectoryRulesSchema, PortableConfigSchema, HEADROOM_MODES, HEADROOM_CCR_MODES, HEADROOM_ROLLOUT_CHANNELS, INTERCEPT_CHANNELS, READ_MATURATION_CHANNELS, HeadroomGlobalConfigObjectSchema, HeadroomGlobalConfigSchema, HEADROOM_DEFAULT_SOURCE, HEADROOM_DEFAULT_IDLE_SHUTDOWN_MINUTES, FrontDoorGlobalConfigSchema, UPDATE_MODES, UpdateGlobalConfigSchema, GlobalConfigSchema,
|
|
239
|
+
var import_node_path2, import_zod, import_trilean, CATEGORY_NAMES, OVERRIDABLE_CATEGORIES, CategoryMapSchema, DURATION_RE, DurationSchema, WhenConditionObjectSchema, WhenSchema, EntryValueSchema, ENTRY_KEY_RE, EntriesSchema, LaunchSchema, CREDENTIAL_TARGETS, PROVIDER_CREDENTIAL_TARGETS, CREDENTIAL_TARGET_VARS, ArgvSchema, CommandSourceOptions, EnvCredentialSourceSchema, FileCredentialSourceSchema, CommandCredentialSourceSchema, OpCredentialSourceSchema, KeychainCredentialSourceSchema, LiteralCredentialSourceSchema, CredentialSourceSchema, RemoteCredentialSourceSchema, CREDENTIAL_CACHE_STORES, CredentialCacheSchema, CredentialSchema, ProviderCredentialSchema, RESERVED_PROVIDER_ENV_KEYS, ProviderEnvSchema, PROVIDER_KINDS, CODEX_EFFORTS, CODEX_LOGINS, CODEX_DEFAULT_TIER_MODELS, CodexProviderConfigSchema, ProviderRouteSchema, HttpProviderSchema, CodexProviderSchema, ProviderSchema, ConfigProfileSchema, POOL_SELECTOR_PREFIX, POOL_NAME_PATTERN, IDENTITY_NAME_PATTERN, PoolNameSchema, SELECTOR_RE, IdentitySelectorSchema, PoolMemberSchema, POOL_PREFERENCES, PoolPreferenceSchema, PoolSchema, WEEKDAYS, AnchorSchema, JOB_WINDOWS, JobTriggerSchema, JobTargetSchema, JobSchema, DirectoryRuleSchema, DirectoryRulesSchema, PortableConfigSchema, HEADROOM_MODES, HEADROOM_CCR_MODES, HEADROOM_ROLLOUT_CHANNELS, INTERCEPT_CHANNELS, READ_MATURATION_CHANNELS, HeadroomGlobalConfigObjectSchema, HeadroomGlobalConfigSchema, HEADROOM_DEFAULT_SOURCE, HEADROOM_DEFAULT_IDLE_SHUTDOWN_MINUTES, FrontDoorGlobalConfigSchema, UPDATE_MODES, UpdateGlobalConfigSchema, GlobalConfigSchema, IdentitySchema, CategoryClassificationSchema, CategoryClassificationOverlaySchema, SHIPPED_CATEGORY_DEFAULTS;
|
|
240
240
|
var init_schema = __esm({
|
|
241
241
|
"src/config/schema.ts"() {
|
|
242
242
|
"use strict";
|
|
@@ -407,6 +407,25 @@ var init_schema = __esm({
|
|
|
407
407
|
identities: import_zod.z.array(PoolMemberSchema).min(1).refine((members) => new Set(members.map(poolMemberIdentity)).size === members.length, { message: "pool members must be unique" }),
|
|
408
408
|
preference: PoolPreferenceSchema.optional()
|
|
409
409
|
});
|
|
410
|
+
WEEKDAYS = ["mon", "tue", "wed", "thu", "fri", "sat", "sun"];
|
|
411
|
+
AnchorSchema = import_zod.z.strictObject({
|
|
412
|
+
days: import_zod.z.array(import_zod.z.enum(WEEKDAYS)).min(1).refine((days) => new Set(days).size === days.length, "an anchor names each weekday at most once"),
|
|
413
|
+
time: import_zod.z.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/, "a 24-hour time such as 06:00"),
|
|
414
|
+
timeZone: import_zod.z.string().refine(isTimeZone, "an IANA time zone such as Europe/London").optional()
|
|
415
|
+
});
|
|
416
|
+
JOB_WINDOWS = ["fiveHour", "sevenDay"];
|
|
417
|
+
JobTriggerSchema = import_zod.z.union([import_zod.z.strictObject({ at: import_zod.z.array(AnchorSchema).min(1) }), import_zod.z.strictObject({ beforeReset: import_zod.z.enum(JOB_WINDOWS), lead: import_zod.z.string().regex(DURATION_RE) })]);
|
|
418
|
+
JobTargetSchema = import_zod.z.union([import_zod.z.strictObject({ identity: IdentitySelectorSchema }), import_zod.z.strictObject({ pool: PoolNameSchema })]);
|
|
419
|
+
JobSchema = import_zod.z.strictObject({
|
|
420
|
+
target: JobTargetSchema,
|
|
421
|
+
trigger: JobTriggerSchema,
|
|
422
|
+
prompt: import_zod.z.string().min(1),
|
|
423
|
+
/** The absolute directory the run works in. */
|
|
424
|
+
cwd: import_zod.z.string().min(1),
|
|
425
|
+
timeout: import_zod.z.string().regex(DURATION_RE),
|
|
426
|
+
model: import_zod.z.string().min(1).optional(),
|
|
427
|
+
allowedTools: import_zod.z.array(import_zod.z.string().min(1)).min(1).optional()
|
|
428
|
+
});
|
|
410
429
|
DirectoryRuleSchema = ConfigProfileSchema.omit({ description: true }).extend({
|
|
411
430
|
path: import_zod.z.string().min(1),
|
|
412
431
|
configProfile: import_zod.z.string().min(1).optional(),
|
|
@@ -474,13 +493,8 @@ var init_schema = __esm({
|
|
|
474
493
|
headroom: HeadroomGlobalConfigSchema.optional(),
|
|
475
494
|
frontdoor: FrontDoorGlobalConfigSchema.optional(),
|
|
476
495
|
update: UpdateGlobalConfigSchema.optional(),
|
|
477
|
-
pools: import_zod.z.record(PoolNameSchema, PoolSchema).optional()
|
|
478
|
-
|
|
479
|
-
WEEKDAYS = ["mon", "tue", "wed", "thu", "fri", "sat", "sun"];
|
|
480
|
-
AnchorSchema = import_zod.z.strictObject({
|
|
481
|
-
days: import_zod.z.array(import_zod.z.enum(WEEKDAYS)).min(1).refine((days) => new Set(days).size === days.length, "an anchor names each weekday at most once"),
|
|
482
|
-
time: import_zod.z.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/, "a 24-hour time such as 06:00"),
|
|
483
|
-
timeZone: import_zod.z.string().refine(isTimeZone, "an IANA time zone such as Europe/London").optional()
|
|
496
|
+
pools: import_zod.z.record(PoolNameSchema, PoolSchema).optional(),
|
|
497
|
+
jobs: import_zod.z.record(PoolNameSchema, JobSchema).optional()
|
|
484
498
|
});
|
|
485
499
|
IdentitySchema = import_zod.z.strictObject({
|
|
486
500
|
$schema: import_zod.z.string().optional(),
|
|
@@ -2679,7 +2693,7 @@ var init_package = __esm({
|
|
|
2679
2693
|
"package.json"() {
|
|
2680
2694
|
package_default = {
|
|
2681
2695
|
name: "agent-shim",
|
|
2682
|
-
version: "9.
|
|
2696
|
+
version: "9.15.0",
|
|
2683
2697
|
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.",
|
|
2684
2698
|
license: "MIT",
|
|
2685
2699
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -5324,6 +5338,8 @@ function buildLayoutPaths(root) {
|
|
|
5324
5338
|
usageSnapshotsDir: import_node_path22.default.join(root, "usage", "snapshots"),
|
|
5325
5339
|
usagePicksFile: import_node_path22.default.join(root, "usage", "picks.json"),
|
|
5326
5340
|
usageAnchorsFile: import_node_path22.default.join(root, "usage", "anchors.json"),
|
|
5341
|
+
usageJobsFile: import_node_path22.default.join(root, "usage", "jobs.json"),
|
|
5342
|
+
jobLogsDir: import_node_path22.default.join(root, "logs", "jobs"),
|
|
5327
5343
|
mcpPermissionsFile: import_node_path22.default.join(root, "mcp", "permissions.json")
|
|
5328
5344
|
};
|
|
5329
5345
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -217,7 +217,7 @@ function isTimeZone(name) {
|
|
|
217
217
|
return false;
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
var CATEGORY_NAMES, OVERRIDABLE_CATEGORIES, CategoryMapSchema, DURATION_RE, DurationSchema, WhenConditionObjectSchema, WhenSchema, EntryValueSchema, ENTRY_KEY_RE, EntriesSchema, LaunchSchema, CREDENTIAL_TARGETS, PROVIDER_CREDENTIAL_TARGETS, CREDENTIAL_TARGET_VARS, ArgvSchema, CommandSourceOptions, EnvCredentialSourceSchema, FileCredentialSourceSchema, CommandCredentialSourceSchema, OpCredentialSourceSchema, KeychainCredentialSourceSchema, LiteralCredentialSourceSchema, CredentialSourceSchema, RemoteCredentialSourceSchema, CREDENTIAL_CACHE_STORES, CredentialCacheSchema, CredentialSchema, ProviderCredentialSchema, RESERVED_PROVIDER_ENV_KEYS, ProviderEnvSchema, PROVIDER_KINDS, CODEX_EFFORTS, CODEX_LOGINS, CODEX_DEFAULT_TIER_MODELS, CodexProviderConfigSchema, ProviderRouteSchema, HttpProviderSchema, CodexProviderSchema, ProviderSchema, ConfigProfileSchema, POOL_SELECTOR_PREFIX, POOL_NAME_PATTERN, IDENTITY_NAME_PATTERN, PoolNameSchema, SELECTOR_RE, IdentitySelectorSchema, PoolMemberSchema, POOL_PREFERENCES, PoolPreferenceSchema, PoolSchema, DirectoryRuleSchema, DirectoryRulesSchema, PortableConfigSchema, HEADROOM_MODES, HEADROOM_CCR_MODES, HEADROOM_ROLLOUT_CHANNELS, INTERCEPT_CHANNELS, READ_MATURATION_CHANNELS, HeadroomGlobalConfigObjectSchema, HeadroomGlobalConfigSchema, HEADROOM_DEFAULT_SOURCE, HEADROOM_DEFAULT_IDLE_SHUTDOWN_MINUTES, FrontDoorGlobalConfigSchema, UPDATE_MODES, UpdateGlobalConfigSchema, GlobalConfigSchema,
|
|
220
|
+
var CATEGORY_NAMES, OVERRIDABLE_CATEGORIES, CategoryMapSchema, DURATION_RE, DurationSchema, WhenConditionObjectSchema, WhenSchema, EntryValueSchema, ENTRY_KEY_RE, EntriesSchema, LaunchSchema, CREDENTIAL_TARGETS, PROVIDER_CREDENTIAL_TARGETS, CREDENTIAL_TARGET_VARS, ArgvSchema, CommandSourceOptions, EnvCredentialSourceSchema, FileCredentialSourceSchema, CommandCredentialSourceSchema, OpCredentialSourceSchema, KeychainCredentialSourceSchema, LiteralCredentialSourceSchema, CredentialSourceSchema, RemoteCredentialSourceSchema, CREDENTIAL_CACHE_STORES, CredentialCacheSchema, CredentialSchema, ProviderCredentialSchema, RESERVED_PROVIDER_ENV_KEYS, ProviderEnvSchema, PROVIDER_KINDS, CODEX_EFFORTS, CODEX_LOGINS, CODEX_DEFAULT_TIER_MODELS, CodexProviderConfigSchema, ProviderRouteSchema, HttpProviderSchema, CodexProviderSchema, ProviderSchema, ConfigProfileSchema, POOL_SELECTOR_PREFIX, POOL_NAME_PATTERN, IDENTITY_NAME_PATTERN, PoolNameSchema, SELECTOR_RE, IdentitySelectorSchema, PoolMemberSchema, POOL_PREFERENCES, PoolPreferenceSchema, PoolSchema, WEEKDAYS, AnchorSchema, JOB_WINDOWS, JobTriggerSchema, JobTargetSchema, JobSchema, DirectoryRuleSchema, DirectoryRulesSchema, PortableConfigSchema, HEADROOM_MODES, HEADROOM_CCR_MODES, HEADROOM_ROLLOUT_CHANNELS, INTERCEPT_CHANNELS, READ_MATURATION_CHANNELS, HeadroomGlobalConfigObjectSchema, HeadroomGlobalConfigSchema, HEADROOM_DEFAULT_SOURCE, HEADROOM_DEFAULT_IDLE_SHUTDOWN_MINUTES, FrontDoorGlobalConfigSchema, UPDATE_MODES, UpdateGlobalConfigSchema, GlobalConfigSchema, IdentitySchema, CategoryClassificationSchema, CategoryClassificationOverlaySchema, SHIPPED_CATEGORY_DEFAULTS;
|
|
221
221
|
var init_schema = __esm({
|
|
222
222
|
"src/config/schema.ts"() {
|
|
223
223
|
"use strict";
|
|
@@ -385,6 +385,25 @@ var init_schema = __esm({
|
|
|
385
385
|
identities: z.array(PoolMemberSchema).min(1).refine((members) => new Set(members.map(poolMemberIdentity)).size === members.length, { message: "pool members must be unique" }),
|
|
386
386
|
preference: PoolPreferenceSchema.optional()
|
|
387
387
|
});
|
|
388
|
+
WEEKDAYS = ["mon", "tue", "wed", "thu", "fri", "sat", "sun"];
|
|
389
|
+
AnchorSchema = z.strictObject({
|
|
390
|
+
days: z.array(z.enum(WEEKDAYS)).min(1).refine((days) => new Set(days).size === days.length, "an anchor names each weekday at most once"),
|
|
391
|
+
time: z.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/, "a 24-hour time such as 06:00"),
|
|
392
|
+
timeZone: z.string().refine(isTimeZone, "an IANA time zone such as Europe/London").optional()
|
|
393
|
+
});
|
|
394
|
+
JOB_WINDOWS = ["fiveHour", "sevenDay"];
|
|
395
|
+
JobTriggerSchema = z.union([z.strictObject({ at: z.array(AnchorSchema).min(1) }), z.strictObject({ beforeReset: z.enum(JOB_WINDOWS), lead: z.string().regex(DURATION_RE) })]);
|
|
396
|
+
JobTargetSchema = z.union([z.strictObject({ identity: IdentitySelectorSchema }), z.strictObject({ pool: PoolNameSchema })]);
|
|
397
|
+
JobSchema = z.strictObject({
|
|
398
|
+
target: JobTargetSchema,
|
|
399
|
+
trigger: JobTriggerSchema,
|
|
400
|
+
prompt: z.string().min(1),
|
|
401
|
+
/** The absolute directory the run works in. */
|
|
402
|
+
cwd: z.string().min(1),
|
|
403
|
+
timeout: z.string().regex(DURATION_RE),
|
|
404
|
+
model: z.string().min(1).optional(),
|
|
405
|
+
allowedTools: z.array(z.string().min(1)).min(1).optional()
|
|
406
|
+
});
|
|
388
407
|
DirectoryRuleSchema = ConfigProfileSchema.omit({ description: true }).extend({
|
|
389
408
|
path: z.string().min(1),
|
|
390
409
|
configProfile: z.string().min(1).optional(),
|
|
@@ -452,13 +471,8 @@ var init_schema = __esm({
|
|
|
452
471
|
headroom: HeadroomGlobalConfigSchema.optional(),
|
|
453
472
|
frontdoor: FrontDoorGlobalConfigSchema.optional(),
|
|
454
473
|
update: UpdateGlobalConfigSchema.optional(),
|
|
455
|
-
pools: z.record(PoolNameSchema, PoolSchema).optional()
|
|
456
|
-
|
|
457
|
-
WEEKDAYS = ["mon", "tue", "wed", "thu", "fri", "sat", "sun"];
|
|
458
|
-
AnchorSchema = z.strictObject({
|
|
459
|
-
days: z.array(z.enum(WEEKDAYS)).min(1).refine((days) => new Set(days).size === days.length, "an anchor names each weekday at most once"),
|
|
460
|
-
time: z.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/, "a 24-hour time such as 06:00"),
|
|
461
|
-
timeZone: z.string().refine(isTimeZone, "an IANA time zone such as Europe/London").optional()
|
|
474
|
+
pools: z.record(PoolNameSchema, PoolSchema).optional(),
|
|
475
|
+
jobs: z.record(PoolNameSchema, JobSchema).optional()
|
|
462
476
|
});
|
|
463
477
|
IdentitySchema = z.strictObject({
|
|
464
478
|
$schema: z.string().optional(),
|
|
@@ -2655,7 +2669,7 @@ var init_package = __esm({
|
|
|
2655
2669
|
"package.json"() {
|
|
2656
2670
|
package_default = {
|
|
2657
2671
|
name: "agent-shim",
|
|
2658
|
-
version: "9.
|
|
2672
|
+
version: "9.15.0",
|
|
2659
2673
|
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.",
|
|
2660
2674
|
license: "MIT",
|
|
2661
2675
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -5301,6 +5315,8 @@ function buildLayoutPaths(root) {
|
|
|
5301
5315
|
usageSnapshotsDir: path22.join(root, "usage", "snapshots"),
|
|
5302
5316
|
usagePicksFile: path22.join(root, "usage", "picks.json"),
|
|
5303
5317
|
usageAnchorsFile: path22.join(root, "usage", "anchors.json"),
|
|
5318
|
+
usageJobsFile: path22.join(root, "usage", "jobs.json"),
|
|
5319
|
+
jobLogsDir: path22.join(root, "logs", "jobs"),
|
|
5304
5320
|
mcpPermissionsFile: path22.join(root, "mcp", "permissions.json")
|
|
5305
5321
|
};
|
|
5306
5322
|
}
|
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
|
-
none: "none";
|
|
1336
1335
|
lossless: "lossless";
|
|
1336
|
+
none: "none";
|
|
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
|
-
none: "none";
|
|
1464
1463
|
lossless: "lossless";
|
|
1464
|
+
none: "none";
|
|
1465
1465
|
}>>;
|
|
1466
1466
|
rolloutChannel: z.ZodOptional<z.ZodEnum<{
|
|
1467
1467
|
beta: "beta";
|
|
@@ -1562,6 +1562,39 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
1562
1562
|
listed: "listed";
|
|
1563
1563
|
}>>;
|
|
1564
1564
|
}, z.core.$strict>>>;
|
|
1565
|
+
jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1566
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
1567
|
+
identity: z.ZodString;
|
|
1568
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1569
|
+
pool: z.ZodString;
|
|
1570
|
+
}, z.core.$strict>]>;
|
|
1571
|
+
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1572
|
+
at: z.ZodArray<z.ZodObject<{
|
|
1573
|
+
days: z.ZodArray<z.ZodEnum<{
|
|
1574
|
+
mon: "mon";
|
|
1575
|
+
tue: "tue";
|
|
1576
|
+
wed: "wed";
|
|
1577
|
+
thu: "thu";
|
|
1578
|
+
fri: "fri";
|
|
1579
|
+
sat: "sat";
|
|
1580
|
+
sun: "sun";
|
|
1581
|
+
}>>;
|
|
1582
|
+
time: z.ZodString;
|
|
1583
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
}, z.core.$strict>>;
|
|
1585
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1586
|
+
beforeReset: z.ZodEnum<{
|
|
1587
|
+
fiveHour: "fiveHour";
|
|
1588
|
+
sevenDay: "sevenDay";
|
|
1589
|
+
}>;
|
|
1590
|
+
lead: z.ZodString;
|
|
1591
|
+
}, z.core.$strict>]>;
|
|
1592
|
+
prompt: z.ZodString;
|
|
1593
|
+
cwd: z.ZodString;
|
|
1594
|
+
timeout: z.ZodString;
|
|
1595
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1597
|
+
}, z.core.$strict>>>;
|
|
1565
1598
|
}, z.core.$strict>;
|
|
1566
1599
|
type GlobalConfig = z.infer<typeof GlobalConfigSchema>;
|
|
1567
1600
|
/**
|
|
@@ -1726,6 +1759,10 @@ interface LayoutPaths {
|
|
|
1726
1759
|
readonly usagePicksFile: string;
|
|
1727
1760
|
/** The last anchor the front door's window keeper handled for each identity, so a restart neither replays an anchor nor skips one. */
|
|
1728
1761
|
readonly usageAnchorsFile: string;
|
|
1762
|
+
/** The last trigger instance the front door's job keeper handled for each job, so a restart neither repeats nor skips a run. */
|
|
1763
|
+
readonly usageJobsFile: string;
|
|
1764
|
+
/** Directory of one append-only `<job>.log` per job: the result of each unattended run. */
|
|
1765
|
+
readonly jobLogsDir: string;
|
|
1729
1766
|
}
|
|
1730
1767
|
/**
|
|
1731
1768
|
* 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.
|
|
@@ -3874,12 +3911,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
3874
3911
|
identity: z.ZodObject<{
|
|
3875
3912
|
name: z.ZodNullable<z.ZodString>;
|
|
3876
3913
|
source: z.ZodEnum<{
|
|
3914
|
+
env: "env";
|
|
3915
|
+
none: "none";
|
|
3877
3916
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
3878
3917
|
argv: "argv";
|
|
3879
|
-
env: "env";
|
|
3880
3918
|
"directory-pin": "directory-pin";
|
|
3881
3919
|
"active-identity-file": "active-identity-file";
|
|
3882
|
-
none: "none";
|
|
3883
3920
|
}>;
|
|
3884
3921
|
}, z.core.$strict>;
|
|
3885
3922
|
pool: z.ZodOptional<z.ZodObject<{
|
|
@@ -3957,11 +3994,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
3957
3994
|
"category-default": "category-default";
|
|
3958
3995
|
}>;
|
|
3959
3996
|
category: z.ZodNullable<z.ZodEnum<{
|
|
3960
|
-
secret: "secret";
|
|
3961
3997
|
runtime: "runtime";
|
|
3962
3998
|
history: "history";
|
|
3963
3999
|
knowledge: "knowledge";
|
|
3964
4000
|
settings: "settings";
|
|
4001
|
+
secret: "secret";
|
|
3965
4002
|
}>>;
|
|
3966
4003
|
rule: z.ZodOptional<z.ZodObject<{
|
|
3967
4004
|
key: z.ZodString;
|
|
@@ -5244,6 +5281,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5244
5281
|
kind: zod.ZodLiteral<"profile">;
|
|
5245
5282
|
name: zod.ZodString;
|
|
5246
5283
|
value: zod.ZodObject<{
|
|
5284
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
5247
5285
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
5248
5286
|
value: zod.ZodBoolean;
|
|
5249
5287
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -5319,7 +5357,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5319
5357
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
5320
5358
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
5321
5359
|
}, zod_v4_core.$strict>]>>>;
|
|
5322
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
5323
5360
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5324
5361
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
5325
5362
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5363,6 +5400,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5363
5400
|
kind: zod.ZodLiteral<"profile">;
|
|
5364
5401
|
name: zod.ZodString;
|
|
5365
5402
|
value: zod.ZodObject<{
|
|
5403
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
5366
5404
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
5367
5405
|
value: zod.ZodBoolean;
|
|
5368
5406
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -5438,7 +5476,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5438
5476
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
5439
5477
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
5440
5478
|
}, zod_v4_core.$strict>]>>>;
|
|
5441
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
5442
5479
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5443
5480
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
5444
5481
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -6530,9 +6567,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
|
|
|
6530
6567
|
current: zod.ZodString;
|
|
6531
6568
|
latest: zod.ZodString;
|
|
6532
6569
|
action: zod.ZodEnum<{
|
|
6570
|
+
updated: "updated";
|
|
6533
6571
|
current: "current";
|
|
6534
6572
|
available: "available";
|
|
6535
|
-
updated: "updated";
|
|
6536
6573
|
}>;
|
|
6537
6574
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
6538
6575
|
};
|
|
@@ -6779,12 +6816,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
6779
6816
|
decision: zod.ZodObject<{
|
|
6780
6817
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
6781
6818
|
identitySource: zod.ZodEnum<{
|
|
6819
|
+
env: "env";
|
|
6820
|
+
none: "none";
|
|
6782
6821
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
6783
6822
|
argv: "argv";
|
|
6784
|
-
env: "env";
|
|
6785
6823
|
"directory-pin": "directory-pin";
|
|
6786
6824
|
"active-identity-file": "active-identity-file";
|
|
6787
|
-
none: "none";
|
|
6788
6825
|
}>;
|
|
6789
6826
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
6790
6827
|
name: zod.ZodString;
|
|
@@ -7170,12 +7207,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7170
7207
|
identity: zod.ZodObject<{
|
|
7171
7208
|
name: zod.ZodNullable<zod.ZodString>;
|
|
7172
7209
|
source: zod.ZodEnum<{
|
|
7210
|
+
env: "env";
|
|
7211
|
+
none: "none";
|
|
7173
7212
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
7174
7213
|
argv: "argv";
|
|
7175
|
-
env: "env";
|
|
7176
7214
|
"directory-pin": "directory-pin";
|
|
7177
7215
|
"active-identity-file": "active-identity-file";
|
|
7178
|
-
none: "none";
|
|
7179
7216
|
}>;
|
|
7180
7217
|
}, zod_v4_core.$strict>;
|
|
7181
7218
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -7253,11 +7290,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7253
7290
|
"category-default": "category-default";
|
|
7254
7291
|
}>;
|
|
7255
7292
|
category: zod.ZodNullable<zod.ZodEnum<{
|
|
7256
|
-
secret: "secret";
|
|
7257
7293
|
runtime: "runtime";
|
|
7258
7294
|
history: "history";
|
|
7259
7295
|
knowledge: "knowledge";
|
|
7260
7296
|
settings: "settings";
|
|
7297
|
+
secret: "secret";
|
|
7261
7298
|
}>>;
|
|
7262
7299
|
rule: zod.ZodOptional<zod.ZodObject<{
|
|
7263
7300
|
key: zod.ZodString;
|
|
@@ -7476,10 +7513,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7476
7513
|
"global-config": "global-config";
|
|
7477
7514
|
"config-profile": "config-profile";
|
|
7478
7515
|
identity: "identity";
|
|
7516
|
+
keychain: "keychain";
|
|
7479
7517
|
provider: "provider";
|
|
7518
|
+
headroom: "headroom";
|
|
7480
7519
|
frontdoor: "frontdoor";
|
|
7481
7520
|
pool: "pool";
|
|
7482
|
-
keychain: "keychain";
|
|
7483
7521
|
"ambient-credential": "ambient-credential";
|
|
7484
7522
|
"binary-discovery": "binary-discovery";
|
|
7485
7523
|
"claude-shim": "claude-shim";
|
|
@@ -7489,7 +7527,6 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7489
7527
|
"directory-rules": "directory-rules";
|
|
7490
7528
|
"categories-local": "categories-local";
|
|
7491
7529
|
"active-identity": "active-identity";
|
|
7492
|
-
headroom: "headroom";
|
|
7493
7530
|
}>;
|
|
7494
7531
|
subject: zod.ZodOptional<zod.ZodString>;
|
|
7495
7532
|
severity: zod.ZodEnum<{
|
|
@@ -7610,12 +7647,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
7610
7647
|
decision: zod.ZodObject<{
|
|
7611
7648
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
7612
7649
|
identitySource: zod.ZodEnum<{
|
|
7650
|
+
env: "env";
|
|
7651
|
+
none: "none";
|
|
7613
7652
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
7614
7653
|
argv: "argv";
|
|
7615
|
-
env: "env";
|
|
7616
7654
|
"directory-pin": "directory-pin";
|
|
7617
7655
|
"active-identity-file": "active-identity-file";
|
|
7618
|
-
none: "none";
|
|
7619
7656
|
}>;
|
|
7620
7657
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
7621
7658
|
name: zod.ZodString;
|
|
@@ -7913,6 +7950,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
7913
7950
|
kind: zod.ZodLiteral<"profile">;
|
|
7914
7951
|
name: zod.ZodString;
|
|
7915
7952
|
value: zod.ZodObject<{
|
|
7953
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
7916
7954
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
7917
7955
|
value: zod.ZodBoolean;
|
|
7918
7956
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -7988,7 +8026,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
7988
8026
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
7989
8027
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
7990
8028
|
}, zod_v4_core.$strict>]>>>;
|
|
7991
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
7992
8029
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
7993
8030
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
7994
8031
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -8032,6 +8069,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8032
8069
|
kind: zod.ZodLiteral<"profile">;
|
|
8033
8070
|
name: zod.ZodString;
|
|
8034
8071
|
value: zod.ZodObject<{
|
|
8072
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
8035
8073
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
8036
8074
|
value: zod.ZodBoolean;
|
|
8037
8075
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -8107,7 +8145,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8107
8145
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
8108
8146
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
8109
8147
|
}, zod_v4_core.$strict>]>>>;
|
|
8110
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
8111
8148
|
extends: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
8112
8149
|
categories: zod.ZodOptional<zod.ZodPipe<zod.ZodObject<{
|
|
8113
8150
|
all: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -8991,9 +9028,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8991
9028
|
current: zod.ZodString;
|
|
8992
9029
|
latest: zod.ZodString;
|
|
8993
9030
|
action: zod.ZodEnum<{
|
|
9031
|
+
updated: "updated";
|
|
8994
9032
|
current: "current";
|
|
8995
9033
|
available: "available";
|
|
8996
|
-
updated: "updated";
|
|
8997
9034
|
}>;
|
|
8998
9035
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
8999
9036
|
};
|
|
@@ -9192,12 +9229,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9192
9229
|
identity: zod.ZodObject<{
|
|
9193
9230
|
name: zod.ZodNullable<zod.ZodString>;
|
|
9194
9231
|
source: zod.ZodEnum<{
|
|
9232
|
+
env: "env";
|
|
9233
|
+
none: "none";
|
|
9195
9234
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
9196
9235
|
argv: "argv";
|
|
9197
|
-
env: "env";
|
|
9198
9236
|
"directory-pin": "directory-pin";
|
|
9199
9237
|
"active-identity-file": "active-identity-file";
|
|
9200
|
-
none: "none";
|
|
9201
9238
|
}>;
|
|
9202
9239
|
}, zod_v4_core.$strict>;
|
|
9203
9240
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -9275,11 +9312,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9275
9312
|
"category-default": "category-default";
|
|
9276
9313
|
}>;
|
|
9277
9314
|
category: zod.ZodNullable<zod.ZodEnum<{
|
|
9278
|
-
secret: "secret";
|
|
9279
9315
|
runtime: "runtime";
|
|
9280
9316
|
history: "history";
|
|
9281
9317
|
knowledge: "knowledge";
|
|
9282
9318
|
settings: "settings";
|
|
9319
|
+
secret: "secret";
|
|
9283
9320
|
}>>;
|
|
9284
9321
|
rule: zod.ZodOptional<zod.ZodObject<{
|
|
9285
9322
|
key: zod.ZodString;
|
|
@@ -9498,10 +9535,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9498
9535
|
"global-config": "global-config";
|
|
9499
9536
|
"config-profile": "config-profile";
|
|
9500
9537
|
identity: "identity";
|
|
9538
|
+
keychain: "keychain";
|
|
9501
9539
|
provider: "provider";
|
|
9540
|
+
headroom: "headroom";
|
|
9502
9541
|
frontdoor: "frontdoor";
|
|
9503
9542
|
pool: "pool";
|
|
9504
|
-
keychain: "keychain";
|
|
9505
9543
|
"ambient-credential": "ambient-credential";
|
|
9506
9544
|
"binary-discovery": "binary-discovery";
|
|
9507
9545
|
"claude-shim": "claude-shim";
|
|
@@ -9511,7 +9549,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9511
9549
|
"directory-rules": "directory-rules";
|
|
9512
9550
|
"categories-local": "categories-local";
|
|
9513
9551
|
"active-identity": "active-identity";
|
|
9514
|
-
headroom: "headroom";
|
|
9515
9552
|
}>;
|
|
9516
9553
|
subject: zod.ZodOptional<zod.ZodString>;
|
|
9517
9554
|
severity: zod.ZodEnum<{
|
|
@@ -10021,6 +10058,7 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
10021
10058
|
kind: z.ZodLiteral<"profile">;
|
|
10022
10059
|
name: z.ZodString;
|
|
10023
10060
|
value: z.ZodObject<{
|
|
10061
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10024
10062
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
10025
10063
|
value: z.ZodBoolean;
|
|
10026
10064
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -10096,7 +10134,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
10096
10134
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
10097
10135
|
}, z.core.$strip>], "kind">]>;
|
|
10098
10136
|
}, z.core.$strict>]>>>;
|
|
10099
|
-
description: z.ZodOptional<z.ZodString>;
|
|
10100
10137
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10101
10138
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
10102
10139
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10142,6 +10179,7 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
10142
10179
|
kind: z.ZodLiteral<"profile">;
|
|
10143
10180
|
name: z.ZodString;
|
|
10144
10181
|
value: z.ZodObject<{
|
|
10182
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10145
10183
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
10146
10184
|
value: z.ZodBoolean;
|
|
10147
10185
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -10217,7 +10255,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
10217
10255
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
10218
10256
|
}, z.core.$strip>], "kind">]>;
|
|
10219
10257
|
}, z.core.$strict>]>>>;
|
|
10220
|
-
description: z.ZodOptional<z.ZodString>;
|
|
10221
10258
|
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10222
10259
|
categories: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
10223
10260
|
all: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11344,10 +11381,11 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
11344
11381
|
"global-config": "global-config";
|
|
11345
11382
|
"config-profile": "config-profile";
|
|
11346
11383
|
identity: "identity";
|
|
11384
|
+
keychain: "keychain";
|
|
11347
11385
|
provider: "provider";
|
|
11386
|
+
headroom: "headroom";
|
|
11348
11387
|
frontdoor: "frontdoor";
|
|
11349
11388
|
pool: "pool";
|
|
11350
|
-
keychain: "keychain";
|
|
11351
11389
|
"ambient-credential": "ambient-credential";
|
|
11352
11390
|
"binary-discovery": "binary-discovery";
|
|
11353
11391
|
"claude-shim": "claude-shim";
|
|
@@ -11357,7 +11395,6 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
11357
11395
|
"directory-rules": "directory-rules";
|
|
11358
11396
|
"categories-local": "categories-local";
|
|
11359
11397
|
"active-identity": "active-identity";
|
|
11360
|
-
headroom: "headroom";
|
|
11361
11398
|
}>;
|
|
11362
11399
|
subject: z.ZodOptional<z.ZodString>;
|
|
11363
11400
|
severity: z.ZodEnum<{
|
|
@@ -11375,10 +11412,11 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
11375
11412
|
"global-config": "global-config";
|
|
11376
11413
|
"config-profile": "config-profile";
|
|
11377
11414
|
identity: "identity";
|
|
11415
|
+
keychain: "keychain";
|
|
11378
11416
|
provider: "provider";
|
|
11417
|
+
headroom: "headroom";
|
|
11379
11418
|
frontdoor: "frontdoor";
|
|
11380
11419
|
pool: "pool";
|
|
11381
|
-
keychain: "keychain";
|
|
11382
11420
|
"ambient-credential": "ambient-credential";
|
|
11383
11421
|
"binary-discovery": "binary-discovery";
|
|
11384
11422
|
"claude-shim": "claude-shim";
|
|
@@ -11388,7 +11426,6 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
11388
11426
|
"directory-rules": "directory-rules";
|
|
11389
11427
|
"categories-local": "categories-local";
|
|
11390
11428
|
"active-identity": "active-identity";
|
|
11391
|
-
headroom: "headroom";
|
|
11392
11429
|
}>;
|
|
11393
11430
|
subject: z.ZodOptional<z.ZodString>;
|
|
11394
11431
|
severity: z.ZodEnum<{
|
|
@@ -11409,9 +11446,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
|
|
|
11409
11446
|
current: z.ZodString;
|
|
11410
11447
|
latest: z.ZodString;
|
|
11411
11448
|
action: z.ZodEnum<{
|
|
11449
|
+
updated: "updated";
|
|
11412
11450
|
current: "current";
|
|
11413
11451
|
available: "available";
|
|
11414
|
-
updated: "updated";
|
|
11415
11452
|
}>;
|
|
11416
11453
|
}, z.core.$strict>;
|
|
11417
11454
|
/** 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. */
|
|
@@ -11461,12 +11498,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
11461
11498
|
decision: z.ZodObject<{
|
|
11462
11499
|
identity: z.ZodOptional<z.ZodString>;
|
|
11463
11500
|
identitySource: z.ZodEnum<{
|
|
11501
|
+
env: "env";
|
|
11502
|
+
none: "none";
|
|
11464
11503
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
11465
11504
|
argv: "argv";
|
|
11466
|
-
env: "env";
|
|
11467
11505
|
"directory-pin": "directory-pin";
|
|
11468
11506
|
"active-identity-file": "active-identity-file";
|
|
11469
|
-
none: "none";
|
|
11470
11507
|
}>;
|
|
11471
11508
|
pool: z.ZodOptional<z.ZodObject<{
|
|
11472
11509
|
name: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-shim",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.15.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>",
|