omnigraph/omnigraph.example.yaml
Ragnor Comerford 56ff5eb9ec
refactor(config,cli): rename the cli: config block to defaults: under v1
`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:`.
2026-06-04 21:31:38 +02:00

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
- .