@vcp-dev/contracts 0.10.25 → 0.10.26

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.
@@ -143,6 +143,27 @@ export declare const CmsNavigationMoveItemBodySchema: z.ZodObject<{
143
143
  before_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
144
144
  }, z.core.$strict>;
145
145
  export type CmsNavigationMoveItemBody = z.infer<typeof CmsNavigationMoveItemBodySchema>;
146
+ /** An ephemeral editor tree. Null IDs are new nodes; CMS allocates their persisted IDs. */
147
+ export interface CmsNavigationDraftItem {
148
+ id: string | null;
149
+ label: string;
150
+ href: string | null;
151
+ target_type: CmsNavigationTargetType;
152
+ enabled: boolean;
153
+ open_in_new: boolean;
154
+ nofollow: boolean;
155
+ role: "link" | "cta" | null;
156
+ children: CmsNavigationDraftItem[];
157
+ }
158
+ export declare const CmsNavigationDraftItemSchema: z.ZodType<CmsNavigationDraftItem>;
159
+ /** One explicit panel submission; CMS compares the baseline under its site transaction lock. */
160
+ export declare const CmsNavigationSaveItemsBodySchema: z.ZodObject<{
161
+ group_id: z.ZodNullable<z.ZodString>;
162
+ group_name: z.ZodOptional<z.ZodString>;
163
+ baseline: z.ZodArray<z.ZodType<CmsNavigationDraftItem, unknown, z.core.$ZodTypeInternals<CmsNavigationDraftItem, unknown>>>;
164
+ items: z.ZodArray<z.ZodType<CmsNavigationDraftItem, unknown, z.core.$ZodTypeInternals<CmsNavigationDraftItem, unknown>>>;
165
+ }, z.core.$strict>;
166
+ export type CmsNavigationSaveItemsBody = z.infer<typeof CmsNavigationSaveItemsBodySchema>;
146
167
  export declare const CmsNavigationCapabilitiesSchema: z.ZodObject<{
147
168
  cms_bound: z.ZodBoolean;
148
169
  bound_nav_keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -147,6 +147,7 @@ export type ConnectFormResult = {
147
147
  | {
148
148
  status: "provision_failed";
149
149
  reason: string;
150
+ form_code?: string;
150
151
  }
151
152
  /**
152
153
  * scaffold 写入失败(applyPatchBatch 未 applied):code 是真实失败码,
@@ -93,6 +93,7 @@ export declare const DesignerComponentInstallDataSchema: z.ZodObject<{
93
93
  }, z.core.$strict>]>;
94
94
  }, z.core.$strict>;
95
95
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
96
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
96
97
  }, z.core.$strict>;
97
98
  }, z.core.$strict>;
98
99
  export type InstallDesignerComponentBody = z.infer<typeof InstallDesignerComponentBodySchema>;
@@ -209,6 +209,7 @@ export declare const PageResourceComponentSchema: z.ZodObject<{
209
209
  }, z.core.$strict>]>;
210
210
  }, z.core.$strict>;
211
211
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
212
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
212
213
  }, z.core.$strict>;
213
214
  }, z.core.$strict>;
214
215
  export type PageResourceComponent = z.infer<typeof PageResourceComponentSchema>;
@@ -233,6 +234,7 @@ export declare const PageResourcePageSchema: z.ZodObject<{
233
234
  }, z.core.$strict>]>;
234
235
  }, z.core.$strict>;
235
236
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
237
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
236
238
  }, z.core.$strict>;
237
239
  components: z.ZodArray<z.ZodObject<{
238
240
  instance_id: z.ZodString;
@@ -268,6 +270,7 @@ export declare const PageResourceArtifactSchema: z.ZodObject<{
268
270
  }, z.core.$strict>]>;
269
271
  }, z.core.$strict>;
270
272
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
273
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
271
274
  }, z.core.$strict>;
272
275
  }, z.core.$strict>>;
273
276
  pages: z.ZodArray<z.ZodObject<{
@@ -291,6 +294,7 @@ export declare const PageResourceArtifactSchema: z.ZodObject<{
291
294
  }, z.core.$strict>]>;
292
295
  }, z.core.$strict>;
293
296
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
297
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
294
298
  }, z.core.$strict>;
295
299
  components: z.ZodArray<z.ZodObject<{
296
300
  instance_id: z.ZodString;
@@ -328,6 +332,7 @@ export declare const DesignerPageInstallDataSchema: z.ZodObject<{
328
332
  }, z.core.$strict>]>;
329
333
  }, z.core.$strict>;
330
334
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
335
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
331
336
  }, z.core.$strict>;
332
337
  }, z.core.$strict>>;
333
338
  pages: z.ZodArray<z.ZodObject<{
@@ -351,6 +356,7 @@ export declare const DesignerPageInstallDataSchema: z.ZodObject<{
351
356
  }, z.core.$strict>]>;
352
357
  }, z.core.$strict>;
353
358
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
359
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
354
360
  }, z.core.$strict>;
355
361
  components: z.ZodArray<z.ZodObject<{
356
362
  instance_id: z.ZodString;
@@ -1474,6 +1474,32 @@ export declare const CmsFormSchemaProjectionSchema: z.ZodObject<{
1474
1474
  }, z.core.$strict>;
1475
1475
  export type CmsFormSchemaProjection = z.infer<typeof CmsFormSchemaProjectionSchema>;
1476
1476
  export declare function projectFormSpecToCmsSchema(spec: FormSpecV1): CmsFormSchemaProjection;
1477
+ export declare function projectFormSpecToCmsDisplay(spec: FormSpecV1): {
1478
+ form_display: {
1479
+ columns: "one" | "two";
1480
+ };
1481
+ fields: {
1482
+ field_name: string;
1483
+ span: "full" | "half";
1484
+ }[];
1485
+ };
1486
+ export type CmsFormDisplayProjection = ReturnType<typeof projectFormSpecToCmsDisplay>;
1487
+ export interface CmsFormDisplaySource {
1488
+ form: {
1489
+ form_code: string;
1490
+ config_basic?: {
1491
+ form_display?: {
1492
+ columns?: "one" | "two" | null;
1493
+ } | null;
1494
+ } | null;
1495
+ };
1496
+ fields: Array<{
1497
+ field_name: string;
1498
+ span?: "full" | "half" | null;
1499
+ }>;
1500
+ }
1501
+ /** Merge display only; absent CMS values retain this binding's current spec. */
1502
+ export declare function mergeCmsFormDisplay(spec: FormSpecV1, config: CmsFormDisplaySource): FormSpecV1;
1477
1503
  export declare const FormDesignHashSchema: z.ZodString;
1478
1504
  export type FormDesignHash = z.infer<typeof FormDesignHashSchema>;
1479
1505
  export declare const FormDesignAffectedFilesSchema: z.ZodArray<z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -1086,6 +1086,7 @@ export declare const InstallDesignerComponentResponseSchema: z.ZodObject<{
1086
1086
  }, z.core.$strict>]>;
1087
1087
  }, z.core.$strict>;
