Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions packages/core/src/dev/activation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { createInputBox } from '../shared/ui/inputPrompter'
import { Wizard } from '../shared/wizards/wizard'
import { deleteDevEnvCommand, installVsixCommand, openTerminalCommand } from './codecatalyst'
import { watchBetaVSIX } from './beta'
import { isCloud9 } from '../shared/extensionUtilities'
import { isCloud9, isAmazonQ } from '../shared/extensionUtilities'
import { isReleaseVersion } from '../shared/vscode/env'
import { isAnySsoConnection } from '../auth/connection'
import { Auth } from '../auth/auth'
Expand Down Expand Up @@ -195,8 +195,9 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
const editor = new ObjectEditor()
ctx.subscriptions.push(openStorageCommand.register(editor))

if (!isCloud9() && !isReleaseVersion() && config.betaUrl) {
ctx.subscriptions.push(watchBetaVSIX(config.betaUrl))
const betaUrl = isAmazonQ() ? config.betaUrl.amazonq : config.betaUrl.toolkit
if (!isCloud9() && !isReleaseVersion() && betaUrl) {
ctx.subscriptions.push(watchBetaVSIX(betaUrl))
}
}

Expand Down
7 changes: 5 additions & 2 deletions packages/core/src/dev/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
* SPDX-License-Identifier: Apache-2.0
*/

// This file is strictly used for private development
// This file is for internal testing.
// Nothing in this file should have a truthy value on mainline

export const betaUrl = ''
export const betaUrl = {
amazonq: '',
toolkit: '',
}

// feature flag for SQL transformations
export const isSQLTransformReady = false
Loading