@treeseed/sdk 0.13.0-rc.100 → 0.13.0-rc.102

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.
@@ -575,18 +575,18 @@ export declare const hostConfigurationSchema: z.ZodObject<{
575
575
  dataRoot: z.ZodOptional<z.ZodString>;
576
576
  }, "strict", z.ZodTypeAny, {
577
577
  environment: "development" | "production";
578
- management: "managed" | "external";
578
+ management: "external" | "managed";
579
579
  dataRoot?: string | undefined;
580
580
  }, {
581
- management: "managed" | "external";
581
+ management: "external" | "managed";
582
582
  environment?: "development" | "production" | undefined;
583
583
  dataRoot?: string | undefined;
584
584
  }>, {
585
585
  environment: "development" | "production";
586
- management: "managed" | "external";
586
+ management: "external" | "managed";
587
587
  dataRoot?: string | undefined;
588
588
  }, {
589
- management: "managed" | "external";
589
+ management: "external" | "managed";
590
590
  environment?: "development" | "production" | undefined;
591
591
  dataRoot?: string | undefined;
592
592
  }>;
@@ -1450,7 +1450,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1450
1450
  schemaVersion: "treeseed.host/v1";
1451
1451
  runtime: {
1452
1452
  environment: "development" | "production";
1453
- management: "managed" | "external";
1453
+ management: "external" | "managed";
1454
1454
  dataRoot?: string | undefined;
1455
1455
  };
1456
1456
  components: Record<string, {
@@ -1589,7 +1589,7 @@ export declare const hostConfigurationSchema: z.ZodObject<{
1589
1589
  }, {
1590
1590
  schemaVersion: "treeseed.host/v1";
1591
1591
  runtime: {
1592
- management: "managed" | "external";
1592
+ management: "external" | "managed";
1593
1593
  environment?: "development" | "production" | undefined;
1594
1594
  dataRoot?: string | undefined;
1595
1595
  };
@@ -2009,6 +2009,24 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
2009
2009
  default?: string | undefined;
2010
2010
  }[] | undefined;
2011
2011
  } | undefined>;
2012
+ postgresRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
2013
+ id: z.ZodString;
2014
+ componentId: z.ZodString;
2015
+ enabled: z.ZodBoolean;
2016
+ supportedMajors: z.ZodEffects<z.ZodArray<z.ZodNumber, "atleastone">, [number, ...number[]], [number, ...number[]]>;
2017
+ extensions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
2018
+ runtimeConnectionLimit: z.ZodNumber;
2019
+ }, "componentId" | "enabled">, "strict", z.ZodTypeAny, {
2020
+ id: string;
2021
+ supportedMajors: [number, ...number[]];
2022
+ extensions: string[];
2023
+ runtimeConnectionLimit: number;
2024
+ }, {
2025
+ id: string;
2026
+ supportedMajors: [number, ...number[]];
2027
+ extensions: string[];
2028
+ runtimeConnectionLimit: number;
2029
+ }>, "many">>;
2012
2030
  services: z.ZodArray<z.ZodObject<{
2013
2031
  id: z.ZodString;
2014
2032
  composeService: z.ZodString;
@@ -2316,6 +2334,12 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
2316
2334
  backupRequired: boolean;
2317
2335
  }[];
2318
2336
  requiredCapabilities: string[];
2337
+ postgresRequirements?: {
2338
+ id: string;
2339
+ supportedMajors: [number, ...number[]];
2340
+ extensions: string[];
2341
+ runtimeConnectionLimit: number;
2342
+ }[] | undefined;
2319
2343
  modeControl?: {
2320
2344
  resource: "ai-gpu";
2321
2345
  role: "inference" | "training" | "controller";
@@ -2405,6 +2429,12 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
2405
2429
  default?: string | undefined;
2406
2430
  }[] | undefined;
2407
2431
  } | undefined;
2432
+ postgresRequirements?: {
2433
+ id: string;
2434
+ supportedMajors: [number, ...number[]];
2435
+ extensions: string[];
2436
+ runtimeConnectionLimit: number;
2437
+ }[] | undefined;
2408
2438
  modeControl?: {
2409
2439
  resource: "ai-gpu";
2410
2440
  role: "inference" | "training" | "controller";
@@ -2494,6 +2524,12 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
2494
2524
  backupRequired: boolean;
2495
2525
  }[];