1088
1088
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
1089
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1089
1090
  }, z.core.$strict>;
1090
1091
  }, z.core.$strict>;
1091
1092
  message: z.ZodString;
@@ -1156,6 +1157,7 @@ export declare const InstallDesignerPageResponseSchema: z.ZodObject<{
1156
1157
  }, z.core.$strict>]>;
1157
1158
  }, z.core.$strict>;
1158
1159
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
1160
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1159
1161
  }, z.core.$strict>;
1160
1162
  }, z.core.$strict>>;
1161
1163
  pages: z.ZodArray<z.ZodObject<{
@@ -1179,6 +1181,7 @@ export declare const InstallDesignerPageResponseSchema: z.ZodObject<{
1179
1181
  }, z.core.$strict>]>;
1180
1182
  }, z.core.$strict>;
1181
1183
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
1184
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1182
1185
  }, z.core.$strict>;
1183
1186
  components: z.ZodArray<z.ZodObject<{
1184
1187
  instance_id: z.ZodString;
@@ -6547,9 +6550,9 @@ export declare const Step5SitemapDecisionSchema: z.ZodObject<{
6547
6550
  product: "product";
6548
6551
  keywords: "keywords";
6549
6552
  market: "market";
6553
+ brand: "brand";
6550
6554
  language: "language";
6551
6555
  persona: "persona";
6552
- brand: "brand";
6553
6556
  competition: "competition";
6554
6557
  structure: "structure";
6555
6558
  risk: "risk";
@@ -6609,9 +6612,9 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6609
6612
  product: "product";
6610
6613
  keywords: "keywords";
6611
6614
  market: "market";
6615
+ brand: "brand";
6612
6616
  language: "language";
6613
6617
  persona: "persona";
6614
- brand: "brand";
6615
6618
  competition: "competition";
6616
6619
  structure: "structure";
6617
6620
  risk: "risk";
@@ -7276,9 +7279,9 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
7276
7279
  product: "product";
7277
7280
  keywords: "keywords";
7278
7281
  market: "market";
7282
+ brand: "brand";
7279
7283
  language: "language";
7280
7284
  persona: "persona";
7281
- brand: "brand";
7282
7285
  competition: "competition";
7283
7286
  structure: "structure";
7284
7287
  risk: "risk";
@@ -7939,9 +7942,9 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
7939
7942
  product: "product";
7940
7943
  keywords: "keywords";
7941
7944
  market: "market";
7945
+ brand: "brand";
7942
7946
  language: "language";
7943
7947
  persona: "persona";
7944
- brand: "brand";
7945
7948
  competition: "competition";
7946
7949
  structure: "structure";
7947
7950
  risk: "risk";
@@ -12701,6 +12704,22 @@ export declare const AiSdkUiMessagePartSchema: z.ZodUnion<readonly [z.ZodObject<
12701
12704
  type: z.ZodLiteral<"step-start">;
12702
12705
  }, z.core.$strip>]>;
12703
12706
  export type AiSdkUiMessagePart = z.infer<typeof AiSdkUiMessagePartSchema>;
12707
+ export declare const WorkspaceResourceOperationCompletionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12708
+ outcome: z.ZodLiteral<"full_success">;
12709
+ navigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
12710
+ status: z.ZodLiteral<"not_requested">;
12711
+ }, z.core.$strict>, z.ZodObject<{
12712
+ status: z.ZodLiteral<"succeeded">;
12713
+ }, z.core.$strict>], "status">;
12714
+ }, z.core.$strict>, z.ZodObject<{
12715
+ outcome: z.ZodLiteral<"partial_success">;
12716
+ navigation: z.ZodObject<{
12717
+ status: z.ZodLiteral<"failed">;
12718
+ error_code: z.ZodString;
12719
+ message: z.ZodString;
12720
+ }, z.core.$strict>;
12721
+ }, z.core.$strict>], "outcome">;
12722
+ export type WorkspaceResourceOperationCompletion = z.infer<typeof WorkspaceResourceOperationCompletionSchema>;
12704
12723
  export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12705
