Skip to content

getItem

getItem(item, queryConfig?): Promise<WorkshopItem | null>

Gets one Workshop item by its published file id. The query runs through the Steam client, so a running Steam client is needed. Whether a logged-in account is also required is unverified against a live Steam client.

Resolves with the item, or with null when the query returns no record for the id. The optional children field is filled only with returnChildren, and additionalPreviews only with includeAdditionalPreviews. Rejects when the query cannot be created or Steam returns an error.

bigint

the Workshop item to read (its published file id)

WorkshopItemQueryConfig | null

optional query options; see WorkshopItemQueryConfig. Omitted, no options are set.

Promise<WorkshopItem | null>

the item, or null when the query returned no record for the id

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.