2496
2526
  requiredCapabilities: string[];
2527
+ postgresRequirements?: {
2528
+ id: string;
2529
+ supportedMajors: [number, ...number[]];
2530
+ extensions: string[];
2531
+ runtimeConnectionLimit: number;
2532
+ }[] | undefined;
2497
2533
  modeControl?: {
2498
2534
  resource: "ai-gpu";
2499
2535
  role: "inference" | "training" | "controller";
@@ -2583,6 +2619,12 @@ export declare const packageRuntimeSchema: z.ZodEffects<z.ZodObject<{
2583
2619
  default?: string | undefined;
2584
2620
  }[] | undefined;
2585
2621
  } | undefined;
2622
+ postgresRequirements?: {
2623
+ id: string;
2624
+ supportedMajors: [number, ...number[]];
2625
+ extensions: string[];
2626
+ runtimeConnectionLimit: number;
2627
+ }[] | undefined;
2586
2628
  modeControl?: {
2587
2629
  resource: "ai-gpu";
2588
2630
  role: "inference" | "training" | "controller";
@@ -2873,6 +2915,24 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
2873
2915
  default?: string | undefined;
2874
2916
  }[] | undefined;
2875
2917
  } | undefined>;
2918
+ postgresRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
2919
+ id: z.ZodString;
2920
+ componentId: z.ZodString;
2921
+ enabled: z.ZodBoolean;
2922
+ supportedMajors: z.ZodEffects<z.ZodArray<z.ZodNumber, "atleastone">, [number, ...number[]], [number, ...number[]]>;
2923
+ extensions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
2924
+ runtimeConnectionLimit: z.ZodNumber;
2925
+ }, "componentId" | "enabled">, "strict", z.ZodTypeAny, {
2926
+ id: string;
2927
+ supportedMajors: [number, ...number[]];
2928
+ extensions: string[];
2929
+ runtimeConnectionLimit: number;
2930
+ }, {
2931
+ id: string;
2932
+ supportedMajors: [number, ...number[]];
2933
+ extensions: string[];
2934
+ runtimeConnectionLimit: number;
2935
+ }>, "many">>;
2876
2936
  services: z.ZodArray<z.ZodObject<{
2877
2937
  id: z.ZodString;
2878
2938
  composeService: z.ZodString;
@@ -3180,6 +3240,12 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3180
3240
  backupRequired: boolean;
3181
3241
  }[];
3182
3242
  requiredCapabilities: string[];
3243
+ postgresRequirements?: {
3244
+ id: string;
3245
+ supportedMajors: [number, ...number[]];
3246
+ extensions: string[];
3247
+ runtimeConnectionLimit: number;
3248
+ }[] | undefined;
3183
3249
  modeControl?: {
3184
3250
  resource: "ai-gpu";
3185
3251
  role: "inference" | "training" | "controller";
@@ -3269,6 +3335,12 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3269
3335
  default?: string | undefined;
3270
3336
  }[] | undefined;
3271
3337
  } | undefined;
3338
+ postgresRequirements?: {
3339
+ id: string;
3340
+ supportedMajors: [number, ...number[]];
3341
+ extensions: string[];
3342
+ runtimeConnectionLimit: number;
3343
+ }[] | undefined;
3272
3344
  modeControl?: {
3273
3345
  resource: "ai-gpu";
3274
3346
  role: "inference" | "training" | "controller";
@@ -3358,6 +3430,12 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3358
3430
  backupRequired: boolean;
3359
3431
  }[];
3360
3432
  requiredCapabilities: string[];
3433
+ postgresRequirements?: {
3434
+ id: string;
3435
+ supportedMajors: [number, ...number[]];
3436
+ extensions: string[];
3437
+ runtimeConnectionLimit: number;
3438
+ }[] | undefined;
3361
3439
  modeControl?: {
3362
3440
  resource: "ai-gpu";
3363
3441
  role: "inference" | "training" | "controller";
@@ -3447,6 +3525,12 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3447
3525
  default?: string | undefined;
3448
3526
  }[] | undefined;