12724
  type: z.ZodLiteral<"run.started">;
12706
12725
  runId: z.ZodUUID;
@@ -13607,6 +13626,21 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13607
13626
  home_replaced_by: z.ZodNullable<z.ZodString>;
13608
13627
  updated_at: z.ZodString;
13609
13628
  }, z.core.$strict>>;
13629
+ resource_operation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
13630
+ outcome: z.ZodLiteral<"full_success">;
13631
+ navigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
13632
+ status: z.ZodLiteral<"not_requested">;
13633
+ }, z.core.$strict>, z.ZodObject<{
13634
+ status: z.ZodLiteral<"succeeded">;
13635
+ }, z.core.$strict>], "status">;
13636
+ }, z.core.$strict>, z.ZodObject<{
13637
+ outcome: z.ZodLiteral<"partial_success">;
13638
+ navigation: z.ZodObject<{
13639
+ status: z.ZodLiteral<"failed">;
13640
+ error_code: z.ZodString;
13641
+ message: z.ZodString;
13642
+ }, z.core.$strict>;
13643
+ }, z.core.$strict>], "outcome">>;
13610
13644
  at: z.ZodString;
13611
13645
  }, z.core.$strip>, z.ZodObject<{
13612
13646
  type: z.ZodLiteral<"media_resolution.started">;
@@ -14652,6 +14686,21 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
14652
14686
  home_replaced_by: z.ZodNullable<z.ZodString>;
14653
14687
  updated_at: z.ZodString;
14654
14688
  }, z.core.$strict>>;
