sync SVN r17979

This commit is contained in:
2026-08-06 00:34:35 +03:00
parent 72bf63cd04
commit c599a9c053
12 changed files with 1060 additions and 54 deletions

View File

@@ -19,7 +19,9 @@ if (-not $TranscriptPath) {
try { $TranscriptPath = (ConvertFrom-Json $stdin).transcript_path } catch { }
}
}
if (-not $TranscriptPath -or -not (Test-Path $TranscriptPath)) {
# la primul mesaj al unei sesiuni noi transcriptul inca nu e creat: fara fallback, ca sa nu raporteze alta sesiune
if ($TranscriptPath -and -not (Test-Path $TranscriptPath)) { exit 0 }
if (-not $TranscriptPath) {
$dir = Join-Path $env:USERPROFILE ".claude\projects\$((Get-Location).Path -replace '[:\\/]','-')"
if (Test-Path $dir) {
$f = Get-ChildItem "$dir\*.jsonl" | Sort-Object LastWriteTime -Descending | Select-Object -First 1