Skip to content

Comments

fix(taskctl): use process.cwd() fallback when Instance.directory unavailable#338

Merged
randomm merged 1 commit intodevfrom
fix/issue-336-v2
Feb 24, 2026
Merged

fix(taskctl): use process.cwd() fallback when Instance.directory unavailable#338
randomm merged 1 commit intodevfrom
fix/issue-336-v2

Conversation

@randomm
Copy link
Owner

@randomm randomm commented Feb 24, 2026

Fixes #336

Try Instance.directory first (works in normal CLI context), fall back to process.cwd() when AsyncLocalStorage context is unavailable (MCP bridge).

@randomm randomm merged commit 249be60 into dev Feb 24, 2026
1 check passed
@randomm randomm deleted the fix/issue-336-v2 branch February 24, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(taskctl): ctx.session.directory undefined when taskctl start called from PM MCP bridge

1 participant