@marimo-team/frontend 0.25.3-dev16 → 0.25.3-dev18
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/package.json
CHANGED
|
@@ -14,7 +14,7 @@ import { parseNotebookEvent } from "./events";
|
|
|
14
14
|
|
|
15
15
|
/** A connection to a notebook on a marimo host. */
|
|
16
16
|
export interface NotebookClient {
|
|
17
|
-
/**
|
|
17
|
+
/** Client connection status, independent of application session readiness. */
|
|
18
18
|
readonly connectionAtom: Atom<ConnectionStatus>;
|
|
19
19
|
/** Attempt to restore a closed connection after checking host health. */
|
|
20
20
|
reconnect(): Promise<void>;
|
|
@@ -7,8 +7,10 @@ import { waitFor } from "../state/jotai";
|
|
|
7
7
|
import { type ConnectionStatus, ConnectionState } from "../websocket/types";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* Shared application state, not the actual event-stream status.
|
|
11
|
+
*
|
|
12
|
+
* TODO(MO-8051) Expose read-only connection state and derive UI availability
|
|
13
|
+
* separately.
|
|
12
14
|
*/
|
|
13
15
|
export const connectionAtom = atom<ConnectionStatus>({
|
|
14
16
|
state: ConnectionState.NOT_STARTED,
|