@treeseed/sdk 0.13.0-rc.120 → 0.13.0-rc.121

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.
@@ -1 +1 @@
1
- {"completedAt":"2026-09-19T16:34:57.882Z"}
1
+ {"completedAt":"2026-09-19T18:29:15.010Z"}
@@ -2903,7 +2903,7 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2903
2903
  actor: z.ZodString;
2904
2904
  hostId: z.ZodString;
2905
2905
  createdAt: z.ZodString;
2906
- status: z.ZodEnum<["planning", "active", "degraded", "restoring", "stopped"]>;
2906
+ status: z.ZodEnum<["planning", "active", "degraded", "restoring", "suspended", "stopped"]>;
2907
2907
  repositories: z.ZodArray<z.ZodObject<{
2908
2908
  projectId: z.ZodString;
2909
2909
  repository: z.ZodString;
@@ -2982,7 +2982,7 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2982
2982
  targetId?: string | undefined;
2983
2983
  }>, "many">;
2984
2984
  }, "strict", z.ZodTypeAny, {
2985
- status: "active" | "stopped" | "planning" | "degraded" | "restoring";
2985
+ status: "active" | "stopped" | "planning" | "degraded" | "restoring" | "suspended";
2986
2986
  actor: string;
2987
2987
  schemaVersion: "treeseed.development-session/v2";
2988
2988
  repositories: {
@@ -3018,7 +3018,7 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3018
3018
  hostId: string;
3019
3019
  restoredReceiptId: string | null;
3020
3020
  }, {
3021
- status: "active" | "stopped" | "planning" | "degraded" | "restoring";
3021
+ status: "active" | "stopped" | "planning" | "degraded" | "restoring" | "suspended";
3022
3022
  actor: string;
3023
3023
  schemaVersion: "treeseed.development-session/v2";
3024
3024
  repositories: {
@@ -3054,7 +3054,7 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3054
3054
  hostId: string;
3055
3055
  restoredReceiptId: string | null;
3056
3056
  }>, {
3057
- status: "active" | "stopped" | "planning" | "degraded" | "restoring";
3057
+ status: "active" | "stopped" | "planning" | "degraded" | "restoring" | "suspended";
3058
3058
  actor: string;
3059
3059
  schemaVersion: "treeseed.development-session/v2";
3060
3060
  repositories: {
@@ -122,7 +122,7 @@ const developmentSessionSchema = z.preprocess(migrateDevelopmentSession, z.objec
122
122
  actor: z.string().min(1).max(256),
123
123
  hostId: identifier,
124
124
  createdAt: z.string().datetime(),
125
- status: z.enum(["planning", "active", "degraded", "restoring", "stopped"]),
125
+ status: z.enum(["planning", "active", "degraded", "restoring", "suspended", "stopped"]),
126
126
  repositories: z.array(repositoryClosureSchema),
127
127
  targets: z.array(z.object({ projectId: identifier, targetId: identifier, mode: developmentModeSchema, generation: z.number().int().nonnegative(), health: z.enum(["pending", "ready", "degraded", "stopped"]), reaction: developmentReactionSchema.optional() }).strict()),
128
128
  leases: z.array(z.object({ kind: z.enum(["alias", "component", "state", "secret"]), resource: z.string().min(1), acquiredAt: z.string().datetime() }).strict()),
@@ -61,6 +61,8 @@ const operationBindings = {
61
61
  "host plan": local("local.host.plan"),
62
62
  "host apply": local("local.host.apply"),
63
63
  "host reconcile": local("local.host.reconcile"),
64
+ "host start": local("local.host.start"),
65
+ "host stop": local("local.host.stop"),
64
66
  "host events": local("local.host.events"),
65
67
  "host update status": local("local.host.update.status"),
66
68
  "host update check": local("local.host.update.check"),
@@ -76,6 +78,7 @@ const operationBindings = {
76
78
  "host config show": local("local.host.config.show"),
77
79
  "host config plan": local("local.host.config.plan"),
78
80
  "host config apply": local("local.host.config.apply"),
81
+ "host config stage": local("local.host.config.stage"),
79
82
  "host config adopt": local("local.host.config.adopt"),
80
83
  "host postgres transfer prepare": local("local.host.postgres.transfer.prepare"),
81
84
  "host postgres transfer status": local("local.host.postgres.transfer.status"),
@@ -298,8 +301,10 @@ const commandTree = {
298
301
  leaf("plan"),
299
302
  leaf("apply", "mutation", void 0, "authority"),
300
303
  leaf("reconcile", "mutation", void 0, "authority"),
304
+ leaf("start", "mutation", void 0, "authority"),
305
+ leaf("stop", "mutation", void 0, "authority"),
301
306
  leaf("events"),
302
- branch("config", [leaf("show"), leaf("plan", "read", "file"), leaf("apply", "mutation", "file", "authority"), configurationAdopt()]),
307
+ branch("config", [leaf("show"), leaf("plan", "read", "file"), leaf("apply", "mutation", "file", "authority"), leaf("stage", "mutation", "file", "authority"), configurationAdopt()]),
303
308
  branch("postgres", [branch("transfer", [leaf("prepare", "mutation", "file", "authority"), leaf("status")])]),
304
309
  leaf("topology"),
305
310
  leaf("connections"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.13.0-rc.120",
3
+ "version": "0.13.0-rc.121",
4
4
  "description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {