summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-common
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-29 18:42:43 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-29 18:52:53 +0200
commit1f8a52484412b48205e5ff6aac506428e2fb77ed (patch)
tree5598419ee4caef21f607876de6af2d30d6452191 /packages/meshbay-common
parent8de80b7e19738b716d9973c0b4ba3b42085f7359 (diff)
downloadmeshbay-1f8a52484412b48205e5ff6aac506428e2fb77ed.tar.gz
feat(node): editable node settings in the Node page (D5)
Expose invite_ttl_hours, pair_ttl_hours, device_request_ttl_minutes, max_concurrent_streams and transcode_incompatible_video in the Node management panel. Changes are applied immediately via roster.db and written back to node.toml so they survive a DB wipe. On startup, roster overrides take precedence over node.toml defaults. Draft v6 §2.11 documents the design; MNP gains node_settings_set / node_settings_set_ack for the browser path. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-common')
-rw-r--r--packages/meshbay-common/src/meshbay_common/protocol.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/meshbay-common/src/meshbay_common/protocol.py b/packages/meshbay-common/src/meshbay_common/protocol.py
index a3fb4de..ff951e7 100644
--- a/packages/meshbay-common/src/meshbay_common/protocol.py
+++ b/packages/meshbay-common/src/meshbay_common/protocol.py
@@ -166,6 +166,8 @@ class MNP:
GROUP_ATTACH_ACK = "group_attach_ack"
GROUP_DETACH = "group_detach" # operator → node: stop hosting a group
GROUP_DETACH_ACK = "group_detach_ack"
+ NODE_SETTINGS_SET = "node_settings_set" # operator → node: change daemon settings
+ NODE_SETTINGS_SET_ACK = "node_settings_set_ack"
NODE_RELOAD = "node_reload" # operator → node: re-read node.toml
NODE_RELOAD_ACK = "node_reload_ack"