Fix info leak in web game + add handover notes

This commit is contained in:
karylab_agents
2026-08-04 12:49:17 +08:00
parent 6711736bd0
commit f8b75abc15
29 changed files with 2590 additions and 283 deletions
+28
View File
@@ -0,0 +1,28 @@
# 一鍵:暫存本次所有修改並 commit(需在一般終端機、具 .git 寫入權限)
# 用法:powershell -ExecutionPolicy Bypass -File scripts\commit_current.ps1
$ErrorActionPreference = 'Stop'
Set-Location (Join-Path $PSScriptRoot '..')
# 載入 runtime git(若尚未在 PATH
$git = Get-Command git -ErrorAction SilentlyContinue
if (-not $git) {
$runtimeGit = 'C:\Users\ckliu\.cache\codex-runtimes\codex-primary-runtime\dependencies\native\git\cmd\git.exe'
if (Test-Path $runtimeGit) { $gitCmd = $runtimeGit } else { throw '找不到 git' }
} else { $gitCmd = $git.Source }
Write-Host '== 確認待 commit 內容 =='
& $gitCmd status --short
Write-Host ''
Write-Host '== git add -A =='
& $gitCmd add -A
if ($LASTEXITCODE -ne 0) { throw 'git add 失敗' }
Write-Host ''
Write-Host '== git commit =='
& $gitCmd commit -m "Fix info leak in web game + add handover notes"
if ($LASTEXITCODE -ne 0) { throw 'git commit 失敗' }
Write-Host ''
Write-Host '== 完成 =='
& $gitCmd log --oneline -1