snipara-companion 4.0.1 → 4.0.2
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 +4 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Release notes for `snipara-companion`, newest first.
|
|
4
4
|
|
|
5
|
+
## 4.0.2
|
|
6
|
+
|
|
7
|
+
- Match the public Sandbox command contract: pass evidence stores only to run, verify, status and cancel; keep gate, choose and diagnose compatible.
|
|
8
|
+
|
|
5
9
|
## 4.0.1
|
|
6
10
|
|
|
7
11
|
- Delegate scoped local validation runs to Orchestrator for shared execution exclusion and freshly verified Sandbox receipt reuse. Preserve original run identity and report reuse separately.
|
package/dist/index.js
CHANGED
|
@@ -443,7 +443,7 @@ async function invokeSandboxValidation(action2, options) {
|
|
|
443
443
|
if (action2 === "choose" && (!options.acknowledgeUserChoice || !["alternative", "install", "local", "skip"].includes(options.choice || "") || options.choice === "alternative" && !options.environment)) return { exitCode: 2, result: { ...sandboxUnavailable, reason: "An explicit acknowledged user choice is required." } };
|
|
444
444
|
const delegated = action2 === "run" && !!options.scope;
|
|
445
445
|
const args = ["validation", action2];
|
|
446
|
-
const parameters = delegated ? { request: options.request, scope: options.scope, store: options.store, "sandbox-command": options.sandboxCommand } : { request: options.request, scope: action2 === "run" ? void 0 : options.scope, "run-id": options.runId, store: options.store, choice: options.choice, environment: options.environment };
|
|
446
|
+
const parameters = delegated ? { request: options.request, scope: options.scope, store: options.store, "sandbox-command": options.sandboxCommand } : { request: options.request, scope: action2 === "run" ? void 0 : options.scope, "run-id": options.runId, store: ["run", "verify", "status", "cancel"].includes(action2) ? options.store : void 0, choice: options.choice, environment: options.environment };
|
|
447
447
|
for (const [flag, value] of Object.entries(parameters)) {
|
|
448
448
|
if (value !== void 0) args.push(`--${flag}`, value);
|
|
449
449
|
}
|