@archildata/api-types 0.0.58 → 0.0.60
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 +9 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1724,9 +1724,9 @@ export interface components {
|
|
|
1724
1724
|
/** @description Denied addresses block all traffic to them, and allowed addresses admit all traffic to them regardless of domain rules. Other connections are matched by TLS SNI, or HTTP Host on any port, against domain denies, then domain allows, then the default. When domain rules are present, TCP connections without a hostname are denied; UDP follows the address rules and the default, except that UDP port 443 is denied. Header transforms, forwarding, and drain selectors apply to plaintext HTTP on any port, and to TLS on any port whose handshake offers HTTP through ALPN (or, on port 443, offers no ALPN). */
|
|
1725
1725
|
SandboxEgressPolicy: {
|
|
1726
1726
|
default: components["schemas"]["SandboxNetworkAction"];
|
|
1727
|
-
/** @description Allowed IPv4 addresses, CIDR ranges,
|
|
1727
|
+
/** @description Allowed IPv4 addresses, CIDR ranges, lowercase domain patterns using * wildcards, or target objects with optional outbound HTTPS request transformations. The first matching domain rule wins, including its transformations and forwarding. Numeric wildcard IP targets such as 10.0.0.* are rejected; use a CIDR range instead. Asterisk matches zero or more characters, including dots; mount.*.archil.com matches mount endpoints across fleets. A leading *. matches subdomains but not the apex domain, including when applying transformations. */
|
|
1728
1728
|
allow?: (string | components["schemas"]["SandboxEgressRule"])[];
|
|
1729
|
-
/** @description Denied IPv4 addresses, CIDR ranges,
|
|
1729
|
+
/** @description Denied IPv4 addresses, CIDR ranges, or lowercase domain patterns using * wildcards. Numeric wildcard IP targets such as 10.0.0.* are rejected; use a CIDR range instead. Asterisk matches zero or more characters, including dots; data.*.archil.com matches data endpoints across fleets. A leading *. matches subdomains but not the apex domain. */
|
|
1730
1730
|
deny?: string[];
|
|
1731
1731
|
/** @description Optional hosts whose HTTP(S) requests should finish before pausing, regardless of URL path. Pausing gates new matching requests and waits up to ten minutes by default for active responses, including streams, before taking a snapshot. Errors stop counting, and expiry proceeds with the snapshot. This does not limit requests during normal operation. Selectors do not grant network access. Matching uses the original request host before transformations or forwarding. Policies with domain rules apply selectors on any port; policies with only selectors apply them on TCP ports 80 and 443. Connections may need to be retried after resume. */
|
|
1732
1732
|
drain_on_pause?: string[];
|
|
@@ -1751,11 +1751,12 @@ export interface components {
|
|
|
1751
1751
|
/**
|
|
1752
1752
|
* @description Sandbox network policy. New sandboxes on free plans are managed: their
|
|
1753
1753
|
* egress denies everything except Archil's allowlist of package
|
|
1754
|
-
* registries, Git hosts, OS package mirrors,
|
|
1755
|
-
*
|
|
1756
|
-
*
|
|
1757
|
-
*
|
|
1758
|
-
*
|
|
1754
|
+
* registries, Git hosts, OS package mirrors, model provider APIs, and
|
|
1755
|
+
* managed fleet mount/data endpoints (mount.*.archil.com and
|
|
1756
|
+
* data.*.archil.com). Free plans cannot set an egress policy; a create
|
|
1757
|
+
* request with one is rejected with `sandbox_network_plan_required`,
|
|
1758
|
+
* as are policy updates. Start/resume and forks retain the stored policy.
|
|
1759
|
+
* For paid accounts, egress is unrestricted when omitted.
|
|
1759
1760
|
*/
|
|
1760
1761
|
SandboxNetwork: {
|
|
1761
1762
|
egress?: components["schemas"]["SandboxEgressPolicy"];
|
|
@@ -1966,7 +1967,7 @@ export interface components {
|
|
|
1966
1967
|
vcpu_count: number;
|
|
1967
1968
|
/** @default 2048 */
|
|
1968
1969
|
mem_size_mib: number;
|
|
1969
|
-
/** @description Public Linux OCI image reference. Docker shorthand and tags are accepted; the selected platform manifest is pinned at creation. Defaults to `
|
|
1970
|
+
/** @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`. */
|
|
1970
1971
|
base_image?: string;
|
|
1971
1972
|
/** @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`. */
|
|
1972
1973
|
image_id?: string;
|