Skip to content

requestEncryptedAppTicket

requestEncryptedAppTicket(dataToInclude?): Promise<void>

Requests an encrypted app ticket for this app, with optional bytes encrypted into it. Needs init(). This sends a request to Steam. Resolves once Steam has the ticket; then read it with getEncryptedAppTicket(). Steam’s answer is delivered through runCallbacks(), which init() already calls. Rejects when Steam reports an error, when dataToInclude is larger than 2^31 - 1 bytes (nothing is sent). There is no timeout: if Steam never answers, the Promise stays pending and the outcome is unknown.

any

optional bytes to encrypt into the ticket.

Promise<void>

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.