continue-custom/packages/config-yaml/src
2025-05-16 18:23:14 -07:00
..
__tests__ fix uri handling, support local blocks 2025-04-09 11:10:52 -07:00
interfaces fix uri handling, support local blocks 2025-04-09 11:10:52 -07:00
load Merge branch 'main' into nate/local-blocks 2025-04-21 16:14:14 -07:00
schemas add editInteraction data to dev data schema 2025-05-13 21:34:25 -07:00
scripts generate json schema 2025-04-08 08:14:52 -07:00
cli.ts cli for linting config-yaml 2025-04-05 22:01:50 -07:00
converter.ts update converter 2025-04-12 08:37:50 -07:00
index.ts Merge branch 'main' into pe/remove-tools 2025-03-12 13:37:34 -07:00
README.md bump version 2025-04-03 15:28:49 -07:00
registryClient.test.ts add test for file:// urls 2025-05-11 23:48:30 +03:00
registryClient.ts fix file:// urls handling on Windows 2025-05-11 18:48:48 +03:00
validation.ts rename AssistantRolled back to ConfigYaml 2025-01-26 21:24:00 -08: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