pi-oracle 0.7.10 → 0.7.12

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.
@@ -14,7 +14,7 @@ const require = createRequire(import.meta.url);
14
14
  const tsxCli = require.resolve("tsx/cli");
15
15
 
16
16
  const DEFAULT_PROVIDER = "zai";
17
- const DEFAULT_MODEL = "glm-5.1";
17
+ const DEFAULT_MODEL = "glm-5.2";
18
18
  const DEFAULT_TIMEOUT_MS = 180_000;
19
19
  const PACKAGE_NAME = "pi-oracle";
20
20
 
@@ -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,
@@ -54,7 +54,7 @@ function realSmokeProvider(config = {}) {
54
54
  }
55
55
 
56
56
  function realSmokeModel(config = {}) {
57
- return process.env.PI_ORACLE_REAL_TEST_MODEL || config.realSmoke?.defaultModel || "glm-5.1";
57
+ return process.env.PI_ORACLE_REAL_TEST_MODEL || config.realSmoke?.defaultModel || "glm-5.2";
58
58
  }
59
59
 
60
60
  function truthy(value) {
@@ -57,7 +57,7 @@ Environment:
57
57
  PLATFORM_SMOKE_WINDOWS_WORK_ROOT Windows work root
58
58
  PI_ORACLE_SMOKE_* Project-specific aliases for the PLATFORM_SMOKE_* knobs above
59
59
  PI_ORACLE_REAL_TEST_PROVIDER Real smoke provider (default: zai)
60
- PI_ORACLE_REAL_TEST_MODEL Real smoke model (default: glm-5.1)
60
+ PI_ORACLE_REAL_TEST_MODEL Real smoke model (default: glm-5.2)
61
61
  ZAI_API_KEY Default real-smoke provider API key for optional model-agent debugging
62
62
  `);
63
63
  }