You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(desktop): goal chip lacks pause/resume and looks identical whether running or paused #3024
The desktop goal chip (SessionContextLayer) shows a pulsing dot, iterations/maxIterations, and a stop (clear) button. Three gaps:
A paused goal looks exactly like a running one — same pulsing accent dot, same counter — even though a paused goal burns nothing. use-session-goal.ts already surfaces paused goals; the chip just doesn't render the difference.
No pause/resume affordance. The bridge only wires goal:get and goal:clear (runtime-host-session-domains-ipc-main.ts), although the host protocol fully supports goal.control with pause | resume | clear and resumeFromControl restarts a paused goal without spending a model turn.
No elapsed time or token budget. The projection already carries setAt, pausedAt, tokensSpent, tokenBudget; none are shown.
Proposal
Wire goal:pause / goal:resume through preload (window.maka.goal.pause/resume) with the same optimistic-revision retry as clearGoal.
Make the chip status-aware: distinct label/style for active vs waiting vs paused (paused must not pulse), and show elapsed time (from setAt, frozen at pausedAt) and tokensSpent / tokenBudget when a budget exists.
Add a pause button for running goals and a resume button for paused goals next to the existing stop (clear) button.
No runtime or protocol changes required — surface wiring only.
Activity
feat(desktop): goal chip shows paused state, elapsed, tokens, pause/r…