@vcp-dev/contracts 0.10.4 → 0.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cms-page-directory.d.ts +1 -0
- package/dist/external-site-edit.d.ts +30 -12
- package/dist/fill-in-targets.d.ts +22 -0
- package/dist/generation-ledger.d.ts +254 -0
- package/dist/index.d.ts +1199 -32
- package/dist/index.js +1 -1
- package/dist/launcher-prompt-templates.d.ts +2 -0
- package/dist/media-library.d.ts +6 -1
- package/dist/nav-label-width.d.ts +19 -0
- package/dist/page-template.d.ts +101 -8
- package/dist/run-control.d.ts +285 -0
- package/dist/site-edit-operation.d.ts +1 -1
- package/dist/site-edit-render-document.d.ts +5 -1
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/sitemap-structure.d.ts +82 -0
- package/dist/step5-strategy.d.ts +4 -0
- package/dist/user-facing-copy.d.ts +23 -0
- package/dist/workspace-attachment.d.ts +27 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from "./deployment-lifecycle.js";
|
|
|
13
13
|
export * from "./external-site-edit.js";
|
|
14
14
|
export * from "./workspace-attachment.js";
|
|
15
15
|
export * from "./internal-entity-id.js";
|
|
16
|
+
export * from "./run-control.js";
|
|
16
17
|
export * from "./designer-component-library.js";
|
|
17
18
|
export * from "./designer-page-library.js";
|
|
18
19
|
export * from "./component-i18n-resources.js";
|
|
@@ -93,6 +94,8 @@ export * from "./site-publish-domain.js";
|
|
|
93
94
|
export * from "./google-search-console.js";
|
|
94
95
|
export * from "./site-publish-workflow.js";
|
|
95
96
|
export * from "./e2b-preview-proxy.js";
|
|
97
|
+
export * from "./generation-ledger.js";
|
|
98
|
+
export * from "./fill-in-targets.js";
|
|
96
99
|
/**
|
|
97
100
|
* Clarify 视觉调性 text-options 题的每个 option 的结构化硬绑信号。
|
|
98
101
|
* spec §1.1 + 2026-05-27 接通:用户选中的 option 的 visualHints 会被
|
|
@@ -869,6 +872,7 @@ export declare const SITE_PLANNING_FROZEN_ERROR_CODE: "SITE_PLANNING_INPUT_FROZE
|
|
|
869
872
|
export declare const SITE_PLANNING_LOCKED_ERROR_CODE: "SITE_PLANNING_LOCKED";
|
|
870
873
|
export declare const SITE_STRUCTURE_CONFIRMATION_REQUIRED_ERROR_CODE: "SITE_STRUCTURE_CONFIRMATION_REQUIRED";
|
|
871
874
|
export declare const SITE_STRUCTURE_CONFIRMATION_STALE_ERROR_CODE: "SITE_STRUCTURE_CONFIRMATION_STALE";
|
|
875
|
+
export declare const SITE_STRUCTURE_INVALID_ERROR_CODE: "SITE_STRUCTURE_INVALID";
|
|
872
876
|
export declare const CreateSiteInputSchema: z.ZodObject<{
|
|
873
877
|
tenant_id: z.ZodString;
|
|
874
878
|
name: z.ZodString;
|
|
@@ -1930,10 +1934,11 @@ export declare const AgentRunTypeSchema: z.ZodEnum<{
|
|
|
1930
1934
|
}>;
|
|
1931
1935
|
export declare const AgentRunKindSchema: z.ZodEnum<{
|
|
1932
1936
|
landing_page: "landing_page";
|
|
1933
|
-
sitemap: "sitemap";
|
|
1934
|
-
clarify: "clarify";
|
|
1935
1937
|
initial_generation: "initial_generation";
|
|
1936
1938
|
iteration: "iteration";
|
|
1939
|
+
fill_in: "fill_in";
|
|
1940
|
+
sitemap: "sitemap";
|
|
1941
|
+
clarify: "clarify";
|
|
1937
1942
|
}>;
|
|
1938
1943
|
export type AgentRunStatus = z.infer<typeof AgentRunStatusSchema>;
|
|
1939
1944
|
export type AgentRunType = z.infer<typeof AgentRunTypeSchema>;
|
|
@@ -1955,10 +1960,11 @@ export declare const AgentRunRecordSchema: z.ZodObject<{
|
|
|
1955
1960
|
}>;
|
|
1956
1961
|
run_kind: z.ZodEnum<{
|
|
1957
1962
|
landing_page: "landing_page";
|
|
1958
|
-
sitemap: "sitemap";
|
|
1959
|
-
clarify: "clarify";
|
|
1960
1963
|
initial_generation: "initial_generation";
|
|
1961
1964
|
iteration: "iteration";
|
|
1965
|
+
fill_in: "fill_in";
|
|
1966
|
+
sitemap: "sitemap";
|
|
1967
|
+
clarify: "clarify";
|
|
1962
1968
|
}>;
|
|
1963
1969
|
status: z.ZodEnum<{
|
|
1964
1970
|
succeeded: "succeeded";
|
|
@@ -1980,6 +1986,45 @@ export declare const AgentRunRecordSchema: z.ZodObject<{
|
|
|
1980
1986
|
thread_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
1981
1987
|
}, z.core.$strip>;
|
|
1982
1988
|
export type AgentRunRecord = z.infer<typeof AgentRunRecordSchema>;
|
|
1989
|
+
export declare const StartFillInResponseSchema: z.ZodObject<{
|
|
1990
|
+
agent_run: z.ZodObject<{
|
|
1991
|
+
id: z.ZodUUID;
|
|
1992
|
+
tenant_id: z.ZodString;
|
|
1993
|
+
site_id: z.ZodUUID;
|
|
1994
|
+
agent_type: z.ZodEnum<{
|
|
1995
|
+
sitemap: "sitemap";
|
|
1996
|
+
clarify: "clarify";
|
|
1997
|
+
workspace: "workspace";
|
|
1998
|
+
}>;
|
|
1999
|
+
run_kind: z.ZodEnum<{
|
|
2000
|
+
landing_page: "landing_page";
|
|
2001
|
+
initial_generation: "initial_generation";
|
|
2002
|
+
iteration: "iteration";
|
|
2003
|
+
fill_in: "fill_in";
|
|
2004
|
+
sitemap: "sitemap";
|
|
2005
|
+
clarify: "clarify";
|
|
2006
|
+
}>;
|
|
2007
|
+
status: z.ZodEnum<{
|
|
2008
|
+
succeeded: "succeeded";
|
|
2009
|
+
failed: "failed";
|
|
2010
|
+
running: "running";
|
|
2011
|
+
queued: "queued";
|
|
2012
|
+
cancelled: "cancelled";
|
|
2013
|
+
}>;
|
|
2014
|
+
model_route: z.ZodEnum<{
|
|
2015
|
+
sitemap: "sitemap";
|
|
2016
|
+
clarify: "clarify";
|
|
2017
|
+
workspace: "workspace";
|
|
2018
|
+
summarize: "summarize";
|
|
2019
|
+
}>;
|
|
2020
|
+
started_at: z.ZodNullable<z.ZodString>;
|
|
2021
|
+
finished_at: z.ZodNullable<z.ZodString>;
|
|
2022
|
+
error_code: z.ZodNullable<z.ZodString>;
|
|
2023
|
+
created_at: z.ZodString;
|
|
2024
|
+
thread_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
2025
|
+
}, z.core.$strip>;
|
|
2026
|
+
}, z.core.$strict>;
|
|
2027
|
+
export type StartFillInResponse = z.infer<typeof StartFillInResponseSchema>;
|
|
1983
2028
|
/**
|
|
1984
2029
|
* 线程类别:`workspace` = 用户在站点工作台开的会话(NULL 线程是默认会话);
|
|
1985
2030
|
* `landing_page` = 一个落地页一条;`external` = 外部编排系统的会话。
|
|
@@ -2039,10 +2084,11 @@ export declare const AgentRunContextResponseSchema: z.ZodObject<{
|
|
|
2039
2084
|
}>;
|
|
2040
2085
|
run_kind: z.ZodEnum<{
|
|
2041
2086
|
landing_page: "landing_page";
|
|
2042
|
-
sitemap: "sitemap";
|
|
2043
|
-
clarify: "clarify";
|
|
2044
2087
|
initial_generation: "initial_generation";
|
|
2045
2088
|
iteration: "iteration";
|
|
2089
|
+
fill_in: "fill_in";
|
|
2090
|
+
sitemap: "sitemap";
|
|
2091
|
+
clarify: "clarify";
|
|
2046
2092
|
}>;
|
|
2047
2093
|
status: z.ZodEnum<{
|
|
2048
2094
|
succeeded: "succeeded";
|
|
@@ -2101,10 +2147,11 @@ export declare const CreateAgentRunRequestSchema: z.ZodObject<{
|
|
|
2101
2147
|
}>;
|
|
2102
2148
|
run_kind: z.ZodOptional<z.ZodEnum<{
|
|
2103
2149
|
landing_page: "landing_page";
|
|
2104
|
-
sitemap: "sitemap";
|
|
2105
|
-
clarify: "clarify";
|
|
2106
2150
|
initial_generation: "initial_generation";
|
|
2107
2151
|
iteration: "iteration";
|
|
2152
|
+
fill_in: "fill_in";
|
|
2153
|
+
sitemap: "sitemap";
|
|
2154
|
+
clarify: "clarify";
|
|
2108
2155
|
}>>;
|
|
2109
2156
|
model_route: z.ZodEnum<{
|
|
2110
2157
|
sitemap: "sitemap";
|
|
@@ -2127,10 +2174,11 @@ export declare const CreateAgentRunResponseSchema: z.ZodObject<{
|
|
|
2127
2174
|
}>;
|
|
2128
2175
|
run_kind: z.ZodEnum<{
|
|
2129
2176
|
landing_page: "landing_page";
|
|
2130
|
-
sitemap: "sitemap";
|
|
2131
|
-
clarify: "clarify";
|
|
2132
2177
|
initial_generation: "initial_generation";
|
|
2133
2178
|
iteration: "iteration";
|
|
2179
|
+
fill_in: "fill_in";
|
|
2180
|
+
sitemap: "sitemap";
|
|
2181
|
+
clarify: "clarify";
|
|
2134
2182
|
}>;
|
|
2135
2183
|
status: z.ZodEnum<{
|
|
2136
2184
|
succeeded: "succeeded";
|
|
@@ -4263,10 +4311,11 @@ export declare const CreateAgentRunConflictResponseSchema: z.ZodObject<{
|
|
|
4263
4311
|
}>;
|
|
4264
4312
|
run_kind: z.ZodEnum<{
|
|
4265
4313
|
landing_page: "landing_page";
|
|
4266
|
-
sitemap: "sitemap";
|
|
4267
|
-
clarify: "clarify";
|
|
4268
4314
|
initial_generation: "initial_generation";
|
|
4269
4315
|
iteration: "iteration";
|
|
4316
|
+
fill_in: "fill_in";
|
|
4317
|
+
sitemap: "sitemap";
|
|
4318
|
+
clarify: "clarify";
|
|
4270
4319
|
}>;
|
|
4271
4320
|
status: z.ZodEnum<{
|
|
4272
4321
|
succeeded: "succeeded";
|
|
@@ -5122,6 +5171,7 @@ export declare const PageSchema: z.ZodObject<{
|
|
|
5122
5171
|
showInFooter: z.ZodBoolean;
|
|
5123
5172
|
order: z.ZodNumber;
|
|
5124
5173
|
}, z.core.$strict>;
|
|
5174
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5125
5175
|
}, z.core.$strict>;
|
|
5126
5176
|
export declare const SitemapDraftBlockSchema: z.ZodObject<{
|
|
5127
5177
|
id: z.ZodString;
|
|
@@ -5145,6 +5195,7 @@ export type SitemapDraftBlock = z.infer<typeof SitemapDraftBlockSchema>;
|
|
|
5145
5195
|
export declare const SitemapDraftPageSchema: z.ZodObject<{
|
|
5146
5196
|
id: z.ZodString;
|
|
5147
5197
|
title: z.ZodString;
|
|
5198
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5148
5199
|
slug: z.ZodNullable<z.ZodString>;
|
|
5149
5200
|
navigation: z.ZodObject<{
|
|
5150
5201
|
order: z.ZodNumber;
|
|
@@ -5198,6 +5249,7 @@ export declare const SitemapModelPageSchema: z.ZodObject<{
|
|
|
5198
5249
|
}, z.core.$strip>>;
|
|
5199
5250
|
id: z.ZodString;
|
|
5200
5251
|
}, z.core.$strict>>;
|
|
5252
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5201
5253
|
}, z.core.$strict>;
|
|
5202
5254
|
export type SitemapModelPage = z.infer<typeof SitemapModelPageSchema>;
|
|
5203
5255
|
export declare const SitemapSourceProvenanceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5241,6 +5293,7 @@ export declare const SitemapSchema: z.ZodObject<{
|
|
|
5241
5293
|
showInFooter: z.ZodBoolean;
|
|
5242
5294
|
order: z.ZodNumber;
|
|
5243
5295
|
}, z.core.$strict>;
|
|
5296
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5244
5297
|
}, z.core.$strict>>;
|
|
5245
5298
|
navigation: z.ZodObject<{
|
|
5246
5299
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -5622,6 +5675,7 @@ export declare const SitemapDraftSchema: z.ZodObject<{
|
|
|
5622
5675
|
pages: z.ZodArray<z.ZodObject<{
|
|
5623
5676
|
id: z.ZodString;
|
|
5624
5677
|
title: z.ZodString;
|
|
5678
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5625
5679
|
slug: z.ZodNullable<z.ZodString>;
|
|
5626
5680
|
navigation: z.ZodObject<{
|
|
5627
5681
|
order: z.ZodNumber;
|
|
@@ -5860,6 +5914,7 @@ export declare const SitemapResolverRequestSchema: z.ZodObject<{
|
|
|
5860
5914
|
pages: z.ZodArray<z.ZodObject<{
|
|
5861
5915
|
id: z.ZodString;
|
|
5862
5916
|
title: z.ZodString;
|
|
5917
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5863
5918
|
slug: z.ZodNullable<z.ZodString>;
|
|
5864
5919
|
navigation: z.ZodObject<{
|
|
5865
5920
|
order: z.ZodNumber;
|
|
@@ -5901,6 +5956,7 @@ export declare const SitemapResolverRequestSchema: z.ZodObject<{
|
|
|
5901
5956
|
fields: z.ZodTuple<[z.ZodLiteral<"type">], null>;
|
|
5902
5957
|
}, z.core.$strict>>;
|
|
5903
5958
|
}, z.core.$strict>;
|
|
5959
|
+
reserved_slugs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5904
5960
|
}, z.core.$strict>;
|
|
5905
5961
|
export type SitemapResolverRequest = z.infer<typeof SitemapResolverRequestSchema>;
|
|
5906
5962
|
export declare const SitemapResolverModelOutputSchema: z.ZodObject<{
|
|
@@ -5948,6 +6004,7 @@ export declare const SitemapResolverResponseSchema: z.ZodObject<{
|
|
|
5948
6004
|
showInFooter: z.ZodBoolean;
|
|
5949
6005
|
order: z.ZodNumber;
|
|
5950
6006
|
}, z.core.$strict>;
|
|
6007
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5951
6008
|
}, z.core.$strict>>;
|
|
5952
6009
|
navigation: z.ZodObject<{
|
|
5953
6010
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -6139,6 +6196,8 @@ export declare const SitemapResolverResponseSchema: z.ZodObject<{
|
|
|
6139
6196
|
}, z.core.$strict>;
|
|
6140
6197
|
export type SitemapResolverResponse = z.infer<typeof SitemapResolverResponseSchema>;
|
|
6141
6198
|
export { reconcileSitemapNavigation } from "./sitemap-navigation.js";
|
|
6199
|
+
export { countSitemapStructure, homeLabelForLocale, isTopLevelPage, listChildPages, markAllPagesInHeader, moreLabelForLocale, normalizeStructureTitle, orderNavigationLinksByStructure, orderSitemapPagesForDisplay, validateSitemapStructure, type SitemapOrderingPageLike, type SitemapStructureIssue, type SitemapStructureIssueCode, type SitemapStructurePageLike, } from "./sitemap-structure.js";
|
|
6200
|
+
export { MAX_NAV_LABEL_WIDTH, estimateNavLabelWidth, navLabelCollisionKey, } from "./nav-label-width.js";
|
|
6142
6201
|
/**
|
|
6143
6202
|
* 提供给 emit_sitemap 工具输入的 sitemap schema 子集。
|
|
6144
6203
|
* skillSelection / visualTheme / userChoices / confirmedChoices / seoKeywords
|
|
@@ -6184,6 +6243,7 @@ export declare const SitemapModelOutputSchema: z.ZodObject<{
|
|
|
6184
6243
|
}, z.core.$strip>>;
|
|
6185
6244
|
id: z.ZodString;
|
|
6186
6245
|
}, z.core.$strict>>;
|
|
6246
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6187
6247
|
}, z.core.$strict>>;
|
|
6188
6248
|
navigation: z.ZodObject<{
|
|
6189
6249
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -8141,6 +8201,7 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
8141
8201
|
showInFooter: z.ZodBoolean;
|
|
8142
8202
|
order: z.ZodNumber;
|
|
8143
8203
|
}, z.core.$strict>;
|
|
8204
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8144
8205
|
}, z.core.$strict>>;
|
|
8145
8206
|
navigation: z.ZodObject<{
|
|
8146
8207
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -8409,6 +8470,7 @@ export declare const SitemapRecordSchema: z.ZodObject<{
|
|
|
8409
8470
|
showInFooter: z.ZodBoolean;
|
|
8410
8471
|
order: z.ZodNumber;
|
|
8411
8472
|
}, z.core.$strict>;
|
|
8473
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8412
8474
|
}, z.core.$strict>>;
|
|
8413
8475
|
navigation: z.ZodObject<{
|
|
8414
8476
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -8799,6 +8861,7 @@ export declare const SitemapDraftRecordSchema: z.ZodObject<{
|
|
|
8799
8861
|
pages: z.ZodArray<z.ZodObject<{
|
|
8800
8862
|
id: z.ZodString;
|
|
8801
8863
|
title: z.ZodString;
|
|
8864
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8802
8865
|
slug: z.ZodNullable<z.ZodString>;
|
|
8803
8866
|
navigation: z.ZodObject<{
|
|
8804
8867
|
order: z.ZodNumber;
|
|
@@ -8860,6 +8923,7 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
|
8860
8923
|
showInFooter: z.ZodBoolean;
|
|
8861
8924
|
order: z.ZodNumber;
|
|
8862
8925
|
}, z.core.$strict>;
|
|
8926
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8863
8927
|
}, z.core.$strict>>;
|
|
8864
8928
|
navigation: z.ZodObject<{
|
|
8865
8929
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -9246,6 +9310,7 @@ export declare const ConfirmSiteStructureRequestSchema: z.ZodObject<{
|
|
|
9246
9310
|
pages: z.ZodArray<z.ZodObject<{
|
|
9247
9311
|
id: z.ZodString;
|
|
9248
9312
|
title: z.ZodString;
|
|
9313
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9249
9314
|
slug: z.ZodNullable<z.ZodString>;
|
|
9250
9315
|
navigation: z.ZodObject<{
|
|
9251
9316
|
order: z.ZodNumber;
|
|
@@ -9310,6 +9375,7 @@ export declare const PersistGeneratedSitemapDraftRequestSchema: z.ZodObject<{
|
|
|
9310
9375
|
showInFooter: z.ZodBoolean;
|
|
9311
9376
|
order: z.ZodNumber;
|
|
9312
9377
|
}, z.core.$strict>;
|
|
9378
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9313
9379
|
}, z.core.$strict>>;
|
|
9314
9380
|
navigation: z.ZodObject<{
|
|
9315
9381
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -9757,6 +9823,7 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
9757
9823
|
showInFooter: z.ZodBoolean;
|
|
9758
9824
|
order: z.ZodNumber;
|
|
9759
9825
|
}, z.core.$strict>;
|
|
9826
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9760
9827
|
}, z.core.$strict>>;
|
|
9761
9828
|
navigation: z.ZodObject<{
|
|
9762
9829
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -10367,6 +10434,7 @@ export declare const PersistSiteSitemapDraftResponseSchema: z.ZodObject<{
|
|
|
10367
10434
|
pages: z.ZodArray<z.ZodObject<{
|
|
10368
10435
|
id: z.ZodString;
|
|
10369
10436
|
title: z.ZodString;
|
|
10437
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10370
10438
|
slug: z.ZodNullable<z.ZodString>;
|
|
10371
10439
|
navigation: z.ZodObject<{
|
|
10372
10440
|
order: z.ZodNumber;
|
|
@@ -10653,6 +10721,7 @@ export declare const PersistGeneratedSitemapDraftResponseSchema: z.ZodObject<{
|
|
|
10653
10721
|
showInFooter: z.ZodBoolean;
|
|
10654
10722
|
order: z.ZodNumber;
|
|
10655
10723
|
}, z.core.$strict>;
|
|
10724
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10656
10725
|
}, z.core.$strict>>;
|
|
10657
10726
|
navigation: z.ZodObject<{
|
|
10658
10727
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -12104,6 +12173,7 @@ export declare const WorkspaceRunKindSchema: z.ZodEnum<{
|
|
|
12104
12173
|
landing_page: "landing_page";
|
|
12105
12174
|
initial_generation: "initial_generation";
|
|
12106
12175
|
iteration: "iteration";
|
|
12176
|
+
fill_in: "fill_in";
|
|
12107
12177
|
}>;
|
|
12108
12178
|
export type WorkspaceRunKind = z.infer<typeof WorkspaceRunKindSchema>;
|
|
12109
12179
|
/**
|
|
@@ -12170,6 +12240,7 @@ export declare const AgentMessageHistoryPurposeSchema: z.ZodEnum<{
|
|
|
12170
12240
|
}>;
|
|
12171
12241
|
export type AgentMessageHistoryPurpose = z.infer<typeof AgentMessageHistoryPurposeSchema>;
|
|
12172
12242
|
export declare const AgentEventTypeSchema: z.ZodEnum<{
|
|
12243
|
+
"workspace.generation_ledger": "workspace.generation_ledger";
|
|
12173
12244
|
"run.started": "run.started";
|
|
12174
12245
|
"skill.selecting": "skill.selecting";
|
|
12175
12246
|
"skill.selected": "skill.selected";
|
|
@@ -12333,6 +12404,14 @@ export declare const WorkspacePlanTaskSchema: z.ZodObject<{
|
|
|
12333
12404
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12334
12405
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12335
12406
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
12407
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
12408
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
12409
|
+
name: z.ZodString;
|
|
12410
|
+
href: z.ZodNullable<z.ZodString>;
|
|
12411
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
12412
|
+
}, z.core.$strict>>;
|
|
12413
|
+
current: z.ZodString;
|
|
12414
|
+
}, z.core.$strict>>;
|
|
12336
12415
|
}, z.core.$strip>;
|
|
12337
12416
|
export type WorkspacePlanTask = z.infer<typeof WorkspacePlanTaskSchema>;
|
|
12338
12417
|
export declare const WorkspacePlanDependencySchema: z.ZodObject<{
|
|
@@ -12354,6 +12433,7 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
12354
12433
|
landing_page: "landing_page";
|
|
12355
12434
|
initial_generation: "initial_generation";
|
|
12356
12435
|
iteration: "iteration";
|
|
12436
|
+
fill_in: "fill_in";
|
|
12357
12437
|
}>;
|
|
12358
12438
|
model_route: z.ZodObject<{
|
|
12359
12439
|
planner: z.ZodLiteral<"workspace_planner">;
|
|
@@ -12419,6 +12499,14 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
|
|
|
12419
12499
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12420
12500
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12421
12501
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
12502
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
12503
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
12504
|
+
name: z.ZodString;
|
|
12505
|
+
href: z.ZodNullable<z.ZodString>;
|
|
12506
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
12507
|
+
}, z.core.$strict>>;
|
|
12508
|
+
current: z.ZodString;
|
|
12509
|
+
}, z.core.$strict>>;
|
|
12422
12510
|
}, z.core.$strip>>;
|
|
12423
12511
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
12424
12512
|
from_group_id: z.ZodString;
|
|
@@ -12779,6 +12867,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12779
12867
|
showInFooter: z.ZodBoolean;
|
|
12780
12868
|
order: z.ZodNumber;
|
|
12781
12869
|
}, z.core.$strict>;
|
|
12870
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12782
12871
|
}, z.core.$strict>>;
|
|
12783
12872
|
navigation: z.ZodObject<{
|
|
12784
12873
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -13072,6 +13161,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13072
13161
|
landing_page: "landing_page";
|
|
13073
13162
|
initial_generation: "initial_generation";
|
|
13074
13163
|
iteration: "iteration";
|
|
13164
|
+
fill_in: "fill_in";
|
|
13075
13165
|
}>;
|
|
13076
13166
|
groups: z.ZodArray<z.ZodObject<{
|
|
13077
13167
|
group_id: z.ZodString;
|
|
@@ -13133,6 +13223,14 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13133
13223
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13134
13224
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13135
13225
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
13226
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
13227
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
13228
|
+
name: z.ZodString;
|
|
13229
|
+
href: z.ZodNullable<z.ZodString>;
|
|
13230
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
13231
|
+
}, z.core.$strict>>;
|
|
13232
|
+
current: z.ZodString;
|
|
13233
|
+
}, z.core.$strict>>;
|
|
13136
13234
|
}, z.core.$strip>>;
|
|
13137
13235
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
13138
13236
|
from_group_id: z.ZodString;
|
|
@@ -13221,6 +13319,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13221
13319
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
13222
13320
|
reason: z.ZodEnum<{
|
|
13223
13321
|
patch_protected_dropped: "patch_protected_dropped";
|
|
13322
|
+
preview_build_failed: "preview_build_failed";
|
|
13224
13323
|
block_placeholder: "block_placeholder";
|
|
13225
13324
|
form_placeholder: "form_placeholder";
|
|
13226
13325
|
preview_health_degraded: "preview_health_degraded";
|
|
@@ -13230,6 +13329,9 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13230
13329
|
form_prebuild_skipped: "form_prebuild_skipped";
|
|
13231
13330
|
form_section_fallback: "form_section_fallback";
|
|
13232
13331
|
first_settings_sync_failed: "first_settings_sync_failed";
|
|
13332
|
+
component_omitted: "component_omitted";
|
|
13333
|
+
page_omitted: "page_omitted";
|
|
13334
|
+
shared_fallback: "shared_fallback";
|
|
13233
13335
|
}>;
|
|
13234
13336
|
degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13235
13337
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -13292,6 +13394,80 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13292
13394
|
}>;
|
|
13293
13395
|
type: z.ZodLiteral<"workspace.suggestions">;
|
|
13294
13396
|
at: z.ZodString;
|
|
13397
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13398
|
+
type: z.ZodLiteral<"workspace.generation_ledger">;
|
|
13399
|
+
ledger: z.ZodObject<{
|
|
13400
|
+
schema_version: z.ZodLiteral<1>;
|
|
13401
|
+
sitemap_id: z.ZodString;
|
|
13402
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
13403
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
13404
|
+
page_id: z.ZodString;
|
|
13405
|
+
slug: z.ZodString;
|
|
13406
|
+
title: z.ZodString;
|
|
13407
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
13408
|
+
result: z.ZodEnum<{
|
|
13409
|
+
partial: "partial";
|
|
13410
|
+
complete: "complete";
|
|
13411
|
+
pending: "pending";
|
|
13412
|
+
check_incomplete: "check_incomplete";
|
|
13413
|
+
omitted: "omitted";
|
|
13414
|
+
}>;
|
|
13415
|
+
attempts: z.ZodNumber;
|
|
13416
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
13417
|
+
kind: z.ZodEnum<{
|
|
13418
|
+
page: "page";
|
|
13419
|
+
component: "component";
|
|
13420
|
+
shared: "shared";
|
|
13421
|
+
}>;
|
|
13422
|
+
target_id: z.ZodString;
|
|
13423
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
13424
|
+
reason: z.ZodEnum<{
|
|
13425
|
+
conflict: "conflict";
|
|
13426
|
+
generation_failed: "generation_failed";
|
|
13427
|
+
repair_exhausted: "repair_exhausted";
|
|
13428
|
+
page_unusable: "page_unusable";
|
|
13429
|
+
check_incomplete: "check_incomplete";
|
|
13430
|
+
design_missing: "design_missing";
|
|
13431
|
+
chrome_fallback: "chrome_fallback";
|
|
13432
|
+
style_fallback: "style_fallback";
|
|
13433
|
+
resume_exhausted: "resume_exhausted";
|
|
13434
|
+
user_stopped: "user_stopped";
|
|
13435
|
+
}>;
|
|
13436
|
+
repair_attempts: z.ZodNumber;
|
|
13437
|
+
message: z.ZodString;
|
|
13438
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
13439
|
+
}, z.core.$strict>>;
|
|
13440
|
+
}, z.core.$strict>>;
|
|
13441
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
13442
|
+
kind: z.ZodEnum<{
|
|
13443
|
+
page: "page";
|
|
13444
|
+
component: "component";
|
|
13445
|
+
shared: "shared";
|
|
13446
|
+
}>;
|
|
13447
|
+
target_id: z.ZodString;
|
|
13448
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
13449
|
+
reason: z.ZodEnum<{
|
|
13450
|
+
conflict: "conflict";
|
|
13451
|
+
generation_failed: "generation_failed";
|
|
13452
|
+
repair_exhausted: "repair_exhausted";
|
|
13453
|
+
page_unusable: "page_unusable";
|
|
13454
|
+
check_incomplete: "check_incomplete";
|
|
13455
|
+
design_missing: "design_missing";
|
|
13456
|
+
chrome_fallback: "chrome_fallback";
|
|
13457
|
+
style_fallback: "style_fallback";
|
|
13458
|
+
resume_exhausted: "resume_exhausted";
|
|
13459
|
+
user_stopped: "user_stopped";
|
|
13460
|
+
}>;
|
|
13461
|
+
repair_attempts: z.ZodNumber;
|
|
13462
|
+
message: z.ZodString;
|
|
13463
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
13464
|
+
}, z.core.$strict>>;
|
|
13465
|
+
stopped_by_user: z.ZodBoolean;
|
|
13466
|
+
resume_count: z.ZodNumber;
|
|
13467
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
13468
|
+
updated_at: z.ZodString;
|
|
13469
|
+
}, z.core.$strict>;
|
|
13470
|
+
at: z.ZodString;
|
|
13295
13471
|
}, z.core.$strict>, z.ZodObject<{
|
|
13296
13472
|
type: z.ZodLiteral<"file.changed">;
|
|
13297
13473
|
path: z.ZodString;
|
|
@@ -13367,6 +13543,77 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13367
13543
|
sandbox_unavailable: "sandbox_unavailable";
|
|
13368
13544
|
}>>;
|
|
13369
13545
|
build_verified: z.ZodOptional<z.ZodBoolean>;
|
|
13546
|
+
generation_ledger: z.ZodOptional<z.ZodObject<{
|
|
13547
|
+
schema_version: z.ZodLiteral<1>;
|
|
13548
|
+
sitemap_id: z.ZodString;
|
|
13549
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
13550
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
13551
|
+
page_id: z.ZodString;
|
|
13552
|
+
slug: z.ZodString;
|
|
13553
|
+
title: z.ZodString;
|
|
13554
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
13555
|
+
result: z.ZodEnum<{
|
|
13556
|
+
partial: "partial";
|
|
13557
|
+
complete: "complete";
|
|
13558
|
+
pending: "pending";
|
|
13559
|
+
check_incomplete: "check_incomplete";
|
|
13560
|
+
omitted: "omitted";
|
|
13561
|
+
}>;
|
|
13562
|
+
attempts: z.ZodNumber;
|
|
13563
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
13564
|
+
kind: z.ZodEnum<{
|
|
13565
|
+
page: "page";
|
|
13566
|
+
component: "component";
|
|
13567
|
+
shared: "shared";
|
|
13568
|
+
}>;
|
|
13569
|
+
target_id: z.ZodString;
|
|
13570
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
13571
|
+
reason: z.ZodEnum<{
|
|
13572
|
+
conflict: "conflict";
|
|
13573
|
+
generation_failed: "generation_failed";
|
|
13574
|
+
repair_exhausted: "repair_exhausted";
|
|
13575
|
+
page_unusable: "page_unusable";
|
|
13576
|
+
check_incomplete: "check_incomplete";
|
|
13577
|
+
design_missing: "design_missing";
|
|
13578
|
+
chrome_fallback: "chrome_fallback";
|
|
13579
|
+
style_fallback: "style_fallback";
|
|
13580
|
+
resume_exhausted: "resume_exhausted";
|
|
13581
|
+
user_stopped: "user_stopped";
|
|
13582
|
+
}>;
|
|
13583
|
+
repair_attempts: z.ZodNumber;
|
|
13584
|
+
message: z.ZodString;
|
|
13585
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
13586
|
+
}, z.core.$strict>>;
|
|
13587
|
+
}, z.core.$strict>>;
|
|
13588
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
13589
|
+
kind: z.ZodEnum<{
|
|
13590
|
+
page: "page";
|
|
13591
|
+
component: "component";
|
|
13592
|
+
shared: "shared";
|
|
13593
|
+
}>;
|
|
13594
|
+
target_id: z.ZodString;
|
|
13595
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
13596
|
+
reason: z.ZodEnum<{
|
|
13597
|
+
conflict: "conflict";
|
|
13598
|
+
generation_failed: "generation_failed";
|
|
13599
|
+
repair_exhausted: "repair_exhausted";
|
|
13600
|
+
page_unusable: "page_unusable";
|
|
13601
|
+
check_incomplete: "check_incomplete";
|
|
13602
|
+
design_missing: "design_missing";
|
|
13603
|
+
chrome_fallback: "chrome_fallback";
|
|
13604
|
+
style_fallback: "style_fallback";
|
|
13605
|
+
resume_exhausted: "resume_exhausted";
|
|
13606
|
+
user_stopped: "user_stopped";
|
|
13607
|
+
}>;
|
|
13608
|
+
repair_attempts: z.ZodNumber;
|
|
13609
|
+
message: z.ZodString;
|
|
13610
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
13611
|
+
}, z.core.$strict>>;
|
|
13612
|
+
stopped_by_user: z.ZodBoolean;
|
|
13613
|
+
resume_count: z.ZodNumber;
|
|
13614
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
13615
|
+
updated_at: z.ZodString;
|
|
13616
|
+
}, z.core.$strict>>;
|
|
13370
13617
|
at: z.ZodString;
|
|
13371
13618
|
}, z.core.$strip>, z.ZodObject<{
|
|
13372
13619
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -13463,6 +13710,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
13463
13710
|
agent_run_id: z.ZodUUID;
|
|
13464
13711
|
sequence: z.ZodNumber;
|
|
13465
13712
|
event_type: z.ZodEnum<{
|
|
13713
|
+
"workspace.generation_ledger": "workspace.generation_ledger";
|
|
13466
13714
|
"run.started": "run.started";
|
|
13467
13715
|
"skill.selecting": "skill.selecting";
|
|
13468
13716
|
"skill.selected": "skill.selected";
|
|
@@ -13687,6 +13935,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
13687
13935
|
showInFooter: z.ZodBoolean;
|
|
13688
13936
|
order: z.ZodNumber;
|
|
13689
13937
|
}, z.core.$strict>;
|
|
13938
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13690
13939
|
}, z.core.$strict>>;
|
|
13691
13940
|
navigation: z.ZodObject<{
|
|
13692
13941
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -13980,6 +14229,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
13980
14229
|
landing_page: "landing_page";
|
|
13981
14230
|
initial_generation: "initial_generation";
|
|
13982
14231
|
iteration: "iteration";
|
|
14232
|
+
fill_in: "fill_in";
|
|
13983
14233
|
}>;
|
|
13984
14234
|
groups: z.ZodArray<z.ZodObject<{
|
|
13985
14235
|
group_id: z.ZodString;
|
|
@@ -14041,6 +14291,14 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
14041
14291
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14042
14292
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14043
14293
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
14294
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
14295
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
14296
|
+
name: z.ZodString;
|
|
14297
|
+
href: z.ZodNullable<z.ZodString>;
|
|
14298
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
14299
|
+
}, z.core.$strict>>;
|
|
14300
|
+
current: z.ZodString;
|
|
14301
|
+
}, z.core.$strict>>;
|
|
14044
14302
|
}, z.core.$strip>>;
|
|
14045
14303
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
14046
14304
|
from_group_id: z.ZodString;
|
|
@@ -14129,6 +14387,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
14129
14387
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
14130
14388
|
reason: z.ZodEnum<{
|
|
14131
14389
|
patch_protected_dropped: "patch_protected_dropped";
|
|
14390
|
+
preview_build_failed: "preview_build_failed";
|
|
14132
14391
|
block_placeholder: "block_placeholder";
|
|
14133
14392
|
form_placeholder: "form_placeholder";
|
|
14134
14393
|
preview_health_degraded: "preview_health_degraded";
|
|
@@ -14138,6 +14397,9 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
14138
14397
|
form_prebuild_skipped: "form_prebuild_skipped";
|
|
14139
14398
|
form_section_fallback: "form_section_fallback";
|
|
14140
14399
|
first_settings_sync_failed: "first_settings_sync_failed";
|
|
14400
|
+
component_omitted: "component_omitted";
|
|
14401
|
+
page_omitted: "page_omitted";
|
|
14402
|
+
shared_fallback: "shared_fallback";
|
|
14141
14403
|
}>;
|
|
14142
14404
|
degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14143
14405
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -14200,6 +14462,80 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
14200
14462
|
}>;
|
|
14201
14463
|
type: z.ZodLiteral<"workspace.suggestions">;
|
|
14202
14464
|
at: z.ZodString;
|
|
14465
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14466
|
+
type: z.ZodLiteral<"workspace.generation_ledger">;
|
|
14467
|
+
ledger: z.ZodObject<{
|
|
14468
|
+
schema_version: z.ZodLiteral<1>;
|
|
14469
|
+
sitemap_id: z.ZodString;
|
|
14470
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
14471
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
14472
|
+
page_id: z.ZodString;
|
|
14473
|
+
slug: z.ZodString;
|
|
14474
|
+
title: z.ZodString;
|
|
14475
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
14476
|
+
result: z.ZodEnum<{
|
|
14477
|
+
partial: "partial";
|
|
14478
|
+
complete: "complete";
|
|
14479
|
+
pending: "pending";
|
|
14480
|
+
check_incomplete: "check_incomplete";
|
|
14481
|
+
omitted: "omitted";
|
|
14482
|
+
}>;
|
|
14483
|
+
attempts: z.ZodNumber;
|
|
14484
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
14485
|
+
kind: z.ZodEnum<{
|
|
14486
|
+
page: "page";
|
|
14487
|
+
component: "component";
|
|
14488
|
+
shared: "shared";
|
|
14489
|
+
}>;
|
|
14490
|
+
target_id: z.ZodString;
|
|
14491
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
14492
|
+
reason: z.ZodEnum<{
|
|
14493
|
+
conflict: "conflict";
|
|
14494
|
+
generation_failed: "generation_failed";
|
|
14495
|
+
repair_exhausted: "repair_exhausted";
|
|
14496
|
+
page_unusable: "page_unusable";
|
|
14497
|
+
check_incomplete: "check_incomplete";
|
|
14498
|
+
design_missing: "design_missing";
|
|
14499
|
+
chrome_fallback: "chrome_fallback";
|
|
14500
|
+
style_fallback: "style_fallback";
|
|
14501
|
+
resume_exhausted: "resume_exhausted";
|
|
14502
|
+
user_stopped: "user_stopped";
|
|
14503
|
+
}>;
|
|
14504
|
+
repair_attempts: z.ZodNumber;
|
|
14505
|
+
message: z.ZodString;
|
|
14506
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
14507
|
+
}, z.core.$strict>>;
|
|
14508
|
+
}, z.core.$strict>>;
|
|
14509
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
14510
|
+
kind: z.ZodEnum<{
|
|
14511
|
+
page: "page";
|
|
14512
|
+
component: "component";
|
|
14513
|
+
shared: "shared";
|
|
14514
|
+
}>;
|
|
14515
|
+
target_id: z.ZodString;
|
|
14516
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
14517
|
+
reason: z.ZodEnum<{
|
|
14518
|
+
conflict: "conflict";
|
|
14519
|
+
generation_failed: "generation_failed";
|
|
14520
|
+
repair_exhausted: "repair_exhausted";
|
|
14521
|
+
page_unusable: "page_unusable";
|
|
14522
|
+
check_incomplete: "check_incomplete";
|
|
14523
|
+
design_missing: "design_missing";
|
|
14524
|
+
chrome_fallback: "chrome_fallback";
|
|
14525
|
+
style_fallback: "style_fallback";
|
|
14526
|
+
resume_exhausted: "resume_exhausted";
|
|
14527
|
+
user_stopped: "user_stopped";
|
|
14528
|
+
}>;
|
|
14529
|
+
repair_attempts: z.ZodNumber;
|
|
14530
|
+
message: z.ZodString;
|
|
14531
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
14532
|
+
}, z.core.$strict>>;
|
|
14533
|
+
stopped_by_user: z.ZodBoolean;
|
|
14534
|
+
resume_count: z.ZodNumber;
|
|
14535
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
14536
|
+
updated_at: z.ZodString;
|
|
14537
|
+
}, z.core.$strict>;
|
|
14538
|
+
at: z.ZodString;
|
|
14203
14539
|
}, z.core.$strict>, z.ZodObject<{
|
|
14204
14540
|
type: z.ZodLiteral<"file.changed">;
|
|
14205
14541
|
path: z.ZodString;
|
|
@@ -14275,6 +14611,77 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
14275
14611
|
sandbox_unavailable: "sandbox_unavailable";
|
|
14276
14612
|
}>>;
|
|
14277
14613
|
build_verified: z.ZodOptional<z.ZodBoolean>;
|
|
14614
|
+
generation_ledger: z.ZodOptional<z.ZodObject<{
|
|
14615
|
+
schema_version: z.ZodLiteral<1>;
|
|
14616
|
+
sitemap_id: z.ZodString;
|
|
14617
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
14618
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
14619
|
+
page_id: z.ZodString;
|
|
14620
|
+
slug: z.ZodString;
|
|
14621
|
+
title: z.ZodString;
|
|
14622
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
14623
|
+
result: z.ZodEnum<{
|
|
14624
|
+
partial: "partial";
|
|
14625
|
+
complete: "complete";
|
|
14626
|
+
pending: "pending";
|
|
14627
|
+
check_incomplete: "check_incomplete";
|
|
14628
|
+
omitted: "omitted";
|
|
14629
|
+
}>;
|
|
14630
|
+
attempts: z.ZodNumber;
|
|
14631
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
14632
|
+
kind: z.ZodEnum<{
|
|
14633
|
+
page: "page";
|
|
14634
|
+
component: "component";
|
|
14635
|
+
shared: "shared";
|
|
14636
|
+
}>;
|
|
14637
|
+
target_id: z.ZodString;
|
|
14638
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
14639
|
+
reason: z.ZodEnum<{
|
|
14640
|
+
conflict: "conflict";
|
|
14641
|
+
generation_failed: "generation_failed";
|
|
14642
|
+
repair_exhausted: "repair_exhausted";
|
|
14643
|
+
page_unusable: "page_unusable";
|
|
14644
|
+
check_incomplete: "check_incomplete";
|
|
14645
|
+
design_missing: "design_missing";
|
|
14646
|
+
chrome_fallback: "chrome_fallback";
|
|
14647
|
+
style_fallback: "style_fallback";
|
|
14648
|
+
resume_exhausted: "resume_exhausted";
|
|
14649
|
+
user_stopped: "user_stopped";
|
|
14650
|
+
}>;
|
|
14651
|
+
repair_attempts: z.ZodNumber;
|
|
14652
|
+
message: z.ZodString;
|
|
14653
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
14654
|
+
}, z.core.$strict>>;
|
|
14655
|
+
}, z.core.$strict>>;
|
|
14656
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
14657
|
+
kind: z.ZodEnum<{
|
|
14658
|
+
page: "page";
|
|
14659
|
+
component: "component";
|
|
14660
|
+
shared: "shared";
|
|
14661
|
+
}>;
|
|
14662
|
+
target_id: z.ZodString;
|
|
14663
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
14664
|
+
reason: z.ZodEnum<{
|
|
14665
|
+
conflict: "conflict";
|
|
14666
|
+
generation_failed: "generation_failed";
|
|
14667
|
+
repair_exhausted: "repair_exhausted";
|
|
14668
|
+
page_unusable: "page_unusable";
|
|
14669
|
+
check_incomplete: "check_incomplete";
|
|
14670
|
+
design_missing: "design_missing";
|
|
14671
|
+
chrome_fallback: "chrome_fallback";
|
|
14672
|
+
style_fallback: "style_fallback";
|
|
14673
|
+
resume_exhausted: "resume_exhausted";
|
|
14674
|
+
user_stopped: "user_stopped";
|
|
14675
|
+
}>;
|
|
14676
|
+
repair_attempts: z.ZodNumber;
|
|
14677
|
+
message: z.ZodString;
|
|
14678
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
14679
|
+
}, z.core.$strict>>;
|
|
14680
|
+
stopped_by_user: z.ZodBoolean;
|
|
14681
|
+
resume_count: z.ZodNumber;
|
|
14682
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
14683
|
+
updated_at: z.ZodString;
|
|
14684
|
+
}, z.core.$strict>>;
|
|
14278
14685
|
at: z.ZodString;
|
|
14279
14686
|
}, z.core.$strip>, z.ZodObject<{
|
|
14280
14687
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -14369,6 +14776,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
14369
14776
|
export type AgentEventRecord = z.infer<typeof AgentEventRecordSchema>;
|
|
14370
14777
|
export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
14371
14778
|
event_type: z.ZodEnum<{
|
|
14779
|
+
"workspace.generation_ledger": "workspace.generation_ledger";
|
|
14372
14780
|
"run.started": "run.started";
|
|
14373
14781
|
"skill.selecting": "skill.selecting";
|
|
14374
14782
|
"skill.selected": "skill.selected";
|
|
@@ -14593,6 +15001,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
14593
15001
|
showInFooter: z.ZodBoolean;
|
|
14594
15002
|
order: z.ZodNumber;
|
|
14595
15003
|
}, z.core.$strict>;
|
|
15004
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14596
15005
|
}, z.core.$strict>>;
|
|
14597
15006
|
navigation: z.ZodObject<{
|
|
14598
15007
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -14886,6 +15295,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
14886
15295
|
landing_page: "landing_page";
|
|
14887
15296
|
initial_generation: "initial_generation";
|
|
14888
15297
|
iteration: "iteration";
|
|
15298
|
+
fill_in: "fill_in";
|
|
14889
15299
|
}>;
|
|
14890
15300
|
groups: z.ZodArray<z.ZodObject<{
|
|
14891
15301
|
group_id: z.ZodString;
|
|
@@ -14947,6 +15357,14 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
14947
15357
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14948
15358
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14949
15359
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
15360
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
15361
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
15362
|
+
name: z.ZodString;
|
|
15363
|
+
href: z.ZodNullable<z.ZodString>;
|
|
15364
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
15365
|
+
}, z.core.$strict>>;
|
|
15366
|
+
current: z.ZodString;
|
|
15367
|
+
}, z.core.$strict>>;
|
|
14950
15368
|
}, z.core.$strip>>;
|
|
14951
15369
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
14952
15370
|
from_group_id: z.ZodString;
|
|
@@ -15035,6 +15453,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
15035
15453
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
15036
15454
|
reason: z.ZodEnum<{
|
|
15037
15455
|
patch_protected_dropped: "patch_protected_dropped";
|
|
15456
|
+
preview_build_failed: "preview_build_failed";
|
|
15038
15457
|
block_placeholder: "block_placeholder";
|
|
15039
15458
|
form_placeholder: "form_placeholder";
|
|
15040
15459
|
preview_health_degraded: "preview_health_degraded";
|
|
@@ -15044,6 +15463,9 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
15044
15463
|
form_prebuild_skipped: "form_prebuild_skipped";
|
|
15045
15464
|
form_section_fallback: "form_section_fallback";
|
|
15046
15465
|
first_settings_sync_failed: "first_settings_sync_failed";
|
|
15466
|
+
component_omitted: "component_omitted";
|
|
15467
|
+
page_omitted: "page_omitted";
|
|
15468
|
+
shared_fallback: "shared_fallback";
|
|
15047
15469
|
}>;
|
|
15048
15470
|
degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15049
15471
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -15106,6 +15528,80 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
15106
15528
|
}>;
|
|
15107
15529
|
type: z.ZodLiteral<"workspace.suggestions">;
|
|
15108
15530
|
at: z.ZodString;
|
|
15531
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15532
|
+
type: z.ZodLiteral<"workspace.generation_ledger">;
|
|
15533
|
+
ledger: z.ZodObject<{
|
|
15534
|
+
schema_version: z.ZodLiteral<1>;
|
|
15535
|
+
sitemap_id: z.ZodString;
|
|
15536
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
15537
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
15538
|
+
page_id: z.ZodString;
|
|
15539
|
+
slug: z.ZodString;
|
|
15540
|
+
title: z.ZodString;
|
|
15541
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
15542
|
+
result: z.ZodEnum<{
|
|
15543
|
+
partial: "partial";
|
|
15544
|
+
complete: "complete";
|
|
15545
|
+
pending: "pending";
|
|
15546
|
+
check_incomplete: "check_incomplete";
|
|
15547
|
+
omitted: "omitted";
|
|
15548
|
+
}>;
|
|
15549
|
+
attempts: z.ZodNumber;
|
|
15550
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
15551
|
+
kind: z.ZodEnum<{
|
|
15552
|
+
page: "page";
|
|
15553
|
+
component: "component";
|
|
15554
|
+
shared: "shared";
|
|
15555
|
+
}>;
|
|
15556
|
+
target_id: z.ZodString;
|
|
15557
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
15558
|
+
reason: z.ZodEnum<{
|
|
15559
|
+
conflict: "conflict";
|
|
15560
|
+
generation_failed: "generation_failed";
|
|
15561
|
+
repair_exhausted: "repair_exhausted";
|
|
15562
|
+
page_unusable: "page_unusable";
|
|
15563
|
+
check_incomplete: "check_incomplete";
|
|
15564
|
+
design_missing: "design_missing";
|
|
15565
|
+
chrome_fallback: "chrome_fallback";
|
|
15566
|
+
style_fallback: "style_fallback";
|
|
15567
|
+
resume_exhausted: "resume_exhausted";
|
|
15568
|
+
user_stopped: "user_stopped";
|
|
15569
|
+
}>;
|
|
15570
|
+
repair_attempts: z.ZodNumber;
|
|
15571
|
+
message: z.ZodString;
|
|
15572
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
15573
|
+
}, z.core.$strict>>;
|
|
15574
|
+
}, z.core.$strict>>;
|
|
15575
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
15576
|
+
kind: z.ZodEnum<{
|
|
15577
|
+
page: "page";
|
|
15578
|
+
component: "component";
|
|
15579
|
+
shared: "shared";
|
|
15580
|
+
}>;
|
|
15581
|
+
target_id: z.ZodString;
|
|
15582
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
15583
|
+
reason: z.ZodEnum<{
|
|
15584
|
+
conflict: "conflict";
|
|
15585
|
+
generation_failed: "generation_failed";
|
|
15586
|
+
repair_exhausted: "repair_exhausted";
|
|
15587
|
+
page_unusable: "page_unusable";
|
|
15588
|
+
check_incomplete: "check_incomplete";
|
|
15589
|
+
design_missing: "design_missing";
|
|
15590
|
+
chrome_fallback: "chrome_fallback";
|
|
15591
|
+
style_fallback: "style_fallback";
|
|
15592
|
+
resume_exhausted: "resume_exhausted";
|
|
15593
|
+
user_stopped: "user_stopped";
|
|
15594
|
+
}>;
|
|
15595
|
+
repair_attempts: z.ZodNumber;
|
|
15596
|
+
message: z.ZodString;
|
|
15597
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
15598
|
+
}, z.core.$strict>>;
|
|
15599
|
+
stopped_by_user: z.ZodBoolean;
|
|
15600
|
+
resume_count: z.ZodNumber;
|
|
15601
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
15602
|
+
updated_at: z.ZodString;
|
|
15603
|
+
}, z.core.$strict>;
|
|
15604
|
+
at: z.ZodString;
|
|
15109
15605
|
}, z.core.$strict>, z.ZodObject<{
|
|
15110
15606
|
type: z.ZodLiteral<"file.changed">;
|
|
15111
15607
|
path: z.ZodString;
|
|
@@ -15181,6 +15677,77 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
15181
15677
|
sandbox_unavailable: "sandbox_unavailable";
|
|
15182
15678
|
}>>;
|
|
15183
15679
|
build_verified: z.ZodOptional<z.ZodBoolean>;
|
|
15680
|
+
generation_ledger: z.ZodOptional<z.ZodObject<{
|
|
15681
|
+
schema_version: z.ZodLiteral<1>;
|
|
15682
|
+
sitemap_id: z.ZodString;
|
|
15683
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
15684
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
15685
|
+
page_id: z.ZodString;
|
|
15686
|
+
slug: z.ZodString;
|
|
15687
|
+
title: z.ZodString;
|
|
15688
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
15689
|
+
result: z.ZodEnum<{
|
|
15690
|
+
partial: "partial";
|
|
15691
|
+
complete: "complete";
|
|
15692
|
+
pending: "pending";
|
|
15693
|
+
check_incomplete: "check_incomplete";
|
|
15694
|
+
omitted: "omitted";
|
|
15695
|
+
}>;
|
|
15696
|
+
attempts: z.ZodNumber;
|
|
15697
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
15698
|
+
kind: z.ZodEnum<{
|
|
15699
|
+
page: "page";
|
|
15700
|
+
component: "component";
|
|
15701
|
+
shared: "shared";
|
|
15702
|
+
}>;
|
|
15703
|
+
target_id: z.ZodString;
|
|
15704
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
15705
|
+
reason: z.ZodEnum<{
|
|
15706
|
+
conflict: "conflict";
|
|
15707
|
+
generation_failed: "generation_failed";
|
|
15708
|
+
repair_exhausted: "repair_exhausted";
|
|
15709
|
+
page_unusable: "page_unusable";
|
|
15710
|
+
check_incomplete: "check_incomplete";
|
|
15711
|
+
design_missing: "design_missing";
|
|
15712
|
+
chrome_fallback: "chrome_fallback";
|
|
15713
|
+
style_fallback: "style_fallback";
|
|
15714
|
+
resume_exhausted: "resume_exhausted";
|
|
15715
|
+
user_stopped: "user_stopped";
|
|
15716
|
+
}>;
|
|
15717
|
+
repair_attempts: z.ZodNumber;
|
|
15718
|
+
message: z.ZodString;
|
|
15719
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
15720
|
+
}, z.core.$strict>>;
|
|
15721
|
+
}, z.core.$strict>>;
|
|
15722
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
15723
|
+
kind: z.ZodEnum<{
|
|
15724
|
+
page: "page";
|
|
15725
|
+
component: "component";
|
|
15726
|
+
shared: "shared";
|
|
15727
|
+
}>;
|
|
15728
|
+
target_id: z.ZodString;
|
|
15729
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
15730
|
+
reason: z.ZodEnum<{
|
|
15731
|
+
conflict: "conflict";
|
|
15732
|
+
generation_failed: "generation_failed";
|
|
15733
|
+
repair_exhausted: "repair_exhausted";
|
|
15734
|
+
page_unusable: "page_unusable";
|
|
15735
|
+
check_incomplete: "check_incomplete";
|
|
15736
|
+
design_missing: "design_missing";
|
|
15737
|
+
chrome_fallback: "chrome_fallback";
|
|
15738
|
+
style_fallback: "style_fallback";
|
|
15739
|
+
resume_exhausted: "resume_exhausted";
|
|
15740
|
+
user_stopped: "user_stopped";
|
|
15741
|
+
}>;
|
|
15742
|
+
repair_attempts: z.ZodNumber;
|
|
15743
|
+
message: z.ZodString;
|
|
15744
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
15745
|
+
}, z.core.$strict>>;
|
|
15746
|
+
stopped_by_user: z.ZodBoolean;
|
|
15747
|
+
resume_count: z.ZodNumber;
|
|
15748
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
15749
|
+
updated_at: z.ZodString;
|
|
15750
|
+
}, z.core.$strict>>;
|
|
15184
15751
|
at: z.ZodString;
|
|
15185
15752
|
}, z.core.$strip>, z.ZodObject<{
|
|
15186
15753
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -15284,10 +15851,11 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
15284
15851
|
}>;
|
|
15285
15852
|
run_kind: z.ZodEnum<{
|
|
15286
15853
|
landing_page: "landing_page";
|
|
15287
|
-
sitemap: "sitemap";
|
|
15288
|
-
clarify: "clarify";
|
|
15289
15854
|
initial_generation: "initial_generation";
|
|
15290
15855
|
iteration: "iteration";
|
|
15856
|
+
fill_in: "fill_in";
|
|
15857
|
+
sitemap: "sitemap";
|
|
15858
|
+
clarify: "clarify";
|
|
15291
15859
|
}>;
|
|
15292
15860
|
status: z.ZodEnum<{
|
|
15293
15861
|
succeeded: "succeeded";
|
|
@@ -15315,6 +15883,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
15315
15883
|
agent_run_id: z.ZodUUID;
|
|
15316
15884
|
sequence: z.ZodNumber;
|
|
15317
15885
|
event_type: z.ZodEnum<{
|
|
15886
|
+
"workspace.generation_ledger": "workspace.generation_ledger";
|
|
15318
15887
|
"run.started": "run.started";
|
|
15319
15888
|
"skill.selecting": "skill.selecting";
|
|
15320
15889
|
"skill.selected": "skill.selected";
|
|
@@ -15539,6 +16108,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
15539
16108
|
showInFooter: z.ZodBoolean;
|
|
15540
16109
|
order: z.ZodNumber;
|
|
15541
16110
|
}, z.core.$strict>;
|
|
16111
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15542
16112
|
}, z.core.$strict>>;
|
|
15543
16113
|
navigation: z.ZodObject<{
|
|
15544
16114
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -15832,6 +16402,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
15832
16402
|
landing_page: "landing_page";
|
|
15833
16403
|
initial_generation: "initial_generation";
|
|
15834
16404
|
iteration: "iteration";
|
|
16405
|
+
fill_in: "fill_in";
|
|
15835
16406
|
}>;
|
|
15836
16407
|
groups: z.ZodArray<z.ZodObject<{
|
|
15837
16408
|
group_id: z.ZodString;
|
|
@@ -15893,6 +16464,14 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
15893
16464
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15894
16465
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15895
16466
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
16467
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
16468
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
16469
|
+
name: z.ZodString;
|
|
16470
|
+
href: z.ZodNullable<z.ZodString>;
|
|
16471
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
16472
|
+
}, z.core.$strict>>;
|
|
16473
|
+
current: z.ZodString;
|
|
16474
|
+
}, z.core.$strict>>;
|
|
15896
16475
|
}, z.core.$strip>>;
|
|
15897
16476
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
15898
16477
|
from_group_id: z.ZodString;
|
|
@@ -15981,6 +16560,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
15981
16560
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
15982
16561
|
reason: z.ZodEnum<{
|
|
15983
16562
|
patch_protected_dropped: "patch_protected_dropped";
|
|
16563
|
+
preview_build_failed: "preview_build_failed";
|
|
15984
16564
|
block_placeholder: "block_placeholder";
|
|
15985
16565
|
form_placeholder: "form_placeholder";
|
|
15986
16566
|
preview_health_degraded: "preview_health_degraded";
|
|
@@ -15990,6 +16570,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
15990
16570
|
form_prebuild_skipped: "form_prebuild_skipped";
|
|
15991
16571
|
form_section_fallback: "form_section_fallback";
|
|
15992
16572
|
first_settings_sync_failed: "first_settings_sync_failed";
|
|
16573
|
+
component_omitted: "component_omitted";
|
|
16574
|
+
page_omitted: "page_omitted";
|
|
16575
|
+
shared_fallback: "shared_fallback";
|
|
15993
16576
|
}>;
|
|
15994
16577
|
degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15995
16578
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -16052,6 +16635,80 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16052
16635
|
}>;
|
|
16053
16636
|
type: z.ZodLiteral<"workspace.suggestions">;
|
|
16054
16637
|
at: z.ZodString;
|
|
16638
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16639
|
+
type: z.ZodLiteral<"workspace.generation_ledger">;
|
|
16640
|
+
ledger: z.ZodObject<{
|
|
16641
|
+
schema_version: z.ZodLiteral<1>;
|
|
16642
|
+
sitemap_id: z.ZodString;
|
|
16643
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
16644
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
16645
|
+
page_id: z.ZodString;
|
|
16646
|
+
slug: z.ZodString;
|
|
16647
|
+
title: z.ZodString;
|
|
16648
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
16649
|
+
result: z.ZodEnum<{
|
|
16650
|
+
partial: "partial";
|
|
16651
|
+
complete: "complete";
|
|
16652
|
+
pending: "pending";
|
|
16653
|
+
check_incomplete: "check_incomplete";
|
|
16654
|
+
omitted: "omitted";
|
|
16655
|
+
}>;
|
|
16656
|
+
attempts: z.ZodNumber;
|
|
16657
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
16658
|
+
kind: z.ZodEnum<{
|
|
16659
|
+
page: "page";
|
|
16660
|
+
component: "component";
|
|
16661
|
+
shared: "shared";
|
|
16662
|
+
}>;
|
|
16663
|
+
target_id: z.ZodString;
|
|
16664
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
16665
|
+
reason: z.ZodEnum<{
|
|
16666
|
+
conflict: "conflict";
|
|
16667
|
+
generation_failed: "generation_failed";
|
|
16668
|
+
repair_exhausted: "repair_exhausted";
|
|
16669
|
+
page_unusable: "page_unusable";
|
|
16670
|
+
check_incomplete: "check_incomplete";
|
|
16671
|
+
design_missing: "design_missing";
|
|
16672
|
+
chrome_fallback: "chrome_fallback";
|
|
16673
|
+
style_fallback: "style_fallback";
|
|
16674
|
+
resume_exhausted: "resume_exhausted";
|
|
16675
|
+
user_stopped: "user_stopped";
|
|
16676
|
+
}>;
|
|
16677
|
+
repair_attempts: z.ZodNumber;
|
|
16678
|
+
message: z.ZodString;
|
|
16679
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
16680
|
+
}, z.core.$strict>>;
|
|
16681
|
+
}, z.core.$strict>>;
|
|
16682
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
16683
|
+
kind: z.ZodEnum<{
|
|
16684
|
+
page: "page";
|
|
16685
|
+
component: "component";
|
|
16686
|
+
shared: "shared";
|
|
16687
|
+
}>;
|
|
16688
|
+
target_id: z.ZodString;
|
|
16689
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
16690
|
+
reason: z.ZodEnum<{
|
|
16691
|
+
conflict: "conflict";
|
|
16692
|
+
generation_failed: "generation_failed";
|
|
16693
|
+
repair_exhausted: "repair_exhausted";
|
|
16694
|
+
page_unusable: "page_unusable";
|
|
16695
|
+
check_incomplete: "check_incomplete";
|
|
16696
|
+
design_missing: "design_missing";
|
|
16697
|
+
chrome_fallback: "chrome_fallback";
|
|
16698
|
+
style_fallback: "style_fallback";
|
|
16699
|
+
resume_exhausted: "resume_exhausted";
|
|
16700
|
+
user_stopped: "user_stopped";
|
|
16701
|
+
}>;
|
|
16702
|
+
repair_attempts: z.ZodNumber;
|
|
16703
|
+
message: z.ZodString;
|
|
16704
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
16705
|
+
}, z.core.$strict>>;
|
|
16706
|
+
stopped_by_user: z.ZodBoolean;
|
|
16707
|
+
resume_count: z.ZodNumber;
|
|
16708
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
16709
|
+
updated_at: z.ZodString;
|
|
16710
|
+
}, z.core.$strict>;
|
|
16711
|
+
at: z.ZodString;
|
|
16055
16712
|
}, z.core.$strict>, z.ZodObject<{
|
|
16056
16713
|
type: z.ZodLiteral<"file.changed">;
|
|
16057
16714
|
path: z.ZodString;
|
|
@@ -16127,6 +16784,77 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16127
16784
|
sandbox_unavailable: "sandbox_unavailable";
|
|
16128
16785
|
}>>;
|
|
16129
16786
|
build_verified: z.ZodOptional<z.ZodBoolean>;
|
|
16787
|
+
generation_ledger: z.ZodOptional<z.ZodObject<{
|
|
16788
|
+
schema_version: z.ZodLiteral<1>;
|
|
16789
|
+
sitemap_id: z.ZodString;
|
|
16790
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
16791
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
16792
|
+
page_id: z.ZodString;
|
|
16793
|
+
slug: z.ZodString;
|
|
16794
|
+
title: z.ZodString;
|
|
16795
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
16796
|
+
result: z.ZodEnum<{
|
|
16797
|
+
partial: "partial";
|
|
16798
|
+
complete: "complete";
|
|
16799
|
+
pending: "pending";
|
|
16800
|
+
check_incomplete: "check_incomplete";
|
|
16801
|
+
omitted: "omitted";
|
|
16802
|
+
}>;
|
|
16803
|
+
attempts: z.ZodNumber;
|
|
16804
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
16805
|
+
kind: z.ZodEnum<{
|
|
16806
|
+
page: "page";
|
|
16807
|
+
component: "component";
|
|
16808
|
+
shared: "shared";
|
|
16809
|
+
}>;
|
|
16810
|
+
target_id: z.ZodString;
|
|
16811
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
16812
|
+
reason: z.ZodEnum<{
|
|
16813
|
+
conflict: "conflict";
|
|
16814
|
+
generation_failed: "generation_failed";
|
|
16815
|
+
repair_exhausted: "repair_exhausted";
|
|
16816
|
+
page_unusable: "page_unusable";
|
|
16817
|
+
check_incomplete: "check_incomplete";
|
|
16818
|
+
design_missing: "design_missing";
|
|
16819
|
+
chrome_fallback: "chrome_fallback";
|
|
16820
|
+
style_fallback: "style_fallback";
|
|
16821
|
+
resume_exhausted: "resume_exhausted";
|
|
16822
|
+
user_stopped: "user_stopped";
|
|
16823
|
+
}>;
|
|
16824
|
+
repair_attempts: z.ZodNumber;
|
|
16825
|
+
message: z.ZodString;
|
|
16826
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
16827
|
+
}, z.core.$strict>>;
|
|
16828
|
+
}, z.core.$strict>>;
|
|
16829
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
16830
|
+
kind: z.ZodEnum<{
|
|
16831
|
+
page: "page";
|
|
16832
|
+
component: "component";
|
|
16833
|
+
shared: "shared";
|
|
16834
|
+
}>;
|
|
16835
|
+
target_id: z.ZodString;
|
|
16836
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
16837
|
+
reason: z.ZodEnum<{
|
|
16838
|
+
conflict: "conflict";
|
|
16839
|
+
generation_failed: "generation_failed";
|
|
16840
|
+
repair_exhausted: "repair_exhausted";
|
|
16841
|
+
page_unusable: "page_unusable";
|
|
16842
|
+
check_incomplete: "check_incomplete";
|
|
16843
|
+
design_missing: "design_missing";
|
|
16844
|
+
chrome_fallback: "chrome_fallback";
|
|
16845
|
+
style_fallback: "style_fallback";
|
|
16846
|
+
resume_exhausted: "resume_exhausted";
|
|
16847
|
+
user_stopped: "user_stopped";
|
|
16848
|
+
}>;
|
|
16849
|
+
repair_attempts: z.ZodNumber;
|
|
16850
|
+
message: z.ZodString;
|
|
16851
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
16852
|
+
}, z.core.$strict>>;
|
|
16853
|
+
stopped_by_user: z.ZodBoolean;
|
|
16854
|
+
resume_count: z.ZodNumber;
|
|
16855
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
16856
|
+
updated_at: z.ZodString;
|
|
16857
|
+
}, z.core.$strict>>;
|
|
16130
16858
|
at: z.ZodString;
|
|
16131
16859
|
}, z.core.$strip>, z.ZodObject<{
|
|
16132
16860
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -16232,10 +16960,11 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16232
16960
|
}>;
|
|
16233
16961
|
run_kind: z.ZodEnum<{
|
|
16234
16962
|
landing_page: "landing_page";
|
|
16235
|
-
sitemap: "sitemap";
|
|
16236
|
-
clarify: "clarify";
|
|
16237
16963
|
initial_generation: "initial_generation";
|
|
16238
16964
|
iteration: "iteration";
|
|
16965
|
+
fill_in: "fill_in";
|
|
16966
|
+
sitemap: "sitemap";
|
|
16967
|
+
clarify: "clarify";
|
|
16239
16968
|
}>;
|
|
16240
16969
|
status: z.ZodEnum<{
|
|
16241
16970
|
succeeded: "succeeded";
|
|
@@ -16263,6 +16992,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16263
16992
|
agent_run_id: z.ZodUUID;
|
|
16264
16993
|
sequence: z.ZodNumber;
|
|
16265
16994
|
event_type: z.ZodEnum<{
|
|
16995
|
+
"workspace.generation_ledger": "workspace.generation_ledger";
|
|
16266
16996
|
"run.started": "run.started";
|
|
16267
16997
|
"skill.selecting": "skill.selecting";
|
|
16268
16998
|
"skill.selected": "skill.selected";
|
|
@@ -16487,6 +17217,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16487
17217
|
showInFooter: z.ZodBoolean;
|
|
16488
17218
|
order: z.ZodNumber;
|
|
16489
17219
|
}, z.core.$strict>;
|
|
17220
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16490
17221
|
}, z.core.$strict>>;
|
|
16491
17222
|
navigation: z.ZodObject<{
|
|
16492
17223
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -16780,6 +17511,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16780
17511
|
landing_page: "landing_page";
|
|
16781
17512
|
initial_generation: "initial_generation";
|
|
16782
17513
|
iteration: "iteration";
|
|
17514
|
+
fill_in: "fill_in";
|
|
16783
17515
|
}>;
|
|
16784
17516
|
groups: z.ZodArray<z.ZodObject<{
|
|
16785
17517
|
group_id: z.ZodString;
|
|
@@ -16841,6 +17573,14 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16841
17573
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16842
17574
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16843
17575
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
17576
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
17577
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
17578
|
+
name: z.ZodString;
|
|
17579
|
+
href: z.ZodNullable<z.ZodString>;
|
|
17580
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
17581
|
+
}, z.core.$strict>>;
|
|
17582
|
+
current: z.ZodString;
|
|
17583
|
+
}, z.core.$strict>>;
|
|
16844
17584
|
}, z.core.$strip>>;
|
|
16845
17585
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
16846
17586
|
from_group_id: z.ZodString;
|
|
@@ -16929,6 +17669,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16929
17669
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
16930
17670
|
reason: z.ZodEnum<{
|
|
16931
17671
|
patch_protected_dropped: "patch_protected_dropped";
|
|
17672
|
+
preview_build_failed: "preview_build_failed";
|
|
16932
17673
|
block_placeholder: "block_placeholder";
|
|
16933
17674
|
form_placeholder: "form_placeholder";
|
|
16934
17675
|
preview_health_degraded: "preview_health_degraded";
|
|
@@ -16938,6 +17679,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
16938
17679
|
form_prebuild_skipped: "form_prebuild_skipped";
|
|
16939
17680
|
form_section_fallback: "form_section_fallback";
|
|
16940
17681
|
first_settings_sync_failed: "first_settings_sync_failed";
|
|
17682
|
+
component_omitted: "component_omitted";
|
|
17683
|
+
page_omitted: "page_omitted";
|
|
17684
|
+
shared_fallback: "shared_fallback";
|
|
16941
17685
|
}>;
|
|
16942
17686
|
degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16943
17687
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -17000,6 +17744,80 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
17000
17744
|
}>;
|
|
17001
17745
|
type: z.ZodLiteral<"workspace.suggestions">;
|
|
17002
17746
|
at: z.ZodString;
|
|
17747
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17748
|
+
type: z.ZodLiteral<"workspace.generation_ledger">;
|
|
17749
|
+
ledger: z.ZodObject<{
|
|
17750
|
+
schema_version: z.ZodLiteral<1>;
|
|
17751
|
+
sitemap_id: z.ZodString;
|
|
17752
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
17753
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
17754
|
+
page_id: z.ZodString;
|
|
17755
|
+
slug: z.ZodString;
|
|
17756
|
+
title: z.ZodString;
|
|
17757
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
17758
|
+
result: z.ZodEnum<{
|
|
17759
|
+
partial: "partial";
|
|
17760
|
+
complete: "complete";
|
|
17761
|
+
pending: "pending";
|
|
17762
|
+
check_incomplete: "check_incomplete";
|
|
17763
|
+
omitted: "omitted";
|
|
17764
|
+
}>;
|
|
17765
|
+
attempts: z.ZodNumber;
|
|
17766
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
17767
|
+
kind: z.ZodEnum<{
|
|
17768
|
+
page: "page";
|
|
17769
|
+
component: "component";
|
|
17770
|
+
shared: "shared";
|
|
17771
|
+
}>;
|
|
17772
|
+
target_id: z.ZodString;
|
|
17773
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
17774
|
+
reason: z.ZodEnum<{
|
|
17775
|
+
conflict: "conflict";
|
|
17776
|
+
generation_failed: "generation_failed";
|
|
17777
|
+
repair_exhausted: "repair_exhausted";
|
|
17778
|
+
page_unusable: "page_unusable";
|
|
17779
|
+
check_incomplete: "check_incomplete";
|
|
17780
|
+
design_missing: "design_missing";
|
|
17781
|
+
chrome_fallback: "chrome_fallback";
|
|
17782
|
+
style_fallback: "style_fallback";
|
|
17783
|
+
resume_exhausted: "resume_exhausted";
|
|
17784
|
+
user_stopped: "user_stopped";
|
|
17785
|
+
}>;
|
|
17786
|
+
repair_attempts: z.ZodNumber;
|
|
17787
|
+
message: z.ZodString;
|
|
17788
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
17789
|
+
}, z.core.$strict>>;
|
|
17790
|
+
}, z.core.$strict>>;
|
|
17791
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
17792
|
+
kind: z.ZodEnum<{
|
|
17793
|
+
page: "page";
|
|
17794
|
+
component: "component";
|
|
17795
|
+
shared: "shared";
|
|
17796
|
+
}>;
|
|
17797
|
+
target_id: z.ZodString;
|
|
17798
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
17799
|
+
reason: z.ZodEnum<{
|
|
17800
|
+
conflict: "conflict";
|
|
17801
|
+
generation_failed: "generation_failed";
|
|
17802
|
+
repair_exhausted: "repair_exhausted";
|
|
17803
|
+
page_unusable: "page_unusable";
|
|
17804
|
+
check_incomplete: "check_incomplete";
|
|
17805
|
+
design_missing: "design_missing";
|
|
17806
|
+
chrome_fallback: "chrome_fallback";
|
|
17807
|
+
style_fallback: "style_fallback";
|
|
17808
|
+
resume_exhausted: "resume_exhausted";
|
|
17809
|
+
user_stopped: "user_stopped";
|
|
17810
|
+
}>;
|
|
17811
|
+
repair_attempts: z.ZodNumber;
|
|
17812
|
+
message: z.ZodString;
|
|
17813
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
17814
|
+
}, z.core.$strict>>;
|
|
17815
|
+
stopped_by_user: z.ZodBoolean;
|
|
17816
|
+
resume_count: z.ZodNumber;
|
|
17817
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
17818
|
+
updated_at: z.ZodString;
|
|
17819
|
+
}, z.core.$strict>;
|
|
17820
|
+
at: z.ZodString;
|
|
17003
17821
|
}, z.core.$strict>, z.ZodObject<{
|
|
17004
17822
|
type: z.ZodLiteral<"file.changed">;
|
|
17005
17823
|
path: z.ZodString;
|
|
@@ -17075,6 +17893,77 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
17075
17893
|
sandbox_unavailable: "sandbox_unavailable";
|
|
17076
17894
|
}>>;
|
|
17077
17895
|
build_verified: z.ZodOptional<z.ZodBoolean>;
|
|
17896
|
+
generation_ledger: z.ZodOptional<z.ZodObject<{
|
|
17897
|
+
schema_version: z.ZodLiteral<1>;
|
|
17898
|
+
sitemap_id: z.ZodString;
|
|
17899
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
17900
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
17901
|
+
page_id: z.ZodString;
|
|
17902
|
+
slug: z.ZodString;
|
|
17903
|
+
title: z.ZodString;
|
|
17904
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
17905
|
+
result: z.ZodEnum<{
|
|
17906
|
+
partial: "partial";
|
|
17907
|
+
complete: "complete";
|
|
17908
|
+
pending: "pending";
|
|
17909
|
+
check_incomplete: "check_incomplete";
|
|
17910
|
+
omitted: "omitted";
|
|
17911
|
+
}>;
|
|
17912
|
+
attempts: z.ZodNumber;
|
|
17913
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
17914
|
+
kind: z.ZodEnum<{
|
|
17915
|
+
page: "page";
|
|
17916
|
+
component: "component";
|
|
17917
|
+
shared: "shared";
|
|
17918
|
+
}>;
|
|
17919
|
+
target_id: z.ZodString;
|
|
17920
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
17921
|
+
reason: z.ZodEnum<{
|
|
17922
|
+
conflict: "conflict";
|
|
17923
|
+
generation_failed: "generation_failed";
|
|
17924
|
+
repair_exhausted: "repair_exhausted";
|
|
17925
|
+
page_unusable: "page_unusable";
|
|
17926
|
+
check_incomplete: "check_incomplete";
|
|
17927
|
+
design_missing: "design_missing";
|
|
17928
|
+
chrome_fallback: "chrome_fallback";
|
|
17929
|
+
style_fallback: "style_fallback";
|
|
17930
|
+
resume_exhausted: "resume_exhausted";
|
|
17931
|
+
user_stopped: "user_stopped";
|
|
17932
|
+
}>;
|
|
17933
|
+
repair_attempts: z.ZodNumber;
|
|
17934
|
+
message: z.ZodString;
|
|
17935
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
17936
|
+
}, z.core.$strict>>;
|
|
17937
|
+
}, z.core.$strict>>;
|
|
17938
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
17939
|
+
kind: z.ZodEnum<{
|
|
17940
|
+
page: "page";
|
|
17941
|
+
component: "component";
|
|
17942
|
+
shared: "shared";
|
|
17943
|
+
}>;
|
|
17944
|
+
target_id: z.ZodString;
|
|
17945
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
17946
|
+
reason: z.ZodEnum<{
|
|
17947
|
+
conflict: "conflict";
|
|
17948
|
+
generation_failed: "generation_failed";
|
|
17949
|
+
repair_exhausted: "repair_exhausted";
|
|
17950
|
+
page_unusable: "page_unusable";
|
|
17951
|
+
check_incomplete: "check_incomplete";
|
|
17952
|
+
design_missing: "design_missing";
|
|
17953
|
+
chrome_fallback: "chrome_fallback";
|
|
17954
|
+
style_fallback: "style_fallback";
|
|
17955
|
+
resume_exhausted: "resume_exhausted";
|
|
17956
|
+
user_stopped: "user_stopped";
|
|
17957
|
+
}>;
|
|
17958
|
+
repair_attempts: z.ZodNumber;
|
|
17959
|
+
message: z.ZodString;
|
|
17960
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
17961
|
+
}, z.core.$strict>>;
|
|
17962
|
+
stopped_by_user: z.ZodBoolean;
|
|
17963
|
+
resume_count: z.ZodNumber;
|
|
17964
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
17965
|
+
updated_at: z.ZodString;
|
|
17966
|
+
}, z.core.$strict>>;
|
|
17078
17967
|
at: z.ZodString;
|
|
17079
17968
|
}, z.core.$strip>, z.ZodObject<{
|
|
17080
17969
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -17177,6 +18066,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
17177
18066
|
agent_run_id: z.ZodUUID;
|
|
17178
18067
|
sequence: z.ZodNumber;
|
|
17179
18068
|
event_type: z.ZodEnum<{
|
|
18069
|
+
"workspace.generation_ledger": "workspace.generation_ledger";
|
|
17180
18070
|
"run.started": "run.started";
|
|
17181
18071
|
"skill.selecting": "skill.selecting";
|
|
17182
18072
|
"skill.selected": "skill.selected";
|
|
@@ -17401,6 +18291,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
17401
18291
|
showInFooter: z.ZodBoolean;
|
|
17402
18292
|
order: z.ZodNumber;
|
|
17403
18293
|
}, z.core.$strict>;
|
|
18294
|
+
parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17404
18295
|
}, z.core.$strict>>;
|
|
17405
18296
|
navigation: z.ZodObject<{
|
|
17406
18297
|
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
@@ -17694,6 +18585,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
17694
18585
|
landing_page: "landing_page";
|
|
17695
18586
|
initial_generation: "initial_generation";
|
|
17696
18587
|
iteration: "iteration";
|
|
18588
|
+
fill_in: "fill_in";
|
|
17697
18589
|
}>;
|
|
17698
18590
|
groups: z.ZodArray<z.ZodObject<{
|
|
17699
18591
|
group_id: z.ZodString;
|
|
@@ -17755,6 +18647,14 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
17755
18647
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17756
18648
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17757
18649
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
18650
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
18651
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
18652
|
+
name: z.ZodString;
|
|
18653
|
+
href: z.ZodNullable<z.ZodString>;
|
|
18654
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
18655
|
+
}, z.core.$strict>>;
|
|
18656
|
+
current: z.ZodString;
|
|
18657
|
+
}, z.core.$strict>>;
|
|
17758
18658
|
}, z.core.$strip>>;
|
|
17759
18659
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
17760
18660
|
from_group_id: z.ZodString;
|
|
@@ -17843,6 +18743,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
17843
18743
|
type: z.ZodLiteral<"workspace.degraded">;
|
|
17844
18744
|
reason: z.ZodEnum<{
|
|
17845
18745
|
patch_protected_dropped: "patch_protected_dropped";
|
|
18746
|
+
preview_build_failed: "preview_build_failed";
|
|
17846
18747
|
block_placeholder: "block_placeholder";
|
|
17847
18748
|
form_placeholder: "form_placeholder";
|
|
17848
18749
|
preview_health_degraded: "preview_health_degraded";
|
|
@@ -17852,6 +18753,9 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
17852
18753
|
form_prebuild_skipped: "form_prebuild_skipped";
|
|
17853
18754
|
form_section_fallback: "form_section_fallback";
|
|
17854
18755
|
first_settings_sync_failed: "first_settings_sync_failed";
|
|
18756
|
+
component_omitted: "component_omitted";
|
|
18757
|
+
page_omitted: "page_omitted";
|
|
18758
|
+
shared_fallback: "shared_fallback";
|
|
17855
18759
|
}>;
|
|
17856
18760
|
degraded_block_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17857
18761
|
dropped_files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -17914,6 +18818,80 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
17914
18818
|
}>;
|
|
17915
18819
|
type: z.ZodLiteral<"workspace.suggestions">;
|
|
17916
18820
|
at: z.ZodString;
|
|
18821
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
18822
|
+
type: z.ZodLiteral<"workspace.generation_ledger">;
|
|
18823
|
+
ledger: z.ZodObject<{
|
|
18824
|
+
schema_version: z.ZodLiteral<1>;
|
|
18825
|
+
sitemap_id: z.ZodString;
|
|
18826
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
18827
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
18828
|
+
page_id: z.ZodString;
|
|
18829
|
+
slug: z.ZodString;
|
|
18830
|
+
title: z.ZodString;
|
|
18831
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
18832
|
+
result: z.ZodEnum<{
|
|
18833
|
+
partial: "partial";
|
|
18834
|
+
complete: "complete";
|
|
18835
|
+
pending: "pending";
|
|
18836
|
+
check_incomplete: "check_incomplete";
|
|
18837
|
+
omitted: "omitted";
|
|
18838
|
+
}>;
|
|
18839
|
+
attempts: z.ZodNumber;
|
|
18840
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
18841
|
+
kind: z.ZodEnum<{
|
|
18842
|
+
page: "page";
|
|
18843
|
+
component: "component";
|
|
18844
|
+
shared: "shared";
|
|
18845
|
+
}>;
|
|
18846
|
+
target_id: z.ZodString;
|
|
18847
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
18848
|
+
reason: z.ZodEnum<{
|
|
18849
|
+
conflict: "conflict";
|
|
18850
|
+
generation_failed: "generation_failed";
|
|
18851
|
+
repair_exhausted: "repair_exhausted";
|
|
18852
|
+
page_unusable: "page_unusable";
|
|
18853
|
+
check_incomplete: "check_incomplete";
|
|
18854
|
+
design_missing: "design_missing";
|
|
18855
|
+
chrome_fallback: "chrome_fallback";
|
|
18856
|
+
style_fallback: "style_fallback";
|
|
18857
|
+
resume_exhausted: "resume_exhausted";
|
|
18858
|
+
user_stopped: "user_stopped";
|
|
18859
|
+
}>;
|
|
18860
|
+
repair_attempts: z.ZodNumber;
|
|
18861
|
+
message: z.ZodString;
|
|
18862
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
18863
|
+
}, z.core.$strict>>;
|
|
18864
|
+
}, z.core.$strict>>;
|
|
18865
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
18866
|
+
kind: z.ZodEnum<{
|
|
18867
|
+
page: "page";
|
|
18868
|
+
component: "component";
|
|
18869
|
+
shared: "shared";
|
|
18870
|
+
}>;
|
|
18871
|
+
target_id: z.ZodString;
|
|
18872
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
18873
|
+
reason: z.ZodEnum<{
|
|
18874
|
+
conflict: "conflict";
|
|
18875
|
+
generation_failed: "generation_failed";
|
|
18876
|
+
repair_exhausted: "repair_exhausted";
|
|
18877
|
+
page_unusable: "page_unusable";
|
|
18878
|
+
check_incomplete: "check_incomplete";
|
|
18879
|
+
design_missing: "design_missing";
|
|
18880
|
+
chrome_fallback: "chrome_fallback";
|
|
18881
|
+
style_fallback: "style_fallback";
|
|
18882
|
+
resume_exhausted: "resume_exhausted";
|
|
18883
|
+
user_stopped: "user_stopped";
|
|
18884
|
+
}>;
|
|
18885
|
+
repair_attempts: z.ZodNumber;
|
|
18886
|
+
message: z.ZodString;
|
|
18887
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
18888
|
+
}, z.core.$strict>>;
|
|
18889
|
+
stopped_by_user: z.ZodBoolean;
|
|
18890
|
+
resume_count: z.ZodNumber;
|
|
18891
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
18892
|
+
updated_at: z.ZodString;
|
|
18893
|
+
}, z.core.$strict>;
|
|
18894
|
+
at: z.ZodString;
|
|
17917
18895
|
}, z.core.$strict>, z.ZodObject<{
|
|
17918
18896
|
type: z.ZodLiteral<"file.changed">;
|
|
17919
18897
|
path: z.ZodString;
|
|
@@ -17989,6 +18967,77 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
17989
18967
|
sandbox_unavailable: "sandbox_unavailable";
|
|
17990
18968
|
}>>;
|
|
17991
18969
|
build_verified: z.ZodOptional<z.ZodBoolean>;
|
|
18970
|
+
generation_ledger: z.ZodOptional<z.ZodObject<{
|
|
18971
|
+
schema_version: z.ZodLiteral<1>;
|
|
18972
|
+
sitemap_id: z.ZodString;
|
|
18973
|
+
confirmed_page_ids: z.ZodArray<z.ZodString>;
|
|
18974
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
18975
|
+
page_id: z.ZodString;
|
|
18976
|
+
slug: z.ZodString;
|
|
18977
|
+
title: z.ZodString;
|
|
18978
|
+
parent_page_id: z.ZodNullable<z.ZodString>;
|
|
18979
|
+
result: z.ZodEnum<{
|
|
18980
|
+
partial: "partial";
|
|
18981
|
+
complete: "complete";
|
|
18982
|
+
pending: "pending";
|
|
18983
|
+
check_incomplete: "check_incomplete";
|
|
18984
|
+
omitted: "omitted";
|
|
18985
|
+
}>;
|
|
18986
|
+
attempts: z.ZodNumber;
|
|
18987
|
+
omissions: z.ZodArray<z.ZodObject<{
|
|
18988
|
+
kind: z.ZodEnum<{
|
|
18989
|
+
page: "page";
|
|
18990
|
+
component: "component";
|
|
18991
|
+
shared: "shared";
|
|
18992
|
+
}>;
|
|
18993
|
+
target_id: z.ZodString;
|
|
18994
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
18995
|
+
reason: z.ZodEnum<{
|
|
18996
|
+
conflict: "conflict";
|
|
18997
|
+
generation_failed: "generation_failed";
|
|
18998
|
+
repair_exhausted: "repair_exhausted";
|
|
18999
|
+
page_unusable: "page_unusable";
|
|
19000
|
+
check_incomplete: "check_incomplete";
|
|
19001
|
+
design_missing: "design_missing";
|
|
19002
|
+
chrome_fallback: "chrome_fallback";
|
|
19003
|
+
style_fallback: "style_fallback";
|
|
19004
|
+
resume_exhausted: "resume_exhausted";
|
|
19005
|
+
user_stopped: "user_stopped";
|
|
19006
|
+
}>;
|
|
19007
|
+
repair_attempts: z.ZodNumber;
|
|
19008
|
+
message: z.ZodString;
|
|
19009
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
19010
|
+
}, z.core.$strict>>;
|
|
19011
|
+
}, z.core.$strict>>;
|
|
19012
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
19013
|
+
kind: z.ZodEnum<{
|
|
19014
|
+
page: "page";
|
|
19015
|
+
component: "component";
|
|
19016
|
+
shared: "shared";
|
|
19017
|
+
}>;
|
|
19018
|
+
target_id: z.ZodString;
|
|
19019
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
19020
|
+
reason: z.ZodEnum<{
|
|
19021
|
+
conflict: "conflict";
|
|
19022
|
+
generation_failed: "generation_failed";
|
|
19023
|
+
repair_exhausted: "repair_exhausted";
|
|
19024
|
+
page_unusable: "page_unusable";
|
|
19025
|
+
check_incomplete: "check_incomplete";
|
|
19026
|
+
design_missing: "design_missing";
|
|
19027
|
+
chrome_fallback: "chrome_fallback";
|
|
19028
|
+
style_fallback: "style_fallback";
|
|
19029
|
+
resume_exhausted: "resume_exhausted";
|
|
19030
|
+
user_stopped: "user_stopped";
|
|
19031
|
+
}>;
|
|
19032
|
+
repair_attempts: z.ZodNumber;
|
|
19033
|
+
message: z.ZodString;
|
|
19034
|
+
filled: z.ZodOptional<z.ZodBoolean>;
|
|
19035
|
+
}, z.core.$strict>>;
|
|
19036
|
+
stopped_by_user: z.ZodBoolean;
|
|
19037
|
+
resume_count: z.ZodNumber;
|
|
19038
|
+
home_replaced_by: z.ZodNullable<z.ZodString>;
|
|
19039
|
+
updated_at: z.ZodString;
|
|
19040
|
+
}, z.core.$strict>>;
|
|
17992
19041
|
at: z.ZodString;
|
|
17993
19042
|
}, z.core.$strip>, z.ZodObject<{
|
|
17994
19043
|
type: z.ZodLiteral<"media_resolution.started">;
|
|
@@ -18548,11 +19597,11 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
18548
19597
|
readonly method: "POST";
|
|
18549
19598
|
readonly path: "/internal/sites/:site_id/page-templates";
|
|
18550
19599
|
readonly tag: "page-templates";
|
|
18551
|
-
readonly summary: "
|
|
19600
|
+
readonly summary: "Accept 1–3 Page Template items as one asynchronous Workspace task (HTTP 202).";
|
|
18552
19601
|
readonly status: "implemented";
|
|
18553
19602
|
readonly request_body_schema: "PageTemplateCreateRequestSchema";
|
|
18554
19603
|
readonly response_schema: "PageTemplateCreateResponseSchema";
|
|
18555
|
-
readonly notes: readonly ["Internal
|
|
19604
|
+
readonly notes: readonly ["Internal bearer plus tenant context; API starts one new background thread/run with its fixed system identity. Poll GET /internal/external-site-edits/:task_id; no external IDs or callbacks. Manifest-gated whole-batch success commits exactly one snapshot."];
|
|
18556
19605
|
}, {
|
|
18557
19606
|
readonly method: "POST";
|
|
18558
19607
|
readonly path: "/internal/sites/:site_id/page-templates/promote";
|
|
@@ -18731,6 +19780,15 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
18731
19780
|
readonly summary: "Replay AgentEvents after a run-local sequence cursor.";
|
|
18732
19781
|
readonly status: "implemented";
|
|
18733
19782
|
readonly response_schema: "ListAgentEventsResponseSchema";
|
|
19783
|
+
}, {
|
|
19784
|
+
readonly method: "POST";
|
|
19785
|
+
readonly path: "/agent-runs/workspace/stop";
|
|
19786
|
+
readonly tag: "agent-runs";
|
|
19787
|
+
readonly summary: "Request a soft stop of the active first-generation or fill-in run for a site.";
|
|
19788
|
+
readonly status: "implemented";
|
|
19789
|
+
readonly request_body_schema: "StopWorkspaceGenerationRequestSchema";
|
|
19790
|
+
readonly response_schema: "StopWorkspaceGenerationResponseSchema";
|
|
19791
|
+
readonly notes: readonly ["Browser surface with the same tenant scoping as POST /agent-runs/workspace/cancel: only the active initial_generation / fill_in run of a site in the caller's tenant is touched.", "A run holding a live lease gets stop_requested_at instead of a terminal event, so it keeps the pages it already saved and closes itself: status=requested, or already_requested on a repeat (the first stop timestamp is never moved).", "A run whose lease has lapsed has no process left to honour the flag, so it is closed immediately (run.failed, site lock released) and the answer is status=stopped. Nothing in flight returns no_active_run with run_id null."];
|
|
18734
19792
|
}, {
|
|
18735
19793
|
readonly method: "POST";
|
|
18736
19794
|
readonly path: "/internal/agent-runs/fail-stale-in-flight";
|
|
@@ -18739,12 +19797,79 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
18739
19797
|
readonly status: "implemented";
|
|
18740
19798
|
readonly response_schema: "FailStaleInFlightWorkspaceRunsResponseSchema";
|
|
18741
19799
|
readonly notes: readonly ["Internal maintenance endpoint guarded by InternalAgentAuthGuard (Bearer VCP_AGENT_INTERNAL_TOKEN, production fail-closed); the /internal/** prefix is exempt from browser auth middleware so the guard is the sole trust boundary. Not exposed to the browser via agent-proxy; called by an external admin cron / controlled ops script."];
|
|
19800
|
+
}, {
|
|
19801
|
+
readonly method: "POST";
|
|
19802
|
+
readonly path: "/internal/agent-runs/claim-stale-workspace-runs";
|
|
19803
|
+
readonly tag: "agent-runs";
|
|
19804
|
+
readonly summary: "Claim stale workspace runs for resumption (internal maintenance, cross-tenant sweep).";
|
|
19805
|
+
readonly status: "implemented";
|
|
19806
|
+
readonly response_schema: "ClaimStaleWorkspaceRunsResponseSchema";
|
|
19807
|
+
readonly notes: readonly ["Internal maintenance endpoint guarded by InternalAgentAuthGuard; same trust boundary as fail-stale-in-flight and not exposed to the browser.", "Re-issues a fresh lease_owner (fencing token) and increments resume_count in one UPDATE for each resumable initial run; a lease expiring only means the work was interrupted, not that the run failed. Initial runs that used up WORKSPACE_MAX_RESUME_COUNT and interrupted fill-in runs are failed instead and are absent from the response."];
|
|
19808
|
+
}, {
|
|
19809
|
+
readonly method: "GET";
|
|
19810
|
+
readonly path: "/internal/agent-runs/:run_id/context";
|
|
19811
|
+
readonly tag: "agent-runs";
|
|
19812
|
+
readonly summary: "Resolve run thread context (internal, Agent Runtime).";
|
|
19813
|
+
readonly status: "implemented";
|
|
19814
|
+
readonly response_schema: "AgentRunContextResponseSchema";
|
|
19815
|
+
readonly notes: readonly ["Internal endpoint guarded by InternalAgentAuthGuard; tenant comes from x-vcp-tenant-id.", "Returns the run together with its thread (null = the site main thread); a run outside the tenant is 404."];
|
|
19816
|
+
}, {
|
|
19817
|
+
readonly method: "POST";
|
|
19818
|
+
readonly path: "/internal/agent-runs/:run_id/heartbeat";
|
|
19819
|
+
readonly tag: "agent-runs";
|
|
19820
|
+
readonly summary: "Renew a workspace run lease (internal, Agent Runtime).";
|
|
19821
|
+
readonly status: "implemented";
|
|
19822
|
+
readonly request_body_schema: "WorkspaceRunHeartbeatRequestSchema";
|
|
19823
|
+
readonly response_schema: "WorkspaceRunHeartbeatResponseSchema";
|
|
19824
|
+
readonly notes: readonly ["Internal endpoint guarded by InternalAgentAuthGuard; tenant comes from x-vcp-tenant-id.", "One CAS UPDATE checks that the run is still in flight and that lease_owner has not been re-issued: superseded means another attempt took over and this process must stop dispatching; not_active means the run already reached a terminal state."];
|
|
19825
|
+
}, {
|
|
19826
|
+
readonly method: "POST";
|
|
19827
|
+
readonly path: "/internal/agent-runs/:run_id/page-checkpoints";
|
|
19828
|
+
readonly tag: "agent-runs";
|
|
19829
|
+
readonly summary: "Register a workspace page checkpoint (internal, Agent Runtime).";
|
|
19830
|
+
readonly status: "implemented";
|
|
19831
|
+
readonly request_body_schema: "RegisterWorkspacePageCheckpointRequestSchema";
|
|
19832
|
+
readonly response_schema: "WorkspacePageCheckpointSchema";
|
|
19833
|
+
readonly notes: readonly ["Internal endpoint guarded by InternalAgentAuthGuard; tenant comes from x-vcp-tenant-id.", "Idempotent on (tenant_id, run_id, page_id, attempt): a conflict returns the existing row unchanged. The object must already be written to storage — a failed registration means the page was not saved. A lease_owner that no longer matches the run is 409, and a run in a terminal state is 409."];
|
|
19834
|
+
}, {
|
|
19835
|
+
readonly method: "GET";
|
|
19836
|
+
readonly path: "/internal/agent-runs/:run_id/page-checkpoints";
|
|
19837
|
+
readonly tag: "agent-runs";
|
|
19838
|
+
readonly summary: "List workspace page checkpoints (internal, Agent Runtime).";
|
|
19839
|
+
readonly status: "implemented";
|
|
19840
|
+
readonly response_schema: "ListWorkspacePageCheckpointsResponseSchema";
|
|
19841
|
+
readonly notes: readonly ["Internal endpoint guarded by InternalAgentAuthGuard; returns one row per page_id (the highest attempt). A run outside the tenant returns no checkpoints."];
|
|
19842
|
+
}, {
|
|
19843
|
+
readonly method: "GET";
|
|
19844
|
+
readonly path: "/internal/agent-runs/:run_id/run-control";
|
|
19845
|
+
readonly tag: "agent-runs";
|
|
19846
|
+
readonly summary: "Read workspace run control input (internal, Agent Runtime).";
|
|
19847
|
+
readonly status: "implemented";
|
|
19848
|
+
readonly response_schema: "WorkspaceRunControlInputResponseSchema";
|
|
19849
|
+
readonly notes: readonly ["Internal endpoint guarded by InternalAgentAuthGuard; AgentRunRecord carries no input, so the lease owner, stop flag, resume count and fill-in inputs stored on the run row are read here. A run outside the tenant, or one that is not a workspace run, is 404."];
|
|
18742
19850
|
}, {
|
|
18743
19851
|
readonly method: "GET";
|
|
18744
19852
|
readonly path: "/deployments";
|
|
18745
19853
|
readonly tag: "deployments";
|
|
18746
19854
|
readonly summary: "Deployment resource summary endpoint until publish APIs land.";
|
|
18747
19855
|
readonly status: "skeleton";
|
|
19856
|
+
}, {
|
|
19857
|
+
readonly method: "GET";
|
|
19858
|
+
readonly path: "/sites/:site_id/generation-ledger";
|
|
19859
|
+
readonly tag: "sites";
|
|
19860
|
+
readonly summary: "Read the stored generation ledger of a site (omitted deliverables and fill-in progress).";
|
|
19861
|
+
readonly status: "implemented";
|
|
19862
|
+
readonly response_schema: "SiteGenerationLedgerResponseSchema";
|
|
19863
|
+
readonly notes: readonly ["One ledger per (tenant_id, site_id), written when an initial_generation / fill_in run.finished carries generation_ledger. A site that has never finished such a run returns ledger null with source_run_id and updated_at null."];
|
|
19864
|
+
}, {
|
|
19865
|
+
readonly method: "POST";
|
|
19866
|
+
readonly path: "/sites/:site_id/generation/fill-in";
|
|
19867
|
+
readonly tag: "sites";
|
|
19868
|
+
readonly summary: "Start a fill-in run for deliverables the generation ledger still lists as omitted.";
|
|
19869
|
+
readonly status: "implemented";
|
|
19870
|
+
readonly request_body_schema: "StartFillInRequestSchema";
|
|
19871
|
+
readonly response_schema: "StartFillInResponseSchema";
|
|
19872
|
+
readonly notes: readonly ["Every target must still be listed as an unfilled omission in the site ledger; otherwise 400 FILL_IN_TARGET_NOT_OMITTED with details.target_id. A site with no ledger at all is rejected with the same code.", "The site must be workspace_ready; otherwise 409 FILL_IN_NOT_AVAILABLE.", "A fill-in run does not take the per-site workspace_run operation lock: while it runs the user keeps browsing. client_run_key makes the POST idempotent — repeating it returns the existing in-flight run and does not dispatch it again; another in-flight workspace run on the same site is rejected with 409 WORKSPACE_RUN_IN_FLIGHT."];
|
|
18748
19873
|
}, {
|
|
18749
19874
|
readonly method: "POST";
|
|
18750
19875
|
readonly path: "/sites/:site_id/workspace/runs";
|
|
@@ -18762,6 +19887,15 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
18762
19887
|
readonly status: "implemented";
|
|
18763
19888
|
readonly response_schema: "WorkspaceAttachmentSchema";
|
|
18764
19889
|
readonly notes: readonly ["multipart/form-data with a single `file`; the response `image_url` is referenced by a `file` part of the next client message."];
|
|
19890
|
+
}, {
|
|
19891
|
+
readonly method: "POST";
|
|
19892
|
+
readonly path: "/sites/:site_id/workspace/attachments/from-url";
|
|
19893
|
+
readonly tag: "workspace";
|
|
19894
|
+
readonly summary: "Capture a screenshot of a web page and store it as a chat image attachment.";
|
|
19895
|
+
readonly status: "implemented";
|
|
19896
|
+
readonly request_body_schema: "WorkspaceAttachmentFromUrlRequestSchema";
|
|
19897
|
+
readonly response_schema: "WorkspaceAttachmentSchema";
|
|
19898
|
+
readonly notes: readonly ["The screenshot becomes an ordinary attachment: same quotas, same `file` part reference, never placed on the site.", "Capture runs through the ingestion service (SSRF guard, concurrency gate, Firecrawl credits)."];
|
|
18765
19899
|
}, {
|
|
18766
19900
|
readonly method: "GET";
|
|
18767
19901
|
readonly path: "/sites/:site_id/workspace/attachments/:attachment_id/image";
|
|
@@ -19358,6 +20492,7 @@ export declare const WorkspaceSocketDescriptorSchema: z.ZodObject<{
|
|
|
19358
20492
|
landing_page: "landing_page";
|
|
19359
20493
|
initial_generation: "initial_generation";
|
|
19360
20494
|
iteration: "iteration";
|
|
20495
|
+
fill_in: "fill_in";
|
|
19361
20496
|
}>;
|
|
19362
20497
|
}, z.core.$strip>;
|
|
19363
20498
|
export type WorkspaceSocketDescriptor = z.infer<typeof WorkspaceSocketDescriptorSchema>;
|
|
@@ -19373,10 +20508,11 @@ export declare const StartWorkspaceRunResponseSchema: z.ZodObject<{
|
|
|
19373
20508
|
}>;
|
|
19374
20509
|
run_kind: z.ZodEnum<{
|
|
19375
20510
|
landing_page: "landing_page";
|
|
19376
|
-
sitemap: "sitemap";
|
|
19377
|
-
clarify: "clarify";
|
|
19378
20511
|
initial_generation: "initial_generation";
|
|
19379
20512
|
iteration: "iteration";
|
|
20513
|
+
fill_in: "fill_in";
|
|
20514
|
+
sitemap: "sitemap";
|
|
20515
|
+
clarify: "clarify";
|
|
19380
20516
|
}>;
|
|
19381
20517
|
status: z.ZodEnum<{
|
|
19382
20518
|
succeeded: "succeeded";
|
|
@@ -19405,6 +20541,7 @@ export declare const StartWorkspaceRunResponseSchema: z.ZodObject<{
|
|
|
19405
20541
|
landing_page: "landing_page";
|
|
19406
20542
|
initial_generation: "initial_generation";
|
|
19407
20543
|
iteration: "iteration";
|
|
20544
|
+
fill_in: "fill_in";
|
|
19408
20545
|
}>;
|
|
19409
20546
|
}, z.core.$strip>;
|
|
19410
20547
|
next_step: z.ZodLiteral<"workspace_socket">;
|
|
@@ -19430,10 +20567,11 @@ export declare const LatestWorkspaceRunResponseSchema: z.ZodObject<{
|
|
|
19430
20567
|
}>;
|
|
19431
20568
|
run_kind: z.ZodEnum<{
|
|
19432
20569
|
landing_page: "landing_page";
|
|
19433
|
-
sitemap: "sitemap";
|
|
19434
|
-
clarify: "clarify";
|
|
19435
20570
|
initial_generation: "initial_generation";
|
|
19436
20571
|
iteration: "iteration";
|
|
20572
|
+
fill_in: "fill_in";
|
|
20573
|
+
sitemap: "sitemap";
|
|
20574
|
+
clarify: "clarify";
|
|
19437
20575
|
}>;
|
|
19438
20576
|
status: z.ZodEnum<{
|
|
19439
20577
|
succeeded: "succeeded";
|
|
@@ -19473,10 +20611,11 @@ export declare const ActiveWorkspaceRunResponseSchema: z.ZodObject<{
|
|
|
19473
20611
|
}>;
|
|
19474
20612
|
run_kind: z.ZodEnum<{
|
|
19475
20613
|
landing_page: "landing_page";
|
|
19476
|
-
sitemap: "sitemap";
|
|
19477
|
-
clarify: "clarify";
|
|
19478
20614
|
initial_generation: "initial_generation";
|
|
19479
20615
|
iteration: "iteration";
|
|
20616
|
+
fill_in: "fill_in";
|
|
20617
|
+
sitemap: "sitemap";
|
|
20618
|
+
clarify: "clarify";
|
|
19480
20619
|
}>;
|
|
19481
20620
|
status: z.ZodEnum<{
|
|
19482
20621
|
succeeded: "succeeded";
|
|
@@ -19623,10 +20762,11 @@ export declare const LatestAgentRunResponseSchema: z.ZodObject<{
|
|
|
19623
20762
|
}>;
|
|
19624
20763
|
run_kind: z.ZodEnum<{
|
|
19625
20764
|
landing_page: "landing_page";
|
|
19626
|
-
sitemap: "sitemap";
|
|
19627
|
-
clarify: "clarify";
|
|
19628
20765
|
initial_generation: "initial_generation";
|
|
19629
20766
|
iteration: "iteration";
|
|
20767
|
+
fill_in: "fill_in";
|
|
20768
|
+
sitemap: "sitemap";
|
|
20769
|
+
clarify: "clarify";
|
|
19630
20770
|
}>;
|
|
19631
20771
|
status: z.ZodEnum<{
|
|
19632
20772
|
succeeded: "succeeded";
|
|
@@ -20513,6 +21653,7 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
20513
21653
|
landing_page: "landing_page";
|
|
20514
21654
|
initial_generation: "initial_generation";
|
|
20515
21655
|
iteration: "iteration";
|
|
21656
|
+
fill_in: "fill_in";
|
|
20516
21657
|
}>;
|
|
20517
21658
|
groups: z.ZodArray<z.ZodObject<{
|
|
20518
21659
|
group_id: z.ZodString;
|
|
@@ -20574,6 +21715,14 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
20574
21715
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20575
21716
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20576
21717
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
21718
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
21719
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
21720
|
+
name: z.ZodString;
|
|
21721
|
+
href: z.ZodNullable<z.ZodString>;
|
|
21722
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
21723
|
+
}, z.core.$strict>>;
|
|
21724
|
+
current: z.ZodString;
|
|
21725
|
+
}, z.core.$strict>>;
|
|
20577
21726
|
}, z.core.$strip>>;
|
|
20578
21727
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
20579
21728
|
from_group_id: z.ZodString;
|
|
@@ -21742,6 +22891,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
21742
22891
|
landing_page: "landing_page";
|
|
21743
22892
|
initial_generation: "initial_generation";
|
|
21744
22893
|
iteration: "iteration";
|
|
22894
|
+
fill_in: "fill_in";
|
|
21745
22895
|
}>;
|
|
21746
22896
|
groups: z.ZodArray<z.ZodObject<{
|
|
21747
22897
|
group_id: z.ZodString;
|
|
@@ -21803,6 +22953,14 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
|
|
|
21803
22953
|
required_reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21804
22954
|
search_params_sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21805
22955
|
standard_form_view: z.ZodOptional<z.ZodString>;
|
|
22956
|
+
breadcrumb: z.ZodOptional<z.ZodObject<{
|
|
22957
|
+
trail: z.ZodArray<z.ZodObject<{
|
|
22958
|
+
name: z.ZodString;
|
|
22959
|
+
href: z.ZodNullable<z.ZodString>;
|
|
22960
|
+
omitted_href: z.ZodOptional<z.ZodString>;
|
|
22961
|
+
}, z.core.$strict>>;
|
|
22962
|
+
current: z.ZodString;
|
|
22963
|
+
}, z.core.$strict>>;
|
|
21806
22964
|
}, z.core.$strip>>;
|
|
21807
22965
|
dependencies: z.ZodArray<z.ZodObject<{
|
|
21808
22966
|
from_group_id: z.ZodString;
|
|
@@ -22615,12 +23773,12 @@ export declare const SandboxSessionStatusSchema: z.ZodEnum<{
|
|
|
22615
23773
|
creating: "creating";
|
|
22616
23774
|
ready: "ready";
|
|
22617
23775
|
active: "active";
|
|
23776
|
+
stopped: "stopped";
|
|
22618
23777
|
idle: "idle";
|
|
22619
23778
|
restoring_snapshot: "restoring_snapshot";
|
|
22620
23779
|
installing_dependencies: "installing_dependencies";
|
|
22621
23780
|
starting_preview: "starting_preview";
|
|
22622
23781
|
stopping: "stopping";
|
|
22623
|
-
stopped: "stopped";
|
|
22624
23782
|
}>;
|
|
22625
23783
|
export type SandboxSessionStatus = z.infer<typeof SandboxSessionStatusSchema>;
|
|
22626
23784
|
export declare const SandboxSessionSchema: z.ZodObject<{
|
|
@@ -22633,12 +23791,12 @@ export declare const SandboxSessionSchema: z.ZodObject<{
|
|
|
22633
23791
|
creating: "creating";
|
|
22634
23792
|
ready: "ready";
|
|
22635
23793
|
active: "active";
|
|
23794
|
+
stopped: "stopped";
|
|
22636
23795
|
idle: "idle";
|
|
22637
23796
|
restoring_snapshot: "restoring_snapshot";
|
|
22638
23797
|
installing_dependencies: "installing_dependencies";
|
|
22639
23798
|
starting_preview: "starting_preview";
|
|
22640
23799
|
stopping: "stopping";
|
|
22641
|
-
stopped: "stopped";
|
|
22642
23800
|
}>;
|
|
22643
23801
|
source_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
22644
23802
|
last_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
@@ -22663,12 +23821,12 @@ export declare const PersistPreviewSessionRequestSchema: z.ZodObject<{
|
|
|
22663
23821
|
creating: "creating";
|
|
22664
23822
|
ready: "ready";
|
|
22665
23823
|
active: "active";
|
|
23824
|
+
stopped: "stopped";
|
|
22666
23825
|
idle: "idle";
|
|
22667
23826
|
restoring_snapshot: "restoring_snapshot";
|
|
22668
23827
|
installing_dependencies: "installing_dependencies";
|
|
22669
23828
|
starting_preview: "starting_preview";
|
|
22670
23829
|
stopping: "stopping";
|
|
22671
|
-
stopped: "stopped";
|
|
22672
23830
|
}>;
|
|
22673
23831
|
preview_url: z.ZodOptional<z.ZodString>;
|
|
22674
23832
|
launch_id: z.ZodOptional<z.ZodString>;
|
|
@@ -22685,12 +23843,12 @@ export declare const PersistPreviewSessionResponseSchema: z.ZodObject<{
|
|
|
22685
23843
|
creating: "creating";
|
|
22686
23844
|
ready: "ready";
|
|
22687
23845
|
active: "active";
|
|
23846
|
+
stopped: "stopped";
|
|
22688
23847
|
idle: "idle";
|
|
22689
23848
|
restoring_snapshot: "restoring_snapshot";
|
|
22690
23849
|
installing_dependencies: "installing_dependencies";
|
|
22691
23850
|
starting_preview: "starting_preview";
|
|
22692
23851
|
stopping: "stopping";
|
|
22693
|
-
stopped: "stopped";
|
|
22694
23852
|
}>;
|
|
22695
23853
|
source_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
22696
23854
|
last_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
@@ -22739,6 +23897,13 @@ export type FailStaleInFlightWorkspaceRunsResponse = z.infer<typeof FailStaleInF
|
|
|
22739
23897
|
* use. This lets a user "stop" actually release the lock even when the driving
|
|
22740
23898
|
* WebSocket is gone (page refresh, terminal close, or agent restart left the
|
|
22741
23899
|
* run orphaned). status=no_active_run when nothing was in flight.
|
|
23900
|
+
*
|
|
23901
|
+
* Exception: for initial_generation / fill_in runs that still hold a live lease
|
|
23902
|
+
* this is a soft stop — it only writes stop_requested_at so the run can keep the
|
|
23903
|
+
* pages it already saved and close itself, and answers status=stop_requested
|
|
23904
|
+
* with the still-running agent_run. Such a run without a live lease has no
|
|
23905
|
+
* process left to honour the flag, so it takes the terminal path above and
|
|
23906
|
+
* answers status=cancelled like every other run_kind.
|
|
22742
23907
|
*/
|
|
22743
23908
|
export declare const CancelActiveWorkspaceRunRequestSchema: z.ZodObject<{
|
|
22744
23909
|
site_id: z.ZodUUID;
|
|
@@ -22746,6 +23911,7 @@ export declare const CancelActiveWorkspaceRunRequestSchema: z.ZodObject<{
|
|
|
22746
23911
|
export type CancelActiveWorkspaceRunRequest = z.infer<typeof CancelActiveWorkspaceRunRequestSchema>;
|
|
22747
23912
|
export declare const CancelActiveWorkspaceRunResponseSchema: z.ZodObject<{
|
|
22748
23913
|
status: z.ZodEnum<{
|
|
23914
|
+
stop_requested: "stop_requested";
|
|
22749
23915
|
cancelled: "cancelled";
|
|
22750
23916
|
no_active_run: "no_active_run";
|
|
22751
23917
|
}>;
|
|
@@ -22760,10 +23926,11 @@ export declare const CancelActiveWorkspaceRunResponseSchema: z.ZodObject<{
|
|
|
22760
23926
|
}>;
|
|
22761
23927
|
run_kind: z.ZodEnum<{
|
|
22762
23928
|
landing_page: "landing_page";
|
|
22763
|
-
sitemap: "sitemap";
|
|
22764
|
-
clarify: "clarify";
|
|
22765
23929
|
initial_generation: "initial_generation";
|
|
22766
23930
|
iteration: "iteration";
|
|
23931
|
+
fill_in: "fill_in";
|
|
23932
|
+
sitemap: "sitemap";
|
|
23933
|
+
clarify: "clarify";
|
|
22767
23934
|
}>;
|
|
22768
23935
|
status: z.ZodEnum<{
|
|
22769
23936
|
succeeded: "succeeded";
|