pi-oracle 0.7.11 → 0.7.13

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.
@@ -216,7 +216,9 @@ function parseJobArchivePath(jobDir) {
216
216
  }
217
217
 
218
218
  async function tarList(archivePath) {
219
- const result = await runCommand(process.platform === "win32" ? "tar.exe" : "tar", ["--zstd", "-tf", process.platform === "win32" ? basename(archivePath) : archivePath], {
219
+ const target = process.platform === "win32" ? basename(archivePath) : archivePath;
220
+ const args = archivePath.endsWith(".tar.gz") ? ["-tzf", target] : ["--zstd", "-tf", target];
221
+ const result = await runCommand(process.platform === "win32" ? "tar.exe" : "tar", args, {
220
222
  cwd: process.platform === "win32" ? dirname(archivePath) : process.cwd(),
221
223
  env: process.env,
222
224
  timeoutMs: 60_000,
@@ -92,7 +92,7 @@ function testCanonicalWorkflowConfig() {
92
92
  assert.deepEqual(config.workflows?.release?.commands, ["npm run release:check"], "release workflow should use the full local-plus-platform release gate");
93
93
  assert.equal(config.requiredCrabbox?.minVersion, "0.26.0", "Crabbox baseline should match the documented provider contract");
94
94
  assert.equal(pkg.scripts["smoke:platform:all"], "npm run smoke:platform:doctor && node scripts/platform-smoke.mjs run --target macos,ubuntu,windows-native", "full platform smoke should remain doctor-first and cover all required targets");
95
- assert.match(pkg.scripts["release:check"], /npm run verify:oracle && npm run smoke:platform:all/, "release check should combine local verification and full platform smoke");
95
+ assert.match(pkg.scripts["release:check"], /npm run verify:oracle && npm run release:proof:chatgpt-presets && npm run smoke:platform:all/, "release check should combine local verification, ChatGPT preset proof, and full platform smoke");
96
96
  const runnerSource = readFileSync(new URL("./crabbox-runner.mjs", import.meta.url), "utf8");
97
97
  assert.match(runnerSource, /PLATFORM_SMOKE_CRABBOX/, "runner should honor reusable Crabbox binary override");
98
98
  assert.match(runnerSource, /PLATFORM_SMOKE_MAC_WORK_ROOT/, "runner should honor reusable macOS work-root override");