writeFile
writeFile(
name,content):boolean
Writes text to a Steam Cloud file as UTF-8, replacing its previous content. Needs init().
The write is committed when the write stream closes, which happens before this call returns.
Parameters
Section titled “Parameters”string
The cloud file name.
content
Section titled “content”string
Text to write, encoded as UTF-8.
Returns
Section titled “Returns”boolean
true if the content was accepted by the write stream, false if writing failed. The commit result is not reported. Unverified against a live Steam client whether a failed commit is visible.
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.
© 2026 HagiCode | Powered By hagilight-starlight@0.23.0 | Branch: main | Commit: 7164ec7 | Built:
