@jay-framework/aiditor 0.18.3 → 0.19.1

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/index.d.ts CHANGED
@@ -1,710 +1,10 @@
1
- import * as _jay_framework_fullstack_component from '@jay-framework/fullstack-component';
2
- import { PageProps, JayFile } from '@jay-framework/fullstack-component';
3
- import * as _jay_framework_component from '@jay-framework/component';
4
- import { HTMLElementProxy, HTMLElementCollectionProxy } from '@jay-framework/runtime';
5
1
  import * as _jay_framework_dev_server from '@jay-framework/dev-server';
6
-
7
- interface ChunkOfPageViewState {
8
- text: string,
9
- cssClass: string,
10
- filePath: string,
11
- toolName: string,
12
- showUserPrefix: boolean
13
- }
14
-
15
- interface PageSelectOptionOfPageViewState {
16
- url: string,
17
- label: string
18
- }
19
-
20
- interface PreviewPathOptionOfPageViewState {
21
- path: string
22
- }
23
-
24
- interface VisualPointDisplayItemOfPageViewState {
25
- id: string,
26
- leftPct: number,
27
- topPct: number,
28
- indexLabel: string
29
- }
30
-
31
- interface VisualAreaDisplayItemOfPageViewState {
32
- id: string,
33
- leftPct: number,
34
- topPct: number,
35
- widthPct: number,
36
- heightPct: number,
37
- indexLabel: string
38
- }
39
-
40
- interface VisualArrowDisplayItemOfPageViewState {
41
- id: string,
42
- x1Pct: number,
43
- y1Pct: number,
44
- x2Pct: number,
45
- y2Pct: number
46
- }
47
-
48
- interface VisualArrowPinItemOfPageViewState {
49
- id: string,
50
- leftPct: number,
51
- topPct: number,
52
- indexLabel: string
53
- }
54
-
55
- interface AttachmentChipOfVisualAnnotationRowOfPageViewState {
56
- key: string,
57
- name: string,
58
- thumbUrl: string,
59
- annotationId: string
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
-
87
- interface VisualAnnotationRowOfPageViewState {
88
- id: string,
89
- kindLabel: string,
90
- instruction: string,
91
- runDisabled: boolean,
92
- leftPct: number,
93
- topPct: number,
94
- popoverFlipX: boolean,
95
- popoverFlipY: boolean,
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>
106
- }
107
-
108
- interface AttachmentChipOfRecordingDraftUiOfPageViewState {
109
- key: string,
110
- name: string,
111
- thumbUrl: string,
112
- annotationId: string
113
- }
114
-
115
- interface RecordingDraftUiOfPageViewState {
116
- id: string,
117
- kindLabel: string,
118
- instruction: string,
119
- leftPct: number,
120
- topPct: number,
121
- popoverFlipX: boolean,
122
- popoverFlipY: boolean,
123
- attachmentChips: Array<AttachmentChipOfRecordingDraftUiOfPageViewState>
124
- }
125
-
126
- interface RecordingDraftAttachmentChipOfPageViewState {
127
- key: string,
128
- name: string,
129
- thumbUrl: string,
130
- annotationId: string
131
- }
132
-
133
- interface VideoPointDisplayItemOfPageViewState {
134
- id: string,
135
- leftPct: number,
136
- topPct: number,
137
- indexLabel: string
138
- }
139
-
140
- interface VideoAreaDisplayItemOfPageViewState {
141
- id: string,
142
- leftPct: number,
143
- topPct: number,
144
- widthPct: number,
145
- heightPct: number,
146
- indexLabel: string
147
- }
148
-
149
- interface VideoArrowDisplayItemOfPageViewState {
150
- id: string,
151
- x1Pct: number,
152
- y1Pct: number,
153
- x2Pct: number,
154
- y2Pct: number
155
- }
156
-
157
- interface VideoArrowPinItemOfPageViewState {
158
- id: string,
159
- leftPct: number,
160
- topPct: number,
161
- indexLabel: string
162
- }
163
-
164
- interface AttachmentChipOfVideoAnnotationRowOfPageViewState {
165
- key: string,
166
- name: string,
167
- thumbUrl: string,
168
- annotationId: string
169
- }
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
-
196
- interface VideoAnnotationRowOfPageViewState {
197
- id: string,
198
- kindLabel: string,
199
- instruction: string,
200
- runDisabled: boolean,
201
- leftPct: number,
202
- topPct: number,
203
- popoverFlipX: boolean,
204
- popoverFlipY: boolean,
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>
215
- }
216
-
217
- interface VideoTimelineMarkerOfPageViewState {
218
- key: string,
219
- timeSec: number,
220
- leftPct: number,
221
- label: string
222
- }
223
-
224
- interface SnapshotPointDisplayItemOfPageViewState {
225
- id: string,
226
- leftPct: number,
227
- topPct: number,
228
- indexLabel: string
229
- }
230
-
231
- interface SnapshotAreaDisplayItemOfPageViewState {
232
- id: string,
233
- leftPct: number,
234
- topPct: number,
235
- widthPct: number,
236
- heightPct: number,
237
- indexLabel: string
238
- }
239
-
240
- interface SnapshotArrowDisplayItemOfPageViewState {
241
- id: string,
242
- x1Pct: number,
243
- y1Pct: number,
244
- x2Pct: number,
245
- y2Pct: number
246
- }
247
-
248
- interface SnapshotArrowPinItemOfPageViewState {
249
- id: string,
250
- leftPct: number,
251
- topPct: number,
252
- indexLabel: string
253
- }
254
-
255
- interface AttachmentChipOfSnapshotAnnotationItemOfPageViewState {
256
- key: string,
257
- name: string,
258
- thumbUrl: string,
259
- annotationId: string
260
- }
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
-
287
- interface SnapshotAnnotationItemOfPageViewState {
288
- id: string,
289
- indexLabel: string,
290
- kindLabel: string,
291
- instruction: string,
292
- kind: string,
293
- leftPct: number,
294
- topPct: number,
295
- popoverFlipX: boolean,
296
- popoverFlipY: boolean,
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
375
- }
376
-
377
- interface PageViewState {
378
- isBootstrapping: boolean,
379
- showBootstrapError: boolean,
380
- bootstrapErrorText: string,
381
- canRetryBootstrap: boolean,
382
- isMainVisible: boolean,
383
- projectName: string,
384
- notes: string,
385
- hasImage: boolean,
386
- isRunning: boolean,
387
- chunks: Array<ChunkOfPageViewState>,
388
- agentChatMessage: string,
389
- showAgentChatInput: boolean,
390
- agentChatInputDisabled: boolean,
391
- agentChatSendDisabled: boolean,
392
- agentChatPlaceholder: string,
393
- hasChunks: boolean,
394
- outputEmpty: boolean,
395
- pageSelectOptions: Array<PageSelectOptionOfPageViewState>,
396
- selectedRouteSelectValue: string,
397
- hasPages: boolean,
398
- isPreviewMode: boolean,
399
- previewUrlBar: string,
400
- previewLoading: boolean,
401
- paramsLoadingHint: string,
402
- previewError: string,
403
- showPathSelect: boolean,
404
- previewPathOptions: Array<PreviewPathOptionOfPageViewState>,
405
- selectedPreviewPath: string,
406
- showPreviewIframe: boolean,
407
- previewSrc: string,
408
- showOutputChunks: boolean,
409
- showOutputEmpty: boolean,
410
- outputEmptyHint: string,
411
- bottomPanelClass: string,
412
- bottomPanelToggleGlyph: string,
413
- showBottomPanelRunning: boolean,
414
- showFilePreview: boolean,
415
- filePreviewPath: string,
416
- filePreviewContent: string,
417
- filePreviewIsImage: boolean,
418
- filePreviewImageSrc: string,
419
- filePreviewLoading: boolean,
420
- showVisualToolbar: boolean,
421
- visualToolNoneOn: boolean,
422
- visualToolPointOn: boolean,
423
- visualToolAreaOn: boolean,
424
- visualToolArrowOn: boolean,
425
- visualPointDisplayItems: Array<VisualPointDisplayItemOfPageViewState>,
426
- showVisualPointMarkers: boolean,
427
- visualAreaDisplayItems: Array<VisualAreaDisplayItemOfPageViewState>,
428
- showVisualAreaItems: boolean,
429
- areaDraftLeftPct: number,
430
- areaDraftTopPct: number,
431
- areaDraftWidthPct: number,
432
- areaDraftHeightPct: number,
433
- showAreaDraftRect: boolean,
434
- visualArrowDisplayItems: Array<VisualArrowDisplayItemOfPageViewState>,
435
- visualArrowPinItems: Array<VisualArrowPinItemOfPageViewState>,
436
- hasVisualArrowLines: boolean,
437
- showArrowPending: boolean,
438
- arrowPendingLeftPct: number,
439
- arrowPendingTopPct: number,
440
- visualAnnotationRows: Array<VisualAnnotationRowOfPageViewState>,
441
- recordingDraftUi: RecordingDraftUiOfPageViewState,
442
- recordingDraftAttachmentChips: Array<RecordingDraftAttachmentChipOfPageViewState>,
443
- showRecordingDraftPopover: boolean,
444
- showVisualAnnotationsPanel: boolean,
445
- showVisualSubmitError: boolean,
446
- visualSubmitError: string,
447
- visualOverlayPointerNone: boolean,
448
- showVideoRecordUi: boolean,
449
- isVideoRecording: boolean,
450
- videoRecordLabel: string,
451
- videoRecordDisabled: boolean,
452
- freezeDisabled: boolean,
453
- showVideoReviewModal: boolean,
454
- videoReviewPreparing: boolean,
455
- videoReviewReady: boolean,
456
- videoReviewError: boolean,
457
- videoReviewErrorText: string,
458
- videoReviewObjectUrl: string,
459
- videoModalToolNoneOn: boolean,
460
- videoModalToolPointOn: boolean,
461
- videoModalToolAreaOn: boolean,
462
- videoModalToolArrowOn: boolean,
463
- videoPointDisplayItems: Array<VideoPointDisplayItemOfPageViewState>,
464
- showVideoPointMarkers: boolean,
465
- videoAreaDisplayItems: Array<VideoAreaDisplayItemOfPageViewState>,
466
- showVideoAreaItems: boolean,
467
- videoAreaDraftLeftPct: number,
468
- videoAreaDraftTopPct: number,
469
- videoAreaDraftWidthPct: number,
470
- videoAreaDraftHeightPct: number,
471
- showVideoAreaDraftRect: boolean,
472
- videoArrowDisplayItems: Array<VideoArrowDisplayItemOfPageViewState>,
473
- videoArrowPinItems: Array<VideoArrowPinItemOfPageViewState>,
474
- hasVideoArrowLines: boolean,
475
- showVideoArrowPending: boolean,
476
- videoArrowPendingLeftPct: number,
477
- videoArrowPendingTopPct: number,
478
- videoAnnotationRows: Array<VideoAnnotationRowOfPageViewState>,
479
- showVideoAnnotationsPanel: boolean,
480
- videoModalOverlayPointerNone: boolean,
481
- videoSubmitError: string,
482
- showVideoSubmitError: boolean,
483
- videoSubmitProgress: string,
484
- showVideoSubmitProgress: boolean,
485
- videoTimelineMarkers: Array<VideoTimelineMarkerOfPageViewState>,
486
- showVideoAnnotationPopoversAtPlayhead: boolean,
487
- videoTimeLabel: string,
488
- videoSendDisabled: boolean,
489
- videoPlayPauseGlyph: string,
490
- breakpointDesktopOn: boolean,
491
- breakpointTabletOn: boolean,
492
- breakpointMobileOn: boolean,
493
- showSnapshotModal: boolean,
494
- snapshotImageSrc: string,
495
- snapshotToolNoneOn: boolean,
496
- snapshotToolPointOn: boolean,
497
- snapshotToolAreaOn: boolean,
498
- snapshotToolArrowOn: boolean,
499
- snapshotCanSubmit: boolean,
500
- snapshotShowDiscardConfirm: boolean,
501
- snapshotOverlayPointerNone: boolean,
502
- snapshotPointDisplayItems: Array<SnapshotPointDisplayItemOfPageViewState>,
503
- showSnapshotPointMarkers: boolean,
504
- snapshotAreaDisplayItems: Array<SnapshotAreaDisplayItemOfPageViewState>,
505
- showSnapshotAreaItems: boolean,
506
- snapshotAreaDraftLeftPct: number,
507
- snapshotAreaDraftTopPct: number,
508
- snapshotAreaDraftWidthPct: number,
509
- snapshotAreaDraftHeightPct: number,
510
- showSnapshotAreaDraft: boolean,
511
- snapshotArrowDisplayItems: Array<SnapshotArrowDisplayItemOfPageViewState>,
512
- snapshotArrowPinItems: Array<SnapshotArrowPinItemOfPageViewState>,
513
- hasSnapshotArrowLines: boolean,
514
- showSnapshotArrowPending: boolean,
515
- snapshotArrowPendingLeftPct: number,
516
- snapshotArrowPendingTopPct: number,
517
- snapshotAnnotationItems: Array<SnapshotAnnotationItemOfPageViewState>,
518
- showSnapshotAnnotationsPanel: boolean,
519
- showSnapshotSubmitError: boolean,
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
586
- }
587
-
588
-
589
- interface PageElementRefs {
590
- retryBootstrapBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
591
- pageRouteSelect: HTMLElementProxy<PageViewState, HTMLSelectElement>,
592
- previewPathSelect: HTMLElementProxy<PageViewState, HTMLSelectElement>,
593
- projectSettingsBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
594
- addPageOpenBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
595
- addPageFromBriefBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
596
- breakpointDesktopBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
597
- breakpointTabletBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
598
- breakpointMobileBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
599
- visualToolNoneBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
600
- visualToolPointBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
601
- visualToolAreaBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
602
- visualToolArrowBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
603
- videoRecordBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
604
- freezeBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
605
- visualAttachFileInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
606
- previewIframe: HTMLElementProxy<PageViewState, HTMLIFrameElement>,
607
- visualOverlay: HTMLElementProxy<PageViewState, HTMLDivElement>,
608
- recordingDraftPopover: HTMLElementProxy<PageViewState, HTMLDivElement>,
609
- previewCaptureRoot: HTMLElementProxy<PageViewState, HTMLDivElement>,
610
- addPageResultBannerSlot: HTMLElementProxy<PageViewState, HTMLDivElement>,
611
- bottomPanelResize: HTMLElementProxy<PageViewState, HTMLDivElement>,
612
- bottomPanelClearBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
613
- bottomPanelToggleBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
614
- bottomPanelHeader: HTMLElementProxy<PageViewState, HTMLDivElement>,
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>,
650
- filePreviewCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
651
- filePreviewBackdrop: HTMLElementProxy<PageViewState, HTMLDivElement>,
652
- videoReviewCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
653
- videoModalToolNoneBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
654
- videoModalToolPointBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
655
- videoModalToolAreaBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
656
- videoModalToolArrowBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
657
- videoReviewAttachFileInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
658
- videoReviewPlayer: HTMLElementProxy<PageViewState, HTMLVideoElement>,
659
- videoReviewOverlay: HTMLElementProxy<PageViewState, HTMLDivElement>,
660
- videoReviewCaptureRoot: HTMLElementProxy<PageViewState, HTMLDivElement>,
661
- videoPlayPauseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
662
- videoTimeline: HTMLElementProxy<PageViewState, HTMLInputElement>,
663
- videoReviewTimelineWrap: HTMLElementProxy<PageViewState, HTMLDivElement>,
664
- videoReviewDiscardBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
665
- videoReviewSendBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
666
- videoReviewBackdrop: HTMLElementProxy<PageViewState, HTMLDivElement>,
667
- snapshotCloseBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
668
- snapshotToolPointBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
669
- snapshotToolAreaBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
670
- snapshotToolArrowBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
671
- snapshotToolNoneBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
672
- snapshotUndoBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
673
- snapshotClearBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
674
- snapshotAttachFileInput: HTMLElementProxy<PageViewState, HTMLInputElement>,
675
- snapshotImg: HTMLElementProxy<PageViewState, HTMLImageElement>,
676
- snapshotOverlay: HTMLElementProxy<PageViewState, HTMLDivElement>,
677
- snapshotDiscardBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
678
- snapshotKeepEditingBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
679
- snapshotCancelBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
680
- snapshotSendBtn: HTMLElementProxy<PageViewState, HTMLButtonElement>,
681
- snapshotBackdrop: HTMLElementProxy<PageViewState, HTMLDivElement>,
682
- visualAnnotationRows: {
683
- annotationRow: HTMLElementCollectionProxy<VisualAnnotationRowOfPageViewState, HTMLDivElement>
684
- },
685
- videoAnnotationRows: {
686
- videoAnnotationRow: HTMLElementCollectionProxy<VideoAnnotationRowOfPageViewState, HTMLDivElement>
687
- },
688
- snapshotAnnotationItems: {
689
- snapshotAnnotationRow: HTMLElementCollectionProxy<SnapshotAnnotationItemOfPageViewState, HTMLDivElement>
690
- }
691
- }
692
-
693
- type PageSlowViewState = {};
694
-
695
- declare const page: _jay_framework_fullstack_component.JayStackComponentDefinition<PageElementRefs, PageSlowViewState, PageViewState, PageViewState, [], [], PageProps, {}, _jay_framework_component.JayComponentCore<PageProps, PageViewState>>;
696
-
697
- interface AiditorShellViewState {
698
- headline: string
699
- }
700
-
701
- type AiditorShellSlowViewState = {};
702
-
703
- type AiditorShellFastViewState = Pick<AiditorShellViewState, 'headline'>;
704
-
705
- type AiditorShellInteractiveViewState = {};
706
-
707
- interface AiditorShellRefs {}
2
+ import * as _jay_framework_fullstack_component from '@jay-framework/fullstack-component';
3
+ import { JayFile } from '@jay-framework/fullstack-component';
4
+ import { PluginSetupContext, PluginSetupResult } from '@jay-framework/stack-server-runtime';
5
+ export { aiditorPage, aiditorShell } from './index.client.js';
6
+ import '@jay-framework/component';
7
+ import '@jay-framework/runtime';
708
8
 
709
9
  /**
710
10
  * One-shot bootstrap for AIditor in-host: Jay dev base URL = browser origin;
@@ -807,6 +107,45 @@ interface SubmitTaskActionOutput {
807
107
 
808
108
  declare const submitTaskAction: _jay_framework_fullstack_component.JayStreamAction<SubmitTaskActionInput, SubmitTaskActionOutput> & _jay_framework_fullstack_component.JayStreamActionDefinition<SubmitTaskActionInput, SubmitTaskActionOutput, []>;
809
109
 
110
+ /** Design Log #19 — Add Menu agreement types (M19.1). */
111
+ type AddMenuItem = {
112
+ /** Stable unique id, convention: `<pluginName>:<slug>` */
113
+ id: string;
114
+ title: string;
115
+ /** Menu navigation label — not a type system */
116
+ category: string;
117
+ /** Injected verbatim into agent prompt when attached */
118
+ prompt: string;
119
+ pluginName?: string;
120
+ packageName?: string;
121
+ subCategory?: string;
122
+ thumbnail?: string;
123
+ };
124
+ type AddMenuAttachment = {
125
+ itemId: string;
126
+ /** Change Request: set when chip is on a marker; omit = request-level */
127
+ annotationId?: string;
128
+ };
129
+ type RouteMigrationIntent = {
130
+ currentRoute: string;
131
+ plannedRoute: string;
132
+ reason: "add-menu-route-param-component";
133
+ triggeringItemIds: string[];
134
+ };
135
+ type AddMenuCategoryGroup = {
136
+ category: string;
137
+ subCategories: AddMenuSubCategoryGroup[];
138
+ };
139
+ type AddMenuSubCategoryGroup = {
140
+ subCategory: string | null;
141
+ items: AddMenuItem[];
142
+ };
143
+ type ListAddMenuItemsResult = {
144
+ items: AddMenuItem[];
145
+ categories: AddMenuCategoryGroup[];
146
+ warnings: string[];
147
+ };
148
+
810
149
  type PageBriefAttachment = {
811
150
  id: string;
812
151
  path: string;
@@ -1029,7 +368,7 @@ declare const generateAddPageBriefFromImageAction: _jay_framework_fullstack_comp
1029
368
  ok: boolean;
1030
369
  markdown: string;
1031
370
  suggestedRoute: string;
1032
- suggestedRouteKind: "static" | "dynamic";
371
+ suggestedRouteKind: "dynamic" | "static";
1033
372
  referenceAttachments: {
1034
373
  id: string;
1035
374
  path: string;
@@ -1053,7 +392,7 @@ declare const generateAddPageBriefFromImageAction: _jay_framework_fullstack_comp
1053
392
  ok: boolean;
1054
393
  markdown: string;
1055
394
  suggestedRoute: string;
1056
- suggestedRouteKind: "static" | "dynamic";
395
+ suggestedRouteKind: "dynamic" | "static";
1057
396
  referenceAttachments: {
1058
397
  id: string;
1059
398
  path: string;
@@ -1295,22 +634,14 @@ declare const syncAddPagePluginManifestAction: _jay_framework_fullstack_componen
1295
634
  }, {
1296
635
  ok: boolean;
1297
636
  contentMd: string;
1298
- error: string;
1299
- } | {
1300
- ok: boolean;
1301
- contentMd: string;
1302
- error?: undefined;
637
+ error?: string;
1303
638
  }> & _jay_framework_fullstack_component.JayActionDefinition<{
1304
639
  requestId: string;
1305
640
  selectedPlugins: PagePluginSelection[];
1306
641
  }, {
1307
642
  ok: boolean;
1308
643
  contentMd: string;
1309
- error: string;
1310
- } | {
1311
- ok: boolean;
1312
- contentMd: string;
1313
- error?: undefined;
644
+ error?: string;
1314
645
  }, [_jay_framework_dev_server.DevServerService]>;
1315
646
  declare const writePluginSourceAction: _jay_framework_fullstack_component.JayAction<PluginSourceEntry, {
1316
647
  ok: boolean;
@@ -1318,15 +649,44 @@ declare const writePluginSourceAction: _jay_framework_fullstack_component.JayAct
1318
649
  ok: boolean;
1319
650
  }, [_jay_framework_dev_server.DevServerService]>;
1320
651
 
1321
- interface AiditorShellCarry {
1322
- headline: string;
1323
- }
1324
- declare const aiditorShell: _jay_framework_fullstack_component.JayStackComponentDefinition<AiditorShellRefs, AiditorShellSlowViewState, AiditorShellFastViewState, AiditorShellInteractiveViewState, [AiditorShellCarry], [_jay_framework_fullstack_component.Signals<AiditorShellFastViewState>, AiditorShellCarry], {}, {}, _jay_framework_component.JayComponentCore<{}, AiditorShellInteractiveViewState>> & {
1325
- withClientDefaults(fn: (props: {}) => {
1326
- viewState: AiditorShellFastViewState;
1327
- carryForward?: any;
1328
- }): _jay_framework_fullstack_component.JayStackComponentDefinition<AiditorShellRefs, AiditorShellSlowViewState, AiditorShellFastViewState, AiditorShellInteractiveViewState, [AiditorShellCarry], [_jay_framework_fullstack_component.Signals<AiditorShellFastViewState>, AiditorShellCarry], {}, {}, _jay_framework_component.JayComponentCore<{}, AiditorShellInteractiveViewState>> & /*elided*/ any;
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>>;
1330
- };
652
+ declare const listAddMenuItemsAction: _jay_framework_fullstack_component.JayAction<unknown, ListAddMenuItemsResult> & _jay_framework_fullstack_component.JayActionDefinition<unknown, ListAddMenuItemsResult, [_jay_framework_dev_server.DevServerService]>;
653
+ declare const resolveAddMenuContractParamsAction: _jay_framework_fullstack_component.JayAction<{
654
+ itemId: string;
655
+ pluginName?: string;
656
+ }, {
657
+ contractName: string;
658
+ pluginName: string;
659
+ requiredParams: string[];
660
+ allParams: string[];
661
+ }> & _jay_framework_fullstack_component.JayActionDefinition<{
662
+ itemId: string;
663
+ pluginName?: string;
664
+ }, {
665
+ contractName: string;
666
+ pluginName: string;
667
+ requiredParams: string[];
668
+ allParams: string[];
669
+ }, [_jay_framework_dev_server.DevServerService]>;
670
+ declare const syncAddMenuAttachmentsAction: _jay_framework_fullstack_component.JayAction<{
671
+ requestId: string;
672
+ addMenuAttachments: AddMenuAttachment[];
673
+ routeMigration?: RouteMigrationIntent;
674
+ contentMd?: string;
675
+ }, {
676
+ ok: boolean;
677
+ contentMd: string;
678
+ error?: string;
679
+ }> & _jay_framework_fullstack_component.JayActionDefinition<{
680
+ requestId: string;
681
+ addMenuAttachments: AddMenuAttachment[];
682
+ routeMigration?: RouteMigrationIntent;
683
+ contentMd?: string;
684
+ }, {
685
+ ok: boolean;
686
+ contentMd: string;
687
+ error?: string;
688
+ }, [_jay_framework_dev_server.DevServerService]>;
689
+
690
+ declare function setupAiditor(ctx: PluginSetupContext): Promise<PluginSetupResult>;
1331
691
 
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 };
692
+ export { checkAddPageRouteAction, checkPageAddPageBriefAction, checkPluginUpdateAction, ensureProjectPluginAction, generateAddPageBriefFromImageAction, getAiditorBootstrap, getPageParamsAction, getPluginSetupStatusAction, getProjectInfoAction, listAddMenuItemsAction, listFreezesAction, listJayPluginsAction, listPluginContractsAction, openAddPageFromBriefAction, readFileAction, reclassifyAddPageAssetAction, rerunPluginSetupAction, resolveAddMenuContractParamsAction, saveAddPageDraftAction, setupAiditor, startAddPageRequestAction, submitAddPageAction, submitTaskAction, syncAddMenuAttachmentsAction, syncAddPagePluginManifestAction, uploadAddPageAssetAction, writePluginSourceAction };