@fourier-labs/harbour-contracts 0.45.0 → 0.46.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/README.md +1 -1
- package/contract-release.json +10 -10
- package/dist/gen-ts/contract-release.d.ts +6 -6
- package/dist/gen-ts/contract-release.js +6 -6
- package/dist/gen-ts/kit-bundle-manifest.d.ts +8 -0
- package/dist/gen-ts/kit-lock.d.ts +8 -0
- package/gen-ts/contract-release.ts +6 -6
- package/gen-ts/kit-bundle-manifest.ts +8 -0
- package/gen-ts/kit-lock.ts +8 -0
- package/package.json +1 -1
- package/schema/kit-bundle-manifest.schema.json +9 -2
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ exist here first.
|
|
|
41
41
|
| `app-integrations-declaration.schema.json` | Committed `.harbour/integrations.json` (`harbour.app-integrations/2.0`): closed three-operation set with fixed identity modes; owns the shared operation/identity/environment enums | Dev kit §4 |
|
|
42
42
|
| `integration-execute-request`, `integration-execute-result`, `integration-connect-result`, `integration-error-details` | App SDK integrations wire contract on `/_harbour/integrations/*`: per-operation input bounds, the three result shapes, consent states and the closed `details.code` reason set | Dev kit §4, §8 |
|
|
43
43
|
| `saas-connection.schema.json`, `data-grant-v2.schema.json` | Tenant SaaS connection record and the additive `harbour.data-grant/2.0` grant record (status machine generated; legacy `data-grant` untouched) | Dev kit §5 |
|
|
44
|
-
| `kit-bundle-manifest.schema.json`, `kit-lock.schema.json` | Published kit bundle identity and the committed `.harbour/kit.lock.json` the CodeBuild SDK-vendoring gate compares against | Dev kit §3 |
|
|
44
|
+
| `kit-bundle-manifest.schema.json`, `kit-lock.schema.json` | Published kit bundle identity (SDK tarball digest plus optional `sdk.version` and https `sdk.url` download location) and the committed `.harbour/kit.lock.json` the CodeBuild SDK-vendoring gate compares against | Dev kit §3 |
|
|
45
45
|
|
|
46
46
|
Runtime resource profiles are a closed contract shared by transformation, artifacts, and
|
|
47
47
|
well-defined application manifests. The supported profiles are `standard`, `memory-1g`, and
|
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.46.0.0",
|
|
4
|
+
"publishVersion": "0.46.0",
|
|
5
|
+
"publishTag": "v0.46.0",
|
|
6
|
+
"schemasDigest": "sha256:2d5d65ab7cf2f575de0f93cc3b096b2ac6505e5f505653c65b6a472f219fbbe2",
|
|
7
7
|
"aiFixturesDigest": "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6",
|
|
8
|
-
"generatedGoDigest": "sha256:
|
|
9
|
-
"generatedTypeScriptDigest": "sha256:
|
|
8
|
+
"generatedGoDigest": "sha256:529c21544ed916b2d50854f31acd933d0b5b2f9251465375bfe0338fb11351e5",
|
|
9
|
+
"generatedTypeScriptDigest": "sha256:7ebe33c88dcb7e20024201518b0da941b49e25f8ae4324cb15308cb450bf2422",
|
|
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)"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"schema/integration-error-details.schema.json": "sha256:d4cf0c175a109c985a46d1ee5b47fa98b72cab93c2bfebb4e7c29cedaefff7a4",
|
|
55
55
|
"schema/integration-execute-request.schema.json": "sha256:9b7a169432853e6bd640bf61b9eed6287a76f5b303820c77d037f48b7ec99411",
|
|
56
56
|
"schema/integration-execute-result.schema.json": "sha256:d28a22556c54f9ac6a9bd318e815acc8db487a1e51f6310bceadb41442016930",
|
|
57
|
-
"schema/kit-bundle-manifest.schema.json": "sha256:
|
|
57
|
+
"schema/kit-bundle-manifest.schema.json": "sha256:c15e28ae028dbd1c262427b9c797142e19b1f38fa36b4ecfe187e32c20a174ec",
|
|
58
58
|
"schema/kit-lock.schema.json": "sha256:5e24b76660f83990af7a6c037af350c3850ee439ef956f65a0360facbdcdd997",
|
|
59
59
|
"schema/kvs-routing-entry.schema.json": "sha256:b75f3a5dfa93a428b2764e03222b66b6ef2bed980f8bac8ffac54afdf3526bc5",
|
|
60
60
|
"schema/promotion-request.schema.json": "sha256:00e96dfd8ddbdba88ea222941d43f3609ff6c815a79e34f6705cab458101c969",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"gen-go/doc.go": "sha256:c17bc2d39ed175ce7105c68305f8ae7152f659eb7cd187ecceee7698eb3a65dd",
|
|
107
107
|
"gen-go/error_category.go": "sha256:b2ddea22dcfa030f1a45e721e635485b0bd816cf1f38e7654628a653f5ed4583",
|
|
108
108
|
"gen-go/schema_documents.go": "sha256:bc8a5119241953827affa45588a1492fdf1e74bb9119564202baf424596d0d86",
|
|
109
|
-
"gen-go/types.go": "sha256:
|
|
109
|
+
"gen-go/types.go": "sha256:5f72328441e849a45508b8e7ed1998388052ef61e079ff0de1c3076e052398cf",
|
|
110
110
|
"gen-go/version_state.go": "sha256:4ef8abb126414c0025cf2c59bc9c79a74ef4a2ff89e8f316cbf05acc872371c1"
|
|
111
111
|
},
|
|
112
112
|
"generatedTypeScript": {
|
|
@@ -157,8 +157,8 @@
|
|
|
157
157
|
"gen-ts/integration-error-details.ts": "sha256:ef0ede67e2fc9e7894604f63f807d43a54987f0e942753de94243bb5320ccf6c",
|
|
158
158
|
"gen-ts/integration-execute-request.ts": "sha256:da53eecf99da25c74b07d426adb8473795ebe2df4d8bd539894a6eda050f6c07",
|
|
159
159
|
"gen-ts/integration-execute-result.ts": "sha256:c0b8449b442f8286c3ade51667039c71410dd9d53ef8b6a28611af4ba45c1357",
|
|
160
|
-
"gen-ts/kit-bundle-manifest.ts": "sha256:
|
|
161
|
-
"gen-ts/kit-lock.ts": "sha256:
|
|
160
|
+
"gen-ts/kit-bundle-manifest.ts": "sha256:9041b32af3df781ca6800bc14c3719e5e54c81dff370633454ac3ad27432eb58",
|
|
161
|
+
"gen-ts/kit-lock.ts": "sha256:de4ae82bac7bd234a3230ae671962e80eed6542d695a032a442673659dc6be5e",
|
|
162
162
|
"gen-ts/kvs-routing-entry.ts": "sha256:d92e85ee9f257d77850d1d3aac9438e2055f38084ff84a48fcedae239d47d4ca",
|
|
163
163
|
"gen-ts/promotion-request.ts": "sha256:9db88cef67f777a16bac628039ec3f582acb9e8cfff6fb592b30d0a0e55abc68",
|
|
164
164
|
"gen-ts/promotion-response.ts": "sha256:f1c9cafac96faeb02a443a31786f67714e818f38d90108e7af41958396524d6f",
|
|
@@ -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.46.0.0";
|
|
2
|
+
export declare const ContractPublishVersion: "0.46.0";
|
|
3
|
+
export declare const ContractPublishTag: "v0.46.0";
|
|
4
|
+
export declare const ContractSchemasDigest: "sha256:2d5d65ab7cf2f575de0f93cc3b096b2ac6505e5f505653c65b6a472f219fbbe2";
|
|
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:529c21544ed916b2d50854f31acd933d0b5b2f9251465375bfe0338fb11351e5";
|
|
7
|
+
export declare const ContractGeneratedTypeScriptDigest: "sha256:7ebe33c88dcb7e20024201518b0da941b49e25f8ae4324cb15308cb450bf2422";
|
|
@@ -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.46.0.0";
|
|
4
|
+
export const ContractPublishVersion = "0.46.0";
|
|
5
|
+
export const ContractPublishTag = "v0.46.0";
|
|
6
|
+
export const ContractSchemasDigest = "sha256:2d5d65ab7cf2f575de0f93cc3b096b2ac6505e5f505653c65b6a472f219fbbe2";
|
|
7
7
|
export const ContractAiFixturesDigest = "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
|
|
8
|
-
export const ContractGeneratedGoDigest = "sha256:
|
|
9
|
-
export const ContractGeneratedTypeScriptDigest = "sha256:
|
|
8
|
+
export const ContractGeneratedGoDigest = "sha256:529c21544ed916b2d50854f31acd933d0b5b2f9251465375bfe0338fb11351e5";
|
|
9
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:7ebe33c88dcb7e20024201518b0da941b49e25f8ae4324cb15308cb450bf2422";
|
|
@@ -13,10 +13,18 @@ export interface KitBundleManifest {
|
|
|
13
13
|
kitVersion: string;
|
|
14
14
|
sdk: {
|
|
15
15
|
package: '@harbour/app-sdk';
|
|
16
|
+
/**
|
|
17
|
+
* The SDK package version the tarball was packed from (informational; compatibility is decided by tarballSha256).
|
|
18
|
+
*/
|
|
19
|
+
version?: string;
|
|
16
20
|
/**
|
|
17
21
|
* SHA-256 of the SDK tarball baked into this bundle; the CodeBuild gate compares it with the pipeline's own tarball.
|
|
18
22
|
*/
|
|
19
23
|
tarballSha256: string;
|
|
24
|
+
/**
|
|
25
|
+
* Where the CLI downloads the SDK tarball from when it is not shipped inline; the bytes are verified against tarballSha256 before install. The publisher may name the location by content address (for example an OCI blob whose path ends in sha256:<tarballSha256>).
|
|
26
|
+
*/
|
|
27
|
+
url?: string;
|
|
20
28
|
};
|
|
21
29
|
images: {
|
|
22
30
|
appGateway: ImageDigestReference;
|
|
@@ -20,10 +20,18 @@ interface KitBundleManifest {
|
|
|
20
20
|
kitVersion: string;
|
|
21
21
|
sdk: {
|
|
22
22
|
package: '@harbour/app-sdk';
|
|
23
|
+
/**
|
|
24
|
+
* The SDK package version the tarball was packed from (informational; compatibility is decided by tarballSha256).
|
|
25
|
+
*/
|
|
26
|
+
version?: string;
|
|
23
27
|
/**
|
|
24
28
|
* SHA-256 of the SDK tarball baked into this bundle; the CodeBuild gate compares it with the pipeline's own tarball.
|
|
25
29
|
*/
|
|
26
30
|
tarballSha256: string;
|
|
31
|
+
/**
|
|
32
|
+
* Where the CLI downloads the SDK tarball from when it is not shipped inline; the bytes are verified against tarballSha256 before install. The publisher may name the location by content address (for example an OCI blob whose path ends in sha256:<tarballSha256>).
|
|
33
|
+
*/
|
|
34
|
+
url?: string;
|
|
27
35
|
};
|
|
28
36
|
images: {
|
|
29
37
|
/**
|
|
@@ -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.46.0.0" as const;
|
|
5
|
+
export const ContractPublishVersion = "0.46.0" as const;
|
|
6
|
+
export const ContractPublishTag = "v0.46.0" as const;
|
|
7
|
+
export const ContractSchemasDigest = "sha256:2d5d65ab7cf2f575de0f93cc3b096b2ac6505e5f505653c65b6a472f219fbbe2" 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:529c21544ed916b2d50854f31acd933d0b5b2f9251465375bfe0338fb11351e5" as const;
|
|
10
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:7ebe33c88dcb7e20024201518b0da941b49e25f8ae4324cb15308cb450bf2422" as const;
|
|
@@ -17,10 +17,18 @@ export interface KitBundleManifest {
|
|
|
17
17
|
kitVersion: string;
|
|
18
18
|
sdk: {
|
|
19
19
|
package: '@harbour/app-sdk';
|
|
20
|
+
/**
|
|
21
|
+
* The SDK package version the tarball was packed from (informational; compatibility is decided by tarballSha256).
|
|
22
|
+
*/
|
|
23
|
+
version?: string;
|
|
20
24
|
/**
|
|
21
25
|
* SHA-256 of the SDK tarball baked into this bundle; the CodeBuild gate compares it with the pipeline's own tarball.
|
|
22
26
|
*/
|
|
23
27
|
tarballSha256: string;
|
|
28
|
+
/**
|
|
29
|
+
* Where the CLI downloads the SDK tarball from when it is not shipped inline; the bytes are verified against tarballSha256 before install. The publisher may name the location by content address (for example an OCI blob whose path ends in sha256:<tarballSha256>).
|
|
30
|
+
*/
|
|
31
|
+
url?: string;
|
|
24
32
|
};
|
|
25
33
|
images: {
|
|
26
34
|
appGateway: ImageDigestReference;
|
package/gen-ts/kit-lock.ts
CHANGED
|
@@ -23,10 +23,18 @@ interface KitBundleManifest {
|
|
|
23
23
|
kitVersion: string;
|
|
24
24
|
sdk: {
|
|
25
25
|
package: '@harbour/app-sdk';
|
|
26
|
+
/**
|
|
27
|
+
* The SDK package version the tarball was packed from (informational; compatibility is decided by tarballSha256).
|
|
28
|
+
*/
|
|
29
|
+
version?: string;
|
|
26
30
|
/**
|
|
27
31
|
* SHA-256 of the SDK tarball baked into this bundle; the CodeBuild gate compares it with the pipeline's own tarball.
|
|
28
32
|
*/
|
|
29
33
|
tarballSha256: string;
|
|
34
|
+
/**
|
|
35
|
+
* Where the CLI downloads the SDK tarball from when it is not shipped inline; the bytes are verified against tarballSha256 before install. The publisher may name the location by content address (for example an OCI blob whose path ends in sha256:<tarballSha256>).
|
|
36
|
+
*/
|
|
37
|
+
url?: string;
|
|
30
38
|
};
|
|
31
39
|
images: {
|
|
32
40
|
/**
|
package/package.json
CHANGED
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
"required": ["package", "tarballSha256"],
|
|
16
16
|
"properties": {
|
|
17
17
|
"package": { "type": "string", "const": "@harbour/app-sdk" },
|
|
18
|
-
"
|
|
18
|
+
"version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(-[0-9A-Za-z.-]+)?$", "description": "The SDK package version the tarball was packed from (informational; compatibility is decided by tarballSha256)." },
|
|
19
|
+
"tarballSha256": { "$ref": "#/definitions/HexSha256", "description": "SHA-256 of the SDK tarball baked into this bundle; the CodeBuild gate compares it with the pipeline's own tarball." },
|
|
20
|
+
"url": { "type": "string", "pattern": "^https://[^\\s{}]+$", "maxLength": 2048, "description": "Where the CLI downloads the SDK tarball from when it is not shipped inline; the bytes are verified against tarballSha256 before install. The publisher may name the location by content address (for example an OCI blob whose path ends in sha256:<tarballSha256>)." }
|
|
19
21
|
}
|
|
20
22
|
},
|
|
21
23
|
"images": {
|
|
@@ -54,7 +56,12 @@
|
|
|
54
56
|
{
|
|
55
57
|
"schema": "harbour.kit-bundle/1.0",
|
|
56
58
|
"kitVersion": "0.2.0",
|
|
57
|
-
"sdk": {
|
|
59
|
+
"sdk": {
|
|
60
|
+
"package": "@harbour/app-sdk",
|
|
61
|
+
"version": "1.0.0",
|
|
62
|
+
"tarballSha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
|
|
63
|
+
"url": "https://public.ecr.aws/v2/y6t4p3i8/harbour-kit-bundle/blobs/sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
|
|
64
|
+
},
|
|
58
65
|
"images": {
|
|
59
66
|
"appGateway": "123456789012.dkr.ecr.us-east-1.amazonaws.com/harbour/app-gateway@sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae",
|
|
60
67
|
"sessionFixture": "123456789012.dkr.ecr.us-east-1.amazonaws.com/harbour/session-fixture@sha256:fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9"
|