feat(session): maintain canonical task state
This commit is contained in:
1 parent
6d4ab9ddac
commit
f7ab0160e8
8 files changed
+338
-15
No files matched your search
@@ -4,4 +4,5 @@ $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
|
||||
& python (Join-Path $PSScriptRoot 'session-state.py') --hook
|
||||
exit $LASTEXITCODE
|
||||
Reference in new issue
Block a user