From 762233772162a05be67432aa551a430b939250de Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Fri, 25 Sep 2026 01:30:47 +0200 Subject: refactor(node): split ops.py into the ops package Each section of ops.py becomes a module of meshbay_node/ops/ (core, node_toml, members, chat, groups, roots, files, settings, apps), cut as text; ops/__init__.py keeps the docstring and re-exports every name, so `ops.` is unchanged for every caller. Logger name unchanged. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-node/src/meshbay_node/daemon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/meshbay-node/src/meshbay_node/daemon.py') diff --git a/packages/meshbay-node/src/meshbay_node/daemon.py b/packages/meshbay-node/src/meshbay_node/daemon.py index 6d808ae..4800dac 100644 --- a/packages/meshbay-node/src/meshbay_node/daemon.py +++ b/packages/meshbay-node/src/meshbay_node/daemon.py @@ -292,7 +292,7 @@ class NodeDaemon(EnrichmentMixin): # Read once at load, like enabled_apps below — # kept current in place afterwards by set_scan_settings - # (ops.py), which updates both this indexer object directly + # (ops/settings.py), which updates both this indexer object directly # and roster.db, so a restart picks up the same values. scan_settings = ( await self._roster.scan_settings(group_cfg.id) @@ -339,7 +339,7 @@ class NodeDaemon(EnrichmentMixin): # the record and stamps the entry when it creates it. "record_upload": indexer.record_upload, # Shown to the operator in Settings, and kept current in - # place by set_scan_settings (ops.py) — same reasoning as + # place by set_scan_settings (ops/settings.py) — same reasoning as # enabled_apps below. "reconcile_interval_secs": scan_settings["reconcile_interval_secs"], "debounce_secs": scan_settings["debounce_secs"], @@ -1207,7 +1207,7 @@ class NodeDaemon(EnrichmentMixin): # Every application that keeps directories. This is the one list, and it # lives here because the daemon is what wires a group's context: `roster.py`, - # `ops.py` and the rest must name no application at all — that is the + # `ops/` and the rest must name no application at all — that is the # property the reference app exists to demonstrate # (`test_helloworld_proves_the_plugin_claim.py`). # -- cgit v1.2.3