@xtrape/capsule-contracts-node 0.6.1 → 0.7.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 +11 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
> service, agent, worker, panel, and server wire protocols.
|
|
5
5
|
|
|
6
6
|
[](./LICENSE)
|
|
7
|
-
[](https://forgejo.xtrape.com/xtrape/xtrape-docs)
|
|
8
8
|
[](https://forgejo.xtrape.com/xtrape/xtrape-docs)
|
|
9
9
|
|
|
10
10
|
## 1. Package Status
|
|
@@ -21,17 +21,17 @@ Service naming where exports are available. Existing `Capsule*` exports and the
|
|
|
21
21
|
legacy `services` wire field remain available until a versioned protocol
|
|
22
22
|
migration removes them.
|
|
23
23
|
|
|
24
|
-
Current release
|
|
24
|
+
Current milestone release:
|
|
25
25
|
|
|
26
26
|
```text
|
|
27
|
-
package version: 0.
|
|
27
|
+
package version: 0.7.0
|
|
28
28
|
CE contract version: CE_CONTRACT_VERSION = 1
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Install:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
pnpm add @xtrape/capsule-contracts-node@^0.
|
|
34
|
+
pnpm add @xtrape/capsule-contracts-node@^0.7.0
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
For this repository itself:
|
|
@@ -64,7 +64,7 @@ This package is not:
|
|
|
64
64
|
- an ID generator;
|
|
65
65
|
- a business workflow or AI planner protocol.
|
|
66
66
|
|
|
67
|
-
## 3. CE 0
|
|
67
|
+
## 3. CE Phase 0 Frozen Contracts (0.6/0.7 milestones)
|
|
68
68
|
|
|
69
69
|
The CE 0.1 Phase 0 runtime loop is:
|
|
70
70
|
|
|
@@ -104,7 +104,7 @@ const manifest = ServiceManifestSchema.parse({
|
|
|
104
104
|
service: {
|
|
105
105
|
id: "demo-echo-service",
|
|
106
106
|
name: "Demo Echo Service",
|
|
107
|
-
version: "0.
|
|
107
|
+
version: "0.7.0",
|
|
108
108
|
},
|
|
109
109
|
runtime: {
|
|
110
110
|
language: "node",
|
|
@@ -130,7 +130,7 @@ const instance = ServiceInstanceSchema.parse({
|
|
|
130
130
|
serviceId: "demo-echo-service",
|
|
131
131
|
instanceId: "demo-echo-7f3a",
|
|
132
132
|
address: "http://10.0.0.12:8080",
|
|
133
|
-
version: "0.
|
|
133
|
+
version: "0.7.0",
|
|
134
134
|
health: "HEALTHY",
|
|
135
135
|
});
|
|
136
136
|
```
|
|
@@ -164,8 +164,7 @@ compatibility surfaces.
|
|
|
164
164
|
### Current CE runtime contracts
|
|
165
165
|
|
|
166
166
|
These are the primary contracts for `xtrape-server-ce`,
|
|
167
|
-
`xtrape-agent-nodejs`, `xtrape-demo`, and `xtrape-telegram` in the 0.
|
|
168
|
-
train:
|
|
167
|
+
`xtrape-agent-nodejs`, `xtrape-demo`, and `xtrape-telegram` in the 0.7 milestone:
|
|
169
168
|
|
|
170
169
|
```text
|
|
171
170
|
CE_CONTRACT_VERSION
|
|
@@ -284,13 +283,13 @@ const report = ServiceReportRequestSchema.parse({
|
|
|
284
283
|
{
|
|
285
284
|
code: "demo-worker",
|
|
286
285
|
name: "Demo Worker",
|
|
287
|
-
version: "0.
|
|
286
|
+
version: "0.7.0",
|
|
288
287
|
runtime: "nodejs",
|
|
289
288
|
manifest: {
|
|
290
289
|
kind: "CapsuleService",
|
|
291
290
|
code: "demo-worker",
|
|
292
291
|
name: "Demo Worker",
|
|
293
|
-
version: "0.
|
|
292
|
+
version: "0.7.0",
|
|
294
293
|
runtime: "nodejs",
|
|
295
294
|
agentMode: "embedded",
|
|
296
295
|
capabilities: [{ name: "status.query", label: "Status query" }],
|
|
@@ -507,7 +506,7 @@ They may move out of the contracts package in a future minor version.
|
|
|
507
506
|
|
|
508
507
|
## 11. Schema Stability
|
|
509
508
|
|
|
510
|
-
The package follows semver.
|
|
509
|
+
The package follows semver. Before `1.0.0`, pin matching
|
|
511
510
|
minor versions across CE, Agent SDK, and Contracts.
|
|
512
511
|
|
|
513
512
|
| Group | Stability | Notes |
|