@fourier-labs/harbour-contracts 0.15.0 → 0.19.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/contract-release.json +26 -26
- package/dist/gen-ts/ai-governance-decision.d.ts +1 -0
- package/dist/gen-ts/ai-policy-snapshot.d.ts +4 -3
- package/dist/gen-ts/ai-pricing-revision.d.ts +1 -1
- package/dist/gen-ts/ai-runtime-contract.d.ts +1 -0
- package/dist/gen-ts/ai-trace-event.d.ts +2 -2
- package/dist/gen-ts/binding-classification-subject.d.ts +1 -1
- package/dist/gen-ts/contract-release.d.ts +7 -7
- package/dist/gen-ts/contract-release.js +7 -7
- package/dist/gen-ts/deploy-request.d.ts +2 -2
- package/dist/gen-ts/promotion-request.d.ts +2 -2
- package/dist/gen-ts/sanitized-binding-evidence.d.ts +1 -1
- package/dist/resolver/index.d.ts +2 -1
- package/dist/resolver/index.js +1 -1
- package/fixtures/ai/valid-policy-snapshot.json +1 -0
- package/gen-ts/ai-governance-decision.ts +1 -0
- package/gen-ts/ai-policy-snapshot.ts +6 -3
- package/gen-ts/ai-pricing-revision.ts +1 -1
- package/gen-ts/ai-runtime-contract.ts +1 -0
- package/gen-ts/ai-trace-event.ts +2 -2
- package/gen-ts/binding-classification-subject.ts +2 -1
- package/gen-ts/contract-release.ts +7 -7
- package/gen-ts/deploy-request.ts +2 -2
- package/gen-ts/promotion-request.ts +2 -2
- package/gen-ts/sanitized-binding-evidence.ts +1 -1
- package/package.json +1 -1
- package/schema/ai-governance-decision.schema.json +1 -0
- package/schema/ai-policy-snapshot.schema.json +4 -3
- package/schema/ai-pricing-revision.schema.json +1 -1
- package/schema/ai-runtime-contract.schema.json +1 -0
- package/schema/ai-trace-event.schema.json +2 -2
- package/schema/binding-classification-subject.schema.json +1 -1
- package/schema/sanitized-binding-evidence.schema.json +1 -1
package/contract-release.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "harbour.contract-release/1.0",
|
|
3
|
-
"repositoryVersion": "0.
|
|
4
|
-
"publishVersion": "0.
|
|
5
|
-
"publishTag": "v0.
|
|
6
|
-
"schemasDigest": "sha256:
|
|
7
|
-
"aiFixturesDigest": "sha256:
|
|
8
|
-
"generatedGoDigest": "sha256:
|
|
9
|
-
"generatedTypeScriptDigest": "sha256:
|
|
3
|
+
"repositoryVersion": "0.19.0.0",
|
|
4
|
+
"publishVersion": "0.19.0",
|
|
5
|
+
"publishTag": "v0.19.0",
|
|
6
|
+
"schemasDigest": "sha256:3263c4ee323353316aeecc8741ce8dc7a740652a73e35587123fbf2330926b28",
|
|
7
|
+
"aiFixturesDigest": "sha256:5d68828a1364dc63cafbb3c2d3f5c5f6c232d5333e7668a9c79e7652e5144b42",
|
|
8
|
+
"generatedGoDigest": "sha256:ef74356afbc6a36a543f6f6fe572b77dc3691ce2201f0654644d2a7f29a4ced4",
|
|
9
|
+
"generatedTypeScriptDigest": "sha256:6bb6b13ea4722e3ec9e9d91c672461ec24b29076aeae0b14b62380cced658e92",
|
|
10
10
|
"generatedExclusions": {
|
|
11
11
|
"gen-go/contract_release.go": "contains the generated aggregate digests (self-reference)",
|
|
12
12
|
"gen-ts/contract-release.ts": "contains the generated aggregate digests (self-reference)"
|
|
@@ -19,20 +19,20 @@
|
|
|
19
19
|
"schema/ai-deployment-gate-decision.schema.json": "sha256:bae1bdf91777b9a78f8da5a29f06b5de7f1e235789cf16b1bb507e85ad0243ff",
|
|
20
20
|
"schema/ai-gateway-key-lifecycle-event.schema.json": "sha256:ba5cb862abe73227bee714b25247b4cacb34f11fdd1476bb5f920923fd75e2a9",
|
|
21
21
|
"schema/ai-gateway-key-lookup.schema.json": "sha256:e994d4782c9bc4f14d3a1c35c9ac1e7a5ec84284cde5b3af7e3e6022130ddbb3",
|
|
22
|
-
"schema/ai-governance-decision.schema.json": "sha256:
|
|
22
|
+
"schema/ai-governance-decision.schema.json": "sha256:fab63e1b869b0e821efe9c27ee63f87fc7023a01d99bc810bad12049b968b788",
|
|
23
23
|
"schema/ai-metering-policy.schema.json": "sha256:044115938d254d914feac162219d20ee48f741cd7ad32df4613b45f9c862fe8c",
|
|
24
|
-
"schema/ai-policy-snapshot.schema.json": "sha256:
|
|
25
|
-
"schema/ai-pricing-revision.schema.json": "sha256:
|
|
24
|
+
"schema/ai-policy-snapshot.schema.json": "sha256:bf0d0c834285ac942f4c0cb09a33549a06045a034be18b5ffbaa9120e961422e",
|
|
25
|
+
"schema/ai-pricing-revision.schema.json": "sha256:ff6b2115e98e278fd425164887f41911e3f0345e008ebc988a5f00b93c1c99ee",
|
|
26
26
|
"schema/ai-runtime-binding.schema.json": "sha256:e86cac2f70a474997bdef1577ca15f22982ec0ce866921df3f763c4d7f7fa191",
|
|
27
|
-
"schema/ai-runtime-contract.schema.json": "sha256:
|
|
27
|
+
"schema/ai-runtime-contract.schema.json": "sha256:a9c8b1329193c1eac7887e9ad6b442d127968fc9de78dcdc18289d8901f091bd",
|
|
28
28
|
"schema/ai-trace-event-v2.schema.json": "sha256:b479199bb6e44ea23a1da53f69943cb8f3886c433914fdb9bf9e9bdbc3dd767d",
|
|
29
|
-
"schema/ai-trace-event.schema.json": "sha256:
|
|
29
|
+
"schema/ai-trace-event.schema.json": "sha256:994f8e350e3f2c3f857a198cdc1ee45d68c6b8f9265af74f17e70957b5e12f48",
|
|
30
30
|
"schema/ai-transform-event.schema.json": "sha256:b845762e653b19afdaf959f7bd1624db490cd10c760daa9aaa61fb83f2a86b6e",
|
|
31
31
|
"schema/ai-transform-result.schema.json": "sha256:244e380a36957ab2dcb526ea22aaecb56b53664ce1fda6934d0021c084c99133",
|
|
32
32
|
"schema/ai-verification-evidence.schema.json": "sha256:bdbc762df256d2a8dd0bdda60d4d13915ce40034cd756af9515871d145f10ad9",
|
|
33
33
|
"schema/api-error-response.schema.json": "sha256:3d43d5bdf0b59c944e20509d832e6776c3ecdba4d6c245a9118bbe52062a8304",
|
|
34
34
|
"schema/artifact-contract.schema.json": "sha256:f4d14d71ed754c9c8c2b03babd4666ace7d94dd4851ee548227bf1235404a814",
|
|
35
|
-
"schema/binding-classification-subject.schema.json": "sha256:
|
|
35
|
+
"schema/binding-classification-subject.schema.json": "sha256:fd038b42c6d85c50f7fced159690f820f59aee7a1e96efd8abd0250653cabe46",
|
|
36
36
|
"schema/data-dependency.schema.json": "sha256:89ba8481ccabc935e7dab5d13871c985839a751ad1586710d8382a15e1f3340c",
|
|
37
37
|
"schema/data-grant.schema.json": "sha256:e640553831ecc1c01cc9a37fe388b84d0ffeaa0d0050e63712b48f65fa437c8a",
|
|
38
38
|
"schema/data-source.schema.json": "sha256:5a809171cc97f5778ca37db300d454098ce1c2d9071d2380550707b049899a75",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"schema/kvs-routing-entry.schema.json": "sha256:b75f3a5dfa93a428b2764e03222b66b6ef2bed980f8bac8ffac54afdf3526bc5",
|
|
50
50
|
"schema/promotion-request.schema.json": "sha256:560460b57fc639d248fa657a2a1e3d88d27ab9139faf17ee58633b671f8b5072",
|
|
51
51
|
"schema/promotion-response.schema.json": "sha256:4129712d2e29d6ef21d93d4bd0bacfd60ada3f2ee0ade852824e64346b817634",
|
|
52
|
-
"schema/sanitized-binding-evidence.schema.json": "sha256:
|
|
52
|
+
"schema/sanitized-binding-evidence.schema.json": "sha256:e05bb19a3be0463af038501a31c65981f58bc6aa86b93a487cdb119a05ce6ac0",
|
|
53
53
|
"schema/secret-reference.schema.json": "sha256:966f7a6d2575b46a4b54804d06dc05c6229ebbcbd9200fe6a6c8d3b4ffb90f9f",
|
|
54
54
|
"schema/transform-report.schema.json": "sha256:10ba5faa915b3a9327909b0444a163f8e31f51b9f1b3d049ea341e8cedc521e1",
|
|
55
55
|
"schema/version-state.schema.json": "sha256:e7c4b2e7b615ebb07f36d0df22ded51b2c9688ef9e9bfe79de1d5cd94de9ae40"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"fixtures/ai/valid-governance-decision.json": "sha256:b9d4904b8b6df5f652acc68ec7c8716f192f80d23177ae82b0cc26081bbb9d25",
|
|
70
70
|
"fixtures/ai/valid-inventory.json": "sha256:3bb29df5525c3a69f6c13c203fbd08bb3d493ae5416fdd2f99125c74bbc11759",
|
|
71
71
|
"fixtures/ai/valid-metering-policy.json": "sha256:73d10929f0232a09d31b263c5bf61f8985c9c629e1e78ea5c867dd919ff95c96",
|
|
72
|
-
"fixtures/ai/valid-policy-snapshot.json": "sha256:
|
|
72
|
+
"fixtures/ai/valid-policy-snapshot.json": "sha256:d4662ec2e5aa5249f4ebec6aa37f384d6c1d2bd596adf9a3374dd185b657539c",
|
|
73
73
|
"fixtures/ai/valid-pricing-revision.json": "sha256:b8a89816a332397257fa0c40e5142ad9f05c9c6cbb92c37ae700f9b61c31fbce",
|
|
74
74
|
"fixtures/ai/valid-runtime-binding.json": "sha256:df971a518b8e680bb5260e801e7a0b03dd05076aeb11258205ec5ec205719f53",
|
|
75
75
|
"fixtures/ai/valid-runtime-contract.json": "sha256:ee9b3e810bca14e487d55f171597d570a79801d5aba0a8080951d51d7772c233",
|
|
@@ -84,14 +84,14 @@
|
|
|
84
84
|
},
|
|
85
85
|
"generatedGo": {
|
|
86
86
|
"gen-go/ai_composite_policy_digest_helper.go": "sha256:31b4d9b4afd965b9869acbd3a58527949402f6711f624f2a4f02b3c6e406f71f",
|
|
87
|
-
"gen-go/ai_contracts_test.go": "sha256:
|
|
87
|
+
"gen-go/ai_contracts_test.go": "sha256:17ce967139e39c291ee7ebad3f66cc0495324abc4e56885279f7e5cc74994036",
|
|
88
88
|
"gen-go/ai_gateway_key_token.go": "sha256:859c34383955f21c22589158214df074b74de6907a54bee7c781acfa9dad8679",
|
|
89
89
|
"gen-go/binding_digest_helpers.go": "sha256:50462ba2beb16c7931dfc7e10302c12c90bf8111788991f74f08a718125dfbfb",
|
|
90
90
|
"gen-go/contracts_test.go": "sha256:105f72ed711a34778d875b5a957bae3d8afbe67ed006e4809b8031b4cc303ec0",
|
|
91
91
|
"gen-go/doc.go": "sha256:c17bc2d39ed175ce7105c68305f8ae7152f659eb7cd187ecceee7698eb3a65dd",
|
|
92
92
|
"gen-go/error_category.go": "sha256:e36745796e32f753cf153a76c5f77c4bdf37a6a228e6607abcf95cac6f4a934b",
|
|
93
93
|
"gen-go/schema_documents.go": "sha256:c0399930c719b93d850847b257186f08d69a527f3ac1286ed0c49b66327b315a",
|
|
94
|
-
"gen-go/types.go": "sha256:
|
|
94
|
+
"gen-go/types.go": "sha256:548bfbd495c67cfa041efc5554fad6a5b88afa7db7f4636787364fdebe60d321",
|
|
95
95
|
"gen-go/version_state.go": "sha256:827f8768359998409b86ea02d9ba1a149981928bae7161e4dc95fe0520ce7410"
|
|
96
96
|
},
|
|
97
97
|
"generatedTypeScript": {
|
|
@@ -104,25 +104,25 @@
|
|
|
104
104
|
"gen-ts/ai-gateway-key-lifecycle-event.ts": "sha256:8f1ab4774be1959e82c97da20ec8b293f3f10262f95393d2ae57e4c7817353cb",
|
|
105
105
|
"gen-ts/ai-gateway-key-lookup.ts": "sha256:e55fc9a2252d5e7e1a383a58c8b92f22d8147ee4862a893a6cfe815b4225fc00",
|
|
106
106
|
"gen-ts/ai-gateway-key-token.ts": "sha256:ff6551ad3332cc665878d7ec93f42ce185c375e637531b2fbc82c697b877e784",
|
|
107
|
-
"gen-ts/ai-governance-decision.ts": "sha256:
|
|
107
|
+
"gen-ts/ai-governance-decision.ts": "sha256:cd9f24d6381cffe73f08532cf556eaa9ecb815b23218f7ac504f3bc26e686b2b",
|
|
108
108
|
"gen-ts/ai-metering-policy.ts": "sha256:dd261d57646a509cd46efaefac4aad58d018c7f7da98326dd8859e4ce951c56a",
|
|
109
|
-
"gen-ts/ai-policy-snapshot.ts": "sha256:
|
|
110
|
-
"gen-ts/ai-pricing-revision.ts": "sha256:
|
|
109
|
+
"gen-ts/ai-policy-snapshot.ts": "sha256:8e9dcc01ba3121f0c834d7d953b4115503f312d21bd1fdde6685322a1e7e9c8e",
|
|
110
|
+
"gen-ts/ai-pricing-revision.ts": "sha256:5a6743db7a782cc87e2087aaa245e8083bc54f5a6275d280b65214328aaa8ac6",
|
|
111
111
|
"gen-ts/ai-runtime-binding.ts": "sha256:176c830d400ce44c508f8d249bb3c9724b2d595b78262615487cdafc4790263e",
|
|
112
|
-
"gen-ts/ai-runtime-contract.ts": "sha256:
|
|
112
|
+
"gen-ts/ai-runtime-contract.ts": "sha256:8c4b9c071dfe33df30d9861953d9ee88ea509a7fc6eadc1c804f3cdcc5614d18",
|
|
113
113
|
"gen-ts/ai-trace-event-v2.ts": "sha256:8c994355f290864da1cf42850c3eceb0e4a1567b45ed989de865213430d3ce0e",
|
|
114
|
-
"gen-ts/ai-trace-event.ts": "sha256:
|
|
114
|
+
"gen-ts/ai-trace-event.ts": "sha256:0711e3eb45510013e9a947209c3e1a2ca969124ad4df65a86b93853e1b9cbae2",
|
|
115
115
|
"gen-ts/ai-transform-event.ts": "sha256:c8b520e01ce12b0e3a5ebe03a3ca63cc83368f26e1eef933de732c4fc1c504f9",
|
|
116
116
|
"gen-ts/ai-transform-result.ts": "sha256:208c66b2aeb425c0cbcc18b7191f6e8989443f2b2c1690648e0e06cc1448ce25",
|
|
117
117
|
"gen-ts/ai-verification-evidence.ts": "sha256:979439d77f8b47631d1eb3b6c3c54ea6fec41089d2a51dc815fd370b1c4917fc",
|
|
118
118
|
"gen-ts/api-error-response.ts": "sha256:0fd73be282e7a5d72d6c343a4e64d09c232556b16161167f0cffd6278ed7e3d3",
|
|
119
119
|
"gen-ts/artifact-contract.ts": "sha256:2c1b3986e3561553c53db1a6f406924e7bb22205dce969d8aecaa238707a2072",
|
|
120
120
|
"gen-ts/binding-classification-digest-helper.ts": "sha256:40fc7d85b4c3f3ffc5caf7d7950c62d013c83ee42058c7453b2100d95817f167",
|
|
121
|
-
"gen-ts/binding-classification-subject.ts": "sha256:
|
|
121
|
+
"gen-ts/binding-classification-subject.ts": "sha256:4c734cc3152384800178fa29cb7f0f538dcfdb51d9d00238df773ab7ac216811",
|
|
122
122
|
"gen-ts/data-dependency.ts": "sha256:0572c31d7ae9088eccc104eee1a205bf176d1d6dacfaf0f290d666024e284966",
|
|
123
123
|
"gen-ts/data-grant.ts": "sha256:2358579d8aa1e57b01a6f2b0eacce5531e7f21ef226404c9809925365e0d6155",
|
|
124
124
|
"gen-ts/data-source.ts": "sha256:71be83b050468c2ea8c5830d28f1837c2b5929d23b4fdf6661bc5bfe8999904c",
|
|
125
|
-
"gen-ts/deploy-request.ts": "sha256:
|
|
125
|
+
"gen-ts/deploy-request.ts": "sha256:fce5ee4c71687d785723c3b7bb09ffb9b44f7139a639214f70af911fb77e1926",
|
|
126
126
|
"gen-ts/deploy-response.ts": "sha256:364d9f1acf32e491498237cdd3f402d5f8e102f208db7748034f4ec68c6a6137",
|
|
127
127
|
"gen-ts/deployment-environment.ts": "sha256:bbd6eec3a1631b13a8de6e6b95081696f7be01d0bd2bf1b7a9e3a1db809a727c",
|
|
128
128
|
"gen-ts/deployment-source.ts": "sha256:8ccb55aaa7260eb6d19a00987d6a20a4b514e343564da13f27cd7fee8013500a",
|
|
@@ -135,10 +135,10 @@
|
|
|
135
135
|
"gen-ts/error-envelope.ts": "sha256:4457309be794f9d4fc0cf62530cc2d442c007bac9ae84aff66df099cc9e40310",
|
|
136
136
|
"gen-ts/index.ts": "sha256:cf2c63faf3af73a0b4fb7bac7f51f18b4c72d854a78aef8e4c7625dfc96a27f7",
|
|
137
137
|
"gen-ts/kvs-routing-entry.ts": "sha256:d92e85ee9f257d77850d1d3aac9438e2055f38084ff84a48fcedae239d47d4ca",
|
|
138
|
-
"gen-ts/promotion-request.ts": "sha256:
|
|
138
|
+
"gen-ts/promotion-request.ts": "sha256:344081ff99add085787be73449eafa3c99e2740a985d8c0dd2cf69b38a35d501",
|
|
139
139
|
"gen-ts/promotion-response.ts": "sha256:f1c9cafac96faeb02a443a31786f67714e818f38d90108e7af41958396524d6f",
|
|
140
140
|
"gen-ts/sanitized-binding-digest-helper.ts": "sha256:c47d7fdc20500e2e72c23fe39ecdd610fc397c47fcba51335ebec3c380fe6872",
|
|
141
|
-
"gen-ts/sanitized-binding-evidence.ts": "sha256:
|
|
141
|
+
"gen-ts/sanitized-binding-evidence.ts": "sha256:8e796ee8be8a52470e7d4fc0276838edb6bff3a1ded41ad24859e68dd5c0e6f1",
|
|
142
142
|
"gen-ts/secret-reference.ts": "sha256:a8b65de72705b6f51f57cd8ca58881483108005b1fa4d19106c3e9cf1fa877e7",
|
|
143
143
|
"gen-ts/transform-report.ts": "sha256:154617c0bc4b8e36d7edd07640454c89fad8ec34b02aa85c904c9acd9855a6c3",
|
|
144
144
|
"gen-ts/version-state-machine.ts": "sha256:4371bc7e2bde86b0447f5242104c576cc160dfd7dae1885acbfb63540f230bdd",
|
|
@@ -89,7 +89,7 @@ export interface AiPolicyClassificationMinimum {
|
|
|
89
89
|
}
|
|
90
90
|
export interface AiPolicyProvider {
|
|
91
91
|
id: AiPolicyIdentifier;
|
|
92
|
-
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
92
|
+
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram';
|
|
93
93
|
baseUrl?: string;
|
|
94
94
|
credentialSecretRef: string;
|
|
95
95
|
enabled: boolean;
|
|
@@ -102,7 +102,7 @@ export interface AiPolicyModel {
|
|
|
102
102
|
* @minItems 1
|
|
103
103
|
* @maxItems 2
|
|
104
104
|
*/
|
|
105
|
-
capabilities: ('generation' | 'embeddings' | 'transcription' | 'translation' | 'speech' | 'image' | 'realtime')[];
|
|
105
|
+
capabilities: ('generation' | 'embeddings' | 'transcription' | 'translation' | 'speech' | 'image' | 'video' | 'realtime')[];
|
|
106
106
|
approved: boolean;
|
|
107
107
|
pricing: AiPolicyPricing;
|
|
108
108
|
}
|
|
@@ -113,6 +113,7 @@ export interface AiPolicyPricing {
|
|
|
113
113
|
outputMicroUsdPerMillion: number;
|
|
114
114
|
mediaMicroUsdPerUnit?: {
|
|
115
115
|
audio_seconds?: number;
|
|
116
|
+
audio_characters?: number;
|
|
116
117
|
image_count?: number;
|
|
117
118
|
video_seconds?: number;
|
|
118
119
|
};
|
|
@@ -120,7 +121,7 @@ export interface AiPolicyPricing {
|
|
|
120
121
|
export interface AiPolicyRoute {
|
|
121
122
|
alias: AiPolicyIdentifier;
|
|
122
123
|
version: number;
|
|
123
|
-
capability: 'generation' | 'embeddings' | 'transcription' | 'translation' | 'speech' | 'image' | 'realtime';
|
|
124
|
+
capability: 'generation' | 'embeddings' | 'transcription' | 'translation' | 'speech' | 'image' | 'video' | 'realtime';
|
|
124
125
|
/**
|
|
125
126
|
* @minItems 1
|
|
126
127
|
* @maxItems 16
|
|
@@ -6,7 +6,7 @@ export type AiPricingDigest = string;
|
|
|
6
6
|
export interface AiPricingRevision {
|
|
7
7
|
schema: 'harbour.ai-pricing-revision/2.0';
|
|
8
8
|
revisionId: AiPricingIdentifier;
|
|
9
|
-
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
9
|
+
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram';
|
|
10
10
|
providerModel: string;
|
|
11
11
|
region?: AiPricingIdentifier;
|
|
12
12
|
currency: 'USD';
|
|
@@ -14,7 +14,7 @@ export type AiTraceEvent = {
|
|
|
14
14
|
routeRevision?: string;
|
|
15
15
|
requestedModel?: string;
|
|
16
16
|
governedModelAlias?: string;
|
|
17
|
-
provider?: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
17
|
+
provider?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram';
|
|
18
18
|
providerModel?: string;
|
|
19
19
|
outcome: 'succeeded' | 'blocked' | 'failed' | 'cancelled';
|
|
20
20
|
usage?: AiTraceUsage;
|
|
@@ -42,7 +42,7 @@ export type AiTraceIdentifier = string;
|
|
|
42
42
|
export type AiTraceDigest = string;
|
|
43
43
|
export type AiTraceAttempt = {
|
|
44
44
|
attempt: number;
|
|
45
|
-
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
45
|
+
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram';
|
|
46
46
|
providerModel: string;
|
|
47
47
|
priceRevision: AiTraceIdentifier;
|
|
48
48
|
outcome: 'succeeded' | 'failed' | 'timed_out' | 'cancelled';
|
|
@@ -15,7 +15,7 @@ export type BindingClassificationEntry = {
|
|
|
15
15
|
category?: BindingClassificationCredentialCategory;
|
|
16
16
|
requestedAiMappingId?: BindingClassificationIdentifier;
|
|
17
17
|
};
|
|
18
|
-
export type BindingClassificationProviderId = 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
18
|
+
export type BindingClassificationProviderId = 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
19
19
|
/**
|
|
20
20
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
21
21
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const ContractRepositoryVersion: "0.
|
|
2
|
-
export declare const ContractPublishVersion: "0.
|
|
3
|
-
export declare const ContractPublishTag: "v0.
|
|
4
|
-
export declare const ContractSchemasDigest: "sha256:
|
|
5
|
-
export declare const ContractAiFixturesDigest: "sha256:
|
|
6
|
-
export declare const ContractGeneratedGoDigest: "sha256:
|
|
7
|
-
export declare const ContractGeneratedTypeScriptDigest: "sha256:
|
|
1
|
+
export declare const ContractRepositoryVersion: "0.19.0.0";
|
|
2
|
+
export declare const ContractPublishVersion: "0.19.0";
|
|
3
|
+
export declare const ContractPublishTag: "v0.19.0";
|
|
4
|
+
export declare const ContractSchemasDigest: "sha256:3263c4ee323353316aeecc8741ce8dc7a740652a73e35587123fbf2330926b28";
|
|
5
|
+
export declare const ContractAiFixturesDigest: "sha256:5d68828a1364dc63cafbb3c2d3f5c5f6c232d5333e7668a9c79e7652e5144b42";
|
|
6
|
+
export declare const ContractGeneratedGoDigest: "sha256:ef74356afbc6a36a543f6f6fe572b77dc3691ce2201f0654644d2a7f29a4ced4";
|
|
7
|
+
export declare const ContractGeneratedTypeScriptDigest: "sha256:6bb6b13ea4722e3ec9e9d91c672461ec24b29076aeae0b14b62380cced658e92";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Code generated by tools/gen/gen.mjs from schema/*.json. DO NOT EDIT.
|
|
3
|
-
export const ContractRepositoryVersion = "0.
|
|
4
|
-
export const ContractPublishVersion = "0.
|
|
5
|
-
export const ContractPublishTag = "v0.
|
|
6
|
-
export const ContractSchemasDigest = "sha256:
|
|
7
|
-
export const ContractAiFixturesDigest = "sha256:
|
|
8
|
-
export const ContractGeneratedGoDigest = "sha256:
|
|
9
|
-
export const ContractGeneratedTypeScriptDigest = "sha256:
|
|
3
|
+
export const ContractRepositoryVersion = "0.19.0.0";
|
|
4
|
+
export const ContractPublishVersion = "0.19.0";
|
|
5
|
+
export const ContractPublishTag = "v0.19.0";
|
|
6
|
+
export const ContractSchemasDigest = "sha256:3263c4ee323353316aeecc8741ce8dc7a740652a73e35587123fbf2330926b28";
|
|
7
|
+
export const ContractAiFixturesDigest = "sha256:5d68828a1364dc63cafbb3c2d3f5c5f6c232d5333e7668a9c79e7652e5144b42";
|
|
8
|
+
export const ContractGeneratedGoDigest = "sha256:ef74356afbc6a36a543f6f6fe572b77dc3691ce2201f0654644d2a7f29a4ced4";
|
|
9
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:6bb6b13ea4722e3ec9e9d91c672461ec24b29076aeae0b14b62380cced658e92";
|
|
@@ -21,7 +21,7 @@ export type DeployRequestEnvironmentBinding1 = {
|
|
|
21
21
|
type BindingClassificationEntry = {
|
|
22
22
|
kind: 'configuration' | 'secret' | 'provider_credential';
|
|
23
23
|
confidence: 'high' | 'low';
|
|
24
|
-
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
24
|
+
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
25
25
|
/**
|
|
26
26
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
27
27
|
*/
|
|
@@ -109,6 +109,6 @@ interface BindingClassificationSubject {
|
|
|
109
109
|
}
|
|
110
110
|
interface BindingClassificationAiMapping {
|
|
111
111
|
mappingVersion: string;
|
|
112
|
-
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
112
|
+
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
113
113
|
}
|
|
114
114
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type BindingClassificationEntry = {
|
|
2
2
|
kind: 'configuration' | 'secret' | 'provider_credential';
|
|
3
3
|
confidence: 'high' | 'low';
|
|
4
|
-
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
4
|
+
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
5
5
|
/**
|
|
6
6
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
7
7
|
*/
|
|
@@ -87,6 +87,6 @@ interface BindingClassificationSubject {
|
|
|
87
87
|
}
|
|
88
88
|
interface BindingClassificationAiMapping {
|
|
89
89
|
mappingVersion: string;
|
|
90
|
-
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
90
|
+
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
91
91
|
}
|
|
92
92
|
export {};
|
|
@@ -13,7 +13,7 @@ export type SanitizedRuntimeBinding = {
|
|
|
13
13
|
*/
|
|
14
14
|
secretRef?: string;
|
|
15
15
|
};
|
|
16
|
-
export type SanitizedBindingProviderId = 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
16
|
+
export type SanitizedBindingProviderId = 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
17
17
|
/**
|
|
18
18
|
* Immutable DCP allocation receipt and sanitized runtime-binding set for one exact allocated version and normalized source revision. DCP persists this evidence atomically with version admission before publish or provisioning. classificationDigest chains to the caller's pre-allocation BindingClassificationSubject; bindings contain only approved configuration, app secrets or approved data-source credential references and never an AI-mapping-owned provider credential.
|
|
19
19
|
*/
|
package/dist/resolver/index.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export type { AiPolicySnapshot, AiPolicyGuardrailRule, AiPolicyGuardrailParamete
|
|
|
42
42
|
* revision rather than guessed at. Bump on ANY change to the merge rules, the
|
|
43
43
|
* platform baseline, or the classification minimums. */
|
|
44
44
|
export declare const RESOLVER_VERSION = "1.0.0";
|
|
45
|
-
export type AiProviderType = "openai" | "anthropic" | "gemini" | "openrouter";
|
|
45
|
+
export type AiProviderType = "openai" | "anthropic" | "gemini" | "openrouter" | "deepseek" | "elevenlabs" | "deepgram";
|
|
46
46
|
export type AiCaptureMode = "OFF" | "BEST_EFFORT" | "REQUIRED";
|
|
47
47
|
export type AiDataClassification = "Green" | "Yellow" | "Orange" | "Red";
|
|
48
48
|
export type AiGuardrailAction = "ALLOW" | "OBSERVE" | "REDACT" | "BLOCK";
|
|
@@ -152,6 +152,7 @@ export type AiModelAliasAssignment = {
|
|
|
152
152
|
translation?: string;
|
|
153
153
|
speech?: string;
|
|
154
154
|
image?: string;
|
|
155
|
+
video?: string;
|
|
155
156
|
realtime?: string;
|
|
156
157
|
};
|
|
157
158
|
declare const narrowedBrand: unique symbol;
|
package/dist/resolver/index.js
CHANGED
|
@@ -272,7 +272,7 @@ export function mergeKeyedFamily(tenant, application, rules) {
|
|
|
272
272
|
* another route. `{ ...tenant, ...application }` made the application the
|
|
273
273
|
* authority for both. */
|
|
274
274
|
export function mergeModelAliases(tenant, application) {
|
|
275
|
-
const merged = ["generation", "embeddings", "transcription", "translation", "speech", "image", "realtime"].map(capability => {
|
|
275
|
+
const merged = ["generation", "embeddings", "transcription", "translation", "speech", "image", "video", "realtime"].map(capability => {
|
|
276
276
|
const assigned = application[capability];
|
|
277
277
|
if (assigned === undefined)
|
|
278
278
|
return {};
|
|
@@ -93,7 +93,7 @@ export interface AiPolicyClassificationMinimum {
|
|
|
93
93
|
}
|
|
94
94
|
export interface AiPolicyProvider {
|
|
95
95
|
id: AiPolicyIdentifier;
|
|
96
|
-
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
96
|
+
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram';
|
|
97
97
|
baseUrl?: string;
|
|
98
98
|
credentialSecretRef: string;
|
|
99
99
|
enabled: boolean;
|
|
@@ -106,7 +106,9 @@ export interface AiPolicyModel {
|
|
|
106
106
|
* @minItems 1
|
|
107
107
|
* @maxItems 2
|
|
108
108
|
*/
|
|
109
|
-
capabilities: (
|
|
109
|
+
capabilities: (
|
|
110
|
+
'generation' | 'embeddings' | 'transcription' | 'translation' | 'speech' | 'image' | 'video' | 'realtime'
|
|
111
|
+
)[];
|
|
110
112
|
approved: boolean;
|
|
111
113
|
pricing: AiPolicyPricing;
|
|
112
114
|
}
|
|
@@ -117,6 +119,7 @@ export interface AiPolicyPricing {
|
|
|
117
119
|
outputMicroUsdPerMillion: number;
|
|
118
120
|
mediaMicroUsdPerUnit?: {
|
|
119
121
|
audio_seconds?: number;
|
|
122
|
+
audio_characters?: number;
|
|
120
123
|
image_count?: number;
|
|
121
124
|
video_seconds?: number;
|
|
122
125
|
};
|
|
@@ -124,7 +127,7 @@ export interface AiPolicyPricing {
|
|
|
124
127
|
export interface AiPolicyRoute {
|
|
125
128
|
alias: AiPolicyIdentifier;
|
|
126
129
|
version: number;
|
|
127
|
-
capability: 'generation' | 'embeddings' | 'transcription' | 'translation' | 'speech' | 'image' | 'realtime';
|
|
130
|
+
capability: 'generation' | 'embeddings' | 'transcription' | 'translation' | 'speech' | 'image' | 'video' | 'realtime';
|
|
128
131
|
/**
|
|
129
132
|
* @minItems 1
|
|
130
133
|
* @maxItems 16
|
|
@@ -10,7 +10,7 @@ export type AiPricingDigest = string;
|
|
|
10
10
|
export interface AiPricingRevision {
|
|
11
11
|
schema: 'harbour.ai-pricing-revision/2.0';
|
|
12
12
|
revisionId: AiPricingIdentifier;
|
|
13
|
-
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
13
|
+
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram';
|
|
14
14
|
providerModel: string;
|
|
15
15
|
region?: AiPricingIdentifier;
|
|
16
16
|
currency: 'USD';
|
package/gen-ts/ai-trace-event.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type AiTraceEvent = {
|
|
|
17
17
|
routeRevision?: string;
|
|
18
18
|
requestedModel?: string;
|
|
19
19
|
governedModelAlias?: string;
|
|
20
|
-
provider?: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
20
|
+
provider?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram';
|
|
21
21
|
providerModel?: string;
|
|
22
22
|
outcome: 'succeeded' | 'blocked' | 'failed' | 'cancelled';
|
|
23
23
|
usage?: AiTraceUsage;
|
|
@@ -45,7 +45,7 @@ export type AiTraceIdentifier = string;
|
|
|
45
45
|
export type AiTraceDigest = string;
|
|
46
46
|
export type AiTraceAttempt = {
|
|
47
47
|
attempt: number;
|
|
48
|
-
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
48
|
+
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram';
|
|
49
49
|
providerModel: string;
|
|
50
50
|
priceRevision: AiTraceIdentifier;
|
|
51
51
|
outcome: 'succeeded' | 'failed' | 'timed_out' | 'cancelled';
|
|
@@ -18,7 +18,8 @@ export type BindingClassificationEntry = {
|
|
|
18
18
|
category?: BindingClassificationCredentialCategory;
|
|
19
19
|
requestedAiMappingId?: BindingClassificationIdentifier;
|
|
20
20
|
};
|
|
21
|
-
export type BindingClassificationProviderId =
|
|
21
|
+
export type BindingClassificationProviderId =
|
|
22
|
+
'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
22
23
|
/**
|
|
23
24
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
24
25
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Code generated by tools/gen/gen.mjs from schema/*.json. DO NOT EDIT.
|
|
3
3
|
|
|
4
|
-
export const ContractRepositoryVersion = "0.
|
|
5
|
-
export const ContractPublishVersion = "0.
|
|
6
|
-
export const ContractPublishTag = "v0.
|
|
7
|
-
export const ContractSchemasDigest = "sha256:
|
|
8
|
-
export const ContractAiFixturesDigest = "sha256:
|
|
9
|
-
export const ContractGeneratedGoDigest = "sha256:
|
|
10
|
-
export const ContractGeneratedTypeScriptDigest = "sha256:
|
|
4
|
+
export const ContractRepositoryVersion = "0.19.0.0" as const;
|
|
5
|
+
export const ContractPublishVersion = "0.19.0" as const;
|
|
6
|
+
export const ContractPublishTag = "v0.19.0" as const;
|
|
7
|
+
export const ContractSchemasDigest = "sha256:3263c4ee323353316aeecc8741ce8dc7a740652a73e35587123fbf2330926b28" as const;
|
|
8
|
+
export const ContractAiFixturesDigest = "sha256:5d68828a1364dc63cafbb3c2d3f5c5f6c232d5333e7668a9c79e7652e5144b42" as const;
|
|
9
|
+
export const ContractGeneratedGoDigest = "sha256:ef74356afbc6a36a543f6f6fe572b77dc3691ce2201f0654644d2a7f29a4ced4" as const;
|
|
10
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:6bb6b13ea4722e3ec9e9d91c672461ec24b29076aeae0b14b62380cced658e92" as const;
|
package/gen-ts/deploy-request.ts
CHANGED
|
@@ -24,7 +24,7 @@ export type DeployRequestEnvironmentBinding1 = {
|
|
|
24
24
|
type BindingClassificationEntry = {
|
|
25
25
|
kind: 'configuration' | 'secret' | 'provider_credential';
|
|
26
26
|
confidence: 'high' | 'low';
|
|
27
|
-
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
27
|
+
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
28
28
|
/**
|
|
29
29
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
30
30
|
*/
|
|
@@ -113,5 +113,5 @@ interface BindingClassificationSubject {
|
|
|
113
113
|
}
|
|
114
114
|
interface BindingClassificationAiMapping {
|
|
115
115
|
mappingVersion: string;
|
|
116
|
-
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
116
|
+
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
117
117
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
type BindingClassificationEntry = {
|
|
5
5
|
kind: 'configuration' | 'secret' | 'provider_credential';
|
|
6
6
|
confidence: 'high' | 'low';
|
|
7
|
-
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
7
|
+
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
8
8
|
/**
|
|
9
9
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
10
10
|
*/
|
|
@@ -91,5 +91,5 @@ interface BindingClassificationSubject {
|
|
|
91
91
|
}
|
|
92
92
|
interface BindingClassificationAiMapping {
|
|
93
93
|
mappingVersion: string;
|
|
94
|
-
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
94
|
+
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
95
95
|
}
|
|
@@ -16,7 +16,7 @@ export type SanitizedRuntimeBinding = {
|
|
|
16
16
|
*/
|
|
17
17
|
secretRef?: string;
|
|
18
18
|
};
|
|
19
|
-
export type SanitizedBindingProviderId = 'openai' | 'anthropic' | 'gemini' | 'openrouter';
|
|
19
|
+
export type SanitizedBindingProviderId = 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Immutable DCP allocation receipt and sanitized runtime-binding set for one exact allocated version and normalized source revision. DCP persists this evidence atomically with version admission before publish or provisioning. classificationDigest chains to the caller's pre-allocation BindingClassificationSubject; bindings contain only approved configuration, app secrets or approved data-source credential references and never an AI-mapping-owned provider credential.
|
package/package.json
CHANGED
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"translation": { "type": "string", "minLength": 3, "maxLength": 160 },
|
|
71
71
|
"speech": { "type": "string", "minLength": 3, "maxLength": 160 },
|
|
72
72
|
"image": { "type": "string", "minLength": 3, "maxLength": 160 },
|
|
73
|
+
"video": { "type": "string", "minLength": 3, "maxLength": 160 },
|
|
73
74
|
"realtime": { "type": "string", "minLength": 3, "maxLength": 160 }
|
|
74
75
|
}
|
|
75
76
|
},
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"required": ["id", "provider", "credentialSecretRef", "enabled"],
|
|
109
109
|
"properties": {
|
|
110
110
|
"id": { "$ref": "#/definitions/AiPolicyIdentifier" },
|
|
111
|
-
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter"] },
|
|
111
|
+
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram"] },
|
|
112
112
|
"baseUrl": { "type": "string", "format": "uri", "maxLength": 512 },
|
|
113
113
|
"credentialSecretRef": {
|
|
114
114
|
"type": "string",
|
|
@@ -132,6 +132,7 @@
|
|
|
132
132
|
"additionalProperties": false,
|
|
133
133
|
"properties": {
|
|
134
134
|
"audio_seconds": { "type": "integer", "minimum": 0 },
|
|
135
|
+
"audio_characters": { "type": "integer", "minimum": 0 },
|
|
135
136
|
"image_count": { "type": "integer", "minimum": 0 },
|
|
136
137
|
"video_seconds": { "type": "integer", "minimum": 0 }
|
|
137
138
|
}
|
|
@@ -151,7 +152,7 @@
|
|
|
151
152
|
"minItems": 1,
|
|
152
153
|
"maxItems": 2,
|
|
153
154
|
"uniqueItems": true,
|
|
154
|
-
"items": { "type": "string", "enum": ["generation", "embeddings", "transcription", "translation", "speech", "image", "realtime"] }
|
|
155
|
+
"items": { "type": "string", "enum": ["generation", "embeddings", "transcription", "translation", "speech", "image", "video", "realtime"] }
|
|
155
156
|
},
|
|
156
157
|
"approved": { "type": "boolean" },
|
|
157
158
|
"pricing": { "$ref": "#/definitions/AiPolicyPricing" }
|
|
@@ -174,7 +175,7 @@
|
|
|
174
175
|
"properties": {
|
|
175
176
|
"alias": { "$ref": "#/definitions/AiPolicyIdentifier" },
|
|
176
177
|
"version": { "type": "integer", "minimum": 1 },
|
|
177
|
-
"capability": { "type": "string", "enum": ["generation", "embeddings", "transcription", "translation", "speech", "image", "realtime"] },
|
|
178
|
+
"capability": { "type": "string", "enum": ["generation", "embeddings", "transcription", "translation", "speech", "image", "video", "realtime"] },
|
|
178
179
|
"targets": {
|
|
179
180
|
"type": "array",
|
|
180
181
|
"minItems": 1,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"properties": {
|
|
10
10
|
"schema": { "type": "string", "const": "harbour.ai-pricing-revision/2.0" },
|
|
11
11
|
"revisionId": { "$ref": "#/definitions/AiPricingIdentifier" },
|
|
12
|
-
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter"] },
|
|
12
|
+
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram"] },
|
|
13
13
|
"providerModel": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
14
14
|
"region": { "$ref": "#/definitions/AiPricingIdentifier" },
|
|
15
15
|
"currency": { "type": "string", "const": "USD" },
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"translation": { "$ref": "#/definitions/AiRuntimeModelAlias" },
|
|
55
55
|
"speech": { "$ref": "#/definitions/AiRuntimeModelAlias" },
|
|
56
56
|
"image": { "$ref": "#/definitions/AiRuntimeModelAlias" },
|
|
57
|
+
"video": { "$ref": "#/definitions/AiRuntimeModelAlias" },
|
|
57
58
|
"realtime": { "$ref": "#/definitions/AiRuntimeModelAlias" }
|
|
58
59
|
}
|
|
59
60
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"routeRevision": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
43
43
|
"requestedModel": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
44
44
|
"governedModelAlias": { "type": "string", "minLength": 1, "maxLength": 160 },
|
|
45
|
-
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter"] },
|
|
45
|
+
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram"] },
|
|
46
46
|
"providerModel": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
47
47
|
"outcome": { "type": "string", "enum": ["succeeded", "blocked", "failed", "cancelled"] },
|
|
48
48
|
"usage": { "$ref": "#/definitions/AiTraceUsage" },
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"required": ["attempt", "provider", "providerModel", "priceRevision", "outcome", "usage", "costMicroUsd", "latencyMs"],
|
|
135
135
|
"properties": {
|
|
136
136
|
"attempt": { "type": "integer", "minimum": 1, "maximum": 32 },
|
|
137
|
-
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter"] },
|
|
137
|
+
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram"] },
|
|
138
138
|
"providerModel": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
139
139
|
"priceRevision": { "$ref": "#/definitions/AiTraceIdentifier" },
|
|
140
140
|
"outcome": { "type": "string", "enum": ["succeeded", "failed", "timed_out", "cancelled"] },
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"BindingClassificationProviderId": {
|
|
66
66
|
"type": "string",
|
|
67
|
-
"enum": ["openai", "anthropic", "gemini", "openrouter"]
|
|
67
|
+
"enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "deepgram"]
|
|
68
68
|
},
|
|
69
69
|
"BindingClassificationCredentialCategory": {
|
|
70
70
|
"description": "Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"SanitizedBindingProviderId": {
|
|
64
64
|
"type": "string",
|
|
65
|
-
"enum": ["openai", "anthropic", "gemini", "openrouter"]
|
|
65
|
+
"enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "deepgram"]
|
|
66
66
|
},
|
|
67
67
|
"SanitizedBindingAiMapping": {
|
|
68
68
|
"type": "object",
|