@claudexor/schema 3.4.1 → 3.5.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/dist/budget.d.ts +3 -0
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +4 -0
- package/dist/budget.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +32 -14
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-store.d.ts +13 -0
- package/dist/credential-store.d.ts.map +1 -0
- package/dist/credential-store.js +15 -0
- package/dist/credential-store.js.map +1 -0
- package/dist/harness.d.ts +12 -5
- package/dist/harness.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/quota.d.ts +75 -14
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +28 -2
- package/dist/quota.js.map +1 -1
- package/dist/setup-login-input.js +1 -1
- package/dist/setup-login-input.js.map +1 -1
- package/dist/setup-login.d.ts +446 -0
- package/dist/setup-login.d.ts.map +1 -0
- package/dist/setup-login.js +161 -0
- package/dist/setup-login.js.map +1 -0
- package/dist/setup.d.ts +130 -491
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +8 -138
- package/dist/setup.js.map +1 -1
- package/generated/BudgetObservation.schema.json +4 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +6 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +6 -2
- package/generated/ControlQuotaResponse.schema.json +6 -2
- package/generated/ControlSetupJob.schema.json +6 -1
- package/generated/ControlSetupJobCreateRequest.schema.json +2 -1
- package/generated/ControlSetupJobEvent.schema.json +6 -1
- package/generated/ControlSetupJobListFilter.schema.json +2 -1
- package/generated/ControlSetupJobListResponse.schema.json +6 -1
- package/generated/ControlSetupJobSnapshot.schema.json +6 -1
- package/generated/HarnessEvent.schema.json +5 -1
- package/package.json +2 -2
package/dist/setup.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
2
|
export * from "./setup-transport.js";
|
|
3
|
+
export declare const SetupTimestamp: z.ZodString;
|
|
4
|
+
export declare const Sha256Hex: z.ZodString;
|
|
3
5
|
export declare const ProcessIdentityKnown: z.ZodObject<{
|
|
4
6
|
status: z.ZodLiteral<"known">;
|
|
5
7
|
pid: z.ZodNumber;
|
|
@@ -336,6 +338,17 @@ export declare const SetupCommandAuthorization: z.ZodObject<{
|
|
|
336
338
|
manifestDigest: string;
|
|
337
339
|
}>;
|
|
338
340
|
export type SetupCommandAuthorization = z.infer<typeof SetupCommandAuthorization>;
|
|
341
|
+
export declare const SetupNativeCommandReceiptShape: {
|
|
342
|
+
executionId: z.ZodString;
|
|
343
|
+
commandDigest: z.ZodString;
|
|
344
|
+
manifestDigest: z.ZodString;
|
|
345
|
+
permitIssuedAt: z.ZodNullable<z.ZodString>;
|
|
346
|
+
commandStarted: z.ZodBoolean;
|
|
347
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
348
|
+
signal: z.ZodNullable<z.ZodString>;
|
|
349
|
+
errorCode: z.ZodOptional<z.ZodEnum<["permit_timeout", "spawn_failed", "device_auth_unsupported"]>>;
|
|
350
|
+
finishedAt: z.ZodString;
|
|
351
|
+
};
|
|
339
352
|
export declare const SetupNativeCommandReceipt: z.ZodEffects<z.ZodObject<{
|
|
340
353
|
executionId: z.ZodString;
|
|
341
354
|
commandDigest: z.ZodString;
|
|
@@ -389,7 +402,7 @@ export declare const SetupNativeCommandReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
389
402
|
}>;
|
|
390
403
|
export type SetupNativeCommandReceipt = z.infer<typeof SetupNativeCommandReceipt>;
|
|
391
404
|
/** Harness ids with a daemon-managed native-login flow. */
|
|
392
|
-
export declare const ControlHarnessSetupHarness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
405
|
+
export declare const ControlHarnessSetupHarness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
393
406
|
export type ControlHarnessSetupHarness = z.infer<typeof ControlHarnessSetupHarness>;
|
|
394
407
|
export declare const ControlSetupJobState: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
395
408
|
export type ControlSetupJobState = z.infer<typeof ControlSetupJobState>;
|
|
@@ -424,7 +437,7 @@ export declare const SetupTerminationReconciliation: z.ZodObject<{
|
|
|
424
437
|
}>;
|
|
425
438
|
export type SetupTerminationReconciliation = z.infer<typeof SetupTerminationReconciliation>;
|
|
426
439
|
export declare const ControlSetupJobCreateRequest: z.ZodEffects<z.ZodObject<{
|
|
427
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
440
|
+
harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
428
441
|
action: z.ZodLiteral<"login">;
|
|
429
442
|
authRequest: z.ZodLiteral<"subscription">;
|
|
430
443
|
/** Target a REGISTERED config-dir credential profile (INV-135): the
|
|
@@ -444,28 +457,28 @@ export declare const ControlSetupJobCreateRequest: z.ZodEffects<z.ZodObject<{
|
|
|
444
457
|
loginFlow: z.ZodOptional<z.ZodEnum<["device_auth", "browser_callback", "browser_redirect"]>>;
|
|
445
458
|
transport: z.ZodDefault<z.ZodOptional<z.ZodEnum<["daemon", "client_pty"]>>>;
|
|
446
459
|
}, "strict", z.ZodTypeAny, {
|
|
447
|
-
harness: "claude" | "codex" | "cursor";
|
|
460
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
448
461
|
action: "login";
|
|
449
462
|
authRequest: "subscription";
|
|
450
463
|
profileId?: string | undefined;
|
|
451
464
|
loginFlow?: "browser_callback" | "browser_redirect" | "device_auth" | undefined;
|
|
452
465
|
transport: "client_pty" | "daemon";
|
|
453
466
|
}, {
|
|
454
|
-
harness: "claude" | "codex" | "cursor";
|
|
467
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
455
468
|
action: "login";
|
|
456
469
|
authRequest: "subscription";
|
|
457
470
|
profileId?: string | undefined;
|
|
458
471
|
loginFlow?: "browser_callback" | "browser_redirect" | "device_auth" | undefined;
|
|
459
472
|
transport?: "client_pty" | "daemon" | undefined;
|
|
460
473
|
}>, {
|
|
461
|
-
harness: "claude" | "codex" | "cursor";
|
|
474
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
462
475
|
action: "login";
|
|
463
476
|
authRequest: "subscription";
|
|
464
477
|
profileId?: string | undefined;
|
|
465
478
|
loginFlow?: "browser_callback" | "browser_redirect" | "device_auth" | undefined;
|
|
466
479
|
transport: "client_pty" | "daemon";
|
|
467
480
|
}, {
|
|
468
|
-
harness: "claude" | "codex" | "cursor";
|
|
481
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
469
482
|
action: "login";
|
|
470
483
|
authRequest: "subscription";
|
|
471
484
|
profileId?: string | undefined;
|
|
@@ -475,7 +488,7 @@ export declare const ControlSetupJobCreateRequest: z.ZodEffects<z.ZodObject<{
|
|
|
475
488
|
export type ControlSetupJobCreateRequest = z.infer<typeof ControlSetupJobCreateRequest>;
|
|
476
489
|
export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
477
490
|
jobId: z.ZodString;
|
|
478
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
491
|
+
harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
479
492
|
action: z.ZodLiteral<"login">;
|
|
480
493
|
transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
|
|
481
494
|
/** Credential profile this login job targets; null = the default session. */
|
|
@@ -483,6 +496,7 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
|
483
496
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
484
497
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
485
498
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
499
|
+
deadlineFixed: z.ZodOptional<z.ZodBoolean>;
|
|
486
500
|
outcome: z.ZodOptional<z.ZodObject<{
|
|
487
501
|
reason: z.ZodEnum<["completed", "not_supported", "launch_failed", "command_failed", "auth_not_ready", "capability_verification_failed", "credential_route_mismatch", "timed_out", "cancelled_by_user", "cancelled_on_restart", "interrupted", "interrupted_unknown", "termination_unconfirmed"]>;
|
|
488
502
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1639,13 +1653,14 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
|
1639
1653
|
}>>;
|
|
1640
1654
|
}, "strict", z.ZodTypeAny, {
|
|
1641
1655
|
jobId: string;
|
|
1642
|
-
harness: "claude" | "codex" | "cursor";
|
|
1656
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
1643
1657
|
action: "login";
|
|
1644
1658
|
transport: "client_pty" | "daemon";
|
|
1645
1659
|
profileId: string | null;
|
|
1646
1660
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
1647
1661
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
1648
1662
|
deadlineAt?: string | undefined;
|
|
1663
|
+
deadlineFixed?: boolean | undefined;
|
|
1649
1664
|
outcome?: {
|
|
1650
1665
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
1651
1666
|
exitCode?: number | null | undefined;
|
|
@@ -1820,13 +1835,14 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
|
1820
1835
|
} | undefined;
|
|
1821
1836
|
}, {
|
|
1822
1837
|
jobId: string;
|
|
1823
|
-
harness: "claude" | "codex" | "cursor";
|
|
1838
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
1824
1839
|
action: "login";
|
|
1825
1840
|
transport?: "client_pty" | "daemon" | undefined;
|
|
1826
1841
|
profileId?: string | null | undefined;
|
|
1827
1842
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
1828
1843
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
1829
1844
|
deadlineAt?: string | undefined;
|
|
1845
|
+
deadlineFixed?: boolean | undefined;
|
|
1830
1846
|
outcome?: {
|
|
1831
1847
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
1832
1848
|
exitCode?: number | null | undefined;
|
|
@@ -2001,13 +2017,14 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
|
2001
2017
|
} | undefined;
|
|
2002
2018
|
}>, {
|
|
2003
2019
|
jobId: string;
|
|
2004
|
-
harness: "claude" | "codex" | "cursor";
|
|
2020
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
2005
2021
|
action: "login";
|
|
2006
2022
|
transport: "client_pty" | "daemon";
|
|
2007
2023
|
profileId: string | null;
|
|
2008
2024
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
2009
2025
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
2010
2026
|
deadlineAt?: string | undefined;
|
|
2027
|
+
deadlineFixed?: boolean | undefined;
|
|
2011
2028
|
outcome?: {
|
|
2012
2029
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
2013
2030
|
exitCode?: number | null | undefined;
|
|
@@ -2182,13 +2199,14 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
|
2182
2199
|
} | undefined;
|
|
2183
2200
|
}, {
|
|
2184
2201
|
jobId: string;
|
|
2185
|
-
harness: "claude" | "codex" | "cursor";
|
|
2202
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
2186
2203
|
action: "login";
|
|
2187
2204
|
transport?: "client_pty" | "daemon" | undefined;
|
|
2188
2205
|
profileId?: string | null | undefined;
|
|
2189
2206
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
2190
2207
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
2191
2208
|
deadlineAt?: string | undefined;
|
|
2209
|
+
deadlineFixed?: boolean | undefined;
|
|
2192
2210
|
outcome?: {
|
|
2193
2211
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
2194
2212
|
exitCode?: number | null | undefined;
|
|
@@ -2402,17 +2420,17 @@ export declare const SetupDeviceCodeDisclosure: z.ZodObject<{
|
|
|
2402
2420
|
}>;
|
|
2403
2421
|
export type SetupDeviceCodeDisclosure = z.infer<typeof SetupDeviceCodeDisclosure>;
|
|
2404
2422
|
export declare const ControlSetupJobListFilter: z.ZodObject<{
|
|
2405
|
-
harness: z.ZodOptional<z.ZodEnum<["codex", "claude", "cursor"]>>;
|
|
2423
|
+
harness: z.ZodOptional<z.ZodEnum<["codex", "claude", "cursor", "agy"]>>;
|
|
2406
2424
|
action: z.ZodOptional<z.ZodLiteral<"login">>;
|
|
2407
2425
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
2408
2426
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2409
2427
|
}, "strict", z.ZodTypeAny, {
|
|
2410
|
-
harness?: "claude" | "codex" | "cursor" | undefined;
|
|
2428
|
+
harness?: "agy" | "claude" | "codex" | "cursor" | undefined;
|
|
2411
2429
|
action?: "login" | undefined;
|
|
2412
2430
|
active?: boolean | undefined;
|
|
2413
2431
|
limit?: number | undefined;
|
|
2414
2432
|
}, {
|
|
2415
|
-
harness?: "claude" | "codex" | "cursor" | undefined;
|
|
2433
|
+
harness?: "agy" | "claude" | "codex" | "cursor" | undefined;
|
|
2416
2434
|
action?: "login" | undefined;
|
|
2417
2435
|
active?: boolean | undefined;
|
|
2418
2436
|
limit?: number | undefined;
|
|
@@ -2429,7 +2447,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
2429
2447
|
message: z.ZodString;
|
|
2430
2448
|
job: z.ZodEffects<z.ZodObject<{
|
|
2431
2449
|
jobId: z.ZodString;
|
|
2432
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
2450
|
+
harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
2433
2451
|
action: z.ZodLiteral<"login">;
|
|
2434
2452
|
transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
|
|
2435
2453
|
/** Credential profile this login job targets; null = the default session. */
|
|
@@ -2437,6 +2455,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
2437
2455
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
2438
2456
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
2439
2457
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
2458
|
+
deadlineFixed: z.ZodOptional<z.ZodBoolean>;
|
|
2440
2459
|
outcome: z.ZodOptional<z.ZodObject<{
|
|
2441
2460
|
reason: z.ZodEnum<["completed", "not_supported", "launch_failed", "command_failed", "auth_not_ready", "capability_verification_failed", "credential_route_mismatch", "timed_out", "cancelled_by_user", "cancelled_on_restart", "interrupted", "interrupted_unknown", "termination_unconfirmed"]>;
|
|
2442
2461
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3593,13 +3612,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
3593
3612
|
}>>;
|
|
3594
3613
|
}, "strict", z.ZodTypeAny, {
|
|
3595
3614
|
jobId: string;
|
|
3596
|
-
harness: "claude" | "codex" | "cursor";
|
|
3615
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
3597
3616
|
action: "login";
|
|
3598
3617
|
transport: "client_pty" | "daemon";
|
|
3599
3618
|
profileId: string | null;
|
|
3600
3619
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
3601
3620
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
3602
3621
|
deadlineAt?: string | undefined;
|
|
3622
|
+
deadlineFixed?: boolean | undefined;
|
|
3603
3623
|
outcome?: {
|
|
3604
3624
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
3605
3625
|
exitCode?: number | null | undefined;
|
|
@@ -3774,13 +3794,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
3774
3794
|
} | undefined;
|
|
3775
3795
|
}, {
|
|
3776
3796
|
jobId: string;
|
|
3777
|
-
harness: "claude" | "codex" | "cursor";
|
|
3797
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
3778
3798
|
action: "login";
|
|
3779
3799
|
transport?: "client_pty" | "daemon" | undefined;
|
|
3780
3800
|
profileId?: string | null | undefined;
|
|
3781
3801
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
3782
3802
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
3783
3803
|
deadlineAt?: string | undefined;
|
|
3804
|
+
deadlineFixed?: boolean | undefined;
|
|
3784
3805
|
outcome?: {
|
|
3785
3806
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
3786
3807
|
exitCode?: number | null | undefined;
|
|
@@ -3955,13 +3976,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
3955
3976
|
} | undefined;
|
|
3956
3977
|
}>, {
|
|
3957
3978
|
jobId: string;
|
|
3958
|
-
harness: "claude" | "codex" | "cursor";
|
|
3979
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
3959
3980
|
action: "login";
|
|
3960
3981
|
transport: "client_pty" | "daemon";
|
|
3961
3982
|
profileId: string | null;
|
|
3962
3983
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
3963
3984
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
3964
3985
|
deadlineAt?: string | undefined;
|
|
3986
|
+
deadlineFixed?: boolean | undefined;
|
|
3965
3987
|
outcome?: {
|
|
3966
3988
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
3967
3989
|
exitCode?: number | null | undefined;
|
|
@@ -4136,13 +4158,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
4136
4158
|
} | undefined;
|
|
4137
4159
|
}, {
|
|
4138
4160
|
jobId: string;
|
|
4139
|
-
harness: "claude" | "codex" | "cursor";
|
|
4161
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
4140
4162
|
action: "login";
|
|
4141
4163
|
transport?: "client_pty" | "daemon" | undefined;
|
|
4142
4164
|
profileId?: string | null | undefined;
|
|
4143
4165
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
4144
4166
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
4145
4167
|
deadlineAt?: string | undefined;
|
|
4168
|
+
deadlineFixed?: boolean | undefined;
|
|
4146
4169
|
outcome?: {
|
|
4147
4170
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
4148
4171
|
exitCode?: number | null | undefined;
|
|
@@ -4330,13 +4353,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
4330
4353
|
message: string;
|
|
4331
4354
|
job: {
|
|
4332
4355
|
jobId: string;
|
|
4333
|
-
harness: "claude" | "codex" | "cursor";
|
|
4356
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
4334
4357
|
action: "login";
|
|
4335
4358
|
transport: "client_pty" | "daemon";
|
|
4336
4359
|
profileId: string | null;
|
|
4337
4360
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
4338
4361
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
4339
4362
|
deadlineAt?: string | undefined;
|
|
4363
|
+
deadlineFixed?: boolean | undefined;
|
|
4340
4364
|
outcome?: {
|
|
4341
4365
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
4342
4366
|
exitCode?: number | null | undefined;
|
|
@@ -4522,13 +4546,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
4522
4546
|
message: string;
|
|
4523
4547
|
job: {
|
|
4524
4548
|
jobId: string;
|
|
4525
|
-
harness: "claude" | "codex" | "cursor";
|
|
4549
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
4526
4550
|
action: "login";
|
|
4527
4551
|
transport?: "client_pty" | "daemon" | undefined;
|
|
4528
4552
|
profileId?: string | null | undefined;
|
|
4529
4553
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
4530
4554
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
4531
4555
|
deadlineAt?: string | undefined;
|
|
4556
|
+
deadlineFixed?: boolean | undefined;
|
|
4532
4557
|
outcome?: {
|
|
4533
4558
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
4534
4559
|
exitCode?: number | null | undefined;
|
|
@@ -4713,7 +4738,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
4713
4738
|
message: z.ZodString;
|
|
4714
4739
|
job: z.ZodEffects<z.ZodObject<{
|
|
4715
4740
|
jobId: z.ZodString;
|
|
4716
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
4741
|
+
harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
4717
4742
|
action: z.ZodLiteral<"login">;
|
|
4718
4743
|
transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
|
|
4719
4744
|
/** Credential profile this login job targets; null = the default session. */
|
|
@@ -4721,6 +4746,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
4721
4746
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
4722
4747
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
4723
4748
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
4749
|
+
deadlineFixed: z.ZodOptional<z.ZodBoolean>;
|
|
4724
4750
|
outcome: z.ZodOptional<z.ZodObject<{
|
|
4725
4751
|
reason: z.ZodEnum<["completed", "not_supported", "launch_failed", "command_failed", "auth_not_ready", "capability_verification_failed", "credential_route_mismatch", "timed_out", "cancelled_by_user", "cancelled_on_restart", "interrupted", "interrupted_unknown", "termination_unconfirmed"]>;
|
|
4726
4752
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -5877,13 +5903,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
5877
5903
|
}>>;
|
|
5878
5904
|
}, "strict", z.ZodTypeAny, {
|
|
5879
5905
|
jobId: string;
|
|
5880
|
-
harness: "claude" | "codex" | "cursor";
|
|
5906
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
5881
5907
|
action: "login";
|
|
5882
5908
|
transport: "client_pty" | "daemon";
|
|
5883
5909
|
profileId: string | null;
|
|
5884
5910
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
5885
5911
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
5886
5912
|
deadlineAt?: string | undefined;
|
|
5913
|
+
deadlineFixed?: boolean | undefined;
|
|
5887
5914
|
outcome?: {
|
|
5888
5915
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
5889
5916
|
exitCode?: number | null | undefined;
|
|
@@ -6058,13 +6085,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
6058
6085
|
} | undefined;
|
|
6059
6086
|
}, {
|
|
6060
6087
|
jobId: string;
|
|
6061
|
-
harness: "claude" | "codex" | "cursor";
|
|
6088
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
6062
6089
|
action: "login";
|
|
6063
6090
|
transport?: "client_pty" | "daemon" | undefined;
|
|
6064
6091
|
profileId?: string | null | undefined;
|
|
6065
6092
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
6066
6093
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
6067
6094
|
deadlineAt?: string | undefined;
|
|
6095
|
+
deadlineFixed?: boolean | undefined;
|
|
6068
6096
|
outcome?: {
|
|
6069
6097
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
6070
6098
|
exitCode?: number | null | undefined;
|
|
@@ -6239,13 +6267,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
6239
6267
|
} | undefined;
|
|
6240
6268
|
}>, {
|
|
6241
6269
|
jobId: string;
|
|
6242
|
-
harness: "claude" | "codex" | "cursor";
|
|
6270
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
6243
6271
|
action: "login";
|
|
6244
6272
|
transport: "client_pty" | "daemon";
|
|
6245
6273
|
profileId: string | null;
|
|
6246
6274
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
6247
6275
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
6248
6276
|
deadlineAt?: string | undefined;
|
|
6277
|
+
deadlineFixed?: boolean | undefined;
|
|
6249
6278
|
outcome?: {
|
|
6250
6279
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
6251
6280
|
exitCode?: number | null | undefined;
|
|
@@ -6420,13 +6449,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
6420
6449
|
} | undefined;
|
|
6421
6450
|
}, {
|
|
6422
6451
|
jobId: string;
|
|
6423
|
-
harness: "claude" | "codex" | "cursor";
|
|
6452
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
6424
6453
|
action: "login";
|
|
6425
6454
|
transport?: "client_pty" | "daemon" | undefined;
|
|
6426
6455
|
profileId?: string | null | undefined;
|
|
6427
6456
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
6428
6457
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
6429
6458
|
deadlineAt?: string | undefined;
|
|
6459
|
+
deadlineFixed?: boolean | undefined;
|
|
6430
6460
|
outcome?: {
|
|
6431
6461
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
6432
6462
|
exitCode?: number | null | undefined;
|
|
@@ -6603,7 +6633,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
6603
6633
|
} & {
|
|
6604
6634
|
job: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
6605
6635
|
jobId: z.ZodString;
|
|
6606
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
6636
|
+
harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
6607
6637
|
action: z.ZodLiteral<"login">;
|
|
6608
6638
|
transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
|
|
6609
6639
|
/** Credential profile this login job targets; null = the default session. */
|
|
@@ -6611,6 +6641,7 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
6611
6641
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
6612
6642
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
6613
6643
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
6644
|
+
deadlineFixed: z.ZodOptional<z.ZodBoolean>;
|
|
6614
6645
|
outcome: z.ZodOptional<z.ZodObject<{
|
|
6615
6646
|
reason: z.ZodEnum<["completed", "not_supported", "launch_failed", "command_failed", "auth_not_ready", "capability_verification_failed", "credential_route_mismatch", "timed_out", "cancelled_by_user", "cancelled_on_restart", "interrupted", "interrupted_unknown", "termination_unconfirmed"]>;
|
|
6616
6647
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -7767,13 +7798,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
7767
7798
|
}>>;
|
|
7768
7799
|
}, "strict", z.ZodTypeAny, {
|
|
7769
7800
|
jobId: string;
|
|
7770
|
-
harness: "claude" | "codex" | "cursor";
|
|
7801
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
7771
7802
|
action: "login";
|
|
7772
7803
|
transport: "client_pty" | "daemon";
|
|
7773
7804
|
profileId: string | null;
|
|
7774
7805
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
7775
7806
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
7776
7807
|
deadlineAt?: string | undefined;
|
|
7808
|
+
deadlineFixed?: boolean | undefined;
|
|
7777
7809
|
outcome?: {
|
|
7778
7810
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
7779
7811
|
exitCode?: number | null | undefined;
|
|
@@ -7948,13 +7980,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
7948
7980
|
} | undefined;
|
|
7949
7981
|
}, {
|
|
7950
7982
|
jobId: string;
|
|
7951
|
-
harness: "claude" | "codex" | "cursor";
|
|
7983
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
7952
7984
|
action: "login";
|
|
7953
7985
|
transport?: "client_pty" | "daemon" | undefined;
|
|
7954
7986
|
profileId?: string | null | undefined;
|
|
7955
7987
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
7956
7988
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
7957
7989
|
deadlineAt?: string | undefined;
|
|
7990
|
+
deadlineFixed?: boolean | undefined;
|
|
7958
7991
|
outcome?: {
|
|
7959
7992
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
7960
7993
|
exitCode?: number | null | undefined;
|
|
@@ -8129,13 +8162,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
8129
8162
|
} | undefined;
|
|
8130
8163
|
}>, {
|
|
8131
8164
|
jobId: string;
|
|
8132
|
-
harness: "claude" | "codex" | "cursor";
|
|
8165
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
8133
8166
|
action: "login";
|
|
8134
8167
|
transport: "client_pty" | "daemon";
|
|
8135
8168
|
profileId: string | null;
|
|
8136
8169
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
8137
8170
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
8138
8171
|
deadlineAt?: string | undefined;
|
|
8172
|
+
deadlineFixed?: boolean | undefined;
|
|
8139
8173
|
outcome?: {
|
|
8140
8174
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
8141
8175
|
exitCode?: number | null | undefined;
|
|
@@ -8310,13 +8344,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
8310
8344
|
} | undefined;
|
|
8311
8345
|
}, {
|
|
8312
8346
|
jobId: string;
|
|
8313
|
-
harness: "claude" | "codex" | "cursor";
|
|
8347
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
8314
8348
|
action: "login";
|
|
8315
8349
|
transport?: "client_pty" | "daemon" | undefined;
|
|
8316
8350
|
profileId?: string | null | undefined;
|
|
8317
8351
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
8318
8352
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
8319
8353
|
deadlineAt?: string | undefined;
|
|
8354
|
+
deadlineFixed?: boolean | undefined;
|
|
8320
8355
|
outcome?: {
|
|
8321
8356
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
8322
8357
|
exitCode?: number | null | undefined;
|
|
@@ -8531,13 +8566,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
8531
8566
|
message: string;
|
|
8532
8567
|
job: {
|
|
8533
8568
|
jobId: string;
|
|
8534
|
-
harness: "claude" | "codex" | "cursor";
|
|
8569
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
8535
8570
|
action: "login";
|
|
8536
8571
|
transport: "client_pty" | "daemon";
|
|
8537
8572
|
profileId: string | null;
|
|
8538
8573
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
8539
8574
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
8540
8575
|
deadlineAt?: string | undefined;
|
|
8576
|
+
deadlineFixed?: boolean | undefined;
|
|
8541
8577
|
outcome?: {
|
|
8542
8578
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
8543
8579
|
exitCode?: number | null | undefined;
|
|
@@ -8733,13 +8769,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
8733
8769
|
message: string;
|
|
8734
8770
|
job: {
|
|
8735
8771
|
jobId: string;
|
|
8736
|
-
harness: "claude" | "codex" | "cursor";
|
|
8772
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
8737
8773
|
action: "login";
|
|
8738
8774
|
transport?: "client_pty" | "daemon" | undefined;
|
|
8739
8775
|
profileId?: string | null | undefined;
|
|
8740
8776
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
8741
8777
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
8742
8778
|
deadlineAt?: string | undefined;
|
|
8779
|
+
deadlineFixed?: boolean | undefined;
|
|
8743
8780
|
outcome?: {
|
|
8744
8781
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
8745
8782
|
exitCode?: number | null | undefined;
|
|
@@ -8931,13 +8968,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
8931
8968
|
message: string;
|
|
8932
8969
|
job: {
|
|
8933
8970
|
jobId: string;
|
|
8934
|
-
harness: "claude" | "codex" | "cursor";
|
|
8971
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
8935
8972
|
action: "login";
|
|
8936
8973
|
transport: "client_pty" | "daemon";
|
|
8937
8974
|
profileId: string | null;
|
|
8938
8975
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
8939
8976
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
8940
8977
|
deadlineAt?: string | undefined;
|
|
8978
|
+
deadlineFixed?: boolean | undefined;
|
|
8941
8979
|
outcome?: {
|
|
8942
8980
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
8943
8981
|
exitCode?: number | null | undefined;
|
|
@@ -9127,13 +9165,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
9127
9165
|
message: string;
|
|
9128
9166
|
job: {
|
|
9129
9167
|
jobId: string;
|
|
9130
|
-
harness: "claude" | "codex" | "cursor";
|
|
9168
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
9131
9169
|
action: "login";
|
|
9132
9170
|
transport: "client_pty" | "daemon";
|
|
9133
9171
|
profileId: string | null;
|
|
9134
9172
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
9135
9173
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
9136
9174
|
deadlineAt?: string | undefined;
|
|
9175
|
+
deadlineFixed?: boolean | undefined;
|
|
9137
9176
|
outcome?: {
|
|
9138
9177
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
9139
9178
|
exitCode?: number | null | undefined;
|
|
@@ -9325,13 +9364,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
9325
9364
|
message: string;
|
|
9326
9365
|
job: {
|
|
9327
9366
|
jobId: string;
|
|
9328
|
-
harness: "claude" | "codex" | "cursor";
|
|
9367
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
9329
9368
|
action: "login";
|
|
9330
9369
|
transport?: "client_pty" | "daemon" | undefined;
|
|
9331
9370
|
profileId?: string | null | undefined;
|
|
9332
9371
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
9333
9372
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
9334
9373
|
deadlineAt?: string | undefined;
|
|
9374
|
+
deadlineFixed?: boolean | undefined;
|
|
9335
9375
|
outcome?: {
|
|
9336
9376
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
9337
9377
|
exitCode?: number | null | undefined;
|
|
@@ -9521,13 +9561,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodUnion<[z.ZodObject<
|
|
|
9521
9561
|
message: string;
|
|
9522
9562
|
job: {
|
|
9523
9563
|
jobId: string;
|
|
9524
|
-
harness: "claude" | "codex" | "cursor";
|
|
9564
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
9525
9565
|
action: "login";
|
|
9526
9566
|
transport?: "client_pty" | "daemon" | undefined;
|
|
9527
9567
|
profileId?: string | null | undefined;
|
|
9528
9568
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
9529
9569
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
9530
9570
|
deadlineAt?: string | undefined;
|
|
9571
|
+
deadlineFixed?: boolean | undefined;
|
|
9531
9572
|
outcome?: {
|
|
9532
9573
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
9533
9574
|
exitCode?: number | null | undefined;
|
|
@@ -9712,7 +9753,7 @@ export type ControlSetupJobEvent = z.infer<typeof ControlSetupJobEvent>;
|
|
|
9712
9753
|
export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
9713
9754
|
job: z.ZodEffects<z.ZodObject<{
|
|
9714
9755
|
jobId: z.ZodString;
|
|
9715
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
9756
|
+
harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
9716
9757
|
action: z.ZodLiteral<"login">;
|
|
9717
9758
|
transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
|
|
9718
9759
|
/** Credential profile this login job targets; null = the default session. */
|
|
@@ -9720,6 +9761,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
9720
9761
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
9721
9762
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
9722
9763
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
9764
|
+
deadlineFixed: z.ZodOptional<z.ZodBoolean>;
|
|
9723
9765
|
outcome: z.ZodOptional<z.ZodObject<{
|
|
9724
9766
|
reason: z.ZodEnum<["completed", "not_supported", "launch_failed", "command_failed", "auth_not_ready", "capability_verification_failed", "credential_route_mismatch", "timed_out", "cancelled_by_user", "cancelled_on_restart", "interrupted", "interrupted_unknown", "termination_unconfirmed"]>;
|
|
9725
9767
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -10876,13 +10918,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
10876
10918
|
}>>;
|
|
10877
10919
|
}, "strict", z.ZodTypeAny, {
|
|
10878
10920
|
jobId: string;
|
|
10879
|
-
harness: "claude" | "codex" | "cursor";
|
|
10921
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
10880
10922
|
action: "login";
|
|
10881
10923
|
transport: "client_pty" | "daemon";
|
|
10882
10924
|
profileId: string | null;
|
|
10883
10925
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
10884
10926
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
10885
10927
|
deadlineAt?: string | undefined;
|
|
10928
|
+
deadlineFixed?: boolean | undefined;
|
|
10886
10929
|
outcome?: {
|
|
10887
10930
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
10888
10931
|
exitCode?: number | null | undefined;
|
|
@@ -11057,13 +11100,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
11057
11100
|
} | undefined;
|
|
11058
11101
|
}, {
|
|
11059
11102
|
jobId: string;
|
|
11060
|
-
harness: "claude" | "codex" | "cursor";
|
|
11103
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
11061
11104
|
action: "login";
|
|
11062
11105
|
transport?: "client_pty" | "daemon" | undefined;
|
|
11063
11106
|
profileId?: string | null | undefined;
|
|
11064
11107
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
11065
11108
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
11066
11109
|
deadlineAt?: string | undefined;
|
|
11110
|
+
deadlineFixed?: boolean | undefined;
|
|
11067
11111
|
outcome?: {
|
|
11068
11112
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
11069
11113
|
exitCode?: number | null | undefined;
|
|
@@ -11238,13 +11282,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
11238
11282
|
} | undefined;
|
|
11239
11283
|
}>, {
|
|
11240
11284
|
jobId: string;
|
|
11241
|
-
harness: "claude" | "codex" | "cursor";
|
|
11285
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
11242
11286
|
action: "login";
|
|
11243
11287
|
transport: "client_pty" | "daemon";
|
|
11244
11288
|
profileId: string | null;
|
|
11245
11289
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
11246
11290
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
11247
11291
|
deadlineAt?: string | undefined;
|
|
11292
|
+
deadlineFixed?: boolean | undefined;
|
|
11248
11293
|
outcome?: {
|
|
11249
11294
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
11250
11295
|
exitCode?: number | null | undefined;
|
|
@@ -11419,13 +11464,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
11419
11464
|
} | undefined;
|
|
11420
11465
|
}, {
|
|
11421
11466
|
jobId: string;
|
|
11422
|
-
harness: "claude" | "codex" | "cursor";
|
|
11467
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
11423
11468
|
action: "login";
|
|
11424
11469
|
transport?: "client_pty" | "daemon" | undefined;
|
|
11425
11470
|
profileId?: string | null | undefined;
|
|
11426
11471
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
11427
11472
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
11428
11473
|
deadlineAt?: string | undefined;
|
|
11474
|
+
deadlineFixed?: boolean | undefined;
|
|
11429
11475
|
outcome?: {
|
|
11430
11476
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
11431
11477
|
exitCode?: number | null | undefined;
|
|
@@ -11607,13 +11653,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
11607
11653
|
deviceCode?: undefined;
|
|
11608
11654
|
job: {
|
|
11609
11655
|
jobId: string;
|
|
11610
|
-
harness: "claude" | "codex" | "cursor";
|
|
11656
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
11611
11657
|
action: "login";
|
|
11612
11658
|
transport: "client_pty" | "daemon";
|
|
11613
11659
|
profileId: string | null;
|
|
11614
11660
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
11615
11661
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
11616
11662
|
deadlineAt?: string | undefined;
|
|
11663
|
+
deadlineFixed?: boolean | undefined;
|
|
11617
11664
|
outcome?: {
|
|
11618
11665
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
11619
11666
|
exitCode?: number | null | undefined;
|
|
@@ -11793,13 +11840,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
11793
11840
|
deviceCode?: undefined;
|
|
11794
11841
|
job: {
|
|
11795
11842
|
jobId: string;
|
|
11796
|
-
harness: "claude" | "codex" | "cursor";
|
|
11843
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
11797
11844
|
action: "login";
|
|
11798
11845
|
transport?: "client_pty" | "daemon" | undefined;
|
|
11799
11846
|
profileId?: string | null | undefined;
|
|
11800
11847
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
11801
11848
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
11802
11849
|
deadlineAt?: string | undefined;
|
|
11850
|
+
deadlineFixed?: boolean | undefined;
|
|
11803
11851
|
outcome?: {
|
|
11804
11852
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
11805
11853
|
exitCode?: number | null | undefined;
|
|
@@ -11978,7 +12026,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
11978
12026
|
}>, z.ZodObject<{
|
|
11979
12027
|
job: z.ZodEffects<z.ZodObject<{
|
|
11980
12028
|
jobId: z.ZodString;
|
|
11981
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
12029
|
+
harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
11982
12030
|
action: z.ZodLiteral<"login">;
|
|
11983
12031
|
transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
|
|
11984
12032
|
/** Credential profile this login job targets; null = the default session. */
|
|
@@ -11986,6 +12034,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
11986
12034
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
11987
12035
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
11988
12036
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
12037
|
+
deadlineFixed: z.ZodOptional<z.ZodBoolean>;
|
|
11989
12038
|
outcome: z.ZodOptional<z.ZodObject<{
|
|
11990
12039
|
reason: z.ZodEnum<["completed", "not_supported", "launch_failed", "command_failed", "auth_not_ready", "capability_verification_failed", "credential_route_mismatch", "timed_out", "cancelled_by_user", "cancelled_on_restart", "interrupted", "interrupted_unknown", "termination_unconfirmed"]>;
|
|
11991
12040
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -13142,13 +13191,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
13142
13191
|
}>>;
|
|
13143
13192
|
}, "strict", z.ZodTypeAny, {
|
|
13144
13193
|
jobId: string;
|
|
13145
|
-
harness: "claude" | "codex" | "cursor";
|
|
13194
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
13146
13195
|
action: "login";
|
|
13147
13196
|
transport: "client_pty" | "daemon";
|
|
13148
13197
|
profileId: string | null;
|
|
13149
13198
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
13150
13199
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
13151
13200
|
deadlineAt?: string | undefined;
|
|
13201
|
+
deadlineFixed?: boolean | undefined;
|
|
13152
13202
|
outcome?: {
|
|
13153
13203
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
13154
13204
|
exitCode?: number | null | undefined;
|
|
@@ -13323,13 +13373,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
13323
13373
|
} | undefined;
|
|
13324
13374
|
}, {
|
|
13325
13375
|
jobId: string;
|
|
13326
|
-
harness: "claude" | "codex" | "cursor";
|
|
13376
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
13327
13377
|
action: "login";
|
|
13328
13378
|
transport?: "client_pty" | "daemon" | undefined;
|
|
13329
13379
|
profileId?: string | null | undefined;
|
|
13330
13380
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
13331
13381
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
13332
13382
|
deadlineAt?: string | undefined;
|
|
13383
|
+
deadlineFixed?: boolean | undefined;
|
|
13333
13384
|
outcome?: {
|
|
13334
13385
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
13335
13386
|
exitCode?: number | null | undefined;
|
|
@@ -13504,13 +13555,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
13504
13555
|
} | undefined;
|
|
13505
13556
|
}>, {
|
|
13506
13557
|
jobId: string;
|
|
13507
|
-
harness: "claude" | "codex" | "cursor";
|
|
13558
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
13508
13559
|
action: "login";
|
|
13509
13560
|
transport: "client_pty" | "daemon";
|
|
13510
13561
|
profileId: string | null;
|
|
13511
13562
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
13512
13563
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
13513
13564
|
deadlineAt?: string | undefined;
|
|
13565
|
+
deadlineFixed?: boolean | undefined;
|
|
13514
13566
|
outcome?: {
|
|
13515
13567
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
13516
13568
|
exitCode?: number | null | undefined;
|
|
@@ -13685,13 +13737,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
13685
13737
|
} | undefined;
|
|
13686
13738
|
}, {
|
|
13687
13739
|
jobId: string;
|
|
13688
|
-
harness: "claude" | "codex" | "cursor";
|
|
13740
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
13689
13741
|
action: "login";
|
|
13690
13742
|
transport?: "client_pty" | "daemon" | undefined;
|
|
13691
13743
|
profileId?: string | null | undefined;
|
|
13692
13744
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
13693
13745
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
13694
13746
|
deadlineAt?: string | undefined;
|
|
13747
|
+
deadlineFixed?: boolean | undefined;
|
|
13695
13748
|
outcome?: {
|
|
13696
13749
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
13697
13750
|
exitCode?: number | null | undefined;
|
|
@@ -13870,7 +13923,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
13870
13923
|
} & {
|
|
13871
13924
|
job: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
|
|
13872
13925
|
jobId: z.ZodString;
|
|
13873
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
13926
|
+
harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
13874
13927
|
action: z.ZodLiteral<"login">;
|
|
13875
13928
|
transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
|
|
13876
13929
|
/** Credential profile this login job targets; null = the default session. */
|
|
@@ -13878,6 +13931,7 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
13878
13931
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
13879
13932
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
13880
13933
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
13934
|
+
deadlineFixed: z.ZodOptional<z.ZodBoolean>;
|
|
13881
13935
|
outcome: z.ZodOptional<z.ZodObject<{
|
|
13882
13936
|
reason: z.ZodEnum<["completed", "not_supported", "launch_failed", "command_failed", "auth_not_ready", "capability_verification_failed", "credential_route_mismatch", "timed_out", "cancelled_by_user", "cancelled_on_restart", "interrupted", "interrupted_unknown", "termination_unconfirmed"]>;
|
|
13883
13937
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -15034,13 +15088,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
15034
15088
|
}>>;
|
|
15035
15089
|
}, "strict", z.ZodTypeAny, {
|
|
15036
15090
|
jobId: string;
|
|
15037
|
-
harness: "claude" | "codex" | "cursor";
|
|
15091
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
15038
15092
|
action: "login";
|
|
15039
15093
|
transport: "client_pty" | "daemon";
|
|
15040
15094
|
profileId: string | null;
|
|
15041
15095
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
15042
15096
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
15043
15097
|
deadlineAt?: string | undefined;
|
|
15098
|
+
deadlineFixed?: boolean | undefined;
|
|
15044
15099
|
outcome?: {
|
|
15045
15100
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
15046
15101
|
exitCode?: number | null | undefined;
|
|
@@ -15215,13 +15270,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
15215
15270
|
} | undefined;
|
|
15216
15271
|
}, {
|
|
15217
15272
|
jobId: string;
|
|
15218
|
-
harness: "claude" | "codex" | "cursor";
|
|
15273
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
15219
15274
|
action: "login";
|
|
15220
15275
|
transport?: "client_pty" | "daemon" | undefined;
|
|
15221
15276
|
profileId?: string | null | undefined;
|
|
15222
15277
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
15223
15278
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
15224
15279
|
deadlineAt?: string | undefined;
|
|
15280
|
+
deadlineFixed?: boolean | undefined;
|
|
15225
15281
|
outcome?: {
|
|
15226
15282
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
15227
15283
|
exitCode?: number | null | undefined;
|
|
@@ -15396,13 +15452,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
15396
15452
|
} | undefined;
|
|
15397
15453
|
}>, {
|
|
15398
15454
|
jobId: string;
|
|
15399
|
-
harness: "claude" | "codex" | "cursor";
|
|
15455
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
15400
15456
|
action: "login";
|
|
15401
15457
|
transport: "client_pty" | "daemon";
|
|
15402
15458
|
profileId: string | null;
|
|
15403
15459
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
15404
15460
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
15405
15461
|
deadlineAt?: string | undefined;
|
|
15462
|
+
deadlineFixed?: boolean | undefined;
|
|
15406
15463
|
outcome?: {
|
|
15407
15464
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
15408
15465
|
exitCode?: number | null | undefined;
|
|
@@ -15577,13 +15634,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
15577
15634
|
} | undefined;
|
|
15578
15635
|
}, {
|
|
15579
15636
|
jobId: string;
|
|
15580
|
-
harness: "claude" | "codex" | "cursor";
|
|
15637
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
15581
15638
|
action: "login";
|
|
15582
15639
|
transport?: "client_pty" | "daemon" | undefined;
|
|
15583
15640
|
profileId?: string | null | undefined;
|
|
15584
15641
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
15585
15642
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
15586
15643
|
deadlineAt?: string | undefined;
|
|
15644
|
+
deadlineFixed?: boolean | undefined;
|
|
15587
15645
|
outcome?: {
|
|
15588
15646
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
15589
15647
|
exitCode?: number | null | undefined;
|
|
@@ -15790,13 +15848,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
15790
15848
|
};
|
|
15791
15849
|
job: {
|
|
15792
15850
|
jobId: string;
|
|
15793
|
-
harness: "claude" | "codex" | "cursor";
|
|
15851
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
15794
15852
|
action: "login";
|
|
15795
15853
|
transport: "client_pty" | "daemon";
|
|
15796
15854
|
profileId: string | null;
|
|
15797
15855
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
15798
15856
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
15799
15857
|
deadlineAt?: string | undefined;
|
|
15858
|
+
deadlineFixed?: boolean | undefined;
|
|
15800
15859
|
outcome?: {
|
|
15801
15860
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
15802
15861
|
exitCode?: number | null | undefined;
|
|
@@ -15986,13 +16045,14 @@ export declare const ControlSetupJobSnapshot: z.ZodUnion<[z.ZodObject<{
|
|
|
15986
16045
|
};
|
|
15987
16046
|
job: {
|
|
15988
16047
|
jobId: string;
|
|
15989
|
-
harness: "claude" | "codex" | "cursor";
|
|
16048
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
15990
16049
|
action: "login";
|
|
15991
16050
|
transport?: "client_pty" | "daemon" | undefined;
|
|
15992
16051
|
profileId?: string | null | undefined;
|
|
15993
16052
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
15994
16053
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
15995
16054
|
deadlineAt?: string | undefined;
|
|
16055
|
+
deadlineFixed?: boolean | undefined;
|
|
15996
16056
|
outcome?: {
|
|
15997
16057
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
15998
16058
|
exitCode?: number | null | undefined;
|
|
@@ -16179,7 +16239,7 @@ export type ControlSetupJobSnapshot = z.infer<typeof ControlSetupJobSnapshot>;
|
|
|
16179
16239
|
export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
16180
16240
|
jobs: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
16181
16241
|
jobId: z.ZodString;
|
|
16182
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
16242
|
+
harness: z.ZodEnum<["codex", "claude", "cursor", "agy"]>;
|
|
16183
16243
|
action: z.ZodLiteral<"login">;
|
|
16184
16244
|
transport: z.ZodDefault<z.ZodEnum<["daemon", "client_pty"]>>;
|
|
16185
16245
|
/** Credential profile this login job targets; null = the default session. */
|
|
@@ -16187,6 +16247,7 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
16187
16247
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
16188
16248
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
16189
16249
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
16250
|
+
deadlineFixed: z.ZodOptional<z.ZodBoolean>;
|
|
16190
16251
|
outcome: z.ZodOptional<z.ZodObject<{
|
|
16191
16252
|
reason: z.ZodEnum<["completed", "not_supported", "launch_failed", "command_failed", "auth_not_ready", "capability_verification_failed", "credential_route_mismatch", "timed_out", "cancelled_by_user", "cancelled_on_restart", "interrupted", "interrupted_unknown", "termination_unconfirmed"]>;
|
|
16192
16253
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -17343,13 +17404,14 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
17343
17404
|
}>>;
|
|
17344
17405
|
}, "strict", z.ZodTypeAny, {
|
|
17345
17406
|
jobId: string;
|
|
17346
|
-
harness: "claude" | "codex" | "cursor";
|
|
17407
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
17347
17408
|
action: "login";
|
|
17348
17409
|
transport: "client_pty" | "daemon";
|
|
17349
17410
|
profileId: string | null;
|
|
17350
17411
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
17351
17412
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
17352
17413
|
deadlineAt?: string | undefined;
|
|
17414
|
+
deadlineFixed?: boolean | undefined;
|
|
17353
17415
|
outcome?: {
|
|
17354
17416
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
17355
17417
|
exitCode?: number | null | undefined;
|
|
@@ -17524,13 +17586,14 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
17524
17586
|
} | undefined;
|
|
17525
17587
|
}, {
|
|
17526
17588
|
jobId: string;
|
|
17527
|
-
harness: "claude" | "codex" | "cursor";
|
|
17589
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
17528
17590
|
action: "login";
|
|
17529
17591
|
transport?: "client_pty" | "daemon" | undefined;
|
|
17530
17592
|
profileId?: string | null | undefined;
|
|
17531
17593
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
17532
17594
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
17533
17595
|
deadlineAt?: string | undefined;
|
|
17596
|
+
deadlineFixed?: boolean | undefined;
|
|
17534
17597
|
outcome?: {
|
|
17535
17598
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
17536
17599
|
exitCode?: number | null | undefined;
|
|
@@ -17705,13 +17768,14 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
17705
17768
|
} | undefined;
|
|
17706
17769
|
}>, {
|
|
17707
17770
|
jobId: string;
|
|
17708
|
-
harness: "claude" | "codex" | "cursor";
|
|
17771
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
17709
17772
|
action: "login";
|
|
17710
17773
|
transport: "client_pty" | "daemon";
|
|
17711
17774
|
profileId: string | null;
|
|
17712
17775
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
17713
17776
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
17714
17777
|
deadlineAt?: string | undefined;
|
|
17778
|
+
deadlineFixed?: boolean | undefined;
|
|
17715
17779
|
outcome?: {
|
|
17716
17780
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
17717
17781
|
exitCode?: number | null | undefined;
|
|
@@ -17886,13 +17950,14 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
17886
17950
|
} | undefined;
|
|
17887
17951
|
}, {
|
|
17888
17952
|
jobId: string;
|
|
17889
|
-
harness: "claude" | "codex" | "cursor";
|
|
17953
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
17890
17954
|
action: "login";
|
|
17891
17955
|
transport?: "client_pty" | "daemon" | undefined;
|
|
17892
17956
|
profileId?: string | null | undefined;
|
|
17893
17957
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
17894
17958
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
17895
17959
|
deadlineAt?: string | undefined;
|
|
17960
|
+
deadlineFixed?: boolean | undefined;
|
|
17896
17961
|
outcome?: {
|
|
17897
17962
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
17898
17963
|
exitCode?: number | null | undefined;
|
|
@@ -18069,13 +18134,14 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
18069
18134
|
}, "strip", z.ZodTypeAny, {
|
|
18070
18135
|
jobs: {
|
|
18071
18136
|
jobId: string;
|
|
18072
|
-
harness: "claude" | "codex" | "cursor";
|
|
18137
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
18073
18138
|
action: "login";
|
|
18074
18139
|
transport: "client_pty" | "daemon";
|
|
18075
18140
|
profileId: string | null;
|
|
18076
18141
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
18077
18142
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
18078
18143
|
deadlineAt?: string | undefined;
|
|
18144
|
+
deadlineFixed?: boolean | undefined;
|
|
18079
18145
|
outcome?: {
|
|
18080
18146
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
18081
18147
|
exitCode?: number | null | undefined;
|
|
@@ -18252,13 +18318,14 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
18252
18318
|
}, {
|
|
18253
18319
|
jobs: {
|
|
18254
18320
|
jobId: string;
|
|
18255
|
-
harness: "claude" | "codex" | "cursor";
|
|
18321
|
+
harness: "agy" | "claude" | "codex" | "cursor";
|
|
18256
18322
|
action: "login";
|
|
18257
18323
|
transport?: "client_pty" | "daemon" | undefined;
|
|
18258
18324
|
profileId?: string | null | undefined;
|
|
18259
18325
|
state: "cancelled" | "failed" | "interrupted_unknown" | "not_supported" | "queued" | "running" | "succeeded" | "timed_out" | "waiting_for_input";
|
|
18260
18326
|
phase: "awaiting_user" | "cancelling" | "completed" | "launching" | "preparing" | "verifying";
|
|
18261
18327
|
deadlineAt?: string | undefined;
|
|
18328
|
+
deadlineFixed?: boolean | undefined;
|
|
18262
18329
|
outcome?: {
|
|
18263
18330
|
reason: "auth_not_ready" | "cancelled_by_user" | "cancelled_on_restart" | "capability_verification_failed" | "command_failed" | "completed" | "credential_route_mismatch" | "interrupted" | "interrupted_unknown" | "launch_failed" | "not_supported" | "termination_unconfirmed" | "timed_out";
|
|
18264
18331
|
exitCode?: number | null | undefined;
|
|
@@ -18434,432 +18501,4 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
18434
18501
|
}[];
|
|
18435
18502
|
}>;
|
|
18436
18503
|
export type ControlSetupJobListResponse = z.infer<typeof ControlSetupJobListResponse>;
|
|
18437
|
-
/** Internal, file-backed protocol between claudexord and the detached native-login runner. */
|
|
18438
|
-
export declare const SetupLoginProtocolVersion: z.ZodLiteral<2>;
|
|
18439
|
-
export declare const SetupLoginManifest: z.ZodEffects<z.ZodObject<{
|
|
18440
|
-
version: z.ZodLiteral<2>;
|
|
18441
|
-
jobId: z.ZodString;
|
|
18442
|
-
executionId: z.ZodString;
|
|
18443
|
-
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
18444
|
-
jobDir: z.ZodString;
|
|
18445
|
-
binary: z.ZodString;
|
|
18446
|
-
args: z.ZodArray<z.ZodString, "many">;
|
|
18447
|
-
cwd: z.ZodString;
|
|
18448
|
-
/** Scoped config dir for an INV-135 profile login (claude CLAUDE_CONFIG_DIR /
|
|
18449
|
-
* codex CODEX_HOME). OPTIONAL, not defaulted: absent on default-store jobs so
|
|
18450
|
-
* pre-existing manifests keep their sealed digest across a daemon upgrade. */
|
|
18451
|
-
profileConfigDir: z.ZodOptional<z.ZodString>;
|
|
18452
|
-
/** How the runner performs the login: "terminal" (codex browser_redirect
|
|
18453
|
-
* fallback only), "device_code" (codex app-server), "url_disclosure"
|
|
18454
|
-
* (daemon-hosted, URL captured into the sidecar — cursor), or
|
|
18455
|
-
* "url_disclosure_with_input" (same + one-shot stdin input — claude).
|
|
18456
|
-
* OPTIONAL/undefaulted so pre-upgrade manifests keep their digest. */
|
|
18457
|
-
loginMode: z.ZodOptional<z.ZodEnum<["terminal", "device_code", "url_disclosure", "url_disclosure_with_input"]>>;
|
|
18458
|
-
/** Which app-server auth flow the device_code runner requests. Present only
|
|
18459
|
-
* with loginMode "device_code". */
|
|
18460
|
-
appServerFlow: z.ZodOptional<z.ZodEnum<["chatgptDeviceCode", "chatgpt"]>>;
|
|
18461
|
-
/** Sidecar the runner writes its transient disclosure to; read by the
|
|
18462
|
-
* daemon for the snapshot overlay, never journaled. device_code manifests
|
|
18463
|
-
* REQUIRE it; terminal manifests MAY carry it (the runner then captures the
|
|
18464
|
-
* vendor login's OAuth URL into it as an `oauth_url` disclosure). Optional
|
|
18465
|
-
* so pre-upgrade sealed manifests keep their digest. */
|
|
18466
|
-
deviceCodePath: z.ZodOptional<z.ZodString>;
|
|
18467
|
-
/** One-shot input sidecar (url_disclosure_with_input only): transient,
|
|
18468
|
-
* never journaled, delivered to the vendor CLI's stdin by the runner. */
|
|
18469
|
-
inputPath: z.ZodOptional<z.ZodString>;
|
|
18470
|
-
statePath: z.ZodString;
|
|
18471
|
-
resultPath: z.ZodString;
|
|
18472
|
-
permitPath: z.ZodString;
|
|
18473
|
-
permitDeadlineAt: z.ZodString;
|
|
18474
|
-
permitWaitMs: z.ZodOptional<z.ZodNumber>;
|
|
18475
|
-
executable: z.ZodObject<{
|
|
18476
|
-
realpath: z.ZodString;
|
|
18477
|
-
sha256: z.ZodString;
|
|
18478
|
-
size: z.ZodNumber;
|
|
18479
|
-
mode: z.ZodNumber;
|
|
18480
|
-
device: z.ZodString;
|
|
18481
|
-
inode: z.ZodString;
|
|
18482
|
-
}, "strict", z.ZodTypeAny, {
|
|
18483
|
-
realpath: string;
|
|
18484
|
-
sha256: string;
|
|
18485
|
-
size: number;
|
|
18486
|
-
mode: number;
|
|
18487
|
-
device: string;
|
|
18488
|
-
inode: string;
|
|
18489
|
-
}, {
|
|
18490
|
-
realpath: string;
|
|
18491
|
-
sha256: string;
|
|
18492
|
-
size: number;
|
|
18493
|
-
mode: number;
|
|
18494
|
-
device: string;
|
|
18495
|
-
inode: string;
|
|
18496
|
-
}>;
|
|
18497
|
-
commandDigest: z.ZodString;
|
|
18498
|
-
manifestDigest: z.ZodString;
|
|
18499
|
-
}, "strict", z.ZodTypeAny, {
|
|
18500
|
-
version: 2;
|
|
18501
|
-
jobId: string;
|
|
18502
|
-
executionId: string;
|
|
18503
|
-
harness: "claude" | "codex" | "cursor";
|
|
18504
|
-
jobDir: string;
|
|
18505
|
-
binary: string;
|
|
18506
|
-
args: string[];
|
|
18507
|
-
cwd: string;
|
|
18508
|
-
profileConfigDir?: string | undefined;
|
|
18509
|
-
loginMode?: "device_code" | "terminal" | "url_disclosure" | "url_disclosure_with_input" | undefined;
|
|
18510
|
-
appServerFlow?: "chatgpt" | "chatgptDeviceCode" | undefined;
|
|
18511
|
-
deviceCodePath?: string | undefined;
|
|
18512
|
-
inputPath?: string | undefined;
|
|
18513
|
-
statePath: string;
|
|
18514
|
-
resultPath: string;
|
|
18515
|
-
permitPath: string;
|
|
18516
|
-
permitDeadlineAt: string;
|
|
18517
|
-
permitWaitMs?: number | undefined;
|
|
18518
|
-
executable: {
|
|
18519
|
-
realpath: string;
|
|
18520
|
-
sha256: string;
|
|
18521
|
-
size: number;
|
|
18522
|
-
mode: number;
|
|
18523
|
-
device: string;
|
|
18524
|
-
inode: string;
|
|
18525
|
-
};
|
|
18526
|
-
commandDigest: string;
|
|
18527
|
-
manifestDigest: string;
|
|
18528
|
-
}, {
|
|
18529
|
-
version: 2;
|
|
18530
|
-
jobId: string;
|
|
18531
|
-
executionId: string;
|
|
18532
|
-
harness: "claude" | "codex" | "cursor";
|
|
18533
|
-
jobDir: string;
|
|
18534
|
-
binary: string;
|
|
18535
|
-
args: string[];
|
|
18536
|
-
cwd: string;
|
|
18537
|
-
profileConfigDir?: string | undefined;
|
|
18538
|
-
loginMode?: "device_code" | "terminal" | "url_disclosure" | "url_disclosure_with_input" | undefined;
|
|
18539
|
-
appServerFlow?: "chatgpt" | "chatgptDeviceCode" | undefined;
|
|
18540
|
-
deviceCodePath?: string | undefined;
|
|
18541
|
-
inputPath?: string | undefined;
|
|
18542
|
-
statePath: string;
|
|
18543
|
-
resultPath: string;
|
|
18544
|
-
permitPath: string;
|
|
18545
|
-
permitDeadlineAt: string;
|
|
18546
|
-
permitWaitMs?: number | undefined;
|
|
18547
|
-
executable: {
|
|
18548
|
-
realpath: string;
|
|
18549
|
-
sha256: string;
|
|
18550
|
-
size: number;
|
|
18551
|
-
mode: number;
|
|
18552
|
-
device: string;
|
|
18553
|
-
inode: string;
|
|
18554
|
-
};
|
|
18555
|
-
commandDigest: string;
|
|
18556
|
-
manifestDigest: string;
|
|
18557
|
-
}>, {
|
|
18558
|
-
version: 2;
|
|
18559
|
-
jobId: string;
|
|
18560
|
-
executionId: string;
|
|
18561
|
-
harness: "claude" | "codex" | "cursor";
|
|
18562
|
-
jobDir: string;
|
|
18563
|
-
binary: string;
|
|
18564
|
-
args: string[];
|
|
18565
|
-
cwd: string;
|
|
18566
|
-
profileConfigDir?: string | undefined;
|
|
18567
|
-
loginMode?: "device_code" | "terminal" | "url_disclosure" | "url_disclosure_with_input" | undefined;
|
|
18568
|
-
appServerFlow?: "chatgpt" | "chatgptDeviceCode" | undefined;
|
|
18569
|
-
deviceCodePath?: string | undefined;
|
|
18570
|
-
inputPath?: string | undefined;
|
|
18571
|
-
statePath: string;
|
|
18572
|
-
resultPath: string;
|
|
18573
|
-
permitPath: string;
|
|
18574
|
-
permitDeadlineAt: string;
|
|
18575
|
-
permitWaitMs?: number | undefined;
|
|
18576
|
-
executable: {
|
|
18577
|
-
realpath: string;
|
|
18578
|
-
sha256: string;
|
|
18579
|
-
size: number;
|
|
18580
|
-
mode: number;
|
|
18581
|
-
device: string;
|
|
18582
|
-
inode: string;
|
|
18583
|
-
};
|
|
18584
|
-
commandDigest: string;
|
|
18585
|
-
manifestDigest: string;
|
|
18586
|
-
}, {
|
|
18587
|
-
version: 2;
|
|
18588
|
-
jobId: string;
|
|
18589
|
-
executionId: string;
|
|
18590
|
-
harness: "claude" | "codex" | "cursor";
|
|
18591
|
-
jobDir: string;
|
|
18592
|
-
binary: string;
|
|
18593
|
-
args: string[];
|
|
18594
|
-
cwd: string;
|
|
18595
|
-
profileConfigDir?: string | undefined;
|
|
18596
|
-
loginMode?: "device_code" | "terminal" | "url_disclosure" | "url_disclosure_with_input" | undefined;
|
|
18597
|
-
appServerFlow?: "chatgpt" | "chatgptDeviceCode" | undefined;
|
|
18598
|
-
deviceCodePath?: string | undefined;
|
|
18599
|
-
inputPath?: string | undefined;
|
|
18600
|
-
statePath: string;
|
|
18601
|
-
resultPath: string;
|
|
18602
|
-
permitPath: string;
|
|
18603
|
-
permitDeadlineAt: string;
|
|
18604
|
-
permitWaitMs?: number | undefined;
|
|
18605
|
-
executable: {
|
|
18606
|
-
realpath: string;
|
|
18607
|
-
sha256: string;
|
|
18608
|
-
size: number;
|
|
18609
|
-
mode: number;
|
|
18610
|
-
device: string;
|
|
18611
|
-
inode: string;
|
|
18612
|
-
};
|
|
18613
|
-
commandDigest: string;
|
|
18614
|
-
manifestDigest: string;
|
|
18615
|
-
}>;
|
|
18616
|
-
export type SetupLoginManifest = z.infer<typeof SetupLoginManifest>;
|
|
18617
|
-
/**
|
|
18618
|
-
* TRANSIENT device-code sidecar the device_code runner writes after
|
|
18619
|
-
* `account/login/start` succeeds. Bound to the job + execution like the state
|
|
18620
|
-
* sidecar. The daemon reads it to overlay {@link SetupDeviceCodeDisclosure} on
|
|
18621
|
-
* snapshots/SSE; its `userCode` is NEVER journaled, logged, or copied into the
|
|
18622
|
-
* durable result receipt (INV-062 / D-17).
|
|
18623
|
-
*/
|
|
18624
|
-
export declare const SetupLoginDeviceCode: z.ZodObject<{
|
|
18625
|
-
version: z.ZodLiteral<2>;
|
|
18626
|
-
jobId: z.ZodString;
|
|
18627
|
-
executionId: z.ZodString;
|
|
18628
|
-
flow: z.ZodEnum<["chatgptDeviceCode", "chatgpt", "oauth_url", "oauth_url_input"]>;
|
|
18629
|
-
verificationUrl: z.ZodString;
|
|
18630
|
-
userCode: z.ZodString;
|
|
18631
|
-
disclosedAt: z.ZodString;
|
|
18632
|
-
}, "strict", z.ZodTypeAny, {
|
|
18633
|
-
version: 2;
|
|
18634
|
-
jobId: string;
|
|
18635
|
-
executionId: string;
|
|
18636
|
-
flow: "chatgpt" | "chatgptDeviceCode" | "oauth_url" | "oauth_url_input";
|
|
18637
|
-
verificationUrl: string;
|
|
18638
|
-
userCode: string;
|
|
18639
|
-
disclosedAt: string;
|
|
18640
|
-
}, {
|
|
18641
|
-
version: 2;
|
|
18642
|
-
jobId: string;
|
|
18643
|
-
executionId: string;
|
|
18644
|
-
flow: "chatgpt" | "chatgptDeviceCode" | "oauth_url" | "oauth_url_input";
|
|
18645
|
-
verificationUrl: string;
|
|
18646
|
-
userCode: string;
|
|
18647
|
-
disclosedAt: string;
|
|
18648
|
-
}>;
|
|
18649
|
-
export type SetupLoginDeviceCode = z.infer<typeof SetupLoginDeviceCode>;
|
|
18650
|
-
export declare const SetupLoginRunnerState: z.ZodObject<{
|
|
18651
|
-
version: z.ZodLiteral<2>;
|
|
18652
|
-
jobId: z.ZodString;
|
|
18653
|
-
executionId: z.ZodString;
|
|
18654
|
-
processGroup: z.ZodEffects<z.ZodObject<{
|
|
18655
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
18656
|
-
pgid: z.ZodNumber;
|
|
18657
|
-
leader: z.ZodObject<{
|
|
18658
|
-
status: z.ZodLiteral<"known">;
|
|
18659
|
-
pid: z.ZodNumber;
|
|
18660
|
-
platform: z.ZodEnum<["linux", "darwin", "win32"]>;
|
|
18661
|
-
source: z.ZodEnum<["procfs_stat", "proc_pidinfo", "win32_process_times"]>;
|
|
18662
|
-
startToken: z.ZodString;
|
|
18663
|
-
processGroupId: z.ZodNumber;
|
|
18664
|
-
}, "strict", z.ZodTypeAny, {
|
|
18665
|
-
status: "known";
|
|
18666
|
-
pid: number;
|
|
18667
|
-
platform: "darwin" | "linux" | "win32";
|
|
18668
|
-
source: "proc_pidinfo" | "procfs_stat" | "win32_process_times";
|
|
18669
|
-
startToken: string;
|
|
18670
|
-
processGroupId: number;
|
|
18671
|
-
}, {
|
|
18672
|
-
status: "known";
|
|
18673
|
-
pid: number;
|
|
18674
|
-
platform: "darwin" | "linux" | "win32";
|
|
18675
|
-
source: "proc_pidinfo" | "procfs_stat" | "win32_process_times";
|
|
18676
|
-
startToken: string;
|
|
18677
|
-
processGroupId: number;
|
|
18678
|
-
}>;
|
|
18679
|
-
}, "strict", z.ZodTypeAny, {
|
|
18680
|
-
schemaVersion: 1;
|
|
18681
|
-
pgid: number;
|
|
18682
|
-
leader: {
|
|
18683
|
-
status: "known";
|
|
18684
|
-
pid: number;
|
|
18685
|
-
platform: "darwin" | "linux" | "win32";
|
|
18686
|
-
source: "proc_pidinfo" | "procfs_stat" | "win32_process_times";
|
|
18687
|
-
startToken: string;
|
|
18688
|
-
processGroupId: number;
|
|
18689
|
-
};
|
|
18690
|
-
}, {
|
|
18691
|
-
schemaVersion: 1;
|
|
18692
|
-
pgid: number;
|
|
18693
|
-
leader: {
|
|
18694
|
-
status: "known";
|
|
18695
|
-
pid: number;
|
|
18696
|
-
platform: "darwin" | "linux" | "win32";
|
|
18697
|
-
source: "proc_pidinfo" | "procfs_stat" | "win32_process_times";
|
|
18698
|
-
startToken: string;
|
|
18699
|
-
processGroupId: number;
|
|
18700
|
-
};
|
|
18701
|
-
}>, {
|
|
18702
|
-
schemaVersion: 1;
|
|
18703
|
-
pgid: number;
|
|
18704
|
-
leader: {
|
|
18705
|
-
status: "known";
|
|
18706
|
-
pid: number;
|
|
18707
|
-
platform: "darwin" | "linux" | "win32";
|
|
18708
|
-
source: "proc_pidinfo" | "procfs_stat" | "win32_process_times";
|
|
18709
|
-
startToken: string;
|
|
18710
|
-
processGroupId: number;
|
|
18711
|
-
};
|
|
18712
|
-
}, {
|
|
18713
|
-
schemaVersion: 1;
|
|
18714
|
-
pgid: number;
|
|
18715
|
-
leader: {
|
|
18716
|
-
status: "known";
|
|
18717
|
-
pid: number;
|
|
18718
|
-
platform: "darwin" | "linux" | "win32";
|
|
18719
|
-
source: "proc_pidinfo" | "procfs_stat" | "win32_process_times";
|
|
18720
|
-
startToken: string;
|
|
18721
|
-
processGroupId: number;
|
|
18722
|
-
};
|
|
18723
|
-
}>;
|
|
18724
|
-
stage: z.ZodEnum<["awaiting_permit", "running"]>;
|
|
18725
|
-
observedAt: z.ZodString;
|
|
18726
|
-
commandDigest: z.ZodString;
|
|
18727
|
-
manifestDigest: z.ZodString;
|
|
18728
|
-
}, "strict", z.ZodTypeAny, {
|
|
18729
|
-
version: 2;
|
|
18730
|
-
jobId: string;
|
|
18731
|
-
executionId: string;
|
|
18732
|
-
processGroup: {
|
|
18733
|
-
schemaVersion: 1;
|
|
18734
|
-
pgid: number;
|
|
18735
|
-
leader: {
|
|
18736
|
-
status: "known";
|
|
18737
|
-
pid: number;
|
|
18738
|
-
platform: "darwin" | "linux" | "win32";
|
|
18739
|
-
source: "proc_pidinfo" | "procfs_stat" | "win32_process_times";
|
|
18740
|
-
startToken: string;
|
|
18741
|
-
processGroupId: number;
|
|
18742
|
-
};
|
|
18743
|
-
};
|
|
18744
|
-
stage: "awaiting_permit" | "running";
|
|
18745
|
-
observedAt: string;
|
|
18746
|
-
commandDigest: string;
|
|
18747
|
-
manifestDigest: string;
|
|
18748
|
-
}, {
|
|
18749
|
-
version: 2;
|
|
18750
|
-
jobId: string;
|
|
18751
|
-
executionId: string;
|
|
18752
|
-
processGroup: {
|
|
18753
|
-
schemaVersion: 1;
|
|
18754
|
-
pgid: number;
|
|
18755
|
-
leader: {
|
|
18756
|
-
status: "known";
|
|
18757
|
-
pid: number;
|
|
18758
|
-
platform: "darwin" | "linux" | "win32";
|
|
18759
|
-
source: "proc_pidinfo" | "procfs_stat" | "win32_process_times";
|
|
18760
|
-
startToken: string;
|
|
18761
|
-
processGroupId: number;
|
|
18762
|
-
};
|
|
18763
|
-
};
|
|
18764
|
-
stage: "awaiting_permit" | "running";
|
|
18765
|
-
observedAt: string;
|
|
18766
|
-
commandDigest: string;
|
|
18767
|
-
manifestDigest: string;
|
|
18768
|
-
}>;
|
|
18769
|
-
export type SetupLoginRunnerState = z.infer<typeof SetupLoginRunnerState>;
|
|
18770
|
-
export declare const SetupLoginPermit: z.ZodObject<{
|
|
18771
|
-
version: z.ZodLiteral<2>;
|
|
18772
|
-
jobId: z.ZodString;
|
|
18773
|
-
executionId: z.ZodString;
|
|
18774
|
-
issuedAt: z.ZodString;
|
|
18775
|
-
commandDigest: z.ZodString;
|
|
18776
|
-
manifestDigest: z.ZodString;
|
|
18777
|
-
}, "strict", z.ZodTypeAny, {
|
|
18778
|
-
version: 2;
|
|
18779
|
-
jobId: string;
|
|
18780
|
-
executionId: string;
|
|
18781
|
-
issuedAt: string;
|
|
18782
|
-
commandDigest: string;
|
|
18783
|
-
manifestDigest: string;
|
|
18784
|
-
}, {
|
|
18785
|
-
version: 2;
|
|
18786
|
-
jobId: string;
|
|
18787
|
-
executionId: string;
|
|
18788
|
-
issuedAt: string;
|
|
18789
|
-
commandDigest: string;
|
|
18790
|
-
manifestDigest: string;
|
|
18791
|
-
}>;
|
|
18792
|
-
export type SetupLoginPermit = z.infer<typeof SetupLoginPermit>;
|
|
18793
|
-
export declare const SetupLoginRunnerResult: z.ZodEffects<z.ZodObject<{
|
|
18794
|
-
executionId: z.ZodString;
|
|
18795
|
-
commandDigest: z.ZodString;
|
|
18796
|
-
manifestDigest: z.ZodString;
|
|
18797
|
-
permitIssuedAt: z.ZodNullable<z.ZodString>;
|
|
18798
|
-
commandStarted: z.ZodBoolean;
|
|
18799
|
-
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
18800
|
-
signal: z.ZodNullable<z.ZodString>;
|
|
18801
|
-
errorCode: z.ZodOptional<z.ZodEnum<["permit_timeout", "spawn_failed", "device_auth_unsupported"]>>;
|
|
18802
|
-
finishedAt: z.ZodString;
|
|
18803
|
-
version: z.ZodLiteral<2>;
|
|
18804
|
-
jobId: z.ZodString;
|
|
18805
|
-
/** Bounded, ANSI-stripped tail of the vendor command's captured output —
|
|
18806
|
-
* diagnostic evidence for classifying a failed login (e.g. the device-code
|
|
18807
|
-
* toggle being disabled). RESULT-FILE ONLY: the durable control receipt
|
|
18808
|
-
* deliberately does not carry it (the ≤600-char slice in the failure
|
|
18809
|
-
* message is the only journal/API exposure). Only tee'd flows (codex). */
|
|
18810
|
-
outputTail: z.ZodOptional<z.ZodString>;
|
|
18811
|
-
}, "strict", z.ZodTypeAny, {
|
|
18812
|
-
executionId: string;
|
|
18813
|
-
commandDigest: string;
|
|
18814
|
-
manifestDigest: string;
|
|
18815
|
-
permitIssuedAt: string | null;
|
|
18816
|
-
commandStarted: boolean;
|
|
18817
|
-
exitCode: number | null;
|
|
18818
|
-
signal: string | null;
|
|
18819
|
-
errorCode?: "device_auth_unsupported" | "permit_timeout" | "spawn_failed" | undefined;
|
|
18820
|
-
finishedAt: string;
|
|
18821
|
-
version: 2;
|
|
18822
|
-
jobId: string;
|
|
18823
|
-
outputTail?: string | undefined;
|
|
18824
|
-
}, {
|
|
18825
|
-
executionId: string;
|
|
18826
|
-
commandDigest: string;
|
|
18827
|
-
manifestDigest: string;
|
|
18828
|
-
permitIssuedAt: string | null;
|
|
18829
|
-
commandStarted: boolean;
|
|
18830
|
-
exitCode: number | null;
|
|
18831
|
-
signal: string | null;
|
|
18832
|
-
errorCode?: "device_auth_unsupported" | "permit_timeout" | "spawn_failed" | undefined;
|
|
18833
|
-
finishedAt: string;
|
|
18834
|
-
version: 2;
|
|
18835
|
-
jobId: string;
|
|
18836
|
-
outputTail?: string | undefined;
|
|
18837
|
-
}>, {
|
|
18838
|
-
executionId: string;
|
|
18839
|
-
commandDigest: string;
|
|
18840
|
-
manifestDigest: string;
|
|
18841
|
-
permitIssuedAt: string | null;
|
|
18842
|
-
commandStarted: boolean;
|
|
18843
|
-
exitCode: number | null;
|
|
18844
|
-
signal: string | null;
|
|
18845
|
-
errorCode?: "device_auth_unsupported" | "permit_timeout" | "spawn_failed" | undefined;
|
|
18846
|
-
finishedAt: string;
|
|
18847
|
-
version: 2;
|
|
18848
|
-
jobId: string;
|
|
18849
|
-
outputTail?: string | undefined;
|
|
18850
|
-
}, {
|
|
18851
|
-
executionId: string;
|
|
18852
|
-
commandDigest: string;
|
|
18853
|
-
manifestDigest: string;
|
|
18854
|
-
permitIssuedAt: string | null;
|
|
18855
|
-
commandStarted: boolean;
|
|
18856
|
-
exitCode: number | null;
|
|
18857
|
-
signal: string | null;
|
|
18858
|
-
errorCode?: "device_auth_unsupported" | "permit_timeout" | "spawn_failed" | undefined;
|
|
18859
|
-
finishedAt: string;
|
|
18860
|
-
version: 2;
|
|
18861
|
-
jobId: string;
|
|
18862
|
-
outputTail?: string | undefined;
|
|
18863
|
-
}>;
|
|
18864
|
-
export type SetupLoginRunnerResult = z.infer<typeof SetupLoginRunnerResult>;
|
|
18865
18504
|
//# sourceMappingURL=setup.d.ts.map
|