@marimo-team/frontend 0.25.3-dev17 → 0.25.3-dev19

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/frontend",
3
- "version": "0.25.3-dev17",
3
+ "version": "0.25.3-dev19",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -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
- /** Transport state, independent of kernel readiness. */
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
- * Atom for storing the connection status.
11
- * Initialized to NOT_STARTED.
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,