feat: add optional feature flag for code context (#1165)
* feat: add featureFlag for codebase analysis * chore: add changeset * chore: run format
This commit is contained in:
@@ -145,6 +145,7 @@ const DEFAULT_CONFIG = {
|
||||
projectName: 'Task Master',
|
||||
ollamaBaseURL: 'http://localhost:11434/api',
|
||||
bedrockBaseURL: 'https://bedrock.us-east-1.amazonaws.com',
|
||||
enableCodebaseAnalysis: true,
|
||||
responseLanguage: 'English'
|
||||
},
|
||||
claudeCode: {}
|
||||
|
||||
@@ -6,7 +6,6 @@ import {
|
||||
createGetTagAwareFilePathMock,
|
||||
createSlugifyTagForFilePathMock
|
||||
} from './setup.js';
|
||||
import { hasCodebaseAnalysis } from '../../../../../scripts/modules/config-manager.js';
|
||||
|
||||
// Mock the dependencies before importing the module under test
|
||||
jest.unstable_mockModule('../../../../../scripts/modules/utils.js', () => ({
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
import { jest } from '@jest/globals';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import { hasCodebaseAnalysis } from '../../../../../scripts/modules/config-manager.js';
|
||||
|
||||
// Mock the dependencies
|
||||
jest.unstable_mockModule('../../../../../src/utils/path-utils.js', () => ({
|
||||
|
||||
Reference in New Issue
Block a user