First-run onboarding state for the interactive CLI.
Force the onboarding flow to open on every interactive startup.
Parsed by is_env_truthy: accepts 1, true, yes, on as enabled.
Directory for CLI-managed internal state (~/.deepagents/.state).
Holds files the CLI writes for its own bookkeeping — OAuth tokens, the
sessions database, version-check caches, input history. Kept separate from
top-level user-facing config and agent directories so listing/iterating
~/.deepagents doesn't conflate state with agents.
Marker filename under ~/.deepagents/.state after onboarding has completed.
Start marker for the managed onboarding name memory block.
End marker for the managed onboarding name memory block.
Return whether env var name is set to a recognizably truthy value.
Unlike bool(os.environ.get(name)), this does not treat "0" or
"false" as enabled. Use this for on/off flags where the user would
reasonably expect VAR=0 to mean "disabled".
Return the first-run onboarding marker path.
Return whether the user has completed onboarding.
Persist that onboarding has completed.
Persist the optional onboarding name into user agent memory.
Empty or whitespace-only names are skipped (no file is written).
Return whether onboarding should open at interactive startup.