1181 Commits

Author SHA1 Message Date
Ralph Khreish
5c4e939b37 chore: fix changesets (#1414) 2025-11-16 20:59:54 +01:00
Ralph Khreish
9f7989ba4a Merge pull request #1412 from eyaltoledano/next (0.32.0) 2025-11-16 09:48:59 +01:00
Ralph Khreish
26f77c207b feat: sort briefs by updated at (#1409) 2025-11-15 12:15:07 +01:00
github-actions[bot]
fa2abcb697 Version Packages (#1383)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
2025-11-15 11:44:09 +01:00
Ralph Khreish
46c741fa3f Merge pull request #1389 from eyaltoledano/next (0.32.0) 2025-11-15 10:55:55 +01:00
Ralph Khreish
3c6642b251 chore: exit pre mode and prepare release 2025-11-14 23:29:50 +01:00
Ralph Khreish
52c7c572ec chore: improve changeset 2025-11-14 21:28:05 +01:00
github-actions[bot]
46609ed8ea chore: rc version bump 2025-11-14 20:21:01 +00:00
Ralph Khreish
a5222871d5 chore: fix changeset (#1410) task-master-ai@0.32.0-rc.0 2025-11-14 21:19:12 +01:00
Ralph Khreish
6b44a96d9f feat: enable direct context selection and improve session reliability (#1402) 2025-11-14 20:52:52 +01:00
Ralph Khreish
10ec025581 fix: add --json back to tm list and tm show (#1408) 2025-11-14 19:52:53 +01:00
Ralph Khreish
0003b6fca6 Fix/complexity-prompt-json-output (#1407)
* fix(prompts): add JSON output format instruction to complexity analysis prompt

The complexity analysis prompt was missing the final instruction specifying
that output should be a JSON object with a 'complexityAnalysis' key containing
the array of analysis objects. This caused inconsistent output formatting.

This fix ensures the AI model returns properly structured JSON output that
can be reliably parsed by the complexity analysis module.

* chore: add changeset for complexity prompt fix

---------

Co-authored-by: Your Name <you@example.com>
2025-11-14 14:20:03 +01:00
Ralph Khreish
9079d04179 feat: upgrade fastmcp to v3.20.1 with Zod v4 support (#1406)
Fixes #1404
2025-11-14 12:44:11 +01:00
Erik Karlsson
a381376ba4 Fixed mcp Configuration Methods #1 package=task-master-ai argument. (#1403)
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
2025-11-14 12:26:31 +01:00
Ben Coombs
da8ed6aa11 fix: Treat cancelled tasks as complete in statistics and dependencies (#1393)
* fix: treat cancelled tasks as complete in statistics and dependencies

Fixes #1392

## Changes

- Add TERMINAL_COMPLETE_STATUSES constant including 'done', 'completed', 'cancelled'
- Update calculateTaskStatistics() to include cancelled tasks in completion %
- Update calculateSubtaskStatistics() to include cancelled subtasks in completion %
- Update calculateDependencyStatistics() to treat cancelled tasks as satisfied dependencies
- Update findNextTask() to treat cancelled tasks as complete for dependency resolution

## Impact

- Dashboard now correctly shows 100% for projects with only done/cancelled tasks
- Tasks depending on cancelled tasks are no longer permanently blocked
- Dependency metrics accurately reflect project state

## Tests

- Added comprehensive test suite with RED-GREEN-REFACTOR approach
- 9 tests covering completion %, subtask %, and dependency resolution
- All tests pass after fixes applied

* style: apply biome formatting

* style: apply biome formatting to all files

* fix: display fraction should show all terminal complete tasks, not just done

Previously the completion percentage correctly counted cancelled tasks
as complete (e.g., 100% for 14 done + 1 cancelled), but the fraction
display used stats.done which only counted 'done' status, showing
"100% 14/15" instead of "100% 15/15".

Added completedCount field to TaskStatistics interface to track all
terminal complete tasks (done + completed + cancelled) and updated
display to use this field for accurate fraction representation.

Updates:
- TaskStatistics interface now includes completedCount field
- calculateTaskStatistics() sets completedCount for display
- calculateSubtaskStatistics() sets completedCount for display
- Display lines now use completedCount instead of done count
- Added completedCount assertions to all relevant tests

Related to #1392

* refactor: centralize terminal status logic in @tm/core

Following code review feedback, extracted TERMINAL_COMPLETE_STATUSES
and isTaskComplete() to @tm/core as single source of truth. This
prevents duplication and potential drift between CLI and MCP layers.

Changes:
- Added TERMINAL_COMPLETE_STATUSES constant to @tm/core constants
- Added isTaskComplete() helper function to @tm/core constants
- Updated dashboard.component.ts to import from tm-core via CLI util
- Updated list.command.ts to import from tm-core via CLI util
- Updated task-loader.service.ts to use shared isTaskComplete()
- Created CLI convenience re-export in utils/task-status.ts

Architecture:
- Business logic now lives in @tm/core (proper layer)
- CLI provides convenience re-exports for ergonomics
- MCP already delegates to @tm/core (no changes needed)

Addresses review comments from @Crunchyman-ralph on PR #1393

* fix: remove unused TaskStatus import in task-loader.service

TypeScript error: TaskStatus was imported but no longer used after
refactoring to use isTaskComplete() helper.

* fix: correct subtask display and progress bar for cancelled tasks

Fixed two display bugs identified by cursor bot:

1. Subtask completion display now shows completedCount instead of done
   - Before: "Completed: 3/4" (only counted done tasks)
   - After: "Completed: 4/4" (counts done + cancelled as terminal complete)

2. Progress bar no longer double-counts cancelled tasks
   - Before: Green section (completionPercentage) + gray cancelled section
   - After: Green section includes cancelled (as terminal complete status)
   - Removed separate cancelled section from progress bar
   - Updated section numbers in comments (2-6 instead of 2-7)

These changes ensure visual consistency with the fix that treats cancelled
tasks as terminal complete for percentage calculations and dependency resolution.

Fixes cursor bot comments on PR #1393

* style: run biome formatter

* fix: keep cancelled tasks visually distinct in progress bar

Per reviewer feedback from Crunchyman-ralph, cancelled tasks should remain
visible as a separate gray section in the progress bar for better visibility,
even though they count as complete for the percentage calculation.

Changes:
- Green section shows 'done' tasks only
- Gray section shows 'cancelled' tasks (visually distinct but terminal complete)
- completionPercentage still includes both done and cancelled (correct)
- This prevents double-counting while maintaining visual clarity

Addresses: https://github.com/eyaltoledano/claude-task-master/pull/1393#issuecomment-3517115852

* fix: add done property to StatusBreakdown interface

TypeScript error: StatusBreakdown interface was missing 'done' property
required by the progress bar visualization code.

* fix: Populate done field in calculateStatusBreakdown for progress bar

The calculateStatusBreakdown() function was missing the calculation for the
'done' field, causing statusBreakdown.done to always be undefined. This meant
the green section of the progress bar never rendered, making completed tasks
invisible in the visual representation.

Addresses cursor bot feedback on PR #1393.

---------

Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
2025-11-13 11:03:12 +01:00
Ben Coombs
ae4fbc03a4 docs: Recommend .md extension for PRD files (#1397)
* docs: Clarify Claude Code .claude configuration behavior and recommend .md for PRDs

This addresses two documentation improvements:

1. **Claude Code Configuration Behavior (#1180)**
   - Added comprehensive section explaining how Task Master interacts with Claude Code's .claude configuration
   - Clarified that Task Master only passes MCP config when claudeCode.mcpServers is configured
   - Documented precedence: explicit Task Master config vs Claude CLI defaults
   - Provided practical examples for different configuration scenarios
   - Added recommendations for deterministic vs. existing-setup workflows

2. **PRD File Extension Recommendation**
   - Updated all examples to use .md extension instead of .txt for PRD files
   - Added prominent note explaining benefits of .md: syntax highlighting, proper rendering, better collaboration
   - Updated directory structure diagrams and workflow examples
   - Clarified that both extensions work, but .md is recommended for editor support

Files modified:
- docs/examples/claude-code-usage.md: Added "Claude Code Configuration Behavior" section
- assets/AGENTS.md: Updated all PRD references to use .md, added PRD format note

Resolves: eyaltoledano/claude-task-master#1180

* chore: Add changeset and require changesets for PRs

- Added changeset for documentation updates (patch)
- Updated CLAUDE.md to require changesets for all PRs

* docs: Simplify PR to only recommend .md extension for PRDs

Based on feedback from @ben-vargas:

**Removed:**
- Changeset file (not needed for docs-only PR)
- Claude Code `.claude` configuration behavior documentation (will become stale when upgrading to ai-sdk-provider-claude-code v2.0.0+ which uses @anthropic-ai/claude-agent-sdk)

**Updated:**
- CLAUDE.md changeset guidelines: clarified changesets are only needed for code changes, not docs-only PRs

**Kept:**
- PRD file format recommendation: Updated all examples to use `.md` extension instead of `.txt` for better editor support, syntax highlighting, and rendering
- Added note explaining benefits of `.md` format

This keeps the PR focused on the non-controversial PRD format improvement and avoids documenting behavior that will soon change.

Addresses feedback in: #1180

* docs: Update apps/docs to recommend .md extension for PRD files

Applied the same PRD format recommendations to the user-facing documentation site:

- apps/docs/getting-started/quick-start/prd-quick.mdx:
  - Updated template references from .txt to .md
  - Added explanation of .md benefits in note box
  - Updated all command examples to use .md extension
  - Updated file naming examples

- apps/docs/capabilities/rpg-method.mdx:
  - Updated RPG template reference to .md
  - Updated standard template reference to .md
  - Updated parse-prd command examples
  - Updated workflow examples

Addresses @Crunchyman-ralph's request to update apps/docs

* refactor: Rename PRD template files from .txt to .md extension

Renamed actual template files to match documentation updates:
- .taskmaster/templates/example_prd.txt → example_prd.md
- .taskmaster/templates/example_prd_rpg.txt → example_prd_rpg.md

This ensures the actual files match what we're recommending in the documentation.

---------

Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
2025-11-13 11:02:48 +01:00
Ralph Khreish
c62cf845da fix: improve display of subtasks based on storageType (#1400) 2025-11-12 21:51:24 +01:00
Ralph Khreish
63134a222c feat: add tm tags command to remote (#1386)
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-12 20:08:27 +01:00
Ralph Khreish
e59c16c707 feat: upgrade ai sdk provider claude code (#1398) 2025-11-12 15:43:52 +01:00
Ben Coombs
9883e83b78 fix: Add emoji variant selector to all warning signs (#1396)
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
2025-11-12 15:30:32 +01:00
Ben Coombs
37aee7809c fix: prioritize .taskmaster in parent directories over other project markers (#1351)
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
2025-11-12 14:13:06 +01:00
Ralph Khreish
e108f4310c Merge pull request #1388 from eyaltoledano/ralph/chore/apply.requested.changes
chore: apply requested coderabbit changes
2025-11-07 22:24:30 +01:00
Ralph Khreish
7961ee74b7 Merge pull request #1387 from eyaltoledano/ralph/chore/update.from.main.0.31.2
ralph/chore/update.from.main.0.31.2
2025-11-07 21:46:45 +01:00
Ralph Khreish
f7307749c2 Merge branch 'next' into ralph/chore/update.from.main.0.31.2 2025-11-07 21:30:07 +01:00
Ralph Khreish
9364ff33b7 chore: fix package-lock 2025-11-07 21:29:28 +01:00
Ralph Khreish
04e752704e fix: get tasks (#1385)
* fix: get tasks by calling an endpoint

* chore: apply requested changes
2025-11-07 21:27:52 +01:00
Ralph Khreish
3d7e77c178 feat: add expand-task remote (#1384) 2025-11-07 21:27:52 +01:00
Ralph Khreish
c5af035d5b fix: get tasks (#1385)
* fix: get tasks by calling an endpoint

* chore: apply requested changes
2025-11-07 21:26:55 +01:00
Ralph Khreish
921e9a6b32 feat: add expand-task remote (#1384) 2025-11-07 18:06:23 +01:00
Alex Liu
ac4328ae86 feat: Add proxy support for AI providers (#1382) 2025-11-06 11:55:24 +01:00
Ralph Khreish
958c413270 Merge pull request #1376 from eyaltoledano/ralph/chore/update.from.main.0.31.1 2025-11-04 15:07:43 +01:00
github-actions[bot]
484c2842d6 Version Packages (#1375)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
2025-11-04 13:05:51 +01:00
github-actions[bot]
91e76b1ccc Version Packages (#1381)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
task-master-ai@0.31.2
2025-11-04 11:26:47 +01:00
Ralph Khreish
c366e2f084 Merge pull request #1378 from eyaltoledano/next (Release 0.31.2) 2025-11-04 11:16:41 +01:00
Ralph Khreish
3c22875efe fix: zai glm generation issues (#1377) 2025-11-03 20:33:46 +01:00
github-actions[bot]
8905cae1a7 Version Packages (#1375)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
task-master-ai@0.31.1
2025-11-01 20:07:40 +01:00
Ralph Khreish
b87fc98cb1 Merge pull request #1372 from eyaltoledano/next 2025-11-01 18:23:09 +01:00
Ralph Khreish
c52f14abf3 chore: apply coderabbit requested changes 2025-11-01 15:19:22 +01:00
Ralph Khreish
4d8528a3b0 Merge pull request #1374 from eyaltoledano/ralph/chore/update.from.main.0.31.0.p1 2025-11-01 15:07:30 +01:00
Ralph Khreish
5014ee3468 Merge remote-tracking branch 'origin/main' into ralph/chore/update.from.main.0.31.0.p1 2025-11-01 14:50:33 +01:00
Ralph Khreish
abf46b8087 fix: improve auto-update to happen before you execute a command (#1371) 2025-11-01 14:46:07 +01:00
github-actions[bot]
65159ca064 docs: Auto-update and format models.md 2025-11-01 13:35:33 +00:00
Ralph Khreish
9c3b2737dd fix: add z.ai coding plan support (#1370) 2025-11-01 14:35:22 +01:00
github-actions[bot]
47c5b1e2ba Version Packages (#1367)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
task-master-ai@0.31.0
2025-11-01 11:11:06 +01:00
Ralph Khreish
98df39c014 Merge pull request #1366 from eyaltoledano/next 2025-11-01 10:29:52 +01:00
Ralph Khreish
560a469f5c chore: exit pre-release mode 2025-10-31 23:59:43 +01:00
github-actions[bot]
2f003c1cef chore: rc version bump 2025-10-31 22:49:44 +00:00
github-actions[bot]
efaf53f145 docs: Auto-update and format models.md task-master-ai@0.31.0-rc.0 2025-10-31 22:47:51 +00:00
Ralph Khreish
819d5e1bc5 feat: add GLM and LMStudio ai providers (#1360)
Co-authored-by: Ralph Khreish <Crunchyman-ralph@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Resolves #1325
2025-10-31 23:47:39 +01:00
BUILDER
9d5812ba67 feat: Added GEMINI.md asset file for init-ing task master-ai for gemi… (#1326)
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
2025-10-31 19:20:28 +01:00