@archildata/api-types 0.0.80 → 0.0.81
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 +45 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2971,6 +2971,15 @@ export interface components {
|
|
|
2971
2971
|
* @example ls -la /mnt/archil
|
|
2972
2972
|
*/
|
|
2973
2973
|
command: string;
|
|
2974
|
+
/** @description Public Linux OCI image reference to run the command in. Docker shorthand and tags are accepted. The first exec with an image waits while it is converted; later execs reuse it. Defaults to Archil's exec image when neither this nor `imageId` is set. Mutually exclusive with `imageId`. */
|
|
2975
|
+
baseImage?: string;
|
|
2976
|
+
/** @description An image from the images API, for images that need registry credentials. The exec runs the image's current `digest`. Mutually exclusive with `baseImage`. */
|
|
2977
|
+
imageId?: string;
|
|
2978
|
+
/** @description vCPUs for the command's VM. Defaults to 2. An exec larger than the default size (2 vCPU, 4096 MiB) bills as that many multiples of a call, by whichever of vCPU and memory is the larger multiple, rounded up. */
|
|
2979
|
+
vcpuCount?: number;
|
|
2980
|
+
/** @description Memory in MiB for the command's VM. Defaults to 4096. Billed as described for `vcpuCount`. */
|
|
2981
|
+
memSizeMib?: number;
|
|
2982
|
+
network?: components["schemas"]["ExecNetwork"];
|
|
2974
2983
|
};
|
|
2975
2984
|
ExecDiskResult: {
|
|
2976
2985
|
/**
|
|
@@ -3040,6 +3049,24 @@ export interface components {
|
|
|
3040
3049
|
* @example ls -la /mnt/archil/data /mnt/archil/logs
|
|
3041
3050
|
*/
|
|
3042
3051
|
command: string;
|
|
3052
|
+
/** @description Public Linux OCI image reference to run the command in. Docker shorthand and tags are accepted. The first exec with an image waits while it is converted; later execs reuse it. Defaults to Archil's exec image when neither this nor `imageId` is set. Mutually exclusive with `imageId`. */
|
|
3053
|
+
baseImage?: string;
|
|
3054
|
+
/** @description An image from the images API, for images that need registry credentials. The exec runs the image's current `digest`. Mutually exclusive with `baseImage`. */
|
|
3055
|
+
imageId?: string;
|
|
3056
|
+
/** @description vCPUs for the command's VM. Defaults to 2. An exec larger than the default size (2 vCPU, 4096 MiB) bills as that many multiples of a call, by whichever of vCPU and memory is the larger multiple, rounded up. */
|
|
3057
|
+
vcpuCount?: number;
|
|
3058
|
+
/** @description Memory in MiB for the command's VM. Defaults to 4096. Billed as described for `vcpuCount`. */
|
|
3059
|
+
memSizeMib?: number;
|
|
3060
|
+
network?: components["schemas"]["ExecNetwork"];
|
|
3061
|
+
};
|
|
3062
|
+
/**
|
|
3063
|
+
* @description Network policy for the command's container, using the sandbox egress
|
|
3064
|
+
* rules. Egress is unrestricted when omitted.
|
|
3065
|
+
* Free plans cannot set one; a request with one is rejected with 403
|
|
3066
|
+
* `network_plan_required`.
|
|
3067
|
+
*/
|
|
3068
|
+
ExecNetwork: {
|
|
3069
|
+
egress?: components["schemas"]["SandboxEgressPolicy"];
|
|
3043
3070
|
};
|
|
3044
3071
|
ExecMount: {
|
|
3045
3072
|
/**
|
|
@@ -4868,6 +4895,15 @@ export interface operations {
|
|
|
4868
4895
|
401: components["responses"]["Unauthorized"];
|
|
4869
4896
|
403: components["responses"]["ToolCallAllowanceExhausted"];
|
|
4870
4897
|
404: components["responses"]["NotFound"];
|
|
4898
|
+
/** @description The `imageId` image has no finished build yet (`image_not_ready`) */
|
|
4899
|
+
409: {
|
|
4900
|
+
headers: {
|
|
4901
|
+
[name: string]: unknown;
|
|
4902
|
+
};
|
|
4903
|
+
content: {
|
|
4904
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4871
4907
|
500: components["responses"]["InternalError"];
|
|
4872
4908
|
/** @description Command timed out */
|
|
4873
4909
|
504: {
|
|
@@ -4968,6 +5004,15 @@ export interface operations {
|
|
|
4968
5004
|
401: components["responses"]["Unauthorized"];
|
|
4969
5005
|
403: components["responses"]["ToolCallAllowanceExhausted"];
|
|
4970
5006
|
404: components["responses"]["NotFound"];
|
|
5007
|
+
/** @description The `imageId` image has no finished build yet (`image_not_ready`) */
|
|
5008
|
+
409: {
|
|
5009
|
+
headers: {
|
|
5010
|
+
[name: string]: unknown;
|
|
5011
|
+
};
|
|
5012
|
+
content: {
|
|
5013
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5014
|
+
};
|
|
5015
|
+
};
|
|
4971
5016
|
500: components["responses"]["InternalError"];
|
|
4972
5017
|
/** @description Command timed out */
|
|
4973
5018
|
504: {
|