@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.
- package/README.md +10 -17
- 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)
|
|
11
|
-
[](https://forgejo.xtrape.com/xtrape/xtrape-docs)
|
|
12
12
|
[](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
|
|
19
|
-
>
|
|
20
|
-
>
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
510
|
-
|
|
511
|
-
|
|
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.
|
|
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.
|
|
47
|
+
"@xtrape/capsule-contracts-node": "^0.7.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"tsup": "^8.3.5",
|