wattetheria 0.4.6 → 0.4.7

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/.env.release CHANGED
@@ -60,7 +60,6 @@ WATTSWARM_P2P_ENABLED=true
60
60
  WATTSWARM_P2P_MDNS=true
61
61
  WATTSWARM_P2P_PORT=4001
62
62
  WATTSWARM_DISCOVERY_AGENT_CARD_ENABLED=true
63
- WATTSWARM_DISCOVERY_AGENT_CARD_PATH=/var/lib/wattetheria/.agent-participation/agent-card.json
64
63
  WATTSWARM_IROH_RELAY_URLS=https://relay.wattetheria.com
65
64
  WATTSWARM_IROH_BIND_ADDR=0.0.0.0:4002
66
65
  WATTSWARM_IROH_PUBLISH_DIRECT_ADDRS=false
package/README.md CHANGED
@@ -330,13 +330,18 @@ Agent participation files are written under:
330
330
  <data-dir>/.agent-participation/
331
331
  ```
332
332
 
333
- Wattetheria also writes the local signed public agent card to
334
- `.agent-participation/agent-card.json`. Wattswarm discovery reads that file by
335
- default and includes it in signed discovery records so nearby peer cards can
336
- show the remote agent profile instead of only the node id. Operators can
337
- disable this disclosure by setting
338
- `WATTSWARM_DISCOVERY_AGENT_CARD_ENABLED=false` and restarting the Wattswarm
339
- kernel. `WATTSWARM_DISCOVERY_AGENT_CARD_PATH` overrides the card file path.
333
+ Wattetheria exposes the current signed public source agent card through the
334
+ authenticated control-plane route `/v1/wattetheria/source-agent-card`.
335
+ Wattswarm discovery fetches that route on each discovery announce and includes
336
+ the fresh signed card in the discovery record so nearby peer cards can show the
337
+ remote agent profile instead of only the node id. Operators can disable this
338
+ disclosure by setting `WATTSWARM_DISCOVERY_AGENT_CARD_ENABLED=false` and
339
+ restarting the Wattswarm kernel. In the release compose stack,
340
+ `WATTSWARM_DISCOVERY_AGENT_CARD_URL` is derived from
341
+ `WATTETHERIA_WATTSWARM_AGENT_EVENT_CALLBACK_BASE_URL`. Wattswarm reads the
342
+ mounted Wattetheria control token from `/var/lib/wattetheria/control.token`;
343
+ `WATTSWARM_DISCOVERY_AGENT_CARD_TOKEN` can provide the token directly for
344
+ non-compose deployments.
340
345
 
341
346
  Attached local agent runtimes should prefer the MCP endpoint or `mcp-proxy`
342
347
  instead of reading internal storage directly.
@@ -111,7 +111,7 @@ services:
111
111
  WATTSWARM_P2P_MDNS: ${WATTSWARM_P2P_MDNS:-true}
112
112
  WATTSWARM_P2P_PORT: ${WATTSWARM_P2P_PORT:-4001}
113
113
  WATTSWARM_DISCOVERY_AGENT_CARD_ENABLED: ${WATTSWARM_DISCOVERY_AGENT_CARD_ENABLED:-true}
114
- WATTSWARM_DISCOVERY_AGENT_CARD_PATH: ${WATTSWARM_DISCOVERY_AGENT_CARD_PATH:-/var/lib/wattetheria/.agent-participation/agent-card.json}
114
+ WATTSWARM_DISCOVERY_AGENT_CARD_URL: ${WATTETHERIA_WATTSWARM_AGENT_EVENT_CALLBACK_BASE_URL:-http://kernel:7777}
115
115
  WATTSWARM_BOOTSTRAP_EXECUTOR_NAME: rt
116
116
  WATTSWARM_BOOTSTRAP_EXECUTOR_URL: http://wattswarm-runtime:8787
117
117
  WATTSWARM_UDP_ANNOUNCE_ENABLED: ${WATTSWARM_UDP_ANNOUNCE_ENABLED:-false}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wattetheria",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Wattetheria deployment CLI",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "commonjs",
@@ -24,12 +24,12 @@
24
24
  "access": "public"
25
25
  },
26
26
  "optionalDependencies": {
27
- "@wattetheria/cli-darwin-arm64": "0.4.6",
28
- "@wattetheria/cli-darwin-x64": "0.4.6",
29
- "@wattetheria/cli-linux-arm64": "0.4.6",
30
- "@wattetheria/cli-linux-x64": "0.4.6",
31
- "@wattetheria/cli-win32-arm64": "0.4.6",
32
- "@wattetheria/cli-win32-x64": "0.4.6"
27
+ "@wattetheria/cli-darwin-arm64": "0.4.7",
28
+ "@wattetheria/cli-darwin-x64": "0.4.7",
29
+ "@wattetheria/cli-linux-arm64": "0.4.7",
30
+ "@wattetheria/cli-linux-x64": "0.4.7",
31
+ "@wattetheria/cli-win32-arm64": "0.4.7",
32
+ "@wattetheria/cli-win32-x64": "0.4.7"
33
33
  },
34
34
  "scripts": {
35
35
  "check": "node --check bin/wattetheria.js && node --check lib/cli.js && node --check scripts/stage-native-cli.js && node --check scripts/check-native-package-binary.js",