flux-config-shared 0.2.0__tar.gz → 0.4.0__tar.gz
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.
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/PKG-INFO +1 -1
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/pyproject.toml +1 -1
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/protocol.py +18 -0
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/README.md +0 -0
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/__init__.py +0 -0
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/app_config.py +0 -0
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/config_locations.py +0 -0
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/daemon_state.py +0 -0
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/delegate_config.py +0 -0
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/log.py +0 -0
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/models.py +0 -0
- {flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/user_config.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "flux-config-shared"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.4.0"
|
|
4
4
|
description = "Shared protocol and configuration definitions for Flux Config packages"
|
|
5
5
|
authors = [{ name = "David White", email = "david@runonflux.io" }]
|
|
6
6
|
requires-python = ">=3.13, <4"
|
|
@@ -159,6 +159,12 @@ class MethodName(str, Enum):
|
|
|
159
159
|
LOGS_GET_JOURNAL = "logs.get_journal"
|
|
160
160
|
LOGS_GET_AVAILABLE_SERVICES = "logs.get_available_services"
|
|
161
161
|
|
|
162
|
+
# Shell
|
|
163
|
+
SHELL_AUTHENTICATE = "shell.authenticate"
|
|
164
|
+
SHELL_OPEN = "shell.open"
|
|
165
|
+
SHELL_CLOSE = "shell.close"
|
|
166
|
+
SHELL_INPUT = "shell.input"
|
|
167
|
+
|
|
162
168
|
# Filesystem
|
|
163
169
|
FILESYSTEM_CREATE_DIRECTORIES = "filesystem.create_directories"
|
|
164
170
|
FILESYSTEM_REMOVE_DIRECTORIES = "filesystem.remove_directories"
|
|
@@ -195,6 +201,10 @@ class MethodName(str, Enum):
|
|
|
195
201
|
NETWORK_SHAPING_GET_POLICY = "network.shaping.get_policy"
|
|
196
202
|
NETWORK_SHAPING_SET_POLICY = "network.shaping.set_policy"
|
|
197
203
|
|
|
204
|
+
# ArcaneOS Node Authentication
|
|
205
|
+
ARCANE_GENERATE_CHALLENGE = "arcane.generate_challenge"
|
|
206
|
+
ARCANE_CONFIG_UPDATE = "arcane.config_update"
|
|
207
|
+
|
|
198
208
|
|
|
199
209
|
class EventType(str, Enum):
|
|
200
210
|
"""Event types (Daemon → Client)."""
|
|
@@ -267,6 +277,14 @@ class EventType(str, Enum):
|
|
|
267
277
|
|
|
268
278
|
# Log/Activity Messages
|
|
269
279
|
LOG_MESSAGE = "log.message"
|
|
280
|
+
LOG_LINES = "log.lines" # Batched log lines (1+ lines)
|
|
281
|
+
LOG_STREAM_STARTED = "log.stream_started"
|
|
282
|
+
LOG_STREAM_STOPPED = "log.stream_stopped"
|
|
283
|
+
|
|
284
|
+
# Shell Events (interactive terminal)
|
|
285
|
+
SHELL_OUTPUT = "shell.output" # Shell output data (batched)
|
|
286
|
+
SHELL_CLOSED = "shell.closed" # Shell session terminated
|
|
287
|
+
SHELL_ERROR = "shell.error" # Shell error occurred
|
|
270
288
|
|
|
271
289
|
# State Synchronization
|
|
272
290
|
STATE_UPDATE = "state.update" # Unified state update event
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/config_locations.py
RENAMED
|
File without changes
|
{flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/daemon_state.py
RENAMED
|
File without changes
|
{flux_config_shared-0.2.0 → flux_config_shared-0.4.0}/src/flux_config_shared/delegate_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|