@archildata/api-types 0.0.57 → 0.0.59
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/index.d.ts +10 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1749,12 +1749,18 @@ export interface components {
|
|
|
1749
1749
|
};
|
|
1750
1750
|
};
|
|
1751
1751
|
/**
|
|
1752
|
-
* @description Sandbox network policy. New sandboxes on free plans
|
|
1753
|
-
* egress
|
|
1754
|
-
*
|
|
1752
|
+
* @description Sandbox network policy. New sandboxes on free plans are managed: their
|
|
1753
|
+
* egress denies everything except Archil's allowlist of package
|
|
1754
|
+
* registries, Git hosts, OS package mirrors, and model provider APIs.
|
|
1755
|
+
* Free plans cannot set an egress policy; a create request with one is
|
|
1756
|
+
* rejected with `sandbox_network_plan_required`, as are policy updates.
|
|
1757
|
+
* Start/resume and forks retain the stored policy. For paid accounts,
|
|
1758
|
+
* egress is unrestricted when omitted.
|
|
1755
1759
|
*/
|
|
1756
1760
|
SandboxNetwork: {
|
|
1757
1761
|
egress?: components["schemas"]["SandboxEgressPolicy"];
|
|
1762
|
+
/** @description True when the policy is Archil's managed free-plan allowlist. Ignored in requests. */
|
|
1763
|
+
readonly managed?: boolean;
|
|
1758
1764
|
};
|
|
1759
1765
|
SandboxTimeoutRequest: {
|
|
1760
1766
|
/** @description Seconds from now until a running sandbox expires, capped at 24 hours after its session started, and the lifetime budget for its next powered-on session. */
|
|
@@ -1960,7 +1966,7 @@ export interface components {
|
|
|
1960
1966
|
vcpu_count: number;
|
|
1961
1967
|
/** @default 2048 */
|
|
1962
1968
|
mem_size_mib: number;
|
|
1963
|
-
/** @description Public Linux OCI image reference. Docker shorthand and tags are accepted; the selected platform manifest is pinned at creation. Defaults to `
|
|
1969
|
+
/** @description Public Linux OCI image reference. Docker shorthand and tags are accepted; the selected platform manifest is pinned at creation. Defaults to `node:24-bookworm` (Debian with Node.js, Python, git, and a C toolchain) when neither this nor `image_id` is set. Mutually exclusive with `image_id`. */
|
|
1964
1970
|
base_image?: string;
|
|
1965
1971
|
/** @description An image from the images API, for images that need registry credentials. The sandbox boots the image's current `digest`. Mutually exclusive with `base_image`. */
|
|
1966
1972
|
image_id?: string;
|