@claudexor/schema 2.0.0 → 2.1.2
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/agent-capabilities.d.ts +24 -24
- package/dist/attachment.d.ts +13 -13
- package/dist/auth.d.ts +21 -0
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +54 -0
- package/dist/auth.js.map +1 -1
- package/dist/budget.d.ts +17 -5
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +15 -0
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +380 -20
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +81 -0
- package/dist/config.js.map +1 -1
- package/dist/control-gc.d.ts +185 -0
- package/dist/control-gc.d.ts.map +1 -0
- package/dist/control-gc.js +81 -0
- package/dist/control-gc.js.map +1 -0
- package/dist/control-operation-responses.d.ts +155 -29
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +140 -32
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-spec.d.ts +6 -6
- package/dist/control-thread-apply.d.ts +2 -2
- package/dist/control.d.ts +427 -586
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +155 -54
- package/dist/control.js.map +1 -1
- package/dist/credential-profile.d.ts +454 -0
- package/dist/credential-profile.d.ts.map +1 -0
- package/dist/credential-profile.js +140 -0
- package/dist/credential-profile.js.map +1 -0
- package/dist/events.d.ts +20 -6
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +22 -0
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +3 -3
- package/dist/harness.d.ts +243 -88
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +124 -46
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/orchestrate.d.ts +23 -0
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +56 -0
- package/dist/orchestrate.js.map +1 -1
- package/dist/project.d.ts +2 -2
- package/dist/quota.d.ts +27 -9
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +14 -2
- package/dist/quota.js.map +1 -1
- package/dist/readiness.d.ts +596 -0
- package/dist/readiness.d.ts.map +1 -0
- package/dist/readiness.js +87 -0
- package/dist/readiness.js.map +1 -0
- package/dist/request-requirements.d.ts +8 -8
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +4 -1
- package/dist/request-requirements.js.map +1 -1
- package/dist/route.d.ts +4 -4
- package/dist/setup.d.ts +69 -24
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +25 -0
- package/dist/setup.js.map +1 -1
- package/dist/spec.d.ts +4 -4
- package/dist/task.d.ts +99 -4
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +48 -1
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +309 -67
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +97 -1
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +26 -15
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +11 -0
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +45 -0
- package/dist/tool-ref.d.ts.map +1 -0
- package/dist/tool-ref.js +45 -0
- package/dist/tool-ref.js.map +1 -0
- package/dist/workspace.d.ts +2 -2
- package/generated/BudgetObservation.schema.json +16 -0
- package/generated/ControlCredentialProfileCreateRequest.schema.json +32 -0
- package/generated/ControlCredentialProfileCreateResponse.schema.json +142 -0
- package/generated/ControlCredentialProfileDeleteResponse.schema.json +107 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +155 -0
- package/generated/ControlGcReceipt.schema.json +170 -0
- package/generated/ControlGcRequest.schema.json +18 -0
- package/generated/ControlHarnessListResponse.schema.json +95 -2
- package/generated/ControlHarnessModelsResponse.schema.json +19 -0
- package/generated/ControlHarnessSettingsPatch.schema.json +9 -0
- package/generated/ControlQuotaResponse.schema.json +3 -2
- package/generated/ControlRunAgainDraft.schema.json +40 -0
- package/generated/ControlRunDetail.schema.json +178 -6
- package/generated/ControlRunListResponse.schema.json +174 -3
- package/generated/ControlRunStartRequest.schema.json +40 -0
- package/generated/ControlRunSummary.schema.json +174 -3
- package/generated/ControlSettingsSnapshot.schema.json +10 -0
- package/generated/ControlSettingsUpdateRequest.schema.json +9 -0
- package/generated/ControlSetupJob.schema.json +8 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +5 -0
- package/generated/ControlSetupJobEvent.schema.json +8 -0
- package/generated/ControlSetupJobListResponse.schema.json +8 -0
- package/generated/ControlSetupJobSnapshot.schema.json +8 -0
- package/generated/ControlThread.schema.json +16 -4
- package/generated/ControlThreadCreateRequest.schema.json +6 -2
- package/generated/ControlThreadDetail.schema.json +32 -8
- package/generated/ControlThreadListResponse.schema.json +16 -4
- package/generated/ControlThreadTurnRequest.schema.json +40 -0
- package/generated/ControlThreadUpdateRequest.schema.json +11 -0
- package/generated/CredentialProfile.schema.json +78 -0
- package/generated/CredentialProfileStatus.schema.json +61 -0
- package/generated/GlobalConfig.schema.json +136 -0
- package/generated/HarnessEvent.schema.json +62 -5
- package/generated/HarnessManifest.schema.json +33 -2
- package/generated/HarnessModel.schema.json +19 -0
- package/generated/HarnessStatusDto.schema.json +95 -2
- package/generated/RunEvent.schema.json +3 -0
- package/generated/RunTelemetry.schema.json +202 -2
- package/generated/Session.schema.json +14 -0
- package/generated/TaskContract.schema.json +65 -4
- package/generated/Thread.schema.json +17 -5
- package/generated/ThreadHeadPing.schema.json +40 -0
- package/package.json +3 -2
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AdapterStatus, ConformanceCheck, HarnessManifest } from "./harness.js";
|
|
3
|
+
import { AuthSourceReadiness } from "./auth.js";
|
|
4
|
+
/**
|
|
5
|
+
* ONE display-ready readiness check (W4.7 sol #18): the daemon normalizes raw
|
|
6
|
+
* doctor probes, auth-source readiness, and the configured-model verdict into
|
|
7
|
+
* this typed list so every surface (Settings, Onboarding, AuthSheet) renders
|
|
8
|
+
* the SAME rows — icon from `status`, name from `title`, evidence from
|
|
9
|
+
* `detail` — and never parses strings or matches id substrings again. Raw
|
|
10
|
+
* checks/reasons stay on the DTO for "copy raw" evidence.
|
|
11
|
+
*/
|
|
12
|
+
export const ReadinessCheckDto = z
|
|
13
|
+
.object({
|
|
14
|
+
id: z.string().describe("Stable machine id of the check (adapter probe id or auth source)."),
|
|
15
|
+
kind: z
|
|
16
|
+
.enum(["binary", "auth", "smoke", "model", "probe"])
|
|
17
|
+
.describe("What KIND of readiness this is: binary presence, credential source, isolated smoke, configured-model validity, or a generic capability probe."),
|
|
18
|
+
title: z.string().describe("Human display name of the check."),
|
|
19
|
+
status: z.enum(["pass", "fail", "skip"]).describe("Outcome; skip = not run / not applicable."),
|
|
20
|
+
detail: z
|
|
21
|
+
.string()
|
|
22
|
+
.nullable()
|
|
23
|
+
.default(null)
|
|
24
|
+
.describe("Redacted human-readable evidence for the outcome."),
|
|
25
|
+
})
|
|
26
|
+
.describe("One display-ready readiness check row (daemon-normalized).");
|
|
27
|
+
export const HarnessStatusDto = z
|
|
28
|
+
.object({
|
|
29
|
+
id: z.string().describe("Harness id."),
|
|
30
|
+
status: AdapterStatus,
|
|
31
|
+
manifest: HarnessManifest.nullable()
|
|
32
|
+
.optional()
|
|
33
|
+
.describe("The harness's declared manifest, when available."),
|
|
34
|
+
enabledIntents: z
|
|
35
|
+
.array(z.string())
|
|
36
|
+
.default([])
|
|
37
|
+
.describe("Intents the gateway will route to this harness."),
|
|
38
|
+
/** Intents this harness is ACTUALLY routable for right now: enabledIntents
|
|
39
|
+
* gated by doctor readiness (a degraded/unauth'd harness routes nothing).
|
|
40
|
+
* The SERVER-side availability truth — surfaces read this field and never
|
|
41
|
+
* re-derive availability from status+intents business logic (R8). */
|
|
42
|
+
routableIntents: z
|
|
43
|
+
.array(z.string())
|
|
44
|
+
.default([])
|
|
45
|
+
.describe("Intents the harness is actually routable for right now (doctor-gated); the server-side availability truth surfaces must read instead of re-deriving."),
|
|
46
|
+
disabledIntents: z.array(z.string()).default([]).describe("Intents the doctor disabled."),
|
|
47
|
+
checks: z.array(ConformanceCheck).default([]).describe("Doctor probe results."),
|
|
48
|
+
reasons: z
|
|
49
|
+
.array(z.string())
|
|
50
|
+
.default([])
|
|
51
|
+
.describe("Human-readable reasons for degraded/unavailable status."),
|
|
52
|
+
authSources: z
|
|
53
|
+
.array(AuthSourceReadiness)
|
|
54
|
+
.default([])
|
|
55
|
+
.describe("Doctor-backed readiness by authentication source; an empty array means readiness was not reported."),
|
|
56
|
+
/** Daemon-normalized display list (W4.7): what surfaces RENDER. Derived
|
|
57
|
+
* from checks + authSources + configuredModelCheck by one producer. */
|
|
58
|
+
readiness: z
|
|
59
|
+
.array(ReadinessCheckDto)
|
|
60
|
+
.default([])
|
|
61
|
+
.describe("Display-ready readiness checks, daemon-normalized from the raw evidence."),
|
|
62
|
+
/** The user's configured per-harness default model, if any. */
|
|
63
|
+
configuredModel: z
|
|
64
|
+
.string()
|
|
65
|
+
.nullable()
|
|
66
|
+
.default(null)
|
|
67
|
+
.describe("The user's configured per-harness default model, if any."),
|
|
68
|
+
/** Strict truth-source check of `configuredModel`: null when no model
|
|
69
|
+
* is configured; a rejection carries the actionable message so UIs render
|
|
70
|
+
* the same honesty `claudexor doctor` prints. */
|
|
71
|
+
configuredModelCheck: z
|
|
72
|
+
.object({
|
|
73
|
+
status: z
|
|
74
|
+
.enum(["ok", "rejected"])
|
|
75
|
+
.describe("Whether the configured model passes the strict truth-source check."),
|
|
76
|
+
message: z
|
|
77
|
+
.string()
|
|
78
|
+
.nullable()
|
|
79
|
+
.default(null)
|
|
80
|
+
.describe("Actionable rejection message, when rejected."),
|
|
81
|
+
})
|
|
82
|
+
.nullable()
|
|
83
|
+
.default(null)
|
|
84
|
+
.describe("Strict truth-source check of configuredModel; null when no model is configured."),
|
|
85
|
+
})
|
|
86
|
+
.describe("Doctor-backed status row for one harness: status, intents, checks, and configured-model validity.");
|
|
87
|
+
//# sourceMappingURL=readiness.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readiness.js","sourceRoot":"","sources":["../src/readiness.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/** Why one selected lane did or did not receive a requested capability. */
|
|
3
|
-
export declare const RequestRequirementReason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible"]>;
|
|
3
|
+
export declare const RequestRequirementReason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible", "postdiff_only"]>;
|
|
4
4
|
export type RequestRequirementReason = z.infer<typeof RequestRequirementReason>;
|
|
5
5
|
/**
|
|
6
6
|
* Preflight truth for one requested capability on one selected harness lane.
|
|
@@ -8,28 +8,28 @@ export type RequestRequirementReason = z.infer<typeof RequestRequirementReason>;
|
|
|
8
8
|
* effective there; consumers must use `effective`, never infer from manifest.
|
|
9
9
|
*/
|
|
10
10
|
export declare const RequestRequirementResolution: z.ZodObject<{
|
|
11
|
-
capability: z.
|
|
11
|
+
capability: z.ZodEnum<["browser", "path_deny"]>;
|
|
12
12
|
harness_id: z.ZodString;
|
|
13
13
|
eligible: z.ZodBoolean;
|
|
14
14
|
requested: z.ZodBoolean;
|
|
15
15
|
effective: z.ZodBoolean;
|
|
16
|
-
reason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible"]>;
|
|
16
|
+
reason: z.ZodEnum<["not_requested", "effective", "manifest_unsupported", "web_policy_off", "access_profile_incompatible", "postdiff_only"]>;
|
|
17
17
|
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
requested: boolean;
|
|
20
20
|
effective: boolean;
|
|
21
|
-
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
22
|
-
evidence_refs: string[];
|
|
23
21
|
harness_id: string;
|
|
22
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible" | "postdiff_only";
|
|
23
|
+
evidence_refs: string[];
|
|
24
24
|
eligible: boolean;
|
|
25
|
-
capability: "browser";
|
|
25
|
+
capability: "browser" | "path_deny";
|
|
26
26
|
}, {
|
|
27
27
|
requested: boolean;
|
|
28
28
|
effective: boolean;
|
|
29
|
-
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible";
|
|
30
29
|
harness_id: string;
|
|
30
|
+
reason: "effective" | "not_requested" | "manifest_unsupported" | "web_policy_off" | "access_profile_incompatible" | "postdiff_only";
|
|
31
31
|
eligible: boolean;
|
|
32
|
-
capability: "browser";
|
|
32
|
+
capability: "browser" | "path_deny";
|
|
33
33
|
evidence_refs?: string[] | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
export type RequestRequirementResolution = z.infer<typeof RequestRequirementResolution>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-requirements.d.ts","sourceRoot":"","sources":["../src/request-requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"request-requirements.d.ts","sourceRoot":"","sources":["../src/request-requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB,qIASnC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;EAUoD,CAAC;AAC9F,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -6,6 +6,9 @@ export const RequestRequirementReason = z.enum([
|
|
|
6
6
|
"manifest_unsupported",
|
|
7
7
|
"web_policy_off",
|
|
8
8
|
"access_profile_incompatible",
|
|
9
|
+
/** No selected lane can enforce the capability natively; the engine's
|
|
10
|
+
* post-diff policy gate is the authoritative enforcement instead. */
|
|
11
|
+
"postdiff_only",
|
|
9
12
|
]);
|
|
10
13
|
/**
|
|
11
14
|
* Preflight truth for one requested capability on one selected harness lane.
|
|
@@ -14,7 +17,7 @@ export const RequestRequirementReason = z.enum([
|
|
|
14
17
|
*/
|
|
15
18
|
export const RequestRequirementResolution = z
|
|
16
19
|
.object({
|
|
17
|
-
capability: z.
|
|
20
|
+
capability: z.enum(["browser", "path_deny"]),
|
|
18
21
|
harness_id: z.string().min(1),
|
|
19
22
|
eligible: z.boolean(),
|
|
20
23
|
requested: z.boolean(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-requirements.js","sourceRoot":"","sources":["../src/request-requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,2EAA2E;AAC3E,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,eAAe;IACf,WAAW;IACX,sBAAsB;IACtB,gBAAgB;IAChB,6BAA6B;
|
|
1
|
+
{"version":3,"file":"request-requirements.js","sourceRoot":"","sources":["../src/request-requirements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,2EAA2E;AAC3E,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,eAAe;IACf,WAAW;IACX,sBAAsB;IACtB,gBAAgB;IAChB,6BAA6B;IAC7B;yEACqE;IACrE,eAAe;CAChB,CAAC,CAAC;AAGH;;;;GAIG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC;KAC1C,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;IACtB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;IACtB,MAAM,EAAE,wBAAwB;IAChC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC/C,CAAC;KACD,QAAQ,CAAC,gFAAgF,CAAC,CAAC"}
|
package/dist/route.d.ts
CHANGED
|
@@ -13,12 +13,12 @@ export declare const RouteProof: z.ZodObject<{
|
|
|
13
13
|
provider_family: z.ZodEnum<["openai", "anthropic", "google", "cursor", "opencode", "xai", "local", "unknown"]>;
|
|
14
14
|
model_hint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
|
|
17
16
|
harness_id: string;
|
|
17
|
+
provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
|
|
18
18
|
model_hint: string | null;
|
|
19
19
|
}, {
|
|
20
|
-
provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
|
|
21
20
|
harness_id: string;
|
|
21
|
+
provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
|
|
22
22
|
model_hint?: string | null | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
observed: z.ZodObject<{
|
|
@@ -39,8 +39,8 @@ export declare const RouteProof: z.ZodObject<{
|
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
status: "unverified" | "verified" | "accepted_model_arg" | "same_model_fallback";
|
|
41
41
|
requested: {
|
|
42
|
-
provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
|
|
43
42
|
harness_id: string;
|
|
43
|
+
provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
|
|
44
44
|
model_hint: string | null;
|
|
45
45
|
};
|
|
46
46
|
observed: {
|
|
@@ -52,8 +52,8 @@ export declare const RouteProof: z.ZodObject<{
|
|
|
52
52
|
}, {
|
|
53
53
|
status: "unverified" | "verified" | "accepted_model_arg" | "same_model_fallback";
|
|
54
54
|
requested: {
|
|
55
|
-
provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
|
|
56
55
|
harness_id: string;
|
|
56
|
+
provider_family: "openai" | "anthropic" | "google" | "cursor" | "opencode" | "xai" | "local" | "unknown";
|
|
57
57
|
model_hint?: string | null | undefined;
|
|
58
58
|
};
|
|
59
59
|
observed: {
|
package/dist/setup.d.ts
CHANGED
|
@@ -428,20 +428,29 @@ export declare const ControlSetupJobCreateRequest: z.ZodObject<{
|
|
|
428
428
|
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
429
429
|
action: z.ZodLiteral<"login">;
|
|
430
430
|
authRequest: z.ZodLiteral<"subscription">;
|
|
431
|
+
/** Target a REGISTERED config-dir credential profile (INV-135): the
|
|
432
|
+
* vendor login runs scoped to the profile's own dir and verification
|
|
433
|
+
* probes THE PROFILE — the default native store is never touched.
|
|
434
|
+
* Absent = the harness's default session (unchanged behavior). */
|
|
435
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
431
436
|
}, "strict", z.ZodTypeAny, {
|
|
432
437
|
authRequest: "subscription";
|
|
433
438
|
harness: "cursor" | "codex" | "claude";
|
|
434
439
|
action: "login";
|
|
440
|
+
profileId?: string | undefined;
|
|
435
441
|
}, {
|
|
436
442
|
authRequest: "subscription";
|
|
437
443
|
harness: "cursor" | "codex" | "claude";
|
|
438
444
|
action: "login";
|
|
445
|
+
profileId?: string | undefined;
|
|
439
446
|
}>;
|
|
440
447
|
export type ControlSetupJobCreateRequest = z.infer<typeof ControlSetupJobCreateRequest>;
|
|
441
448
|
export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
442
449
|
jobId: z.ZodString;
|
|
443
450
|
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
444
451
|
action: z.ZodLiteral<"login">;
|
|
452
|
+
/** Credential profile this login job targets; null = the default session. */
|
|
453
|
+
profileId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
445
454
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
446
455
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
447
456
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1604,8 +1613,9 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
|
1604
1613
|
harness: "cursor" | "codex" | "claude";
|
|
1605
1614
|
startedAt: string | null;
|
|
1606
1615
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
1607
|
-
|
|
1616
|
+
profileId: string | null;
|
|
1608
1617
|
command: string | null;
|
|
1618
|
+
createdAt: string;
|
|
1609
1619
|
jobId: string;
|
|
1610
1620
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
1611
1621
|
finishedAt: string | null;
|
|
@@ -1783,13 +1793,14 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
|
1783
1793
|
harness: "cursor" | "codex" | "claude";
|
|
1784
1794
|
startedAt: string | null;
|
|
1785
1795
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
1786
|
-
createdAt: string;
|
|
1787
1796
|
command: string | null;
|
|
1797
|
+
createdAt: string;
|
|
1788
1798
|
jobId: string;
|
|
1789
1799
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
1790
1800
|
finishedAt: string | null;
|
|
1791
1801
|
action: "login";
|
|
1792
1802
|
guideUrl: string | null;
|
|
1803
|
+
profileId?: string | null | undefined;
|
|
1793
1804
|
outcome?: {
|
|
1794
1805
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
1795
1806
|
exitCode?: number | null | undefined;
|
|
@@ -1962,8 +1973,9 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
|
1962
1973
|
harness: "cursor" | "codex" | "claude";
|
|
1963
1974
|
startedAt: string | null;
|
|
1964
1975
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
1965
|
-
|
|
1976
|
+
profileId: string | null;
|
|
1966
1977
|
command: string | null;
|
|
1978
|
+
createdAt: string;
|
|
1967
1979
|
jobId: string;
|
|
1968
1980
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
1969
1981
|
finishedAt: string | null;
|
|
@@ -2141,13 +2153,14 @@ export declare const ControlSetupJob: z.ZodEffects<z.ZodObject<{
|
|
|
2141
2153
|
harness: "cursor" | "codex" | "claude";
|
|
2142
2154
|
startedAt: string | null;
|
|
2143
2155
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
2144
|
-
createdAt: string;
|
|
2145
2156
|
command: string | null;
|
|
2157
|
+
createdAt: string;
|
|
2146
2158
|
jobId: string;
|
|
2147
2159
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
2148
2160
|
finishedAt: string | null;
|
|
2149
2161
|
action: "login";
|
|
2150
2162
|
guideUrl: string | null;
|
|
2163
|
+
profileId?: string | null | undefined;
|
|
2151
2164
|
outcome?: {
|
|
2152
2165
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
2153
2166
|
exitCode?: number | null | undefined;
|
|
@@ -2347,6 +2360,8 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodObject<{
|
|
|
2347
2360
|
jobId: z.ZodString;
|
|
2348
2361
|
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
2349
2362
|
action: z.ZodLiteral<"login">;
|
|
2363
|
+
/** Credential profile this login job targets; null = the default session. */
|
|
2364
|
+
profileId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
2350
2365
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
2351
2366
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
2352
2367
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3509,8 +3524,9 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodObject<{
|
|
|
3509
3524
|
harness: "cursor" | "codex" | "claude";
|
|
3510
3525
|
startedAt: string | null;
|
|
3511
3526
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
3512
|
-
|
|
3527
|
+
profileId: string | null;
|
|
3513
3528
|
command: string | null;
|
|
3529
|
+
createdAt: string;
|
|
3514
3530
|
jobId: string;
|
|
3515
3531
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
3516
3532
|
finishedAt: string | null;
|
|
@@ -3688,13 +3704,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodObject<{
|
|
|
3688
3704
|
harness: "cursor" | "codex" | "claude";
|
|
3689
3705
|
startedAt: string | null;
|
|
3690
3706
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
3691
|
-
createdAt: string;
|
|
3692
3707
|
command: string | null;
|
|
3708
|
+
createdAt: string;
|
|
3693
3709
|
jobId: string;
|
|
3694
3710
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
3695
3711
|
finishedAt: string | null;
|
|
3696
3712
|
action: "login";
|
|
3697
3713
|
guideUrl: string | null;
|
|
3714
|
+
profileId?: string | null | undefined;
|
|
3698
3715
|
outcome?: {
|
|
3699
3716
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
3700
3717
|
exitCode?: number | null | undefined;
|
|
@@ -3867,8 +3884,9 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodObject<{
|
|
|
3867
3884
|
harness: "cursor" | "codex" | "claude";
|
|
3868
3885
|
startedAt: string | null;
|
|
3869
3886
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
3870
|
-
|
|
3887
|
+
profileId: string | null;
|
|
3871
3888
|
command: string | null;
|
|
3889
|
+
createdAt: string;
|
|
3872
3890
|
jobId: string;
|
|
3873
3891
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
3874
3892
|
finishedAt: string | null;
|
|
@@ -4046,13 +4064,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodObject<{
|
|
|
4046
4064
|
harness: "cursor" | "codex" | "claude";
|
|
4047
4065
|
startedAt: string | null;
|
|
4048
4066
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
4049
|
-
createdAt: string;
|
|
4050
4067
|
command: string | null;
|
|
4068
|
+
createdAt: string;
|
|
4051
4069
|
jobId: string;
|
|
4052
4070
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
4053
4071
|
finishedAt: string | null;
|
|
4054
4072
|
action: "login";
|
|
4055
4073
|
guideUrl: string | null;
|
|
4074
|
+
profileId?: string | null | undefined;
|
|
4056
4075
|
outcome?: {
|
|
4057
4076
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
4058
4077
|
exitCode?: number | null | undefined;
|
|
@@ -4235,8 +4254,9 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodObject<{
|
|
|
4235
4254
|
harness: "cursor" | "codex" | "claude";
|
|
4236
4255
|
startedAt: string | null;
|
|
4237
4256
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
4238
|
-
|
|
4257
|
+
profileId: string | null;
|
|
4239
4258
|
command: string | null;
|
|
4259
|
+
createdAt: string;
|
|
4240
4260
|
jobId: string;
|
|
4241
4261
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
4242
4262
|
finishedAt: string | null;
|
|
@@ -4424,13 +4444,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodObject<{
|
|
|
4424
4444
|
harness: "cursor" | "codex" | "claude";
|
|
4425
4445
|
startedAt: string | null;
|
|
4426
4446
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
4427
|
-
createdAt: string;
|
|
4428
4447
|
command: string | null;
|
|
4448
|
+
createdAt: string;
|
|
4429
4449
|
jobId: string;
|
|
4430
4450
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
4431
4451
|
finishedAt: string | null;
|
|
4432
4452
|
action: "login";
|
|
4433
4453
|
guideUrl: string | null;
|
|
4454
|
+
profileId?: string | null | undefined;
|
|
4434
4455
|
outcome?: {
|
|
4435
4456
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
4436
4457
|
exitCode?: number | null | undefined;
|
|
@@ -4613,8 +4634,9 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodObject<{
|
|
|
4613
4634
|
harness: "cursor" | "codex" | "claude";
|
|
4614
4635
|
startedAt: string | null;
|
|
4615
4636
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
4616
|
-
|
|
4637
|
+
profileId: string | null;
|
|
4617
4638
|
command: string | null;
|
|
4639
|
+
createdAt: string;
|
|
4618
4640
|
jobId: string;
|
|
4619
4641
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
4620
4642
|
finishedAt: string | null;
|
|
@@ -4802,13 +4824,14 @@ export declare const ControlSetupJobEvent: z.ZodEffects<z.ZodObject<{
|
|
|
4802
4824
|
harness: "cursor" | "codex" | "claude";
|
|
4803
4825
|
startedAt: string | null;
|
|
4804
4826
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
4805
|
-
createdAt: string;
|
|
4806
4827
|
command: string | null;
|
|
4828
|
+
createdAt: string;
|
|
4807
4829
|
jobId: string;
|
|
4808
4830
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
4809
4831
|
finishedAt: string | null;
|
|
4810
4832
|
action: "login";
|
|
4811
4833
|
guideUrl: string | null;
|
|
4834
|
+
profileId?: string | null | undefined;
|
|
4812
4835
|
outcome?: {
|
|
4813
4836
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
4814
4837
|
exitCode?: number | null | undefined;
|
|
@@ -4984,6 +5007,8 @@ export declare const ControlSetupJobSnapshot: z.ZodObject<{
|
|
|
4984
5007
|
jobId: z.ZodString;
|
|
4985
5008
|
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
4986
5009
|
action: z.ZodLiteral<"login">;
|
|
5010
|
+
/** Credential profile this login job targets; null = the default session. */
|
|
5011
|
+
profileId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4987
5012
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
4988
5013
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
4989
5014
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
@@ -6146,8 +6171,9 @@ export declare const ControlSetupJobSnapshot: z.ZodObject<{
|
|
|
6146
6171
|
harness: "cursor" | "codex" | "claude";
|
|
6147
6172
|
startedAt: string | null;
|
|
6148
6173
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
6149
|
-
|
|
6174
|
+
profileId: string | null;
|
|
6150
6175
|
command: string | null;
|
|
6176
|
+
createdAt: string;
|
|
6151
6177
|
jobId: string;
|
|
6152
6178
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
6153
6179
|
finishedAt: string | null;
|
|
@@ -6325,13 +6351,14 @@ export declare const ControlSetupJobSnapshot: z.ZodObject<{
|
|
|
6325
6351
|
harness: "cursor" | "codex" | "claude";
|
|
6326
6352
|
startedAt: string | null;
|
|
6327
6353
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
6328
|
-
createdAt: string;
|
|
6329
6354
|
command: string | null;
|
|
6355
|
+
createdAt: string;
|
|
6330
6356
|
jobId: string;
|
|
6331
6357
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
6332
6358
|
finishedAt: string | null;
|
|
6333
6359
|
action: "login";
|
|
6334
6360
|
guideUrl: string | null;
|
|
6361
|
+
profileId?: string | null | undefined;
|
|
6335
6362
|
outcome?: {
|
|
6336
6363
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
6337
6364
|
exitCode?: number | null | undefined;
|
|
@@ -6504,8 +6531,9 @@ export declare const ControlSetupJobSnapshot: z.ZodObject<{
|
|
|
6504
6531
|
harness: "cursor" | "codex" | "claude";
|
|
6505
6532
|
startedAt: string | null;
|
|
6506
6533
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
6507
|
-
|
|
6534
|
+
profileId: string | null;
|
|
6508
6535
|
command: string | null;
|
|
6536
|
+
createdAt: string;
|
|
6509
6537
|
jobId: string;
|
|
6510
6538
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
6511
6539
|
finishedAt: string | null;
|
|
@@ -6683,13 +6711,14 @@ export declare const ControlSetupJobSnapshot: z.ZodObject<{
|
|
|
6683
6711
|
harness: "cursor" | "codex" | "claude";
|
|
6684
6712
|
startedAt: string | null;
|
|
6685
6713
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
6686
|
-
createdAt: string;
|
|
6687
6714
|
command: string | null;
|
|
6715
|
+
createdAt: string;
|
|
6688
6716
|
jobId: string;
|
|
6689
6717
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
6690
6718
|
finishedAt: string | null;
|
|
6691
6719
|
action: "login";
|
|
6692
6720
|
guideUrl: string | null;
|
|
6721
|
+
profileId?: string | null | undefined;
|
|
6693
6722
|
outcome?: {
|
|
6694
6723
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
6695
6724
|
exitCode?: number | null | undefined;
|
|
@@ -6868,8 +6897,9 @@ export declare const ControlSetupJobSnapshot: z.ZodObject<{
|
|
|
6868
6897
|
harness: "cursor" | "codex" | "claude";
|
|
6869
6898
|
startedAt: string | null;
|
|
6870
6899
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
6871
|
-
|
|
6900
|
+
profileId: string | null;
|
|
6872
6901
|
command: string | null;
|
|
6902
|
+
createdAt: string;
|
|
6873
6903
|
jobId: string;
|
|
6874
6904
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
6875
6905
|
finishedAt: string | null;
|
|
@@ -7051,13 +7081,14 @@ export declare const ControlSetupJobSnapshot: z.ZodObject<{
|
|
|
7051
7081
|
harness: "cursor" | "codex" | "claude";
|
|
7052
7082
|
startedAt: string | null;
|
|
7053
7083
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
7054
|
-
createdAt: string;
|
|
7055
7084
|
command: string | null;
|
|
7085
|
+
createdAt: string;
|
|
7056
7086
|
jobId: string;
|
|
7057
7087
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
7058
7088
|
finishedAt: string | null;
|
|
7059
7089
|
action: "login";
|
|
7060
7090
|
guideUrl: string | null;
|
|
7091
|
+
profileId?: string | null | undefined;
|
|
7061
7092
|
outcome?: {
|
|
7062
7093
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
7063
7094
|
exitCode?: number | null | undefined;
|
|
@@ -7233,6 +7264,8 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
7233
7264
|
jobId: z.ZodString;
|
|
7234
7265
|
harness: z.ZodEnum<["codex", "claude", "cursor"]>;
|
|
7235
7266
|
action: z.ZodLiteral<"login">;
|
|
7267
|
+
/** Credential profile this login job targets; null = the default session. */
|
|
7268
|
+
profileId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7236
7269
|
state: z.ZodEnum<["queued", "running", "waiting_for_input", "succeeded", "failed", "cancelled", "timed_out", "interrupted_unknown", "not_supported"]>;
|
|
7237
7270
|
phase: z.ZodEnum<["preparing", "launching", "awaiting_user", "verifying", "cancelling", "completed"]>;
|
|
7238
7271
|
deadlineAt: z.ZodOptional<z.ZodString>;
|
|
@@ -8395,8 +8428,9 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
8395
8428
|
harness: "cursor" | "codex" | "claude";
|
|
8396
8429
|
startedAt: string | null;
|
|
8397
8430
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
8398
|
-
|
|
8431
|
+
profileId: string | null;
|
|
8399
8432
|
command: string | null;
|
|
8433
|
+
createdAt: string;
|
|
8400
8434
|
jobId: string;
|
|
8401
8435
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
8402
8436
|
finishedAt: string | null;
|
|
@@ -8574,13 +8608,14 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
8574
8608
|
harness: "cursor" | "codex" | "claude";
|
|
8575
8609
|
startedAt: string | null;
|
|
8576
8610
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
8577
|
-
createdAt: string;
|
|
8578
8611
|
command: string | null;
|
|
8612
|
+
createdAt: string;
|
|
8579
8613
|
jobId: string;
|
|
8580
8614
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
8581
8615
|
finishedAt: string | null;
|
|
8582
8616
|
action: "login";
|
|
8583
8617
|
guideUrl: string | null;
|
|
8618
|
+
profileId?: string | null | undefined;
|
|
8584
8619
|
outcome?: {
|
|
8585
8620
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
8586
8621
|
exitCode?: number | null | undefined;
|
|
@@ -8753,8 +8788,9 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
8753
8788
|
harness: "cursor" | "codex" | "claude";
|
|
8754
8789
|
startedAt: string | null;
|
|
8755
8790
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
8756
|
-
|
|
8791
|
+
profileId: string | null;
|
|
8757
8792
|
command: string | null;
|
|
8793
|
+
createdAt: string;
|
|
8758
8794
|
jobId: string;
|
|
8759
8795
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
8760
8796
|
finishedAt: string | null;
|
|
@@ -8932,13 +8968,14 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
8932
8968
|
harness: "cursor" | "codex" | "claude";
|
|
8933
8969
|
startedAt: string | null;
|
|
8934
8970
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
8935
|
-
createdAt: string;
|
|
8936
8971
|
command: string | null;
|
|
8972
|
+
createdAt: string;
|
|
8937
8973
|
jobId: string;
|
|
8938
8974
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
8939
8975
|
finishedAt: string | null;
|
|
8940
8976
|
action: "login";
|
|
8941
8977
|
guideUrl: string | null;
|
|
8978
|
+
profileId?: string | null | undefined;
|
|
8942
8979
|
outcome?: {
|
|
8943
8980
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
8944
8981
|
exitCode?: number | null | undefined;
|
|
@@ -9113,8 +9150,9 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
9113
9150
|
harness: "cursor" | "codex" | "claude";
|
|
9114
9151
|
startedAt: string | null;
|
|
9115
9152
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
9116
|
-
|
|
9153
|
+
profileId: string | null;
|
|
9117
9154
|
command: string | null;
|
|
9155
|
+
createdAt: string;
|
|
9118
9156
|
jobId: string;
|
|
9119
9157
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
9120
9158
|
finishedAt: string | null;
|
|
@@ -9294,13 +9332,14 @@ export declare const ControlSetupJobListResponse: z.ZodObject<{
|
|
|
9294
9332
|
harness: "cursor" | "codex" | "claude";
|
|
9295
9333
|
startedAt: string | null;
|
|
9296
9334
|
state: "failed" | "cancelled" | "running" | "interrupted_unknown" | "queued" | "succeeded" | "timed_out" | "waiting_for_input" | "not_supported";
|
|
9297
|
-
createdAt: string;
|
|
9298
9335
|
command: string | null;
|
|
9336
|
+
createdAt: string;
|
|
9299
9337
|
jobId: string;
|
|
9300
9338
|
phase: "completed" | "preparing" | "launching" | "awaiting_user" | "verifying" | "cancelling";
|
|
9301
9339
|
finishedAt: string | null;
|
|
9302
9340
|
action: "login";
|
|
9303
9341
|
guideUrl: string | null;
|
|
9342
|
+
profileId?: string | null | undefined;
|
|
9304
9343
|
outcome?: {
|
|
9305
9344
|
reason: "completed" | "interrupted_unknown" | "timed_out" | "not_supported" | "launch_failed" | "command_failed" | "auth_not_ready" | "capability_verification_failed" | "credential_route_mismatch" | "cancelled_by_user" | "cancelled_on_restart" | "interrupted" | "termination_unconfirmed";
|
|
9306
9345
|
exitCode?: number | null | undefined;
|
|
@@ -9482,6 +9521,10 @@ export declare const SetupLoginManifest: z.ZodObject<{
|
|
|
9482
9521
|
binary: z.ZodString;
|
|
9483
9522
|
args: z.ZodArray<z.ZodString, "many">;
|
|
9484
9523
|
cwd: z.ZodString;
|
|
9524
|
+
/** Scoped config dir for an INV-135 profile login (claude CLAUDE_CONFIG_DIR /
|
|
9525
|
+
* codex CODEX_HOME). OPTIONAL, not defaulted: absent on default-store jobs so
|
|
9526
|
+
* pre-existing manifests keep their sealed digest across a daemon upgrade. */
|
|
9527
|
+
profileConfigDir: z.ZodOptional<z.ZodString>;
|
|
9485
9528
|
statePath: z.ZodString;
|
|
9486
9529
|
resultPath: z.ZodString;
|
|
9487
9530
|
permitPath: z.ZodString;
|
|
@@ -9533,6 +9576,7 @@ export declare const SetupLoginManifest: z.ZodObject<{
|
|
|
9533
9576
|
resultPath: string;
|
|
9534
9577
|
permitPath: string;
|
|
9535
9578
|
permitDeadlineAt: string;
|
|
9579
|
+
profileConfigDir?: string | undefined;
|
|
9536
9580
|
}, {
|
|
9537
9581
|
harness: "cursor" | "codex" | "claude";
|
|
9538
9582
|
binary: string;
|
|
@@ -9556,6 +9600,7 @@ export declare const SetupLoginManifest: z.ZodObject<{
|
|
|
9556
9600
|
resultPath: string;
|
|
9557
9601
|
permitPath: string;
|
|
9558
9602
|
permitDeadlineAt: string;
|
|
9603
|
+
profileConfigDir?: string | undefined;
|
|
9559
9604
|
}>;
|
|
9560
9605
|
export type SetupLoginManifest = z.infer<typeof SetupLoginManifest>;
|
|
9561
9606
|
export declare const SetupLoginRunnerState: z.ZodObject<{
|