Skip to content

addDependency

addDependency(parentId, childId): Promise<number>

Marks childId as a required item of parentId. Resolves with the Steam result code, where 1 is OK. A non-OK code (for example a missing child or a denied request) resolves rather than rejects. Rejects on an invalid id (checked before any Steam call), an I/O failure, or a lost completion.

bigint

bigint

Promise<number>

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.