Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: add the missing stage-run client API wrappers so the client builds (#9434)

Adam Eivyba0db41aed91
diff --git a/client/src/services/apiCodeAnimation.js b/client/src/services/apiCodeAnimation.js
index 8b821c3cdf..98ccedefdb 100644
--- a/client/src/services/apiCodeAnimation.js
+++ b/client/src/services/apiCodeAnimation.js
@@ -65,6 +65,8 @@ export const preflightCodeAnimationProject = (id, options) => request(`/code-ani
// Contained production execution (#9388): capability report, operator tool
// paths, and the on-demand adversarial containment check.
+export const startCodeAnimationStageRun = (id, input, options) => request(`/code-animation/projects/${encodeURIComponent(id)}/stage-runs`, { method: 'POST', body: JSON.stringify(input ?? {}), ...options });
+export const cancelCodeAnimationStageRun = (id, runId, options) => request(`/code-animation/projects/${encodeURIComponent(id)}/stage-runs/${encodeURIComponent(runId)}/cancel`, { method: 'POST', ...options });
export const getCodeAnimationExecution = (options) => request('/code-animation/execution', options);
export const updateCodeAnimationExecutionTools = (tools, options) => request('/code-animation/execution/tools', { method: 'PUT', body: JSON.stringify(tools), ...options });
export const probeCodeAnimationExecution = (options) => request('/code-animation/execution/probe', { method: 'POST', ...options });