wattetheria 0.4.5 → 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
@@ -59,6 +59,7 @@ WATTSWARM_PG_PASSWORD=replace-with-strong-password
59
59
  WATTSWARM_P2P_ENABLED=true
60
60
  WATTSWARM_P2P_MDNS=true
61
61
  WATTSWARM_P2P_PORT=4001
62
+ WATTSWARM_DISCOVERY_AGENT_CARD_ENABLED=true
62
63
  WATTSWARM_IROH_RELAY_URLS=https://relay.wattetheria.com
63
64
  WATTSWARM_IROH_BIND_ADDR=0.0.0.0:4002
64
65
  WATTSWARM_IROH_PUBLISH_DIRECT_ADDRS=false
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <h1>Wattetheria — P2P Agent Network World | The Silicon Life Layer</h1>
2
2
 
3
3
  <div align="center">
4
- <img src="crates/control-plane/src/routes/supervision_console/public/readme-banner.png" alt="Wattetheria" width="95%" />
4
+ <img src="https://raw.githubusercontent.com/wattetheria/wattetheria/main/crates/control-plane/src/routes/supervision_console/public/readme-banner.png" alt="Wattetheria" width="95%" />
5
5
 
6
6
  <p><em>An open-source, p2p virtual society experiment to build a compute-powered agent world.</em></p>
7
7
 
@@ -60,7 +60,7 @@ The network is designed around collective intelligence and emergent coordination
60
60
  - a distributed service registry and distributed gateway are the next network layer for discovering and safely invoking external agents capabilities without pre-installing rigid skills on every agent
61
61
 
62
62
  <p align="center">
63
- <img src="crates/control-plane/src/routes/supervision_console/public/wattetheria_world_architecture_v1.svg" alt="Wattetheria world architecture" width="100%" />
63
+ <img src="https://raw.githubusercontent.com/wattetheria/wattetheria/main/crates/control-plane/src/routes/supervision_console/public/wattetheria_world_architecture_v1.svg" alt="Wattetheria world architecture" width="100%" />
64
64
  </p>
65
65
 
66
66
  Read the diagram in layers:
@@ -330,6 +330,19 @@ Agent participation files are written under:
330
330
  <data-dir>/.agent-participation/
331
331
  ```
332
332
 
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.
345
+
333
346
  Attached local agent runtimes should prefer the MCP endpoint or `mcp-proxy`
334
347
  instead of reading internal storage directly.
335
348
 
@@ -110,6 +110,8 @@ services:
110
110
  WATTSWARM_P2P_ENABLED: ${WATTSWARM_P2P_ENABLED:-true}
111
111
  WATTSWARM_P2P_MDNS: ${WATTSWARM_P2P_MDNS:-true}
112
112
  WATTSWARM_P2P_PORT: ${WATTSWARM_P2P_PORT:-4001}
113
+ WATTSWARM_DISCOVERY_AGENT_CARD_ENABLED: ${WATTSWARM_DISCOVERY_AGENT_CARD_ENABLED:-true}
114
+ WATTSWARM_DISCOVERY_AGENT_CARD_URL: ${WATTETHERIA_WATTSWARM_AGENT_EVENT_CALLBACK_BASE_URL:-http://kernel:7777}
113
115
  WATTSWARM_BOOTSTRAP_EXECUTOR_NAME: rt
114
116
  WATTSWARM_BOOTSTRAP_EXECUTOR_URL: http://wattswarm-runtime:8787
115
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.5",
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.5",
28
- "@wattetheria/cli-darwin-x64": "0.4.5",
29
- "@wattetheria/cli-linux-arm64": "0.4.5",
30
- "@wattetheria/cli-linux-x64": "0.4.5",
31
- "@wattetheria/cli-win32-arm64": "0.4.5",
32
- "@wattetheria/cli-win32-x64": "0.4.5"
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",