@archildata/api-types 0.0.79 → 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 +51 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -709,9 +709,10 @@ export interface paths {
|
|
|
709
709
|
* breadth-first and grep workers are dispatched as soon as each level
|
|
710
710
|
* finishes listing — listing and matching overlap.
|
|
711
711
|
*
|
|
712
|
-
* The matches returned when stopping early on `maxResults
|
|
713
|
-
*
|
|
714
|
-
*
|
|
712
|
+
* The matches returned when stopping early on `maxResults`, or on the
|
|
713
|
+
* 32 MiB limit on match and context text, are a sample of whichever
|
|
714
|
+
* workers reported first, not the lexicographically first N. The
|
|
715
|
+
* response surfaces `stoppedReason` so callers can distinguish
|
|
715
716
|
* completion from early termination.
|
|
716
717
|
*/
|
|
717
718
|
post: operations["grepDisk"];
|
|
@@ -2970,6 +2971,15 @@ export interface components {
|
|
|
2970
2971
|
* @example ls -la /mnt/archil
|
|
2971
2972
|
*/
|
|
2972
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"];
|
|
2973
2983
|
};
|
|
2974
2984
|
ExecDiskResult: {
|
|
2975
2985
|
/**
|
|
@@ -3039,6 +3049,24 @@ export interface components {
|
|
|
3039
3049
|
* @example ls -la /mnt/archil/data /mnt/archil/logs
|
|
3040
3050
|
*/
|
|
3041
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"];
|
|
3042
3070
|
};
|
|
3043
3071
|
ExecMount: {
|
|
3044
3072
|
/**
|
|
@@ -3239,7 +3267,8 @@ export interface components {
|
|
|
3239
3267
|
* batches errored (invalid regex, unreadable file, runtime issue) or
|
|
3240
3268
|
* exceeded the 4 MiB output limit.
|
|
3241
3269
|
* Results may be partial or wrong; do not rely on completeness.
|
|
3242
|
-
* - `max_results`: hit `maxResults
|
|
3270
|
+
* - `max_results`: hit `maxResults`, or the response size limit
|
|
3271
|
+
* (32 MiB of match and context text), before scanning everything.
|
|
3243
3272
|
* - `deadline`: hit `maxDurationSeconds`.
|
|
3244
3273
|
* - `list_failed`: directory listing failed; partial results
|
|
3245
3274
|
* may be present.
|
|
@@ -4866,6 +4895,15 @@ export interface operations {
|
|
|
4866
4895
|
401: components["responses"]["Unauthorized"];
|
|
4867
4896
|
403: components["responses"]["ToolCallAllowanceExhausted"];
|
|
4868
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
|
+
};
|
|
4869
4907
|
500: components["responses"]["InternalError"];
|
|
4870
4908
|
/** @description Command timed out */
|
|
4871
4909
|
504: {
|
|
@@ -4966,6 +5004,15 @@ export interface operations {
|
|
|
4966
5004
|
401: components["responses"]["Unauthorized"];
|
|
4967
5005
|
403: components["responses"]["ToolCallAllowanceExhausted"];
|
|
4968
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
|
+
};
|
|
4969
5016
|
500: components["responses"]["InternalError"];
|
|
4970
5017
|
/** @description Command timed out */
|
|
4971
5018
|
504: {
|