@claudexor/schema 3.1.1 → 3.2.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/agent-capabilities.d.ts +232 -116
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +8 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts +513 -222
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +42 -2
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +17 -17
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +1 -1
- package/dist/attachment.js.map +1 -1
- package/dist/auth.d.ts +475 -475
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +1 -1
- package/dist/auth.js.map +1 -1
- package/dist/budget.d.ts +61 -61
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +3 -1
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +320 -316
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +26 -19
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +38 -38
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/control-auth-route.d.ts +46 -0
- package/dist/control-auth-route.d.ts.map +1 -0
- package/dist/control-auth-route.js +24 -0
- package/dist/control-auth-route.js.map +1 -0
- package/dist/control-gc.d.ts +15 -15
- package/dist/control-gc.d.ts.map +1 -1
- package/dist/control-gc.js +1 -1
- package/dist/control-gc.js.map +1 -1
- package/dist/control-harness-list.d.ts +896 -0
- package/dist/control-harness-list.d.ts.map +1 -0
- package/dist/control-harness-list.js +13 -0
- package/dist/control-harness-list.js.map +1 -0
- package/dist/control-operation-responses.d.ts +691 -590
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +27 -1
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +2663 -920
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +13 -1
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +18 -18
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +1 -1
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control-run-scope.d.ts +2 -2
- package/dist/control-run-scope.d.ts.map +1 -1
- package/dist/control-run-scope.js +1 -1
- package/dist/control-run-scope.js.map +1 -1
- package/dist/control-secret.d.ts +7 -7
- package/dist/control-secret.d.ts.map +1 -1
- package/dist/control-secret.js +1 -1
- package/dist/control-secret.js.map +1 -1
- package/dist/control-thread-apply.d.ts +65 -65
- package/dist/control-thread-apply.d.ts.map +1 -1
- package/dist/control-thread-apply.js +1 -1
- package/dist/control-thread-apply.js.map +1 -1
- package/dist/control-trust.d.ts +23 -23
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +1 -1
- package/dist/control-trust.js.map +1 -1
- package/dist/control.d.ts +1658 -2225
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +43 -73
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +3185 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -0
- package/dist/credential-profile-snapshot.js +28 -0
- package/dist/credential-profile-snapshot.js.map +1 -0
- package/dist/credential-profile.d.ts +122 -107
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +12 -6
- package/dist/credential-profile.js.map +1 -1
- package/dist/decision.d.ts +122 -117
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +9 -4
- package/dist/decision.js.map +1 -1
- package/dist/deep-scan.d.ts +5 -5
- package/dist/deep-scan.d.ts.map +1 -1
- package/dist/deep-scan.js +1 -1
- package/dist/deep-scan.js.map +1 -1
- package/dist/delegation.d.ts +73 -0
- package/dist/delegation.d.ts.map +1 -0
- package/dist/delegation.js +120 -0
- package/dist/delegation.js.map +1 -0
- package/dist/delivery.d.ts +32 -32
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +1 -1
- package/dist/delivery.js.map +1 -1
- package/dist/effort.d.ts +1 -1
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +1 -1
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +57 -37
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +23 -1
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +7 -7
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +1 -1
- package/dist/gate.js.map +1 -1
- package/dist/git-capability.d.ts +23 -0
- package/dist/git-capability.d.ts.map +1 -0
- package/dist/git-capability.js +15 -0
- package/dist/git-capability.js.map +1 -0
- package/dist/harness.d.ts +409 -409
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +19 -22
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/interaction.d.ts +10 -0
- package/dist/interaction.d.ts.map +1 -0
- package/dist/interaction.js +2 -0
- package/dist/interaction.js.map +1 -0
- package/dist/operation.d.ts +113 -113
- package/dist/operation.d.ts.map +1 -1
- package/dist/operation.js +1 -1
- package/dist/operation.js.map +1 -1
- package/dist/output-schema-dialect.d.ts +1 -1
- package/dist/output-schema-dialect.d.ts.map +1 -1
- package/dist/output-schema-dialect.js +1 -1
- package/dist/output-schema-dialect.js.map +1 -1
- package/dist/output-schema.d.ts +2 -2
- package/dist/output-schema.js +2 -2
- package/dist/plan.d.ts +29 -29
- package/dist/plan.d.ts.map +1 -1
- package/dist/plan.js +1 -1
- package/dist/plan.js.map +1 -1
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +1 -1
- package/dist/primitives.js.map +1 -1
- package/dist/problem.d.ts +6 -6
- package/dist/problem.d.ts.map +1 -1
- package/dist/problem.js +1 -1
- package/dist/problem.js.map +1 -1
- package/dist/project.d.ts +87 -25
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +21 -1
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +48 -48
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +1 -1
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +16 -16
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +1 -1
- package/dist/raw.js.map +1 -1
- package/dist/readiness.d.ts +264 -226
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +5 -1
- package/dist/readiness.js.map +1 -1
- package/dist/recovery.d.ts +106 -106
- package/dist/recovery.d.ts.map +1 -1
- package/dist/recovery.js +1 -1
- package/dist/recovery.js.map +1 -1
- package/dist/request-requirements.d.ts +12 -12
- package/dist/request-requirements.d.ts.map +1 -1
- package/dist/request-requirements.js +3 -2
- package/dist/request-requirements.js.map +1 -1
- package/dist/review.d.ts +29 -29
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +1 -1
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +11 -11
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +1 -1
- package/dist/route.js.map +1 -1
- package/dist/run-applicability.d.ts +764 -0
- package/dist/run-applicability.d.ts.map +1 -0
- package/dist/run-applicability.js +56 -0
- package/dist/run-applicability.js.map +1 -0
- package/dist/run-facts.d.ts +628 -0
- package/dist/run-facts.d.ts.map +1 -0
- package/dist/run-facts.js +429 -0
- package/dist/run-facts.js.map +1 -0
- package/dist/run-strategy.d.ts +40 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +68 -1
- package/dist/run-strategy.js.map +1 -1
- package/dist/setup-device-code-envelope.d.ts +67 -0
- package/dist/setup-device-code-envelope.d.ts.map +1 -0
- package/dist/setup-device-code-envelope.js +25 -0
- package/dist/setup-device-code-envelope.js.map +1 -0
- package/dist/setup-login-protocol.d.ts +6 -0
- package/dist/setup-login-protocol.d.ts.map +1 -0
- package/dist/setup-login-protocol.js +12 -0
- package/dist/setup-login-protocol.js.map +1 -0
- package/dist/setup-transport.d.ts +12 -0
- package/dist/setup-transport.d.ts.map +1 -0
- package/dist/setup-transport.js +22 -0
- package/dist/setup-transport.js.map +1 -0
- package/dist/setup.d.ts +12572 -3749
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +34 -38
- package/dist/setup.js.map +1 -1
- package/dist/status-projection.d.ts +7 -5
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +11 -6
- package/dist/status-projection.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +10 -1
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +331 -289
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +12 -1
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +1189 -627
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +13 -13
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +128 -84
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +16 -2
- package/dist/thread.js.map +1 -1
- package/dist/tool-ref.d.ts +7 -7
- package/dist/tool-ref.d.ts.map +1 -1
- package/dist/tool-ref.js +1 -1
- package/dist/tool-ref.js.map +1 -1
- package/dist/work-report.d.ts +28 -28
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +3 -3
- package/dist/work-report.js.map +1 -1
- package/dist/workproduct.d.ts +6 -9
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js +1 -2
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +14 -14
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +8 -8
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +80 -1
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +1333 -0
- package/generated/ControlCredentialProfilesResponse.schema.json +10 -2
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1312 -0
- package/generated/ControlDirectoryEntry.schema.json +36 -0
- package/generated/ControlDirectoryListing.schema.json +77 -0
- package/generated/ControlHarnessListResponse.schema.json +89 -3
- package/generated/ControlRunAgainDraft.schema.json +7 -3
- package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
- package/generated/ControlRunControlResponse.schema.json +8 -0
- package/generated/ControlRunDetail.schema.json +543 -80
- package/generated/ControlRunListResponse.schema.json +104 -11
- package/generated/ControlRunStartRequest.schema.json +7 -3
- package/generated/ControlRunSummary.schema.json +104 -11
- package/generated/ControlSettingsSnapshot.schema.json +12 -3
- package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
- package/generated/ControlSetupJob.schema.json +9 -0
- package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
- package/generated/ControlSetupJobEvent.schema.json +858 -758
- package/generated/ControlSetupJobListResponse.schema.json +9 -0
- package/generated/ControlSetupJobSnapshot.schema.json +811 -736
- package/generated/ControlThreadDetail.schema.json +83 -1
- package/generated/ControlThreadTurnRequest.schema.json +2 -25
- package/generated/DecisionRecord.schema.json +12 -2
- package/generated/GitCapability.schema.json +46 -0
- package/generated/GlobalConfig.schema.json +13 -4
- package/generated/HarnessEvent.schema.json +2 -1
- package/generated/HarnessManifest.schema.json +3 -3
- package/generated/HarnessStatusDto.schema.json +49 -3
- package/generated/McpRunHandleResult.schema.json +237 -2
- package/generated/McpRunToolResult.schema.json +234 -1
- package/generated/OutputReadyPayload.schema.json +44 -0
- package/generated/RunEvent.schema.json +1 -0
- package/generated/RunFacts.schema.json +569 -0
- package/generated/RunFailure.schema.json +4 -3
- package/generated/RunTelemetry.schema.json +553 -4
- package/generated/TaskContract.schema.json +43 -3
- package/generated/ThreadTurn.schema.json +17 -0
- package/generated/WorkProduct.schema.json +0 -4
- package/generated/WorkspaceEnvelope.schema.json +6 -6
- package/package.json +3 -3
package/dist/auth.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
1
|
+
import { z } from "zod/v3";
|
|
2
2
|
/** What credential behavior the caller asked Claudexor to enforce. */
|
|
3
3
|
export declare const AuthRequest: z.ZodEnum<["subscription", "api_key", "auto"]>;
|
|
4
4
|
export type AuthRequest = z.infer<typeof AuthRequest>;
|
|
@@ -28,14 +28,14 @@ export declare const AuthSourceReadiness: z.ZodObject<{
|
|
|
28
28
|
verification: z.ZodEnum<["passed", "failed", "not_run"]>;
|
|
29
29
|
detail: z.ZodOptional<z.ZodString>;
|
|
30
30
|
}, "strict", z.ZodTypeAny, {
|
|
31
|
-
source: "
|
|
32
|
-
availability: "
|
|
33
|
-
verification: "
|
|
31
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
32
|
+
availability: "available" | "unavailable" | "unknown";
|
|
33
|
+
verification: "failed" | "not_run" | "passed";
|
|
34
34
|
detail?: string | undefined;
|
|
35
35
|
}, {
|
|
36
|
-
source: "
|
|
37
|
-
availability: "
|
|
38
|
-
verification: "
|
|
36
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
37
|
+
availability: "available" | "unavailable" | "unknown";
|
|
38
|
+
verification: "failed" | "not_run" | "passed";
|
|
39
39
|
detail?: string | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
export type AuthSourceReadiness = z.infer<typeof AuthSourceReadiness>;
|
|
@@ -59,11 +59,11 @@ export declare const ControlAuthReadinessRefreshRequest: z.ZodObject<{
|
|
|
59
59
|
authRequest: z.ZodEnum<["subscription", "api_key", "auto"]>;
|
|
60
60
|
source: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
|
|
61
61
|
}, "strict", z.ZodTypeAny, {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
authRequest: "api_key" | "auto" | "subscription";
|
|
63
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
64
64
|
}, {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
authRequest: "api_key" | "auto" | "subscription";
|
|
66
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
67
67
|
}>;
|
|
68
68
|
export type ControlAuthReadinessRefreshRequest = z.infer<typeof ControlAuthReadinessRefreshRequest>;
|
|
69
69
|
/**
|
|
@@ -82,58 +82,58 @@ export declare const ControlAuthReadinessRefreshResponse: z.ZodEffects<z.ZodObje
|
|
|
82
82
|
verification: z.ZodEnum<["passed", "failed", "not_run"]>;
|
|
83
83
|
detail: z.ZodOptional<z.ZodString>;
|
|
84
84
|
}, "strict", z.ZodTypeAny, {
|
|
85
|
-
source: "
|
|
86
|
-
availability: "
|
|
87
|
-
verification: "
|
|
85
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
86
|
+
availability: "available" | "unavailable" | "unknown";
|
|
87
|
+
verification: "failed" | "not_run" | "passed";
|
|
88
88
|
detail?: string | undefined;
|
|
89
89
|
}, {
|
|
90
|
-
source: "
|
|
91
|
-
availability: "
|
|
92
|
-
verification: "
|
|
90
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
91
|
+
availability: "available" | "unavailable" | "unknown";
|
|
92
|
+
verification: "failed" | "not_run" | "passed";
|
|
93
93
|
detail?: string | undefined;
|
|
94
94
|
}>;
|
|
95
95
|
}, "strict", z.ZodTypeAny, {
|
|
96
|
-
authRequest: "auto" | "subscription" | "api_key";
|
|
97
96
|
harnessId: string;
|
|
98
|
-
|
|
97
|
+
authRequest: "api_key" | "auto" | "subscription";
|
|
98
|
+
requestedSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
99
99
|
observedAt: string;
|
|
100
100
|
readiness: {
|
|
101
|
-
source: "
|
|
102
|
-
availability: "
|
|
103
|
-
verification: "
|
|
101
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
102
|
+
availability: "available" | "unavailable" | "unknown";
|
|
103
|
+
verification: "failed" | "not_run" | "passed";
|
|
104
104
|
detail?: string | undefined;
|
|
105
105
|
};
|
|
106
106
|
}, {
|
|
107
|
-
authRequest: "auto" | "subscription" | "api_key";
|
|
108
107
|
harnessId: string;
|
|
109
|
-
|
|
108
|
+
authRequest: "api_key" | "auto" | "subscription";
|
|
109
|
+
requestedSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
110
110
|
observedAt: string;
|
|
111
111
|
readiness: {
|
|
112
|
-
source: "
|
|
113
|
-
availability: "
|
|
114
|
-
verification: "
|
|
112
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
113
|
+
availability: "available" | "unavailable" | "unknown";
|
|
114
|
+
verification: "failed" | "not_run" | "passed";
|
|
115
115
|
detail?: string | undefined;
|
|
116
116
|
};
|
|
117
117
|
}>, {
|
|
118
|
-
authRequest: "auto" | "subscription" | "api_key";
|
|
119
118
|
harnessId: string;
|
|
120
|
-
|
|
119
|
+
authRequest: "api_key" | "auto" | "subscription";
|
|
120
|
+
requestedSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
121
121
|
observedAt: string;
|
|
122
122
|
readiness: {
|
|
123
|
-
source: "
|
|
124
|
-
availability: "
|
|
125
|
-
verification: "
|
|
123
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
124
|
+
availability: "available" | "unavailable" | "unknown";
|
|
125
|
+
verification: "failed" | "not_run" | "passed";
|
|
126
126
|
detail?: string | undefined;
|
|
127
127
|
};
|
|
128
128
|
}, {
|
|
129
|
-
authRequest: "auto" | "subscription" | "api_key";
|
|
130
129
|
harnessId: string;
|
|
131
|
-
|
|
130
|
+
authRequest: "api_key" | "auto" | "subscription";
|
|
131
|
+
requestedSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
132
132
|
observedAt: string;
|
|
133
133
|
readiness: {
|
|
134
|
-
source: "
|
|
135
|
-
availability: "
|
|
136
|
-
verification: "
|
|
134
|
+
source: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
135
|
+
availability: "available" | "unavailable" | "unknown";
|
|
136
|
+
verification: "failed" | "not_run" | "passed";
|
|
137
137
|
detail?: string | undefined;
|
|
138
138
|
};
|
|
139
139
|
}>;
|
|
@@ -162,48 +162,48 @@ export declare const AuthSmokeDisclosure: z.ZodEffects<z.ZodObject<{
|
|
|
162
162
|
schemaVersion: 1;
|
|
163
163
|
protocolVersion: 1;
|
|
164
164
|
harness: string;
|
|
165
|
-
requested: "
|
|
166
|
-
requiredRoute: "local" | "
|
|
167
|
-
requiredSource: "
|
|
165
|
+
requested: "api_key" | "auto" | "subscription";
|
|
166
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
167
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
168
168
|
networkScope: "selected_harness_only";
|
|
169
|
-
billingKnowledge: "
|
|
170
|
-
incrementalCostKnowledge: "
|
|
169
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
170
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
171
171
|
mayConsumeQuota: boolean;
|
|
172
172
|
generatedAt: string;
|
|
173
173
|
}, {
|
|
174
174
|
schemaVersion: 1;
|
|
175
175
|
protocolVersion: 1;
|
|
176
176
|
harness: string;
|
|
177
|
-
requested: "
|
|
178
|
-
requiredRoute: "local" | "
|
|
179
|
-
requiredSource: "
|
|
177
|
+
requested: "api_key" | "auto" | "subscription";
|
|
178
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
179
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
180
180
|
networkScope: "selected_harness_only";
|
|
181
|
-
billingKnowledge: "
|
|
182
|
-
incrementalCostKnowledge: "
|
|
181
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
182
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
183
183
|
mayConsumeQuota: boolean;
|
|
184
184
|
generatedAt: string;
|
|
185
185
|
}>, {
|
|
186
186
|
schemaVersion: 1;
|
|
187
187
|
protocolVersion: 1;
|
|
188
188
|
harness: string;
|
|
189
|
-
requested: "
|
|
190
|
-
requiredRoute: "local" | "
|
|
191
|
-
requiredSource: "
|
|
189
|
+
requested: "api_key" | "auto" | "subscription";
|
|
190
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
191
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
192
192
|
networkScope: "selected_harness_only";
|
|
193
|
-
billingKnowledge: "
|
|
194
|
-
incrementalCostKnowledge: "
|
|
193
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
194
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
195
195
|
mayConsumeQuota: boolean;
|
|
196
196
|
generatedAt: string;
|
|
197
197
|
}, {
|
|
198
198
|
schemaVersion: 1;
|
|
199
199
|
protocolVersion: 1;
|
|
200
200
|
harness: string;
|
|
201
|
-
requested: "
|
|
202
|
-
requiredRoute: "local" | "
|
|
203
|
-
requiredSource: "
|
|
201
|
+
requested: "api_key" | "auto" | "subscription";
|
|
202
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
203
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
204
204
|
networkScope: "selected_harness_only";
|
|
205
|
-
billingKnowledge: "
|
|
206
|
-
incrementalCostKnowledge: "
|
|
205
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
206
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
207
207
|
mayConsumeQuota: boolean;
|
|
208
208
|
generatedAt: string;
|
|
209
209
|
}>;
|
|
@@ -223,7 +223,6 @@ export declare const AuthCapabilityStreamEvidence: z.ZodObject<{
|
|
|
223
223
|
eventsAfterCompleted: z.ZodNumber;
|
|
224
224
|
aborted: z.ZodBoolean;
|
|
225
225
|
}, "strict", z.ZodTypeAny, {
|
|
226
|
-
aborted: boolean;
|
|
227
226
|
startedEvents: number;
|
|
228
227
|
completedEvents: number;
|
|
229
228
|
errorEvents: number;
|
|
@@ -231,8 +230,8 @@ export declare const AuthCapabilityStreamEvidence: z.ZodObject<{
|
|
|
231
230
|
interactionEvents: number;
|
|
232
231
|
sessionMismatchEvents: number;
|
|
233
232
|
eventsAfterCompleted: number;
|
|
234
|
-
}, {
|
|
235
233
|
aborted: boolean;
|
|
234
|
+
}, {
|
|
236
235
|
startedEvents: number;
|
|
237
236
|
completedEvents: number;
|
|
238
237
|
errorEvents: number;
|
|
@@ -240,6 +239,7 @@ export declare const AuthCapabilityStreamEvidence: z.ZodObject<{
|
|
|
240
239
|
interactionEvents: number;
|
|
241
240
|
sessionMismatchEvents: number;
|
|
242
241
|
eventsAfterCompleted: number;
|
|
242
|
+
aborted: boolean;
|
|
243
243
|
}>;
|
|
244
244
|
export type AuthCapabilityStreamEvidence = z.infer<typeof AuthCapabilityStreamEvidence>;
|
|
245
245
|
export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
@@ -275,7 +275,6 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
275
275
|
eventsAfterCompleted: z.ZodNumber;
|
|
276
276
|
aborted: z.ZodBoolean;
|
|
277
277
|
}, "strict", z.ZodTypeAny, {
|
|
278
|
-
aborted: boolean;
|
|
279
278
|
startedEvents: number;
|
|
280
279
|
completedEvents: number;
|
|
281
280
|
errorEvents: number;
|
|
@@ -283,8 +282,8 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
283
282
|
interactionEvents: number;
|
|
284
283
|
sessionMismatchEvents: number;
|
|
285
284
|
eventsAfterCompleted: number;
|
|
286
|
-
}, {
|
|
287
285
|
aborted: boolean;
|
|
286
|
+
}, {
|
|
288
287
|
startedEvents: number;
|
|
289
288
|
completedEvents: number;
|
|
290
289
|
errorEvents: number;
|
|
@@ -292,22 +291,24 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
292
291
|
interactionEvents: number;
|
|
293
292
|
sessionMismatchEvents: number;
|
|
294
293
|
eventsAfterCompleted: number;
|
|
294
|
+
aborted: boolean;
|
|
295
295
|
}>;
|
|
296
296
|
evidenceRefs: z.ZodArray<z.ZodString, "many">;
|
|
297
297
|
}, "strict", z.ZodTypeAny, {
|
|
298
|
-
availability: "unknown" | "available" | "unavailable";
|
|
299
|
-
verification: "passed" | "failed" | "not_run";
|
|
300
|
-
harness: string;
|
|
301
|
-
requested: "auto" | "subscription" | "api_key";
|
|
302
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
303
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
304
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
305
298
|
receiptId: string;
|
|
306
299
|
attemptId: string;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
300
|
+
harness: string;
|
|
301
|
+
requested: "api_key" | "auto" | "subscription";
|
|
302
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
303
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
304
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
305
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
306
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
307
|
+
availability: "available" | "unavailable" | "unknown";
|
|
308
|
+
verification: "failed" | "not_run" | "passed";
|
|
309
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
310
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
311
|
+
costUsd?: number | undefined;
|
|
311
312
|
startedAt: string;
|
|
312
313
|
completedAt: string;
|
|
313
314
|
challengeDigest: string;
|
|
@@ -317,7 +318,6 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
317
318
|
scratchBeforeDigest: string;
|
|
318
319
|
scratchAfterDigest: string;
|
|
319
320
|
stream: {
|
|
320
|
-
aborted: boolean;
|
|
321
321
|
startedEvents: number;
|
|
322
322
|
completedEvents: number;
|
|
323
323
|
errorEvents: number;
|
|
@@ -325,23 +325,24 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
325
325
|
interactionEvents: number;
|
|
326
326
|
sessionMismatchEvents: number;
|
|
327
327
|
eventsAfterCompleted: number;
|
|
328
|
+
aborted: boolean;
|
|
328
329
|
};
|
|
329
330
|
evidenceRefs: string[];
|
|
330
|
-
costUsd?: number | undefined;
|
|
331
331
|
}, {
|
|
332
|
-
availability: "unknown" | "available" | "unavailable";
|
|
333
|
-
verification: "passed" | "failed" | "not_run";
|
|
334
|
-
harness: string;
|
|
335
|
-
requested: "auto" | "subscription" | "api_key";
|
|
336
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
337
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
338
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
339
332
|
receiptId: string;
|
|
340
333
|
attemptId: string;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
334
|
+
harness: string;
|
|
335
|
+
requested: "api_key" | "auto" | "subscription";
|
|
336
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
337
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
338
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
339
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
340
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
341
|
+
availability: "available" | "unavailable" | "unknown";
|
|
342
|
+
verification: "failed" | "not_run" | "passed";
|
|
343
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
344
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
345
|
+
costUsd?: number | undefined;
|
|
345
346
|
startedAt: string;
|
|
346
347
|
completedAt: string;
|
|
347
348
|
challengeDigest: string;
|
|
@@ -351,7 +352,6 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
351
352
|
scratchBeforeDigest: string;
|
|
352
353
|
scratchAfterDigest: string;
|
|
353
354
|
stream: {
|
|
354
|
-
aborted: boolean;
|
|
355
355
|
startedEvents: number;
|
|
356
356
|
completedEvents: number;
|
|
357
357
|
errorEvents: number;
|
|
@@ -359,23 +359,24 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
359
359
|
interactionEvents: number;
|
|
360
360
|
sessionMismatchEvents: number;
|
|
361
361
|
eventsAfterCompleted: number;
|
|
362
|
+
aborted: boolean;
|
|
362
363
|
};
|
|
363
364
|
evidenceRefs: string[];
|
|
364
|
-
costUsd?: number | undefined;
|
|
365
365
|
}>, {
|
|
366
|
-
availability: "unknown" | "available" | "unavailable";
|
|
367
|
-
verification: "passed" | "failed" | "not_run";
|
|
368
|
-
harness: string;
|
|
369
|
-
requested: "auto" | "subscription" | "api_key";
|
|
370
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
371
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
372
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
373
366
|
receiptId: string;
|
|
374
367
|
attemptId: string;
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
368
|
+
harness: string;
|
|
369
|
+
requested: "api_key" | "auto" | "subscription";
|
|
370
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
371
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
372
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
373
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
374
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
375
|
+
availability: "available" | "unavailable" | "unknown";
|
|
376
|
+
verification: "failed" | "not_run" | "passed";
|
|
377
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
378
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
379
|
+
costUsd?: number | undefined;
|
|
379
380
|
startedAt: string;
|
|
380
381
|
completedAt: string;
|
|
381
382
|
challengeDigest: string;
|
|
@@ -385,7 +386,6 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
385
386
|
scratchBeforeDigest: string;
|
|
386
387
|
scratchAfterDigest: string;
|
|
387
388
|
stream: {
|
|
388
|
-
aborted: boolean;
|
|
389
389
|
startedEvents: number;
|
|
390
390
|
completedEvents: number;
|
|
391
391
|
errorEvents: number;
|
|
@@ -393,23 +393,24 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
393
393
|
interactionEvents: number;
|
|
394
394
|
sessionMismatchEvents: number;
|
|
395
395
|
eventsAfterCompleted: number;
|
|
396
|
+
aborted: boolean;
|
|
396
397
|
};
|
|
397
398
|
evidenceRefs: string[];
|
|
398
|
-
costUsd?: number | undefined;
|
|
399
399
|
}, {
|
|
400
|
-
availability: "unknown" | "available" | "unavailable";
|
|
401
|
-
verification: "passed" | "failed" | "not_run";
|
|
402
|
-
harness: string;
|
|
403
|
-
requested: "auto" | "subscription" | "api_key";
|
|
404
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
405
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
406
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
407
400
|
receiptId: string;
|
|
408
401
|
attemptId: string;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
402
|
+
harness: string;
|
|
403
|
+
requested: "api_key" | "auto" | "subscription";
|
|
404
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
405
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
406
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
407
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
408
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
409
|
+
availability: "available" | "unavailable" | "unknown";
|
|
410
|
+
verification: "failed" | "not_run" | "passed";
|
|
411
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
412
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
413
|
+
costUsd?: number | undefined;
|
|
413
414
|
startedAt: string;
|
|
414
415
|
completedAt: string;
|
|
415
416
|
challengeDigest: string;
|
|
@@ -419,7 +420,6 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
419
420
|
scratchBeforeDigest: string;
|
|
420
421
|
scratchAfterDigest: string;
|
|
421
422
|
stream: {
|
|
422
|
-
aborted: boolean;
|
|
423
423
|
startedEvents: number;
|
|
424
424
|
completedEvents: number;
|
|
425
425
|
errorEvents: number;
|
|
@@ -427,9 +427,9 @@ export declare const AuthCapabilityReceipt: z.ZodEffects<z.ZodObject<{
|
|
|
427
427
|
interactionEvents: number;
|
|
428
428
|
sessionMismatchEvents: number;
|
|
429
429
|
eventsAfterCompleted: number;
|
|
430
|
+
aborted: boolean;
|
|
430
431
|
};
|
|
431
432
|
evidenceRefs: string[];
|
|
432
|
-
costUsd?: number | undefined;
|
|
433
433
|
}>;
|
|
434
434
|
export type AuthCapabilityReceipt = z.infer<typeof AuthCapabilityReceipt>;
|
|
435
435
|
export declare const AuthCapabilityBinding: z.ZodObject<{
|
|
@@ -452,48 +452,48 @@ export declare const AuthCapabilityBinding: z.ZodObject<{
|
|
|
452
452
|
schemaVersion: 1;
|
|
453
453
|
protocolVersion: 1;
|
|
454
454
|
harness: string;
|
|
455
|
-
requested: "
|
|
456
|
-
requiredRoute: "local" | "
|
|
457
|
-
requiredSource: "
|
|
455
|
+
requested: "api_key" | "auto" | "subscription";
|
|
456
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
457
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
458
458
|
networkScope: "selected_harness_only";
|
|
459
|
-
billingKnowledge: "
|
|
460
|
-
incrementalCostKnowledge: "
|
|
459
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
460
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
461
461
|
mayConsumeQuota: boolean;
|
|
462
462
|
generatedAt: string;
|
|
463
463
|
}, {
|
|
464
464
|
schemaVersion: 1;
|
|
465
465
|
protocolVersion: 1;
|
|
466
466
|
harness: string;
|
|
467
|
-
requested: "
|
|
468
|
-
requiredRoute: "local" | "
|
|
469
|
-
requiredSource: "
|
|
467
|
+
requested: "api_key" | "auto" | "subscription";
|
|
468
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
469
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
470
470
|
networkScope: "selected_harness_only";
|
|
471
|
-
billingKnowledge: "
|
|
472
|
-
incrementalCostKnowledge: "
|
|
471
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
472
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
473
473
|
mayConsumeQuota: boolean;
|
|
474
474
|
generatedAt: string;
|
|
475
475
|
}>, {
|
|
476
476
|
schemaVersion: 1;
|
|
477
477
|
protocolVersion: 1;
|
|
478
478
|
harness: string;
|
|
479
|
-
requested: "
|
|
480
|
-
requiredRoute: "local" | "
|
|
481
|
-
requiredSource: "
|
|
479
|
+
requested: "api_key" | "auto" | "subscription";
|
|
480
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
481
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
482
482
|
networkScope: "selected_harness_only";
|
|
483
|
-
billingKnowledge: "
|
|
484
|
-
incrementalCostKnowledge: "
|
|
483
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
484
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
485
485
|
mayConsumeQuota: boolean;
|
|
486
486
|
generatedAt: string;
|
|
487
487
|
}, {
|
|
488
488
|
schemaVersion: 1;
|
|
489
489
|
protocolVersion: 1;
|
|
490
490
|
harness: string;
|
|
491
|
-
requested: "
|
|
492
|
-
requiredRoute: "local" | "
|
|
493
|
-
requiredSource: "
|
|
491
|
+
requested: "api_key" | "auto" | "subscription";
|
|
492
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
493
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
494
494
|
networkScope: "selected_harness_only";
|
|
495
|
-
billingKnowledge: "
|
|
496
|
-
incrementalCostKnowledge: "
|
|
495
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
496
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
497
497
|
mayConsumeQuota: boolean;
|
|
498
498
|
generatedAt: string;
|
|
499
499
|
}>;
|
|
@@ -505,12 +505,12 @@ export declare const AuthCapabilityBinding: z.ZodObject<{
|
|
|
505
505
|
schemaVersion: 1;
|
|
506
506
|
protocolVersion: 1;
|
|
507
507
|
harness: string;
|
|
508
|
-
requested: "
|
|
509
|
-
requiredRoute: "local" | "
|
|
510
|
-
requiredSource: "
|
|
508
|
+
requested: "api_key" | "auto" | "subscription";
|
|
509
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
510
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
511
511
|
networkScope: "selected_harness_only";
|
|
512
|
-
billingKnowledge: "
|
|
513
|
-
incrementalCostKnowledge: "
|
|
512
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
513
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
514
514
|
mayConsumeQuota: boolean;
|
|
515
515
|
generatedAt: string;
|
|
516
516
|
};
|
|
@@ -522,19 +522,18 @@ export declare const AuthCapabilityBinding: z.ZodObject<{
|
|
|
522
522
|
schemaVersion: 1;
|
|
523
523
|
protocolVersion: 1;
|
|
524
524
|
harness: string;
|
|
525
|
-
requested: "
|
|
526
|
-
requiredRoute: "local" | "
|
|
527
|
-
requiredSource: "
|
|
525
|
+
requested: "api_key" | "auto" | "subscription";
|
|
526
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
527
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
528
528
|
networkScope: "selected_harness_only";
|
|
529
|
-
billingKnowledge: "
|
|
530
|
-
incrementalCostKnowledge: "
|
|
529
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
530
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
531
531
|
mayConsumeQuota: boolean;
|
|
532
532
|
generatedAt: string;
|
|
533
533
|
};
|
|
534
534
|
}>;
|
|
535
535
|
export type AuthCapabilityBinding = z.infer<typeof AuthCapabilityBinding>;
|
|
536
536
|
export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
537
|
-
state: z.ZodLiteral<"disclosed">;
|
|
538
537
|
attemptId: z.ZodString;
|
|
539
538
|
challengeDigest: z.ZodString;
|
|
540
539
|
requestDigest: z.ZodString;
|
|
@@ -554,51 +553,52 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
554
553
|
schemaVersion: 1;
|
|
555
554
|
protocolVersion: 1;
|
|
556
555
|
harness: string;
|
|
557
|
-
requested: "
|
|
558
|
-
requiredRoute: "local" | "
|
|
559
|
-
requiredSource: "
|
|
556
|
+
requested: "api_key" | "auto" | "subscription";
|
|
557
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
558
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
560
559
|
networkScope: "selected_harness_only";
|
|
561
|
-
billingKnowledge: "
|
|
562
|
-
incrementalCostKnowledge: "
|
|
560
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
561
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
563
562
|
mayConsumeQuota: boolean;
|
|
564
563
|
generatedAt: string;
|
|
565
564
|
}, {
|
|
566
565
|
schemaVersion: 1;
|
|
567
566
|
protocolVersion: 1;
|
|
568
567
|
harness: string;
|
|
569
|
-
requested: "
|
|
570
|
-
requiredRoute: "local" | "
|
|
571
|
-
requiredSource: "
|
|
568
|
+
requested: "api_key" | "auto" | "subscription";
|
|
569
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
570
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
572
571
|
networkScope: "selected_harness_only";
|
|
573
|
-
billingKnowledge: "
|
|
574
|
-
incrementalCostKnowledge: "
|
|
572
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
573
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
575
574
|
mayConsumeQuota: boolean;
|
|
576
575
|
generatedAt: string;
|
|
577
576
|
}>, {
|
|
578
577
|
schemaVersion: 1;
|
|
579
578
|
protocolVersion: 1;
|
|
580
579
|
harness: string;
|
|
581
|
-
requested: "
|
|
582
|
-
requiredRoute: "local" | "
|
|
583
|
-
requiredSource: "
|
|
580
|
+
requested: "api_key" | "auto" | "subscription";
|
|
581
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
582
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
584
583
|
networkScope: "selected_harness_only";
|
|
585
|
-
billingKnowledge: "
|
|
586
|
-
incrementalCostKnowledge: "
|
|
584
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
585
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
587
586
|
mayConsumeQuota: boolean;
|
|
588
587
|
generatedAt: string;
|
|
589
588
|
}, {
|
|
590
589
|
schemaVersion: 1;
|
|
591
590
|
protocolVersion: 1;
|
|
592
591
|
harness: string;
|
|
593
|
-
requested: "
|
|
594
|
-
requiredRoute: "local" | "
|
|
595
|
-
requiredSource: "
|
|
592
|
+
requested: "api_key" | "auto" | "subscription";
|
|
593
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
594
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
596
595
|
networkScope: "selected_harness_only";
|
|
597
|
-
billingKnowledge: "
|
|
598
|
-
incrementalCostKnowledge: "
|
|
596
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
597
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
599
598
|
mayConsumeQuota: boolean;
|
|
600
599
|
generatedAt: string;
|
|
601
600
|
}>;
|
|
601
|
+
state: z.ZodLiteral<"disclosed">;
|
|
602
602
|
}, "strict", z.ZodTypeAny, {
|
|
603
603
|
attemptId: string;
|
|
604
604
|
challengeDigest: string;
|
|
@@ -607,12 +607,12 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
607
607
|
schemaVersion: 1;
|
|
608
608
|
protocolVersion: 1;
|
|
609
609
|
harness: string;
|
|
610
|
-
requested: "
|
|
611
|
-
requiredRoute: "local" | "
|
|
612
|
-
requiredSource: "
|
|
610
|
+
requested: "api_key" | "auto" | "subscription";
|
|
611
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
612
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
613
613
|
networkScope: "selected_harness_only";
|
|
614
|
-
billingKnowledge: "
|
|
615
|
-
incrementalCostKnowledge: "
|
|
614
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
615
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
616
616
|
mayConsumeQuota: boolean;
|
|
617
617
|
generatedAt: string;
|
|
618
618
|
};
|
|
@@ -625,19 +625,17 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
625
625
|
schemaVersion: 1;
|
|
626
626
|
protocolVersion: 1;
|
|
627
627
|
harness: string;
|
|
628
|
-
requested: "
|
|
629
|
-
requiredRoute: "local" | "
|
|
630
|
-
requiredSource: "
|
|
628
|
+
requested: "api_key" | "auto" | "subscription";
|
|
629
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
630
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
631
631
|
networkScope: "selected_harness_only";
|
|
632
|
-
billingKnowledge: "
|
|
633
|
-
incrementalCostKnowledge: "
|
|
632
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
633
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
634
634
|
mayConsumeQuota: boolean;
|
|
635
635
|
generatedAt: string;
|
|
636
636
|
};
|
|
637
637
|
state: "disclosed";
|
|
638
638
|
}>, z.ZodObject<{
|
|
639
|
-
state: z.ZodLiteral<"running">;
|
|
640
|
-
startedAt: z.ZodString;
|
|
641
639
|
attemptId: z.ZodString;
|
|
642
640
|
challengeDigest: z.ZodString;
|
|
643
641
|
requestDigest: z.ZodString;
|
|
@@ -657,90 +655,156 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
657
655
|
schemaVersion: 1;
|
|
658
656
|
protocolVersion: 1;
|
|
659
657
|
harness: string;
|
|
660
|
-
requested: "
|
|
661
|
-
requiredRoute: "local" | "
|
|
662
|
-
requiredSource: "
|
|
658
|
+
requested: "api_key" | "auto" | "subscription";
|
|
659
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
660
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
663
661
|
networkScope: "selected_harness_only";
|
|
664
|
-
billingKnowledge: "
|
|
665
|
-
incrementalCostKnowledge: "
|
|
662
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
663
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
666
664
|
mayConsumeQuota: boolean;
|
|
667
665
|
generatedAt: string;
|
|
668
666
|
}, {
|
|
669
667
|
schemaVersion: 1;
|
|
670
668
|
protocolVersion: 1;
|
|
671
669
|
harness: string;
|
|
672
|
-
requested: "
|
|
673
|
-
requiredRoute: "local" | "
|
|
674
|
-
requiredSource: "
|
|
670
|
+
requested: "api_key" | "auto" | "subscription";
|
|
671
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
672
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
675
673
|
networkScope: "selected_harness_only";
|
|
676
|
-
billingKnowledge: "
|
|
677
|
-
incrementalCostKnowledge: "
|
|
674
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
675
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
678
676
|
mayConsumeQuota: boolean;
|
|
679
677
|
generatedAt: string;
|
|
680
678
|
}>, {
|
|
681
679
|
schemaVersion: 1;
|
|
682
680
|
protocolVersion: 1;
|
|
683
681
|
harness: string;
|
|
684
|
-
requested: "
|
|
685
|
-
requiredRoute: "local" | "
|
|
686
|
-
requiredSource: "
|
|
682
|
+
requested: "api_key" | "auto" | "subscription";
|
|
683
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
684
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
687
685
|
networkScope: "selected_harness_only";
|
|
688
|
-
billingKnowledge: "
|
|
689
|
-
incrementalCostKnowledge: "
|
|
686
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
687
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
690
688
|
mayConsumeQuota: boolean;
|
|
691
689
|
generatedAt: string;
|
|
692
690
|
}, {
|
|
693
691
|
schemaVersion: 1;
|
|
694
692
|
protocolVersion: 1;
|
|
695
693
|
harness: string;
|
|
696
|
-
requested: "
|
|
697
|
-
requiredRoute: "local" | "
|
|
698
|
-
requiredSource: "
|
|
694
|
+
requested: "api_key" | "auto" | "subscription";
|
|
695
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
696
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
699
697
|
networkScope: "selected_harness_only";
|
|
700
|
-
billingKnowledge: "
|
|
701
|
-
incrementalCostKnowledge: "
|
|
698
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
699
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
702
700
|
mayConsumeQuota: boolean;
|
|
703
701
|
generatedAt: string;
|
|
704
702
|
}>;
|
|
703
|
+
state: z.ZodLiteral<"running">;
|
|
704
|
+
startedAt: z.ZodString;
|
|
705
705
|
}, "strict", z.ZodTypeAny, {
|
|
706
706
|
attemptId: string;
|
|
707
|
-
startedAt: string;
|
|
708
707
|
challengeDigest: string;
|
|
709
708
|
requestDigest: string;
|
|
710
709
|
disclosure: {
|
|
711
710
|
schemaVersion: 1;
|
|
712
711
|
protocolVersion: 1;
|
|
713
712
|
harness: string;
|
|
714
|
-
requested: "
|
|
715
|
-
requiredRoute: "local" | "
|
|
716
|
-
requiredSource: "
|
|
713
|
+
requested: "api_key" | "auto" | "subscription";
|
|
714
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
715
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
717
716
|
networkScope: "selected_harness_only";
|
|
718
|
-
billingKnowledge: "
|
|
719
|
-
incrementalCostKnowledge: "
|
|
717
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
718
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
720
719
|
mayConsumeQuota: boolean;
|
|
721
720
|
generatedAt: string;
|
|
722
721
|
};
|
|
723
722
|
state: "running";
|
|
723
|
+
startedAt: string;
|
|
724
724
|
}, {
|
|
725
725
|
attemptId: string;
|
|
726
|
-
startedAt: string;
|
|
727
726
|
challengeDigest: string;
|
|
728
727
|
requestDigest: string;
|
|
729
728
|
disclosure: {
|
|
730
729
|
schemaVersion: 1;
|
|
731
730
|
protocolVersion: 1;
|
|
732
731
|
harness: string;
|
|
733
|
-
requested: "
|
|
734
|
-
requiredRoute: "local" | "
|
|
735
|
-
requiredSource: "
|
|
732
|
+
requested: "api_key" | "auto" | "subscription";
|
|
733
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
734
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
736
735
|
networkScope: "selected_harness_only";
|
|
737
|
-
billingKnowledge: "
|
|
738
|
-
incrementalCostKnowledge: "
|
|
736
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
737
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
739
738
|
mayConsumeQuota: boolean;
|
|
740
739
|
generatedAt: string;
|
|
741
740
|
};
|
|
742
741
|
state: "running";
|
|
742
|
+
startedAt: string;
|
|
743
743
|
}>, z.ZodObject<{
|
|
744
|
+
attemptId: z.ZodString;
|
|
745
|
+
challengeDigest: z.ZodString;
|
|
746
|
+
requestDigest: z.ZodString;
|
|
747
|
+
disclosure: z.ZodEffects<z.ZodObject<{
|
|
748
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
749
|
+
protocolVersion: z.ZodLiteral<1>;
|
|
750
|
+
harness: z.ZodString;
|
|
751
|
+
requested: z.ZodEnum<["subscription", "api_key", "auto"]>;
|
|
752
|
+
requiredRoute: z.ZodEnum<["vendor_native", "managed_api_key", "local"]>;
|
|
753
|
+
requiredSource: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
|
|
754
|
+
networkScope: z.ZodLiteral<"selected_harness_only">;
|
|
755
|
+
billingKnowledge: z.ZodEnum<["proven_zero", "subscription_entitlement", "metered", "unknown"]>;
|
|
756
|
+
incrementalCostKnowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
|
|
757
|
+
mayConsumeQuota: z.ZodBoolean;
|
|
758
|
+
generatedAt: z.ZodString;
|
|
759
|
+
}, "strict", z.ZodTypeAny, {
|
|
760
|
+
schemaVersion: 1;
|
|
761
|
+
protocolVersion: 1;
|
|
762
|
+
harness: string;
|
|
763
|
+
requested: "api_key" | "auto" | "subscription";
|
|
764
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
765
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
766
|
+
networkScope: "selected_harness_only";
|
|
767
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
768
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
769
|
+
mayConsumeQuota: boolean;
|
|
770
|
+
generatedAt: string;
|
|
771
|
+
}, {
|
|
772
|
+
schemaVersion: 1;
|
|
773
|
+
protocolVersion: 1;
|
|
774
|
+
harness: string;
|
|
775
|
+
requested: "api_key" | "auto" | "subscription";
|
|
776
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
777
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
778
|
+
networkScope: "selected_harness_only";
|
|
779
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
780
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
781
|
+
mayConsumeQuota: boolean;
|
|
782
|
+
generatedAt: string;
|
|
783
|
+
}>, {
|
|
784
|
+
schemaVersion: 1;
|
|
785
|
+
protocolVersion: 1;
|
|
786
|
+
harness: string;
|
|
787
|
+
requested: "api_key" | "auto" | "subscription";
|
|
788
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
789
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
790
|
+
networkScope: "selected_harness_only";
|
|
791
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
792
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
793
|
+
mayConsumeQuota: boolean;
|
|
794
|
+
generatedAt: string;
|
|
795
|
+
}, {
|
|
796
|
+
schemaVersion: 1;
|
|
797
|
+
protocolVersion: 1;
|
|
798
|
+
harness: string;
|
|
799
|
+
requested: "api_key" | "auto" | "subscription";
|
|
800
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
801
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
802
|
+
networkScope: "selected_harness_only";
|
|
803
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
804
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
805
|
+
mayConsumeQuota: boolean;
|
|
806
|
+
generatedAt: string;
|
|
807
|
+
}>;
|
|
744
808
|
state: z.ZodLiteral<"completed">;
|
|
745
809
|
startedAt: z.ZodString;
|
|
746
810
|
completedAt: z.ZodString;
|
|
@@ -777,7 +841,6 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
777
841
|
eventsAfterCompleted: z.ZodNumber;
|
|
778
842
|
aborted: z.ZodBoolean;
|
|
779
843
|
}, "strict", z.ZodTypeAny, {
|
|
780
|
-
aborted: boolean;
|
|
781
844
|
startedEvents: number;
|
|
782
845
|
completedEvents: number;
|
|
783
846
|
errorEvents: number;
|
|
@@ -785,8 +848,8 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
785
848
|
interactionEvents: number;
|
|
786
849
|
sessionMismatchEvents: number;
|
|
787
850
|
eventsAfterCompleted: number;
|
|
788
|
-
}, {
|
|
789
851
|
aborted: boolean;
|
|
852
|
+
}, {
|
|
790
853
|
startedEvents: number;
|
|
791
854
|
completedEvents: number;
|
|
792
855
|
errorEvents: number;
|
|
@@ -794,22 +857,24 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
794
857
|
interactionEvents: number;
|
|
795
858
|
sessionMismatchEvents: number;
|
|
796
859
|
eventsAfterCompleted: number;
|
|
860
|
+
aborted: boolean;
|
|
797
861
|
}>;
|
|
798
862
|
evidenceRefs: z.ZodArray<z.ZodString, "many">;
|
|
799
863
|
}, "strict", z.ZodTypeAny, {
|
|
800
|
-
availability: "unknown" | "available" | "unavailable";
|
|
801
|
-
verification: "passed" | "failed" | "not_run";
|
|
802
|
-
harness: string;
|
|
803
|
-
requested: "auto" | "subscription" | "api_key";
|
|
804
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
805
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
806
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
807
864
|
receiptId: string;
|
|
808
865
|
attemptId: string;
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
866
|
+
harness: string;
|
|
867
|
+
requested: "api_key" | "auto" | "subscription";
|
|
868
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
869
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
870
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
871
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
872
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
873
|
+
availability: "available" | "unavailable" | "unknown";
|
|
874
|
+
verification: "failed" | "not_run" | "passed";
|
|
875
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
876
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
877
|
+
costUsd?: number | undefined;
|
|
813
878
|
startedAt: string;
|
|
814
879
|
completedAt: string;
|
|
815
880
|
challengeDigest: string;
|
|
@@ -819,7 +884,6 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
819
884
|
scratchBeforeDigest: string;
|
|
820
885
|
scratchAfterDigest: string;
|
|
821
886
|
stream: {
|
|
822
|
-
aborted: boolean;
|
|
823
887
|
startedEvents: number;
|
|
824
888
|
completedEvents: number;
|
|
825
889
|
errorEvents: number;
|
|
@@ -827,23 +891,24 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
827
891
|
interactionEvents: number;
|
|
828
892
|
sessionMismatchEvents: number;
|
|
829
893
|
eventsAfterCompleted: number;
|
|
894
|
+
aborted: boolean;
|
|
830
895
|
};
|
|
831
896
|
evidenceRefs: string[];
|
|
832
|
-
costUsd?: number | undefined;
|
|
833
897
|
}, {
|
|
834
|
-
availability: "unknown" | "available" | "unavailable";
|
|
835
|
-
verification: "passed" | "failed" | "not_run";
|
|
836
|
-
harness: string;
|
|
837
|
-
requested: "auto" | "subscription" | "api_key";
|
|
838
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
839
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
840
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
841
898
|
receiptId: string;
|
|
842
899
|
attemptId: string;
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
900
|
+
harness: string;
|
|
901
|
+
requested: "api_key" | "auto" | "subscription";
|
|
902
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
903
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
904
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
905
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
906
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
907
|
+
availability: "available" | "unavailable" | "unknown";
|
|
908
|
+
verification: "failed" | "not_run" | "passed";
|
|
909
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
910
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
911
|
+
costUsd?: number | undefined;
|
|
847
912
|
startedAt: string;
|
|
848
913
|
completedAt: string;
|
|
849
914
|
challengeDigest: string;
|
|
@@ -853,7 +918,6 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
853
918
|
scratchBeforeDigest: string;
|
|
854
919
|
scratchAfterDigest: string;
|
|
855
920
|
stream: {
|
|
856
|
-
aborted: boolean;
|
|
857
921
|
startedEvents: number;
|
|
858
922
|
completedEvents: number;
|
|
859
923
|
errorEvents: number;
|
|
@@ -861,23 +925,24 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
861
925
|
interactionEvents: number;
|
|
862
926
|
sessionMismatchEvents: number;
|
|
863
927
|
eventsAfterCompleted: number;
|
|
928
|
+
aborted: boolean;
|
|
864
929
|
};
|
|
865
930
|
evidenceRefs: string[];
|
|
866
|
-
costUsd?: number | undefined;
|
|
867
931
|
}>, {
|
|
868
|
-
availability: "unknown" | "available" | "unavailable";
|
|
869
|
-
verification: "passed" | "failed" | "not_run";
|
|
870
|
-
harness: string;
|
|
871
|
-
requested: "auto" | "subscription" | "api_key";
|
|
872
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
873
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
874
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
875
932
|
receiptId: string;
|
|
876
933
|
attemptId: string;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
934
|
+
harness: string;
|
|
935
|
+
requested: "api_key" | "auto" | "subscription";
|
|
936
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
937
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
938
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
939
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
940
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
941
|
+
availability: "available" | "unavailable" | "unknown";
|
|
942
|
+
verification: "failed" | "not_run" | "passed";
|
|
943
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
944
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
945
|
+
costUsd?: number | undefined;
|
|
881
946
|
startedAt: string;
|
|
882
947
|
completedAt: string;
|
|
883
948
|
challengeDigest: string;
|
|
@@ -887,7 +952,6 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
887
952
|
scratchBeforeDigest: string;
|
|
888
953
|
scratchAfterDigest: string;
|
|
889
954
|
stream: {
|
|
890
|
-
aborted: boolean;
|
|
891
955
|
startedEvents: number;
|
|
892
956
|
completedEvents: number;
|
|
893
957
|
errorEvents: number;
|
|
@@ -895,23 +959,24 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
895
959
|
interactionEvents: number;
|
|
896
960
|
sessionMismatchEvents: number;
|
|
897
961
|
eventsAfterCompleted: number;
|
|
962
|
+
aborted: boolean;
|
|
898
963
|
};
|
|
899
964
|
evidenceRefs: string[];
|
|
900
|
-
costUsd?: number | undefined;
|
|
901
965
|
}, {
|
|
902
|
-
availability: "unknown" | "available" | "unavailable";
|
|
903
|
-
verification: "passed" | "failed" | "not_run";
|
|
904
|
-
harness: string;
|
|
905
|
-
requested: "auto" | "subscription" | "api_key";
|
|
906
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
907
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
908
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
909
966
|
receiptId: string;
|
|
910
967
|
attemptId: string;
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
968
|
+
harness: string;
|
|
969
|
+
requested: "api_key" | "auto" | "subscription";
|
|
970
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
971
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
972
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
973
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
974
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
975
|
+
availability: "available" | "unavailable" | "unknown";
|
|
976
|
+
verification: "failed" | "not_run" | "passed";
|
|
977
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
978
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
979
|
+
costUsd?: number | undefined;
|
|
915
980
|
startedAt: string;
|
|
916
981
|
completedAt: string;
|
|
917
982
|
challengeDigest: string;
|
|
@@ -921,7 +986,6 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
921
986
|
scratchBeforeDigest: string;
|
|
922
987
|
scratchAfterDigest: string;
|
|
923
988
|
stream: {
|
|
924
|
-
aborted: boolean;
|
|
925
989
|
startedEvents: number;
|
|
926
990
|
completedEvents: number;
|
|
927
991
|
errorEvents: number;
|
|
@@ -929,108 +993,45 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
929
993
|
interactionEvents: number;
|
|
930
994
|
sessionMismatchEvents: number;
|
|
931
995
|
eventsAfterCompleted: number;
|
|
996
|
+
aborted: boolean;
|
|
932
997
|
};
|
|
933
998
|
evidenceRefs: string[];
|
|
934
|
-
costUsd?: number | undefined;
|
|
935
|
-
}>;
|
|
936
|
-
attemptId: z.ZodString;
|
|
937
|
-
challengeDigest: z.ZodString;
|
|
938
|
-
requestDigest: z.ZodString;
|
|
939
|
-
disclosure: z.ZodEffects<z.ZodObject<{
|
|
940
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
941
|
-
protocolVersion: z.ZodLiteral<1>;
|
|
942
|
-
harness: z.ZodString;
|
|
943
|
-
requested: z.ZodEnum<["subscription", "api_key", "auto"]>;
|
|
944
|
-
requiredRoute: z.ZodEnum<["vendor_native", "managed_api_key", "local"]>;
|
|
945
|
-
requiredSource: z.ZodEnum<["native_session", "oauth_token_env", "api_key_env", "api_key_flag", "provider_auth_file", "none"]>;
|
|
946
|
-
networkScope: z.ZodLiteral<"selected_harness_only">;
|
|
947
|
-
billingKnowledge: z.ZodEnum<["proven_zero", "subscription_entitlement", "metered", "unknown"]>;
|
|
948
|
-
incrementalCostKnowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
|
|
949
|
-
mayConsumeQuota: z.ZodBoolean;
|
|
950
|
-
generatedAt: z.ZodString;
|
|
951
|
-
}, "strict", z.ZodTypeAny, {
|
|
952
|
-
schemaVersion: 1;
|
|
953
|
-
protocolVersion: 1;
|
|
954
|
-
harness: string;
|
|
955
|
-
requested: "auto" | "subscription" | "api_key";
|
|
956
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
957
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
958
|
-
networkScope: "selected_harness_only";
|
|
959
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
960
|
-
incrementalCostKnowledge: "exact" | "unknown" | "estimated";
|
|
961
|
-
mayConsumeQuota: boolean;
|
|
962
|
-
generatedAt: string;
|
|
963
|
-
}, {
|
|
964
|
-
schemaVersion: 1;
|
|
965
|
-
protocolVersion: 1;
|
|
966
|
-
harness: string;
|
|
967
|
-
requested: "auto" | "subscription" | "api_key";
|
|
968
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
969
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
970
|
-
networkScope: "selected_harness_only";
|
|
971
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
972
|
-
incrementalCostKnowledge: "exact" | "unknown" | "estimated";
|
|
973
|
-
mayConsumeQuota: boolean;
|
|
974
|
-
generatedAt: string;
|
|
975
|
-
}>, {
|
|
976
|
-
schemaVersion: 1;
|
|
977
|
-
protocolVersion: 1;
|
|
978
|
-
harness: string;
|
|
979
|
-
requested: "auto" | "subscription" | "api_key";
|
|
980
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
981
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
982
|
-
networkScope: "selected_harness_only";
|
|
983
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
984
|
-
incrementalCostKnowledge: "exact" | "unknown" | "estimated";
|
|
985
|
-
mayConsumeQuota: boolean;
|
|
986
|
-
generatedAt: string;
|
|
987
|
-
}, {
|
|
988
|
-
schemaVersion: 1;
|
|
989
|
-
protocolVersion: 1;
|
|
990
|
-
harness: string;
|
|
991
|
-
requested: "auto" | "subscription" | "api_key";
|
|
992
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
993
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
994
|
-
networkScope: "selected_harness_only";
|
|
995
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
996
|
-
incrementalCostKnowledge: "exact" | "unknown" | "estimated";
|
|
997
|
-
mayConsumeQuota: boolean;
|
|
998
|
-
generatedAt: string;
|
|
999
999
|
}>;
|
|
1000
1000
|
}, "strict", z.ZodTypeAny, {
|
|
1001
1001
|
attemptId: string;
|
|
1002
|
-
startedAt: string;
|
|
1003
|
-
completedAt: string;
|
|
1004
1002
|
challengeDigest: string;
|
|
1005
1003
|
requestDigest: string;
|
|
1006
1004
|
disclosure: {
|
|
1007
1005
|
schemaVersion: 1;
|
|
1008
1006
|
protocolVersion: 1;
|
|
1009
1007
|
harness: string;
|
|
1010
|
-
requested: "
|
|
1011
|
-
requiredRoute: "local" | "
|
|
1012
|
-
requiredSource: "
|
|
1008
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1009
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1010
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1013
1011
|
networkScope: "selected_harness_only";
|
|
1014
|
-
billingKnowledge: "
|
|
1015
|
-
incrementalCostKnowledge: "
|
|
1012
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1013
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1016
1014
|
mayConsumeQuota: boolean;
|
|
1017
1015
|
generatedAt: string;
|
|
1018
1016
|
};
|
|
1019
1017
|
state: "completed";
|
|
1018
|
+
startedAt: string;
|
|
1019
|
+
completedAt: string;
|
|
1020
1020
|
receipt: {
|
|
1021
|
-
availability: "unknown" | "available" | "unavailable";
|
|
1022
|
-
verification: "passed" | "failed" | "not_run";
|
|
1023
|
-
harness: string;
|
|
1024
|
-
requested: "auto" | "subscription" | "api_key";
|
|
1025
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
1026
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
1027
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
1028
1021
|
receiptId: string;
|
|
1029
1022
|
attemptId: string;
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1023
|
+
harness: string;
|
|
1024
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1025
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1026
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1027
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
1028
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
1029
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
1030
|
+
availability: "available" | "unavailable" | "unknown";
|
|
1031
|
+
verification: "failed" | "not_run" | "passed";
|
|
1032
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1033
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
1034
|
+
costUsd?: number | undefined;
|
|
1034
1035
|
startedAt: string;
|
|
1035
1036
|
completedAt: string;
|
|
1036
1037
|
challengeDigest: string;
|
|
@@ -1040,7 +1041,6 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1040
1041
|
scratchBeforeDigest: string;
|
|
1041
1042
|
scratchAfterDigest: string;
|
|
1042
1043
|
stream: {
|
|
1043
|
-
aborted: boolean;
|
|
1044
1044
|
startedEvents: number;
|
|
1045
1045
|
completedEvents: number;
|
|
1046
1046
|
errorEvents: number;
|
|
@@ -1048,44 +1048,45 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1048
1048
|
interactionEvents: number;
|
|
1049
1049
|
sessionMismatchEvents: number;
|
|
1050
1050
|
eventsAfterCompleted: number;
|
|
1051
|
+
aborted: boolean;
|
|
1051
1052
|
};
|
|
1052
1053
|
evidenceRefs: string[];
|
|
1053
|
-
costUsd?: number | undefined;
|
|
1054
1054
|
};
|
|
1055
1055
|
}, {
|
|
1056
1056
|
attemptId: string;
|
|
1057
|
-
startedAt: string;
|
|
1058
|
-
completedAt: string;
|
|
1059
1057
|
challengeDigest: string;
|
|
1060
1058
|
requestDigest: string;
|
|
1061
1059
|
disclosure: {
|
|
1062
1060
|
schemaVersion: 1;
|
|
1063
1061
|
protocolVersion: 1;
|
|
1064
1062
|
harness: string;
|
|
1065
|
-
requested: "
|
|
1066
|
-
requiredRoute: "local" | "
|
|
1067
|
-
requiredSource: "
|
|
1063
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1064
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1065
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1068
1066
|
networkScope: "selected_harness_only";
|
|
1069
|
-
billingKnowledge: "
|
|
1070
|
-
incrementalCostKnowledge: "
|
|
1067
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1068
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1071
1069
|
mayConsumeQuota: boolean;
|
|
1072
1070
|
generatedAt: string;
|
|
1073
1071
|
};
|
|
1074
1072
|
state: "completed";
|
|
1073
|
+
startedAt: string;
|
|
1074
|
+
completedAt: string;
|
|
1075
1075
|
receipt: {
|
|
1076
|
-
availability: "unknown" | "available" | "unavailable";
|
|
1077
|
-
verification: "passed" | "failed" | "not_run";
|
|
1078
|
-
harness: string;
|
|
1079
|
-
requested: "auto" | "subscription" | "api_key";
|
|
1080
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
1081
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
1082
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
1083
1076
|
receiptId: string;
|
|
1084
1077
|
attemptId: string;
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1078
|
+
harness: string;
|
|
1079
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1080
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1081
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1082
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
1083
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
1084
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
1085
|
+
availability: "available" | "unavailable" | "unknown";
|
|
1086
|
+
verification: "failed" | "not_run" | "passed";
|
|
1087
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1088
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
1089
|
+
costUsd?: number | undefined;
|
|
1089
1090
|
startedAt: string;
|
|
1090
1091
|
completedAt: string;
|
|
1091
1092
|
challengeDigest: string;
|
|
@@ -1095,7 +1096,6 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1095
1096
|
scratchBeforeDigest: string;
|
|
1096
1097
|
scratchAfterDigest: string;
|
|
1097
1098
|
stream: {
|
|
1098
|
-
aborted: boolean;
|
|
1099
1099
|
startedEvents: number;
|
|
1100
1100
|
completedEvents: number;
|
|
1101
1101
|
errorEvents: number;
|
|
@@ -1103,14 +1103,11 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1103
1103
|
interactionEvents: number;
|
|
1104
1104
|
sessionMismatchEvents: number;
|
|
1105
1105
|
eventsAfterCompleted: number;
|
|
1106
|
+
aborted: boolean;
|
|
1106
1107
|
};
|
|
1107
1108
|
evidenceRefs: string[];
|
|
1108
|
-
costUsd?: number | undefined;
|
|
1109
1109
|
};
|
|
1110
1110
|
}>, z.ZodObject<{
|
|
1111
|
-
state: z.ZodLiteral<"interrupted_unknown">;
|
|
1112
|
-
startedAt: z.ZodString;
|
|
1113
|
-
interruptedAt: z.ZodString;
|
|
1114
1111
|
attemptId: z.ZodString;
|
|
1115
1112
|
challengeDigest: z.ZodString;
|
|
1116
1113
|
requestDigest: z.ZodString;
|
|
@@ -1130,90 +1127,93 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1130
1127
|
schemaVersion: 1;
|
|
1131
1128
|
protocolVersion: 1;
|
|
1132
1129
|
harness: string;
|
|
1133
|
-
requested: "
|
|
1134
|
-
requiredRoute: "local" | "
|
|
1135
|
-
requiredSource: "
|
|
1130
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1131
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1132
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1136
1133
|
networkScope: "selected_harness_only";
|
|
1137
|
-
billingKnowledge: "
|
|
1138
|
-
incrementalCostKnowledge: "
|
|
1134
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1135
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1139
1136
|
mayConsumeQuota: boolean;
|
|
1140
1137
|
generatedAt: string;
|
|
1141
1138
|
}, {
|
|
1142
1139
|
schemaVersion: 1;
|
|
1143
1140
|
protocolVersion: 1;
|
|
1144
1141
|
harness: string;
|
|
1145
|
-
requested: "
|
|
1146
|
-
requiredRoute: "local" | "
|
|
1147
|
-
requiredSource: "
|
|
1142
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1143
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1144
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1148
1145
|
networkScope: "selected_harness_only";
|
|
1149
|
-
billingKnowledge: "
|
|
1150
|
-
incrementalCostKnowledge: "
|
|
1146
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1147
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1151
1148
|
mayConsumeQuota: boolean;
|
|
1152
1149
|
generatedAt: string;
|
|
1153
1150
|
}>, {
|
|
1154
1151
|
schemaVersion: 1;
|
|
1155
1152
|
protocolVersion: 1;
|
|
1156
1153
|
harness: string;
|
|
1157
|
-
requested: "
|
|
1158
|
-
requiredRoute: "local" | "
|
|
1159
|
-
requiredSource: "
|
|
1154
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1155
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1156
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1160
1157
|
networkScope: "selected_harness_only";
|
|
1161
|
-
billingKnowledge: "
|
|
1162
|
-
incrementalCostKnowledge: "
|
|
1158
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1159
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1163
1160
|
mayConsumeQuota: boolean;
|
|
1164
1161
|
generatedAt: string;
|
|
1165
1162
|
}, {
|
|
1166
1163
|
schemaVersion: 1;
|
|
1167
1164
|
protocolVersion: 1;
|
|
1168
1165
|
harness: string;
|
|
1169
|
-
requested: "
|
|
1170
|
-
requiredRoute: "local" | "
|
|
1171
|
-
requiredSource: "
|
|
1166
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1167
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1168
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1172
1169
|
networkScope: "selected_harness_only";
|
|
1173
|
-
billingKnowledge: "
|
|
1174
|
-
incrementalCostKnowledge: "
|
|
1170
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1171
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1175
1172
|
mayConsumeQuota: boolean;
|
|
1176
1173
|
generatedAt: string;
|
|
1177
1174
|
}>;
|
|
1175
|
+
state: z.ZodLiteral<"interrupted_unknown">;
|
|
1176
|
+
startedAt: z.ZodString;
|
|
1177
|
+
interruptedAt: z.ZodString;
|
|
1178
1178
|
}, "strict", z.ZodTypeAny, {
|
|
1179
1179
|
attemptId: string;
|
|
1180
|
-
startedAt: string;
|
|
1181
1180
|
challengeDigest: string;
|
|
1182
1181
|
requestDigest: string;
|
|
1183
1182
|
disclosure: {
|
|
1184
1183
|
schemaVersion: 1;
|
|
1185
1184
|
protocolVersion: 1;
|
|
1186
1185
|
harness: string;
|
|
1187
|
-
requested: "
|
|
1188
|
-
requiredRoute: "local" | "
|
|
1189
|
-
requiredSource: "
|
|
1186
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1187
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1188
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1190
1189
|
networkScope: "selected_harness_only";
|
|
1191
|
-
billingKnowledge: "
|
|
1192
|
-
incrementalCostKnowledge: "
|
|
1190
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1191
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1193
1192
|
mayConsumeQuota: boolean;
|
|
1194
1193
|
generatedAt: string;
|
|
1195
1194
|
};
|
|
1196
1195
|
state: "interrupted_unknown";
|
|
1196
|
+
startedAt: string;
|
|
1197
1197
|
interruptedAt: string;
|
|
1198
1198
|
}, {
|
|
1199
1199
|
attemptId: string;
|
|
1200
|
-
startedAt: string;
|
|
1201
1200
|
challengeDigest: string;
|
|
1202
1201
|
requestDigest: string;
|
|
1203
1202
|
disclosure: {
|
|
1204
1203
|
schemaVersion: 1;
|
|
1205
1204
|
protocolVersion: 1;
|
|
1206
1205
|
harness: string;
|
|
1207
|
-
requested: "
|
|
1208
|
-
requiredRoute: "local" | "
|
|
1209
|
-
requiredSource: "
|
|
1206
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1207
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1208
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1210
1209
|
networkScope: "selected_harness_only";
|
|
1211
|
-
billingKnowledge: "
|
|
1212
|
-
incrementalCostKnowledge: "
|
|
1210
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1211
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1213
1212
|
mayConsumeQuota: boolean;
|
|
1214
1213
|
generatedAt: string;
|
|
1215
1214
|
};
|
|
1216
1215
|
state: "interrupted_unknown";
|
|
1216
|
+
startedAt: string;
|
|
1217
1217
|
interruptedAt: string;
|
|
1218
1218
|
}>]>, {
|
|
1219
1219
|
attemptId: string;
|
|
@@ -1223,69 +1223,70 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1223
1223
|
schemaVersion: 1;
|
|
1224
1224
|
protocolVersion: 1;
|
|
1225
1225
|
harness: string;
|
|
1226
|
-
requested: "
|
|
1227
|
-
requiredRoute: "local" | "
|
|
1228
|
-
requiredSource: "
|
|
1226
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1227
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1228
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1229
1229
|
networkScope: "selected_harness_only";
|
|
1230
|
-
billingKnowledge: "
|
|
1231
|
-
incrementalCostKnowledge: "
|
|
1230
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1231
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1232
1232
|
mayConsumeQuota: boolean;
|
|
1233
1233
|
generatedAt: string;
|
|
1234
1234
|
};
|
|
1235
1235
|
state: "disclosed";
|
|
1236
1236
|
} | {
|
|
1237
1237
|
attemptId: string;
|
|
1238
|
-
startedAt: string;
|
|
1239
1238
|
challengeDigest: string;
|
|
1240
1239
|
requestDigest: string;
|
|
1241
1240
|
disclosure: {
|
|
1242
1241
|
schemaVersion: 1;
|
|
1243
1242
|
protocolVersion: 1;
|
|
1244
1243
|
harness: string;
|
|
1245
|
-
requested: "
|
|
1246
|
-
requiredRoute: "local" | "
|
|
1247
|
-
requiredSource: "
|
|
1244
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1245
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1246
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1248
1247
|
networkScope: "selected_harness_only";
|
|
1249
|
-
billingKnowledge: "
|
|
1250
|
-
incrementalCostKnowledge: "
|
|
1248
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1249
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1251
1250
|
mayConsumeQuota: boolean;
|
|
1252
1251
|
generatedAt: string;
|
|
1253
1252
|
};
|
|
1254
1253
|
state: "running";
|
|
1254
|
+
startedAt: string;
|
|
1255
1255
|
} | {
|
|
1256
1256
|
attemptId: string;
|
|
1257
|
-
startedAt: string;
|
|
1258
|
-
completedAt: string;
|
|
1259
1257
|
challengeDigest: string;
|
|
1260
1258
|
requestDigest: string;
|
|
1261
1259
|
disclosure: {
|
|
1262
1260
|
schemaVersion: 1;
|
|
1263
1261
|
protocolVersion: 1;
|
|
1264
1262
|
harness: string;
|
|
1265
|
-
requested: "
|
|
1266
|
-
requiredRoute: "local" | "
|
|
1267
|
-
requiredSource: "
|
|
1263
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1264
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1265
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1268
1266
|
networkScope: "selected_harness_only";
|
|
1269
|
-
billingKnowledge: "
|
|
1270
|
-
incrementalCostKnowledge: "
|
|
1267
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1268
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1271
1269
|
mayConsumeQuota: boolean;
|
|
1272
1270
|
generatedAt: string;
|
|
1273
1271
|
};
|
|
1274
1272
|
state: "completed";
|
|
1273
|
+
startedAt: string;
|
|
1274
|
+
completedAt: string;
|
|
1275
1275
|
receipt: {
|
|
1276
|
-
availability: "unknown" | "available" | "unavailable";
|
|
1277
|
-
verification: "passed" | "failed" | "not_run";
|
|
1278
|
-
harness: string;
|
|
1279
|
-
requested: "auto" | "subscription" | "api_key";
|
|
1280
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
1281
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
1282
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
1283
1276
|
receiptId: string;
|
|
1284
1277
|
attemptId: string;
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1278
|
+
harness: string;
|
|
1279
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1280
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1281
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1282
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
1283
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
1284
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
1285
|
+
availability: "available" | "unavailable" | "unknown";
|
|
1286
|
+
verification: "failed" | "not_run" | "passed";
|
|
1287
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1288
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
1289
|
+
costUsd?: number | undefined;
|
|
1289
1290
|
startedAt: string;
|
|
1290
1291
|
completedAt: string;
|
|
1291
1292
|
challengeDigest: string;
|
|
@@ -1295,7 +1296,6 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1295
1296
|
scratchBeforeDigest: string;
|
|
1296
1297
|
scratchAfterDigest: string;
|
|
1297
1298
|
stream: {
|
|
1298
|
-
aborted: boolean;
|
|
1299
1299
|
startedEvents: number;
|
|
1300
1300
|
completedEvents: number;
|
|
1301
1301
|
errorEvents: number;
|
|
@@ -1303,29 +1303,29 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1303
1303
|
interactionEvents: number;
|
|
1304
1304
|
sessionMismatchEvents: number;
|
|
1305
1305
|
eventsAfterCompleted: number;
|
|
1306
|
+
aborted: boolean;
|
|
1306
1307
|
};
|
|
1307
1308
|
evidenceRefs: string[];
|
|
1308
|
-
costUsd?: number | undefined;
|
|
1309
1309
|
};
|
|
1310
1310
|
} | {
|
|
1311
1311
|
attemptId: string;
|
|
1312
|
-
startedAt: string;
|
|
1313
1312
|
challengeDigest: string;
|
|
1314
1313
|
requestDigest: string;
|
|
1315
1314
|
disclosure: {
|
|
1316
1315
|
schemaVersion: 1;
|
|
1317
1316
|
protocolVersion: 1;
|
|
1318
1317
|
harness: string;
|
|
1319
|
-
requested: "
|
|
1320
|
-
requiredRoute: "local" | "
|
|
1321
|
-
requiredSource: "
|
|
1318
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1319
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1320
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1322
1321
|
networkScope: "selected_harness_only";
|
|
1323
|
-
billingKnowledge: "
|
|
1324
|
-
incrementalCostKnowledge: "
|
|
1322
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1323
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1325
1324
|
mayConsumeQuota: boolean;
|
|
1326
1325
|
generatedAt: string;
|
|
1327
1326
|
};
|
|
1328
1327
|
state: "interrupted_unknown";
|
|
1328
|
+
startedAt: string;
|
|
1329
1329
|
interruptedAt: string;
|
|
1330
1330
|
}, {
|
|
1331
1331
|
attemptId: string;
|
|
@@ -1335,69 +1335,70 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1335
1335
|
schemaVersion: 1;
|
|
1336
1336
|
protocolVersion: 1;
|
|
1337
1337
|
harness: string;
|
|
1338
|
-
requested: "
|
|
1339
|
-
requiredRoute: "local" | "
|
|
1340
|
-
requiredSource: "
|
|
1338
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1339
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1340
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1341
1341
|
networkScope: "selected_harness_only";
|
|
1342
|
-
billingKnowledge: "
|
|
1343
|
-
incrementalCostKnowledge: "
|
|
1342
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1343
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1344
1344
|
mayConsumeQuota: boolean;
|
|
1345
1345
|
generatedAt: string;
|
|
1346
1346
|
};
|
|
1347
1347
|
state: "disclosed";
|
|
1348
1348
|
} | {
|
|
1349
1349
|
attemptId: string;
|
|
1350
|
-
startedAt: string;
|
|
1351
1350
|
challengeDigest: string;
|
|
1352
1351
|
requestDigest: string;
|
|
1353
1352
|
disclosure: {
|
|
1354
1353
|
schemaVersion: 1;
|
|
1355
1354
|
protocolVersion: 1;
|
|
1356
1355
|
harness: string;
|
|
1357
|
-
requested: "
|
|
1358
|
-
requiredRoute: "local" | "
|
|
1359
|
-
requiredSource: "
|
|
1356
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1357
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1358
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1360
1359
|
networkScope: "selected_harness_only";
|
|
1361
|
-
billingKnowledge: "
|
|
1362
|
-
incrementalCostKnowledge: "
|
|
1360
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1361
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1363
1362
|
mayConsumeQuota: boolean;
|
|
1364
1363
|
generatedAt: string;
|
|
1365
1364
|
};
|
|
1366
1365
|
state: "running";
|
|
1366
|
+
startedAt: string;
|
|
1367
1367
|
} | {
|
|
1368
1368
|
attemptId: string;
|
|
1369
|
-
startedAt: string;
|
|
1370
|
-
completedAt: string;
|
|
1371
1369
|
challengeDigest: string;
|
|
1372
1370
|
requestDigest: string;
|
|
1373
1371
|
disclosure: {
|
|
1374
1372
|
schemaVersion: 1;
|
|
1375
1373
|
protocolVersion: 1;
|
|
1376
1374
|
harness: string;
|
|
1377
|
-
requested: "
|
|
1378
|
-
requiredRoute: "local" | "
|
|
1379
|
-
requiredSource: "
|
|
1375
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1376
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1377
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1380
1378
|
networkScope: "selected_harness_only";
|
|
1381
|
-
billingKnowledge: "
|
|
1382
|
-
incrementalCostKnowledge: "
|
|
1379
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1380
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1383
1381
|
mayConsumeQuota: boolean;
|
|
1384
1382
|
generatedAt: string;
|
|
1385
1383
|
};
|
|
1386
1384
|
state: "completed";
|
|
1385
|
+
startedAt: string;
|
|
1386
|
+
completedAt: string;
|
|
1387
1387
|
receipt: {
|
|
1388
|
-
availability: "unknown" | "available" | "unavailable";
|
|
1389
|
-
verification: "passed" | "failed" | "not_run";
|
|
1390
|
-
harness: string;
|
|
1391
|
-
requested: "auto" | "subscription" | "api_key";
|
|
1392
|
-
requiredRoute: "local" | "vendor_native" | "managed_api_key";
|
|
1393
|
-
requiredSource: "native_session" | "oauth_token_env" | "api_key_env" | "api_key_flag" | "provider_auth_file" | "none";
|
|
1394
|
-
billingKnowledge: "unknown" | "proven_zero" | "subscription_entitlement" | "metered";
|
|
1395
1388
|
receiptId: string;
|
|
1396
1389
|
attemptId: string;
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1390
|
+
harness: string;
|
|
1391
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1392
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1393
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1394
|
+
effective: "local" | "managed_api_key" | "vendor_native" | null;
|
|
1395
|
+
effectiveSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file" | null;
|
|
1396
|
+
selectionReason: "adapter_error" | "adapter_identity_mismatch" | "adapter_unavailable" | "cancelled" | "exact_requested_route" | "harness_error" | "missing_completion" | "protocol_violation" | "request_mismatch" | "response_mismatch" | "route_mismatch" | "route_missing" | "scratch_mutated" | "source_mismatch" | "source_missing";
|
|
1397
|
+
availability: "available" | "unavailable" | "unknown";
|
|
1398
|
+
verification: "failed" | "not_run" | "passed";
|
|
1399
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1400
|
+
costKnowledge: "estimated" | "exact" | "unknown";
|
|
1401
|
+
costUsd?: number | undefined;
|
|
1401
1402
|
startedAt: string;
|
|
1402
1403
|
completedAt: string;
|
|
1403
1404
|
challengeDigest: string;
|
|
@@ -1407,7 +1408,6 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1407
1408
|
scratchBeforeDigest: string;
|
|
1408
1409
|
scratchAfterDigest: string;
|
|
1409
1410
|
stream: {
|
|
1410
|
-
aborted: boolean;
|
|
1411
1411
|
startedEvents: number;
|
|
1412
1412
|
completedEvents: number;
|
|
1413
1413
|
errorEvents: number;
|
|
@@ -1415,29 +1415,29 @@ export declare const AuthCapabilityLifecycle: z.ZodEffects<z.ZodDiscriminatedUni
|
|
|
1415
1415
|
interactionEvents: number;
|
|
1416
1416
|
sessionMismatchEvents: number;
|
|
1417
1417
|
eventsAfterCompleted: number;
|
|
1418
|
+
aborted: boolean;
|
|
1418
1419
|
};
|
|
1419
1420
|
evidenceRefs: string[];
|
|
1420
|
-
costUsd?: number | undefined;
|
|
1421
1421
|
};
|
|
1422
1422
|
} | {
|
|
1423
1423
|
attemptId: string;
|
|
1424
|
-
startedAt: string;
|
|
1425
1424
|
challengeDigest: string;
|
|
1426
1425
|
requestDigest: string;
|
|
1427
1426
|
disclosure: {
|
|
1428
1427
|
schemaVersion: 1;
|
|
1429
1428
|
protocolVersion: 1;
|
|
1430
1429
|
harness: string;
|
|
1431
|
-
requested: "
|
|
1432
|
-
requiredRoute: "local" | "
|
|
1433
|
-
requiredSource: "
|
|
1430
|
+
requested: "api_key" | "auto" | "subscription";
|
|
1431
|
+
requiredRoute: "local" | "managed_api_key" | "vendor_native";
|
|
1432
|
+
requiredSource: "api_key_env" | "api_key_flag" | "native_session" | "none" | "oauth_token_env" | "provider_auth_file";
|
|
1434
1433
|
networkScope: "selected_harness_only";
|
|
1435
|
-
billingKnowledge: "
|
|
1436
|
-
incrementalCostKnowledge: "
|
|
1434
|
+
billingKnowledge: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
|
|
1435
|
+
incrementalCostKnowledge: "estimated" | "exact" | "unknown";
|
|
1437
1436
|
mayConsumeQuota: boolean;
|
|
1438
1437
|
generatedAt: string;
|
|
1439
1438
|
};
|
|
1440
1439
|
state: "interrupted_unknown";
|
|
1440
|
+
startedAt: string;
|
|
1441
1441
|
interruptedAt: string;
|
|
1442
1442
|
}>;
|
|
1443
1443
|
export type AuthCapabilityLifecycle = z.infer<typeof AuthCapabilityLifecycle>;
|