14689
+ resource_operation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
14690
+ outcome: z.ZodLiteral<"full_success">;
14691
+ navigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
14692
+ status: z.ZodLiteral<"not_requested">;
14693
+ }, z.core.$strict>, z.ZodObject<{
14694
+ status: z.ZodLiteral<"succeeded">;
14695
+ }, z.core.$strict>], "status">;
14696
+ }, z.core.$strict>, z.ZodObject<{
14697
+ outcome: z.ZodLiteral<"partial_success">;
14698
+ navigation: z.ZodObject<{
14699
+ status: z.ZodLiteral<"failed">;
14700
+ error_code: z.ZodString;
14701
+ message: z.ZodString;
14702
+ }, z.core.$strict>;
14703
+ }, z.core.$strict>], "outcome">>;
14655
14704
  at: z.ZodString;
14656
14705
  }, z.core.$strip>, z.ZodObject<{
14657
14706
  type: z.ZodLiteral<"media_resolution.started">;
@@ -15695,6 +15744,21 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
15695
15744
  home_replaced_by: z.ZodNullable<z.ZodString>;
15696
15745
  updated_at: z.ZodString;
15697
15746
  }, z.core.$strict>>;
15747
+ resource_operation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15748
+ outcome: z.ZodLiteral<"full_success">;
15749
+ navigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
15750
+ status: z.ZodLiteral<"not_requested">;
15751
+ }, z.core.$strict>, z.ZodObject<{
15752
+ status: z.ZodLiteral<"succeeded">;
15753
+ }, z.core.$strict>], "status">;
15754
+ }, z.core.$strict>, z.ZodObject<{
15755
+ outcome: z.ZodLiteral<"partial_success">;
15756
+ navigation: z.ZodObject<{
15757
+ status: z.ZodLiteral<"failed">;
15758
+ error_code: z.ZodString;
15759
+ message: z.ZodString;
15760
+ }, z.core.$strict>;
15761
+ }, z.core.$strict>], "outcome">>;
15698
15762
  at: z.ZodString;
15699
15763
  }, z.core.$strip>, z.ZodObject<{
15700
15764
  type: z.ZodLiteral<"media_resolution.started">;
@@ -16779,6 +16843,21 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
16779
16843
  home_replaced_by: z.ZodNullable<z.ZodString>;
16780
16844
  updated_at: z.ZodString;
16781
16845
  }, z.core.$strict>>;
16846
+ resource_operation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
16847
+ outcome: z.ZodLiteral<"full_success">;
16848
+ navigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
16849
+ status: z.ZodLiteral<"not_requested">;
16850
+ }, z.core.$strict>, z.ZodObject<{
16851
+ status: z.ZodLiteral<"succeeded">;
16852
+ }, z.core.$strict>], "status">;
16853
+ }, z.core.$strict>, z.ZodObject<{
16854
+ outcome: z.ZodLiteral<"partial_success">;
16855
+ navigation: z.ZodObject<{
16856
+ status: z.ZodLiteral<"failed">;
16857
+ error_code: z.ZodString;
16858
+ message: z.ZodString;
16859
+ }, z.core.$strict>;
16860
+ }, z.core.$strict>], "outcome">>;
16782
16861
  at: z.ZodString;
