@archildata/api-types 0.0.17 → 0.0.19

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 +24 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -670,6 +670,7 @@ export interface components {
670
670
  mem_size_mib: number;
671
671
  /** @description Full lifetime budget applied independently to each powered-on session. */
672
672
  max_ttl_seconds: number;
673
+ /** @description Maximum number of concurrently attached exec sessions. Detached processes and one-shot process controls do not count. */
673
674
  max_concurrent_execs: number;
674
675
  /** @description OCI reference requested when the sandbox was created. */
675
676
  base_image: string;
@@ -758,6 +759,7 @@ export interface components {
758
759
  };
759
760
  /** @description Lifetime budget applied independently to each powered-on session */
760
761
  max_ttl_seconds?: number;
762
+ /** @description Maximum number of concurrently attached exec sessions. Detached processes and one-shot process controls do not count. */
761
763
  max_concurrent_execs?: number;
762
764
  };
763
765
  ForkSandboxRequest: {
@@ -819,6 +821,27 @@ export interface components {
819
821
  * @description Deprecated. Use AddDiskUser after creation instead. When provided, suppresses the default auto-generated token user.
820
822
  */
821
823
  authMethods?: components["schemas"]["DiskUser"][];
824
+ rootAttrs?: components["schemas"]["RootAttrs"];
825
+ };
826
+ /** @description POSIX attributes for the disk's root directory, applied when the disk is created. Lets an unprivileged process own the mount root without a post-mount `chown`. Can only be set at creation; a later `chown`/`chmod` through a mount changes the live attributes as usual. Defaults to uid 0, gid 0, mode 0755. */
827
+ RootAttrs: {
828
+ /**
829
+ * Format: int64
830
+ * @description Owner user ID of the root directory. 4294967295 (the POSIX `chown(-1)` "unchanged" sentinel) is rejected.
831
+ * @example 1000
832
+ */
833
+ uid?: number;
834
+ /**
835
+ * Format: int64
836
+ * @description Owner group ID of the root directory. 4294967295 (the POSIX `chown(-1)` "unchanged" sentinel) is rejected.
837
+ * @example 1000
838
+ */
839
+ gid?: number;
840
+ /**
841
+ * @description Permission bits of the root directory, as a plain integer. Write it as an octal literal in your client (`0o750` in JavaScript/Python = 488): the JSON number is taken at decimal face value, so sending `750` or `444` does NOT mean octal 750/444 — `444` is `0o674`. Permission bits only — setuid/setgid/sticky are rejected.
842
+ * @example 493
843
+ */
844
+ mode?: number;
822
845
  };
823
846
  MountConfig: components["schemas"]["S3Mount"] | components["schemas"]["GCSMount"] | components["schemas"]["R2Mount"] | components["schemas"]["S3CompatibleMount"] | components["schemas"]["AzureBlobMount"];
824
847
  /**
@@ -1120,6 +1143,7 @@ export interface components {
1120
1143
  * ]
1121
1144
  */
1122
1145
  capabilities?: "checkpoints"[];
1146
+ rootAttrs?: components["schemas"]["RootAttrs"];
1123
1147
  };
1124
1148
  MountResponse: {
1125
1149
  /** @description Mount identifier */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archildata/api-types",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "API types for the Archil control plane",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",