summaryrefslogtreecommitdiffhomepage
path: root/src/app/App.svelte
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-27 00:03:21 +0900
committerAdam Malczewski <[email protected]>2026-06-27 00:03:21 +0900
commit397ce9b65b888121d8c7e909c37dfdbffe914673 (patch)
tree0f9ce1f5eae8d67c82f7f9022718a16242e658e2 /src/app/App.svelte
parent5a0e2491e6881e66d520a9b32af732e3eb6041f1 (diff)
downloaddispatch-web-397ce9b65b888121d8c7e909c37dfdbffe914673.tar.gz
dispatch-web-397ce9b65b888121d8c7e909c37dfdbffe914673.zip
feat(heartbeat): show next heartbeat timer + backend handoff for timestamp endpoint
Diffstat (limited to 'src/app/App.svelte')
-rw-r--r--src/app/App.svelte6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/App.svelte b/src/app/App.svelte
index 7ad8733..09be947 100644
--- a/src/app/App.svelte
+++ b/src/app/App.svelte
@@ -64,6 +64,7 @@
manifest as heartbeatManifest,
RunModal,
type HeartbeatConfigResult,
+ type HeartbeatNextRunResult,
type HeartbeatRunView,
type HeartbeatRunsResult,
type HeartbeatStopResult,
@@ -399,6 +400,10 @@
return store.stopHeartbeatRun(runId);
}
+ async function loadHeartbeatNextRun(): Promise<HeartbeatNextRunResult> {
+ return store.heartbeatNextRun();
+ }
+
// Run-chat modal: open a live watch on the run's conversation (the store owns
// the ChatStore + the `chat.subscribe` stream), and tear it down on close.
function openRunChat(conversationId: string): ChatStore {
@@ -682,6 +687,7 @@
stopRun={stopHeartbeatRun}
loadVariables={loadSystemPromptVariablesPrompt}
loadDefaultPrompt={loadSystemPromptPrompt}
+ loadNextRun={loadHeartbeatNextRun}
onOpenRun={(run) => (heartbeatRun = run)}
/>
{/if}