@claudexor/schema 3.6.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-capabilities.d.ts +48 -16
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +4 -0
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/config.d.ts +30 -28
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +7 -6
- package/dist/config.js.map +1 -1
- package/dist/control-harness-list.d.ts +215 -19
- package/dist/control-harness-list.d.ts.map +1 -1
- package/dist/control-operation-responses.d.ts +16 -13
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-run-detail.d.ts +33 -46
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +10 -19
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-execution.d.ts +16 -0
- package/dist/control-run-execution.d.ts.map +1 -0
- package/dist/control-run-execution.js +19 -0
- package/dist/control-run-execution.js.map +1 -0
- package/dist/control-run-failure.d.ts +4 -4
- package/dist/control-run-failure.d.ts.map +1 -1
- package/dist/control-run-failure.js +6 -4
- package/dist/control-run-failure.js.map +1 -1
- package/dist/control-run-retry.d.ts +21 -0
- package/dist/control-run-retry.d.ts.map +1 -1
- package/dist/control-run-retry.js +6 -0
- package/dist/control-run-retry.js.map +1 -1
- package/dist/control-trust.d.ts +13 -13
- package/dist/control.d.ts +365 -36
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +12 -18
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +486 -52
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +113 -42
- package/dist/credential-profile.d.ts.map +1 -1
- package/dist/credential-profile.js +58 -30
- package/dist/credential-profile.js.map +1 -1
- package/dist/harness-confinement.d.ts +37 -30
- package/dist/harness-confinement.d.ts.map +1 -1
- package/dist/harness-confinement.js +18 -26
- package/dist/harness-confinement.js.map +1 -1
- package/dist/harness.d.ts +265 -102
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +3 -38
- package/dist/harness.js.map +1 -1
- package/dist/mcp-run-result.d.ts +10 -10
- package/dist/platform-auth.d.ts +196 -0
- package/dist/platform-auth.d.ts.map +1 -0
- package/dist/platform-auth.js +142 -0
- package/dist/platform-auth.js.map +1 -0
- package/dist/primitives.d.ts +6 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +8 -2
- package/dist/primitives.js.map +1 -1
- package/dist/quota.d.ts +9 -9
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +3 -0
- package/dist/quota.js.map +1 -1
- package/dist/readiness.d.ts +192 -15
- package/dist/readiness.d.ts.map +1 -1
- package/dist/readiness.js +12 -0
- package/dist/readiness.js.map +1 -1
- package/dist/run-strategy.d.ts +51 -3
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +58 -2
- package/dist/run-strategy.js.map +1 -1
- package/dist/setup-login.d.ts +5 -5
- package/dist/setup.d.ts +102 -95
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +29 -5
- package/dist/setup.js.map +1 -1
- package/dist/task.d.ts +641 -19
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +40 -5
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +2 -2
- package/dist/telemetry.js +3 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +1 -1
- package/dist/thread.js +2 -2
- package/dist/thread.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +27 -2
- package/generated/ControlCredentialProfileCreateRequest.schema.json +1 -1
- package/generated/ControlCredentialProfileCreateResponse.schema.json +13 -4
- package/generated/ControlCredentialProfileDeleteResponse.schema.json +27 -3
- package/generated/ControlCredentialProfileUpdateResponse.schema.json +13 -4
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +142 -8
- package/generated/ControlCredentialProfilesResponse.schema.json +13 -4
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +142 -8
- package/generated/ControlHarnessListResponse.schema.json +127 -3
- package/generated/ControlQuotaResponse.schema.json +2 -1
- package/generated/ControlRunAgainDraft.schema.json +20 -3
- package/generated/ControlRunDetail.schema.json +10 -8
- package/generated/ControlRunListResponse.schema.json +6 -4
- package/generated/ControlRunStartRequest.schema.json +5 -2
- package/generated/ControlRunSummary.schema.json +6 -4
- package/generated/ControlSetupJob.schema.json +5 -1
- package/generated/ControlSetupJobCreateRequest.schema.json +1 -1
- package/generated/ControlSetupJobEvent.schema.json +5 -1
- package/generated/ControlSetupJobListResponse.schema.json +5 -1
- package/generated/ControlSetupJobSnapshot.schema.json +5 -1
- package/generated/ControlThread.schema.json +3 -3
- package/generated/ControlThreadCreateRequest.schema.json +0 -1
- package/generated/ControlThreadDetail.schema.json +3 -3
- package/generated/ControlThreadListResponse.schema.json +3 -3
- package/generated/ControlThreadTurnRequest.schema.json +0 -1
- package/generated/ControlThreadUpdateRequest.schema.json +1 -2
- package/generated/ControlTrustListResponse.schema.json +0 -1
- package/generated/ControlTrustState.schema.json +0 -1
- package/generated/ControlTrustUpdateRequest.schema.json +0 -1
- package/generated/CredentialProfile.schema.json +3 -3
- package/generated/CredentialProfileStatus.schema.json +10 -1
- package/generated/GlobalConfig.schema.json +4 -4
- package/generated/HarnessManifest.schema.json +101 -3
- package/generated/HarnessStatusDto.schema.json +127 -3
- package/generated/McpRunHandleResult.schema.json +4 -2
- package/generated/McpRunToolResult.schema.json +4 -2
- package/generated/RunFailure.schema.json +4 -2
- package/generated/RunTelemetry.schema.json +5 -5
- package/generated/TaskContract.schema.json +8 -8
- package/generated/Thread.schema.json +3 -3
- package/generated/TrustConfig.schema.json +0 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-profile-snapshot.d.ts","sourceRoot":"","sources":["../src/credential-profile-snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEqC,CAAC;AACzF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,sCAAsC,CAC9C,CAAC"}
|
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
import { z } from "zod/v3";
|
|
2
|
+
/** Exact profile-policy problem vocabulary shared by mutation and admission
|
|
3
|
+
* surfaces. ControlProblem remains open for unrelated domain errors. */
|
|
4
|
+
export declare const CredentialProfileProblemCode: z.ZodEnum<["credential_profile_required", "credential_profile_exists", "credential_profile_limit_exceeded", "credential_profile_ambiguous"]>;
|
|
5
|
+
export type CredentialProfileProblemCode = z.infer<typeof CredentialProfileProblemCode>;
|
|
2
6
|
/**
|
|
3
|
-
* The
|
|
4
|
-
*
|
|
5
|
-
*
|
|
7
|
+
* The binding kind a profile uses (INV-135, unified account model).
|
|
8
|
+
* `config_dir_login` owns Claudexor-scoped vendor state in a config dir or HOME
|
|
9
|
+
* (Claude CLAUDE_CONFIG_DIR / Codex
|
|
6
10
|
* CODEX_HOME / Cursor file-store HOME). The Claudexor-owned LEGACY native
|
|
7
11
|
* dirs are legal locators — the startup migration registers them as the
|
|
8
12
|
* `claude-default`/`codex-default` rows without moving bytes; the vendor's
|
|
9
13
|
* ordinary host stores (~/.claude, ~/.codex) stay outside the owned root and
|
|
10
|
-
* are never a locator.
|
|
11
|
-
*
|
|
14
|
+
* are never a locator. A vendor OS-user credential may live outside that
|
|
15
|
+
* state and remain unchanged when the binding is removed. `oauth_token` and
|
|
16
|
+
* `api_key` are managed secret-store references.
|
|
12
17
|
*/
|
|
13
18
|
export declare const CredentialKind: z.ZodEnum<["config_dir_login", "oauth_token", "api_key"]>;
|
|
14
19
|
export type CredentialKind = z.infer<typeof CredentialKind>;
|
|
15
20
|
/**
|
|
16
|
-
* Durable, NON-SECRET
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* doctor's
|
|
21
|
+
* Durable, NON-SECRET named binding for one harness (INV-135). Secret material
|
|
22
|
+
* never lives here: `config_dir_login` points at Claudexor-owned scoped vendor
|
|
23
|
+
* state while effective platform policy may keep the credential at OS-user
|
|
24
|
+
* scope; token/key kinds point at a namespaced managed-secret name. Readiness
|
|
25
|
+
* is intentionally NOT durable — it is the doctor's
|
|
26
|
+
* `CredentialProfileStatus` projection.
|
|
21
27
|
*/
|
|
22
28
|
export declare const CredentialProfile: z.ZodEffects<z.ZodObject<{
|
|
23
29
|
profile_id: z.ZodString;
|
|
@@ -76,13 +82,16 @@ export declare const CredentialProfileStatus: z.ZodObject<{
|
|
|
76
82
|
availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
|
|
77
83
|
verification: z.ZodEnum<["passed", "failed", "not_run"]>;
|
|
78
84
|
/** WHAT the `verification` verdict is worth. `local_store` means only that
|
|
79
|
-
* this
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* read this alongside `verification`; `passed` +
|
|
84
|
-
* strictly less than it sounds. */
|
|
85
|
+
* this binding's required local state or managed secret is present and
|
|
86
|
+
* well-formed — it cannot tell a live token from a revoked one. `vendor`
|
|
87
|
+
* means the vendor answered under THIS binding's exact environment and
|
|
88
|
+
* effective platform credential policy. A router that needs "configured
|
|
89
|
+
* AND healthy" must read this alongside `verification`; `passed` +
|
|
90
|
+
* `local_store` promises strictly less than it sounds. */
|
|
85
91
|
verification_source: z.ZodDefault<z.ZodEnum<["local_store", "vendor"]>>;
|
|
92
|
+
/** A bounded last-known-good transport observation. */
|
|
93
|
+
stale: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
+
stale_age_ms: z.ZodOptional<z.ZodNumber>;
|
|
86
95
|
detail: z.ZodOptional<z.ZodString>;
|
|
87
96
|
last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
88
97
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -91,6 +100,8 @@ export declare const CredentialProfileStatus: z.ZodObject<{
|
|
|
91
100
|
availability: "available" | "unavailable" | "unknown";
|
|
92
101
|
verification: "failed" | "not_run" | "passed";
|
|
93
102
|
verification_source: "local_store" | "vendor";
|
|
103
|
+
stale?: boolean | undefined;
|
|
104
|
+
stale_age_ms?: number | undefined;
|
|
94
105
|
detail?: string | undefined;
|
|
95
106
|
last_verified_at: string | null;
|
|
96
107
|
}, {
|
|
@@ -99,6 +110,8 @@ export declare const CredentialProfileStatus: z.ZodObject<{
|
|
|
99
110
|
availability: "available" | "unavailable" | "unknown";
|
|
100
111
|
verification: "failed" | "not_run" | "passed";
|
|
101
112
|
verification_source?: "local_store" | "vendor" | undefined;
|
|
113
|
+
stale?: boolean | undefined;
|
|
114
|
+
stale_age_ms?: number | undefined;
|
|
102
115
|
detail?: string | undefined;
|
|
103
116
|
last_verified_at?: string | null | undefined;
|
|
104
117
|
}>;
|
|
@@ -525,13 +538,16 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
|
|
|
525
538
|
availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
|
|
526
539
|
verification: z.ZodEnum<["passed", "failed", "not_run"]>;
|
|
527
540
|
/** WHAT the `verification` verdict is worth. `local_store` means only that
|
|
528
|
-
* this
|
|
529
|
-
*
|
|
530
|
-
*
|
|
531
|
-
*
|
|
532
|
-
* read this alongside `verification`; `passed` +
|
|
533
|
-
* strictly less than it sounds. */
|
|
541
|
+
* this binding's required local state or managed secret is present and
|
|
542
|
+
* well-formed — it cannot tell a live token from a revoked one. `vendor`
|
|
543
|
+
* means the vendor answered under THIS binding's exact environment and
|
|
544
|
+
* effective platform credential policy. A router that needs "configured
|
|
545
|
+
* AND healthy" must read this alongside `verification`; `passed` +
|
|
546
|
+
* `local_store` promises strictly less than it sounds. */
|
|
534
547
|
verification_source: z.ZodDefault<z.ZodEnum<["local_store", "vendor"]>>;
|
|
548
|
+
/** A bounded last-known-good transport observation. */
|
|
549
|
+
stale: z.ZodOptional<z.ZodBoolean>;
|
|
550
|
+
stale_age_ms: z.ZodOptional<z.ZodNumber>;
|
|
535
551
|
detail: z.ZodOptional<z.ZodString>;
|
|
536
552
|
last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
537
553
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -540,6 +556,8 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
|
|
|
540
556
|
availability: "available" | "unavailable" | "unknown";
|
|
541
557
|
verification: "failed" | "not_run" | "passed";
|
|
542
558
|
verification_source: "local_store" | "vendor";
|
|
559
|
+
stale?: boolean | undefined;
|
|
560
|
+
stale_age_ms?: number | undefined;
|
|
543
561
|
detail?: string | undefined;
|
|
544
562
|
last_verified_at: string | null;
|
|
545
563
|
}, {
|
|
@@ -548,6 +566,8 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
|
|
|
548
566
|
availability: "available" | "unavailable" | "unknown";
|
|
549
567
|
verification: "failed" | "not_run" | "passed";
|
|
550
568
|
verification_source?: "local_store" | "vendor" | undefined;
|
|
569
|
+
stale?: boolean | undefined;
|
|
570
|
+
stale_age_ms?: number | undefined;
|
|
551
571
|
detail?: string | undefined;
|
|
552
572
|
last_verified_at?: string | null | undefined;
|
|
553
573
|
}>;
|
|
@@ -578,6 +598,8 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
|
|
|
578
598
|
availability: "available" | "unavailable" | "unknown";
|
|
579
599
|
verification: "failed" | "not_run" | "passed";
|
|
580
600
|
verification_source: "local_store" | "vendor";
|
|
601
|
+
stale?: boolean | undefined;
|
|
602
|
+
stale_age_ms?: number | undefined;
|
|
581
603
|
detail?: string | undefined;
|
|
582
604
|
last_verified_at: string | null;
|
|
583
605
|
};
|
|
@@ -602,6 +624,8 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
|
|
|
602
624
|
availability: "available" | "unavailable" | "unknown";
|
|
603
625
|
verification: "failed" | "not_run" | "passed";
|
|
604
626
|
verification_source?: "local_store" | "vendor" | undefined;
|
|
627
|
+
stale?: boolean | undefined;
|
|
628
|
+
stale_age_ms?: number | undefined;
|
|
605
629
|
detail?: string | undefined;
|
|
606
630
|
last_verified_at?: string | null | undefined;
|
|
607
631
|
};
|
|
@@ -757,6 +781,8 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
|
|
|
757
781
|
availability: "available" | "unavailable" | "unknown";
|
|
758
782
|
verification: "failed" | "not_run" | "passed";
|
|
759
783
|
verification_source: "local_store" | "vendor";
|
|
784
|
+
stale?: boolean | undefined;
|
|
785
|
+
stale_age_ms?: number | undefined;
|
|
760
786
|
detail?: string | undefined;
|
|
761
787
|
last_verified_at: string | null;
|
|
762
788
|
};
|
|
@@ -814,6 +840,8 @@ export declare const ControlCredentialProfilesResponse: z.ZodObject<{
|
|
|
814
840
|
availability: "available" | "unavailable" | "unknown";
|
|
815
841
|
verification: "failed" | "not_run" | "passed";
|
|
816
842
|
verification_source?: "local_store" | "vendor" | undefined;
|
|
843
|
+
stale?: boolean | undefined;
|
|
844
|
+
stale_age_ms?: number | undefined;
|
|
817
845
|
detail?: string | undefined;
|
|
818
846
|
last_verified_at?: string | null | undefined;
|
|
819
847
|
};
|
|
@@ -921,13 +949,16 @@ export declare const ControlCredentialProfileUpdateResponse: z.ZodObject<{
|
|
|
921
949
|
availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
|
|
922
950
|
verification: z.ZodEnum<["passed", "failed", "not_run"]>;
|
|
923
951
|
/** WHAT the `verification` verdict is worth. `local_store` means only that
|
|
924
|
-
* this
|
|
925
|
-
*
|
|
926
|
-
*
|
|
927
|
-
*
|
|
928
|
-
* read this alongside `verification`; `passed` +
|
|
929
|
-
* strictly less than it sounds. */
|
|
952
|
+
* this binding's required local state or managed secret is present and
|
|
953
|
+
* well-formed — it cannot tell a live token from a revoked one. `vendor`
|
|
954
|
+
* means the vendor answered under THIS binding's exact environment and
|
|
955
|
+
* effective platform credential policy. A router that needs "configured
|
|
956
|
+
* AND healthy" must read this alongside `verification`; `passed` +
|
|
957
|
+
* `local_store` promises strictly less than it sounds. */
|
|
930
958
|
verification_source: z.ZodDefault<z.ZodEnum<["local_store", "vendor"]>>;
|
|
959
|
+
/** A bounded last-known-good transport observation. */
|
|
960
|
+
stale: z.ZodOptional<z.ZodBoolean>;
|
|
961
|
+
stale_age_ms: z.ZodOptional<z.ZodNumber>;
|
|
931
962
|
detail: z.ZodOptional<z.ZodString>;
|
|
932
963
|
last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
933
964
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -936,6 +967,8 @@ export declare const ControlCredentialProfileUpdateResponse: z.ZodObject<{
|
|
|
936
967
|
availability: "available" | "unavailable" | "unknown";
|
|
937
968
|
verification: "failed" | "not_run" | "passed";
|
|
938
969
|
verification_source: "local_store" | "vendor";
|
|
970
|
+
stale?: boolean | undefined;
|
|
971
|
+
stale_age_ms?: number | undefined;
|
|
939
972
|
detail?: string | undefined;
|
|
940
973
|
last_verified_at: string | null;
|
|
941
974
|
}, {
|
|
@@ -944,6 +977,8 @@ export declare const ControlCredentialProfileUpdateResponse: z.ZodObject<{
|
|
|
944
977
|
availability: "available" | "unavailable" | "unknown";
|
|
945
978
|
verification: "failed" | "not_run" | "passed";
|
|
946
979
|
verification_source?: "local_store" | "vendor" | undefined;
|
|
980
|
+
stale?: boolean | undefined;
|
|
981
|
+
stale_age_ms?: number | undefined;
|
|
947
982
|
detail?: string | undefined;
|
|
948
983
|
last_verified_at?: string | null | undefined;
|
|
949
984
|
}>;
|
|
@@ -964,6 +999,8 @@ export declare const ControlCredentialProfileUpdateResponse: z.ZodObject<{
|
|
|
964
999
|
availability: "available" | "unavailable" | "unknown";
|
|
965
1000
|
verification: "failed" | "not_run" | "passed";
|
|
966
1001
|
verification_source: "local_store" | "vendor";
|
|
1002
|
+
stale?: boolean | undefined;
|
|
1003
|
+
stale_age_ms?: number | undefined;
|
|
967
1004
|
detail?: string | undefined;
|
|
968
1005
|
last_verified_at: string | null;
|
|
969
1006
|
};
|
|
@@ -984,12 +1021,14 @@ export declare const ControlCredentialProfileUpdateResponse: z.ZodObject<{
|
|
|
984
1021
|
availability: "available" | "unavailable" | "unknown";
|
|
985
1022
|
verification: "failed" | "not_run" | "passed";
|
|
986
1023
|
verification_source?: "local_store" | "vendor" | undefined;
|
|
1024
|
+
stale?: boolean | undefined;
|
|
1025
|
+
stale_age_ms?: number | undefined;
|
|
987
1026
|
detail?: string | undefined;
|
|
988
1027
|
last_verified_at?: string | null | undefined;
|
|
989
1028
|
};
|
|
990
1029
|
}>;
|
|
991
1030
|
export type ControlCredentialProfileUpdateResponse = z.infer<typeof ControlCredentialProfileUpdateResponse>;
|
|
992
|
-
/** Register a config-dir login profile (claude/codex/cursor) from a UI surface —
|
|
1031
|
+
/** Register a config-dir login profile (agy/claude/codex/cursor) from a UI surface —
|
|
993
1032
|
* the same ONE locked registration owner `claudexor profiles add` uses. */
|
|
994
1033
|
export declare const ControlCredentialProfileCreateRequest: z.ZodObject<{
|
|
995
1034
|
harnessId: z.ZodString;
|
|
@@ -1005,13 +1044,11 @@ export declare const ControlCredentialProfileCreateRequest: z.ZodObject<{
|
|
|
1005
1044
|
displayName?: string | undefined;
|
|
1006
1045
|
}>;
|
|
1007
1046
|
export type ControlCredentialProfileCreateRequest = z.infer<typeof ControlCredentialProfileCreateRequest>;
|
|
1008
|
-
/** DELETE /credential-profiles/:harness/:id — removes the
|
|
1009
|
-
*
|
|
1010
|
-
*
|
|
1011
|
-
*
|
|
1012
|
-
*
|
|
1013
|
-
* `removed: true` with a warning. The vendor's ordinary host stores stay
|
|
1014
|
-
* untouchable by design. */
|
|
1047
|
+
/** DELETE /credential-profiles/:harness/:id — removes the binding and any state
|
|
1048
|
+
* Claudexor owns (a scoped state dir, migrated owned locator, or namespaced
|
|
1049
|
+
* secret). Success proves that owned cleanup; a partial failure is retryable
|
|
1050
|
+
* and keeps the row registered. A typed disposition says when a vendor-owned
|
|
1051
|
+
* OS-user credential was deliberately left unchanged. */
|
|
1015
1052
|
export declare const ControlCredentialProfileDeleteResponse: z.ZodObject<{
|
|
1016
1053
|
profile: z.ZodEffects<z.ZodObject<{
|
|
1017
1054
|
profile_id: z.ZodString;
|
|
@@ -1062,6 +1099,19 @@ export declare const ControlCredentialProfileDeleteResponse: z.ZodObject<{
|
|
|
1062
1099
|
removed: z.ZodLiteral<true>;
|
|
1063
1100
|
credentialCleanup: z.ZodEnum<["config_dir_removed", "secret_deleted", "none"]>;
|
|
1064
1101
|
cleanupWarning: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
vendorCredentialDisposition: z.ZodOptional<z.ZodObject<{
|
|
1103
|
+
owner: z.ZodLiteral<"vendor">;
|
|
1104
|
+
state: z.ZodLiteral<"left_unchanged">;
|
|
1105
|
+
scope: z.ZodLiteral<"os_user">;
|
|
1106
|
+
}, "strict", z.ZodTypeAny, {
|
|
1107
|
+
owner: "vendor";
|
|
1108
|
+
state: "left_unchanged";
|
|
1109
|
+
scope: "os_user";
|
|
1110
|
+
}, {
|
|
1111
|
+
owner: "vendor";
|
|
1112
|
+
state: "left_unchanged";
|
|
1113
|
+
scope: "os_user";
|
|
1114
|
+
}>>;
|
|
1065
1115
|
}, "strict", z.ZodTypeAny, {
|
|
1066
1116
|
profile: {
|
|
1067
1117
|
profile_id: string;
|
|
@@ -1076,6 +1126,11 @@ export declare const ControlCredentialProfileDeleteResponse: z.ZodObject<{
|
|
|
1076
1126
|
removed: true;
|
|
1077
1127
|
credentialCleanup: "config_dir_removed" | "none" | "secret_deleted";
|
|
1078
1128
|
cleanupWarning?: string | undefined;
|
|
1129
|
+
vendorCredentialDisposition?: {
|
|
1130
|
+
owner: "vendor";
|
|
1131
|
+
state: "left_unchanged";
|
|
1132
|
+
scope: "os_user";
|
|
1133
|
+
} | undefined;
|
|
1079
1134
|
}, {
|
|
1080
1135
|
profile: {
|
|
1081
1136
|
profile_id: string;
|
|
@@ -1090,6 +1145,11 @@ export declare const ControlCredentialProfileDeleteResponse: z.ZodObject<{
|
|
|
1090
1145
|
removed: true;
|
|
1091
1146
|
credentialCleanup: "config_dir_removed" | "none" | "secret_deleted";
|
|
1092
1147
|
cleanupWarning?: string | undefined;
|
|
1148
|
+
vendorCredentialDisposition?: {
|
|
1149
|
+
owner: "vendor";
|
|
1150
|
+
state: "left_unchanged";
|
|
1151
|
+
scope: "os_user";
|
|
1152
|
+
} | undefined;
|
|
1093
1153
|
}>;
|
|
1094
1154
|
export type ControlCredentialProfileDeleteResponse = z.infer<typeof ControlCredentialProfileDeleteResponse>;
|
|
1095
1155
|
export declare const ControlCredentialProfileCreateResponse: z.ZodObject<{
|
|
@@ -1145,13 +1205,16 @@ export declare const ControlCredentialProfileCreateResponse: z.ZodObject<{
|
|
|
1145
1205
|
availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
|
|
1146
1206
|
verification: z.ZodEnum<["passed", "failed", "not_run"]>;
|
|
1147
1207
|
/** WHAT the `verification` verdict is worth. `local_store` means only that
|
|
1148
|
-
* this
|
|
1149
|
-
*
|
|
1150
|
-
*
|
|
1151
|
-
*
|
|
1152
|
-
* read this alongside `verification`; `passed` +
|
|
1153
|
-
* strictly less than it sounds. */
|
|
1208
|
+
* this binding's required local state or managed secret is present and
|
|
1209
|
+
* well-formed — it cannot tell a live token from a revoked one. `vendor`
|
|
1210
|
+
* means the vendor answered under THIS binding's exact environment and
|
|
1211
|
+
* effective platform credential policy. A router that needs "configured
|
|
1212
|
+
* AND healthy" must read this alongside `verification`; `passed` +
|
|
1213
|
+
* `local_store` promises strictly less than it sounds. */
|
|
1154
1214
|
verification_source: z.ZodDefault<z.ZodEnum<["local_store", "vendor"]>>;
|
|
1215
|
+
/** A bounded last-known-good transport observation. */
|
|
1216
|
+
stale: z.ZodOptional<z.ZodBoolean>;
|
|
1217
|
+
stale_age_ms: z.ZodOptional<z.ZodNumber>;
|
|
1155
1218
|
detail: z.ZodOptional<z.ZodString>;
|
|
1156
1219
|
last_verified_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1157
1220
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1160,6 +1223,8 @@ export declare const ControlCredentialProfileCreateResponse: z.ZodObject<{
|
|
|
1160
1223
|
availability: "available" | "unavailable" | "unknown";
|
|
1161
1224
|
verification: "failed" | "not_run" | "passed";
|
|
1162
1225
|
verification_source: "local_store" | "vendor";
|
|
1226
|
+
stale?: boolean | undefined;
|
|
1227
|
+
stale_age_ms?: number | undefined;
|
|
1163
1228
|
detail?: string | undefined;
|
|
1164
1229
|
last_verified_at: string | null;
|
|
1165
1230
|
}, {
|
|
@@ -1168,6 +1233,8 @@ export declare const ControlCredentialProfileCreateResponse: z.ZodObject<{
|
|
|
1168
1233
|
availability: "available" | "unavailable" | "unknown";
|
|
1169
1234
|
verification: "failed" | "not_run" | "passed";
|
|
1170
1235
|
verification_source?: "local_store" | "vendor" | undefined;
|
|
1236
|
+
stale?: boolean | undefined;
|
|
1237
|
+
stale_age_ms?: number | undefined;
|
|
1171
1238
|
detail?: string | undefined;
|
|
1172
1239
|
last_verified_at?: string | null | undefined;
|
|
1173
1240
|
}>;
|
|
@@ -1188,6 +1255,8 @@ export declare const ControlCredentialProfileCreateResponse: z.ZodObject<{
|
|
|
1188
1255
|
availability: "available" | "unavailable" | "unknown";
|
|
1189
1256
|
verification: "failed" | "not_run" | "passed";
|
|
1190
1257
|
verification_source: "local_store" | "vendor";
|
|
1258
|
+
stale?: boolean | undefined;
|
|
1259
|
+
stale_age_ms?: number | undefined;
|
|
1191
1260
|
detail?: string | undefined;
|
|
1192
1261
|
last_verified_at: string | null;
|
|
1193
1262
|
};
|
|
@@ -1208,6 +1277,8 @@ export declare const ControlCredentialProfileCreateResponse: z.ZodObject<{
|
|
|
1208
1277
|
availability: "available" | "unavailable" | "unknown";
|
|
1209
1278
|
verification: "failed" | "not_run" | "passed";
|
|
1210
1279
|
verification_source?: "local_store" | "vendor" | undefined;
|
|
1280
|
+
stale?: boolean | undefined;
|
|
1281
|
+
stale_age_ms?: number | undefined;
|
|
1211
1282
|
detail?: string | undefined;
|
|
1212
1283
|
last_verified_at?: string | null | undefined;
|
|
1213
1284
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-profile.d.ts","sourceRoot":"","sources":["../src/credential-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B
|
|
1
|
+
{"version":3,"file":"credential-profile.d.ts","sourceRoot":"","sources":["../src/credential-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B;wEACwE;AACxE,eAAO,MAAM,4BAA4B,8IAKvC,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAExF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,2DAIxB,CAAC;AACJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6D3B,CAAC;AACJ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;IAMhC;;;;;;8DAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAlT/C;;;;;;kEAM0D;;QAO1D,uDAAuD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwSwB,CAAC;AACpF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,sCAAsC,CAC9C,CAAC;AAEF;2EAC2E;AAC3E,eAAO,MAAM,qCAAqC;;;;;;;;;;;;EAaQ,CAAC;AAC3D,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,qCAAqC,CAC7C,CAAC;AAEF;;;;yDAIyD;AACzD,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BK,CAAC;AACzD,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,sCAAsC,CAC9C,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QApX/C;;;;;;kEAM0D;;QAO1D,uDAAuD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0WwB,CAAC;AACpF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,sCAAsC,CAC9C,CAAC"}
|
|
@@ -2,26 +2,36 @@ import { z } from "zod/v3";
|
|
|
2
2
|
import { namespacedSecretRefBase } from "@claudexor/util";
|
|
3
3
|
import { Id, IsoTimestamp } from "./primitives.js";
|
|
4
4
|
import { AuthAvailability, AuthVerification } from "./auth.js";
|
|
5
|
+
/** Exact profile-policy problem vocabulary shared by mutation and admission
|
|
6
|
+
* surfaces. ControlProblem remains open for unrelated domain errors. */
|
|
7
|
+
export const CredentialProfileProblemCode = z.enum([
|
|
8
|
+
"credential_profile_required",
|
|
9
|
+
"credential_profile_exists",
|
|
10
|
+
"credential_profile_limit_exceeded",
|
|
11
|
+
"credential_profile_ambiguous",
|
|
12
|
+
]);
|
|
5
13
|
/**
|
|
6
|
-
* The
|
|
7
|
-
*
|
|
8
|
-
*
|
|
14
|
+
* The binding kind a profile uses (INV-135, unified account model).
|
|
15
|
+
* `config_dir_login` owns Claudexor-scoped vendor state in a config dir or HOME
|
|
16
|
+
* (Claude CLAUDE_CONFIG_DIR / Codex
|
|
9
17
|
* CODEX_HOME / Cursor file-store HOME). The Claudexor-owned LEGACY native
|
|
10
18
|
* dirs are legal locators — the startup migration registers them as the
|
|
11
19
|
* `claude-default`/`codex-default` rows without moving bytes; the vendor's
|
|
12
20
|
* ordinary host stores (~/.claude, ~/.codex) stay outside the owned root and
|
|
13
|
-
* are never a locator.
|
|
14
|
-
*
|
|
21
|
+
* are never a locator. A vendor OS-user credential may live outside that
|
|
22
|
+
* state and remain unchanged when the binding is removed. `oauth_token` and
|
|
23
|
+
* `api_key` are managed secret-store references.
|
|
15
24
|
*/
|
|
16
25
|
export const CredentialKind = z
|
|
17
26
|
.enum(["config_dir_login", "oauth_token", "api_key"])
|
|
18
|
-
.describe("
|
|
27
|
+
.describe("Binding kind for a profile: Claudexor-owned scoped vendor state, a managed OAuth secret, or a managed API-key secret; a vendor OS-user credential may remain outside that state.");
|
|
19
28
|
/**
|
|
20
|
-
* Durable, NON-SECRET
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* doctor's
|
|
29
|
+
* Durable, NON-SECRET named binding for one harness (INV-135). Secret material
|
|
30
|
+
* never lives here: `config_dir_login` points at Claudexor-owned scoped vendor
|
|
31
|
+
* state while effective platform policy may keep the credential at OS-user
|
|
32
|
+
* scope; token/key kinds point at a namespaced managed-secret name. Readiness
|
|
33
|
+
* is intentionally NOT durable — it is the doctor's
|
|
34
|
+
* `CredentialProfileStatus` projection.
|
|
25
35
|
*/
|
|
26
36
|
export const CredentialProfile = z
|
|
27
37
|
.object({
|
|
@@ -33,7 +43,7 @@ export const CredentialProfile = z
|
|
|
33
43
|
.string()
|
|
34
44
|
.nullable()
|
|
35
45
|
.default(null)
|
|
36
|
-
.describe("Canonical absolute
|
|
46
|
+
.describe("Canonical absolute path to Claudexor-owned scoped vendor state for config_dir_login bindings; null for secret-ref kinds."),
|
|
37
47
|
secret_ref: z
|
|
38
48
|
.string()
|
|
39
49
|
.nullable()
|
|
@@ -79,7 +89,7 @@ export const CredentialProfile = z
|
|
|
79
89
|
});
|
|
80
90
|
}
|
|
81
91
|
})
|
|
82
|
-
.describe("Durable non-secret
|
|
92
|
+
.describe("Durable non-secret named binding for one harness; credential material may live in Claudexor-owned scoped state, a managed secret store, or a platform-declared vendor/OS-user store, never in this row.");
|
|
83
93
|
/**
|
|
84
94
|
* Doctor-owned readiness projection for one profile — deliberately separate
|
|
85
95
|
* from the durable registry entry so stored config never asserts liveness.
|
|
@@ -91,16 +101,27 @@ export const CredentialProfileStatus = z
|
|
|
91
101
|
availability: AuthAvailability,
|
|
92
102
|
verification: AuthVerification,
|
|
93
103
|
/** WHAT the `verification` verdict is worth. `local_store` means only that
|
|
94
|
-
* this
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* read this alongside `verification`; `passed` +
|
|
99
|
-
* strictly less than it sounds. */
|
|
104
|
+
* this binding's required local state or managed secret is present and
|
|
105
|
+
* well-formed — it cannot tell a live token from a revoked one. `vendor`
|
|
106
|
+
* means the vendor answered under THIS binding's exact environment and
|
|
107
|
+
* effective platform credential policy. A router that needs "configured
|
|
108
|
+
* AND healthy" must read this alongside `verification`; `passed` +
|
|
109
|
+
* `local_store` promises strictly less than it sounds. */
|
|
100
110
|
verification_source: z
|
|
101
111
|
.enum(["local_store", "vendor"])
|
|
102
112
|
.default("local_store")
|
|
103
|
-
.describe("How the verification verdict was reached: local_store = the
|
|
113
|
+
.describe("How the verification verdict was reached: local_store = the binding's required local state or managed secret is present (says nothing about a token being live); vendor = the vendor answered under the exact binding environment and effective platform credential policy."),
|
|
114
|
+
/** A bounded last-known-good transport observation. */
|
|
115
|
+
stale: z
|
|
116
|
+
.boolean()
|
|
117
|
+
.optional()
|
|
118
|
+
.describe("True only for a bounded stale last-known-good observation; stale is never a fresh passed verification."),
|
|
119
|
+
stale_age_ms: z
|
|
120
|
+
.number()
|
|
121
|
+
.int()
|
|
122
|
+
.nonnegative()
|
|
123
|
+
.optional()
|
|
124
|
+
.describe("Age in milliseconds of the bounded stale observation, when stale is true."),
|
|
104
125
|
detail: z.string().optional().describe("Redacted human-readable probe evidence."),
|
|
105
126
|
last_verified_at: IsoTimestamp.nullable()
|
|
106
127
|
.default(null)
|
|
@@ -315,11 +336,11 @@ export const ControlCredentialProfileUpdateResponse = z
|
|
|
315
336
|
.object({ profile: CredentialProfile, status: CredentialProfileStatus })
|
|
316
337
|
.strict()
|
|
317
338
|
.describe("The updated credential profile with its doctor readiness projection.");
|
|
318
|
-
/** Register a config-dir login profile (claude/codex/cursor) from a UI surface —
|
|
339
|
+
/** Register a config-dir login profile (agy/claude/codex/cursor) from a UI surface —
|
|
319
340
|
* the same ONE locked registration owner `claudexor profiles add` uses. */
|
|
320
341
|
export const ControlCredentialProfileCreateRequest = z
|
|
321
342
|
.object({
|
|
322
|
-
harnessId: Id.describe("Harness family (claude | codex | cursor) for the config-dir login profile."),
|
|
343
|
+
harnessId: Id.describe("Harness family (agy | claude | codex | cursor) for the config-dir login profile."),
|
|
323
344
|
profileId: Id.describe("New profile id (bounded slug, unique per harness)."),
|
|
324
345
|
displayName: z
|
|
325
346
|
.string()
|
|
@@ -329,24 +350,31 @@ export const ControlCredentialProfileCreateRequest = z
|
|
|
329
350
|
})
|
|
330
351
|
.strict()
|
|
331
352
|
.describe("Request body for POST /credential-profiles.");
|
|
332
|
-
/** DELETE /credential-profiles/:harness/:id — removes the
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
* `removed: true` with a warning. The vendor's ordinary host stores stay
|
|
338
|
-
* untouchable by design. */
|
|
353
|
+
/** DELETE /credential-profiles/:harness/:id — removes the binding and any state
|
|
354
|
+
* Claudexor owns (a scoped state dir, migrated owned locator, or namespaced
|
|
355
|
+
* secret). Success proves that owned cleanup; a partial failure is retryable
|
|
356
|
+
* and keeps the row registered. A typed disposition says when a vendor-owned
|
|
357
|
+
* OS-user credential was deliberately left unchanged. */
|
|
339
358
|
export const ControlCredentialProfileDeleteResponse = z
|
|
340
359
|
.object({
|
|
341
360
|
profile: CredentialProfile.describe("The removed registry entry."),
|
|
342
361
|
removed: z.literal(true),
|
|
343
362
|
credentialCleanup: z
|
|
344
363
|
.enum(["config_dir_removed", "secret_deleted", "none"])
|
|
345
|
-
.describe("What
|
|
364
|
+
.describe("What Claudexor-owned state or managed secret was removed with the binding; this does not assert that a vendor OS-user credential changed."),
|
|
346
365
|
cleanupWarning: z
|
|
347
366
|
.string()
|
|
348
367
|
.optional()
|
|
349
368
|
.describe("DEPRECATED (wire-compat only): a unified-model engine never emits it — partial cleanup is a typed retryable error instead of a removed-with-warning receipt."),
|
|
369
|
+
vendorCredentialDisposition: z
|
|
370
|
+
.object({
|
|
371
|
+
owner: z.literal("vendor"),
|
|
372
|
+
state: z.literal("left_unchanged"),
|
|
373
|
+
scope: z.literal("os_user"),
|
|
374
|
+
})
|
|
375
|
+
.strict()
|
|
376
|
+
.optional()
|
|
377
|
+
.describe("Exact disclosure that profile binding removal left a vendor-owned OS-user credential unchanged; absence preserves legacy receipts."),
|
|
350
378
|
})
|
|
351
379
|
.strict()
|
|
352
380
|
.describe("Receipt for a credential-profile removal.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential-profile.js","sourceRoot":"","sources":["../src/credential-profile.ts"],"names":[],"mappings":"AAA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