getConfigValue
getConfigValue(
valueId,connection?):string|number|bigint|null
Reads a config value, globally or for one connection. Needs init().
The result is a number for int32 and float values, a BigInt for int64 values (so large values stay exact), and a string for string values.
Parameters
Section titled “Parameters”valueId
Section titled “valueId”number
The config value number.
connection?
Section titled “connection?”number | null
Optional raw connection handle. When given, the value is read for that connection, falling back to the inherited value.
Returns
Section titled “Returns”string | number | bigint | null
The value, or null when it does not exist, the connection is invalid, or the value is a callback.
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:
