Move panel temporary state to worker OPFS
This commit is contained in:
@@ -34,7 +34,14 @@ export function capabilities(contextId) {
|
||||
event: 1,
|
||||
workspace: 1,
|
||||
commands: [...COMMANDS],
|
||||
worker_storage_commands: ["UI_STATE_SAVE", "UI_STATE_LOAD", "UI_STATE_CLEAR"],
|
||||
streams: ["STATE_SNAPSHOT", "EVENT", "ALARM"],
|
||||
storage: {
|
||||
owner: "dedicated-worker",
|
||||
ui_state: "opfs_temp_json_v1",
|
||||
power_off_checkpoint: "opfs_temp_json_v1",
|
||||
authority: "linuxcnc-wasm-remains-authoritative",
|
||||
},
|
||||
limits: { ...LIMITS },
|
||||
exclusions: EXCLUSIONS.map((entry) => ({ ...entry })),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user