8e930c6b7a
Bash and PowerShell helpers for Claude Code statusLine. Setup docs with fallback note for non-Claude agents. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 lines
338 B
PowerShell
9 lines
338 B
PowerShell
# ctask status line helper for Claude Code
|
|
# Reads ctask environment variables and prints a formatted context string.
|
|
# Output: (ctask:<slug>|<mode>) <workspace_path>
|
|
# Outputs nothing when not in a ctask session.
|
|
|
|
if (-not $env:CTASK_TASK) { exit 0 }
|
|
|
|
Write-Output "(ctask:$($env:CTASK_TASK)|$($env:CTASK_MODE)) $($env:CTASK_WORKSPACE)"
|