Skip to content

DurationControl

Duration control (playtime limit) status of the logged-in user, from Steam’s DurationControl_t.

appId: number

The app that generated the playtime.


applicable: boolean

Whether duration control applies to this user and game.


notification: DurationControlNotification

The notification to show, if any. Always NoNotification for this call.


progress: DurationControlProgress

The recommended progress.


secondsLast5H: number

Playtime since the most recent 5-hour gap, in seconds, counted up to the regulatory limit.


secondsRemaining: number

Playtime left before the user reaches a regulatory limit, in seconds.


secondsToday: number

Playtime on the current calendar day, in seconds.

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.