feat: integrate performance upgrade and agent inspection tooling
Validate ShrinkSDK Workspace / catalog (push) Successful in 5s
Validate ShrinkSDK Workspace / unity (push) Successful in 3m20s

This commit is contained in:
2026-09-29 10:16:02 +08:00
parent f92105c97d
commit 08246ddb01
114 changed files with 7135 additions and 87 deletions
@@ -0,0 +1,14 @@
$ErrorActionPreference = 'Stop'
$root = [IO.Path]::GetFullPath((Join-Path $PSScriptRoot '../../..'))
$destination = Join-Path $root 'Artifacts/AgentSupport/BaselineContext'
New-Item -ItemType Directory -Force -Path $destination | Out-Null
$module = Join-Path $root 'Assets/Modules/ShrinkContext.Core'
$files = git -C $module ls-tree -r --name-only HEAD Runtime
foreach ($file in $files) {
if (-not $file.EndsWith('.cs')) { continue }
$target = Join-Path $destination $file
New-Item -ItemType Directory -Force -Path ([IO.Path]::GetDirectoryName($target)) | Out-Null
$source = (git -C $module show "HEAD:$file") -join "`n"
[IO.File]::WriteAllText($target, $source.Replace('ShrinkContext', 'BaselineContext'), [Text.UTF8Encoding]::new($false))
}
git -C $module rev-parse HEAD | Set-Content -Encoding utf8 (Join-Path $destination 'revision.txt')