@inferencesh/sdk 0.38.6 → 0.38.7
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/types.d.ts +8 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1694,6 +1694,7 @@ export interface AppUIRef {
|
|
|
1694
1694
|
* sandbox:
|
|
1695
1695
|
* host_network: true # share the host's network namespace
|
|
1696
1696
|
* capabilities: [SYS_PTRACE] # Linux capabilities the app's processes keep
|
|
1697
|
+
* user_namespaces: true # unprivileged user namespaces (Chromium's sandbox)
|
|
1697
1698
|
* The API reads it from the package when the version is deployed and stores
|
|
1698
1699
|
* it on the version (server-owned: no caller writes it). Engines enforce the
|
|
1699
1700
|
* copy the task dispatch carries, and store review shows it. The empty value
|
|
@@ -1711,6 +1712,13 @@ export interface AppSandbox {
|
|
|
1711
1712
|
* them.
|
|
1712
1713
|
*/
|
|
1713
1714
|
capabilities?: string[];
|
|
1715
|
+
/**
|
|
1716
|
+
* UserNamespaces lets the app's processes create unprivileged user
|
|
1717
|
+
* namespaces, which Chromium's sandbox needs. The container's seccomp
|
|
1718
|
+
* profile allows clone, unshare, setns and chroot; it gains no
|
|
1719
|
+
* capability on the host.
|
|
1720
|
+
*/
|
|
1721
|
+
user_namespaces?: boolean;
|
|
1714
1722
|
}
|
|
1715
1723
|
/**
|
|
1716
1724
|
* AppVersionDTO is the API response for an app version.
|