@sellable/install 0.1.583 → 0.1.584
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.
|
@@ -280,8 +280,11 @@ export function installCustomerRuntimeSecrets({
|
|
|
280
280
|
envelopes[name].secret
|
|
281
281
|
);
|
|
282
282
|
}
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
// Must match SELLABLE_AGENT_TURN_CONSUMED_ROOT exactly: the secret-root
|
|
284
|
+
// swap below discards the directory customer-runtime made at boot, and
|
|
285
|
+
// the MCP context proxy fails closed when the nonce directory is absent.
|
|
286
|
+
mkdirSync(join(stagingRoot, "turn-consumed"), { mode: 0o700 });
|
|
287
|
+
chmodSync(join(stagingRoot, "turn-consumed"), 0o700);
|
|
285
288
|
if (existsSync(activeRoot)) {
|
|
286
289
|
const active = lstatSync(activeRoot);
|
|
287
290
|
if (active.isSymbolicLink() || !active.isDirectory())
|