From 908ecf30abd862f52f5b9637fc9fb6bb246663aa Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 4 Apr 2025 12:00:53 -0700 Subject: [PATCH 1/2] option to always use proxy --- packages/config-yaml/package.json | 2 +- packages/config-yaml/src/load/unroll.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/config-yaml/package.json b/packages/config-yaml/package.json index 703632362..73af0687e 100644 --- a/packages/config-yaml/package.json +++ b/packages/config-yaml/package.json @@ -1,6 +1,6 @@ { "name": "@continuedev/config-yaml", - "version": "1.0.71", + "version": "1.0.72", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/config-yaml/src/load/unroll.ts b/packages/config-yaml/src/load/unroll.ts index 92a0b0157..3d56b0251 100644 --- a/packages/config-yaml/src/load/unroll.ts +++ b/packages/config-yaml/src/load/unroll.ts @@ -146,6 +146,7 @@ function extractFQSNMap( async function extractRenderedSecretsMap( rawContent: string, platformClient: PlatformClient, + alwaysUseProxy: boolean = false, ): Promise> { // Get all template variables const templateVars = getTemplateVariables(rawContent); @@ -165,7 +166,7 @@ async function extractRenderedSecretsMap( } // User secrets are rendered - if ("value" in secretResult) { + if ("value" in secretResult && !alwaysUseProxy) { map[encodeFQSN(secretResult.fqsn)] = secretResult.value; } else { // Other secrets are rendered as secret locations and then converted to proxy types later @@ -187,6 +188,7 @@ export interface RenderSecretsUnrollAssistantOptions { currentUserSlug: string; platformClient: PlatformClient; onPremProxyUrl: string | null; + alwaysUseProxy?: boolean; } export type UnrollAssistantOptions = @@ -256,6 +258,7 @@ export async function unrollAssistantFromContent( const secrets = await extractRenderedSecretsMap( templatedYaml, options.platformClient, + options.alwaysUseProxy, ); const renderedYaml = renderTemplateData(templatedYaml, { secrets, From fb94c08ed5456ab6cf3f07726cd6026175c9aacc Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 4 Apr 2025 18:37:34 -0700 Subject: [PATCH 2/2] bump --- extensions/intellij/gradle.properties | 2 +- extensions/vscode/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/intellij/gradle.properties b/extensions/intellij/gradle.properties index 506f6bf62..7c00cb65c 100644 --- a/extensions/intellij/gradle.properties +++ b/extensions/intellij/gradle.properties @@ -3,7 +3,7 @@ pluginGroup=com.github.continuedev.continueintellijextension pluginName=continue-intellij-extension pluginRepositoryUrl=https://github.com/continuedev/continue # SemVer format -> https://semver.org -pluginVersion=1.0.11 +pluginVersion=1.0.12 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild=223 # IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 15599a1c0..97a2b6105 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -2,7 +2,7 @@ "name": "continue", "icon": "media/icon.png", "author": "Continue Dev, Inc", - "version": "1.1.20", + "version": "1.1.21", "repository": { "type": "git", "url": "https://github.com/continuedev/continue"