@themoltnet/pi-extension 0.15.0 → 0.15.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/dist/index.d.ts +11 -0
- package/dist/index.js +2662 -2109
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -377,6 +377,17 @@ export declare interface SandboxConfig {
|
|
|
377
377
|
/** Overlay disk size (default '3G'). */
|
|
378
378
|
overlaySize?: string;
|
|
379
379
|
};
|
|
380
|
+
/** Shell commands to run every VM resume, after platform setup
|
|
381
|
+
* (TLS, DNS, git safe.directory, tmpfs node_modules) and before
|
|
382
|
+
* the agent session starts. Use for per-session bootstrap that
|
|
383
|
+
* doesn't belong baked into the snapshot.
|
|
384
|
+
*
|
|
385
|
+
* Not included in the snapshot cache key — changes here apply on
|
|
386
|
+
* every resume without triggering a snapshot rebuild. Each command
|
|
387
|
+
* runs in a fresh shell with `set -eu` and `set -o pipefail`; a
|
|
388
|
+
* non-zero exit (including from any segment of a pipeline) aborts
|
|
389
|
+
* resume with the failing command's stderr/stdout tail. */
|
|
390
|
+
resumeCommands?: string[];
|
|
380
391
|
/** VFS shadow settings — hide host paths from the guest. */
|
|
381
392
|
vfs?: {
|
|
382
393
|
/** Paths (relative to workspace root) to shadow from the host mount. */
|