16783
16862
  }, z.core.$strip>, z.ZodObject<{
16784
16863
  type: z.ZodLiteral<"media_resolution.started">;
@@ -17865,6 +17944,21 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
17865
17944
  home_replaced_by: z.ZodNullable<z.ZodString>;
17866
17945
  updated_at: z.ZodString;
17867
17946
  }, z.core.$strict>>;
17947
+ resource_operation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17948
+ outcome: z.ZodLiteral<"full_success">;
17949
+ navigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
17950
+ status: z.ZodLiteral<"not_requested">;
17951
+ }, z.core.$strict>, z.ZodObject<{
17952
+ status: z.ZodLiteral<"succeeded">;
17953
+ }, z.core.$strict>], "status">;
17954
+ }, z.core.$strict>, z.ZodObject<{
17955
+ outcome: z.ZodLiteral<"partial_success">;
17956
+ navigation: z.ZodObject<{
17957
+ status: z.ZodLiteral<"failed">;
17958
+ error_code: z.ZodString;
17959
+ message: z.ZodString;
17960
+ }, z.core.$strict>;
17961
+ }, z.core.$strict>], "outcome">>;
17868
17962
  at: z.ZodString;
17869
17963
  }, z.core.$strip>, z.ZodObject<{
17870
17964
  type: z.ZodLiteral<"media_resolution.started">;
@@ -18916,6 +19010,21 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
18916
19010
  home_replaced_by: z.ZodNullable<z.ZodString>;
18917
19011
  updated_at: z.ZodString;
18918
19012
  }, z.core.$strict>>;
19013
+ resource_operation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
19014
+ outcome: z.ZodLiteral<"full_success">;
19015
+ navigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
19016
+ status: z.ZodLiteral<"not_requested">;
19017
+ }, z.core.$strict>, z.ZodObject<{
19018
+ status: z.ZodLiteral<"succeeded">;
19019
+ }, z.core.$strict>], "status">;
19020
+ }, z.core.$strict>, z.ZodObject<{
19021
+ outcome: z.ZodLiteral<"partial_success">;
19022
+ navigation: z.ZodObject<{
19023
+ status: z.ZodLiteral<"failed">;
19024
+ error_code: z.ZodString;
19025
+ message: z.ZodString;
19026
+ }, z.core.$strict>;
19027
+ }, z.core.$strict>], "outcome">>;
18919
19028
  at: z.ZodString;
18920
19029
  }, z.core.$strip>, z.ZodObject<{
18921
19030
  type: z.ZodLiteral<"media_resolution.started">;
@@ -20915,6 +21024,7 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20915
21024
  "replace-node": "replace-node";
20916
21025
  "move-node": "move-node";
20917
21026
  "set-class-name-source": "set-class-name-source";
21027
+ "set-link-target": "set-link-target";
20918
21028
  "apply-style-draft": "apply-style-draft";
20919
21029
  "source-edit": "source-edit";
20920
21030
  "insert-page-resource": "insert-page-resource";
@@ -21002,6 +21112,7 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
21002
21112
  }, z.core.$strict>]>;
21003
21113
  }, z.core.$strict>;
21004
21114
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
21115
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21005
21116
  }, z.core.$strict>;
21006
21117
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
21007
21118
  }, z.core.$strict>]>;
@@ -21064,6 +21175,7 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
21064
21175
  }, z.core.$strict>]>;
21065
21176
  }, z.core.$strict>;
21066
21177
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
21178
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21067
21179
  }, z.core.$strict>;
21068
21180
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
21069
21181
  }, z.core.$strict>;
@@ -21149,6 +21261,26 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
21149
21261
  operation: z.ZodLiteral<"remove">;
21150
21262
  name: z.ZodString;
21151
21263
  }, z.core.$strict>], "operation">>;
21264
+ }, z.core.$strict>, z.ZodObject<{
21265
+ kind: z.ZodLiteral<"set-link-target">;
21266
+ scope: z.ZodLiteral<"selection">;
21267
+ link: z.ZodDiscriminatedUnion<[z.ZodObject<{
21268
+ kind: z.ZodLiteral<"none">;
21269
+ }, z.core.$strict>, z.ZodObject<{
21270
+ kind: z.ZodLiteral<"internal-route">;
21271
+ href: z.ZodString;
21272
+ }, z.core.$strict>, z.ZodObject<{
21273
+ kind: z.ZodLiteral<"native-link">;
21274
+ href: z.ZodString;
21275
+ }, z.core.$strict>], "kind">;
21276
+ changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
21277
+ operation: z.ZodLiteral<"set">;
21278
+ name: z.ZodString;
21279
+ value: z.ZodType<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown>>;
21280
+ }, z.core.$strict>, z.ZodObject<{
21281
+ operation: z.ZodLiteral<"remove">;
21282
+ name: z.ZodString;
21283
+ }, z.core.$strict>], "operation">>;
21152
21284
  }, z.core.$strict>, z.ZodObject<{
21153
21285
  kind: z.ZodLiteral<"apply-style-draft">;
21154
21286
  className: z.ZodOptional<z.ZodObject<{
@@ -21238,6 +21370,7 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
21238
21370
  }, z.core.$strict>]>;
21239
21371
  }, z.core.$strict>;
21240
21372
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
21373
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21241
21374
  }, z.core.$strict>;
21242
21375
  }, z.core.$strict>>;
21243
21376
  pages: z.ZodArray<z.ZodObject<{
@@ -21261,6 +21394,7 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
21261
21394
  }, z.core.$strict>]>;
21262
21395
  }, z.core.$strict>;
21263
21396
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
21397
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21264
21398
  }, z.core.$strict>;
21265
21399
  components: z.ZodArray<z.ZodObject<{
21266
21400
  instance_id: z.ZodString;
@@ -21888,6 +22022,21 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
21888
22022
  sandbox_unavailable: "sandbox_unavailable";
21889
22023
  }>>;
21890
22024
  build_verified: z.ZodOptional<z.ZodBoolean>;
22025
+ resource_operation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
22026
+ outcome: z.ZodLiteral<"full_success">;
22027
+ navigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
22028
+ status: z.ZodLiteral<"not_requested">;
22029
+ }, z.core.$strict>, z.ZodObject<{
22030
+ status: z.ZodLiteral<"succeeded">;
22031
+ }, z.core.$strict>], "status">;
22032
+ }, z.core.$strict>, z.ZodObject<{
22033
+ outcome: z.ZodLiteral<"partial_success">;
22034
+ navigation: z.ZodObject<{
22035
+ status: z.ZodLiteral<"failed">;
22036
+ error_code: z.ZodString;
22037
+ message: z.ZodString;
22038
+ }, z.core.$strict>;
22039
+ }, z.core.$strict>], "outcome">>;
21891
22040
  }, z.core.$strip>;
21892
22041
  }, z.core.$strip>, z.ZodObject<{
21893
22042
  id: z.ZodString;
@@ -22186,6 +22335,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22186
22335
  "replace-node": "replace-node";
22187
22336
  "move-node": "move-node";
22188
22337
  "set-class-name-source": "set-class-name-source";
22338
+ "set-link-target": "set-link-target";
22189
22339
  "apply-style-draft": "apply-style-draft";
22190
22340
  "source-edit": "source-edit";
22191
22341
  "insert-page-resource": "insert-page-resource";
@@ -22273,6 +22423,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22273
22423
  }, z.core.$strict>]>;
22274
22424
  }, z.core.$strict>;
