@jay-framework/aiditor 0.17.4 → 0.18.0
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/README.md +1 -5
- package/dist/actions/check-add-page-route.jay-action +12 -0
- package/dist/actions/check-add-page-route.jay-action.d.ts +10 -0
- package/dist/actions/check-page-add-page-brief.jay-action +9 -0
- package/dist/actions/check-page-add-page-brief.jay-action.d.ts +8 -0
- package/dist/actions/check-plugin-update.jay-action +14 -0
- package/dist/actions/check-plugin-update.jay-action.d.ts +13 -0
- package/dist/actions/ensure-project-plugin.jay-action +9 -0
- package/dist/actions/ensure-project-plugin.jay-action.d.ts +8 -0
- package/dist/actions/generate-add-page-brief-from-image.jay-action +20 -0
- package/dist/actions/generate-add-page-brief-from-image.jay-action.d.ts +20 -0
- package/dist/actions/get-plugin-setup-status.jay-action +9 -0
- package/dist/actions/get-plugin-setup-status.jay-action.d.ts +6 -0
- package/dist/actions/list-jay-plugins.jay-action +8 -0
- package/dist/actions/list-jay-plugins.jay-action.d.ts +5 -0
- package/dist/actions/list-plugin-contracts.jay-action +11 -0
- package/dist/actions/list-plugin-contracts.jay-action.d.ts +9 -0
- package/dist/actions/open-add-page-from-brief.jay-action +20 -0
- package/dist/actions/open-add-page-from-brief.jay-action.d.ts +18 -0
- package/dist/actions/reclassify-add-page-asset.jay-action +12 -0
- package/dist/actions/reclassify-add-page-asset.jay-action.d.ts +10 -0
- package/dist/actions/rerun-plugin-setup.jay-action +12 -0
- package/dist/actions/rerun-plugin-setup.jay-action.d.ts +10 -0
- package/dist/actions/save-add-page-draft.jay-action +10 -0
- package/dist/actions/save-add-page-draft.jay-action.d.ts +9 -0
- package/dist/actions/start-add-page-request.jay-action +12 -0
- package/dist/actions/start-add-page-request.jay-action.d.ts +10 -0
- package/dist/actions/submit-add-page.jay-action +21 -0
- package/dist/actions/submit-add-page.jay-action.d.ts +17 -0
- package/dist/actions/submit-task.jay-action +1 -0
- package/dist/actions/submit-task.jay-action.d.ts +1 -0
- package/dist/actions/sync-add-page-plugin-manifest.jay-action +11 -0
- package/dist/actions/sync-add-page-plugin-manifest.jay-action.d.ts +9 -0
- package/dist/actions/upload-add-page-asset.jay-action +13 -0
- package/dist/actions/upload-add-page-asset.jay-action.d.ts +13 -0
- package/dist/actions/write-plugin-source.jay-action +13 -0
- package/dist/actions/write-plugin-source.jay-action.d.ts +12 -0
- package/dist/add-page-agent/SKILL.md +79 -0
- package/dist/add-page-agent/system.md +47 -0
- package/dist/index.client.js +2695 -277
- package/dist/index.d.ts +797 -6
- package/dist/index.js +2682 -14
- package/dist/pages/aiditor/page.jay-html +603 -2
- package/dist/prompts/add-page-figma-brief-prompt.md +163 -0
- package/dist/prompts/add-page-figma-design-definitions-prompt.md +256 -0
- package/dist/prompts/add-page-figma-design-from-image-prompt.md +144 -0
- package/package.json +24 -7
- package/plugin.yaml +34 -0
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ interface ChunkOfPageViewState {
|
|
|
8
8
|
text: string,
|
|
9
9
|
cssClass: string,
|
|
10
10
|
filePath: string,
|
|
11
|
-
toolName: string
|
|
11
|
+
toolName: string,
|
|
12
|
+
showUserPrefix: boolean
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
interface PageSelectOptionOfPageViewState {
|
|
@@ -58,6 +59,31 @@ interface AttachmentChipOfVisualAnnotationRowOfPageViewState {
|
|
|
58
59
|
annotationId: string
|
|
59
60
|
}
|
|
60
61
|
|
|
62
|
+
interface MarkerBindingChipOfVisualAnnotationRowOfPageViewState {
|
|
63
|
+
rowKey: string,
|
|
64
|
+
label: string,
|
|
65
|
+
pluginName: string,
|
|
66
|
+
packageName: string,
|
|
67
|
+
contractName: string,
|
|
68
|
+
scope: string
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
interface MarkerPluginOptionOfVisualAnnotationRowOfPageViewState {
|
|
72
|
+
rowKey: string,
|
|
73
|
+
value: string,
|
|
74
|
+
label: string
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
interface MarkerContractPickerRowOfVisualAnnotationRowOfPageViewState {
|
|
78
|
+
rowKey: string,
|
|
79
|
+
pluginName: string,
|
|
80
|
+
packageName: string,
|
|
81
|
+
contractName: string,
|
|
82
|
+
description: string,
|
|
83
|
+
onPage: boolean,
|
|
84
|
+
componentKey: string
|
|
85
|
+
}
|
|
86
|
+
|
|
61
87
|
interface VisualAnnotationRowOfPageViewState {
|
|
62
88
|
id: string,
|
|
63
89
|
kindLabel: string,
|
|
@@ -67,7 +93,16 @@ interface VisualAnnotationRowOfPageViewState {
|
|
|
67
93
|
topPct: number,
|
|
68
94
|
popoverFlipX: boolean,
|
|
69
95
|
popoverFlipY: boolean,
|
|
70
|
-
attachmentChips: Array<AttachmentChipOfVisualAnnotationRowOfPageViewState
|
|
96
|
+
attachmentChips: Array<AttachmentChipOfVisualAnnotationRowOfPageViewState>,
|
|
97
|
+
bindingSectionOpen: boolean,
|
|
98
|
+
showBindingControls: boolean,
|
|
99
|
+
showMarkerHasBindingChips: boolean,
|
|
100
|
+
showMarkerBindingEmptyHint: boolean,
|
|
101
|
+
markerBindingChips: Array<MarkerBindingChipOfVisualAnnotationRowOfPageViewState>,
|
|
102
|
+
markerPluginOptions: Array<MarkerPluginOptionOfVisualAnnotationRowOfPageViewState>,
|
|
103
|
+
showMarkerContractPicker: boolean,
|
|
104
|
+
markerPickerPluginLabel: string,
|
|
105
|
+
markerContractPickerRows: Array<MarkerContractPickerRowOfVisualAnnotationRowOfPageViewState>
|
|
71
106
|
}
|
|
72
107
|
|
|
73
108
|
interface AttachmentChipOfRecordingDraftUiOfPageViewState {
|
|
@@ -133,6 +168,31 @@ interface AttachmentChipOfVideoAnnotationRowOfPageViewState {
|
|
|
133
168
|
annotationId: string
|
|
134
169
|
}
|
|
135
170
|
|
|
171
|
+
interface MarkerBindingChipOfVideoAnnotationRowOfPageViewState {
|
|
172
|
+
rowKey: string,
|
|
173
|
+
label: string,
|
|
174
|
+
pluginName: string,
|
|
175
|
+
packageName: string,
|
|
176
|
+
contractName: string,
|
|
177
|
+
scope: string
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
interface MarkerPluginOptionOfVideoAnnotationRowOfPageViewState {
|
|
181
|
+
rowKey: string,
|
|
182
|
+
value: string,
|
|
183
|
+
label: string
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
interface MarkerContractPickerRowOfVideoAnnotationRowOfPageViewState {
|
|
187
|
+
rowKey: string,
|
|
188
|
+
pluginName: string,
|
|
189
|
+
packageName: string,
|
|
190
|
+
contractName: string,
|
|
191
|
+
description: string,
|
|
192
|
+
onPage: boolean,
|
|
193
|
+
componentKey: string
|
|
194
|
+
}
|
|
195
|
+
|
|
136
196
|
interface VideoAnnotationRowOfPageViewState {
|
|
137
197
|
id: string,
|
|
138
198
|
kindLabel: string,
|
|
@@ -142,7 +202,16 @@ interface VideoAnnotationRowOfPageViewState {
|
|
|
142
202
|
topPct: number,
|
|
143
203
|
popoverFlipX: boolean,
|
|
144
204
|
popoverFlipY: boolean,
|
|
145
|
-
attachmentChips: Array<AttachmentChipOfVideoAnnotationRowOfPageViewState
|
|
205
|
+
attachmentChips: Array<AttachmentChipOfVideoAnnotationRowOfPageViewState>,
|
|
206
|
+
bindingSectionOpen: boolean,
|
|
207
|
+
showBindingControls: boolean,
|
|
208
|
+
showMarkerHasBindingChips: boolean,
|
|
209
|
+
showMarkerBindingEmptyHint: boolean,
|
|
210
|
+
markerBindingChips: Array<MarkerBindingChipOfVideoAnnotationRowOfPageViewState>,
|
|
211
|
+
markerPluginOptions: Array<MarkerPluginOptionOfVideoAnnotationRowOfPageViewState>,
|
|
212
|
+
showMarkerContractPicker: boolean,
|
|
213
|
+
markerPickerPluginLabel: string,
|
|
214
|
+
markerContractPickerRows: Array<MarkerContractPickerRowOfVideoAnnotationRowOfPageViewState>
|
|
146
215
|
}
|
|
147
216
|
|
|
148
217
|
interface VideoTimelineMarkerOfPageViewState {
|
|
@@ -190,6 +259,31 @@ interface AttachmentChipOfSnapshotAnnotationItemOfPageViewState {
|
|
|
190
259
|
annotationId: string
|
|
191
260
|
}
|
|
192
261
|
|
|
262
|
+
interface MarkerBindingChipOfSnapshotAnnotationItemOfPageViewState {
|
|
263
|
+
rowKey: string,
|
|
264
|
+
label: string,
|
|
265
|
+
pluginName: string,
|
|
266
|
+
packageName: string,
|
|
267
|
+
contractName: string,
|
|
268
|
+
scope: string
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
interface MarkerPluginOptionOfSnapshotAnnotationItemOfPageViewState {
|
|
272
|
+
rowKey: string,
|
|
273
|
+
value: string,
|
|
274
|
+
label: string
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
interface MarkerContractPickerRowOfSnapshotAnnotationItemOfPageViewState {
|
|
278
|
+
rowKey: string,
|
|
279
|
+
pluginName: string,
|
|
280
|
+
packageName: string,
|
|
281
|
+
contractName: string,
|
|
282
|
+
description: string,
|
|
283
|
+
onPage: boolean,
|
|
284
|
+
componentKey: string
|
|
285
|
+
}
|
|
286
|
+
|
|
193
287
|
interface SnapshotAnnotationItemOfPageViewState {
|
|
194
288
|
id: string,
|
|
195
289
|
indexLabel: string,
|
|
@@ -200,7 +294,84 @@ interface SnapshotAnnotationItemOfPageViewState {
|
|
|
200
294
|
topPct: number,
|
|
201
295
|
popoverFlipX: boolean,
|
|
202
296
|
popoverFlipY: boolean,
|
|
203
|
-
attachmentChips: Array<AttachmentChipOfSnapshotAnnotationItemOfPageViewState
|
|
297
|
+
attachmentChips: Array<AttachmentChipOfSnapshotAnnotationItemOfPageViewState>,
|
|
298
|
+
bindingSectionOpen: boolean,
|
|
299
|
+
showBindingControls: boolean,
|
|
300
|
+
showMarkerHasBindingChips: boolean,
|
|
301
|
+
showMarkerBindingEmptyHint: boolean,
|
|
302
|
+
markerBindingChips: Array<MarkerBindingChipOfSnapshotAnnotationItemOfPageViewState>,
|
|
303
|
+
markerPluginOptions: Array<MarkerPluginOptionOfSnapshotAnnotationItemOfPageViewState>,
|
|
304
|
+
showMarkerContractPicker: boolean,
|
|
305
|
+
markerPickerPluginLabel: string,
|
|
306
|
+
markerContractPickerRows: Array<MarkerContractPickerRowOfSnapshotAnnotationItemOfPageViewState>
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
interface AddPageAttachmentRowOfPageViewState {
|
|
310
|
+
rowKey: string,
|
|
311
|
+
id: string,
|
|
312
|
+
filename: string,
|
|
313
|
+
path: string,
|
|
314
|
+
role: string,
|
|
315
|
+
roleLabel: string
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
interface ProjectSettingsInstallRowOfPageViewState {
|
|
319
|
+
rowKey: string,
|
|
320
|
+
pluginName: string,
|
|
321
|
+
packageName: string,
|
|
322
|
+
description: string,
|
|
323
|
+
buttonLabel: string,
|
|
324
|
+
buttonDisabled: boolean
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
interface ProjectSettingsInstalledRowOfPageViewState {
|
|
328
|
+
rowKey: string,
|
|
329
|
+
pluginName: string,
|
|
330
|
+
packageName: string,
|
|
331
|
+
description: string,
|
|
332
|
+
versionLabel: string,
|
|
333
|
+
setupBadge: string,
|
|
334
|
+
setupBadgeClass: string,
|
|
335
|
+
configFile: string,
|
|
336
|
+
showConfig: boolean,
|
|
337
|
+
contractSummary: string,
|
|
338
|
+
showCheckForUpdateBtn: boolean,
|
|
339
|
+
showRunUpdateBtn: boolean,
|
|
340
|
+
updateButtonLabel: string,
|
|
341
|
+
updateButtonDisabled: boolean
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
interface AddPagePluginPickerOptionOfPageViewState {
|
|
345
|
+
rowKey: string,
|
|
346
|
+
value: string,
|
|
347
|
+
label: string
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
interface AddPageContractPickerRowOfPageViewState {
|
|
351
|
+
rowKey: string,
|
|
352
|
+
pluginName: string,
|
|
353
|
+
packageName: string,
|
|
354
|
+
contractName: string,
|
|
355
|
+
description: string,
|
|
356
|
+
onPage: boolean,
|
|
357
|
+
componentKey: string
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
interface AddPagePagePluginChipOfPageViewState {
|
|
361
|
+
rowKey: string,
|
|
362
|
+
label: string,
|
|
363
|
+
pluginName: string,
|
|
364
|
+
packageName: string,
|
|
365
|
+
contractName: string,
|
|
366
|
+
componentKey: string
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
interface AddPageBriefFillThumbRowOfPageViewState {
|
|
370
|
+
rowKey: string,
|
|
371
|
+
name: string,
|
|
372
|
+
thumbUrl: string,
|
|
373
|
+
index: number,
|
|
374
|
+
removeDisabled: boolean
|
|
204
375
|
}
|
|
205
376
|
|
|
206
377
|
interface PageViewState {
|
|
@@ -214,6 +385,11 @@ interface PageViewState {
|
|
|
214
385
|
hasImage: boolean,
|
|
215
386
|
isRunning: boolean,
|
|
216
387
|
chunks: Array<ChunkOfPageViewState>,
|
|
388
|
+
agentChatMessage: string,
|
|
389
|
+
showAgentChatInput: boolean,
|
|
390
|
+
agentChatInputDisabled: boolean,
|
|
391
|
+
agentChatSendDisabled: boolean,
|
|
392
|
+
agentChatPlaceholder: string,
|
|
217
393
|
hasChunks: boolean,
|
|
218
394
|
outputEmpty: boolean,
|
|
219
395
|
pageSelectOptions: Array<PageSelectOptionOfPageViewState>,
|
|
@@ -341,7 +517,72 @@ interface PageViewState {
|
|
|
341
517
|
snapshotAnnotationItems: Array<SnapshotAnnotationItemOfPageViewState>,
|
|
342
518
|
showSnapshotAnnotationsPanel: boolean,
|
|
343
519
|
showSnapshotSubmitError: boolean,
|
|
344
|
-
snapshotSubmitError: string
|
|
520
|
+
snapshotSubmitError: string,
|
|
521
|
+
showAddPageComposer: boolean,
|
|
522
|
+
addPageRoute: string,
|
|
523
|
+
addPageContentMd: string,
|
|
524
|
+
addPageDesignMd: string,
|
|
525
|
+
addPageRouteError: string,
|
|
526
|
+
showAddPageRouteError: boolean,
|
|
527
|
+
addPageComposerError: string,
|
|
528
|
+
showAddPageComposerError: boolean,
|
|
529
|
+
addPageUploadHint: string,
|
|
530
|
+
showAddPageUploadHint: boolean,
|
|
531
|
+
addPageIsDynamicRoute: boolean,
|
|
532
|
+
addPageShowDesignHint: boolean,
|
|
533
|
+
addPageCreateDisabled: boolean,
|
|
534
|
+
addPageRunningHint: string,
|
|
535
|
+
showAddPageRunningHint: boolean,
|
|
536
|
+
showAddPageAttachments: boolean,
|
|
537
|
+
addPageAttachmentRows: Array<AddPageAttachmentRowOfPageViewState>,
|
|
538
|
+
showProjectSettingsModal: boolean,
|
|
539
|
+
showProjectSettingsPluginsPanel: boolean,
|
|
540
|
+
showProjectSettingsInstallZone: boolean,
|
|
541
|
+
showProjectSettingsInstalledZone: boolean,
|
|
542
|
+
projectSettingsInstallRows: Array<ProjectSettingsInstallRowOfPageViewState>,
|
|
543
|
+
projectSettingsInstalledRows: Array<ProjectSettingsInstalledRowOfPageViewState>,
|
|
544
|
+
showProjectSettingsPluginsError: boolean,
|
|
545
|
+
showFixInstallWithAgent: boolean,
|
|
546
|
+
fixInstallPluginName: string,
|
|
547
|
+
projectSettingsPluginsError: string,
|
|
548
|
+
showProjectSettingsInstallProgress: boolean,
|
|
549
|
+
projectSettingsInstallProgress: string,
|
|
550
|
+
showProjectSettingsWixConfigWarning: boolean,
|
|
551
|
+
showProjectSettingsReloadPreview: boolean,
|
|
552
|
+
showProjectLocalPluginForm: boolean,
|
|
553
|
+
projectLocalPluginName: string,
|
|
554
|
+
projectLocalPackageName: string,
|
|
555
|
+
projectLocalPath: string,
|
|
556
|
+
showAddPagePluginsPanel: boolean,
|
|
557
|
+
showAddPagePagePluginsZone: boolean,
|
|
558
|
+
addPagePluginPickerOptions: Array<AddPagePluginPickerOptionOfPageViewState>,
|
|
559
|
+
addPagePluginPickerValue: string,
|
|
560
|
+
showAddPageContractPicker: boolean,
|
|
561
|
+
addPagePickerPluginLabel: string,
|
|
562
|
+
addPageContractPickerRows: Array<AddPageContractPickerRowOfPageViewState>,
|
|
563
|
+
addPagePagePluginChips: Array<AddPagePagePluginChipOfPageViewState>,
|
|
564
|
+
showAddPageHasPagePluginChips: boolean,
|
|
565
|
+
showAddPagePagePluginsEmptyHint: boolean,
|
|
566
|
+
showAddPageResultBanner: boolean,
|
|
567
|
+
addPageResultBannerClass: string,
|
|
568
|
+
addPageResultBannerMessage: string,
|
|
569
|
+
showAddPageRetry: boolean,
|
|
570
|
+
showAddPageFixWithAiditor: boolean,
|
|
571
|
+
showAddPageFromBriefBtn: boolean,
|
|
572
|
+
showBriefFillPopover: boolean,
|
|
573
|
+
briefFillContextNotes: string,
|
|
574
|
+
briefFillPopoverError: string,
|
|
575
|
+
showBriefFillPopoverError: boolean,
|
|
576
|
+
briefFillDisabled: boolean,
|
|
577
|
+
briefFillInputDisabled: boolean,
|
|
578
|
+
briefFillDropzoneClass: string,
|
|
579
|
+
addPageBriefFillGenerateDisabled: boolean,
|
|
580
|
+
briefFillStatusHint: string,
|
|
581
|
+
showBriefFillStatusHint: boolean,
|
|
582
|
+
showBriefFillThumbnails: boolean,
|
|
583
|
+
addPageBriefFillThumbRows: Array<AddPageBriefFillThumbRowOfPageViewState>,
|
|
584
|
+
showSuggestedRouteBanner: boolean,
|
|
585
|
+
suggestedRouteLabel: string
|
|
345
586
|
}
|
|
346
587
|
|
|
347
588
|
|
|
@@ -349,6 +590,9 @@ interface PageElementRefs {
|
|
|
349
590
|
retryBootstrapBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
350
591
|
pageRouteSelect: HTMLElementProxy<PageViewState, HTMLSelectElement>,
|
|
351
592
|
previewPathSelect: HTMLElementProxy<PageViewState, HTMLSelectElement>,
|
|
593
|
+
projectSettingsBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
594
|
+
addPageOpenBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
595
|
+
addPageFromBriefBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
352
596
|
breakpointDesktopBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
353
597
|
breakpointTabletBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
354
598
|
breakpointMobileBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
@@ -363,11 +607,46 @@ interface PageElementRefs {
|
|
|
363
607
|
visualOverlay: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
364
608
|
recordingDraftPopover: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
365
609
|
previewCaptureRoot: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
610
|
+
addPageResultBannerSlot: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
366
611
|
bottomPanelResize: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
367
612
|
bottomPanelClearBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
368
613
|
bottomPanelToggleBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
369
614
|
bottomPanelHeader: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
370
615
|
outputScroll: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
616
|
+
agentChatInput: HTMLElementProxy<PageViewState, HTMLTextAreaElement>,
|
|
617
|
+
agentChatSendBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
618
|
+
projectSettingsCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
619
|
+
projectLocalPluginNameInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
620
|
+
projectLocalPackageInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
621
|
+
projectLocalPathInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
622
|
+
projectPluginsPanel: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
623
|
+
projectSettingsOverlay: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
624
|
+
addPageCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
625
|
+
addPageRouteInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
626
|
+
addPageSuggestedRouteApplyBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
627
|
+
addPageSuggestedRouteDismissBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
628
|
+
addPageFillContentFromImageBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
629
|
+
addPageContentMd: HTMLElementProxy<PageViewState, HTMLTextAreaElement>,
|
|
630
|
+
addPagePluginPicker: HTMLElementProxy<PageViewState, HTMLSelectElement>,
|
|
631
|
+
addPagePluginsPanel: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
632
|
+
addPageFillDesignFromImageBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
633
|
+
addPageDesignMd: HTMLElementProxy<PageViewState, HTMLTextAreaElement>,
|
|
634
|
+
addPageReferenceDrop: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
635
|
+
addPageAttachReferenceBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
636
|
+
addPageReferenceFileInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
637
|
+
addPageAttachmentsList: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
638
|
+
addPageCancelBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
639
|
+
addPageCreateBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
640
|
+
addPageBriefFillCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
641
|
+
addPageBriefFillContextNotes: HTMLElementProxy<PageViewState, HTMLTextAreaElement>,
|
|
642
|
+
addPageBriefFillDropzone: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
643
|
+
addPageBriefFillFileInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
|
|
644
|
+
addPageBriefFillThumbnails: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
645
|
+
addPageBriefFillCancelBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
646
|
+
addPageBriefFillGenerateBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
647
|
+
addPageBriefFillPopover: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
648
|
+
addPageSlideover: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
649
|
+
addPageOverlay: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
371
650
|
filePreviewCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
372
651
|
filePreviewBackdrop: HTMLElementProxy<PageViewState, HTMLDivElement>,
|
|
373
652
|
videoReviewCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
|
|
@@ -505,6 +784,7 @@ declare const readFileAction: _jay_framework_fullstack_component.JayAction<{
|
|
|
505
784
|
|
|
506
785
|
interface SubmitTaskActionInput {
|
|
507
786
|
notes: string;
|
|
787
|
+
messageKind?: string;
|
|
508
788
|
pageRoute?: string;
|
|
509
789
|
renderedUrl?: string;
|
|
510
790
|
visualTask?: string;
|
|
@@ -527,6 +807,517 @@ interface SubmitTaskActionOutput {
|
|
|
527
807
|
|
|
528
808
|
declare const submitTaskAction: _jay_framework_fullstack_component.JayStreamAction<SubmitTaskActionInput, SubmitTaskActionOutput> & _jay_framework_fullstack_component.JayStreamActionDefinition<SubmitTaskActionInput, SubmitTaskActionOutput, []>;
|
|
529
809
|
|
|
810
|
+
type PageBriefAttachment = {
|
|
811
|
+
id: string;
|
|
812
|
+
path: string;
|
|
813
|
+
role: "reference" | "asset";
|
|
814
|
+
filename: string;
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
type PageRouteKind = "static" | "dynamic";
|
|
818
|
+
|
|
819
|
+
type BriefFillTarget = "content" | "design";
|
|
820
|
+
|
|
821
|
+
declare const checkAddPageRouteAction: _jay_framework_fullstack_component.JayAction<{
|
|
822
|
+
pageRoute: string;
|
|
823
|
+
}, {
|
|
824
|
+
normalizedRoute: string;
|
|
825
|
+
routeKind: "static";
|
|
826
|
+
routeExists: boolean;
|
|
827
|
+
valid: boolean;
|
|
828
|
+
error: string;
|
|
829
|
+
} | {
|
|
830
|
+
normalizedRoute: string;
|
|
831
|
+
routeKind: PageRouteKind;
|
|
832
|
+
routeExists: boolean;
|
|
833
|
+
valid: boolean;
|
|
834
|
+
error?: undefined;
|
|
835
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
836
|
+
pageRoute: string;
|
|
837
|
+
}, {
|
|
838
|
+
normalizedRoute: string;
|
|
839
|
+
routeKind: "static";
|
|
840
|
+
routeExists: boolean;
|
|
841
|
+
valid: boolean;
|
|
842
|
+
error: string;
|
|
843
|
+
} | {
|
|
844
|
+
normalizedRoute: string;
|
|
845
|
+
routeKind: PageRouteKind;
|
|
846
|
+
routeExists: boolean;
|
|
847
|
+
valid: boolean;
|
|
848
|
+
error?: undefined;
|
|
849
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
850
|
+
declare const startAddPageRequestAction: _jay_framework_fullstack_component.JayAction<{
|
|
851
|
+
pageRoute: string;
|
|
852
|
+
routeKind?: "static" | "dynamic";
|
|
853
|
+
}, {
|
|
854
|
+
requestId: string;
|
|
855
|
+
requestDir: string;
|
|
856
|
+
routeExists: boolean;
|
|
857
|
+
routeExistsMessage: string;
|
|
858
|
+
} | {
|
|
859
|
+
requestId: string;
|
|
860
|
+
requestDir: string;
|
|
861
|
+
routeExists: boolean;
|
|
862
|
+
routeExistsMessage?: undefined;
|
|
863
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
864
|
+
pageRoute: string;
|
|
865
|
+
routeKind?: "static" | "dynamic";
|
|
866
|
+
}, {
|
|
867
|
+
requestId: string;
|
|
868
|
+
requestDir: string;
|
|
869
|
+
routeExists: boolean;
|
|
870
|
+
routeExistsMessage: string;
|
|
871
|
+
} | {
|
|
872
|
+
requestId: string;
|
|
873
|
+
requestDir: string;
|
|
874
|
+
routeExists: boolean;
|
|
875
|
+
routeExistsMessage?: undefined;
|
|
876
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
877
|
+
declare const saveAddPageDraftAction: _jay_framework_fullstack_component.JayAction<{
|
|
878
|
+
requestId: string;
|
|
879
|
+
contentMd: string;
|
|
880
|
+
designMd: string;
|
|
881
|
+
}, {
|
|
882
|
+
ok: boolean;
|
|
883
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
884
|
+
requestId: string;
|
|
885
|
+
contentMd: string;
|
|
886
|
+
designMd: string;
|
|
887
|
+
}, {
|
|
888
|
+
ok: boolean;
|
|
889
|
+
}, []>;
|
|
890
|
+
declare const uploadAddPageAssetAction: _jay_framework_fullstack_component.JayAction<{
|
|
891
|
+
requestId: string;
|
|
892
|
+
role: "reference" | "asset";
|
|
893
|
+
file: JayFile;
|
|
894
|
+
}, {
|
|
895
|
+
id: string;
|
|
896
|
+
path: string;
|
|
897
|
+
markdownRef: string;
|
|
898
|
+
markdownSnippet: string;
|
|
899
|
+
} | {
|
|
900
|
+
id: string;
|
|
901
|
+
path: string;
|
|
902
|
+
markdownRef: string;
|
|
903
|
+
markdownSnippet?: undefined;
|
|
904
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
905
|
+
requestId: string;
|
|
906
|
+
role: "reference" | "asset";
|
|
907
|
+
file: JayFile;
|
|
908
|
+
}, {
|
|
909
|
+
id: string;
|
|
910
|
+
path: string;
|
|
911
|
+
markdownRef: string;
|
|
912
|
+
markdownSnippet: string;
|
|
913
|
+
} | {
|
|
914
|
+
id: string;
|
|
915
|
+
path: string;
|
|
916
|
+
markdownRef: string;
|
|
917
|
+
markdownSnippet?: undefined;
|
|
918
|
+
}, []>;
|
|
919
|
+
declare const reclassifyAddPageAssetAction: _jay_framework_fullstack_component.JayAction<{
|
|
920
|
+
requestId: string;
|
|
921
|
+
attachmentId: string;
|
|
922
|
+
newRole: "reference" | "asset";
|
|
923
|
+
}, {
|
|
924
|
+
ok: boolean;
|
|
925
|
+
path: string;
|
|
926
|
+
markdownRef: string;
|
|
927
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
928
|
+
requestId: string;
|
|
929
|
+
attachmentId: string;
|
|
930
|
+
newRole: "reference" | "asset";
|
|
931
|
+
}, {
|
|
932
|
+
ok: boolean;
|
|
933
|
+
path: string;
|
|
934
|
+
markdownRef: string;
|
|
935
|
+
}, []>;
|
|
936
|
+
declare const checkPageAddPageBriefAction: _jay_framework_fullstack_component.JayAction<{
|
|
937
|
+
jayHtmlPath: string;
|
|
938
|
+
pageRoute?: string;
|
|
939
|
+
}, {
|
|
940
|
+
hasBrief: boolean;
|
|
941
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
942
|
+
jayHtmlPath: string;
|
|
943
|
+
pageRoute?: string;
|
|
944
|
+
}, {
|
|
945
|
+
hasBrief: boolean;
|
|
946
|
+
}, []>;
|
|
947
|
+
declare const openAddPageFromBriefAction: _jay_framework_fullstack_component.JayAction<{
|
|
948
|
+
jayHtmlPath: string;
|
|
949
|
+
sourcePageRoute: string;
|
|
950
|
+
}, {
|
|
951
|
+
ok: boolean;
|
|
952
|
+
error: string;
|
|
953
|
+
requestId?: undefined;
|
|
954
|
+
pageRoute?: undefined;
|
|
955
|
+
routeKind?: undefined;
|
|
956
|
+
contentMd?: undefined;
|
|
957
|
+
designMd?: undefined;
|
|
958
|
+
attachments?: undefined;
|
|
959
|
+
} | {
|
|
960
|
+
ok: boolean;
|
|
961
|
+
requestId: string;
|
|
962
|
+
pageRoute: string;
|
|
963
|
+
routeKind: PageRouteKind;
|
|
964
|
+
contentMd: string;
|
|
965
|
+
designMd: string;
|
|
966
|
+
attachments: PageBriefAttachment[];
|
|
967
|
+
error?: undefined;
|
|
968
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
969
|
+
jayHtmlPath: string;
|
|
970
|
+
sourcePageRoute: string;
|
|
971
|
+
}, {
|
|
972
|
+
ok: boolean;
|
|
973
|
+
error: string;
|
|
974
|
+
requestId?: undefined;
|
|
975
|
+
pageRoute?: undefined;
|
|
976
|
+
routeKind?: undefined;
|
|
977
|
+
contentMd?: undefined;
|
|
978
|
+
designMd?: undefined;
|
|
979
|
+
attachments?: undefined;
|
|
980
|
+
} | {
|
|
981
|
+
ok: boolean;
|
|
982
|
+
requestId: string;
|
|
983
|
+
pageRoute: string;
|
|
984
|
+
routeKind: PageRouteKind;
|
|
985
|
+
contentMd: string;
|
|
986
|
+
designMd: string;
|
|
987
|
+
attachments: PageBriefAttachment[];
|
|
988
|
+
error?: undefined;
|
|
989
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
990
|
+
declare const submitAddPageAction: _jay_framework_fullstack_component.JayStreamAction<{
|
|
991
|
+
requestId: string;
|
|
992
|
+
contentMd: string;
|
|
993
|
+
designMd: string;
|
|
994
|
+
pageRoute: string;
|
|
995
|
+
routeKind?: "static" | "dynamic";
|
|
996
|
+
isRetry?: boolean;
|
|
997
|
+
}, SubmitTaskActionOutput | {
|
|
998
|
+
type: string;
|
|
999
|
+
message: string;
|
|
1000
|
+
text: string;
|
|
1001
|
+
validateErrors: string[];
|
|
1002
|
+
}> & _jay_framework_fullstack_component.JayStreamActionDefinition<{
|
|
1003
|
+
requestId: string;
|
|
1004
|
+
contentMd: string;
|
|
1005
|
+
designMd: string;
|
|
1006
|
+
pageRoute: string;
|
|
1007
|
+
routeKind?: "static" | "dynamic";
|
|
1008
|
+
isRetry?: boolean;
|
|
1009
|
+
}, SubmitTaskActionOutput | {
|
|
1010
|
+
type: string;
|
|
1011
|
+
message: string;
|
|
1012
|
+
text: string;
|
|
1013
|
+
validateErrors: string[];
|
|
1014
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
1015
|
+
declare const generateAddPageBriefFromImageAction: _jay_framework_fullstack_component.JayAction<{
|
|
1016
|
+
target: BriefFillTarget;
|
|
1017
|
+
requestId?: string;
|
|
1018
|
+
pageRoute?: string;
|
|
1019
|
+
contextNotes?: string;
|
|
1020
|
+
extraFiles?: Record<string, _jay_framework_fullstack_component.JayFile>;
|
|
1021
|
+
}, {
|
|
1022
|
+
ok: boolean;
|
|
1023
|
+
error: string;
|
|
1024
|
+
markdown?: undefined;
|
|
1025
|
+
suggestedRoute?: undefined;
|
|
1026
|
+
suggestedRouteKind?: undefined;
|
|
1027
|
+
referenceAttachments?: undefined;
|
|
1028
|
+
} | {
|
|
1029
|
+
ok: boolean;
|
|
1030
|
+
markdown: string;
|
|
1031
|
+
suggestedRoute: string;
|
|
1032
|
+
suggestedRouteKind: "static" | "dynamic";
|
|
1033
|
+
referenceAttachments: {
|
|
1034
|
+
id: string;
|
|
1035
|
+
path: string;
|
|
1036
|
+
filename: string;
|
|
1037
|
+
}[];
|
|
1038
|
+
error?: undefined;
|
|
1039
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
1040
|
+
target: BriefFillTarget;
|
|
1041
|
+
requestId?: string;
|
|
1042
|
+
pageRoute?: string;
|
|
1043
|
+
contextNotes?: string;
|
|
1044
|
+
extraFiles?: Record<string, _jay_framework_fullstack_component.JayFile>;
|
|
1045
|
+
}, {
|
|
1046
|
+
ok: boolean;
|
|
1047
|
+
error: string;
|
|
1048
|
+
markdown?: undefined;
|
|
1049
|
+
suggestedRoute?: undefined;
|
|
1050
|
+
suggestedRouteKind?: undefined;
|
|
1051
|
+
referenceAttachments?: undefined;
|
|
1052
|
+
} | {
|
|
1053
|
+
ok: boolean;
|
|
1054
|
+
markdown: string;
|
|
1055
|
+
suggestedRoute: string;
|
|
1056
|
+
suggestedRouteKind: "static" | "dynamic";
|
|
1057
|
+
referenceAttachments: {
|
|
1058
|
+
id: string;
|
|
1059
|
+
path: string;
|
|
1060
|
+
filename: string;
|
|
1061
|
+
}[];
|
|
1062
|
+
error?: undefined;
|
|
1063
|
+
}, []>;
|
|
1064
|
+
|
|
1065
|
+
type EnsurePluginProgressStep = "package" | "requires" | "setup" | "agent-kit";
|
|
1066
|
+
type EnsurePluginProgress = {
|
|
1067
|
+
type: "progress";
|
|
1068
|
+
step: EnsurePluginProgressStep;
|
|
1069
|
+
message: string;
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
type PluginUpdateCheckResult = {
|
|
1073
|
+
pluginName: string;
|
|
1074
|
+
packageName: string;
|
|
1075
|
+
installedVersion: string | null;
|
|
1076
|
+
latestVersion: string | null;
|
|
1077
|
+
updateAvailable: boolean;
|
|
1078
|
+
isLocalSource: boolean;
|
|
1079
|
+
message?: string;
|
|
1080
|
+
};
|
|
1081
|
+
|
|
1082
|
+
type PluginKind = "headless" | "service-only" | "tooling";
|
|
1083
|
+
|
|
1084
|
+
type PluginSourceEntry = {
|
|
1085
|
+
pluginName: string;
|
|
1086
|
+
packageName: string;
|
|
1087
|
+
installSpec: string;
|
|
1088
|
+
label?: string;
|
|
1089
|
+
kind?: "headless" | "service-only" | "tooling";
|
|
1090
|
+
description?: string;
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1093
|
+
type PluginSetupStatus = "configured" | "needs-config" | "error" | "unknown";
|
|
1094
|
+
|
|
1095
|
+
type PagePluginContractSelection = {
|
|
1096
|
+
contractName: string;
|
|
1097
|
+
componentKey?: string;
|
|
1098
|
+
};
|
|
1099
|
+
type PagePluginSelection = {
|
|
1100
|
+
pluginName: string;
|
|
1101
|
+
packageName: string;
|
|
1102
|
+
contracts: PagePluginContractSelection[];
|
|
1103
|
+
installStatus: "not_needed" | "pending" | "installing" | "setup" | "ready" | "failed";
|
|
1104
|
+
installError?: string;
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
type PluginContractSummary = {
|
|
1108
|
+
contractName: string;
|
|
1109
|
+
description?: string;
|
|
1110
|
+
isDynamic?: boolean;
|
|
1111
|
+
};
|
|
1112
|
+
declare const listJayPluginsAction: _jay_framework_fullstack_component.JayAction<{
|
|
1113
|
+
refreshSetupStatus?: boolean;
|
|
1114
|
+
}, {
|
|
1115
|
+
plugins: {
|
|
1116
|
+
pluginName: string;
|
|
1117
|
+
packageName: string;
|
|
1118
|
+
description: string;
|
|
1119
|
+
kind: PluginKind;
|
|
1120
|
+
requires: string[];
|
|
1121
|
+
installed: boolean;
|
|
1122
|
+
installSpec: string;
|
|
1123
|
+
installedVersion: string;
|
|
1124
|
+
isLocalSource: boolean;
|
|
1125
|
+
showInAddPagePicker: boolean;
|
|
1126
|
+
setupStatus: PluginSetupStatus;
|
|
1127
|
+
configFiles: string[];
|
|
1128
|
+
setupMessage: string;
|
|
1129
|
+
contracts: PluginContractSummary[];
|
|
1130
|
+
}[];
|
|
1131
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
1132
|
+
refreshSetupStatus?: boolean;
|
|
1133
|
+
}, {
|
|
1134
|
+
plugins: {
|
|
1135
|
+
pluginName: string;
|
|
1136
|
+
packageName: string;
|
|
1137
|
+
description: string;
|
|
1138
|
+
kind: PluginKind;
|
|
1139
|
+
requires: string[];
|
|
1140
|
+
installed: boolean;
|
|
1141
|
+
installSpec: string;
|
|
1142
|
+
installedVersion: string;
|
|
1143
|
+
isLocalSource: boolean;
|
|
1144
|
+
showInAddPagePicker: boolean;
|
|
1145
|
+
setupStatus: PluginSetupStatus;
|
|
1146
|
+
configFiles: string[];
|
|
1147
|
+
setupMessage: string;
|
|
1148
|
+
contracts: PluginContractSummary[];
|
|
1149
|
+
}[];
|
|
1150
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
1151
|
+
declare const listPluginContractsAction: _jay_framework_fullstack_component.JayAction<{
|
|
1152
|
+
pluginName: string;
|
|
1153
|
+
}, {
|
|
1154
|
+
pluginName: string;
|
|
1155
|
+
installed: boolean;
|
|
1156
|
+
contracts: PluginContractSummary[];
|
|
1157
|
+
setupRequiredMessage: string;
|
|
1158
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
1159
|
+
pluginName: string;
|
|
1160
|
+
}, {
|
|
1161
|
+
pluginName: string;
|
|
1162
|
+
installed: boolean;
|
|
1163
|
+
contracts: PluginContractSummary[];
|
|
1164
|
+
setupRequiredMessage: string;
|
|
1165
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
1166
|
+
declare const checkPluginUpdateAction: _jay_framework_fullstack_component.JayAction<{
|
|
1167
|
+
pluginName: string;
|
|
1168
|
+
}, PluginUpdateCheckResult> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
1169
|
+
pluginName: string;
|
|
1170
|
+
}, PluginUpdateCheckResult, [_jay_framework_dev_server.DevServerService]>;
|
|
1171
|
+
declare const ensureProjectPluginAction: _jay_framework_fullstack_component.JayStreamAction<{
|
|
1172
|
+
pluginName: string;
|
|
1173
|
+
installSpec?: string;
|
|
1174
|
+
upgrade?: boolean;
|
|
1175
|
+
}, EnsurePluginProgress | {
|
|
1176
|
+
type: string;
|
|
1177
|
+
pluginName: string;
|
|
1178
|
+
setupStatus: "error" | "configured" | "needs-config";
|
|
1179
|
+
configFiles: string[];
|
|
1180
|
+
contracts: {
|
|
1181
|
+
contractName: string;
|
|
1182
|
+
description: string;
|
|
1183
|
+
isDynamic: boolean;
|
|
1184
|
+
}[];
|
|
1185
|
+
message?: undefined;
|
|
1186
|
+
installError?: undefined;
|
|
1187
|
+
} | {
|
|
1188
|
+
type: string;
|
|
1189
|
+
message: string;
|
|
1190
|
+
installError: string;
|
|
1191
|
+
pluginName?: undefined;
|
|
1192
|
+
setupStatus?: undefined;
|
|
1193
|
+
configFiles?: undefined;
|
|
1194
|
+
contracts?: undefined;
|
|
1195
|
+
} | {
|
|
1196
|
+
type: string;
|
|
1197
|
+
message: string;
|
|
1198
|
+
pluginName?: undefined;
|
|
1199
|
+
setupStatus?: undefined;
|
|
1200
|
+
configFiles?: undefined;
|
|
1201
|
+
contracts?: undefined;
|
|
1202
|
+
installError?: undefined;
|
|
1203
|
+
} | {
|
|
1204
|
+
type: string;
|
|
1205
|
+
pluginName?: undefined;
|
|
1206
|
+
setupStatus?: undefined;
|
|
1207
|
+
configFiles?: undefined;
|
|
1208
|
+
contracts?: undefined;
|
|
1209
|
+
message?: undefined;
|
|
1210
|
+
installError?: undefined;
|
|
1211
|
+
}> & _jay_framework_fullstack_component.JayStreamActionDefinition<{
|
|
1212
|
+
pluginName: string;
|
|
1213
|
+
installSpec?: string;
|
|
1214
|
+
upgrade?: boolean;
|
|
1215
|
+
}, EnsurePluginProgress | {
|
|
1216
|
+
type: string;
|
|
1217
|
+
pluginName: string;
|
|
1218
|
+
setupStatus: "error" | "configured" | "needs-config";
|
|
1219
|
+
configFiles: string[];
|
|
1220
|
+
contracts: {
|
|
1221
|
+
contractName: string;
|
|
1222
|
+
description: string;
|
|
1223
|
+
isDynamic: boolean;
|
|
1224
|
+
}[];
|
|
1225
|
+
message?: undefined;
|
|
1226
|
+
installError?: undefined;
|
|
1227
|
+
} | {
|
|
1228
|
+
type: string;
|
|
1229
|
+
message: string;
|
|
1230
|
+
installError: string;
|
|
1231
|
+
pluginName?: undefined;
|
|
1232
|
+
setupStatus?: undefined;
|
|
1233
|
+
configFiles?: undefined;
|
|
1234
|
+
contracts?: undefined;
|
|
1235
|
+
} | {
|
|
1236
|
+
type: string;
|
|
1237
|
+
message: string;
|
|
1238
|
+
pluginName?: undefined;
|
|
1239
|
+
setupStatus?: undefined;
|
|
1240
|
+
configFiles?: undefined;
|
|
1241
|
+
contracts?: undefined;
|
|
1242
|
+
installError?: undefined;
|
|
1243
|
+
} | {
|
|
1244
|
+
type: string;
|
|
1245
|
+
pluginName?: undefined;
|
|
1246
|
+
setupStatus?: undefined;
|
|
1247
|
+
configFiles?: undefined;
|
|
1248
|
+
contracts?: undefined;
|
|
1249
|
+
message?: undefined;
|
|
1250
|
+
installError?: undefined;
|
|
1251
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
1252
|
+
declare const getPluginSetupStatusAction: _jay_framework_fullstack_component.JayAction<{
|
|
1253
|
+
pluginName?: string;
|
|
1254
|
+
refresh?: boolean;
|
|
1255
|
+
}, {
|
|
1256
|
+
plugins: {
|
|
1257
|
+
pluginName: string;
|
|
1258
|
+
setupStatus: PluginSetupStatus;
|
|
1259
|
+
configFiles: string[];
|
|
1260
|
+
message?: string;
|
|
1261
|
+
checkedAt: string;
|
|
1262
|
+
}[];
|
|
1263
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
1264
|
+
pluginName?: string;
|
|
1265
|
+
refresh?: boolean;
|
|
1266
|
+
}, {
|
|
1267
|
+
plugins: {
|
|
1268
|
+
pluginName: string;
|
|
1269
|
+
setupStatus: PluginSetupStatus;
|
|
1270
|
+
configFiles: string[];
|
|
1271
|
+
message?: string;
|
|
1272
|
+
checkedAt: string;
|
|
1273
|
+
}[];
|
|
1274
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
1275
|
+
declare const rerunPluginSetupAction: _jay_framework_fullstack_component.JayAction<{
|
|
1276
|
+
pluginName: string;
|
|
1277
|
+
force?: boolean;
|
|
1278
|
+
}, {
|
|
1279
|
+
pluginName: string;
|
|
1280
|
+
setupStatus: "error" | "configured" | "needs-config";
|
|
1281
|
+
configCreated: string[];
|
|
1282
|
+
message: string;
|
|
1283
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
1284
|
+
pluginName: string;
|
|
1285
|
+
force?: boolean;
|
|
1286
|
+
}, {
|
|
1287
|
+
pluginName: string;
|
|
1288
|
+
setupStatus: "error" | "configured" | "needs-config";
|
|
1289
|
+
configCreated: string[];
|
|
1290
|
+
message: string;
|
|
1291
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
1292
|
+
declare const syncAddPagePluginManifestAction: _jay_framework_fullstack_component.JayAction<{
|
|
1293
|
+
requestId: string;
|
|
1294
|
+
selectedPlugins: PagePluginSelection[];
|
|
1295
|
+
}, {
|
|
1296
|
+
ok: boolean;
|
|
1297
|
+
contentMd: string;
|
|
1298
|
+
error: string;
|
|
1299
|
+
} | {
|
|
1300
|
+
ok: boolean;
|
|
1301
|
+
contentMd: string;
|
|
1302
|
+
error?: undefined;
|
|
1303
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<{
|
|
1304
|
+
requestId: string;
|
|
1305
|
+
selectedPlugins: PagePluginSelection[];
|
|
1306
|
+
}, {
|
|
1307
|
+
ok: boolean;
|
|
1308
|
+
contentMd: string;
|
|
1309
|
+
error: string;
|
|
1310
|
+
} | {
|
|
1311
|
+
ok: boolean;
|
|
1312
|
+
contentMd: string;
|
|
1313
|
+
error?: undefined;
|
|
1314
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
1315
|
+
declare const writePluginSourceAction: _jay_framework_fullstack_component.JayAction<PluginSourceEntry, {
|
|
1316
|
+
ok: boolean;
|
|
1317
|
+
}> & _jay_framework_fullstack_component.JayActionDefinition<PluginSourceEntry, {
|
|
1318
|
+
ok: boolean;
|
|
1319
|
+
}, [_jay_framework_dev_server.DevServerService]>;
|
|
1320
|
+
|
|
530
1321
|
interface AiditorShellCarry {
|
|
531
1322
|
headline: string;
|
|
532
1323
|
}
|
|
@@ -538,4 +1329,4 @@ declare const aiditorShell: _jay_framework_fullstack_component.JayStackComponent
|
|
|
538
1329
|
withInteractive(comp: _jay_framework_component.ComponentConstructor<{}, AiditorShellRefs, AiditorShellInteractiveViewState, [_jay_framework_fullstack_component.Signals<AiditorShellFastViewState>, AiditorShellCarry], _jay_framework_component.JayComponentCore<{}, AiditorShellInteractiveViewState>>): _jay_framework_fullstack_component.JayStackComponentDefinition<AiditorShellRefs, AiditorShellSlowViewState, AiditorShellFastViewState, AiditorShellInteractiveViewState, [AiditorShellCarry], [_jay_framework_fullstack_component.Signals<AiditorShellFastViewState>, AiditorShellCarry], {}, {}, _jay_framework_component.JayComponentCore<{}, AiditorShellInteractiveViewState>>;
|
|
539
1330
|
};
|
|
540
1331
|
|
|
541
|
-
export { page as aiditorPage, aiditorShell, getAiditorBootstrap, getPageParamsAction, getProjectInfoAction, listFreezesAction, readFileAction, submitTaskAction };
|
|
1332
|
+
export { page as aiditorPage, aiditorShell, checkAddPageRouteAction, checkPageAddPageBriefAction, checkPluginUpdateAction, ensureProjectPluginAction, generateAddPageBriefFromImageAction, getAiditorBootstrap, getPageParamsAction, getPluginSetupStatusAction, getProjectInfoAction, listFreezesAction, listJayPluginsAction, listPluginContractsAction, openAddPageFromBriefAction, readFileAction, reclassifyAddPageAssetAction, rerunPluginSetupAction, saveAddPageDraftAction, startAddPageRequestAction, submitAddPageAction, submitTaskAction, syncAddPagePluginManifestAction, uploadAddPageAssetAction, writePluginSourceAction };
|