Skip to content

An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.

chore: clean up default env value references across the code to be consistent.

Eyal Toledanoc6b8783bcecf
diff --git a/scripts/init.js b/scripts/init.js
index 92505a98..5b88f56e 100755
--- a/scripts/init.js
+++ b/scripts/init.js
@@ -895,12 +895,12 @@ function setupMCPConfiguration(targetDir, projectName) {
command: 'npx',
args: ['-y', 'task-master-mcp'],
env: {
- ANTHROPIC_API_KEY: '%ANTHROPIC_API_KEY%',
- PERPLEXITY_API_KEY: '%PERPLEXITY_API_KEY%',
+ ANTHROPIC_API_KEY: 'YOUR_ANTHROPIC_API_KEY',
+ PERPLEXITY_API_KEY: 'YOUR_PERPLEXITY_API_KEY',
MODEL: 'claude-3-7-sonnet-20250219',
PERPLEXITY_MODEL: 'sonar-pro',
MAX_TOKENS: 64000,
- TEMPERATURE: 0.3,
+ TEMPERATURE: 0.2,
DEFAULT_SUBTASKS: 5,
DEFAULT_PRIORITY: 'medium'
}
diff --git a/tests/fixture/test-tasks.json b/tests/fixture/test-tasks.json
index a1ef13d7..6b99c177 100644
--- a/tests/fixture/test-tasks.json
+++ b/tests/fixture/test-tasks.json
@@ -1,14 +1,14 @@
{
- "tasks": [
- {
- "id": 1,
- "dependencies": [],
- "subtasks": [
- {
- "id": 1,
- "dependencies": []
- }
- ]
- }
- ]
-}
+ "tasks": [
+ {
+ "id": 1,
+ "dependencies": [],
+ "subtasks": [
+ {
+ "id": 1,
+ "dependencies": []
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/tests/integration/mcp-server/direct-functions.test.js b/tests/integration/mcp-server/direct-functions.test.js
index 3d2b6a14..7a657405 100644
--- a/tests/integration/mcp-server/direct-functions.test.js
+++ b/tests/integration/mcp-server/direct-functions.test.js
@@ -131,7 +131,7 @@ jest.mock('../../../scripts/modules/utils.js', () => ({
enableSilentMode: mockEnableSilentMode,
disableSilentMode: mockDisableSilentMode,
CONFIG: {
- model: 'claude-3-sonnet-20240229',
+ model: 'claude-3-7-sonnet-20250219',
maxTokens: 64000,
temperature: 0.2,
defaultSubtasks: 5
diff --git a/tests/setup.js b/tests/setup.js
index bf2f421c..f7b62ed0 100644
--- a/tests/setup.js
+++ b/tests/setup.js
@@ -7,10 +7,10 @@
// Mock environment variables
process.env.MODEL = 'sonar-pro';
process.env.MAX_TOKENS = '64000';
-process.env.TEMPERATURE = '0.4';
+process.env.TEMPERATURE = '0.2';
process.env.DEBUG = 'false';
process.env.LOG_LEVEL = 'error'; // Set to error to reduce noise in tests
-process.env.DEFAULT_SUBTASKS = '3';
+process.env.DEFAULT_SUBTASKS = '5';
process.env.DEFAULT_PRIORITY = 'medium';
process.env.PROJECT_NAME = 'Test Project';
process.env.PROJECT_VERSION = '1.0.0';