envpkt resolve
Resolve catalog references by merging catalog metadata with agent overrides, producing a flat config with no catalog field.
envpkt resolve [options]Options
Section titled “Options”| Option | Description | Default |
|---|---|---|
-c, --config <path> | Path to envpkt.toml | Auto-detected |
-o, --output <path> | Write resolved config to file | stdout |
--format <format> | Output format: toml, json | toml |
--dry-run | Show what would be resolved without writing | false |
Examples
Section titled “Examples”# Resolve and print to stdoutenvpkt resolve -c agent.toml
# Output as JSONenvpkt resolve -c agent.toml --format json
# Write to fileenvpkt resolve -c agent.toml -o resolved.toml
# Preview without writingenvpkt resolve -c agent.toml --dry-runMerge Rules
Section titled “Merge Rules”- Each field in the agent’s
[meta.KEY]override replaces the catalog field (shallow merge) - Omitted fields keep the catalog value
agent.secretsis the source of truth for which keys the agent needs- Configs without a
catalogfield pass through unchanged
See the Catalog System guide for a detailed walkthrough.