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.
- package/CHANGELOG.md +26 -0
- package/README.md +22 -11
- package/docs/ORACLE_DESIGN.md +7 -6
- package/docs/ORACLE_ISOLATED_PI_VALIDATION.md +21 -2
- package/docs/platform-smoke.md +3 -2
- package/extensions/oracle/lib/archive.ts +725 -0
- package/extensions/oracle/lib/config.ts +14 -5
- package/extensions/oracle/lib/jobs.ts +49 -3
- package/extensions/oracle/lib/provider-capabilities.ts +41 -0
- package/extensions/oracle/lib/runtime.ts +9 -5
- package/extensions/oracle/lib/tools.ts +10 -576
- package/extensions/oracle/worker/chatgpt-ui-helpers.d.mts +2 -0
- package/extensions/oracle/worker/chatgpt-ui-helpers.mjs +23 -3
- package/extensions/oracle/worker/run-job.mjs +65 -16
- package/package.json +8 -5
- package/platform-smoke.config.mjs +1 -1
- package/scripts/oracle-chatgpt-preset-proof.mjs +352 -0
- package/scripts/oracle-real-smoke.mjs +3 -1
- package/scripts/platform-smoke/invariants.mjs +1 -1
|
@@ -216,7 +216,9 @@ function parseJobArchivePath(jobDir) {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
async function tarList(archivePath) {
|
|
219
|
-
const
|
|
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");
|