websockets based IPC added in order to bind GUI/app together
This commit is contained in:
parent
eb0d40bae6
commit
adec595cfa
15 changed files with 1069 additions and 47 deletions
|
|
@ -1,6 +1,22 @@
|
|||
import { writable } from "svelte/store"
|
||||
import { invoke } from "@tauri-apps/api/core"
|
||||
|
||||
// ### RE-EXPORT IPC STORES
|
||||
export {
|
||||
jarvisState,
|
||||
ipcConnected,
|
||||
lastRecognizedText,
|
||||
lastExecutedCommand,
|
||||
lastError,
|
||||
connectIpc,
|
||||
enableIpc,
|
||||
disableIpc,
|
||||
disconnectIpc,
|
||||
sendAction,
|
||||
stopJarvisApp,
|
||||
reloadCommands
|
||||
} from "./lib/ipc"
|
||||
|
||||
// ### RUNNING STATE
|
||||
export const isJarvisRunning = writable(false)
|
||||
export const jarvisRamUsage = writable(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue