Proxy Support, JSON Output & Claude Code Config Loading

All AI providers now support HTTP/HTTPS proxies for corporate environments, restored JSON output for list/show commands, and Claude Code provider now respects your configuration files.

Minor Changes

  • #1382 ac4328a Thanks @JJVvV! - Added opt-in proxy support for all AI providers - respects http_proxy/https_proxy environment variables when enabled.

    When using Task Master in corporate or restricted network environments that require HTTP/HTTPS proxies, API calls to AI providers (OpenAI, Anthropic, Google, AWS Bedrock, etc.) would previously fail with ECONNRESET errors. This update adds seamless proxy support that can be enabled via environment variable or configuration file.

    How to enable:

    Proxy support is opt-in. Enable it using either method:

    Method 1: Environment Variable

    export TASKMASTER_ENABLE_PROXY=true
    export http_proxy=http://your-proxy:port
    export https_proxy=http://your-proxy:port
    export no_proxy=localhost,127.0.0.1  # Optional: bypass proxy for specific hosts
    

    Method 2: Configuration File

    Add to .taskmaster/config.json:

    {
      "global": {
        "enableProxy": true
      }
    }
    

    Technical details:

    • Uses undici's EnvHttpProxyAgent for automatic proxy detection
    • Centralized implementation in BaseAIProvider for consistency across all providers
    • Supports all AI providers: OpenAI, Anthropic, Perplexity, Azure OpenAI, Google AI, Google Vertex AI, AWS Bedrock, and OpenAI-compatible providers
    • Opt-in design ensures users without proxy requirements are not affected
  • #1408 10ec025 Thanks @Crunchyman-ralph! - Add --json back to task-master list and task-master show for when using the commands with ai agents (less context)

  • #1398 e59c16c Thanks @Crunchyman-ralph! - Claude Code provider now respects your global, project, and local Claude Code configuration files.

    When using the Claude Code AI provider, Task Master now automatically loads your Claude Code settings from:

    • Global config (~/.claude/ directory) - Your personal preferences across all projects
    • Project config (.claude/ directory) - Project-specific settings like CLAUDE.md instructions
    • Local config - Workspace-specific overrides

    This means your CLAUDE.md files, custom instructions, and Claude Code settings will now be properly applied when Task Master uses Claude Code as an AI provider. Previously, these settings were being ignored.

    What's improved:

    • CLAUDE.md files are now automatically loaded and applied (global and local)
    • Your custom Claude Code settings are respected
    • Project-specific instructions work as expected
    • No manual configuration needed - works out of the box

Patch Changes

  • #1400 c62cf84 Thanks @Crunchyman-ralph! - Fix subtasks not showing parent task when displaying in cli (eg. tm show 10)

  • #1393 da8ed6a Thanks @bjcoombs! - Fix completion percentage and dependency resolution to treat cancelled tasks as complete. Cancelled tasks now correctly count toward project completion (e.g., 14 done + 1 cancelled = 100%, not 93%) and satisfy dependencies for dependent tasks, preventing permanent blocks.

  • #1407 0003b6f Thanks @Crunchyman-ralph! - Fix complexity analysis prompt to ensure consistent JSON output format

  • #1351 37aee78 Thanks @bjcoombs! - fix: prioritize .taskmaster in parent directories over other project markers

    When running task-master commands from subdirectories containing other project markers (like .git, go.mod, package.json), findProjectRoot() now correctly finds and uses .taskmaster directories in parent folders instead of stopping at the first generic project marker found.

    This enables multi-repo monorepo setups where a single .taskmaster at the root tracks work across multiple sub-repositories.

  • #1406 9079d04 Thanks @Crunchyman-ralph! - Fix MCP server compatibility with Cursor IDE's latest update by upgrading to fastmcp v3.20.1 with Zod v4 support