Skip to content

requestStoreAuthUrl

requestStoreAuthUrl(redirectUrl): Promise<string>

Requests a store checkout URL that signs in the in-game browser, then redirects to redirectUrl. Needs init(). The SDK says the URL has a very short lifetime, so open it right away. Its auth cookie lasts a day, and the SDK suggests requesting a new URL about every 12 hours. Resolves with the URL. Rejects when redirectUrl contains a NUL character (nothing is sent), or when Steam returns an empty URL. There is no timeout: if Steam never answers, the Promise stays pending.

string

the page the store redirects to after checkout.

Promise<string>

the store authorization URL.

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.