@bigking67/pi-67 0.10.9 → 0.10.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/package.json +1 -1
- package/scripts/check.mjs +17 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.11]
|
|
4
|
+
|
|
5
|
+
- Runs final settings runtime-marker normalization from the Bash and PowerShell
|
|
6
|
+
updater scripts, covering older global managers that invoke a newer local
|
|
7
|
+
distro updater and any update-time report/smoke side effects.
|
|
8
|
+
|
|
9
|
+
## [0.10.10]
|
|
10
|
+
|
|
11
|
+
- Extends the update preflight runtime-marker regression to include the
|
|
12
|
+
PowerShell updater entrypoint used on Windows.
|
|
13
|
+
|
|
3
14
|
## [0.10.9]
|
|
4
15
|
|
|
5
16
|
- Runs settings runtime-marker migration before the local distro updater script
|
package/package.json
CHANGED
package/scripts/check.mjs
CHANGED
|
@@ -439,12 +439,28 @@ if grep -q "lastChangelogVersion" "$agent_dir/settings.json"; then
|
|
|
439
439
|
echo "marker still present before distro script" >&2
|
|
440
440
|
exit 44
|
|
441
441
|
fi
|
|
442
|
+
`);
|
|
443
|
+
fs.writeFileSync(path.join(repo, "scripts", "pi67-update.ps1"), `param(
|
|
444
|
+
[string]$AgentDir,
|
|
445
|
+
[string]$RepoRoot,
|
|
446
|
+
[string]$SkillsDir,
|
|
447
|
+
[switch]$DryRun,
|
|
448
|
+
[switch]$ForceNpm,
|
|
449
|
+
[switch]$NoNpm,
|
|
450
|
+
[switch]$AllowDirty,
|
|
451
|
+
[switch]$StrictSharedSkills
|
|
452
|
+
)
|
|
453
|
+
$settings = Get-Content -LiteralPath (Join-Path $AgentDir "settings.json") -Raw
|
|
454
|
+
if ($settings -match "lastChangelogVersion") {
|
|
455
|
+
Write-Error "marker still present before distro script"
|
|
456
|
+
exit 44
|
|
457
|
+
}
|
|
442
458
|
`);
|
|
443
459
|
for (const args of [
|
|
444
460
|
["-C", repo, "init", "-q"],
|
|
445
461
|
["-C", repo, "config", "user.email", "pi67-check@example.invalid"],
|
|
446
462
|
["-C", repo, "config", "user.name", "pi67-check"],
|
|
447
|
-
["-C", repo, "add", "VERSION", "settings.json", "scripts/pi67-update.sh"],
|
|
463
|
+
["-C", repo, "add", "VERSION", "settings.json", "scripts/pi67-update.sh", "scripts/pi67-update.ps1"],
|
|
448
464
|
["-C", repo, "commit", "-q", "-m", "init"],
|
|
449
465
|
]) {
|
|
450
466
|
const result = spawnSync("git", args, { encoding: "utf8" });
|