@runblackcat/sdk 0.1.0-alpha.120 → 0.1.0-alpha.122

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runblackcat/sdk",
3
- "version": "0.1.0-alpha.120",
3
+ "version": "0.1.0-alpha.122",
4
4
  "description": "TypeScript SDK for the Blackcat sandbox gateway",
5
5
  "license": "Apache-2.0",
6
6
  "repository": "https://github.com/TreebeardHQ/blackcat",
@@ -23,6 +23,7 @@ export declare const CAPABILITY_OPS: {
23
23
  export type CapabilityOps = number;
24
24
  export declare const BLACKCAT_ERROR_CODES: {
25
25
  readonly CHECKPOINT_KERNEL_MISMATCH: "checkpoint_kernel_mismatch";
26
+ readonly CHECKPOINT_UNRESTORABLE: "checkpoint_unrestorable";
26
27
  readonly SANDBOX_TRANSITIONING: "sandbox_transitioning";
27
28
  readonly FLEET_UPGRADE_QUIESCING: "fleet_upgrade_quiescing";
28
29
  };
@@ -492,7 +493,7 @@ export type CreateSandboxResponse = {
492
493
  * predates this field.
493
494
  */
494
495
  restore_timing?: RestoreTiming;
495
- /** First recorded failure, also available while pending teardown. Rebuild captures on checkpoint_kernel_mismatch. */
496
+ /** First recorded failure, also available while pending teardown. Rebuild captures on checkpoint_kernel_mismatch or checkpoint_unrestorable. */
496
497
  failure?: {
497
498
  code: string;
498
499
  detail: string | null;
package/sdk/dist/index.js CHANGED
@@ -16,6 +16,7 @@ var CAPABILITY_OPS = {
16
16
  };
17
17
  var BLACKCAT_ERROR_CODES = {
18
18
  CHECKPOINT_KERNEL_MISMATCH: "checkpoint_kernel_mismatch",
19
+ CHECKPOINT_UNRESTORABLE: "checkpoint_unrestorable",
19
20
  SANDBOX_TRANSITIONING: "sandbox_transitioning",
20
21
  FLEET_UPGRADE_QUIESCING: "fleet_upgrade_quiescing"
21
22
  };