3449
3527
  } | undefined;
3528
+ postgresRequirements?: {
3529
+ id: string;
3530
+ supportedMajors: [number, ...number[]];
3531
+ extensions: string[];
3532
+ runtimeConnectionLimit: number;
3533
+ }[] | undefined;
3450
3534
  modeControl?: {
3451
3535
  resource: "ai-gpu";
3452
3536
  role: "inference" | "training" | "controller";
@@ -3563,6 +3647,12 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3563
3647
  backupRequired: boolean;
3564
3648
  }[];
3565
3649
  requiredCapabilities: string[];
3650
+ postgresRequirements?: {
3651
+ id: string;
3652
+ supportedMajors: [number, ...number[]];
3653
+ extensions: string[];
3654
+ runtimeConnectionLimit: number;
3655
+ }[] | undefined;
3566
3656
  modeControl?: {
3567
3657
  resource: "ai-gpu";
3568
3658
  role: "inference" | "training" | "controller";
@@ -3693,6 +3783,12 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3693
3783
  default?: string | undefined;
3694
3784
  }[] | undefined;
3695
3785
  } | undefined;
3786
+ postgresRequirements?: {
3787
+ id: string;
3788
+ supportedMajors: [number, ...number[]];
3789
+ extensions: string[];
3790
+ runtimeConnectionLimit: number;
3791
+ }[] | undefined;
3696
3792
  modeControl?: {
3697
3793
  resource: "ai-gpu";
3698
3794
  role: "inference" | "training" | "controller";
@@ -3823,6 +3919,12 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3823
3919
  backupRequired: boolean;
3824
3920
  }[];
3825
3921
  requiredCapabilities: string[];
3922
+ postgresRequirements?: {
3923
+ id: string;
3924
+ supportedMajors: [number, ...number[]];
3925
+ extensions: string[];
3926
+ runtimeConnectionLimit: number;
3927
+ }[] | undefined;
3826
3928
  modeControl?: {
3827
3929
  resource: "ai-gpu";
3828
3930
  role: "inference" | "training" | "controller";
@@ -3953,6 +4055,12 @@ export declare const componentReleaseSchema: z.ZodEffects<z.ZodObject<{
3953
4055
  default?: string | undefined;
3954
4056
  }[] | undefined;
3955
4057
  } | undefined;
4058
+ postgresRequirements?: {
4059
+ id: string;
4060
+ supportedMajors: [number, ...number[]];
4061
+ extensions: string[];
4062
+ runtimeConnectionLimit: number;
4063
+ }[] | undefined;
3956
4064
  modeControl?: {
3957
4065
  resource: "ai-gpu";
3958
4066
  role: "inference" | "training" | "controller";
@@ -4752,6 +4860,24 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
4752
4860
  default?: string | undefined;
4753
4861
  }[] | undefined;
4754
4862
  } | undefined>;
4863
+ postgresRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
4864
+ id: z.ZodString;
4865
+ componentId: z.ZodString;
4866
+ enabled: z.ZodBoolean;
4867
+ supportedMajors: z.ZodEffects<z.ZodArray<z.ZodNumber, "atleastone">, [number, ...number[]], [number, ...number[]]>;
4868
+ extensions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
4869
+ runtimeConnectionLimit: z.ZodNumber;
4870
+ }, "componentId" | "enabled">, "strict", z.ZodTypeAny, {
4871
+ id: string;
4872
+ supportedMajors: [number, ...number[]];
4873
+ extensions: string[];
4874
+ runtimeConnectionLimit: number;
4875
+ }, {
4876
+ id: string;
4877
+ supportedMajors: [number, ...number[]];
4878
+ extensions: string[];
4879
+ runtimeConnectionLimit: number;
4880
+ }>, "many">>;
4755
4881
  services: z.ZodArray<z.ZodObject<{
4756
4882
  id: z.ZodString;
4757
4883
  composeService: z.ZodString;
@@ -5059,6 +5185,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5059
5185
  backupRequired: boolean;
5060
5186
  }[];
5061
5187
  requiredCapabilities: string[];
5188
+ postgresRequirements?: {
5189
+ id: string;
5190
+ supportedMajors: [number, ...number[]];
5191
+ extensions: string[];
5192
+ runtimeConnectionLimit: number;
5193
+ }[] | undefined;
5062
5194
  modeControl?: {
5063
5195
  resource: "ai-gpu";
5064
5196
  role: "inference" | "training" | "controller";
@@ -5148,6 +5280,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5148
5280
  default?: string | undefined;
5149
5281
  }[] | undefined;
5150
5282
  } | undefined;
5283
+ postgresRequirements?: {
5284
+ id: string;
5285
+ supportedMajors: [number, ...number[]];
5286
+ extensions: string[];
5287
+ runtimeConnectionLimit: number;
5288
+ }[] | undefined;
5151
5289
  modeControl?: {
5152
5290
  resource: "ai-gpu";
5153
5291
  role: "inference" | "training" | "controller";
@@ -5237,6 +5375,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5237
5375
  backupRequired: boolean;
5238
5376
  }[];
5239
5377
  requiredCapabilities: string[];
5378
+ postgresRequirements?: {
5379
+ id: string;
5380
+ supportedMajors: [number, ...number[]];
5381
+ extensions: string[];
5382
+ runtimeConnectionLimit: number;
5383
+ }[] | undefined;
5240
5384
  modeControl?: {
5241
5385
  resource: "ai-gpu";
5242
5386
  role: "inference" | "training" | "controller";
@@ -5326,6 +5470,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5326
5470
  default?: string | undefined;
5327
5471
  }[] | undefined;
5328
5472
  } | undefined;
5473
+ postgresRequirements?: {
5474
+ id: string;
5475
+ supportedMajors: [number, ...number[]];
5476
+ extensions: string[];
5477
+ runtimeConnectionLimit: number;
5478
+ }[] | undefined;
5329
5479
  modeControl?: {
5330
5480
  resource: "ai-gpu";
5331
5481
  role: "inference" | "training" | "controller";
@@ -5442,6 +5592,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5442
5592
  backupRequired: boolean;
5443
5593
  }[];
5444
5594
  requiredCapabilities: string[];
5595
+ postgresRequirements?: {
5596
+ id: string;
5597
+ supportedMajors: [number, ...number[]];
5598
+ extensions: string[];
5599
+ runtimeConnectionLimit: number;
5600
+ }[] | undefined;
5445
5601
  modeControl?: {
5446
5602
  resource: "ai-gpu";
5447
5603
  role: "inference" | "training" | "controller";
@@ -5572,6 +5728,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5572
5728
  default?: string | undefined;
5573
5729
  }[] | undefined;
5574
5730
  } | undefined;
5731
+ postgresRequirements?: {
5732
+ id: string;
5733
+ supportedMajors: [number, ...number[]];
5734
+ extensions: string[];
5735
+ runtimeConnectionLimit: number;
5736
+ }[] | undefined;
5575
5737
  modeControl?: {
5576
5738
  resource: "ai-gpu";
5577
5739
  role: "inference" | "training" | "controller";
@@ -5702,6 +5864,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5702
5864
  backupRequired: boolean;
5703
5865
  }[];
5704
5866
  requiredCapabilities: string[];
5867
+ postgresRequirements?: {
5868
+ id: string;
5869
+ supportedMajors: [number, ...number[]];
5870
+ extensions: string[];
5871
+ runtimeConnectionLimit: number;
5872
+ }[] | undefined;
5705
5873
  modeControl?: {
5706
5874
  resource: "ai-gpu";
5707
5875
  role: "inference" | "training" | "controller";
@@ -5832,6 +6000,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
5832
6000
  default?: string | undefined;
5833
6001
  }[] | undefined;
5834
6002
  } | undefined;
6003
+ postgresRequirements?: {
6004
+ id: string;
6005
+ supportedMajors: [number, ...number[]];
6006
+ extensions: string[];
6007
+ runtimeConnectionLimit: number;
6008
+ }[] | undefined;
5835
6009
  modeControl?: {
5836
6010
  resource: "ai-gpu";
5837
6011
  role: "inference" | "training" | "controller";
@@ -6078,6 +6252,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
6078
6252
  backupRequired: boolean;
6079
6253
  }[];
6080
6254
  requiredCapabilities: string[];
6255
+ postgresRequirements?: {
6256
+ id: string;
6257
+ supportedMajors: [number, ...number[]];
6258
+ extensions: string[];
6259
+ runtimeConnectionLimit: number;
6260
+ }[] | undefined;
6081
6261
  modeControl?: {
6082
6262
  resource: "ai-gpu";
6083
6263
  role: "inference" | "training" | "controller";
@@ -6240,6 +6420,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
6240
6420
  default?: string | undefined;
6241
6421
  }[] | undefined;
6242
6422
  } | undefined;
6423
+ postgresRequirements?: {
6424
+ id: string;
6425
+ supportedMajors: [number, ...number[]];
6426
+ extensions: string[];
6427
+ runtimeConnectionLimit: number;
6428
+ }[] | undefined;
6243
6429
  modeControl?: {
6244
6430
  resource: "ai-gpu";
6245
6431
  role: "inference" | "training" | "controller";
@@ -6402,6 +6588,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
6402
6588
  backupRequired: boolean;
6403
6589
  }[];
6404
6590
  requiredCapabilities: string[];
6591
+ postgresRequirements?: {
6592
+ id: string;
6593
+ supportedMajors: [number, ...number[]];
6594
+ extensions: string[];
6595
+ runtimeConnectionLimit: number;
6596
+ }[] | undefined;
6405
6597
  modeControl?: {
6406
6598
  resource: "ai-gpu";
6407
6599
  role: "inference" | "training" | "controller";
@@ -6564,6 +6756,12 @@ export declare const releaseCatalogSchema: z.ZodEffects<z.ZodObject<{
6564
6756
  default?: string | undefined;
6565
6757
  }[] | undefined;
6566
6758
  } | undefined;
6759
+ postgresRequirements?: {
6760
+ id: string;
6761
+ supportedMajors: [number, ...number[]];
6762
+ extensions: string[];
6763
+ runtimeConnectionLimit: number;
6764
+ }[] | undefined;
6567
6765
  modeControl?: {
6568
6766
  resource: "ai-gpu";
6569
6767
  role: "inference" | "training" | "controller";
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { AI_MODE_INTERNAL_PATH } from "./ai-mode.js";
3
+ import { postgresComponentRequirementSchema } from "./postgres/contracts.js";
3
4
  const identifier = z.string().regex(/^[a-z][a-z0-9.-]{1,63}$/u);
4
5
  const digest = z.string().regex(/^sha256:[a-f0-9]{64}$/u);
5
6
  const gitCommit = z.string().regex(/^[a-f0-9]{40}$/u);
@@ -202,6 +203,8 @@ const packageRuntimeSchema = z.object({
202
203
  files: z.array(z.object({ path: z.string().min(1), digest }).strict()).min(1)
203
204
  }).strict(),
204
205
  configuration: componentRuntimeConfigurationSchema,
206
+ // Optional without a default: parsing published artifacts must not change their digest.
207
+ postgresRequirements: z.array(postgresComponentRequirementSchema).max(32).optional(),
205
208
  services: z.array(z.object({ id: identifier, composeService: identifier, endpoints: z.array(packageEndpointSchema) }).strict()).min(1),
206
209
  stateVolumes: z.array(z.object({ id: identifier, volume: z.string().min(1), backup: z.enum(["required", "optional", "none"]) }).strict()),
207
210
  migrations: z.array(z.object({ id: identifier, order: z.number().int().nonnegative(), backupRequired: z.boolean() }).strict()),
@@ -231,6 +234,8 @@ const packageRuntimeSchema = z.object({
231
234
  }).strict().optional()
232
235
  }).strict().optional()
233
236
  }).strict().superRefine((runtime, context) => {
237
+ const requirements = runtime.postgresRequirements ?? [];
238
+ if (new Set(requirements.map(({ id }) => id)).size !== requirements.length) context.addIssue({ code: z.ZodIssueCode.custom, path: ["postgresRequirements"], message: "PostgreSQL requirement identities must be unique within a component." });
234
239
  const endpointIds = runtime.services.flatMap((service) => service.endpoints.map((endpoint) => `${service.id}.${endpoint.id}`));
235
240
  if (new Set(endpointIds).size !== endpointIds.length) context.addIssue({ code: z.ZodIssueCode.custom, path: ["services"], message: "Endpoint identities must be unique within a component." });
236
241
  for (const file of runtime.configuration.files) if (!file.path.startsWith(`/etc/treeseed/components/${runtime.componentId}/`)) context.addIssue({ code: z.ZodIssueCode.custom, path: ["configuration", "files"], message: `Configuration file ${file.id} is outside component ${runtime.componentId} custody.` });
@@ -54,8 +54,8 @@ export declare function inboxOperations(): {
54
54
  availableActions: {
55
55
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
56
56
  reason: string | null;
57
- label: string;
58
57
  enabled: boolean;
58
+ label: string;
59
59
  confirmation: "never" | "input_required";
60
60
  requiresFeedback: boolean;
61
61
  }[];
@@ -132,8 +132,8 @@ export declare function inboxOperations(): {
132
132
  availableActions: {
133
133
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
134
134
  reason: string | null;
135
- label: string;
136
135
  enabled: boolean;
136
+ label: string;
137
137
  confirmation: "never" | "input_required";
138
138
  requiresFeedback: boolean;
139
139
  }[];
@@ -232,8 +232,8 @@ export declare function inboxOperations(): {
232
232
  availableActions: {
233
233
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
234
234
  reason: string | null;
235
- label: string;
236
235
  enabled: boolean;
236
+ label: string;
237
237
  confirmation: "never" | "input_required";
238
238
  requiresFeedback: boolean;
239
239
  }[];
@@ -673,8 +673,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
673
673
  availableActions: {
674
674
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
675
675
  reason: string | null;
676
- label: string;
677
676
  enabled: boolean;
677
+ label: string;
678
678
  confirmation: "never" | "input_required";
679
679
  requiresFeedback: boolean;
680
680
  }[];
@@ -751,8 +751,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
751
751
  availableActions: {
752
752
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
753
753
  reason: string | null;
754
- label: string;
755
754
  enabled: boolean;
755
+ label: string;
756
756
  confirmation: "never" | "input_required";
757
757
  requiresFeedback: boolean;
758
758
  }[];
@@ -851,8 +851,8 @@ export declare const CONTROL_PLANE_OPERATIONS: {
851
851
  availableActions: {
852
852
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
853
853
  reason: string | null;
854
- label: string;
855
854
  enabled: boolean;
855
+ label: string;
856
856
  confirmation: "never" | "input_required";
857
857
  requiresFeedback: boolean;
858
858
  }[];
@@ -28,15 +28,15 @@ export declare const inboxActionDescriptorSchema: z.ZodObject<{
28
28
  }, "strict", z.ZodTypeAny, {
29
29
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
30
30
  reason: string | null;
31
- label: string;
32
31
  enabled: boolean;
32
+ label: string;
33
33
  confirmation: "never" | "input_required";
34
34
  requiresFeedback: boolean;
35
35
  }, {
36
36
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
37
37
  reason: string | null;
38
- label: string;
39
38
  enabled: boolean;
39
+ label: string;
40
40
  confirmation: "never" | "input_required";
41
41
  requiresFeedback: boolean;
42
42
  }>;
@@ -135,15 +135,15 @@ export declare const inboxItemSchema: z.ZodObject<{
135
135
  }, "strict", z.ZodTypeAny, {
136
136
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
137
137
  reason: string | null;
138
- label: string;
139
138
  enabled: boolean;
139
+ label: string;
140
140
  confirmation: "never" | "input_required";
141
141
  requiresFeedback: boolean;
142
142
  }, {
143
143
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
144
144
  reason: string | null;
145
- label: string;
146
145
  enabled: boolean;
146
+ label: string;
147
147
  confirmation: "never" | "input_required";
148
148
  requiresFeedback: boolean;
149
149
  }>, "many">;
@@ -226,8 +226,8 @@ export declare const inboxItemSchema: z.ZodObject<{
226
226
  availableActions: {
227
227
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
228
228
  reason: string | null;
229
- label: string;
230
229
  enabled: boolean;
230
+ label: string;
231
231
  confirmation: "never" | "input_required";
232
232
  requiresFeedback: boolean;
233
233
  }[];
@@ -272,8 +272,8 @@ export declare const inboxItemSchema: z.ZodObject<{
272
272
  availableActions: {
273
273
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
274
274
  reason: string | null;
275
- label: string;
276
275
  enabled: boolean;
276
+ label: string;
277
277
  confirmation: "never" | "input_required";
278
278
  requiresFeedback: boolean;
279
279
  }[];
@@ -336,15 +336,15 @@ export declare const inboxItemSummarySchema: z.ZodObject<Pick<{
336
336
  }, "strict", z.ZodTypeAny, {
337
337
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
338
338
  reason: string | null;
339
- label: string;
340
339
  enabled: boolean;
340
+ label: string;
341
341
  confirmation: "never" | "input_required";
342
342
  requiresFeedback: boolean;
343
343
  }, {
344
344
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
345
345
  reason: string | null;
346
- label: string;
347
346
  enabled: boolean;
347
+ label: string;
348
348
  confirmation: "never" | "input_required";
349
349
  requiresFeedback: boolean;
350
350
  }>, "many">;
@@ -475,15 +475,15 @@ export declare const inboxItemPageSchema: z.ZodObject<{
475
475
  }, "strict", z.ZodTypeAny, {
476
476
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
477
477
  reason: string | null;
478
- label: string;
479
478
  enabled: boolean;
479
+ label: string;
480
480
  confirmation: "never" | "input_required";
481
481
  requiresFeedback: boolean;
482
482
  }, {
483
483
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
484
484
  reason: string | null;
485
- label: string;
486
485
  enabled: boolean;
486
+ label: string;
487
487
  confirmation: "never" | "input_required";
488
488
  requiresFeedback: boolean;
489
489
  }>, "many">;
@@ -828,15 +828,15 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
828
828
  }, "strict", z.ZodTypeAny, {
829
829
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
830
830
  reason: string | null;
831
- label: string;
832
831
  enabled: boolean;
832
+ label: string;
833
833
  confirmation: "never" | "input_required";
834
834
  requiresFeedback: boolean;
835
835
  }, {
836
836
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
837
837
  reason: string | null;
838
- label: string;
839
838
  enabled: boolean;
839
+ label: string;
840
840
  confirmation: "never" | "input_required";
841
841
  requiresFeedback: boolean;
842
842
  }>, "many">;
@@ -919,8 +919,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
919
919
  availableActions: {
920
920
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
921
921
  reason: string | null;
922
- label: string;
923
922
  enabled: boolean;
923
+ label: string;
924
924
  confirmation: "never" | "input_required";
925
925
  requiresFeedback: boolean;
926
926
  }[];
@@ -965,8 +965,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
965
965
  availableActions: {
966
966
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
967
967
  reason: string | null;
968
- label: string;
969
968
  enabled: boolean;
969
+ label: string;
970
970
  confirmation: "never" | "input_required";
971
971
  requiresFeedback: boolean;
972
972
  }[];
@@ -1017,8 +1017,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1017
1017
  availableActions: {
1018
1018
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
1019
1019
  reason: string | null;
1020
- label: string;
1021
1020
  enabled: boolean;
1021
+ label: string;
1022
1022
  confirmation: "never" | "input_required";
1023
1023
  requiresFeedback: boolean;
1024
1024
  }[];
@@ -1069,8 +1069,8 @@ export declare const inboxMutationReceiptSchema: z.ZodObject<{
1069
1069
  availableActions: {
1070
1070
  action: "approve" | "reject" | "publish_revision" | "comment" | "answer" | "reply" | "reopen";
1071
1071
  reason: string | null;
1072
- label: string;
1073
1072
  enabled: boolean;
1073
+ label: string;
1074
1074
  confirmation: "never" | "input_required";
1075
1075
  requiresFeedback: boolean;
1076
1076
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.13.0-rc.100",
3
+ "version": "0.13.0-rc.102",
4
4
  "description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {