Fix onboarding duplicate wake run and set 1h CEO heartbeat

This commit is contained in:
Dotta
2026-03-03 13:10:06 -06:00
parent d232858afe
commit 2e4481fc26

View File

@@ -292,7 +292,7 @@ export function OnboardingWizard() {
runtimeConfig: { runtimeConfig: {
heartbeat: { heartbeat: {
enabled: true, enabled: true,
intervalSec: 300, intervalSec: 3600,
wakeOnDemand: true, wakeOnDemand: true,
cooldownSec: 10, cooldownSec: 10,
maxConcurrentRuns: 1 maxConcurrentRuns: 1
@@ -340,11 +340,6 @@ export function OnboardingWizard() {
if (!createdAgentId) return; if (!createdAgentId) return;
setLoading(true); setLoading(true);
setError(null); setError(null);
try {
await agentsApi.invoke(createdAgentId);
} catch {
// Agent may already be running from auto-wake — that's fine
}
setLoading(false); setLoading(false);
reset(); reset();
closeOnboarding(); closeOnboarding();
@@ -797,8 +792,8 @@ export function OnboardingWizard() {
<div> <div>
<h3 className="font-medium">Ready to launch</h3> <h3 className="font-medium">Ready to launch</h3>
<p className="text-xs text-muted-foreground"> <p className="text-xs text-muted-foreground">
Everything is set up. Launch your agent and watch it Everything is set up. Your assigned task already woke
work. the agent, so you can jump straight to the issue.
</p> </p>
</div> </div>
</div> </div>
@@ -911,9 +906,9 @@ export function OnboardingWizard() {
{loading ? ( {loading ? (
<Loader2 className="h-3.5 w-3.5 mr-1 animate-spin" /> <Loader2 className="h-3.5 w-3.5 mr-1 animate-spin" />
) : ( ) : (
<Rocket className="h-3.5 w-3.5 mr-1" /> <ArrowRight className="h-3.5 w-3.5 mr-1" />
)} )}
{loading ? "Launching..." : "Launch Agent"} {loading ? "Opening..." : "Open Issue"}
</Button> </Button>
)} )}
</div> </div>