feat: full plugin integration + cross-agent rules
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
$Flag = Join-Path $HOME ".claude/.ponytail-active"
|
||||
if (-not (Test-Path $Flag)) {
|
||||
exit 0
|
||||
}
|
||||
|
||||
$Mode = ""
|
||||
try {
|
||||
$Mode = (Get-Content $Flag -ErrorAction Stop | Select-Object -First 1).Trim()
|
||||
} catch {
|
||||
exit 0
|
||||
}
|
||||
|
||||
$Esc = [char]27
|
||||
if ([string]::IsNullOrEmpty($Mode) -or $Mode -eq "full") {
|
||||
[Console]::Write("${Esc}[38;5;108m[PONYTAIL]${Esc}[0m")
|
||||
} else {
|
||||
$Suffix = $Mode.ToUpperInvariant()
|
||||
[Console]::Write("${Esc}[38;5;108m[PONYTAIL:$Suffix]${Esc}[0m")
|
||||
}
|
||||
Reference in New Issue
Block a user