@serve.zone/interfaces 25.2.0 → 25.3.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/changelog.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-08-10 - 25.3.0
4
+
5
+ ### Features
6
+
7
+ - add dedicated WorkloadInit runtime subpath export (runtime/workloadinit)
8
+ - Expose ./runtime/workloadinit with dedicated declaration and runtime entry points.
9
+ - Narrow the WorkloadInit runtime dependency graph to immutable image digest validation.
10
+ - Add tests and documentation for the WorkloadInit subpath export.
11
+
3
12
  ## 2026-08-10 - 25.2.0
4
13
 
5
14
  ### Features
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '25.2.0',
6
+ version: '25.3.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
@@ -1,4 +1,4 @@
1
- import type { TSha256Digest, TImmutableContainerPlatform } from './data/index.js';
1
+ import type { TSha256Digest, TImmutableContainerPlatform } from './data/immutableimage.js';
2
2
  export declare const workloadInitReleaseContract: Readonly<{
3
3
  readonly packageName: "@serve.zone/workloadinit";
4
4
  readonly sourceRepository: "https://code.foss.global/serve.zone/workloadinit.git";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "25.2.0",
3
+ "version": "25.3.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
6
6
  "exports": {
@@ -11,6 +11,10 @@
11
11
  "./runtime": {
12
12
  "types": "./dist_ts/runtime.d.ts",
13
13
  "node": "./dist_ts/runtime.js"
14
+ },
15
+ "./runtime/workloadinit": {
16
+ "types": "./dist_ts/runtime.workloadinit.d.ts",
17
+ "default": "./dist_ts/runtime.workloadinit.js"
14
18
  }
15
19
  },
16
20
  "type": "module",
package/readme.md CHANGED
@@ -30,6 +30,23 @@ import { appstore, data, platform, platformservice, requests } from '@serve.zone
30
30
 
31
31
  This package intentionally has no service implementation logic. It is a stable vocabulary for services that need to agree on payload shape, method names, and response types.
32
32
 
33
+ WorkloadInit release verifiers should use the dedicated Node-compatible subpath:
34
+
35
+ ```typescript
36
+ import {
37
+ validateWorkloadInitReleaseAttestationStatement,
38
+ validateWorkloadInitReleaseIdentity,
39
+ workloadInitReleaseContract,
40
+ } from '@serve.zone/interfaces/runtime/workloadinit';
41
+ ```
42
+
43
+ `@serve.zone/interfaces/runtime/workloadinit` exposes only the WorkloadInit
44
+ release identity, attestation, approval, authority, digest, and validator
45
+ contracts. Its runtime dependency graph is limited to the immutable-image digest
46
+ validator; unlike `@serve.zone/interfaces/runtime`, it does not load the general
47
+ runtime graph, `plugins.js`, SmartCrypto, TypedRequest, Corestore, or settlement
48
+ runtime modules.
49
+
33
50
  Service creation carries canonical ownership separately from caller-writable
34
51
  service data. `requests.service.IRequest_Any_Cloudly_CreateService` requires a
35
52
  top-level `organizationId`, while `data.TServiceWritableData` excludes the
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '25.2.0',
6
+ version: '25.3.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -1,4 +1,4 @@
1
- import type { TSha256Digest, TImmutableContainerPlatform } from './data/index.js';
1
+ import type { TSha256Digest, TImmutableContainerPlatform } from './data/immutableimage.js';
2
2
  import { isSha256Digest } from './data/immutableimage.js';
3
3
 
4
4
  export const workloadInitReleaseContract = Object.freeze({