wattetheria 0.2.1 → 0.2.3
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 +4 -5
- package/docker-compose.release.yml +0 -4
- package/lib/cli.js +0 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -708,11 +708,10 @@ WATTETHERIA_GATEWAY_URLS=http://gateway.example.com:8080
|
|
|
708
708
|
```
|
|
709
709
|
|
|
710
710
|
`docker-compose.release.yml` also mounts `${WATTSWARM_HOST_STATE_DIR}/startup_config.json` into the
|
|
711
|
-
kernel container. If `WATTETHERIA_GATEWAY_URLS` is unset, the kernel
|
|
712
|
-
saved by the Wattswarm startup UI in that file. Wattetheria
|
|
713
|
-
at startup and
|
|
714
|
-
|
|
715
|
-
startup UI.
|
|
711
|
+
kernel container as read-only. If `WATTETHERIA_GATEWAY_URLS` is unset, the kernel falls back to
|
|
712
|
+
`gateway_urls` saved by the Wattswarm startup UI in that file. Wattetheria resolves coarse node geo
|
|
713
|
+
location at startup and sends the resulting `latitude` / `longitude` to Wattswarm over the local
|
|
714
|
+
sync gRPC bridge, so Wattswarm remains the writer for its own startup config.
|
|
716
715
|
|
|
717
716
|
When Wattetheria registers `core-agent` with Wattswarm, it keeps the brain/runtime
|
|
718
717
|
`base_url` pointed at the OpenAI-compatible gateway for `/execute` work and exposes a
|
|
@@ -104,10 +104,6 @@ services:
|
|
|
104
104
|
WATTSWARM_P2P_ENABLED: ${WATTSWARM_P2P_ENABLED:-true}
|
|
105
105
|
WATTSWARM_P2P_MDNS: ${WATTSWARM_P2P_MDNS:-true}
|
|
106
106
|
WATTSWARM_P2P_PORT: ${WATTSWARM_P2P_PORT:-4001}
|
|
107
|
-
WATTSWARM_NEARBY_DISCOVERY_ENABLED: ${WATTSWARM_NEARBY_DISCOVERY_ENABLED:-true}
|
|
108
|
-
WATTSWARM_NEARBY_DISCOVERY_RADIUS_KM: ${WATTSWARM_NEARBY_DISCOVERY_RADIUS_KM:-1000}
|
|
109
|
-
WATTSWARM_NEARBY_DISCOVERY_INTERVAL_MS: ${WATTSWARM_NEARBY_DISCOVERY_INTERVAL_MS:-30000}
|
|
110
|
-
WATTSWARM_NEARBY_DISCOVERY_TTL_MS: ${WATTSWARM_NEARBY_DISCOVERY_TTL_MS:-300000}
|
|
111
107
|
WATTSWARM_BOOTSTRAP_EXECUTOR_NAME: rt
|
|
112
108
|
WATTSWARM_BOOTSTRAP_EXECUTOR_URL: http://wattswarm-runtime:8787
|
|
113
109
|
WATTSWARM_UDP_ANNOUNCE_ENABLED: ${WATTSWARM_UDP_ANNOUNCE_ENABLED:-false}
|
package/lib/cli.js
CHANGED
|
@@ -55,10 +55,6 @@ const DEFAULT_ENV_ENTRIES = [
|
|
|
55
55
|
["WATTSWARM_P2P_ENABLED", "true"],
|
|
56
56
|
["WATTSWARM_P2P_MDNS", "true"],
|
|
57
57
|
["WATTSWARM_P2P_PORT", "4001"],
|
|
58
|
-
["WATTSWARM_NEARBY_DISCOVERY_ENABLED", "true"],
|
|
59
|
-
["WATTSWARM_NEARBY_DISCOVERY_RADIUS_KM", "1000"],
|
|
60
|
-
["WATTSWARM_NEARBY_DISCOVERY_INTERVAL_MS", "30000"],
|
|
61
|
-
["WATTSWARM_NEARBY_DISCOVERY_TTL_MS", "300000"],
|
|
62
58
|
["WATTSWARM_WORKER_CONCURRENCY", "16"],
|
|
63
59
|
["WATTSWARM_WORKER_POLL_MS", "250"],
|
|
64
60
|
["WATTSWARM_WORKER_LEASE_MS", "30000"],
|