mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
`defaults:` is the canonical CLI/client-defaults block. The legacy spelling `cli:` is accepted as a serde alias and honored under the legacy schema, but rejected under `version: 1` (pointing at the new spelling) and flagged by a deprecation warning. Generalizes the version-gated key scan into `legacy_top_level_keys`, which now drives both the v1 rejection and the legacy warnings via a shared migration-hint table. Renames the config accessors (cli_* -> default_*) and repoints the CLI call sites; migrates the init scaffold, the example config, and the shared test helpers to `defaults:`.
21 lines
257 B
YAML
21 lines
257 B
YAML
version: 1
|
|
|
|
servers:
|
|
prod:
|
|
endpoint: http://127.0.0.1:8080
|
|
|
|
graphs:
|
|
local:
|
|
storage: ./repo.omni
|
|
dev:
|
|
server: prod
|
|
bearer_token_env: OMNIGRAPH_BEARER_TOKEN
|
|
|
|
defaults:
|
|
graph: local
|
|
branch: main
|
|
|
|
query:
|
|
roots:
|
|
- queries
|
|
- .
|