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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: flux-config-shared
3
- Version: 0.2.0
3
+ Version: 0.4.0
4
4
  Summary: Shared protocol and configuration definitions for Flux Config packages
5
5
  Author: David White
6
6
  Author-email: David White <david@runonflux.io>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "flux-config-shared"
3
- version = "0.2.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