@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 CHANGED
@@ -1,4 +1,6 @@
1
- # @techis/ai-contracts
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 current source is the unpublished `0.4.0-rc.2` preview candidate. This package provides versioned domain contracts, TypeScript declarations, JSON schemas, validation and the retained reviewed catalog delivery. `@techis/ai-runtime` requires this exact version; applications importing contracts directly should declare the same version. Local archive qualification is not registry publication.
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
 
@@ -1,5 +1,5 @@
1
1
  export declare const requestRouteSchema: {
2
- required: ("schemaVersion" | "revision" | "owner" | "visibility" | "purpose" | "primary" | "fallbacks" | "requiredCapabilities" | "execution" | "status" | "createdAt" | "routeId")[];
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" | "status" | "createdAt" | "routeId")[];
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",
4
- "type": "module",
5
- "description": "Language-neutral, versioned domain contracts (JSON schemas + aligned TypeScript types) for the AI enablement subsystem.",
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
+ }