22275
22425
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
22426
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
22276
22427
  }, z.core.$strict>;
22277
22428
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
22278
22429
  }, z.core.$strict>]>;
@@ -22335,6 +22486,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22335
22486
  }, z.core.$strict>]>;
22336
22487
  }, z.core.$strict>;
22337
22488
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
22489
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
22338
22490
  }, z.core.$strict>;
22339
22491
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
22340
22492
  }, z.core.$strict>;
@@ -22420,6 +22572,26 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22420
22572
  operation: z.ZodLiteral<"remove">;
22421
22573
  name: z.ZodString;
22422
22574
  }, z.core.$strict>], "operation">>;
22575
+ }, z.core.$strict>, z.ZodObject<{
22576
+ kind: z.ZodLiteral<"set-link-target">;
22577
+ scope: z.ZodLiteral<"selection">;
22578
+ link: z.ZodDiscriminatedUnion<[z.ZodObject<{
22579
+ kind: z.ZodLiteral<"none">;
22580
+ }, z.core.$strict>, z.ZodObject<{
22581
+ kind: z.ZodLiteral<"internal-route">;
22582
+ href: z.ZodString;
22583
+ }, z.core.$strict>, z.ZodObject<{
22584
+ kind: z.ZodLiteral<"native-link">;
22585
+ href: z.ZodString;
22586
+ }, z.core.$strict>], "kind">;
22587
+ changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
22588
+ operation: z.ZodLiteral<"set">;
22589
+ name: z.ZodString;
22590
+ value: z.ZodType<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown>>;
22591
+ }, z.core.$strict>, z.ZodObject<{
22592
+ operation: z.ZodLiteral<"remove">;
22593
+ name: z.ZodString;
22594
+ }, z.core.$strict>], "operation">>;
22423
22595
  }, z.core.$strict>, z.ZodObject<{
22424
22596
  kind: z.ZodLiteral<"apply-style-draft">;
22425
22597
  className: z.ZodOptional<z.ZodObject<{
@@ -22509,6 +22681,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22509
22681
  }, z.core.$strict>]>;
22510
22682
  }, z.core.$strict>;
22511
22683
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
22684
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
22512
22685
  }, z.core.$strict>;
22513
22686
  }, z.core.$strict>>;
22514
22687
  pages: z.ZodArray<z.ZodObject<{
@@ -22532,6 +22705,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22532
22705
  }, z.core.$strict>]>;
22533
22706
  }, z.core.$strict>;
22534
22707
  dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
22708
+ projectDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
22535
22709
  }, z.core.$strict>;
22536
22710
  components: z.ZodArray<z.ZodObject<{
22537
22711
  instance_id: z.ZodString;
@@ -23156,6 +23330,21 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
23156
23330
  sandbox_unavailable: "sandbox_unavailable";
23157
23331
  }>>;
23158
23332
  build_verified: z.ZodOptional<z.ZodBoolean>;
23333
+ resource_operation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
23334
+ outcome: z.ZodLiteral<"full_success">;
23335
+ navigation: z.ZodDiscriminatedUnion<[z.ZodObject<{
23336
+ status: z.ZodLiteral<"not_requested">;
23337
+ }, z.core.$strict>, z.ZodObject<{
23338
+ status: z.ZodLiteral<"succeeded">;
23339
+ }, z.core.$strict>], "status">;
23340
+ }, z.core.$strict>, z.ZodObject<{
23341
+ outcome: z.ZodLiteral<"partial_success">;
23342
+ navigation: z.ZodObject<{
23343
+ status: z.ZodLiteral<"failed">;
23344
+ error_code: z.ZodString;
23345
+ message: z.ZodString;
23346
+ }, z.core.$strict>;
23347
+ }, z.core.$strict>], "outcome">>;
23159
23348
  }, z.core.$strip>;
23160
23349
  }, z.core.$strip>, z.ZodObject<{
23161
23350
  id: z.ZodString;