Commit Graph

359 Commits

Author SHA1 Message Date
Ralph Khreish
c798639d1a feat: add user-defined metadata field to tasks (#1555) (#1611)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Cedric Hurst <cedric@spantree.net>
Closes #1555
2026-01-26 17:41:33 +01:00
Ben Coombs
0d628ca951 feat: Add modifyJSON for atomic operations in legacy utils.js (#1587)
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
fix for #1585 (part 2: legacy utils.js pattern)
2026-01-25 11:32:23 +01:00
Ben Coombs
4b515c60b2 fix: Add missing loadTUI function for no-argument invocation (#1592)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
Fixes #1589
2026-01-21 18:46:31 +01:00
Ralph Khreish
940ab587e5 fix(models): update Codex CLI supported models to match current availability (#1580) 2026-01-15 15:41:53 +01:00
Ben Coombs
6c3a92c439 feat(list): Add --ready and --blocking filters to identify parallelizable tasks (#1533)
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>

- fixes #1532
2026-01-14 22:59:19 +01:00
Ben Coombs
3cc6174b47 fix: Add cross-process file locking to prevent race conditions (#1566)
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
2026-01-13 21:22:59 +01:00
Ralph Khreish
c2d6c18a96 feat(cli): implement loop command (#1571)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 01:47:52 +01:00
TheLazyIndianTechie
1befc6a341 Handle missing jsonSchema export in AI SDK (#1556) 2026-01-06 17:33:12 +01:00
Ralph Khreish
1d8d72315f fix: validate AI task response before spreading object
Move validation check before object spread to properly catch null/malformed
task responses. Previously crashed with "Cannot read properties of null"
instead of the intended "Received invalid task object from AI" error.
2025-12-30 12:04:55 +01:00
claude[bot]
226678b93a fix: remove .default() from Zod schemas for OpenAI strict JSON schema validation
Fixes #1552

OpenAI's structured outputs API requires all properties to be in the
'required' array of JSON Schema. Zod's .default() makes fields optional,
causing codex-cli provider to fail with 'Missing dependencies' error.

Changes:
- Removed .default() from SubtaskSchema, BaseTaskSchema, UpdatedTaskSchema
- Added application-level default handling in expand-task, update-task-by-id,
  update-tasks, and parse-prd-streaming
- Ensures all schema properties are marked as required for OpenAI compatibility
- Maintains backward compatibility by applying defaults when AI doesn't provide values

Co-authored-by: Ralph Khreish <Crunchyman-ralph@users.noreply.github.com>
2025-12-30 12:04:55 +01:00
Ralph Khreish
98087acae9 feat: improve CLI update check with caching (#1549) 2025-12-26 22:31:17 +01:00
Momchil Dimitrov Georgevski
b817d6f9f2 Fix/vertex auth service account (#1542) 2025-12-22 10:29:49 +01:00
Ralph Khreish
a2d563991d feat(models): add Gemini 3 Flash Preview and improve model search (#1538) 2025-12-18 21:17:16 +01:00
Ralph Khreish
4d1ed20345 Ralph/feat/add.auto.rules.add (#1535) 2025-12-18 20:03:40 +01:00
Ralph Khreish
4b6570e300 fix: support Azure provider with reasoning models (#1310)
Co-authored-by: Ralph Khreish <Crunchyman-ralph@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Fixes #638
2025-12-16 16:14:24 +01:00
Ralph Khreish
9ee63e01db feat: add slash commands (#1461) 2025-12-13 18:53:14 +01:00
Ralph Khreish
ca9aee2c83 fix: improve update-subtask task validation (#1504) 2025-12-12 21:01:00 +01:00
Ben Vargas
69ac46351e feat: add GPT-5.1, GPT-5.2, and xhigh reasoning support for OpenAI models (#1508) 2025-12-12 21:00:12 +01:00
Ralph Khreish
757a26e160 fix: add missing import for getModelConfiguration in models command (#1505)
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ralph Khreish <Crunchyman-ralph@users.noreply.github.com>
Fixes #1503
2025-12-11 14:45:16 +01:00
Ralph Khreish
0e7c068e86 fix: suppress config warnings during Sentry init and API mode detection (#1482) 2025-12-03 23:08:49 +01:00
Eyal Toledano
9e0e9b02a3 refactor(auth): rename forcePrompt to forceSelection and fix AuthManager type
CHANGES:
- Rename forcePrompt option to forceSelection in EnsureOrgOptions interface
- Update all call sites in export.command.ts and commands.js
- Fix AuthManager type in export.command.ts by importing from @tm/core
- Replace dirty (this.taskMasterCore.auth as any).authManager hack with AuthManager.getInstance()
- Use type import for AuthManager in org-selection.ts
2025-12-02 12:22:36 -05:00
Eyal Toledano
f04a568de0 feat(auth): force org selection in parse-prd and export commands
CHANGES:
- Add forcePrompt option to ensureOrgSelected utility
- When forcePrompt=true, always fetch orgs and prompt (if >1 org exists)
- Pre-select current org in dropdown when forcePrompt is used
- Show '(current)' label next to currently selected org in prompt

PARSE-PRD:
- Force org selection after authentication (forcePrompt: true)
- User can choose which org to create the brief in
- Auto-selects if only one org available

EXPORT:
- Force org selection after tag selection (forcePrompt: true)
- User can choose which org to export to
- Auto-selects if only one org available

INIT:
- Removed process.exit(0) hack that was incorrectly added

This ensures users explicitly choose (or confirm) their target organization
before creating briefs, preventing accidental exports to wrong orgs.
2025-12-02 12:06:23 -05:00
Eyal Toledano
985b6e16fa fix(auth): enforce org selection post-login and remove duplicate success messages
CHANGES:
- Add ensureOrgSelected to auth-guard.ts for all auth flows (existing & new sessions)
- Add ensureOrgSelected to parse-prd flow in commands.js (after authentication) -- NOT WORKING.
- Add ensureOrgSelected to init.js cloud storage flow (using shared utility)
- Remove duplicate 'Authentication successful!' boxen messages (auth.command.ts, auth-guard.ts)
- Export authenticateWithBrowserMFA and ensureOrgSelected from @tm/cli utils
- init.js now uses shared authenticateWithBrowserMFA instead of custom OAuth flow
- auth-guard.ts now checks context.orgId before making API calls (optimization)

FIXES:
- Org selection now happens after login in parse-prd, init, and export commands
- Single source of truth for browser auth with MFA support
- Removed redundant auth UI code from init.js

KNOWN ISSUES:
- tm init and tm export may hang after completion (Supabase auto-refresh timer)
- Root cause: AuthManager/Supabase client keeps event loop alive
- tm auth login works because it uses setupContextInteractive from ContextCommand
- Proper fix would be to add cleanup method to SupabaseAuthClient to stop auto-refresh
- Workaround (process.exit) was attempted but reverted as too dirty

The hanging issue requires further investigation into how auth login handles
cleanup vs how ensureAuthenticated/ensureOrgSelected interact with Supabase.
2025-12-02 11:42:32 -05:00
Eyal Toledano
b61a2a5f90 fix(cli): remove invisible first options in inquirer menus 2025-12-01 21:25:27 -05:00
Ralph Khreish
62d3cd30e4 fix: fix team invite flow (#1473) 2025-12-02 00:18:18 +01:00
Ralph Khreish
67a0fe6ccd fix: parse-prd with --input parameter not working (#1464) 2025-12-01 19:51:32 +01:00
Eyal Toledano
4046b3ca44 feat: Hamster Integration - Cloud Storage, Sentry Telemetry, and Major CLI UX Improvements (#1452) 2025-11-30 12:35:49 +01:00
Ralph Khreish
28fcc27411 feat: improve ham connection (#1451) 2025-11-26 23:20:44 +01:00
Ralph Khreish
9f6f3affe3 feat: update supported models with new opus versions and correct swe scores for existing models (#1440) 2025-11-24 21:19:20 +01:00
Ralph Khreish
522d9af580 Ralph/chore/fix.coderabbit.issues (#1432) 2025-11-21 12:40:46 +01:00
Ralph Khreish
4049f34d5a feat: implement local-only command checkers for cli and mcp (#1426) 2025-11-19 22:08:04 +01:00
Ralph Khreish
99d9179522 feat: deprecate generate command (#1425) 2025-11-19 18:03:34 +01:00
Ralph Khreish
122c23abb3 feat: add gemini-3-pro-preview to google providers (#1427) 2025-11-18 23:16:45 +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
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
3d7e77c178 feat: add expand-task remote (#1384) 2025-11-07 21:27:52 +01:00
Alex Liu
ac4328ae86 feat: Add proxy support for AI providers (#1382) 2025-11-06 11:55:24 +01:00
Ralph Khreish
3c22875efe fix: zai glm generation issues (#1377) 2025-11-03 20:33:46 +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
Ralph Khreish
9c3b2737dd fix: add z.ai coding plan support (#1370) 2025-11-01 14:35:22 +01: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
Ralph Khreish
3e70edfa3a fix: make metadata field optional in parse-prd schema (#1362)
Co-authored-by: Ralph Khreish <Crunchyman-ralph@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Fixes #1353
2025-10-30 22:54:03 +01:00
Ralph Khreish
486ed40215 feat: update task remote (#1345) 2025-10-25 19:25:17 +02:00
Ralph Khreish
ccb87a516a feat: implement tdd workflow (#1309)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-18 16:29:03 +02:00
Ralph Khreish
548beb4344 feat: add sonnet and haiku to supported providers (#1317) 2025-10-18 11:12:48 +02:00
Ralph Khreish
662e3865f3 feat: handle new command errors better (#1318) 2025-10-16 22:31:50 +02:00
Ralph Khreish
5aca107827 fix: runtime env variables working with new tm_ env variables 2025-10-16 19:24:29 +02:00
Ralph Khreish
d7fca1844f feat: add "next" command to new command structure (#1312) 2025-10-15 15:26:34 +02:00
Ralph Khreish
f12a16d096 feat: add changelog highlights to auto-update notifications (#1286)
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-10 18:49:59 +02:00
Ralph Khreish
aaf903ff2f fix: resolve cross-level dependency bug in add-dependency command (#1191)
Co-authored-by: Ralph Khreish <Crunchyman-ralph@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Fixes #542
2025-10-08 15:30:20 +02:00