@xtrape/capsule-agent-node 0.6.2 → 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.
Files changed (2) hide show
  1. package/README.md +10 -17
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -8,29 +8,23 @@ current Xtrape concept. New integrations should use `XtrapeAgent` and the
8
8
  `worker` option.
9
9
 
10
10
  [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](./LICENSE)
11
- [![Status: Release Train 0.6.0](https://img.shields.io/badge/status-0.6.0-blue.svg)](https://forgejo.xtrape.com/xtrape/xtrape-docs)
11
+ [![Status: 0.7 milestone](https://img.shields.io/badge/status-0.7.0-blue.svg)](https://forgejo.xtrape.com/xtrape/xtrape-docs)
12
12
  [![Docs](https://img.shields.io/badge/docs-xtrape--docs-blue.svg)](https://forgejo.xtrape.com/xtrape/xtrape-docs)
13
13
 
14
14
  The package supports the Node.js Embedded Agent mode for one Worker. Multi-Worker
15
15
  ownership belongs to a sidecar or external Agent. Gateway, when present, routes
16
16
  Agent/control-plane traffic and does not replace the Agent role.
17
17
 
18
- > **Package status:** This package follows the unified Xtrape `0.6.0` release
19
- > train. The npm package name remains a compatibility identifier, but release
20
- > versioning now follows the shared Xtrape train version.
18
+ > **Package status:** This package follows Xtrape milestone-aligned component
19
+ > versioning (`MINOR` = milestone). The npm package name remains a
20
+ > compatibility identifier; the current milestone line is `0.7.x`.
21
21
 
22
22
  ## Install
23
23
 
24
- This repository tracks the `0.6.0` snapshot train. Until the `0.6.0` npm cut is
25
- published, install the latest published compatibility package:
26
-
27
24
  ```bash
28
- pnpm add @xtrape/capsule-agent-node@^0.5.0
25
+ pnpm add @xtrape/capsule-agent-node@^0.7.0
29
26
  ```
30
27
 
31
- For source-level snapshot integration, use a local checkout of this repository
32
- and align the rest of the release train separately.
33
-
34
28
  For this repository itself:
35
29
 
36
30
  ```bash
@@ -77,7 +71,7 @@ const svc = await serveCeService({
77
71
  address: process.env.SERVICE_ADDRESS ?? "http://demo-service:8080",
78
72
  manifest: {
79
73
  contractVersion: 1,
80
- service: { id: "demo-echo-service", name: "Demo Echo Service", version: "0.6.0" },
74
+ service: { id: "demo-echo-service", name: "Demo Echo Service", version: "0.7.0" },
81
75
  runtime: { language: "node", agent: "xtrape-agent-nodejs" },
82
76
  capabilities: ["status.query"],
83
77
  message: { supportedTypes: ["QUERY"] },
@@ -503,13 +497,12 @@ and `logger` are configured, `structuredLogger` wins.
503
497
 
504
498
  | Package | Compatible with |
505
499
  | ---------------------------------- | ------------------------------------------------------------- |
506
- | repository line `0.6.0` | current Xtrape `0.6.0` snapshot train |
500
+ | repository line `0.7.x` | Xtrape `0.7` milestone (`xtrape-server-ce` >= 0.7.0, `@xtrape/capsule-contracts-node@^0.7.0`) |
507
501
  | `@xtrape/capsule-agent-node@0.1.x` | Xtrape Panel CE `0.1.x` and `@xtrape/capsule-contracts-node@0.1.x` |
508
502
 
509
- Use matching release-train versions across CE, Agent SDK, and Contracts. During
510
- the current `0.6.0` snapshot phase, published compatibility packages may lag
511
- the repository line until the train npm cut is published. The wire protocol may
512
- still change before `v1.0`.
503
+ Pin matching milestone (`MINOR`) versions across CE, Agent SDK, and Contracts;
504
+ patch numbers may differ per component. The wire protocol may still change
505
+ before `v1.0`.
513
506
 
514
507
  ## Troubleshooting
515
508
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtrape/capsule-agent-node",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "Node.js Embedded Agent SDK for reporting Workers to the Xtrape control plane.",
5
5
  "keywords": [
6
6
  "xtrape",
@@ -44,7 +44,7 @@
44
44
  "lint": "tsc --noEmit"
45
45
  },
46
46
  "dependencies": {
47
- "@xtrape/capsule-contracts-node": "^0.6.1"
47
+ "@xtrape/capsule-contracts-node": "^0.7.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "tsup": "^8.3.5",