@impz/client 2.5.5 → 2.6.0

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/dist/index.d.ts CHANGED
@@ -16513,6 +16513,10 @@ declare const impContract: {
16513
16513
  systemDrive: z.ZodObject<{
16514
16514
  sha256: z.ZodString;
16515
16515
  }, z.core.$strip>;
16516
+ guest: z.ZodOptional<z.ZodObject<{
16517
+ scratchDir: z.ZodString;
16518
+ isClearedOnBoot: z.ZodBoolean;
16519
+ }, z.core.$strip>>;
16516
16520
  storage: z.ZodObject<{
16517
16521
  backend: z.ZodEnum<{
16518
16522
  xfs: "xfs";
@@ -16598,6 +16602,7 @@ declare const impContract: {
16598
16602
  grantFilters: z.ZodOptional<z.ZodBoolean>;
16599
16603
  readOnlyFiles: z.ZodOptional<z.ZodBoolean>;
16600
16604
  execDropSysAdmin: z.ZodOptional<z.ZodBoolean>;
16605
+ guestScratch: z.ZodOptional<z.ZodBoolean>;
16601
16606
  }, z.core.$strip>>;
16602
16607
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
16603
16608
  NOT_FOUND: {
@@ -16798,6 +16803,7 @@ declare const impContract: {
16798
16803
  grantFilters: z.ZodOptional<z.ZodBoolean>;
16799
16804
  readOnlyFiles: z.ZodOptional<z.ZodBoolean>;
16800
16805
  execDropSysAdmin: z.ZodOptional<z.ZodBoolean>;
16806
+ guestScratch: z.ZodOptional<z.ZodBoolean>;
16801
16807
  }, z.core.$strip>;
16802
16808
  }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
16803
16809
  NOT_FOUND: {
@@ -20652,6 +20658,10 @@ declare const SystemInfoSchema: z.ZodObject<{
20652
20658
  systemDrive: z.ZodObject<{
20653
20659
  sha256: z.ZodString;
20654
20660
  }, z.core.$strip>;
20661
+ guest: z.ZodOptional<z.ZodObject<{
20662
+ scratchDir: z.ZodString;
20663
+ isClearedOnBoot: z.ZodBoolean;
20664
+ }, z.core.$strip>>;
20655
20665
  storage: z.ZodObject<{
20656
20666
  backend: z.ZodEnum<{
20657
20667
  xfs: "xfs";
@@ -20737,6 +20747,7 @@ declare const SystemInfoSchema: z.ZodObject<{
20737
20747
  grantFilters: z.ZodOptional<z.ZodBoolean>;
20738
20748
  readOnlyFiles: z.ZodOptional<z.ZodBoolean>;
20739
20749
  execDropSysAdmin: z.ZodOptional<z.ZodBoolean>;
20750
+ guestScratch: z.ZodOptional<z.ZodBoolean>;
20740
20751
  }, z.core.$strip>>;
20741
20752
  }, z.core.$strip>;
20742
20753
  type SystemInfo = z.infer<typeof SystemInfoSchema>;
@@ -20765,6 +20776,7 @@ declare const SystemFeaturesInfoSchema: z.ZodObject<{
20765
20776
  grantFilters: z.ZodOptional<z.ZodBoolean>;
20766
20777
  readOnlyFiles: z.ZodOptional<z.ZodBoolean>;
20767
20778
  execDropSysAdmin: z.ZodOptional<z.ZodBoolean>;
20779
+ guestScratch: z.ZodOptional<z.ZodBoolean>;
20768
20780
  }, z.core.$strip>;
20769
20781
  }, z.core.$strip>;
20770
20782
  type SystemFeaturesInfo = z.infer<typeof SystemFeaturesInfoSchema>;
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import { P, match } from "ts-pattern";
5
5
  import pRetry, { AbortError } from "p-retry";
6
6
  //#endregion
7
7
  //#region src/check-server.ts
8
- const CLIENT_VERSION = "2.5.5";
8
+ const CLIENT_VERSION = "2.6.0";
9
9
  async function checkServer(rpc) {
10
10
  const info = await rpc.system.info();
11
11
  return {
@@ -974,7 +974,8 @@ const FEATURE_GAPS = {
974
974
  brokerRefusals: "has no audit of refused broker requests",
975
975
  grantFilters: "has no grant filters",
976
976
  readOnlyFiles: "has no read-only files",
977
- execDropSysAdmin: "cannot drop CAP_SYS_ADMIN from a command"
977
+ execDropSysAdmin: "cannot drop CAP_SYS_ADMIN from a command",
978
+ guestScratch: "does not name the guest scratch folder"
978
979
  };
979
980
  var MissingFeatureError = class extends Error {
980
981
  name = "MissingFeatureError";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@impz/client",
3
- "version": "2.5.5",
3
+ "version": "2.6.0",
4
4
  "description": "Typed client for impd, the imp host daemon: imps, checkpoints, images and exec",
5
5
  "license": "MIT",
6
6
  "repository": {