continue-custom/packages/config-yaml/src
Dallin Romney 030a325cd5
fix: allow multiple context providers of the same type in config.yaml (#11853)
The BlockDuplicationDetector used only the `provider` field as the
deduplication key for context entries, so multiple HTTP context providers
with different URLs/titles were collapsed to just the first one.

Use `name ?? params.title ?? provider` as the key instead, matching
how HTTP context providers identify themselves via params.title.

Fixes #9416
2026-03-25 16:47:08 -07:00
..
__tests__ Remove duplicate block detection error reporting (#8011) 2025-09-29 10:54:40 -07:00
interfaces fix: pass pre-read content to RegistryClient for WSL compatibility (#9739) 2026-01-31 15:19:25 -08:00
load fix: allow multiple context providers of the same type in config.yaml (#11853) 2026-03-25 16:47:08 -07:00
markdown merge: main 2025-11-25 20:39:59 -08:00
schemas feat: add useResponsesApi option to opt out of Responses API (#11809) 2026-03-25 16:09:46 -07:00
scripts npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path . 2025-05-25 18:41:32 -07:00
browser.ts fix: MCP types and sse/http fallback logic 2025-09-24 15:30:08 -07:00
cli.ts cli for linting config-yaml 2025-04-05 22:01:50 -07:00
converter.ts feat: global req (#7414) 2025-09-17 10:57:40 -07:00
index.ts feat: impl Responses API in oai-adapters (#8417) 2025-10-29 13:17:32 -07:00
modelName.test.ts method in config-yaml to parse proxy model name 2025-05-20 13:10:46 -07:00
modelName.ts method in config-yaml to parse proxy model name 2025-05-20 13:10:46 -07:00
README.md bump version 2025-04-03 15:28:49 -07:00
registryClient.test.ts fix: pass pre-read content to RegistryClient for WSL compatibility (#9739) 2026-01-31 15:19:25 -08:00
registryClient.ts fix(registryClient): fix wrong location for the cli config file (#10812) 2026-03-24 11:21:49 -07:00
validation.ts fix: respect contextLength from YAML model config (#11807) 2026-03-25 12:26:52 -07:00

config.yaml specification

This specification is a work in progress and subject to change.

Loading a config.yaml file

config.yaml is loaded in the following steps

Unrolling

A "source" config.yaml is "unrolled" so that its packages all get merged into a single config.yaml. This is done by recursively loading all packages and merging them into the config.yaml.

This happens on the server, unless using local mode.

Client rendering

The unrolled config.yaml is then rendered on the client. This is done by replacing all user secret template variables with their values and replacing all other secrets with secret locations.

Publishing

Make sure you are logged into the npm registry with npm login.

Then, bump the version in package.json and then run:

npm run build
npm publish --access public