@fourier-labs/harbour-contracts 0.102.0 → 0.103.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 +19 -19
- package/dist/gen-ts/ai-policy-snapshot.d.ts +1 -1
- package/dist/gen-ts/ai-pricing-revision.d.ts +1 -1
- 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 +6 -6
- package/dist/gen-ts/contract-release.js +6 -6
- 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 +1 -1
- package/dist/resolver/index.js +5 -5
- package/gen-ts/ai-policy-snapshot.ts +2 -1
- package/gen-ts/ai-pricing-revision.ts +2 -1
- package/gen-ts/ai-trace-event.ts +4 -2
- package/gen-ts/binding-classification-subject.ts +10 -1
- package/gen-ts/contract-release.ts +6 -6
- package/gen-ts/deploy-request.ts +20 -2
- package/gen-ts/promotion-request.ts +20 -2
- package/gen-ts/sanitized-binding-evidence.ts +10 -1
- package/package.json +1 -1
- package/schema/ai-policy-snapshot.schema.json +1 -1
- package/schema/ai-pricing-revision.schema.json +1 -1
- 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:
|
|
3
|
+
"repositoryVersion": "0.103.0.0",
|
|
4
|
+
"publishVersion": "0.103.0",
|
|
5
|
+
"publishTag": "v0.103.0",
|
|
6
|
+
"schemasDigest": "sha256:834e5cbeb45c05b1631152db45981c272b9e2f34ff73509d22fc40a4f2a1d43a",
|
|
7
7
|
"aiFixturesDigest": "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6",
|
|
8
|
-
"generatedGoDigest": "sha256:
|
|
9
|
-
"generatedTypeScriptDigest": "sha256:
|
|
8
|
+
"generatedGoDigest": "sha256:b537d21916ff90f716f482eefc33371cf639ac969cadf69105fdd951c0805209",
|
|
9
|
+
"generatedTypeScriptDigest": "sha256:937c0e54c5c268d3127adaec3265eb4dc6e21ca784301a60b69365dbe2fb4956",
|
|
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)"
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"schema/ai-gateway-key-lookup.schema.json": "sha256:7d362ded73c0da6b433f3c73afeabea4c38c5d6fc92c391c7ded727324deddf2",
|
|
22
22
|
"schema/ai-governance-decision.schema.json": "sha256:0b7bffb67306087eea0f80a0a15c748e206a6e0df7184d77bf13eae8cf2a7047",
|
|
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:d8cdfad6eca8157e2bc3258ab44cce6dc7ad516738d65aa35a46f4d8f897f51e",
|
|
25
|
+
"schema/ai-pricing-revision.schema.json": "sha256:79fda413bddab821fc25e7485a56ddeee578f7c718ad29b62086887ceac04410",
|
|
26
26
|
"schema/ai-runtime-binding.schema.json": "sha256:e99f983e78478b50114e0b2c940bb5bb30a4645cfd7fbddb7e0cf161d6d28502",
|
|
27
27
|
"schema/ai-runtime-contract.schema.json": "sha256:02e0d919de3bdc1823cd51b9c0cb51ee6ecb5f4bd5c242d3ecb962e8055c90c7",
|
|
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:a77fb20e7b1217684e1aa01689008fa3e04cdfd7f6cebef7358aa4f72bfcba04",
|
|
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",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"schema/app-integrations-declaration.schema.json": "sha256:2fab400674c79e53279d68cfa97a0bf8dc70d3379d4a0197ca945b4bb446b85b",
|
|
35
35
|
"schema/app-sign-in.schema.json": "sha256:2093740131b84a69757c2e474d16e32ff5d0bf0edd6f6f8de62ede7f82988f29",
|
|
36
36
|
"schema/artifact-contract.schema.json": "sha256:8047b461a1c6d07bbe867a259c57bdf5cc0fdf282cf842ec7b683a9e93713b10",
|
|
37
|
-
"schema/binding-classification-subject.schema.json": "sha256:
|
|
37
|
+
"schema/binding-classification-subject.schema.json": "sha256:c76c0232f0377d3b86162222d5789ac64c357899ea9f722d889b138593967af3",
|
|
38
38
|
"schema/builder-input-proposal.schema.json": "sha256:fe85cffa6d76b1e1effe1f5d75525f8fe0e1eaa3be4a304e491aa23ad72c0e72",
|
|
39
39
|
"schema/data-dependency.schema.json": "sha256:b4cc2b2484e982cfed64c0f56b8f1e9d1363c71854cd71f845b24fbe7d85c971",
|
|
40
40
|
"schema/data-grant-v2.schema.json": "sha256:5018753512a27cf844f465104fee9716e410832f37ac7f01185b81633cd15b5e",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"schema/promotion-response.schema.json": "sha256:4129712d2e29d6ef21d93d4bd0bacfd60ada3f2ee0ade852824e64346b817634",
|
|
70
70
|
"schema/resolved-app-serving.schema.json": "sha256:3b49268e189429310c2a5dcfd45e9d2187c80b6dbb9d329a0177e96e065c31c0",
|
|
71
71
|
"schema/saas-connection.schema.json": "sha256:8482db96f53d1738b89f58035ac1e92bba400c8510a9694ece775936794132aa",
|
|
72
|
-
"schema/sanitized-binding-evidence.schema.json": "sha256:
|
|
72
|
+
"schema/sanitized-binding-evidence.schema.json": "sha256:2fe48771757930178a2cedf22a39b60cf9e871ea5615926ee1d6bb20bbbf892d",
|
|
73
73
|
"schema/secret-reference.schema.json": "sha256:db4e3c2c6a2dbd72d7ea0f9c91cb3b2343a7e67b601996c6818b2ef08e440895",
|
|
74
74
|
"schema/security-scan-input-v2.schema.json": "sha256:0d418342078c9b5046ea6f4bef3c2c57539285dfee99cc0850d4f0d03739ee13",
|
|
75
75
|
"schema/security-verdict.schema.json": "sha256:f4a1c109ed27779374c52daccb0a96589613db4f3cf030a8b0e4713bf1b3dbff",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"gen-go/integration_execute_input_rules_test.go": "sha256:0b04eb79d07764796e72fc9f3407f5852d377e636af96f6cc5ee34e2691113ff",
|
|
119
119
|
"gen-go/integration_operations.go": "sha256:a60ac73a7860b1b330b022ddde0c82e7ef146cc40ad22821013c8bdb73f9db28",
|
|
120
120
|
"gen-go/schema_documents.go": "sha256:c19c0d540f602ee997a84b90e20702d9bc63ed7d27aec267e76c04655fc182e0",
|
|
121
|
-
"gen-go/types.go": "sha256:
|
|
121
|
+
"gen-go/types.go": "sha256:0f5bbdc53a9b3cb1564b239f54d7dd2965713e1538d6b5c37b48703bd5c12b65",
|
|
122
122
|
"gen-go/version_state.go": "sha256:4ef8abb126414c0025cf2c59bc9c79a74ef4a2ff89e8f316cbf05acc872371c1"
|
|
123
123
|
},
|
|
124
124
|
"generatedTypeScript": {
|
|
@@ -133,12 +133,12 @@
|
|
|
133
133
|
"gen-ts/ai-gateway-key-token.ts": "sha256:ff6551ad3332cc665878d7ec93f42ce185c375e637531b2fbc82c697b877e784",
|
|
134
134
|
"gen-ts/ai-governance-decision.ts": "sha256:607806483ae210012cea76625b7b32f70a3d374d17e6187a27d719c7811b8b72",
|
|
135
135
|
"gen-ts/ai-metering-policy.ts": "sha256:dd261d57646a509cd46efaefac4aad58d018c7f7da98326dd8859e4ce951c56a",
|
|
136
|
-
"gen-ts/ai-policy-snapshot.ts": "sha256:
|
|
137
|
-
"gen-ts/ai-pricing-revision.ts": "sha256:
|
|
136
|
+
"gen-ts/ai-policy-snapshot.ts": "sha256:348174515a1b42240e797b5366dd40be94d1bb44d0fe2bc845324206685127db",
|
|
137
|
+
"gen-ts/ai-pricing-revision.ts": "sha256:a10df43b88feaae5ecd21c11b6c60b64006879cfc06857387acb878980e161bb",
|
|
138
138
|
"gen-ts/ai-runtime-binding.ts": "sha256:3930989c01e2b90041b5a8f9eaf9d8612854c9088090ca82e5687b85f26e106f",
|
|
139
139
|
"gen-ts/ai-runtime-contract.ts": "sha256:9c252777abc88d154d1a8479dd22f268c6abda28669a0940aa0454868661bb46",
|
|
140
140
|
"gen-ts/ai-trace-event-v2.ts": "sha256:8c994355f290864da1cf42850c3eceb0e4a1567b45ed989de865213430d3ce0e",
|
|
141
|
-
"gen-ts/ai-trace-event.ts": "sha256:
|
|
141
|
+
"gen-ts/ai-trace-event.ts": "sha256:bc7c8c6bc4bb00401532be2f12daa759ace8e2b15d4770b9de133b457ab8f003",
|
|
142
142
|
"gen-ts/ai-transform-event.ts": "sha256:c8b520e01ce12b0e3a5ebe03a3ca63cc83368f26e1eef933de732c4fc1c504f9",
|
|
143
143
|
"gen-ts/ai-transform-result.ts": "sha256:208c66b2aeb425c0cbcc18b7191f6e8989443f2b2c1690648e0e06cc1448ce25",
|
|
144
144
|
"gen-ts/ai-verification-evidence.ts": "sha256:979439d77f8b47631d1eb3b6c3c54ea6fec41089d2a51dc815fd370b1c4917fc",
|
|
@@ -147,13 +147,13 @@
|
|
|
147
147
|
"gen-ts/app-sign-in.ts": "sha256:bf88671c00e9d9badb5ffc961a7e803cf92cee5a98c2f6c9e3172bbf5aaf0424",
|
|
148
148
|
"gen-ts/artifact-contract.ts": "sha256:4a6dc6d2caaeed4bb2066cc8a333e6e09e5a0d4745e0b1038293d54ab9403aeb",
|
|
149
149
|
"gen-ts/binding-classification-digest-helper.ts": "sha256:40fc7d85b4c3f3ffc5caf7d7950c62d013c83ee42058c7453b2100d95817f167",
|
|
150
|
-
"gen-ts/binding-classification-subject.ts": "sha256:
|
|
150
|
+
"gen-ts/binding-classification-subject.ts": "sha256:0dce37745279d69fc013757020befec5d966d21822971710d6c0a5476b8ee9e1",
|
|
151
151
|
"gen-ts/builder-input-proposal.ts": "sha256:b0108c3787873d3cf1a39f00967379418a6766275d3474cfa55f5a9d93ead174",
|
|
152
152
|
"gen-ts/data-dependency.ts": "sha256:259f19e2759395d72ead90b8ed74a6dcef0c2641124f4f182823138cfd19bedf",
|
|
153
153
|
"gen-ts/data-grant-v2.ts": "sha256:d03de6b7c3165a8f26ae4d5f0fad8864a5b6ad5506b4b68140191d9bc0cf177f",
|
|
154
154
|
"gen-ts/data-grant.ts": "sha256:2358579d8aa1e57b01a6f2b0eacce5531e7f21ef226404c9809925365e0d6155",
|
|
155
155
|
"gen-ts/data-source.ts": "sha256:2566f0d5c72e44278869f55211cf3d433aeb3552e57ae0ace0ff0b85e769dde6",
|
|
156
|
-
"gen-ts/deploy-request.ts": "sha256:
|
|
156
|
+
"gen-ts/deploy-request.ts": "sha256:9b0b58822f0e072c61df42c38679b34e449330d4909876c86b915afc6c1b05b6",
|
|
157
157
|
"gen-ts/deploy-response.ts": "sha256:364d9f1acf32e491498237cdd3f402d5f8e102f208db7748034f4ec68c6a6137",
|
|
158
158
|
"gen-ts/deployment-app-registration.ts": "sha256:bc6f5d8410b8dc9595f2feb2a32898ef0ef9f15d2a54da94cd362dc05e1bbd5f",
|
|
159
159
|
"gen-ts/deployment-continuation.ts": "sha256:cc9f63af4d0da5086a79103789e4f043783b75b4ed11c6512f044439a551a79c",
|
|
@@ -182,12 +182,12 @@
|
|
|
182
182
|
"gen-ts/kit-lock.ts": "sha256:06bddeaf1e2c449c9cc0dbbc696210355a9005349c604d4050eb22385fb4c22e",
|
|
183
183
|
"gen-ts/kvs-routing-entry.ts": "sha256:d92e85ee9f257d77850d1d3aac9438e2055f38084ff84a48fcedae239d47d4ca",
|
|
184
184
|
"gen-ts/mail-arrival-event.ts": "sha256:deb342c7f930a2c7bf66a46e4c0973e3b9047cd9725e714ccaeab8c64a89d25f",
|
|
185
|
-
"gen-ts/promotion-request.ts": "sha256:
|
|
185
|
+
"gen-ts/promotion-request.ts": "sha256:77b7e8bf6a867cf0c9c207c45bf99aae2bbcd9edb65ace593ea75183efadb683",
|
|
186
186
|
"gen-ts/promotion-response.ts": "sha256:f1c9cafac96faeb02a443a31786f67714e818f38d90108e7af41958396524d6f",
|
|
187
187
|
"gen-ts/resolved-app-serving.ts": "sha256:3264e85827be47bf391781cb13a1e58318d356f7bee8c2ff3e5b00a062253b23",
|
|
188
188
|
"gen-ts/saas-connection.ts": "sha256:d811dc7a0cd7d1a83e134928fc41e122262add238a8e424ef0b538bde532380d",
|
|
189
189
|
"gen-ts/sanitized-binding-digest-helper.ts": "sha256:c47d7fdc20500e2e72c23fe39ecdd610fc397c47fcba51335ebec3c380fe6872",
|
|
190
|
-
"gen-ts/sanitized-binding-evidence.ts": "sha256:
|
|
190
|
+
"gen-ts/sanitized-binding-evidence.ts": "sha256:6bcf5e34960048e8a3f5d2e2cbf3c2254a7ecbfc7d8a72e18a927ae74ca7ead9",
|
|
191
191
|
"gen-ts/secret-reference.ts": "sha256:731fbcde7315cb4128d5b01bdbe6e6f248f13c7ad8dea04a3a4e927ac4890198",
|
|
192
192
|
"gen-ts/security-scan-input-v2.ts": "sha256:cccbfc5dae0ea5a328e6b15525ac190a0aae522e3220dffe7e6c80c445d54610",
|
|
193
193
|
"gen-ts/security-verdict.ts": "sha256:beef7e4e23b385f3b18579f43bb4eb92b19aeef9e5089f3e9a149bf0067be4e8",
|
|
@@ -90,7 +90,7 @@ export interface AiPolicyClassificationMinimum {
|
|
|
90
90
|
}
|
|
91
91
|
export interface AiPolicyProvider {
|
|
92
92
|
id: AiPolicyIdentifier;
|
|
93
|
-
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
93
|
+
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
94
94
|
baseUrl?: string;
|
|
95
95
|
credentialSecretRef: string;
|
|
96
96
|
enabled: boolean;
|
|
@@ -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' | 'deepseek' | 'elevenlabs' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
9
|
+
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
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' | 'deepseek' | 'elevenlabs' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
17
|
+
provider?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
18
18
|
providerModel?: string;
|
|
19
19
|
outcome: 'succeeded' | 'blocked' | 'failed' | 'cancelled';
|
|
20
20
|
/**
|
|
@@ -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' | 'deepseek' | 'elevenlabs' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
48
|
+
provider: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'elevenlabs' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
49
49
|
providerModel: string;
|
|
50
50
|
priceRevision: AiTraceIdentifier;
|
|
51
51
|
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' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
18
|
+
export type BindingClassificationProviderId = 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
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:
|
|
1
|
+
export declare const ContractRepositoryVersion: "0.103.0.0";
|
|
2
|
+
export declare const ContractPublishVersion: "0.103.0";
|
|
3
|
+
export declare const ContractPublishTag: "v0.103.0";
|
|
4
|
+
export declare const ContractSchemasDigest: "sha256:834e5cbeb45c05b1631152db45981c272b9e2f34ff73509d22fc40a4f2a1d43a";
|
|
5
5
|
export declare const ContractAiFixturesDigest: "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
|
|
6
|
-
export declare const ContractGeneratedGoDigest: "sha256:
|
|
7
|
-
export declare const ContractGeneratedTypeScriptDigest: "sha256:
|
|
6
|
+
export declare const ContractGeneratedGoDigest: "sha256:b537d21916ff90f716f482eefc33371cf639ac969cadf69105fdd951c0805209";
|
|
7
|
+
export declare const ContractGeneratedTypeScriptDigest: "sha256:937c0e54c5c268d3127adaec3265eb4dc6e21ca784301a60b69365dbe2fb4956";
|
|
@@ -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:
|
|
3
|
+
export const ContractRepositoryVersion = "0.103.0.0";
|
|
4
|
+
export const ContractPublishVersion = "0.103.0";
|
|
5
|
+
export const ContractPublishTag = "v0.103.0";
|
|
6
|
+
export const ContractSchemasDigest = "sha256:834e5cbeb45c05b1631152db45981c272b9e2f34ff73509d22fc40a4f2a1d43a";
|
|
7
7
|
export const ContractAiFixturesDigest = "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
|
|
8
|
-
export const ContractGeneratedGoDigest = "sha256:
|
|
9
|
-
export const ContractGeneratedTypeScriptDigest = "sha256:
|
|
8
|
+
export const ContractGeneratedGoDigest = "sha256:b537d21916ff90f716f482eefc33371cf639ac969cadf69105fdd951c0805209";
|
|
9
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:937c0e54c5c268d3127adaec3265eb4dc6e21ca784301a60b69365dbe2fb4956";
|
|
@@ -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' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
24
|
+
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
25
25
|
/**
|
|
26
26
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
27
27
|
*/
|
|
@@ -144,6 +144,6 @@ interface BindingClassificationSubject {
|
|
|
144
144
|
}
|
|
145
145
|
interface BindingClassificationAiMapping {
|
|
146
146
|
mappingVersion: string;
|
|
147
|
-
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
147
|
+
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
148
148
|
}
|
|
149
149
|
export {};
|
|
@@ -21,7 +21,7 @@ export type PromotionRequestSecretBinding1 = {
|
|
|
21
21
|
type BindingClassificationEntry = {
|
|
22
22
|
kind: 'configuration' | 'secret' | 'provider_credential';
|
|
23
23
|
confidence: 'high' | 'low';
|
|
24
|
-
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
24
|
+
providerId?: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
25
25
|
/**
|
|
26
26
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
27
27
|
*/
|
|
@@ -94,6 +94,6 @@ interface BindingClassificationSubject {
|
|
|
94
94
|
}
|
|
95
95
|
interface BindingClassificationAiMapping {
|
|
96
96
|
mappingVersion: string;
|
|
97
|
-
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
97
|
+
providerId: 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
98
98
|
}
|
|
99
99
|
export {};
|
|
@@ -13,7 +13,7 @@ export type SanitizedRuntimeBinding = {
|
|
|
13
13
|
*/
|
|
14
14
|
secretRef?: string;
|
|
15
15
|
};
|
|
16
|
-
export type SanitizedBindingProviderId = 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab';
|
|
16
|
+
export type SanitizedBindingProviderId = 'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'deepseek' | 'deepgram' | 'higgsfield' | 'mistral' | 'datalab' | 'deepinfra';
|
|
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" | "deepseek" | "elevenlabs" | "deepgram" | "higgsfield" | "mistral" | "datalab";
|
|
45
|
+
export type AiProviderType = "openai" | "anthropic" | "gemini" | "openrouter" | "deepseek" | "elevenlabs" | "deepgram" | "higgsfield" | "mistral" | "datalab" | "deepinfra";
|
|
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";
|
package/dist/resolver/index.js
CHANGED
|
@@ -49,9 +49,9 @@ const SECRET_OUTPUT_GUARDRAIL = { ruleId: "platform.secret.output", detectorId:
|
|
|
49
49
|
const MAX_REQUEST_BYTES = 20 * 1024 * 1024;
|
|
50
50
|
export const AI_PLATFORM_BASELINE = {
|
|
51
51
|
schema: "harbour.ai-platform-baseline/1.0",
|
|
52
|
-
artifactVersion: "1.
|
|
52
|
+
artifactVersion: "1.3.0",
|
|
53
53
|
controls: {
|
|
54
|
-
permittedProviderTypes: ["anthropic", "datalab", "gemini", "higgsfield", "mistral", "openai", "openrouter"],
|
|
54
|
+
permittedProviderTypes: ["anthropic", "datalab", "deepinfra", "gemini", "higgsfield", "mistral", "openai", "openrouter"],
|
|
55
55
|
requireApprovedModels: false,
|
|
56
56
|
maxCaptureMode: "BEST_EFFORT",
|
|
57
57
|
maxRetentionDays: 90,
|
|
@@ -70,11 +70,11 @@ export const AI_PLATFORM_BASELINE = {
|
|
|
70
70
|
* and are versioned by `artifactVersion` plus `RESOLVER_VERSION`. */
|
|
71
71
|
export const AI_CLASSIFICATION_MINIMUMS = {
|
|
72
72
|
schema: "harbour.ai-classification-minimums/1.0",
|
|
73
|
-
artifactVersion: "1.
|
|
73
|
+
artifactVersion: "1.3.0",
|
|
74
74
|
defaultClassification: "Yellow",
|
|
75
75
|
classes: {
|
|
76
76
|
Green: {
|
|
77
|
-
permittedProviderTypes: ["anthropic", "datalab", "gemini", "higgsfield", "mistral", "openai", "openrouter"],
|
|
77
|
+
permittedProviderTypes: ["anthropic", "datalab", "deepinfra", "gemini", "higgsfield", "mistral", "openai", "openrouter"],
|
|
78
78
|
requireApprovedModels: false,
|
|
79
79
|
maxCaptureMode: "BEST_EFFORT",
|
|
80
80
|
maxRetentionDays: 90,
|
|
@@ -88,7 +88,7 @@ export const AI_CLASSIFICATION_MINIMUMS = {
|
|
|
88
88
|
requiredGuardrails: [],
|
|
89
89
|
},
|
|
90
90
|
Yellow: {
|
|
91
|
-
permittedProviderTypes: ["anthropic", "datalab", "gemini", "higgsfield", "mistral", "openai", "openrouter"],
|
|
91
|
+
permittedProviderTypes: ["anthropic", "datalab", "deepinfra", "gemini", "higgsfield", "mistral", "openai", "openrouter"],
|
|
92
92
|
requireApprovedModels: true,
|
|
93
93
|
maxCaptureMode: "BEST_EFFORT",
|
|
94
94
|
maxRetentionDays: 60,
|
package/gen-ts/ai-trace-event.ts
CHANGED
|
@@ -27,7 +27,8 @@ export type AiTraceEvent = {
|
|
|
27
27
|
| 'deepgram'
|
|
28
28
|
| 'higgsfield'
|
|
29
29
|
| 'mistral'
|
|
30
|
-
| 'datalab'
|
|
30
|
+
| 'datalab'
|
|
31
|
+
| 'deepinfra';
|
|
31
32
|
providerModel?: string;
|
|
32
33
|
outcome: 'succeeded' | 'blocked' | 'failed' | 'cancelled';
|
|
33
34
|
/**
|
|
@@ -68,7 +69,8 @@ export type AiTraceAttempt = {
|
|
|
68
69
|
| 'deepgram'
|
|
69
70
|
| 'higgsfield'
|
|
70
71
|
| 'mistral'
|
|
71
|
-
| 'datalab'
|
|
72
|
+
| 'datalab'
|
|
73
|
+
| 'deepinfra';
|
|
72
74
|
providerModel: string;
|
|
73
75
|
priceRevision: AiTraceIdentifier;
|
|
74
76
|
outcome: 'succeeded' | 'failed' | 'timed_out' | 'cancelled';
|
|
@@ -19,7 +19,16 @@ export type BindingClassificationEntry = {
|
|
|
19
19
|
requestedAiMappingId?: BindingClassificationIdentifier;
|
|
20
20
|
};
|
|
21
21
|
export type BindingClassificationProviderId =
|
|
22
|
-
|
|
22
|
+
| 'openai'
|
|
23
|
+
| 'anthropic'
|
|
24
|
+
| 'gemini'
|
|
25
|
+
| 'openrouter'
|
|
26
|
+
| 'deepseek'
|
|
27
|
+
| 'deepgram'
|
|
28
|
+
| 'higgsfield'
|
|
29
|
+
| 'mistral'
|
|
30
|
+
| 'datalab'
|
|
31
|
+
| 'deepinfra';
|
|
23
32
|
/**
|
|
24
33
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
25
34
|
*/
|
|
@@ -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:
|
|
4
|
+
export const ContractRepositoryVersion = "0.103.0.0" as const;
|
|
5
|
+
export const ContractPublishVersion = "0.103.0" as const;
|
|
6
|
+
export const ContractPublishTag = "v0.103.0" as const;
|
|
7
|
+
export const ContractSchemasDigest = "sha256:834e5cbeb45c05b1631152db45981c272b9e2f34ff73509d22fc40a4f2a1d43a" as const;
|
|
8
8
|
export const ContractAiFixturesDigest = "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6" as const;
|
|
9
|
-
export const ContractGeneratedGoDigest = "sha256:
|
|
10
|
-
export const ContractGeneratedTypeScriptDigest = "sha256:
|
|
9
|
+
export const ContractGeneratedGoDigest = "sha256:b537d21916ff90f716f482eefc33371cf639ac969cadf69105fdd951c0805209" as const;
|
|
10
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:937c0e54c5c268d3127adaec3265eb4dc6e21ca784301a60b69365dbe2fb4956" as const;
|
package/gen-ts/deploy-request.ts
CHANGED
|
@@ -25,7 +25,16 @@ type BindingClassificationEntry = {
|
|
|
25
25
|
kind: 'configuration' | 'secret' | 'provider_credential';
|
|
26
26
|
confidence: 'high' | 'low';
|
|
27
27
|
providerId?:
|
|
28
|
-
|
|
28
|
+
| 'openai'
|
|
29
|
+
| 'anthropic'
|
|
30
|
+
| 'gemini'
|
|
31
|
+
| 'openrouter'
|
|
32
|
+
| 'deepseek'
|
|
33
|
+
| 'deepgram'
|
|
34
|
+
| 'higgsfield'
|
|
35
|
+
| 'mistral'
|
|
36
|
+
| 'datalab'
|
|
37
|
+
| 'deepinfra';
|
|
29
38
|
/**
|
|
30
39
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
31
40
|
*/
|
|
@@ -150,5 +159,14 @@ interface BindingClassificationSubject {
|
|
|
150
159
|
interface BindingClassificationAiMapping {
|
|
151
160
|
mappingVersion: string;
|
|
152
161
|
providerId:
|
|
153
|
-
|
|
162
|
+
| 'openai'
|
|
163
|
+
| 'anthropic'
|
|
164
|
+
| 'gemini'
|
|
165
|
+
| 'openrouter'
|
|
166
|
+
| 'deepseek'
|
|
167
|
+
| 'deepgram'
|
|
168
|
+
| 'higgsfield'
|
|
169
|
+
| 'mistral'
|
|
170
|
+
| 'datalab'
|
|
171
|
+
| 'deepinfra';
|
|
154
172
|
}
|
|
@@ -25,7 +25,16 @@ type BindingClassificationEntry = {
|
|
|
25
25
|
kind: 'configuration' | 'secret' | 'provider_credential';
|
|
26
26
|
confidence: 'high' | 'low';
|
|
27
27
|
providerId?:
|
|
28
|
-
|
|
28
|
+
| 'openai'
|
|
29
|
+
| 'anthropic'
|
|
30
|
+
| 'gemini'
|
|
31
|
+
| 'openrouter'
|
|
32
|
+
| 'deepseek'
|
|
33
|
+
| 'deepgram'
|
|
34
|
+
| 'higgsfield'
|
|
35
|
+
| 'mistral'
|
|
36
|
+
| 'datalab'
|
|
37
|
+
| 'deepinfra';
|
|
29
38
|
/**
|
|
30
39
|
* Closed current credential category. Add a reviewed contract version before supporting another credential mechanism.
|
|
31
40
|
*/
|
|
@@ -100,5 +109,14 @@ interface BindingClassificationSubject {
|
|
|
100
109
|
interface BindingClassificationAiMapping {
|
|
101
110
|
mappingVersion: string;
|
|
102
111
|
providerId:
|
|
103
|
-
|
|
112
|
+
| 'openai'
|
|
113
|
+
| 'anthropic'
|
|
114
|
+
| 'gemini'
|
|
115
|
+
| 'openrouter'
|
|
116
|
+
| 'deepseek'
|
|
117
|
+
| 'deepgram'
|
|
118
|
+
| 'higgsfield'
|
|
119
|
+
| 'mistral'
|
|
120
|
+
| 'datalab'
|
|
121
|
+
| 'deepinfra';
|
|
104
122
|
}
|
|
@@ -17,7 +17,16 @@ export type SanitizedRuntimeBinding = {
|
|
|
17
17
|
secretRef?: string;
|
|
18
18
|
};
|
|
19
19
|
export type SanitizedBindingProviderId =
|
|
20
|
-
|
|
20
|
+
| 'openai'
|
|
21
|
+
| 'anthropic'
|
|
22
|
+
| 'gemini'
|
|
23
|
+
| 'openrouter'
|
|
24
|
+
| 'deepseek'
|
|
25
|
+
| 'deepgram'
|
|
26
|
+
| 'higgsfield'
|
|
27
|
+
| 'mistral'
|
|
28
|
+
| 'datalab'
|
|
29
|
+
| 'deepinfra';
|
|
21
30
|
|
|
22
31
|
/**
|
|
23
32
|
* 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
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"required": ["id", "provider", "credentialSecretRef", "enabled"],
|
|
110
110
|
"properties": {
|
|
111
111
|
"id": { "$ref": "#/definitions/AiPolicyIdentifier" },
|
|
112
|
-
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram", "higgsfield", "mistral", "datalab"] },
|
|
112
|
+
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram", "higgsfield", "mistral", "datalab", "deepinfra"] },
|
|
113
113
|
"baseUrl": { "type": "string", "format": "uri", "maxLength": 512 },
|
|
114
114
|
"credentialSecretRef": {
|
|
115
115
|
"type": "string",
|
|
@@ -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", "deepseek", "elevenlabs", "deepgram", "higgsfield", "mistral", "datalab"] },
|
|
12
|
+
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram", "higgsfield", "mistral", "datalab", "deepinfra"] },
|
|
13
13
|
"providerModel": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
14
14
|
"region": { "$ref": "#/definitions/AiPricingIdentifier" },
|
|
15
15
|
"currency": { "type": "string", "const": "USD" },
|
|
@@ -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", "deepseek", "elevenlabs", "deepgram", "higgsfield", "mistral", "datalab"] },
|
|
45
|
+
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram", "higgsfield", "mistral", "datalab", "deepinfra"] },
|
|
46
46
|
"providerModel": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
47
47
|
"outcome": { "type": "string", "enum": ["succeeded", "blocked", "failed", "cancelled"] },
|
|
48
48
|
"usage": {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"required": ["attempt", "provider", "providerModel", "priceRevision", "outcome", "usage", "costMicroUsd", "latencyMs"],
|
|
141
141
|
"properties": {
|
|
142
142
|
"attempt": { "type": "integer", "minimum": 1, "maximum": 32 },
|
|
143
|
-
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram", "higgsfield", "mistral", "datalab"] },
|
|
143
|
+
"provider": { "type": "string", "enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "elevenlabs", "deepgram", "higgsfield", "mistral", "datalab", "deepinfra"] },
|
|
144
144
|
"providerModel": { "type": "string", "minLength": 1, "maxLength": 256 },
|
|
145
145
|
"priceRevision": { "$ref": "#/definitions/AiTraceIdentifier" },
|
|
146
146
|
"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", "deepseek", "deepgram", "higgsfield", "mistral", "datalab"]
|
|
67
|
+
"enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "deepgram", "higgsfield", "mistral", "datalab", "deepinfra"]
|
|
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", "deepseek", "deepgram", "higgsfield", "mistral", "datalab"]
|
|
65
|
+
"enum": ["openai", "anthropic", "gemini", "openrouter", "deepseek", "deepgram", "higgsfield", "mistral", "datalab", "deepinfra"]
|
|
66
66
|
},
|
|
67
67
|
"SanitizedBindingAiMapping": {
|
|
68
68
|
"type": "object",
|