diff --git a/core/config/default.ts b/core/config/default.ts index 8662be678..4ae643223 100644 --- a/core/config/default.ts +++ b/core/config/default.ts @@ -97,6 +97,7 @@ export const defaultConfig: SerializedContinueConfig = { tabAutocompleteModel: DEFAULT_AUTOCOMPLETE_MODEL_CONFIG, contextProviders: defaultContextProvidersVsCode, slashCommands: defaultSlashCommandsVscode, + data: [], }; export const defaultConfigJetBrains: SerializedContinueConfig = { @@ -104,4 +105,5 @@ export const defaultConfigJetBrains: SerializedContinueConfig = { tabAutocompleteModel: DEFAULT_AUTOCOMPLETE_MODEL_CONFIG, contextProviders: defaultContextProvidersJetBrains, slashCommands: defaultSlashCommandsJetBrains, + data: [], }; diff --git a/core/config/yaml/loadYaml.ts b/core/config/yaml/loadYaml.ts index 3ce7229a4..7b5287070 100644 --- a/core/config/yaml/loadYaml.ts +++ b/core/config/yaml/loadYaml.ts @@ -122,6 +122,7 @@ async function configYamlToContinueConfig( faviconUrl: doc.faviconUrl, })), contextProviders: [], + data: [], }; // Models diff --git a/core/data/schemas.ts b/core/data/schemas.ts index 549dd80c4..bf070b794 100644 --- a/core/data/schemas.ts +++ b/core/data/schemas.ts @@ -1,4 +1,4 @@ -import { completionOptionsSchema } from "@continuedev/config-yaml/schemas/models"; +import { completionOptionsSchema } from "@continuedev/config-yaml"; import { z } from "zod"; export const tokensGeneratedDevDataSchema = z.object({ diff --git a/core/package-lock.json b/core/package-lock.json index 054b132c2..0e5b2ac06 100644 --- a/core/package-lock.json +++ b/core/package-lock.json @@ -13,7 +13,7 @@ "@aws-sdk/client-sagemaker-runtime": "^3.621.0", "@aws-sdk/credential-providers": "^3.620.1", "@continuedev/config-types": "^1.0.13", - "@continuedev/config-yaml": "^1.0.23", + "@continuedev/config-yaml": "^1.0.24", "@continuedev/fetch": "^1.0.4", "@continuedev/llm-info": "^1.0.2", "@continuedev/openai-adapters": "^1.0.10", @@ -121,7 +121,9 @@ "../packages/config-yaml/dis": { "extraneous": true }, - "../packages/config-yaml/dist": {}, + "../packages/config-yaml/dist": { + "extraneous": true + }, "../packages/config-yaml/dist/index.js": { "extraneous": true }, @@ -3057,9 +3059,9 @@ } }, "node_modules/@continuedev/config-yaml": { - "version": "1.0.23", - "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.0.23.tgz", - "integrity": "sha512-F2Hwc85iCwAHJuwJALOsmZIBeHdF+87mS0YT7dlC6QiE+zAhZKUHcLQ/nTt9bJuhyVyufpb9LApkp40UdGsaWw==", + "version": "1.0.24", + "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.0.24.tgz", + "integrity": "sha512-xA4tRUh9r9p3aHIXr9zl5GQd5VygEusIc7Zw7AAFCbbl6ahMB4CDcweT8+iz0UvxJ11PLYizFSygpvxu/Yl19Q==", "dependencies": { "@continuedev/config-types": "^1.0.14", "yaml": "^2.6.1", diff --git a/core/package.json b/core/package.json index 111fbe902..cfb17e1c4 100644 --- a/core/package.json +++ b/core/package.json @@ -46,7 +46,7 @@ "@aws-sdk/client-sagemaker-runtime": "^3.621.0", "@aws-sdk/credential-providers": "^3.620.1", "@continuedev/config-types": "^1.0.13", - "@continuedev/config-yaml": "^1.0.23", + "@continuedev/config-yaml": "^1.0.24", "@continuedev/fetch": "^1.0.4", "@continuedev/llm-info": "^1.0.2", "@continuedev/openai-adapters": "^1.0.10", diff --git a/gui/package-lock.json b/gui/package-lock.json index cca979250..ad60841c0 100644 --- a/gui/package-lock.json +++ b/gui/package-lock.json @@ -7,7 +7,7 @@ "name": "gui", "license": "Apache-2.0", "dependencies": { - "@continuedev/config-yaml": "^1.0.23", + "@continuedev/config-yaml": "^1.0.24", "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", "@reduxjs/toolkit": "^2.3.0", @@ -108,7 +108,7 @@ "@aws-sdk/client-sagemaker-runtime": "^3.621.0", "@aws-sdk/credential-providers": "^3.620.1", "@continuedev/config-types": "^1.0.13", - "@continuedev/config-yaml": "^1.0.23", + "@continuedev/config-yaml": "^1.0.24", "@continuedev/fetch": "^1.0.4", "@continuedev/llm-info": "^1.0.2", "@continuedev/openai-adapters": "^1.0.10", @@ -556,9 +556,9 @@ } }, "node_modules/@continuedev/config-yaml": { - "version": "1.0.23", - "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.0.23.tgz", - "integrity": "sha512-F2Hwc85iCwAHJuwJALOsmZIBeHdF+87mS0YT7dlC6QiE+zAhZKUHcLQ/nTt9bJuhyVyufpb9LApkp40UdGsaWw==", + "version": "1.0.24", + "resolved": "https://registry.npmjs.org/@continuedev/config-yaml/-/config-yaml-1.0.24.tgz", + "integrity": "sha512-xA4tRUh9r9p3aHIXr9zl5GQd5VygEusIc7Zw7AAFCbbl6ahMB4CDcweT8+iz0UvxJ11PLYizFSygpvxu/Yl19Q==", "dependencies": { "@continuedev/config-types": "^1.0.14", "yaml": "^2.6.1", diff --git a/gui/package.json b/gui/package.json index 4500287fa..9ec1746ce 100644 --- a/gui/package.json +++ b/gui/package.json @@ -15,7 +15,7 @@ "test:watch": "vitest" }, "dependencies": { - "@continuedev/config-yaml": "^1.0.23", + "@continuedev/config-yaml": "^1.0.24", "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", "@reduxjs/toolkit": "^2.3.0", diff --git a/packages/config-yaml/package.json b/packages/config-yaml/package.json index c3c5419a9..73e3e5eb5 100644 --- a/packages/config-yaml/package.json +++ b/packages/config-yaml/package.json @@ -1,6 +1,6 @@ { "name": "@continuedev/config-yaml", - "version": "1.0.23", + "version": "1.0.24", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/config-yaml/src/index.ts b/packages/config-yaml/src/index.ts index f61339fe6..c008b7509 100644 --- a/packages/config-yaml/src/index.ts +++ b/packages/config-yaml/src/index.ts @@ -8,4 +8,5 @@ export * from "./load/merge.js"; export * from "./load/proxySecretResolution.js"; export * from "./load/unroll.js"; export * from "./schemas/index.js"; +export * from "./schemas/models.js"; export * from "./validation.js";