feat: persist compact session state

This commit is contained in:
Julian lechner committed 2026-09-16 17:37:48 +02:00
1 parent a509509192
commit 9b5e862d8a
7 files changed
+31 -1

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
[CmdletBinding()]
param()
$root = Split-Path (Split-Path $PSScriptRoot -Parent) -Parent
$stateDir = Join-Path $root '.ai-session'
New-Item $stateDir -ItemType Directory -Force | Out-Null
('{"event":"compact","timestamp":"' + (Get-Date).ToUniversalTime().ToString('o') + '"}') | Add-Content (Join-Path $stateDir 'telemetry.jsonl')
exit 0