@xns-cloud/relayer-mcp 0.5.1 → 0.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xns-cloud/relayer-mcp",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "MCP server for XNS Relayer onboarding — drives a complete Relayer setup conversationally over stdio, npx-ready",
5
5
  "author": "SCP Corp",
6
6
  "license": "Apache-2.0",
@@ -16,10 +16,18 @@
16
16
  # Relayer agentically. Flip these tags to :stable-latest at general release.
17
17
  #
18
18
  # A first-time user never hand-writes this file or the .env — install_relayer
19
- # writes both. Differences from the channel compose, by design:
20
- # - relayer data lives in ./data (relative to this file) instead of a named
21
- # volume, so the same file works on Windows, macOS, and Linux and the data
22
- # is easy to find next to the compose.
19
+ # writes both.
20
+ #
21
+ # STORAGE STRATEGY — MUST match the channel bundle (named volume relayer_data).
22
+ # This file is written only when the channel fetch fails; if the two used
23
+ # DIFFERENT volume strategies, an online-vs-offline install would silently switch
24
+ # the mount target and the user's buckets would appear to vanish (data orphaned
25
+ # in the unmounted volume). That was tacom beta bug #2 (2026-06-09): this file
26
+ # used a bind mount `./data` while the channel used `relayer_data`. Both now use
27
+ # the named volume. The storage-strategy parity test in installRelayer.test.js
28
+ # enforces it — do NOT reintroduce a bind mount here.
29
+ #
30
+ # Other differences from the channel compose, by design:
23
31
  # - SMB ports 139/445 are intentionally NOT exposed: 445 is held by Windows
24
32
  # SMB on consumer hosts and would fail the install. S3 onboarding uses :9000.
25
33
  # - pull_policy: always so `docker compose up -d` fetches the current beta
@@ -34,7 +42,7 @@ services:
34
42
  restart: unless-stopped
35
43
  privileged: true # samba / fuse / disk management (matches channel compose)
36
44
  volumes:
37
- - ./data:/relayer
45
+ - relayer_data:/relayer # named volume — MUST match the channel bundle (bug #2)
38
46
  ports:
39
47
  - ${UI_PORT:-8888}:8888
40
48
  - ${S3_PORT:-9000}:9000
@@ -73,5 +81,6 @@ services:
73
81
  - /:/host:ro # read-only host metrics for the Node Health page
74
82
 
75
83
  volumes:
84
+ relayer_data:
76
85
  prometheus_data:
77
86
  grafana_data: