@treeseed/sdk 0.13.0-rc.108 → 0.13.0-rc.109

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-09T13:13:26.195Z"}
1
+ {"completedAt":"2026-09-10T08:08:50.301Z"}
@@ -621,8 +621,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
621
621
  }>, "many">>;
622
622
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
623
623
  }, "strict", z.ZodTypeAny, {
624
- objective?: string | undefined;
625
624
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
625
+ objective?: string | undefined;
626
626
  proposalTypes?: string[] | undefined;
627
627
  artifactKind?: string | undefined;
628
628
  subjectModel?: string | undefined;
@@ -652,8 +652,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
652
652
  }[] | undefined;
653
653
  requiresArtifactKinds?: string[] | undefined;
654
654
  }, {
655
- objective?: string | undefined;
656
655
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
656
+ objective?: string | undefined;
657
657
  proposalTypes?: string[] | undefined;
658
658
  artifactKind?: string | undefined;
659
659
  subjectModel?: string | undefined;
@@ -946,8 +946,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
946
946
  publishes?: string[] | undefined;
947
947
  } | undefined;
948
948
  planningIntent?: {
949
- objective?: string | undefined;
950
949
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
950
+ objective?: string | undefined;
951
951
  proposalTypes?: string[] | undefined;
952
952
  artifactKind?: string | undefined;
953
953
  subjectModel?: string | undefined;
@@ -1118,8 +1118,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1118
1118
  publishes?: string[] | undefined;
1119
1119
  } | undefined;
1120
1120
  planningIntent?: {
1121
- objective?: string | undefined;
1122
1121
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
1122
+ objective?: string | undefined;
1123
1123
  proposalTypes?: string[] | undefined;
1124
1124
  artifactKind?: string | undefined;
1125
1125
  subjectModel?: string | undefined;
@@ -1290,8 +1290,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1290
1290
  publishes?: string[] | undefined;
1291
1291
  } | undefined;
1292
1292
  planningIntent?: {
1293
- objective?: string | undefined;
1294
1293
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
1294
+ objective?: string | undefined;
1295
1295
  proposalTypes?: string[] | undefined;
1296
1296
  artifactKind?: string | undefined;
1297
1297
  subjectModel?: string | undefined;
@@ -1462,8 +1462,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1462
1462
  publishes?: string[] | undefined;
1463
1463
  } | undefined;
1464
1464
  planningIntent?: {
1465
- objective?: string | undefined;
1466
1465
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
1466
+ objective?: string | undefined;
1467
1467
  proposalTypes?: string[] | undefined;
1468
1468
  artifactKind?: string | undefined;
1469
1469
  subjectModel?: string | undefined;
@@ -2130,8 +2130,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2130
2130
  }>, "many">>;
2131
2131
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
2132
2132
  }, "strict", z.ZodTypeAny, {
2133
- objective?: string | undefined;
2134
2133
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
2134
+ objective?: string | undefined;
2135
2135
  proposalTypes?: string[] | undefined;
2136
2136
  artifactKind?: string | undefined;
2137
2137
  subjectModel?: string | undefined;
@@ -2161,8 +2161,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2161
2161
  }[] | undefined;
2162
2162
  requiresArtifactKinds?: string[] | undefined;
2163
2163
  }, {
2164
- objective?: string | undefined;
2165
2164
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
2165
+ objective?: string | undefined;
2166
2166
  proposalTypes?: string[] | undefined;
2167
2167
  artifactKind?: string | undefined;
2168
2168
  subjectModel?: string | undefined;
@@ -2455,8 +2455,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2455
2455
  publishes?: string[] | undefined;
2456
2456
  } | undefined;
2457
2457
  planningIntent?: {
2458
- objective?: string | undefined;
2459
2458
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
2459
+ objective?: string | undefined;
2460
2460
  proposalTypes?: string[] | undefined;
2461
2461
  artifactKind?: string | undefined;
2462
2462
  subjectModel?: string | undefined;
@@ -2627,8 +2627,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2627
2627
  publishes?: string[] | undefined;
2628
2628
  } | undefined;
2629
2629
  planningIntent?: {
2630
- objective?: string | undefined;
2631
2630
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
2631
+ objective?: string | undefined;
2632
2632
  proposalTypes?: string[] | undefined;
2633
2633
  artifactKind?: string | undefined;
2634
2634
  subjectModel?: string | undefined;
@@ -2799,8 +2799,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2799
2799
  publishes?: string[] | undefined;
2800
2800
  } | undefined;
2801
2801
  planningIntent?: {
2802
- objective?: string | undefined;
2803
2802
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
2803
+ objective?: string | undefined;
2804
2804
  proposalTypes?: string[] | undefined;
2805
2805
  artifactKind?: string | undefined;
2806
2806
  subjectModel?: string | undefined;
@@ -2971,8 +2971,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2971
2971
  publishes?: string[] | undefined;
2972
2972
  } | undefined;
2973
2973
  planningIntent?: {
2974
- objective?: string | undefined;
2975
2974
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
2975
+ objective?: string | undefined;
2976
2976
  proposalTypes?: string[] | undefined;
2977
2977
  artifactKind?: string | undefined;
2978
2978
  subjectModel?: string | undefined;
@@ -3639,8 +3639,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3639
3639
  }>, "many">>;
3640
3640
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
3641
3641
  }, "strict", z.ZodTypeAny, {
3642
- objective?: string | undefined;
3643
3642
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
3643
+ objective?: string | undefined;
3644
3644
  proposalTypes?: string[] | undefined;
3645
3645
  artifactKind?: string | undefined;
3646
3646
  subjectModel?: string | undefined;
@@ -3670,8 +3670,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3670
3670
  }[] | undefined;
3671
3671
  requiresArtifactKinds?: string[] | undefined;
3672
3672
  }, {
3673
- objective?: string | undefined;
3674
3673
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
3674
+ objective?: string | undefined;
3675
3675
  proposalTypes?: string[] | undefined;
3676
3676
  artifactKind?: string | undefined;
3677
3677
  subjectModel?: string | undefined;
@@ -3964,8 +3964,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
3964
3964
  publishes?: string[] | undefined;
3965
3965
  } | undefined;
3966
3966
  planningIntent?: {
3967
- objective?: string | undefined;
3968
3967
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
3968
+ objective?: string | undefined;
3969
3969
  proposalTypes?: string[] | undefined;
3970
3970
  artifactKind?: string | undefined;
3971
3971
  subjectModel?: string | undefined;
@@ -4136,8 +4136,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4136
4136
  publishes?: string[] | undefined;
4137
4137
  } | undefined;
4138
4138
  planningIntent?: {
4139
- objective?: string | undefined;
4140
4139
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
4140
+ objective?: string | undefined;
4141
4141
  proposalTypes?: string[] | undefined;
4142
4142
  artifactKind?: string | undefined;
4143
4143
  subjectModel?: string | undefined;
@@ -4308,8 +4308,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4308
4308
  publishes?: string[] | undefined;
4309
4309
  } | undefined;
4310
4310
  planningIntent?: {
4311
- objective?: string | undefined;
4312
4311
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
4312
+ objective?: string | undefined;
4313
4313
  proposalTypes?: string[] | undefined;
4314
4314
  artifactKind?: string | undefined;
4315
4315
  subjectModel?: string | undefined;
@@ -4480,8 +4480,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
4480
4480
  publishes?: string[] | undefined;
4481
4481
  } | undefined;
4482
4482
  planningIntent?: {
4483
- objective?: string | undefined;
4484
4483
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
4484
+ objective?: string | undefined;
4485
4485
  proposalTypes?: string[] | undefined;
4486
4486
  artifactKind?: string | undefined;
4487
4487
  subjectModel?: string | undefined;
@@ -5148,8 +5148,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5148
5148
  }>, "many">>;
5149
5149
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
5150
5150
  }, "strict", z.ZodTypeAny, {
5151
- objective?: string | undefined;
5152
5151
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5152
+ objective?: string | undefined;
5153
5153
  proposalTypes?: string[] | undefined;
5154
5154
  artifactKind?: string | undefined;
5155
5155
  subjectModel?: string | undefined;
@@ -5179,8 +5179,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5179
5179
  }[] | undefined;
5180
5180
  requiresArtifactKinds?: string[] | undefined;
5181
5181
  }, {
5182
- objective?: string | undefined;
5183
5182
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5183
+ objective?: string | undefined;
5184
5184
  proposalTypes?: string[] | undefined;
5185
5185
  artifactKind?: string | undefined;
5186
5186
  subjectModel?: string | undefined;
@@ -5473,8 +5473,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5473
5473
  publishes?: string[] | undefined;
5474
5474
  } | undefined;
5475
5475
  planningIntent?: {
5476
- objective?: string | undefined;
5477
5476
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5477
+ objective?: string | undefined;
5478
5478
  proposalTypes?: string[] | undefined;
5479
5479
  artifactKind?: string | undefined;
5480
5480
  subjectModel?: string | undefined;
@@ -5645,8 +5645,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5645
5645
  publishes?: string[] | undefined;
5646
5646
  } | undefined;
5647
5647
  planningIntent?: {
5648
- objective?: string | undefined;
5649
5648
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5649
+ objective?: string | undefined;
5650
5650
  proposalTypes?: string[] | undefined;
5651
5651
  artifactKind?: string | undefined;
5652
5652
  subjectModel?: string | undefined;
@@ -5817,8 +5817,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5817
5817
  publishes?: string[] | undefined;
5818
5818
  } | undefined;
5819
5819
  planningIntent?: {
5820
- objective?: string | undefined;
5821
5820
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5821
+ objective?: string | undefined;
5822
5822
  proposalTypes?: string[] | undefined;
5823
5823
  artifactKind?: string | undefined;
5824
5824
  subjectModel?: string | undefined;
@@ -5989,8 +5989,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
5989
5989
  publishes?: string[] | undefined;
5990
5990
  } | undefined;
5991
5991
  planningIntent?: {
5992
- objective?: string | undefined;
5993
5992
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5993
+ objective?: string | undefined;
5994
5994
  proposalTypes?: string[] | undefined;
5995
5995
  artifactKind?: string | undefined;
5996
5996
  subjectModel?: string | undefined;
@@ -6657,8 +6657,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6657
6657
  }>, "many">>;
6658
6658
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
6659
6659
  }, "strict", z.ZodTypeAny, {
6660
- objective?: string | undefined;
6661
6660
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
6661
+ objective?: string | undefined;
6662
6662
  proposalTypes?: string[] | undefined;
6663
6663
  artifactKind?: string | undefined;
6664
6664
  subjectModel?: string | undefined;
@@ -6688,8 +6688,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6688
6688
  }[] | undefined;
6689
6689
  requiresArtifactKinds?: string[] | undefined;
6690
6690
  }, {
6691
- objective?: string | undefined;
6692
6691
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
6692
+ objective?: string | undefined;
6693
6693
  proposalTypes?: string[] | undefined;
6694
6694
  artifactKind?: string | undefined;
6695
6695
  subjectModel?: string | undefined;
@@ -6982,8 +6982,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
6982
6982
  publishes?: string[] | undefined;
6983
6983
  } | undefined;
6984
6984
  planningIntent?: {
6985
- objective?: string | undefined;
6986
6985
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
6986
+ objective?: string | undefined;
6987
6987
  proposalTypes?: string[] | undefined;
6988
6988
  artifactKind?: string | undefined;
6989
6989
  subjectModel?: string | undefined;
@@ -7154,8 +7154,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7154
7154
  publishes?: string[] | undefined;
7155
7155
  } | undefined;
7156
7156
  planningIntent?: {
7157
- objective?: string | undefined;
7158
7157
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
7158
+ objective?: string | undefined;
7159
7159
  proposalTypes?: string[] | undefined;
7160
7160
  artifactKind?: string | undefined;
7161
7161
  subjectModel?: string | undefined;
@@ -7326,8 +7326,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7326
7326
  publishes?: string[] | undefined;
7327
7327
  } | undefined;
7328
7328
  planningIntent?: {
7329
- objective?: string | undefined;
7330
7329
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
7330
+ objective?: string | undefined;
7331
7331
  proposalTypes?: string[] | undefined;
7332
7332
  artifactKind?: string | undefined;
7333
7333
  subjectModel?: string | undefined;
@@ -7498,8 +7498,8 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
7498
7498
  publishes?: string[] | undefined;
7499
7499
  } | undefined;
7500
7500
  planningIntent?: {
7501
- objective?: string | undefined;
7502
7501
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
7502
+ objective?: string | undefined;
7503
7503
  proposalTypes?: string[] | undefined;
7504
7504
  artifactKind?: string | undefined;
7505
7505
  subjectModel?: string | undefined;
@@ -8170,8 +8170,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8170
8170
  }>, "many">>;
8171
8171
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
8172
8172
  }, "strict", z.ZodTypeAny, {
8173
- objective?: string | undefined;
8174
8173
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
8174
+ objective?: string | undefined;
8175
8175
  proposalTypes?: string[] | undefined;
8176
8176
  artifactKind?: string | undefined;
8177
8177
  subjectModel?: string | undefined;
@@ -8201,8 +8201,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8201
8201
  }[] | undefined;
8202
8202
  requiresArtifactKinds?: string[] | undefined;
8203
8203
  }, {
8204
- objective?: string | undefined;
8205
8204
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
8205
+ objective?: string | undefined;
8206
8206
  proposalTypes?: string[] | undefined;
8207
8207
  artifactKind?: string | undefined;
8208
8208
  subjectModel?: string | undefined;
@@ -8495,8 +8495,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8495
8495
  publishes?: string[] | undefined;
8496
8496
  } | undefined;
8497
8497
  planningIntent?: {
8498
- objective?: string | undefined;
8499
8498
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
8499
+ objective?: string | undefined;
8500
8500
  proposalTypes?: string[] | undefined;
8501
8501
  artifactKind?: string | undefined;
8502
8502
  subjectModel?: string | undefined;
@@ -8667,8 +8667,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8667
8667
  publishes?: string[] | undefined;
8668
8668
  } | undefined;
8669
8669
  planningIntent?: {
8670
- objective?: string | undefined;
8671
8670
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
8671
+ objective?: string | undefined;
8672
8672
  proposalTypes?: string[] | undefined;
8673
8673
  artifactKind?: string | undefined;
8674
8674
  subjectModel?: string | undefined;
@@ -8839,8 +8839,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
8839
8839
  publishes?: string[] | undefined;
8840
8840
  } | undefined;
8841
8841
  planningIntent?: {
8842
- objective?: string | undefined;
8843
8842
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
8843
+ objective?: string | undefined;
8844
8844
  proposalTypes?: string[] | undefined;
8845
8845
  artifactKind?: string | undefined;
8846
8846
  subjectModel?: string | undefined;
@@ -9011,8 +9011,8 @@ export declare function validateAgentDefinitionModel(value: unknown): {
9011
9011
  publishes?: string[] | undefined;
9012
9012
  } | undefined;
9013
9013
  planningIntent?: {
9014
- objective?: string | undefined;
9015
9014
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
9015
+ objective?: string | undefined;
9016
9016
  proposalTypes?: string[] | undefined;
9017
9017
  artifactKind?: string | undefined;
9018
9018
  subjectModel?: string | undefined;
@@ -1704,8 +1704,8 @@ declare const schemas: {
1704
1704
  audience?: string[] | undefined;
1705
1705
  slug?: string | undefined;
1706
1706
  description?: string | undefined;
1707
- summary?: string | undefined;
1708
1707
  stage?: string | undefined;
1708
+ summary?: string | undefined;
1709
1709
  updated_at?: Date | undefined;
1710
1710
  page_layout?: "article" | "bridge" | undefined;
1711
1711
  }, {
@@ -1714,8 +1714,8 @@ declare const schemas: {
1714
1714
  audience?: string[] | undefined;
1715
1715
  slug?: string | undefined;
1716
1716
  description?: string | undefined;
1717
- summary?: string | undefined;
1718
1717
  stage?: string | undefined;
1718
+ summary?: string | undefined;
1719
1719
  updated_at?: Date | undefined;
1720
1720
  page_layout?: "article" | "bridge" | undefined;
1721
1721
  }>;
@@ -2840,8 +2840,8 @@ declare const schemas: {
2840
2840
  }>, "many">>;
2841
2841
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
2842
2842
  }, "strict", z.ZodTypeAny, {
2843
- objective?: string | undefined;
2844
2843
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
2844
+ objective?: string | undefined;
2845
2845
  proposalTypes?: string[] | undefined;
2846
2846
  artifactKind?: string | undefined;
2847
2847
  subjectModel?: string | undefined;
@@ -2871,8 +2871,8 @@ declare const schemas: {
2871
2871
  }[] | undefined;
2872
2872
  requiresArtifactKinds?: string[] | undefined;
2873
2873
  }, {
2874
- objective?: string | undefined;
2875
2874
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
2875
+ objective?: string | undefined;
2876
2876
  proposalTypes?: string[] | undefined;
2877
2877
  artifactKind?: string | undefined;
2878
2878
  subjectModel?: string | undefined;
@@ -3165,8 +3165,8 @@ declare const schemas: {
3165
3165
  publishes?: string[] | undefined;
3166
3166
  } | undefined;
3167
3167
  planningIntent?: {
3168
- objective?: string | undefined;
3169
3168
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
3169
+ objective?: string | undefined;
3170
3170
  proposalTypes?: string[] | undefined;
3171
3171
  artifactKind?: string | undefined;
3172
3172
  subjectModel?: string | undefined;
@@ -3337,8 +3337,8 @@ declare const schemas: {
3337
3337
  publishes?: string[] | undefined;
3338
3338
  } | undefined;
3339
3339
  planningIntent?: {
3340
- objective?: string | undefined;
3341
3340
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
3341
+ objective?: string | undefined;
3342
3342
  proposalTypes?: string[] | undefined;
3343
3343
  artifactKind?: string | undefined;
3344
3344
  subjectModel?: string | undefined;
@@ -3509,8 +3509,8 @@ declare const schemas: {
3509
3509
  publishes?: string[] | undefined;
3510
3510
  } | undefined;
3511
3511
  planningIntent?: {
3512
- objective?: string | undefined;
3513
3512
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
3513
+ objective?: string | undefined;
3514
3514
  proposalTypes?: string[] | undefined;
3515
3515
  artifactKind?: string | undefined;
3516
3516
  subjectModel?: string | undefined;
@@ -3681,8 +3681,8 @@ declare const schemas: {
3681
3681
  publishes?: string[] | undefined;
3682
3682
  } | undefined;
3683
3683
  planningIntent?: {
3684
- objective?: string | undefined;
3685
3684
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
3685
+ objective?: string | undefined;
3686
3686
  proposalTypes?: string[] | undefined;
3687
3687
  artifactKind?: string | undefined;
3688
3688
  subjectModel?: string | undefined;
@@ -4349,8 +4349,8 @@ declare const schemas: {
4349
4349
  }>, "many">>;
4350
4350
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
4351
4351
  }, "strict", z.ZodTypeAny, {
4352
- objective?: string | undefined;
4353
4352
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
4353
+ objective?: string | undefined;
4354
4354
  proposalTypes?: string[] | undefined;
4355
4355
  artifactKind?: string | undefined;
4356
4356
  subjectModel?: string | undefined;
@@ -4380,8 +4380,8 @@ declare const schemas: {
4380
4380
  }[] | undefined;
4381
4381
  requiresArtifactKinds?: string[] | undefined;
4382
4382
  }, {
4383
- objective?: string | undefined;
4384
4383
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
4384
+ objective?: string | undefined;
4385
4385
  proposalTypes?: string[] | undefined;
4386
4386
  artifactKind?: string | undefined;
4387
4387
  subjectModel?: string | undefined;
@@ -4674,8 +4674,8 @@ declare const schemas: {
4674
4674
  publishes?: string[] | undefined;
4675
4675
  } | undefined;
4676
4676
  planningIntent?: {
4677
- objective?: string | undefined;
4678
4677
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
4678
+ objective?: string | undefined;
4679
4679
  proposalTypes?: string[] | undefined;
4680
4680
  artifactKind?: string | undefined;
4681
4681
  subjectModel?: string | undefined;
@@ -4846,8 +4846,8 @@ declare const schemas: {
4846
4846
  publishes?: string[] | undefined;
4847
4847
  } | undefined;
4848
4848
  planningIntent?: {
4849
- objective?: string | undefined;
4850
4849
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
4850
+ objective?: string | undefined;
4851
4851
  proposalTypes?: string[] | undefined;
4852
4852
  artifactKind?: string | undefined;
4853
4853
  subjectModel?: string | undefined;
@@ -5018,8 +5018,8 @@ declare const schemas: {
5018
5018
  publishes?: string[] | undefined;
5019
5019
  } | undefined;
5020
5020
  planningIntent?: {
5021
- objective?: string | undefined;
5022
5021
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5022
+ objective?: string | undefined;
5023
5023
  proposalTypes?: string[] | undefined;
5024
5024
  artifactKind?: string | undefined;
5025
5025
  subjectModel?: string | undefined;
@@ -5190,8 +5190,8 @@ declare const schemas: {
5190
5190
  publishes?: string[] | undefined;
5191
5191
  } | undefined;
5192
5192
  planningIntent?: {
5193
- objective?: string | undefined;
5194
5193
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5194
+ objective?: string | undefined;
5195
5195
  proposalTypes?: string[] | undefined;
5196
5196
  artifactKind?: string | undefined;
5197
5197
  subjectModel?: string | undefined;
@@ -5858,8 +5858,8 @@ declare const schemas: {
5858
5858
  }>, "many">>;
5859
5859
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
5860
5860
  }, "strict", z.ZodTypeAny, {
5861
- objective?: string | undefined;
5862
5861
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5862
+ objective?: string | undefined;
5863
5863
  proposalTypes?: string[] | undefined;
5864
5864
  artifactKind?: string | undefined;
5865
5865
  subjectModel?: string | undefined;
@@ -5889,8 +5889,8 @@ declare const schemas: {
5889
5889
  }[] | undefined;
5890
5890
  requiresArtifactKinds?: string[] | undefined;
5891
5891
  }, {
5892
- objective?: string | undefined;
5893
5892
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
5893
+ objective?: string | undefined;
5894
5894
  proposalTypes?: string[] | undefined;
5895
5895
  artifactKind?: string | undefined;
5896
5896
  subjectModel?: string | undefined;
@@ -6183,8 +6183,8 @@ declare const schemas: {
6183
6183
  publishes?: string[] | undefined;
6184
6184
  } | undefined;
6185
6185
  planningIntent?: {
6186
- objective?: string | undefined;
6187
6186
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
6187
+ objective?: string | undefined;
6188
6188
  proposalTypes?: string[] | undefined;
6189
6189
  artifactKind?: string | undefined;
6190
6190
  subjectModel?: string | undefined;
@@ -6355,8 +6355,8 @@ declare const schemas: {
6355
6355
  publishes?: string[] | undefined;
6356
6356
  } | undefined;
6357
6357
  planningIntent?: {
6358
- objective?: string | undefined;
6359
6358
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
6359
+ objective?: string | undefined;
6360
6360
  proposalTypes?: string[] | undefined;
6361
6361
  artifactKind?: string | undefined;
6362
6362
  subjectModel?: string | undefined;
@@ -6527,8 +6527,8 @@ declare const schemas: {
6527
6527
  publishes?: string[] | undefined;
6528
6528
  } | undefined;
6529
6529
  planningIntent?: {
6530
- objective?: string | undefined;
6531
6530
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
6531
+ objective?: string | undefined;
6532
6532
  proposalTypes?: string[] | undefined;
6533
6533
  artifactKind?: string | undefined;
6534
6534
  subjectModel?: string | undefined;
@@ -6699,8 +6699,8 @@ declare const schemas: {
6699
6699
  publishes?: string[] | undefined;
6700
6700
  } | undefined;
6701
6701
  planningIntent?: {
6702
- objective?: string | undefined;
6703
6702
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
6703
+ objective?: string | undefined;
6704
6704
  proposalTypes?: string[] | undefined;
6705
6705
  artifactKind?: string | undefined;
6706
6706
  subjectModel?: string | undefined;
@@ -7367,8 +7367,8 @@ declare const schemas: {
7367
7367
  }>, "many">>;
7368
7368
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
7369
7369
  }, "strict", z.ZodTypeAny, {
7370
- objective?: string | undefined;
7371
7370
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
7371
+ objective?: string | undefined;
7372
7372
  proposalTypes?: string[] | undefined;
7373
7373
  artifactKind?: string | undefined;
7374
7374
  subjectModel?: string | undefined;
@@ -7398,8 +7398,8 @@ declare const schemas: {
7398
7398
  }[] | undefined;
7399
7399
  requiresArtifactKinds?: string[] | undefined;
7400
7400
  }, {
7401
- objective?: string | undefined;
7402
7401
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
7402
+ objective?: string | undefined;
7403
7403
  proposalTypes?: string[] | undefined;
7404
7404
  artifactKind?: string | undefined;
7405
7405
  subjectModel?: string | undefined;
@@ -7692,8 +7692,8 @@ declare const schemas: {
7692
7692
  publishes?: string[] | undefined;
7693
7693
  } | undefined;
7694
7694
  planningIntent?: {
7695
- objective?: string | undefined;
7696
7695
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
7696
+ objective?: string | undefined;
7697
7697
  proposalTypes?: string[] | undefined;
7698
7698
  artifactKind?: string | undefined;
7699
7699
  subjectModel?: string | undefined;
@@ -7864,8 +7864,8 @@ declare const schemas: {
7864
7864
  publishes?: string[] | undefined;
7865
7865
  } | undefined;
7866
7866
  planningIntent?: {
7867
- objective?: string | undefined;
7868
7867
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
7868
+ objective?: string | undefined;
7869
7869
  proposalTypes?: string[] | undefined;
7870
7870
  artifactKind?: string | undefined;
7871
7871
  subjectModel?: string | undefined;
@@ -8036,8 +8036,8 @@ declare const schemas: {
8036
8036
  publishes?: string[] | undefined;
8037
8037
  } | undefined;
8038
8038
  planningIntent?: {
8039
- objective?: string | undefined;
8040
8039
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
8040
+ objective?: string | undefined;
8041
8041
  proposalTypes?: string[] | undefined;
8042
8042
  artifactKind?: string | undefined;
8043
8043
  subjectModel?: string | undefined;
@@ -8208,8 +8208,8 @@ declare const schemas: {
8208
8208
  publishes?: string[] | undefined;
8209
8209
  } | undefined;
8210
8210
  planningIntent?: {
8211
- objective?: string | undefined;
8212
8211
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
8212
+ objective?: string | undefined;
8213
8213
  proposalTypes?: string[] | undefined;
8214
8214
  artifactKind?: string | undefined;
8215
8215
  subjectModel?: string | undefined;
@@ -8876,8 +8876,8 @@ declare const schemas: {
8876
8876
  }>, "many">>;
8877
8877
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
8878
8878
  }, "strict", z.ZodTypeAny, {
8879
- objective?: string | undefined;
8880
8879
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
8880
+ objective?: string | undefined;
8881
8881
  proposalTypes?: string[] | undefined;
8882
8882
  artifactKind?: string | undefined;
8883
8883
  subjectModel?: string | undefined;
@@ -8907,8 +8907,8 @@ declare const schemas: {
8907
8907
  }[] | undefined;
8908
8908
  requiresArtifactKinds?: string[] | undefined;
8909
8909
  }, {
8910
- objective?: string | undefined;
8911
8910
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
8911
+ objective?: string | undefined;
8912
8912
  proposalTypes?: string[] | undefined;
8913
8913
  artifactKind?: string | undefined;
8914
8914
  subjectModel?: string | undefined;
@@ -9201,8 +9201,8 @@ declare const schemas: {
9201
9201
  publishes?: string[] | undefined;
9202
9202
  } | undefined;
9203
9203
  planningIntent?: {
9204
- objective?: string | undefined;
9205
9204
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
9205
+ objective?: string | undefined;
9206
9206
  proposalTypes?: string[] | undefined;
9207
9207
  artifactKind?: string | undefined;
9208
9208
  subjectModel?: string | undefined;
@@ -9373,8 +9373,8 @@ declare const schemas: {
9373
9373
  publishes?: string[] | undefined;
9374
9374
  } | undefined;
9375
9375
  planningIntent?: {
9376
- objective?: string | undefined;
9377
9376
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
9377
+ objective?: string | undefined;
9378
9378
  proposalTypes?: string[] | undefined;
9379
9379
  artifactKind?: string | undefined;
9380
9380
  subjectModel?: string | undefined;
@@ -9545,8 +9545,8 @@ declare const schemas: {
9545
9545
  publishes?: string[] | undefined;
9546
9546
  } | undefined;
9547
9547
  planningIntent?: {
9548
- objective?: string | undefined;
9549
9548
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
9549
+ objective?: string | undefined;
9550
9550
  proposalTypes?: string[] | undefined;
9551
9551
  artifactKind?: string | undefined;
9552
9552
  subjectModel?: string | undefined;
@@ -9717,8 +9717,8 @@ declare const schemas: {
9717
9717
  publishes?: string[] | undefined;
9718
9718
  } | undefined;
9719
9719
  planningIntent?: {
9720
- objective?: string | undefined;
9721
9720
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
9721
+ objective?: string | undefined;
9722
9722
  proposalTypes?: string[] | undefined;
9723
9723
  artifactKind?: string | undefined;
9724
9724
  subjectModel?: string | undefined;
@@ -10555,8 +10555,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10555
10555
  }>, "many">>;
10556
10556
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
10557
10557
  }, "strict", z.ZodTypeAny, {
10558
- objective?: string | undefined;
10559
10558
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
10559
+ objective?: string | undefined;
10560
10560
  proposalTypes?: string[] | undefined;
10561
10561
  artifactKind?: string | undefined;
10562
10562
  subjectModel?: string | undefined;
@@ -10586,8 +10586,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10586
10586
  }[] | undefined;
10587
10587
  requiresArtifactKinds?: string[] | undefined;
10588
10588
  }, {
10589
- objective?: string | undefined;
10590
10589
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
10590
+ objective?: string | undefined;
10591
10591
  proposalTypes?: string[] | undefined;
10592
10592
  artifactKind?: string | undefined;
10593
10593
  subjectModel?: string | undefined;
@@ -10880,8 +10880,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
10880
10880
  publishes?: string[] | undefined;
10881
10881
  } | undefined;
10882
10882
  planningIntent?: {
10883
- objective?: string | undefined;
10884
10883
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
10884
+ objective?: string | undefined;
10885
10885
  proposalTypes?: string[] | undefined;
10886
10886
  artifactKind?: string | undefined;
10887
10887
  subjectModel?: string | undefined;
@@ -11052,8 +11052,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11052
11052
  publishes?: string[] | undefined;
11053
11053
  } | undefined;
11054
11054
  planningIntent?: {
11055
- objective?: string | undefined;
11056
11055
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
11056
+ objective?: string | undefined;
11057
11057
  proposalTypes?: string[] | undefined;
11058
11058
  artifactKind?: string | undefined;
11059
11059
  subjectModel?: string | undefined;
@@ -11224,8 +11224,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11224
11224
  publishes?: string[] | undefined;
11225
11225
  } | undefined;
11226
11226
  planningIntent?: {
11227
- objective?: string | undefined;
11228
11227
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
11228
+ objective?: string | undefined;
11229
11229
  proposalTypes?: string[] | undefined;
11230
11230
  artifactKind?: string | undefined;
11231
11231
  subjectModel?: string | undefined;
@@ -11396,8 +11396,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11396
11396
  publishes?: string[] | undefined;
11397
11397
  } | undefined;
11398
11398
  planningIntent?: {
11399
- objective?: string | undefined;
11400
11399
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
11400
+ objective?: string | undefined;
11401
11401
  proposalTypes?: string[] | undefined;
11402
11402
  artifactKind?: string | undefined;
11403
11403
  subjectModel?: string | undefined;
@@ -11800,8 +11800,8 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
11800
11800
  audience?: string[] | undefined;
11801
11801
  slug?: string | undefined;
11802
11802
  description?: string | undefined;
11803
- summary?: string | undefined;
11804
11803
  stage?: string | undefined;
11804
+ summary?: string | undefined;
11805
11805
  updated_at?: Date | undefined;
11806
11806
  page_layout?: "article" | "bridge" | undefined;
11807
11807
  } | {
@@ -12634,8 +12634,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12634
12634
  }>, "many">>;
12635
12635
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
12636
12636
  }, "strict", z.ZodTypeAny, {
12637
- objective?: string | undefined;
12638
12637
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
12638
+ objective?: string | undefined;
12639
12639
  proposalTypes?: string[] | undefined;
12640
12640
  artifactKind?: string | undefined;
12641
12641
  subjectModel?: string | undefined;
@@ -12665,8 +12665,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12665
12665
  }[] | undefined;
12666
12666
  requiresArtifactKinds?: string[] | undefined;
12667
12667
  }, {
12668
- objective?: string | undefined;
12669
12668
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
12669
+ objective?: string | undefined;
12670
12670
  proposalTypes?: string[] | undefined;
12671
12671
  artifactKind?: string | undefined;
12672
12672
  subjectModel?: string | undefined;
@@ -12959,8 +12959,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
12959
12959
  publishes?: string[] | undefined;
12960
12960
  } | undefined;
12961
12961
  planningIntent?: {
12962
- objective?: string | undefined;
12963
12962
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
12963
+ objective?: string | undefined;
12964
12964
  proposalTypes?: string[] | undefined;
12965
12965
  artifactKind?: string | undefined;
12966
12966
  subjectModel?: string | undefined;
@@ -13131,8 +13131,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13131
13131
  publishes?: string[] | undefined;
13132
13132
  } | undefined;
13133
13133
  planningIntent?: {
13134
- objective?: string | undefined;
13135
13134
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
13135
+ objective?: string | undefined;
13136
13136
  proposalTypes?: string[] | undefined;
13137
13137
  artifactKind?: string | undefined;
13138
13138
  subjectModel?: string | undefined;
@@ -13303,8 +13303,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13303
13303
  publishes?: string[] | undefined;
13304
13304
  } | undefined;
13305
13305
  planningIntent?: {
13306
- objective?: string | undefined;
13307
13306
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
13307
+ objective?: string | undefined;
13308
13308
  proposalTypes?: string[] | undefined;
13309
13309
  artifactKind?: string | undefined;
13310
13310
  subjectModel?: string | undefined;
@@ -13475,8 +13475,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
13475
13475
  publishes?: string[] | undefined;
13476
13476
  } | undefined;
13477
13477
  planningIntent?: {
13478
- objective?: string | undefined;
13479
13478
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
13479
+ objective?: string | undefined;
13480
13480
  proposalTypes?: string[] | undefined;
13481
13481
  artifactKind?: string | undefined;
13482
13482
  subjectModel?: string | undefined;
@@ -14143,8 +14143,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14143
14143
  }>, "many">>;
14144
14144
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
14145
14145
  }, "strict", z.ZodTypeAny, {
14146
- objective?: string | undefined;
14147
14146
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
14147
+ objective?: string | undefined;
14148
14148
  proposalTypes?: string[] | undefined;
14149
14149
  artifactKind?: string | undefined;
14150
14150
  subjectModel?: string | undefined;
@@ -14174,8 +14174,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14174
14174
  }[] | undefined;
14175
14175
  requiresArtifactKinds?: string[] | undefined;
14176
14176
  }, {
14177
- objective?: string | undefined;
14178
14177
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
14178
+ objective?: string | undefined;
14179
14179
  proposalTypes?: string[] | undefined;
14180
14180
  artifactKind?: string | undefined;
14181
14181
  subjectModel?: string | undefined;
@@ -14468,8 +14468,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14468
14468
  publishes?: string[] | undefined;
14469
14469
  } | undefined;
14470
14470
  planningIntent?: {
14471
- objective?: string | undefined;
14472
14471
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
14472
+ objective?: string | undefined;
14473
14473
  proposalTypes?: string[] | undefined;
14474
14474
  artifactKind?: string | undefined;
14475
14475
  subjectModel?: string | undefined;
@@ -14640,8 +14640,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14640
14640
  publishes?: string[] | undefined;
14641
14641
  } | undefined;
14642
14642
  planningIntent?: {
14643
- objective?: string | undefined;
14644
14643
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
14644
+ objective?: string | undefined;
14645
14645
  proposalTypes?: string[] | undefined;
14646
14646
  artifactKind?: string | undefined;
14647
14647
  subjectModel?: string | undefined;
@@ -14812,8 +14812,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14812
14812
  publishes?: string[] | undefined;
14813
14813
  } | undefined;
14814
14814
  planningIntent?: {
14815
- objective?: string | undefined;
14816
14815
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
14816
+ objective?: string | undefined;
14817
14817
  proposalTypes?: string[] | undefined;
14818
14818
  artifactKind?: string | undefined;
14819
14819
  subjectModel?: string | undefined;
@@ -14984,8 +14984,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
14984
14984
  publishes?: string[] | undefined;
14985
14985
  } | undefined;
14986
14986
  planningIntent?: {
14987
- objective?: string | undefined;
14988
14987
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
14988
+ objective?: string | undefined;
14989
14989
  proposalTypes?: string[] | undefined;
14990
14990
  artifactKind?: string | undefined;
14991
14991
  subjectModel?: string | undefined;
@@ -15652,8 +15652,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15652
15652
  }>, "many">>;
15653
15653
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
15654
15654
  }, "strict", z.ZodTypeAny, {
15655
- objective?: string | undefined;
15656
15655
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
15656
+ objective?: string | undefined;
15657
15657
  proposalTypes?: string[] | undefined;
15658
15658
  artifactKind?: string | undefined;
15659
15659
  subjectModel?: string | undefined;
@@ -15683,8 +15683,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15683
15683
  }[] | undefined;
15684
15684
  requiresArtifactKinds?: string[] | undefined;
15685
15685
  }, {
15686
- objective?: string | undefined;
15687
15686
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
15687
+ objective?: string | undefined;
15688
15688
  proposalTypes?: string[] | undefined;
15689
15689
  artifactKind?: string | undefined;
15690
15690
  subjectModel?: string | undefined;
@@ -15977,8 +15977,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
15977
15977
  publishes?: string[] | undefined;
15978
15978
  } | undefined;
15979
15979
  planningIntent?: {
15980
- objective?: string | undefined;
15981
15980
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
15981
+ objective?: string | undefined;
15982
15982
  proposalTypes?: string[] | undefined;
15983
15983
  artifactKind?: string | undefined;
15984
15984
  subjectModel?: string | undefined;
@@ -16149,8 +16149,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16149
16149
  publishes?: string[] | undefined;
16150
16150
  } | undefined;
16151
16151
  planningIntent?: {
16152
- objective?: string | undefined;
16153
16152
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
16153
+ objective?: string | undefined;
16154
16154
  proposalTypes?: string[] | undefined;
16155
16155
  artifactKind?: string | undefined;
16156
16156
  subjectModel?: string | undefined;
@@ -16321,8 +16321,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16321
16321
  publishes?: string[] | undefined;
16322
16322
  } | undefined;
16323
16323
  planningIntent?: {
16324
- objective?: string | undefined;
16325
16324
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
16325
+ objective?: string | undefined;
16326
16326
  proposalTypes?: string[] | undefined;
16327
16327
  artifactKind?: string | undefined;
16328
16328
  subjectModel?: string | undefined;
@@ -16493,8 +16493,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
16493
16493
  publishes?: string[] | undefined;
16494
16494
  } | undefined;
16495
16495
  planningIntent?: {
16496
- objective?: string | undefined;
16497
16496
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
16497
+ objective?: string | undefined;
16498
16498
  proposalTypes?: string[] | undefined;
16499
16499
  artifactKind?: string | undefined;
16500
16500
  subjectModel?: string | undefined;
@@ -17161,8 +17161,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17161
17161
  }>, "many">>;
17162
17162
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
17163
17163
  }, "strict", z.ZodTypeAny, {
17164
- objective?: string | undefined;
17165
17164
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
17165
+ objective?: string | undefined;
17166
17166
  proposalTypes?: string[] | undefined;
17167
17167
  artifactKind?: string | undefined;
17168
17168
  subjectModel?: string | undefined;
@@ -17192,8 +17192,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17192
17192
  }[] | undefined;
17193
17193
  requiresArtifactKinds?: string[] | undefined;
17194
17194
  }, {
17195
- objective?: string | undefined;
17196
17195
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
17196
+ objective?: string | undefined;
17197
17197
  proposalTypes?: string[] | undefined;
17198
17198
  artifactKind?: string | undefined;
17199
17199
  subjectModel?: string | undefined;
@@ -17486,8 +17486,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17486
17486
  publishes?: string[] | undefined;
17487
17487
  } | undefined;
17488
17488
  planningIntent?: {
17489
- objective?: string | undefined;
17490
17489
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
17490
+ objective?: string | undefined;
17491
17491
  proposalTypes?: string[] | undefined;
17492
17492
  artifactKind?: string | undefined;
17493
17493
  subjectModel?: string | undefined;
@@ -17658,8 +17658,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17658
17658
  publishes?: string[] | undefined;
17659
17659
  } | undefined;
17660
17660
  planningIntent?: {
17661
- objective?: string | undefined;
17662
17661
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
17662
+ objective?: string | undefined;
17663
17663
  proposalTypes?: string[] | undefined;
17664
17664
  artifactKind?: string | undefined;
17665
17665
  subjectModel?: string | undefined;
@@ -17830,8 +17830,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
17830
17830
  publishes?: string[] | undefined;
17831
17831
  } | undefined;
17832
17832
  planningIntent?: {
17833
- objective?: string | undefined;
17834
17833
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
17834
+ objective?: string | undefined;
17835
17835
  proposalTypes?: string[] | undefined;
17836
17836
  artifactKind?: string | undefined;
17837
17837
  subjectModel?: string | undefined;
@@ -18002,8 +18002,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18002
18002
  publishes?: string[] | undefined;
18003
18003
  } | undefined;
18004
18004
  planningIntent?: {
18005
- objective?: string | undefined;
18006
18005
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
18006
+ objective?: string | undefined;
18007
18007
  proposalTypes?: string[] | undefined;
18008
18008
  artifactKind?: string | undefined;
18009
18009
  subjectModel?: string | undefined;
@@ -18670,8 +18670,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18670
18670
  }>, "many">>;
18671
18671
  requiresArtifactKinds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
18672
18672
  }, "strict", z.ZodTypeAny, {
18673
- objective?: string | undefined;
18674
18673
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
18674
+ objective?: string | undefined;
18675
18675
  proposalTypes?: string[] | undefined;
18676
18676
  artifactKind?: string | undefined;
18677
18677
  subjectModel?: string | undefined;
@@ -18701,8 +18701,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18701
18701
  }[] | undefined;
18702
18702
  requiresArtifactKinds?: string[] | undefined;
18703
18703
  }, {
18704
- objective?: string | undefined;
18705
18704
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
18705
+ objective?: string | undefined;
18706
18706
  proposalTypes?: string[] | undefined;
18707
18707
  artifactKind?: string | undefined;
18708
18708
  subjectModel?: string | undefined;
@@ -18995,8 +18995,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
18995
18995
  publishes?: string[] | undefined;
18996
18996
  } | undefined;
18997
18997
  planningIntent?: {
18998
- objective?: string | undefined;
18999
18998
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
18999
+ objective?: string | undefined;
19000
19000
  proposalTypes?: string[] | undefined;
19001
19001
  artifactKind?: string | undefined;
19002
19002
  subjectModel?: string | undefined;
@@ -19167,8 +19167,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19167
19167
  publishes?: string[] | undefined;
19168
19168
  } | undefined;
19169
19169
  planningIntent?: {
19170
- objective?: string | undefined;
19171
19170
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
19171
+ objective?: string | undefined;
19172
19172
  proposalTypes?: string[] | undefined;
19173
19173
  artifactKind?: string | undefined;
19174
19174
  subjectModel?: string | undefined;
@@ -19339,8 +19339,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19339
19339
  publishes?: string[] | undefined;
19340
19340
  } | undefined;
19341
19341
  planningIntent?: {
19342
- objective?: string | undefined;
19343
19342
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
19343
+ objective?: string | undefined;
19344
19344
  proposalTypes?: string[] | undefined;
19345
19345
  artifactKind?: string | undefined;
19346
19346
  subjectModel?: string | undefined;
@@ -19511,8 +19511,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
19511
19511
  publishes?: string[] | undefined;
19512
19512
  } | undefined;
19513
19513
  planningIntent?: {
19514
- objective?: string | undefined;
19515
19514
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
19515
+ objective?: string | undefined;
19516
19516
  proposalTypes?: string[] | undefined;
19517
19517
  artifactKind?: string | undefined;
19518
19518
  subjectModel?: string | undefined;
@@ -21249,8 +21249,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21249
21249
  audience?: string[] | undefined;
21250
21250
  slug?: string | undefined;
21251
21251
  description?: string | undefined;
21252
- summary?: string | undefined;
21253
21252
  stage?: string | undefined;
21253
+ summary?: string | undefined;
21254
21254
  updated_at?: Date | undefined;
21255
21255
  page_layout?: "article" | "bridge" | undefined;
21256
21256
  }, {
@@ -21259,8 +21259,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
21259
21259
  audience?: string[] | undefined;
21260
21260
  slug?: string | undefined;
21261
21261
  description?: string | undefined;
21262
- summary?: string | undefined;
21263
21262
  stage?: string | undefined;
21263
+ summary?: string | undefined;
21264
21264
  updated_at?: Date | undefined;
21265
21265
  page_layout?: "article" | "bridge" | undefined;
21266
21266
  }> | z.ZodObject<{
@@ -641,8 +641,8 @@ export declare function validatePortableContentData(model: string, value: unknow
641
641
  }>, "many">>;
642
642
  requiresArtifactKinds: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").ZodString, "many">, string[], string[]>>;
643
643
  }, "strict", import("zod").ZodTypeAny, {
644
- objective?: string | undefined;
645
644
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
645
+ objective?: string | undefined;
646
646
  proposalTypes?: string[] | undefined;
647
647
  artifactKind?: string | undefined;
648
648
  subjectModel?: string | undefined;
@@ -672,8 +672,8 @@ export declare function validatePortableContentData(model: string, value: unknow
672
672
  }[] | undefined;
673
673
  requiresArtifactKinds?: string[] | undefined;
674
674
  }, {
675
- objective?: string | undefined;
676
675
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
676
+ objective?: string | undefined;
677
677
  proposalTypes?: string[] | undefined;
678
678
  artifactKind?: string | undefined;
679
679
  subjectModel?: string | undefined;
@@ -966,8 +966,8 @@ export declare function validatePortableContentData(model: string, value: unknow
966
966
  publishes?: string[] | undefined;
967
967
  } | undefined;
968
968
  planningIntent?: {
969
- objective?: string | undefined;
970
969
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
970
+ objective?: string | undefined;
971
971
  proposalTypes?: string[] | undefined;
972
972
  artifactKind?: string | undefined;
973
973
  subjectModel?: string | undefined;
@@ -1138,8 +1138,8 @@ export declare function validatePortableContentData(model: string, value: unknow
1138
1138
  publishes?: string[] | undefined;
1139
1139
  } | undefined;
1140
1140
  planningIntent?: {
1141
- objective?: string | undefined;
1142
1141
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
1142
+ objective?: string | undefined;
1143
1143
  proposalTypes?: string[] | undefined;
1144
1144
  artifactKind?: string | undefined;
1145
1145
  subjectModel?: string | undefined;
@@ -1310,8 +1310,8 @@ export declare function validatePortableContentData(model: string, value: unknow
1310
1310
  publishes?: string[] | undefined;
1311
1311
  } | undefined;
1312
1312
  planningIntent?: {
1313
- objective?: string | undefined;
1314
1313
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
1314
+ objective?: string | undefined;
1315
1315
  proposalTypes?: string[] | undefined;
1316
1316
  artifactKind?: string | undefined;
1317
1317
  subjectModel?: string | undefined;
@@ -1482,8 +1482,8 @@ export declare function validatePortableContentData(model: string, value: unknow
1482
1482
  publishes?: string[] | undefined;
1483
1483
  } | undefined;
1484
1484
  planningIntent?: {
1485
- objective?: string | undefined;
1486
1485
  stage?: "revision" | "closeout" | "discovery" | "synthesis" | "deliberation" | "evaluation" | undefined;
1486
+ objective?: string | undefined;
1487
1487
  proposalTypes?: string[] | undefined;
1488
1488
  artifactKind?: string | undefined;
1489
1489
  subjectModel?: string | undefined;
@@ -1886,8 +1886,8 @@ export declare function validatePortableContentData(model: string, value: unknow
1886
1886
  audience?: string[] | undefined;
1887
1887
  slug?: string | undefined;
1888
1888
  description?: string | undefined;
1889
- summary?: string | undefined;
1890
1889
  stage?: string | undefined;
1890
+ summary?: string | undefined;
1891
1891
  updated_at?: Date | undefined;
1892
1892
  page_layout?: "article" | "bridge" | undefined;
1893
1893
  } | {
@@ -1,6 +1,7 @@
1
1
  export * from './schemas.js';
2
2
  export * from './postgres/contracts.js';
3
3
  export * from './postgres/requirements.js';
4
+ export * from './postgres/transfer.js';
4
5
  export * from './canonical.js';
5
6
  export * from './catalog.js';
6
7
  export * from './topology.js';
@@ -1,6 +1,7 @@
1
1
  export * from "./schemas.js";
2
2
  export * from "./postgres/contracts.js";
3
3
  export * from "./postgres/requirements.js";
4
+ export * from "./postgres/transfer.js";
4
5
  export * from "./canonical.js";
5
6
  export * from "./catalog.js";
6
7
  export * from "./topology.js";
@@ -0,0 +1,97 @@
1
+ import { z } from 'zod';
2
+ /** Exact future activation selection, not permission to execute caller SQL or
3
+ * restart a source database. Deployment reattests retained source custody and
4
+ * performs transfer only inside coordinated backup/reconciliation. */
5
+ export declare const postgresTransitionSelectionSchema: z.ZodEffects<z.ZodObject<{
6
+ componentId: z.ZodString;
7
+ sourceRuntimeDigest: z.ZodString;
8
+ targetRuntimeDigest: z.ZodString;
9
+ topologyDigest: z.ZodString;
10
+ configurationDigest: z.ZodString;
11
+ allowLocaleConversion: z.ZodBoolean;
12
+ }, "strict", z.ZodTypeAny, {
13
+ configurationDigest: string;
14
+ componentId: string;
15
+ sourceRuntimeDigest: string;
16
+ targetRuntimeDigest: string;
17
+ topologyDigest: string;
18
+ allowLocaleConversion: boolean;
19
+ }, {
20
+ configurationDigest: string;
21
+ componentId: string;
22
+ sourceRuntimeDigest: string;
23
+ targetRuntimeDigest: string;
24
+ topologyDigest: string;
25
+ allowLocaleConversion: boolean;
26
+ }>, {
27
+ configurationDigest: string;
28
+ componentId: string;
29
+ sourceRuntimeDigest: string;
30
+ targetRuntimeDigest: string;
31
+ topologyDigest: string;
32
+ allowLocaleConversion: boolean;
33
+ }, {
34
+ configurationDigest: string;
35
+ componentId: string;
36
+ sourceRuntimeDigest: string;
37
+ targetRuntimeDigest: string;
38
+ topologyDigest: string;
39
+ allowLocaleConversion: boolean;
40
+ }>;
41
+ export type PostgresTransitionSelection = z.infer<typeof postgresTransitionSelectionSchema>;
42
+ export declare const postgresTransferPreparationResultSchema: z.ZodObject<{
43
+ action: z.ZodEnum<["planned", "prepared", "noop"]>;
44
+ selectionDigest: z.ZodString;
45
+ }, "strict", z.ZodTypeAny, {
46
+ action: "noop" | "planned" | "prepared";
47
+ selectionDigest: string;
48
+ }, {
49
+ action: "noop" | "planned" | "prepared";
50
+ selectionDigest: string;
51
+ }>;
52
+ /** Redacted durable status: no database contents, connection settings, paths,
53
+ * credentials or process output. A held transfer requires coordinated restore. */
54
+ export declare const postgresTransferRecordSchema: z.ZodObject<{
55
+ schemaVersion: z.ZodLiteral<"treeseed.postgres-transfer-journal/v1">;
56
+ intentDigest: z.ZodString;
57
+ restoreGeneration: z.ZodNumber;
58
+ restoreDigest: z.ZodString;
59
+ stage: z.ZodEnum<["fencing", "export", "restore", "verify", "switch", "activate", "accepted", "recovery-required", "rolled-back"]>;
60
+ archiveDigest: z.ZodOptional<z.ZodString>;
61
+ }, "strict", z.ZodTypeAny, {
62
+ schemaVersion: "treeseed.postgres-transfer-journal/v1";
63
+ intentDigest: string;
64
+ restoreGeneration: number;
65
+ restoreDigest: string;
66
+ stage: "verify" | "rolled-back" | "restore" | "fencing" | "export" | "switch" | "activate" | "accepted" | "recovery-required";
67
+ archiveDigest?: string | undefined;
68
+ }, {
69
+ schemaVersion: "treeseed.postgres-transfer-journal/v1";
70
+ intentDigest: string;
71
+ restoreGeneration: number;
72
+ restoreDigest: string;
73
+ stage: "verify" | "rolled-back" | "restore" | "fencing" | "export" | "switch" | "activate" | "accepted" | "recovery-required";
74
+ archiveDigest?: string | undefined;
75
+ }>;
76
+ export declare const postgresTransferStatusSchema: z.ZodNullable<z.ZodObject<{
77
+ schemaVersion: z.ZodLiteral<"treeseed.postgres-transfer-journal/v1">;
78
+ intentDigest: z.ZodString;
79
+ restoreGeneration: z.ZodNumber;
80
+ restoreDigest: z.ZodString;
81
+ stage: z.ZodEnum<["fencing", "export", "restore", "verify", "switch", "activate", "accepted", "recovery-required", "rolled-back"]>;
82
+ archiveDigest: z.ZodOptional<z.ZodString>;
83
+ }, "strict", z.ZodTypeAny, {
84
+ schemaVersion: "treeseed.postgres-transfer-journal/v1";
85
+ intentDigest: string;
86
+ restoreGeneration: number;
87
+ restoreDigest: string;
88
+ stage: "verify" | "rolled-back" | "restore" | "fencing" | "export" | "switch" | "activate" | "accepted" | "recovery-required";
89
+ archiveDigest?: string | undefined;
90
+ }, {
91
+ schemaVersion: "treeseed.postgres-transfer-journal/v1";
92
+ intentDigest: string;
93
+ restoreGeneration: number;
94
+ restoreDigest: string;
95
+ stage: "verify" | "rolled-back" | "restore" | "fencing" | "export" | "switch" | "activate" | "accepted" | "recovery-required";
96
+ archiveDigest?: string | undefined;
97
+ }>>;
@@ -0,0 +1,29 @@
1
+ import { z } from "zod";
2
+ const digest = z.string().regex(/^sha256:[a-f0-9]{64}$/u);
3
+ const postgresTransitionSelectionSchema = z.object({
4
+ componentId: z.string().regex(/^[a-z][a-z0-9.-]{0,127}$/u),
5
+ sourceRuntimeDigest: digest,
6
+ targetRuntimeDigest: digest,
7
+ topologyDigest: digest,
8
+ configurationDigest: digest,
9
+ allowLocaleConversion: z.boolean()
10
+ }).strict().refine((value) => value.sourceRuntimeDigest !== value.targetRuntimeDigest, "Distinct source and target runtimes required");
11
+ const postgresTransferPreparationResultSchema = z.object({
12
+ action: z.enum(["planned", "prepared", "noop"]),
13
+ selectionDigest: digest
14
+ }).strict();
15
+ const postgresTransferRecordSchema = z.object({
16
+ schemaVersion: z.literal("treeseed.postgres-transfer-journal/v1"),
17
+ intentDigest: digest,
18
+ restoreGeneration: z.number().int().positive().safe(),
19
+ restoreDigest: digest,
20
+ stage: z.enum(["fencing", "export", "restore", "verify", "switch", "activate", "accepted", "recovery-required", "rolled-back"]),
21
+ archiveDigest: digest.optional()
22
+ }).strict();
23
+ const postgresTransferStatusSchema = postgresTransferRecordSchema.nullable();
24
+ export {
25
+ postgresTransferPreparationResultSchema,
26
+ postgresTransferRecordSchema,
27
+ postgresTransferStatusSchema,
28
+ postgresTransitionSelectionSchema
29
+ };
@@ -62,6 +62,8 @@ const operationBindings = {
62
62
  "host config plan": local("local.host.config.plan"),
63
63
  "host config apply": local("local.host.config.apply"),
64
64
  "host config adopt": local("local.host.config.adopt"),
65
+ "host postgres transfer prepare": local("local.host.postgres.transfer.prepare"),
66
+ "host postgres transfer status": local("local.host.postgres.transfer.status"),
65
67
  "host topology": local("local.host.topology"),
66
68
  "host connections": local("local.host.connections"),
67
69
  "host provider status": local("local.host.provider.status"),
@@ -405,6 +407,7 @@ const commandTree = {
405
407
  leaf("reconcile", "mutation", void 0, "authority"),
406
408
  leaf("events"),
407
409
  branch("config", [leaf("show"), leaf("plan", "read", "file"), leaf("apply", "mutation", "file", "authority"), configurationAdopt()]),
410
+ branch("postgres", [branch("transfer", [leaf("prepare", "mutation", "file", "authority"), leaf("status")])]),
408
411
  leaf("topology"),
409
412
  leaf("connections"),
410
413
  branch("provider", [leaf("status"), branch("credentials", [leaf("list"), leaf("status"), hostProviderCredentialInitialize()]), hostProviderEnvironmentBranch()]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.13.0-rc.108",
3
+ "version": "0.13.0-rc.109",
4
4
  "description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {