Expand description
Structs§
- AppLocal
Config - Resolved app-local config values loaded from
app.conf. - AppRuntime
- Fully resolved runtime configuration for one mounted app.
- Resource
Budgets - Runtime resource ceilings applied to responses, queries, jobs, and integrations.
- Serve
Config - Parsed top-level runtime launch configuration.
Constants§
- MODULE_
STATUS - Implementation status marker for the shared config module.
Functions§
- app_
artifact_ dir_ from_ build_ dir - Performs app artifact dir from build dir.
- app_
base_ path_ local - Performs app base path local.
- app_
build_ dir_ local - Performs app build dir local.
- app_
error_ report_ path_ local - Performs app error report path local.
- app_
local_ conf_ path - Returns the
app.confpath for an app when the file exists. - app_
local_ conf_ value - Performs app local conf value.
- app_
log_ format_ local - Performs app log format local.
- app_
log_ level_ explicit - Performs app log level explicit.
- app_
log_ level_ local - Performs app log level local.
- app_
log_ path_ local - Performs app log path local.
- app_
media_ root - Resolves configured app media storage, retaining bundled storage for legacy apps. Configured paths must be absolute after config-relative resolution and cannot traverse parents.
- app_
state_ path_ local - Performs app state path local.
- application_
effects_ 🔒within_ budget - Rejects compiled actions whose declared effect set exceeds the configured work budget.
- apply_
serve_ config_ defaults_ from_ conf - Performs apply serve config defaults from conf.
- canonicalize_
or_ 🔒original - Performs canonicalize or original.
- clone_
app - Clones one resolved runtime configuration.
- conf_
lookup_ 🔒value_ in_ text - Performs conf lookup value in text.
- current_
working_ 🔒directory - Performs current working directory.
- duplicate_
config_ field - Performs duplicate config field.
- dynamic_
config_ effective_ value - Performs dynamic config effective value.
- dynamic_
config_ key_ is_ path - Performs dynamic config key is path.
- dynamic_
config_ lookup_ raw - Performs dynamic config lookup raw.
- dynamic_
config_ resolve_ value - Performs dynamic config resolve value.
- dynamic_
config_ value_ is_ set - Performs dynamic config value is set.
- effective_
app_ artifact_ dir - Performs effective app artifact dir.
- effective_
app_ base_ path - Performs effective app base path.
- effective_
app_ build_ dir - Performs effective app build dir.
- effective_
app_ error_ report_ path - Performs effective app error report path.
- effective_
app_ log_ format - Performs effective app log format.
- effective_
app_ log_ level - Performs effective app log level.
- effective_
app_ log_ path - Performs effective app log path.
- effective_
app_ state_ path - Performs effective app state path.
- finalize_
base_ 🔒path - Performs finalize base path.
- finalize_
error_ 🔒report_ path - Performs finalize error report path.
- finalize_
loaded_ app - Performs finalize loaded app.
- finalize_
log_ 🔒format - Performs finalize log format.
- finalize_
log_ 🔒level - Performs finalize log level.
- finalize_
log_ 🔒path - Performs finalize log path.
- finalize_
queue_ 🔒enabled - Performs finalize queue enabled.
- finalize_
queue_ 🔒long_ field - Performs finalize queue long field.
- finalize_
resource_ 🔒budgets - Resolves the complete first-class resource budget contract.
- finalize_
runtime_ 🔒conf_ path - Performs finalize runtime conf path.
- finalize_
state_ 🔒path - Performs finalize state path.
- finalize_
trusted_ 🔒proxy_ cidrs - Performs finalize trusted proxy cidrs.
- find_
app_ root_ for_ target - Finds an app root by checking the explicit app directory, repository root, and binary-relative app directories.
- free_
app_ local_ config - Clears an app-local configuration value without retaining owned strings.
- free_
serve_ config - Clears an owned serve configuration in the same way as dropping a parsed value.
- has_
cli_ 🔒override_ value - Returns whether cli override value.
- has_
override_ 🔒value - Returns whether override value.
- has_
runtime_ 🔒default_ value - Returns whether runtime default value.
- load_
app_ local_ config - Loads app local config.
- load_
manifest_ 🔒value - Loads manifest value.
- manifest_
app_ 🔒id - Performs manifest app ID.
- manifest_
has_ 🔒required_ fields - Performs manifest has required fields.
- match_
app_ root_ in_ directory - Finds an app root in one directory tree by matching
app_idfrom the manifest. - normalize_
base_ path - Normalizes base path.
- normalize_
build_ 🔒dir_ value - Normalizes build dir value.
- normalized_
build_ 🔒dir_ path - Performs normalized build dir path.
- parse_
config_ 🔒bool - Parses config boolean flag.
- parse_
json_ 🔒text - Parses JSON text.
- parse_
positive_ 🔒i64 - Parses positive i64.
- parse_
queue_ 🔒enabled - Parses queue enabled.
- parse_
serve_ config - Parses serve config.
- parse_
yaml_ 🔒text - Parses YAML text.
- path_
dirname 🔒 - Performs path dirname.
- path_
exists 🔒 - Performs path exists.
- path_
last_ 🔒segment_ is_ apps - Performs path last segment is apps.
- path_
last_ segment_ is_ apps_ runtime_ local - Tests whether the final path component is the protected runtime directory.
- read_
file_ 🔒text - Reads file text.
- resolve_
conf_ relative_ path - Resolves a config value relative to the config file that declared it.
- resolve_
conf_ 🔒value_ key - Resolves conf value key.
- resolve_
relative_ 🔒artifact_ dir - Resolves relative artifact dir.
- resolve_
relative_ artifact_ dir_ runtime_ local - Resolves an artifact directory relative to a build directory while preserving
dist/apps. - resolve_
relative_ 🔒to - Resolves relative to.
- resolved_
runtime_ conf_ path_ from_ config - Performs resolved runtime conf path from config.
- resource_
limit 🔒 - Loads one bounded positive resource limit from app or runtime configuration.
- skip_
leading_ 🔒apps_ segment - Performs skip leading apps segment.
- skip_
leading_ apps_ segment_ runtime_ local - Skips a leading
appspath component without allowing traversal. - skip_
leading_ 🔒build_ dir_ segment - Performs skip leading build dir segment.
- state_
sections_ 🔒within_ budget - Rejects an existing state document containing an unbounded top-level collection.
- string_
from_ 🔒json_ value - Performs string from JSON value.