@archildata/api-types 0.0.80 → 0.0.82

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.
Files changed (2) hide show
  1. package/index.d.ts +49 -1
  2. 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. The Free plan allows only the default size. */
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. The Free plan allows only the default size. */
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
  /**
@@ -3345,7 +3372,10 @@ export interface components {
3345
3372
  * @description The account's plan has used its serverless tool call allowance for
3346
3373
  * the month. `code` is `allowance_exhausted`; `data` carries the
3347
3374
  * `feature`, the `limit` the plan grants, the `remaining` balance and
3348
- * `nextResetAt` (Unix seconds). Paid plans are never refused.
3375
+ * `nextResetAt` (Unix seconds). An exec larger than the plan allows is
3376
+ * refused with `tool_call_size_limit_exceeded`; `data.limit` is the
3377
+ * largest size in calls and `data.requested` the size asked for. Paid
3378
+ * plans are never refused.
3349
3379
  */
3350
3380
  ToolCallAllowanceExhausted: {
3351
3381
  headers: {
@@ -4868,6 +4898,15 @@ export interface operations {
4868
4898
  401: components["responses"]["Unauthorized"];
4869
4899
  403: components["responses"]["ToolCallAllowanceExhausted"];
4870
4900
  404: components["responses"]["NotFound"];
4901
+ /** @description The `imageId` image has no finished build yet (`image_not_ready`) */
4902
+ 409: {
4903
+ headers: {
4904
+ [name: string]: unknown;
4905
+ };
4906
+ content: {
4907
+ "application/json": components["schemas"]["ErrorResponse"];
4908
+ };
4909
+ };
4871
4910
  500: components["responses"]["InternalError"];
4872
4911
  /** @description Command timed out */
4873
4912
  504: {
@@ -4968,6 +5007,15 @@ export interface operations {
4968
5007
  401: components["responses"]["Unauthorized"];
4969
5008
  403: components["responses"]["ToolCallAllowanceExhausted"];
4970
5009
  404: components["responses"]["NotFound"];
5010
+ /** @description The `imageId` image has no finished build yet (`image_not_ready`) */
5011
+ 409: {
5012
+ headers: {
5013
+ [name: string]: unknown;
5014
+ };
5015
+ content: {
5016
+ "application/json": components["schemas"]["ErrorResponse"];
5017
+ };
5018
+ };
4971
5019
  500: components["responses"]["InternalError"];
4972
5020
  /** @description Command timed out */
4973
5021
  504: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archildata/api-types",
3
- "version": "0.0.80",
3
+ "version": "0.0.82",
4
4
  "description": "API types for the Archil control plane",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",