From fa5de356da3a857e2f2198de98981f297c24563f Mon Sep 17 00:00:00 2001 From: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com> Date: Fri, 22 Aug 2025 18:07:32 +0200 Subject: [PATCH] chore: fix format --- apps/extension/package.json | 25 +++---------------- package.json | 5 +--- .../parse-prd/parse-prd-config.js | 11 ++++---- 3 files changed, 11 insertions(+), 30 deletions(-) diff --git a/apps/extension/package.json b/apps/extension/package.json index 346f4f71..8d1599c9 100644 --- a/apps/extension/package.json +++ b/apps/extension/package.json @@ -9,17 +9,9 @@ "engines": { "vscode": "^1.93.0" }, - "categories": [ - "AI", - "Visualization", - "Education", - "Other" - ], + "categories": ["AI", "Visualization", "Education", "Other"], "main": "./dist/extension.js", - "activationEvents": [ - "onStartupFinished", - "workspaceContains:.taskmaster/**" - ], + "activationEvents": ["onStartupFinished", "workspaceContains:.taskmaster/**"], "contributes": { "viewsContainers": { "activitybar": [ @@ -147,11 +139,7 @@ }, "taskmaster.ui.theme": { "type": "string", - "enum": [ - "auto", - "light", - "dark" - ], + "enum": ["auto", "light", "dark"], "default": "auto", "description": "UI theme preference" }, @@ -212,12 +200,7 @@ }, "taskmaster.debug.logLevel": { "type": "string", - "enum": [ - "error", - "warn", - "info", - "debug" - ], + "enum": ["error", "warn", "info", "debug"], "default": "info", "description": "Logging level" }, diff --git a/package.json b/package.json index c9a00461..29066e1a 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,7 @@ "task-master-mcp": "mcp-server/server.js", "task-master-ai": "mcp-server/server.js" }, - "workspaces": [ - "apps/*", - "." - ], + "workspaces": ["apps/*", "."], "scripts": { "test": "node --experimental-vm-modules node_modules/.bin/jest", "test:fails": "node --experimental-vm-modules node_modules/.bin/jest --onlyFailures", diff --git a/scripts/modules/task-manager/parse-prd/parse-prd-config.js b/scripts/modules/task-manager/parse-prd/parse-prd-config.js index b0b7a9db..f0799fb0 100644 --- a/scripts/modules/task-manager/parse-prd/parse-prd-config.js +++ b/scripts/modules/task-manager/parse-prd/parse-prd-config.js @@ -63,14 +63,15 @@ export class PrdParseConfig { this.targetTag = this.tag || getCurrentTag(this.projectRoot) || 'master'; this.isMCP = !!this.mcpLog; this.outputFormat = this.isMCP && !this.reportProgress ? 'json' : 'text'; - + // Feature flag: Temporarily disable streaming, use generateObject instead // TODO: Re-enable streaming once issues are resolved const ENABLE_STREAMING = false; - - this.useStreaming = ENABLE_STREAMING && ( - typeof this.reportProgress === 'function' || this.outputFormat === 'text' - ); + + this.useStreaming = + ENABLE_STREAMING && + (typeof this.reportProgress === 'function' || + this.outputFormat === 'text'); } /**