Feature hasn't been suggested before.
Describe the enhancement you want to request
OpenCode has custom slash commands, but there is no native persistent session goal/lifecycle feature.
Proposal: add one persisted goal per session, exposed through shared server APIs so TUI and desktop app clients can view, set, edit, pause, resume, clear, and observe it. Active goals can continue when idle, track token/time usage, support optional token budgets, and let the model mark a goal complete only after verification.
This is not implementable as a command template because it needs persistence, runtime continuation, usage accounting, and client sync/status surfaces.
Related but broader than #23578 and #18636: this request covers a first-class per-session goal domain, shared API/SDK surface, TUI and macOS app support, runtime continuation, and model-visible goal tools with restricted mutation semantics.
Feature hasn't been suggested before.
Describe the enhancement you want to request
OpenCode has custom slash commands, but there is no native persistent session goal/lifecycle feature.
Proposal: add one persisted goal per session, exposed through shared server APIs so TUI and desktop app clients can view, set, edit, pause, resume, clear, and observe it. Active goals can continue when idle, track token/time usage, support optional token budgets, and let the model mark a goal complete only after verification.
This is not implementable as a command template because it needs persistence, runtime continuation, usage accounting, and client sync/status surfaces.
Related but broader than #23578 and #18636: this request covers a first-class per-session goal domain, shared API/SDK surface, TUI and macOS app support, runtime continuation, and model-visible goal tools with restricted mutation semantics.