@techis/ai-contracts 0.4.0-rc.4 → 0.4.0-rc.5
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 +4 -2
- package/dist/schemas/routes.d.ts +2 -2
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Model Routes contracts
|
|
2
|
+
|
|
3
|
+
Current source candidate: **0.4.0-rc.5**, unpublished. Install the published pair below until a new exact release is approved.
|
|
2
4
|
|
|
3
5
|
## Request routes and route sets
|
|
4
6
|
|
|
@@ -13,7 +15,7 @@ Canonical route-set snapshots use schema 5; route execution receipts use schema
|
|
|
13
15
|
through the supplied codecs. Packages and remote services have not been published or deployed by this local change.
|
|
14
16
|
|
|
15
17
|
|
|
16
|
-
The
|
|
18
|
+
The published preview is the exact `0.4.0-rc.4` Runtime/contracts pair. This package supplies versioned contracts, declarations, JSON schemas, validation and reviewed catalog data. Runtime requires the exactly matching contracts version. The `latest` tag still selects the older `0.3.0-rc.15` line; use exact matching pins. Current Model Routes source is distinct from published bytes.
|
|
17
19
|
|
|
18
20
|
## Contracts and validation
|
|
19
21
|
|
package/dist/schemas/routes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const requestRouteSchema: {
|
|
2
|
-
required: ("schemaVersion" | "revision" | "owner" | "visibility" | "purpose" | "primary" | "fallbacks" | "requiredCapabilities" | "execution" | "
|
|
2
|
+
required: ("schemaVersion" | "status" | "revision" | "owner" | "visibility" | "purpose" | "primary" | "fallbacks" | "requiredCapabilities" | "execution" | "createdAt" | "routeId")[];
|
|
3
3
|
properties: {
|
|
4
4
|
routeId: {
|
|
5
5
|
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/profileId";
|
|
@@ -190,7 +190,7 @@ export declare const requestRouteSchema: {
|
|
|
190
190
|
};
|
|
191
191
|
declare const schemas: {
|
|
192
192
|
"request-route": {
|
|
193
|
-
required: ("schemaVersion" | "revision" | "owner" | "visibility" | "purpose" | "primary" | "fallbacks" | "requiredCapabilities" | "execution" | "
|
|
193
|
+
required: ("schemaVersion" | "status" | "revision" | "owner" | "visibility" | "purpose" | "primary" | "fallbacks" | "requiredCapabilities" | "execution" | "createdAt" | "routeId")[];
|
|
194
194
|
properties: {
|
|
195
195
|
routeId: {
|
|
196
196
|
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/profileId";
|
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@techis/ai-contracts",
|
|
3
|
-
"version": "0.4.0-rc.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"bin": {
|
|
9
|
-
"verify-bundle": "./dist/scripts/verify-bundle.js"
|
|
10
|
-
},
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/index.d.ts",
|
|
14
|
-
"default": "./dist/index.js"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"files": [
|
|
18
|
-
"dist",
|
|
19
|
-
"LICENSE",
|
|
20
|
-
"README.md",
|
|
21
|
-
"THIRD_PARTY_NOTICES",
|
|
22
|
-
"third-party-licenses",
|
|
23
|
-
"third-party-licenses.json"
|
|
24
|
-
],
|
|
25
|
-
"scripts": {
|
|
26
|
-
"emit-schemas": "tsx src/scripts/emit-schemas.ts"
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"ajv": "^8.13.0",
|
|
30
|
-
"ajv-formats": "^3.0.1"
|
|
31
|
-
},
|
|
32
|
-
"license": "SEE LICENSE IN LICENSE"
|
|
33
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@techis/ai-contracts",
|
|
3
|
+
"version": "0.4.0-rc.5",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Versioned Model Routes contracts, JSON schemas, Route sets and execution receipts.",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"verify-bundle": "./dist/scripts/verify-bundle.js"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"LICENSE",
|
|
20
|
+
"README.md",
|
|
21
|
+
"THIRD_PARTY_NOTICES",
|
|
22
|
+
"third-party-licenses",
|
|
23
|
+
"third-party-licenses.json"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {
|
|
26
|
+
"emit-schemas": "tsx src/scripts/emit-schemas.ts"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"ajv": "^8.13.0",
|
|
30
|
+
"ajv-formats": "^3.0.1"
|
|
31
|
+
},
|
|
32
|
+
"license": "SEE LICENSE IN LICENSE"
|
|
33
|
+
}
|