@ikenga/contract 0.18.1 → 0.19.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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/manifest.d.ts +1803 -37
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +125 -3
- package/dist/manifest.js.map +1 -1
- package/dist/ngwa.d.ts +2 -2
- package/dist/registry.d.ts +1307 -35
- package/dist/registry.d.ts.map +1 -1
- package/dist/window.d.ts +5 -5
- package/package.json +1 -1
- package/schemas/registry/pkg-detail-v1.json +532 -11
- package/src/__fixtures__/manifest-v5/README.md +23 -0
- package/src/__fixtures__/manifest-v5/alias/nav-only.json +16 -0
- package/src/__fixtures__/manifest-v5/invalid/companion-panel-missing-route.json +11 -0
- package/src/__fixtures__/manifest-v5/invalid/context-action-bad-run.json +16 -0
- package/src/__fixtures__/manifest-v5/invalid/context-selector-bad-kind.json +16 -0
- package/src/__fixtures__/manifest-v5/invalid/explorer-section-missing-data-route.json +11 -0
- package/src/__fixtures__/manifest-v5/invalid/side-pane-viewers-empty.json +9 -0
- package/src/__fixtures__/manifest-v5/invalid/side-pane-viewers.json +14 -0
- package/src/__fixtures__/manifest-v5/invalid/view-route-no-routes.json +11 -0
- package/src/__fixtures__/manifest-v5/invalid/view-route-undeclared.json +15 -0
- package/src/__fixtures__/manifest-v5/invalid/view-unknown-field.json +14 -0
- package/src/__fixtures__/manifest-v5/invalid/widget-bad-span.json +14 -0
- package/src/__fixtures__/manifest-v5/valid/companion-panels.json +26 -0
- package/src/__fixtures__/manifest-v5/valid/context-actions.json +41 -0
- package/src/__fixtures__/manifest-v5/valid/explorer-sections.json +31 -0
- package/src/__fixtures__/manifest-v5/valid/full.json +42 -0
- package/src/__fixtures__/manifest-v5/valid/minimal.json +6 -0
- package/src/__fixtures__/manifest-v5/valid/nav-and-views.json +17 -0
- package/src/__fixtures__/manifest-v5/valid/v4-manifest.json +20 -0
- package/src/__fixtures__/manifest-v5/valid/views.json +26 -0
- package/src/__fixtures__/manifest-v5/valid/widgets.json +18 -0
- package/src/index.ts +1 -1
- package/src/manifest.test.ts +350 -2
- package/src/manifest.ts +143 -3
package/dist/registry.d.ts
CHANGED
|
@@ -191,7 +191,7 @@ export declare const PkgVersionSchema: z.ZodObject<{
|
|
|
191
191
|
env?: string | undefined;
|
|
192
192
|
}[] | undefined;
|
|
193
193
|
}>>;
|
|
194
|
-
ui: z.ZodDefault<z.ZodObject<{
|
|
194
|
+
ui: z.ZodDefault<z.ZodEffects<z.ZodObject<{
|
|
195
195
|
nav: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
196
196
|
id: z.ZodString;
|
|
197
197
|
label: z.ZodString;
|
|
@@ -243,18 +243,180 @@ export declare const PkgVersionSchema: z.ZodObject<{
|
|
|
243
243
|
shortcut?: string | undefined;
|
|
244
244
|
action?: unknown;
|
|
245
245
|
}>, "many">>;
|
|
246
|
-
side_pane_viewers: z.
|
|
246
|
+
side_pane_viewers: z.ZodOptional<z.ZodNever>;
|
|
247
|
+
views: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
247
248
|
id: z.ZodString;
|
|
248
|
-
|
|
249
|
+
title: z.ZodString;
|
|
250
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
249
251
|
route: z.ZodString;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
+
pin_on_install: z.ZodDefault<z.ZodBoolean>;
|
|
253
|
+
}, "strict", z.ZodTypeAny, {
|
|
252
254
|
id: string;
|
|
255
|
+
title: string;
|
|
253
256
|
route: string;
|
|
257
|
+
pin_on_install: boolean;
|
|
258
|
+
icon?: string | undefined;
|
|
259
|
+
}, {
|
|
260
|
+
id: string;
|
|
261
|
+
title: string;
|
|
262
|
+
route: string;
|
|
263
|
+
icon?: string | undefined;
|
|
264
|
+
pin_on_install?: boolean | undefined;
|
|
265
|
+
}>, "many">>;
|
|
266
|
+
explorer_sections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
title: z.ZodString;
|
|
269
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
270
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
data_route: z.ZodString;
|
|
272
|
+
}, "strict", z.ZodTypeAny, {
|
|
273
|
+
id: string;
|
|
274
|
+
title: string;
|
|
275
|
+
data_route: string;
|
|
276
|
+
icon?: string | undefined;
|
|
277
|
+
order?: number | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
id: string;
|
|
280
|
+
title: string;
|
|
281
|
+
data_route: string;
|
|
282
|
+
icon?: string | undefined;
|
|
283
|
+
order?: number | undefined;
|
|
284
|
+
}>, "many">>;
|
|
285
|
+
companion_panels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
286
|
+
id: z.ZodString;
|
|
287
|
+
title: z.ZodString;
|
|
288
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
289
|
+
route: z.ZodString;
|
|
290
|
+
session_scoped: z.ZodDefault<z.ZodBoolean>;
|
|
291
|
+
}, "strict", z.ZodTypeAny, {
|
|
292
|
+
id: string;
|
|
293
|
+
title: string;
|
|
294
|
+
route: string;
|
|
295
|
+
session_scoped: boolean;
|
|
296
|
+
icon?: string | undefined;
|
|
297
|
+
}, {
|
|
298
|
+
id: string;
|
|
299
|
+
title: string;
|
|
300
|
+
route: string;
|
|
301
|
+
icon?: string | undefined;
|
|
302
|
+
session_scoped?: boolean | undefined;
|
|
303
|
+
}>, "many">>;
|
|
304
|
+
context_actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
305
|
+
id: z.ZodString;
|
|
306
|
+
label: z.ZodString;
|
|
307
|
+
when: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
308
|
+
kind: z.ZodLiteral<"file">;
|
|
309
|
+
glob: z.ZodOptional<z.ZodString>;
|
|
310
|
+
}, "strip", z.ZodTypeAny, {
|
|
311
|
+
kind: "file";
|
|
312
|
+
glob?: string | undefined;
|
|
313
|
+
}, {
|
|
314
|
+
kind: "file";
|
|
315
|
+
glob?: string | undefined;
|
|
316
|
+
}>, z.ZodObject<{
|
|
317
|
+
kind: z.ZodLiteral<"artifact">;
|
|
318
|
+
}, "strip", z.ZodTypeAny, {
|
|
319
|
+
kind: "artifact";
|
|
320
|
+
}, {
|
|
321
|
+
kind: "artifact";
|
|
322
|
+
}>, z.ZodObject<{
|
|
323
|
+
kind: z.ZodLiteral<"session">;
|
|
324
|
+
}, "strip", z.ZodTypeAny, {
|
|
325
|
+
kind: "session";
|
|
326
|
+
}, {
|
|
327
|
+
kind: "session";
|
|
328
|
+
}>, z.ZodObject<{
|
|
329
|
+
kind: z.ZodLiteral<"ngwa-item">;
|
|
330
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
331
|
+
}, "strip", z.ZodTypeAny, {
|
|
332
|
+
kind: "ngwa-item";
|
|
333
|
+
kinds?: string[] | undefined;
|
|
334
|
+
}, {
|
|
335
|
+
kind: "ngwa-item";
|
|
336
|
+
kinds?: string[] | undefined;
|
|
337
|
+
}>]>;
|
|
338
|
+
run: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
339
|
+
kind: z.ZodLiteral<"dispatch">;
|
|
340
|
+
prompt: z.ZodString;
|
|
341
|
+
target: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, "strip", z.ZodTypeAny, {
|
|
343
|
+
kind: "dispatch";
|
|
344
|
+
prompt: string;
|
|
345
|
+
target?: string | undefined;
|
|
346
|
+
}, {
|
|
347
|
+
kind: "dispatch";
|
|
348
|
+
prompt: string;
|
|
349
|
+
target?: string | undefined;
|
|
350
|
+
}>, z.ZodObject<{
|
|
351
|
+
kind: z.ZodLiteral<"view">;
|
|
352
|
+
route: z.ZodString;
|
|
353
|
+
}, "strip", z.ZodTypeAny, {
|
|
354
|
+
kind: "view";
|
|
355
|
+
route: string;
|
|
356
|
+
}, {
|
|
357
|
+
kind: "view";
|
|
358
|
+
route: string;
|
|
359
|
+
}>]>;
|
|
360
|
+
}, "strict", z.ZodTypeAny, {
|
|
361
|
+
label: string;
|
|
362
|
+
run: {
|
|
363
|
+
kind: "dispatch";
|
|
364
|
+
prompt: string;
|
|
365
|
+
target?: string | undefined;
|
|
366
|
+
} | {
|
|
367
|
+
kind: "view";
|
|
368
|
+
route: string;
|
|
369
|
+
};
|
|
370
|
+
id: string;
|
|
371
|
+
when: {
|
|
372
|
+
kind: "file";
|
|
373
|
+
glob?: string | undefined;
|
|
374
|
+
} | {
|
|
375
|
+
kind: "artifact";
|
|
376
|
+
} | {
|
|
377
|
+
kind: "session";
|
|
378
|
+
} | {
|
|
379
|
+
kind: "ngwa-item";
|
|
380
|
+
kinds?: string[] | undefined;
|
|
381
|
+
};
|
|
254
382
|
}, {
|
|
255
383
|
label: string;
|
|
384
|
+
run: {
|
|
385
|
+
kind: "dispatch";
|
|
386
|
+
prompt: string;
|
|
387
|
+
target?: string | undefined;
|
|
388
|
+
} | {
|
|
389
|
+
kind: "view";
|
|
390
|
+
route: string;
|
|
391
|
+
};
|
|
392
|
+
id: string;
|
|
393
|
+
when: {
|
|
394
|
+
kind: "file";
|
|
395
|
+
glob?: string | undefined;
|
|
396
|
+
} | {
|
|
397
|
+
kind: "artifact";
|
|
398
|
+
} | {
|
|
399
|
+
kind: "session";
|
|
400
|
+
} | {
|
|
401
|
+
kind: "ngwa-item";
|
|
402
|
+
kinds?: string[] | undefined;
|
|
403
|
+
};
|
|
404
|
+
}>, "many">>;
|
|
405
|
+
widgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
406
|
+
id: z.ZodString;
|
|
407
|
+
title: z.ZodString;
|
|
408
|
+
route: z.ZodString;
|
|
409
|
+
span: z.ZodDefault<z.ZodEnum<["small", "medium", "wide"]>>;
|
|
410
|
+
}, "strict", z.ZodTypeAny, {
|
|
411
|
+
id: string;
|
|
412
|
+
title: string;
|
|
413
|
+
route: string;
|
|
414
|
+
span: "small" | "medium" | "wide";
|
|
415
|
+
}, {
|
|
256
416
|
id: string;
|
|
417
|
+
title: string;
|
|
257
418
|
route: string;
|
|
419
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
258
420
|
}>, "many">>;
|
|
259
421
|
csp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
260
422
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -285,14 +447,60 @@ export declare const PkgVersionSchema: z.ZodObject<{
|
|
|
285
447
|
shortcut?: string | undefined;
|
|
286
448
|
action?: unknown;
|
|
287
449
|
}[];
|
|
288
|
-
|
|
450
|
+
views: {
|
|
451
|
+
id: string;
|
|
452
|
+
title: string;
|
|
453
|
+
route: string;
|
|
454
|
+
pin_on_install: boolean;
|
|
455
|
+
icon?: string | undefined;
|
|
456
|
+
}[];
|
|
457
|
+
explorer_sections: {
|
|
458
|
+
id: string;
|
|
459
|
+
title: string;
|
|
460
|
+
data_route: string;
|
|
461
|
+
icon?: string | undefined;
|
|
462
|
+
order?: number | undefined;
|
|
463
|
+
}[];
|
|
464
|
+
companion_panels: {
|
|
465
|
+
id: string;
|
|
466
|
+
title: string;
|
|
467
|
+
route: string;
|
|
468
|
+
session_scoped: boolean;
|
|
469
|
+
icon?: string | undefined;
|
|
470
|
+
}[];
|
|
471
|
+
context_actions: {
|
|
289
472
|
label: string;
|
|
473
|
+
run: {
|
|
474
|
+
kind: "dispatch";
|
|
475
|
+
prompt: string;
|
|
476
|
+
target?: string | undefined;
|
|
477
|
+
} | {
|
|
478
|
+
kind: "view";
|
|
479
|
+
route: string;
|
|
480
|
+
};
|
|
290
481
|
id: string;
|
|
482
|
+
when: {
|
|
483
|
+
kind: "file";
|
|
484
|
+
glob?: string | undefined;
|
|
485
|
+
} | {
|
|
486
|
+
kind: "artifact";
|
|
487
|
+
} | {
|
|
488
|
+
kind: "session";
|
|
489
|
+
} | {
|
|
490
|
+
kind: "ngwa-item";
|
|
491
|
+
kinds?: string[] | undefined;
|
|
492
|
+
};
|
|
493
|
+
}[];
|
|
494
|
+
widgets: {
|
|
495
|
+
id: string;
|
|
496
|
+
title: string;
|
|
291
497
|
route: string;
|
|
498
|
+
span: "small" | "medium" | "wide";
|
|
292
499
|
}[];
|
|
293
500
|
session?: {
|
|
294
501
|
persistence: "keep" | "clear-on-exit" | "ask";
|
|
295
502
|
} | undefined;
|
|
503
|
+
side_pane_viewers?: undefined;
|
|
296
504
|
csp?: Record<string, string[]> | undefined;
|
|
297
505
|
permissions?: Record<string, string[]> | undefined;
|
|
298
506
|
}, {
|
|
@@ -318,10 +526,208 @@ export declare const PkgVersionSchema: z.ZodObject<{
|
|
|
318
526
|
shortcut?: string | undefined;
|
|
319
527
|
action?: unknown;
|
|
320
528
|
}[] | undefined;
|
|
321
|
-
side_pane_viewers?:
|
|
529
|
+
side_pane_viewers?: undefined;
|
|
530
|
+
views?: {
|
|
531
|
+
id: string;
|
|
532
|
+
title: string;
|
|
533
|
+
route: string;
|
|
534
|
+
icon?: string | undefined;
|
|
535
|
+
pin_on_install?: boolean | undefined;
|
|
536
|
+
}[] | undefined;
|
|
537
|
+
explorer_sections?: {
|
|
538
|
+
id: string;
|
|
539
|
+
title: string;
|
|
540
|
+
data_route: string;
|
|
541
|
+
icon?: string | undefined;
|
|
542
|
+
order?: number | undefined;
|
|
543
|
+
}[] | undefined;
|
|
544
|
+
companion_panels?: {
|
|
545
|
+
id: string;
|
|
546
|
+
title: string;
|
|
547
|
+
route: string;
|
|
548
|
+
icon?: string | undefined;
|
|
549
|
+
session_scoped?: boolean | undefined;
|
|
550
|
+
}[] | undefined;
|
|
551
|
+
context_actions?: {
|
|
322
552
|
label: string;
|
|
553
|
+
run: {
|
|
554
|
+
kind: "dispatch";
|
|
555
|
+
prompt: string;
|
|
556
|
+
target?: string | undefined;
|
|
557
|
+
} | {
|
|
558
|
+
kind: "view";
|
|
559
|
+
route: string;
|
|
560
|
+
};
|
|
561
|
+
id: string;
|
|
562
|
+
when: {
|
|
563
|
+
kind: "file";
|
|
564
|
+
glob?: string | undefined;
|
|
565
|
+
} | {
|
|
566
|
+
kind: "artifact";
|
|
567
|
+
} | {
|
|
568
|
+
kind: "session";
|
|
569
|
+
} | {
|
|
570
|
+
kind: "ngwa-item";
|
|
571
|
+
kinds?: string[] | undefined;
|
|
572
|
+
};
|
|
573
|
+
}[] | undefined;
|
|
574
|
+
widgets?: {
|
|
323
575
|
id: string;
|
|
576
|
+
title: string;
|
|
324
577
|
route: string;
|
|
578
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
579
|
+
}[] | undefined;
|
|
580
|
+
csp?: Record<string, string[]> | undefined;
|
|
581
|
+
permissions?: Record<string, string[]> | undefined;
|
|
582
|
+
}>, {
|
|
583
|
+
nav: {
|
|
584
|
+
label: string;
|
|
585
|
+
id: string;
|
|
586
|
+
route: string;
|
|
587
|
+
section?: string | undefined;
|
|
588
|
+
icon?: string | undefined;
|
|
589
|
+
}[];
|
|
590
|
+
routes: {
|
|
591
|
+
path: string;
|
|
592
|
+
kind: "iframe" | "component" | "webview";
|
|
593
|
+
source: string;
|
|
594
|
+
partition?: string | undefined;
|
|
595
|
+
}[];
|
|
596
|
+
command_palette: {
|
|
597
|
+
label: string;
|
|
598
|
+
id: string;
|
|
599
|
+
shortcut?: string | undefined;
|
|
600
|
+
action?: unknown;
|
|
601
|
+
}[];
|
|
602
|
+
views: {
|
|
603
|
+
id: string;
|
|
604
|
+
title: string;
|
|
605
|
+
route: string;
|
|
606
|
+
pin_on_install: boolean;
|
|
607
|
+
icon?: string | undefined;
|
|
608
|
+
}[];
|
|
609
|
+
explorer_sections: {
|
|
610
|
+
id: string;
|
|
611
|
+
title: string;
|
|
612
|
+
data_route: string;
|
|
613
|
+
icon?: string | undefined;
|
|
614
|
+
order?: number | undefined;
|
|
615
|
+
}[];
|
|
616
|
+
companion_panels: {
|
|
617
|
+
id: string;
|
|
618
|
+
title: string;
|
|
619
|
+
route: string;
|
|
620
|
+
session_scoped: boolean;
|
|
621
|
+
icon?: string | undefined;
|
|
622
|
+
}[];
|
|
623
|
+
context_actions: {
|
|
624
|
+
label: string;
|
|
625
|
+
run: {
|
|
626
|
+
kind: "dispatch";
|
|
627
|
+
prompt: string;
|
|
628
|
+
target?: string | undefined;
|
|
629
|
+
} | {
|
|
630
|
+
kind: "view";
|
|
631
|
+
route: string;
|
|
632
|
+
};
|
|
633
|
+
id: string;
|
|
634
|
+
when: {
|
|
635
|
+
kind: "file";
|
|
636
|
+
glob?: string | undefined;
|
|
637
|
+
} | {
|
|
638
|
+
kind: "artifact";
|
|
639
|
+
} | {
|
|
640
|
+
kind: "session";
|
|
641
|
+
} | {
|
|
642
|
+
kind: "ngwa-item";
|
|
643
|
+
kinds?: string[] | undefined;
|
|
644
|
+
};
|
|
645
|
+
}[];
|
|
646
|
+
widgets: {
|
|
647
|
+
id: string;
|
|
648
|
+
title: string;
|
|
649
|
+
route: string;
|
|
650
|
+
span: "small" | "medium" | "wide";
|
|
651
|
+
}[];
|
|
652
|
+
session?: {
|
|
653
|
+
persistence: "keep" | "clear-on-exit" | "ask";
|
|
654
|
+
} | undefined;
|
|
655
|
+
side_pane_viewers?: undefined;
|
|
656
|
+
csp?: Record<string, string[]> | undefined;
|
|
657
|
+
permissions?: Record<string, string[]> | undefined;
|
|
658
|
+
}, {
|
|
659
|
+
session?: {
|
|
660
|
+
persistence: "keep" | "clear-on-exit" | "ask";
|
|
661
|
+
} | undefined;
|
|
662
|
+
nav?: {
|
|
663
|
+
label: string;
|
|
664
|
+
id: string;
|
|
665
|
+
route: string;
|
|
666
|
+
section?: string | undefined;
|
|
667
|
+
icon?: string | undefined;
|
|
668
|
+
}[] | undefined;
|
|
669
|
+
routes?: {
|
|
670
|
+
path: string;
|
|
671
|
+
kind: "iframe" | "component" | "webview";
|
|
672
|
+
source: string;
|
|
673
|
+
partition?: string | undefined;
|
|
674
|
+
}[] | undefined;
|
|
675
|
+
command_palette?: {
|
|
676
|
+
label: string;
|
|
677
|
+
id: string;
|
|
678
|
+
shortcut?: string | undefined;
|
|
679
|
+
action?: unknown;
|
|
680
|
+
}[] | undefined;
|
|
681
|
+
side_pane_viewers?: undefined;
|
|
682
|
+
views?: {
|
|
683
|
+
id: string;
|
|
684
|
+
title: string;
|
|
685
|
+
route: string;
|
|
686
|
+
icon?: string | undefined;
|
|
687
|
+
pin_on_install?: boolean | undefined;
|
|
688
|
+
}[] | undefined;
|
|
689
|
+
explorer_sections?: {
|
|
690
|
+
id: string;
|
|
691
|
+
title: string;
|
|
692
|
+
data_route: string;
|
|
693
|
+
icon?: string | undefined;
|
|
694
|
+
order?: number | undefined;
|
|
695
|
+
}[] | undefined;
|
|
696
|
+
companion_panels?: {
|
|
697
|
+
id: string;
|
|
698
|
+
title: string;
|
|
699
|
+
route: string;
|
|
700
|
+
icon?: string | undefined;
|
|
701
|
+
session_scoped?: boolean | undefined;
|
|
702
|
+
}[] | undefined;
|
|
703
|
+
context_actions?: {
|
|
704
|
+
label: string;
|
|
705
|
+
run: {
|
|
706
|
+
kind: "dispatch";
|
|
707
|
+
prompt: string;
|
|
708
|
+
target?: string | undefined;
|
|
709
|
+
} | {
|
|
710
|
+
kind: "view";
|
|
711
|
+
route: string;
|
|
712
|
+
};
|
|
713
|
+
id: string;
|
|
714
|
+
when: {
|
|
715
|
+
kind: "file";
|
|
716
|
+
glob?: string | undefined;
|
|
717
|
+
} | {
|
|
718
|
+
kind: "artifact";
|
|
719
|
+
} | {
|
|
720
|
+
kind: "session";
|
|
721
|
+
} | {
|
|
722
|
+
kind: "ngwa-item";
|
|
723
|
+
kinds?: string[] | undefined;
|
|
724
|
+
};
|
|
725
|
+
}[] | undefined;
|
|
726
|
+
widgets?: {
|
|
727
|
+
id: string;
|
|
728
|
+
title: string;
|
|
729
|
+
route: string;
|
|
730
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
325
731
|
}[] | undefined;
|
|
326
732
|
csp?: Record<string, string[]> | undefined;
|
|
327
733
|
permissions?: Record<string, string[]> | undefined;
|
|
@@ -741,14 +1147,60 @@ export declare const PkgVersionSchema: z.ZodObject<{
|
|
|
741
1147
|
shortcut?: string | undefined;
|
|
742
1148
|
action?: unknown;
|
|
743
1149
|
}[];
|
|
744
|
-
|
|
1150
|
+
views: {
|
|
1151
|
+
id: string;
|
|
1152
|
+
title: string;
|
|
1153
|
+
route: string;
|
|
1154
|
+
pin_on_install: boolean;
|
|
1155
|
+
icon?: string | undefined;
|
|
1156
|
+
}[];
|
|
1157
|
+
explorer_sections: {
|
|
1158
|
+
id: string;
|
|
1159
|
+
title: string;
|
|
1160
|
+
data_route: string;
|
|
1161
|
+
icon?: string | undefined;
|
|
1162
|
+
order?: number | undefined;
|
|
1163
|
+
}[];
|
|
1164
|
+
companion_panels: {
|
|
1165
|
+
id: string;
|
|
1166
|
+
title: string;
|
|
1167
|
+
route: string;
|
|
1168
|
+
session_scoped: boolean;
|
|
1169
|
+
icon?: string | undefined;
|
|
1170
|
+
}[];
|
|
1171
|
+
context_actions: {
|
|
745
1172
|
label: string;
|
|
1173
|
+
run: {
|
|
1174
|
+
kind: "dispatch";
|
|
1175
|
+
prompt: string;
|
|
1176
|
+
target?: string | undefined;
|
|
1177
|
+
} | {
|
|
1178
|
+
kind: "view";
|
|
1179
|
+
route: string;
|
|
1180
|
+
};
|
|
1181
|
+
id: string;
|
|
1182
|
+
when: {
|
|
1183
|
+
kind: "file";
|
|
1184
|
+
glob?: string | undefined;
|
|
1185
|
+
} | {
|
|
1186
|
+
kind: "artifact";
|
|
1187
|
+
} | {
|
|
1188
|
+
kind: "session";
|
|
1189
|
+
} | {
|
|
1190
|
+
kind: "ngwa-item";
|
|
1191
|
+
kinds?: string[] | undefined;
|
|
1192
|
+
};
|
|
1193
|
+
}[];
|
|
1194
|
+
widgets: {
|
|
746
1195
|
id: string;
|
|
1196
|
+
title: string;
|
|
747
1197
|
route: string;
|
|
1198
|
+
span: "small" | "medium" | "wide";
|
|
748
1199
|
}[];
|
|
749
1200
|
session?: {
|
|
750
1201
|
persistence: "keep" | "clear-on-exit" | "ask";
|
|
751
1202
|
} | undefined;
|
|
1203
|
+
side_pane_viewers?: undefined;
|
|
752
1204
|
csp?: Record<string, string[]> | undefined;
|
|
753
1205
|
permissions?: Record<string, string[]> | undefined;
|
|
754
1206
|
};
|
|
@@ -995,10 +1447,56 @@ export declare const PkgVersionSchema: z.ZodObject<{
|
|
|
995
1447
|
shortcut?: string | undefined;
|
|
996
1448
|
action?: unknown;
|
|
997
1449
|
}[] | undefined;
|
|
998
|
-
side_pane_viewers?:
|
|
1450
|
+
side_pane_viewers?: undefined;
|
|
1451
|
+
views?: {
|
|
1452
|
+
id: string;
|
|
1453
|
+
title: string;
|
|
1454
|
+
route: string;
|
|
1455
|
+
icon?: string | undefined;
|
|
1456
|
+
pin_on_install?: boolean | undefined;
|
|
1457
|
+
}[] | undefined;
|
|
1458
|
+
explorer_sections?: {
|
|
1459
|
+
id: string;
|
|
1460
|
+
title: string;
|
|
1461
|
+
data_route: string;
|
|
1462
|
+
icon?: string | undefined;
|
|
1463
|
+
order?: number | undefined;
|
|
1464
|
+
}[] | undefined;
|
|
1465
|
+
companion_panels?: {
|
|
1466
|
+
id: string;
|
|
1467
|
+
title: string;
|
|
1468
|
+
route: string;
|
|
1469
|
+
icon?: string | undefined;
|
|
1470
|
+
session_scoped?: boolean | undefined;
|
|
1471
|
+
}[] | undefined;
|
|
1472
|
+
context_actions?: {
|
|
999
1473
|
label: string;
|
|
1474
|
+
run: {
|
|
1475
|
+
kind: "dispatch";
|
|
1476
|
+
prompt: string;
|
|
1477
|
+
target?: string | undefined;
|
|
1478
|
+
} | {
|
|
1479
|
+
kind: "view";
|
|
1480
|
+
route: string;
|
|
1481
|
+
};
|
|
1482
|
+
id: string;
|
|
1483
|
+
when: {
|
|
1484
|
+
kind: "file";
|
|
1485
|
+
glob?: string | undefined;
|
|
1486
|
+
} | {
|
|
1487
|
+
kind: "artifact";
|
|
1488
|
+
} | {
|
|
1489
|
+
kind: "session";
|
|
1490
|
+
} | {
|
|
1491
|
+
kind: "ngwa-item";
|
|
1492
|
+
kinds?: string[] | undefined;
|
|
1493
|
+
};
|
|
1494
|
+
}[] | undefined;
|
|
1495
|
+
widgets?: {
|
|
1000
1496
|
id: string;
|
|
1497
|
+
title: string;
|
|
1001
1498
|
route: string;
|
|
1499
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
1002
1500
|
}[] | undefined;
|
|
1003
1501
|
csp?: Record<string, string[]> | undefined;
|
|
1004
1502
|
permissions?: Record<string, string[]> | undefined;
|
|
@@ -1129,14 +1627,60 @@ export declare const PkgVersionSchema: z.ZodObject<{
|
|
|
1129
1627
|
shortcut?: string | undefined;
|
|
1130
1628
|
action?: unknown;
|
|
1131
1629
|
}[];
|
|
1132
|
-
|
|
1630
|
+
views: {
|
|
1631
|
+
id: string;
|
|
1632
|
+
title: string;
|
|
1633
|
+
route: string;
|
|
1634
|
+
pin_on_install: boolean;
|
|
1635
|
+
icon?: string | undefined;
|
|
1636
|
+
}[];
|
|
1637
|
+
explorer_sections: {
|
|
1638
|
+
id: string;
|
|
1639
|
+
title: string;
|
|
1640
|
+
data_route: string;
|
|
1641
|
+
icon?: string | undefined;
|
|
1642
|
+
order?: number | undefined;
|
|
1643
|
+
}[];
|
|
1644
|
+
companion_panels: {
|
|
1645
|
+
id: string;
|
|
1646
|
+
title: string;
|
|
1647
|
+
route: string;
|
|
1648
|
+
session_scoped: boolean;
|
|
1649
|
+
icon?: string | undefined;
|
|
1650
|
+
}[];
|
|
1651
|
+
context_actions: {
|
|
1133
1652
|
label: string;
|
|
1653
|
+
run: {
|
|
1654
|
+
kind: "dispatch";
|
|
1655
|
+
prompt: string;
|
|
1656
|
+
target?: string | undefined;
|
|
1657
|
+
} | {
|
|
1658
|
+
kind: "view";
|
|
1659
|
+
route: string;
|
|
1660
|
+
};
|
|
1661
|
+
id: string;
|
|
1662
|
+
when: {
|
|
1663
|
+
kind: "file";
|
|
1664
|
+
glob?: string | undefined;
|
|
1665
|
+
} | {
|
|
1666
|
+
kind: "artifact";
|
|
1667
|
+
} | {
|
|
1668
|
+
kind: "session";
|
|
1669
|
+
} | {
|
|
1670
|
+
kind: "ngwa-item";
|
|
1671
|
+
kinds?: string[] | undefined;
|
|
1672
|
+
};
|
|
1673
|
+
}[];
|
|
1674
|
+
widgets: {
|
|
1134
1675
|
id: string;
|
|
1676
|
+
title: string;
|
|
1135
1677
|
route: string;
|
|
1678
|
+
span: "small" | "medium" | "wide";
|
|
1136
1679
|
}[];
|
|
1137
1680
|
session?: {
|
|
1138
1681
|
persistence: "keep" | "clear-on-exit" | "ask";
|
|
1139
1682
|
} | undefined;
|
|
1683
|
+
side_pane_viewers?: undefined;
|
|
1140
1684
|
csp?: Record<string, string[]> | undefined;
|
|
1141
1685
|
permissions?: Record<string, string[]> | undefined;
|
|
1142
1686
|
};
|
|
@@ -1379,25 +1923,71 @@ export declare const PkgVersionSchema: z.ZodObject<{
|
|
|
1379
1923
|
label: string;
|
|
1380
1924
|
id: string;
|
|
1381
1925
|
route: string;
|
|
1382
|
-
section?: string | undefined;
|
|
1926
|
+
section?: string | undefined;
|
|
1927
|
+
icon?: string | undefined;
|
|
1928
|
+
}[] | undefined;
|
|
1929
|
+
routes?: {
|
|
1930
|
+
path: string;
|
|
1931
|
+
kind: "iframe" | "component" | "webview";
|
|
1932
|
+
source: string;
|
|
1933
|
+
partition?: string | undefined;
|
|
1934
|
+
}[] | undefined;
|
|
1935
|
+
command_palette?: {
|
|
1936
|
+
label: string;
|
|
1937
|
+
id: string;
|
|
1938
|
+
shortcut?: string | undefined;
|
|
1939
|
+
action?: unknown;
|
|
1940
|
+
}[] | undefined;
|
|
1941
|
+
side_pane_viewers?: undefined;
|
|
1942
|
+
views?: {
|
|
1943
|
+
id: string;
|
|
1944
|
+
title: string;
|
|
1945
|
+
route: string;
|
|
1946
|
+
icon?: string | undefined;
|
|
1947
|
+
pin_on_install?: boolean | undefined;
|
|
1948
|
+
}[] | undefined;
|
|
1949
|
+
explorer_sections?: {
|
|
1950
|
+
id: string;
|
|
1951
|
+
title: string;
|
|
1952
|
+
data_route: string;
|
|
1953
|
+
icon?: string | undefined;
|
|
1954
|
+
order?: number | undefined;
|
|
1955
|
+
}[] | undefined;
|
|
1956
|
+
companion_panels?: {
|
|
1957
|
+
id: string;
|
|
1958
|
+
title: string;
|
|
1959
|
+
route: string;
|
|
1383
1960
|
icon?: string | undefined;
|
|
1961
|
+
session_scoped?: boolean | undefined;
|
|
1384
1962
|
}[] | undefined;
|
|
1385
|
-
|
|
1386
|
-
path: string;
|
|
1387
|
-
kind: "iframe" | "component" | "webview";
|
|
1388
|
-
source: string;
|
|
1389
|
-
partition?: string | undefined;
|
|
1390
|
-
}[] | undefined;
|
|
1391
|
-
command_palette?: {
|
|
1963
|
+
context_actions?: {
|
|
1392
1964
|
label: string;
|
|
1965
|
+
run: {
|
|
1966
|
+
kind: "dispatch";
|
|
1967
|
+
prompt: string;
|
|
1968
|
+
target?: string | undefined;
|
|
1969
|
+
} | {
|
|
1970
|
+
kind: "view";
|
|
1971
|
+
route: string;
|
|
1972
|
+
};
|
|
1393
1973
|
id: string;
|
|
1394
|
-
|
|
1395
|
-
|
|
1974
|
+
when: {
|
|
1975
|
+
kind: "file";
|
|
1976
|
+
glob?: string | undefined;
|
|
1977
|
+
} | {
|
|
1978
|
+
kind: "artifact";
|
|
1979
|
+
} | {
|
|
1980
|
+
kind: "session";
|
|
1981
|
+
} | {
|
|
1982
|
+
kind: "ngwa-item";
|
|
1983
|
+
kinds?: string[] | undefined;
|
|
1984
|
+
};
|
|
1396
1985
|
}[] | undefined;
|
|
1397
|
-
|
|
1398
|
-
label: string;
|
|
1986
|
+
widgets?: {
|
|
1399
1987
|
id: string;
|
|
1988
|
+
title: string;
|
|
1400
1989
|
route: string;
|
|
1990
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
1401
1991
|
}[] | undefined;
|
|
1402
1992
|
csp?: Record<string, string[]> | undefined;
|
|
1403
1993
|
permissions?: Record<string, string[]> | undefined;
|
|
@@ -1598,7 +2188,7 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
1598
2188
|
env?: string | undefined;
|
|
1599
2189
|
}[] | undefined;
|
|
1600
2190
|
}>>;
|
|
1601
|
-
ui: z.ZodDefault<z.ZodObject<{
|
|
2191
|
+
ui: z.ZodDefault<z.ZodEffects<z.ZodObject<{
|
|
1602
2192
|
nav: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1603
2193
|
id: z.ZodString;
|
|
1604
2194
|
label: z.ZodString;
|
|
@@ -1650,18 +2240,180 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
1650
2240
|
shortcut?: string | undefined;
|
|
1651
2241
|
action?: unknown;
|
|
1652
2242
|
}>, "many">>;
|
|
1653
|
-
side_pane_viewers: z.
|
|
2243
|
+
side_pane_viewers: z.ZodOptional<z.ZodNever>;
|
|
2244
|
+
views: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1654
2245
|
id: z.ZodString;
|
|
1655
|
-
|
|
2246
|
+
title: z.ZodString;
|
|
2247
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1656
2248
|
route: z.ZodString;
|
|
1657
|
-
|
|
1658
|
-
|
|
2249
|
+
pin_on_install: z.ZodDefault<z.ZodBoolean>;
|
|
2250
|
+
}, "strict", z.ZodTypeAny, {
|
|
2251
|
+
id: string;
|
|
2252
|
+
title: string;
|
|
2253
|
+
route: string;
|
|
2254
|
+
pin_on_install: boolean;
|
|
2255
|
+
icon?: string | undefined;
|
|
2256
|
+
}, {
|
|
2257
|
+
id: string;
|
|
2258
|
+
title: string;
|
|
2259
|
+
route: string;
|
|
2260
|
+
icon?: string | undefined;
|
|
2261
|
+
pin_on_install?: boolean | undefined;
|
|
2262
|
+
}>, "many">>;
|
|
2263
|
+
explorer_sections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2264
|
+
id: z.ZodString;
|
|
2265
|
+
title: z.ZodString;
|
|
2266
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2267
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
2268
|
+
data_route: z.ZodString;
|
|
2269
|
+
}, "strict", z.ZodTypeAny, {
|
|
2270
|
+
id: string;
|
|
2271
|
+
title: string;
|
|
2272
|
+
data_route: string;
|
|
2273
|
+
icon?: string | undefined;
|
|
2274
|
+
order?: number | undefined;
|
|
2275
|
+
}, {
|
|
2276
|
+
id: string;
|
|
2277
|
+
title: string;
|
|
2278
|
+
data_route: string;
|
|
2279
|
+
icon?: string | undefined;
|
|
2280
|
+
order?: number | undefined;
|
|
2281
|
+
}>, "many">>;
|
|
2282
|
+
companion_panels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2283
|
+
id: z.ZodString;
|
|
2284
|
+
title: z.ZodString;
|
|
2285
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2286
|
+
route: z.ZodString;
|
|
2287
|
+
session_scoped: z.ZodDefault<z.ZodBoolean>;
|
|
2288
|
+
}, "strict", z.ZodTypeAny, {
|
|
2289
|
+
id: string;
|
|
2290
|
+
title: string;
|
|
2291
|
+
route: string;
|
|
2292
|
+
session_scoped: boolean;
|
|
2293
|
+
icon?: string | undefined;
|
|
2294
|
+
}, {
|
|
1659
2295
|
id: string;
|
|
2296
|
+
title: string;
|
|
1660
2297
|
route: string;
|
|
2298
|
+
icon?: string | undefined;
|
|
2299
|
+
session_scoped?: boolean | undefined;
|
|
2300
|
+
}>, "many">>;
|
|
2301
|
+
context_actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2302
|
+
id: z.ZodString;
|
|
2303
|
+
label: z.ZodString;
|
|
2304
|
+
when: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2305
|
+
kind: z.ZodLiteral<"file">;
|
|
2306
|
+
glob: z.ZodOptional<z.ZodString>;
|
|
2307
|
+
}, "strip", z.ZodTypeAny, {
|
|
2308
|
+
kind: "file";
|
|
2309
|
+
glob?: string | undefined;
|
|
2310
|
+
}, {
|
|
2311
|
+
kind: "file";
|
|
2312
|
+
glob?: string | undefined;
|
|
2313
|
+
}>, z.ZodObject<{
|
|
2314
|
+
kind: z.ZodLiteral<"artifact">;
|
|
2315
|
+
}, "strip", z.ZodTypeAny, {
|
|
2316
|
+
kind: "artifact";
|
|
2317
|
+
}, {
|
|
2318
|
+
kind: "artifact";
|
|
2319
|
+
}>, z.ZodObject<{
|
|
2320
|
+
kind: z.ZodLiteral<"session">;
|
|
2321
|
+
}, "strip", z.ZodTypeAny, {
|
|
2322
|
+
kind: "session";
|
|
2323
|
+
}, {
|
|
2324
|
+
kind: "session";
|
|
2325
|
+
}>, z.ZodObject<{
|
|
2326
|
+
kind: z.ZodLiteral<"ngwa-item">;
|
|
2327
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2328
|
+
}, "strip", z.ZodTypeAny, {
|
|
2329
|
+
kind: "ngwa-item";
|
|
2330
|
+
kinds?: string[] | undefined;
|
|
2331
|
+
}, {
|
|
2332
|
+
kind: "ngwa-item";
|
|
2333
|
+
kinds?: string[] | undefined;
|
|
2334
|
+
}>]>;
|
|
2335
|
+
run: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2336
|
+
kind: z.ZodLiteral<"dispatch">;
|
|
2337
|
+
prompt: z.ZodString;
|
|
2338
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2339
|
+
}, "strip", z.ZodTypeAny, {
|
|
2340
|
+
kind: "dispatch";
|
|
2341
|
+
prompt: string;
|
|
2342
|
+
target?: string | undefined;
|
|
2343
|
+
}, {
|
|
2344
|
+
kind: "dispatch";
|
|
2345
|
+
prompt: string;
|
|
2346
|
+
target?: string | undefined;
|
|
2347
|
+
}>, z.ZodObject<{
|
|
2348
|
+
kind: z.ZodLiteral<"view">;
|
|
2349
|
+
route: z.ZodString;
|
|
2350
|
+
}, "strip", z.ZodTypeAny, {
|
|
2351
|
+
kind: "view";
|
|
2352
|
+
route: string;
|
|
2353
|
+
}, {
|
|
2354
|
+
kind: "view";
|
|
2355
|
+
route: string;
|
|
2356
|
+
}>]>;
|
|
2357
|
+
}, "strict", z.ZodTypeAny, {
|
|
2358
|
+
label: string;
|
|
2359
|
+
run: {
|
|
2360
|
+
kind: "dispatch";
|
|
2361
|
+
prompt: string;
|
|
2362
|
+
target?: string | undefined;
|
|
2363
|
+
} | {
|
|
2364
|
+
kind: "view";
|
|
2365
|
+
route: string;
|
|
2366
|
+
};
|
|
2367
|
+
id: string;
|
|
2368
|
+
when: {
|
|
2369
|
+
kind: "file";
|
|
2370
|
+
glob?: string | undefined;
|
|
2371
|
+
} | {
|
|
2372
|
+
kind: "artifact";
|
|
2373
|
+
} | {
|
|
2374
|
+
kind: "session";
|
|
2375
|
+
} | {
|
|
2376
|
+
kind: "ngwa-item";
|
|
2377
|
+
kinds?: string[] | undefined;
|
|
2378
|
+
};
|
|
1661
2379
|
}, {
|
|
1662
2380
|
label: string;
|
|
2381
|
+
run: {
|
|
2382
|
+
kind: "dispatch";
|
|
2383
|
+
prompt: string;
|
|
2384
|
+
target?: string | undefined;
|
|
2385
|
+
} | {
|
|
2386
|
+
kind: "view";
|
|
2387
|
+
route: string;
|
|
2388
|
+
};
|
|
2389
|
+
id: string;
|
|
2390
|
+
when: {
|
|
2391
|
+
kind: "file";
|
|
2392
|
+
glob?: string | undefined;
|
|
2393
|
+
} | {
|
|
2394
|
+
kind: "artifact";
|
|
2395
|
+
} | {
|
|
2396
|
+
kind: "session";
|
|
2397
|
+
} | {
|
|
2398
|
+
kind: "ngwa-item";
|
|
2399
|
+
kinds?: string[] | undefined;
|
|
2400
|
+
};
|
|
2401
|
+
}>, "many">>;
|
|
2402
|
+
widgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2403
|
+
id: z.ZodString;
|
|
2404
|
+
title: z.ZodString;
|
|
2405
|
+
route: z.ZodString;
|
|
2406
|
+
span: z.ZodDefault<z.ZodEnum<["small", "medium", "wide"]>>;
|
|
2407
|
+
}, "strict", z.ZodTypeAny, {
|
|
2408
|
+
id: string;
|
|
2409
|
+
title: string;
|
|
2410
|
+
route: string;
|
|
2411
|
+
span: "small" | "medium" | "wide";
|
|
2412
|
+
}, {
|
|
1663
2413
|
id: string;
|
|
2414
|
+
title: string;
|
|
1664
2415
|
route: string;
|
|
2416
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
1665
2417
|
}>, "many">>;
|
|
1666
2418
|
csp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1667
2419
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -1692,14 +2444,212 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
1692
2444
|
shortcut?: string | undefined;
|
|
1693
2445
|
action?: unknown;
|
|
1694
2446
|
}[];
|
|
1695
|
-
|
|
2447
|
+
views: {
|
|
2448
|
+
id: string;
|
|
2449
|
+
title: string;
|
|
2450
|
+
route: string;
|
|
2451
|
+
pin_on_install: boolean;
|
|
2452
|
+
icon?: string | undefined;
|
|
2453
|
+
}[];
|
|
2454
|
+
explorer_sections: {
|
|
2455
|
+
id: string;
|
|
2456
|
+
title: string;
|
|
2457
|
+
data_route: string;
|
|
2458
|
+
icon?: string | undefined;
|
|
2459
|
+
order?: number | undefined;
|
|
2460
|
+
}[];
|
|
2461
|
+
companion_panels: {
|
|
2462
|
+
id: string;
|
|
2463
|
+
title: string;
|
|
2464
|
+
route: string;
|
|
2465
|
+
session_scoped: boolean;
|
|
2466
|
+
icon?: string | undefined;
|
|
2467
|
+
}[];
|
|
2468
|
+
context_actions: {
|
|
2469
|
+
label: string;
|
|
2470
|
+
run: {
|
|
2471
|
+
kind: "dispatch";
|
|
2472
|
+
prompt: string;
|
|
2473
|
+
target?: string | undefined;
|
|
2474
|
+
} | {
|
|
2475
|
+
kind: "view";
|
|
2476
|
+
route: string;
|
|
2477
|
+
};
|
|
2478
|
+
id: string;
|
|
2479
|
+
when: {
|
|
2480
|
+
kind: "file";
|
|
2481
|
+
glob?: string | undefined;
|
|
2482
|
+
} | {
|
|
2483
|
+
kind: "artifact";
|
|
2484
|
+
} | {
|
|
2485
|
+
kind: "session";
|
|
2486
|
+
} | {
|
|
2487
|
+
kind: "ngwa-item";
|
|
2488
|
+
kinds?: string[] | undefined;
|
|
2489
|
+
};
|
|
2490
|
+
}[];
|
|
2491
|
+
widgets: {
|
|
2492
|
+
id: string;
|
|
2493
|
+
title: string;
|
|
2494
|
+
route: string;
|
|
2495
|
+
span: "small" | "medium" | "wide";
|
|
2496
|
+
}[];
|
|
2497
|
+
session?: {
|
|
2498
|
+
persistence: "keep" | "clear-on-exit" | "ask";
|
|
2499
|
+
} | undefined;
|
|
2500
|
+
side_pane_viewers?: undefined;
|
|
2501
|
+
csp?: Record<string, string[]> | undefined;
|
|
2502
|
+
permissions?: Record<string, string[]> | undefined;
|
|
2503
|
+
}, {
|
|
2504
|
+
session?: {
|
|
2505
|
+
persistence: "keep" | "clear-on-exit" | "ask";
|
|
2506
|
+
} | undefined;
|
|
2507
|
+
nav?: {
|
|
2508
|
+
label: string;
|
|
2509
|
+
id: string;
|
|
2510
|
+
route: string;
|
|
2511
|
+
section?: string | undefined;
|
|
2512
|
+
icon?: string | undefined;
|
|
2513
|
+
}[] | undefined;
|
|
2514
|
+
routes?: {
|
|
2515
|
+
path: string;
|
|
2516
|
+
kind: "iframe" | "component" | "webview";
|
|
2517
|
+
source: string;
|
|
2518
|
+
partition?: string | undefined;
|
|
2519
|
+
}[] | undefined;
|
|
2520
|
+
command_palette?: {
|
|
2521
|
+
label: string;
|
|
2522
|
+
id: string;
|
|
2523
|
+
shortcut?: string | undefined;
|
|
2524
|
+
action?: unknown;
|
|
2525
|
+
}[] | undefined;
|
|
2526
|
+
side_pane_viewers?: undefined;
|
|
2527
|
+
views?: {
|
|
2528
|
+
id: string;
|
|
2529
|
+
title: string;
|
|
2530
|
+
route: string;
|
|
2531
|
+
icon?: string | undefined;
|
|
2532
|
+
pin_on_install?: boolean | undefined;
|
|
2533
|
+
}[] | undefined;
|
|
2534
|
+
explorer_sections?: {
|
|
2535
|
+
id: string;
|
|
2536
|
+
title: string;
|
|
2537
|
+
data_route: string;
|
|
2538
|
+
icon?: string | undefined;
|
|
2539
|
+
order?: number | undefined;
|
|
2540
|
+
}[] | undefined;
|
|
2541
|
+
companion_panels?: {
|
|
2542
|
+
id: string;
|
|
2543
|
+
title: string;
|
|
2544
|
+
route: string;
|
|
2545
|
+
icon?: string | undefined;
|
|
2546
|
+
session_scoped?: boolean | undefined;
|
|
2547
|
+
}[] | undefined;
|
|
2548
|
+
context_actions?: {
|
|
2549
|
+
label: string;
|
|
2550
|
+
run: {
|
|
2551
|
+
kind: "dispatch";
|
|
2552
|
+
prompt: string;
|
|
2553
|
+
target?: string | undefined;
|
|
2554
|
+
} | {
|
|
2555
|
+
kind: "view";
|
|
2556
|
+
route: string;
|
|
2557
|
+
};
|
|
2558
|
+
id: string;
|
|
2559
|
+
when: {
|
|
2560
|
+
kind: "file";
|
|
2561
|
+
glob?: string | undefined;
|
|
2562
|
+
} | {
|
|
2563
|
+
kind: "artifact";
|
|
2564
|
+
} | {
|
|
2565
|
+
kind: "session";
|
|
2566
|
+
} | {
|
|
2567
|
+
kind: "ngwa-item";
|
|
2568
|
+
kinds?: string[] | undefined;
|
|
2569
|
+
};
|
|
2570
|
+
}[] | undefined;
|
|
2571
|
+
widgets?: {
|
|
2572
|
+
id: string;
|
|
2573
|
+
title: string;
|
|
2574
|
+
route: string;
|
|
2575
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
2576
|
+
}[] | undefined;
|
|
2577
|
+
csp?: Record<string, string[]> | undefined;
|
|
2578
|
+
permissions?: Record<string, string[]> | undefined;
|
|
2579
|
+
}>, {
|
|
2580
|
+
nav: {
|
|
2581
|
+
label: string;
|
|
2582
|
+
id: string;
|
|
2583
|
+
route: string;
|
|
2584
|
+
section?: string | undefined;
|
|
2585
|
+
icon?: string | undefined;
|
|
2586
|
+
}[];
|
|
2587
|
+
routes: {
|
|
2588
|
+
path: string;
|
|
2589
|
+
kind: "iframe" | "component" | "webview";
|
|
2590
|
+
source: string;
|
|
2591
|
+
partition?: string | undefined;
|
|
2592
|
+
}[];
|
|
2593
|
+
command_palette: {
|
|
2594
|
+
label: string;
|
|
2595
|
+
id: string;
|
|
2596
|
+
shortcut?: string | undefined;
|
|
2597
|
+
action?: unknown;
|
|
2598
|
+
}[];
|
|
2599
|
+
views: {
|
|
2600
|
+
id: string;
|
|
2601
|
+
title: string;
|
|
2602
|
+
route: string;
|
|
2603
|
+
pin_on_install: boolean;
|
|
2604
|
+
icon?: string | undefined;
|
|
2605
|
+
}[];
|
|
2606
|
+
explorer_sections: {
|
|
2607
|
+
id: string;
|
|
2608
|
+
title: string;
|
|
2609
|
+
data_route: string;
|
|
2610
|
+
icon?: string | undefined;
|
|
2611
|
+
order?: number | undefined;
|
|
2612
|
+
}[];
|
|
2613
|
+
companion_panels: {
|
|
2614
|
+
id: string;
|
|
2615
|
+
title: string;
|
|
2616
|
+
route: string;
|
|
2617
|
+
session_scoped: boolean;
|
|
2618
|
+
icon?: string | undefined;
|
|
2619
|
+
}[];
|
|
2620
|
+
context_actions: {
|
|
1696
2621
|
label: string;
|
|
2622
|
+
run: {
|
|
2623
|
+
kind: "dispatch";
|
|
2624
|
+
prompt: string;
|
|
2625
|
+
target?: string | undefined;
|
|
2626
|
+
} | {
|
|
2627
|
+
kind: "view";
|
|
2628
|
+
route: string;
|
|
2629
|
+
};
|
|
2630
|
+
id: string;
|
|
2631
|
+
when: {
|
|
2632
|
+
kind: "file";
|
|
2633
|
+
glob?: string | undefined;
|
|
2634
|
+
} | {
|
|
2635
|
+
kind: "artifact";
|
|
2636
|
+
} | {
|
|
2637
|
+
kind: "session";
|
|
2638
|
+
} | {
|
|
2639
|
+
kind: "ngwa-item";
|
|
2640
|
+
kinds?: string[] | undefined;
|
|
2641
|
+
};
|
|
2642
|
+
}[];
|
|
2643
|
+
widgets: {
|
|
1697
2644
|
id: string;
|
|
2645
|
+
title: string;
|
|
1698
2646
|
route: string;
|
|
2647
|
+
span: "small" | "medium" | "wide";
|
|
1699
2648
|
}[];
|
|
1700
2649
|
session?: {
|
|
1701
2650
|
persistence: "keep" | "clear-on-exit" | "ask";
|
|
1702
2651
|
} | undefined;
|
|
2652
|
+
side_pane_viewers?: undefined;
|
|
1703
2653
|
csp?: Record<string, string[]> | undefined;
|
|
1704
2654
|
permissions?: Record<string, string[]> | undefined;
|
|
1705
2655
|
}, {
|
|
@@ -1725,10 +2675,56 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
1725
2675
|
shortcut?: string | undefined;
|
|
1726
2676
|
action?: unknown;
|
|
1727
2677
|
}[] | undefined;
|
|
1728
|
-
side_pane_viewers?:
|
|
2678
|
+
side_pane_viewers?: undefined;
|
|
2679
|
+
views?: {
|
|
2680
|
+
id: string;
|
|
2681
|
+
title: string;
|
|
2682
|
+
route: string;
|
|
2683
|
+
icon?: string | undefined;
|
|
2684
|
+
pin_on_install?: boolean | undefined;
|
|
2685
|
+
}[] | undefined;
|
|
2686
|
+
explorer_sections?: {
|
|
2687
|
+
id: string;
|
|
2688
|
+
title: string;
|
|
2689
|
+
data_route: string;
|
|
2690
|
+
icon?: string | undefined;
|
|
2691
|
+
order?: number | undefined;
|
|
2692
|
+
}[] | undefined;
|
|
2693
|
+
companion_panels?: {
|
|
2694
|
+
id: string;
|
|
2695
|
+
title: string;
|
|
2696
|
+
route: string;
|
|
2697
|
+
icon?: string | undefined;
|
|
2698
|
+
session_scoped?: boolean | undefined;
|
|
2699
|
+
}[] | undefined;
|
|
2700
|
+
context_actions?: {
|
|
1729
2701
|
label: string;
|
|
2702
|
+
run: {
|
|
2703
|
+
kind: "dispatch";
|
|
2704
|
+
prompt: string;
|
|
2705
|
+
target?: string | undefined;
|
|
2706
|
+
} | {
|
|
2707
|
+
kind: "view";
|
|
2708
|
+
route: string;
|
|
2709
|
+
};
|
|
1730
2710
|
id: string;
|
|
2711
|
+
when: {
|
|
2712
|
+
kind: "file";
|
|
2713
|
+
glob?: string | undefined;
|
|
2714
|
+
} | {
|
|
2715
|
+
kind: "artifact";
|
|
2716
|
+
} | {
|
|
2717
|
+
kind: "session";
|
|
2718
|
+
} | {
|
|
2719
|
+
kind: "ngwa-item";
|
|
2720
|
+
kinds?: string[] | undefined;
|
|
2721
|
+
};
|
|
2722
|
+
}[] | undefined;
|
|
2723
|
+
widgets?: {
|
|
2724
|
+
id: string;
|
|
2725
|
+
title: string;
|
|
1731
2726
|
route: string;
|
|
2727
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
1732
2728
|
}[] | undefined;
|
|
1733
2729
|
csp?: Record<string, string[]> | undefined;
|
|
1734
2730
|
permissions?: Record<string, string[]> | undefined;
|
|
@@ -2148,14 +3144,60 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
2148
3144
|
shortcut?: string | undefined;
|
|
2149
3145
|
action?: unknown;
|
|
2150
3146
|
}[];
|
|
2151
|
-
|
|
3147
|
+
views: {
|
|
3148
|
+
id: string;
|
|
3149
|
+
title: string;
|
|
3150
|
+
route: string;
|
|
3151
|
+
pin_on_install: boolean;
|
|
3152
|
+
icon?: string | undefined;
|
|
3153
|
+
}[];
|
|
3154
|
+
explorer_sections: {
|
|
3155
|
+
id: string;
|
|
3156
|
+
title: string;
|
|
3157
|
+
data_route: string;
|
|
3158
|
+
icon?: string | undefined;
|
|
3159
|
+
order?: number | undefined;
|
|
3160
|
+
}[];
|
|
3161
|
+
companion_panels: {
|
|
3162
|
+
id: string;
|
|
3163
|
+
title: string;
|
|
3164
|
+
route: string;
|
|
3165
|
+
session_scoped: boolean;
|
|
3166
|
+
icon?: string | undefined;
|
|
3167
|
+
}[];
|
|
3168
|
+
context_actions: {
|
|
2152
3169
|
label: string;
|
|
3170
|
+
run: {
|
|
3171
|
+
kind: "dispatch";
|
|
3172
|
+
prompt: string;
|
|
3173
|
+
target?: string | undefined;
|
|
3174
|
+
} | {
|
|
3175
|
+
kind: "view";
|
|
3176
|
+
route: string;
|
|
3177
|
+
};
|
|
3178
|
+
id: string;
|
|
3179
|
+
when: {
|
|
3180
|
+
kind: "file";
|
|
3181
|
+
glob?: string | undefined;
|
|
3182
|
+
} | {
|
|
3183
|
+
kind: "artifact";
|
|
3184
|
+
} | {
|
|
3185
|
+
kind: "session";
|
|
3186
|
+
} | {
|
|
3187
|
+
kind: "ngwa-item";
|
|
3188
|
+
kinds?: string[] | undefined;
|
|
3189
|
+
};
|
|
3190
|
+
}[];
|
|
3191
|
+
widgets: {
|
|
2153
3192
|
id: string;
|
|
3193
|
+
title: string;
|
|
2154
3194
|
route: string;
|
|
3195
|
+
span: "small" | "medium" | "wide";
|
|
2155
3196
|
}[];
|
|
2156
3197
|
session?: {
|
|
2157
3198
|
persistence: "keep" | "clear-on-exit" | "ask";
|
|
2158
3199
|
} | undefined;
|
|
3200
|
+
side_pane_viewers?: undefined;
|
|
2159
3201
|
csp?: Record<string, string[]> | undefined;
|
|
2160
3202
|
permissions?: Record<string, string[]> | undefined;
|
|
2161
3203
|
};
|
|
@@ -2402,10 +3444,56 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
2402
3444
|
shortcut?: string | undefined;
|
|
2403
3445
|
action?: unknown;
|
|
2404
3446
|
}[] | undefined;
|
|
2405
|
-
side_pane_viewers?:
|
|
3447
|
+
side_pane_viewers?: undefined;
|
|
3448
|
+
views?: {
|
|
3449
|
+
id: string;
|
|
3450
|
+
title: string;
|
|
3451
|
+
route: string;
|
|
3452
|
+
icon?: string | undefined;
|
|
3453
|
+
pin_on_install?: boolean | undefined;
|
|
3454
|
+
}[] | undefined;
|
|
3455
|
+
explorer_sections?: {
|
|
3456
|
+
id: string;
|
|
3457
|
+
title: string;
|
|
3458
|
+
data_route: string;
|
|
3459
|
+
icon?: string | undefined;
|
|
3460
|
+
order?: number | undefined;
|
|
3461
|
+
}[] | undefined;
|
|
3462
|
+
companion_panels?: {
|
|
3463
|
+
id: string;
|
|
3464
|
+
title: string;
|
|
3465
|
+
route: string;
|
|
3466
|
+
icon?: string | undefined;
|
|
3467
|
+
session_scoped?: boolean | undefined;
|
|
3468
|
+
}[] | undefined;
|
|
3469
|
+
context_actions?: {
|
|
2406
3470
|
label: string;
|
|
3471
|
+
run: {
|
|
3472
|
+
kind: "dispatch";
|
|
3473
|
+
prompt: string;
|
|
3474
|
+
target?: string | undefined;
|
|
3475
|
+
} | {
|
|
3476
|
+
kind: "view";
|
|
3477
|
+
route: string;
|
|
3478
|
+
};
|
|
3479
|
+
id: string;
|
|
3480
|
+
when: {
|
|
3481
|
+
kind: "file";
|
|
3482
|
+
glob?: string | undefined;
|
|
3483
|
+
} | {
|
|
3484
|
+
kind: "artifact";
|
|
3485
|
+
} | {
|
|
3486
|
+
kind: "session";
|
|
3487
|
+
} | {
|
|
3488
|
+
kind: "ngwa-item";
|
|
3489
|
+
kinds?: string[] | undefined;
|
|
3490
|
+
};
|
|
3491
|
+
}[] | undefined;
|
|
3492
|
+
widgets?: {
|
|
2407
3493
|
id: string;
|
|
3494
|
+
title: string;
|
|
2408
3495
|
route: string;
|
|
3496
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
2409
3497
|
}[] | undefined;
|
|
2410
3498
|
csp?: Record<string, string[]> | undefined;
|
|
2411
3499
|
permissions?: Record<string, string[]> | undefined;
|
|
@@ -2536,14 +3624,60 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
2536
3624
|
shortcut?: string | undefined;
|
|
2537
3625
|
action?: unknown;
|
|
2538
3626
|
}[];
|
|
2539
|
-
|
|
3627
|
+
views: {
|
|
3628
|
+
id: string;
|
|
3629
|
+
title: string;
|
|
3630
|
+
route: string;
|
|
3631
|
+
pin_on_install: boolean;
|
|
3632
|
+
icon?: string | undefined;
|
|
3633
|
+
}[];
|
|
3634
|
+
explorer_sections: {
|
|
3635
|
+
id: string;
|
|
3636
|
+
title: string;
|
|
3637
|
+
data_route: string;
|
|
3638
|
+
icon?: string | undefined;
|
|
3639
|
+
order?: number | undefined;
|
|
3640
|
+
}[];
|
|
3641
|
+
companion_panels: {
|
|
3642
|
+
id: string;
|
|
3643
|
+
title: string;
|
|
3644
|
+
route: string;
|
|
3645
|
+
session_scoped: boolean;
|
|
3646
|
+
icon?: string | undefined;
|
|
3647
|
+
}[];
|
|
3648
|
+
context_actions: {
|
|
2540
3649
|
label: string;
|
|
3650
|
+
run: {
|
|
3651
|
+
kind: "dispatch";
|
|
3652
|
+
prompt: string;
|
|
3653
|
+
target?: string | undefined;
|
|
3654
|
+
} | {
|
|
3655
|
+
kind: "view";
|
|
3656
|
+
route: string;
|
|
3657
|
+
};
|
|
3658
|
+
id: string;
|
|
3659
|
+
when: {
|
|
3660
|
+
kind: "file";
|
|
3661
|
+
glob?: string | undefined;
|
|
3662
|
+
} | {
|
|
3663
|
+
kind: "artifact";
|
|
3664
|
+
} | {
|
|
3665
|
+
kind: "session";
|
|
3666
|
+
} | {
|
|
3667
|
+
kind: "ngwa-item";
|
|
3668
|
+
kinds?: string[] | undefined;
|
|
3669
|
+
};
|
|
3670
|
+
}[];
|
|
3671
|
+
widgets: {
|
|
2541
3672
|
id: string;
|
|
3673
|
+
title: string;
|
|
2542
3674
|
route: string;
|
|
3675
|
+
span: "small" | "medium" | "wide";
|
|
2543
3676
|
}[];
|
|
2544
3677
|
session?: {
|
|
2545
3678
|
persistence: "keep" | "clear-on-exit" | "ask";
|
|
2546
3679
|
} | undefined;
|
|
3680
|
+
side_pane_viewers?: undefined;
|
|
2547
3681
|
csp?: Record<string, string[]> | undefined;
|
|
2548
3682
|
permissions?: Record<string, string[]> | undefined;
|
|
2549
3683
|
};
|
|
@@ -2801,10 +3935,56 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
2801
3935
|
shortcut?: string | undefined;
|
|
2802
3936
|
action?: unknown;
|
|
2803
3937
|
}[] | undefined;
|
|
2804
|
-
side_pane_viewers?:
|
|
3938
|
+
side_pane_viewers?: undefined;
|
|
3939
|
+
views?: {
|
|
3940
|
+
id: string;
|
|
3941
|
+
title: string;
|
|
3942
|
+
route: string;
|
|
3943
|
+
icon?: string | undefined;
|
|
3944
|
+
pin_on_install?: boolean | undefined;
|
|
3945
|
+
}[] | undefined;
|
|
3946
|
+
explorer_sections?: {
|
|
3947
|
+
id: string;
|
|
3948
|
+
title: string;
|
|
3949
|
+
data_route: string;
|
|
3950
|
+
icon?: string | undefined;
|
|
3951
|
+
order?: number | undefined;
|
|
3952
|
+
}[] | undefined;
|
|
3953
|
+
companion_panels?: {
|
|
3954
|
+
id: string;
|
|
3955
|
+
title: string;
|
|
3956
|
+
route: string;
|
|
3957
|
+
icon?: string | undefined;
|
|
3958
|
+
session_scoped?: boolean | undefined;
|
|
3959
|
+
}[] | undefined;
|
|
3960
|
+
context_actions?: {
|
|
2805
3961
|
label: string;
|
|
3962
|
+
run: {
|
|
3963
|
+
kind: "dispatch";
|
|
3964
|
+
prompt: string;
|
|
3965
|
+
target?: string | undefined;
|
|
3966
|
+
} | {
|
|
3967
|
+
kind: "view";
|
|
3968
|
+
route: string;
|
|
3969
|
+
};
|
|
2806
3970
|
id: string;
|
|
3971
|
+
when: {
|
|
3972
|
+
kind: "file";
|
|
3973
|
+
glob?: string | undefined;
|
|
3974
|
+
} | {
|
|
3975
|
+
kind: "artifact";
|
|
3976
|
+
} | {
|
|
3977
|
+
kind: "session";
|
|
3978
|
+
} | {
|
|
3979
|
+
kind: "ngwa-item";
|
|
3980
|
+
kinds?: string[] | undefined;
|
|
3981
|
+
};
|
|
3982
|
+
}[] | undefined;
|
|
3983
|
+
widgets?: {
|
|
3984
|
+
id: string;
|
|
3985
|
+
title: string;
|
|
2807
3986
|
route: string;
|
|
3987
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
2808
3988
|
}[] | undefined;
|
|
2809
3989
|
csp?: Record<string, string[]> | undefined;
|
|
2810
3990
|
permissions?: Record<string, string[]> | undefined;
|
|
@@ -2919,14 +4099,60 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
2919
4099
|
shortcut?: string | undefined;
|
|
2920
4100
|
action?: unknown;
|
|
2921
4101
|
}[];
|
|
2922
|
-
|
|
4102
|
+
views: {
|
|
4103
|
+
id: string;
|
|
4104
|
+
title: string;
|
|
4105
|
+
route: string;
|
|
4106
|
+
pin_on_install: boolean;
|
|
4107
|
+
icon?: string | undefined;
|
|
4108
|
+
}[];
|
|
4109
|
+
explorer_sections: {
|
|
4110
|
+
id: string;
|
|
4111
|
+
title: string;
|
|
4112
|
+
data_route: string;
|
|
4113
|
+
icon?: string | undefined;
|
|
4114
|
+
order?: number | undefined;
|
|
4115
|
+
}[];
|
|
4116
|
+
companion_panels: {
|
|
4117
|
+
id: string;
|
|
4118
|
+
title: string;
|
|
4119
|
+
route: string;
|
|
4120
|
+
session_scoped: boolean;
|
|
4121
|
+
icon?: string | undefined;
|
|
4122
|
+
}[];
|
|
4123
|
+
context_actions: {
|
|
2923
4124
|
label: string;
|
|
4125
|
+
run: {
|
|
4126
|
+
kind: "dispatch";
|
|
4127
|
+
prompt: string;
|
|
4128
|
+
target?: string | undefined;
|
|
4129
|
+
} | {
|
|
4130
|
+
kind: "view";
|
|
4131
|
+
route: string;
|
|
4132
|
+
};
|
|
4133
|
+
id: string;
|
|
4134
|
+
when: {
|
|
4135
|
+
kind: "file";
|
|
4136
|
+
glob?: string | undefined;
|
|
4137
|
+
} | {
|
|
4138
|
+
kind: "artifact";
|
|
4139
|
+
} | {
|
|
4140
|
+
kind: "session";
|
|
4141
|
+
} | {
|
|
4142
|
+
kind: "ngwa-item";
|
|
4143
|
+
kinds?: string[] | undefined;
|
|
4144
|
+
};
|
|
4145
|
+
}[];
|
|
4146
|
+
widgets: {
|
|
2924
4147
|
id: string;
|
|
4148
|
+
title: string;
|
|
2925
4149
|
route: string;
|
|
4150
|
+
span: "small" | "medium" | "wide";
|
|
2926
4151
|
}[];
|
|
2927
4152
|
session?: {
|
|
2928
4153
|
persistence: "keep" | "clear-on-exit" | "ask";
|
|
2929
4154
|
} | undefined;
|
|
4155
|
+
side_pane_viewers?: undefined;
|
|
2930
4156
|
csp?: Record<string, string[]> | undefined;
|
|
2931
4157
|
permissions?: Record<string, string[]> | undefined;
|
|
2932
4158
|
};
|
|
@@ -3189,10 +4415,56 @@ export declare const PkgDetailSchema: z.ZodObject<{
|
|
|
3189
4415
|
shortcut?: string | undefined;
|
|
3190
4416
|
action?: unknown;
|
|
3191
4417
|
}[] | undefined;
|
|
3192
|
-
side_pane_viewers?:
|
|
4418
|
+
side_pane_viewers?: undefined;
|
|
4419
|
+
views?: {
|
|
4420
|
+
id: string;
|
|
4421
|
+
title: string;
|
|
4422
|
+
route: string;
|
|
4423
|
+
icon?: string | undefined;
|
|
4424
|
+
pin_on_install?: boolean | undefined;
|
|
4425
|
+
}[] | undefined;
|
|
4426
|
+
explorer_sections?: {
|
|
4427
|
+
id: string;
|
|
4428
|
+
title: string;
|
|
4429
|
+
data_route: string;
|
|
4430
|
+
icon?: string | undefined;
|
|
4431
|
+
order?: number | undefined;
|
|
4432
|
+
}[] | undefined;
|
|
4433
|
+
companion_panels?: {
|
|
4434
|
+
id: string;
|
|
4435
|
+
title: string;
|
|
4436
|
+
route: string;
|
|
4437
|
+
icon?: string | undefined;
|
|
4438
|
+
session_scoped?: boolean | undefined;
|
|
4439
|
+
}[] | undefined;
|
|
4440
|
+
context_actions?: {
|
|
3193
4441
|
label: string;
|
|
4442
|
+
run: {
|
|
4443
|
+
kind: "dispatch";
|
|
4444
|
+
prompt: string;
|
|
4445
|
+
target?: string | undefined;
|
|
4446
|
+
} | {
|
|
4447
|
+
kind: "view";
|
|
4448
|
+
route: string;
|
|
4449
|
+
};
|
|
4450
|
+
id: string;
|
|
4451
|
+
when: {
|
|
4452
|
+
kind: "file";
|
|
4453
|
+
glob?: string | undefined;
|
|
4454
|
+
} | {
|
|
4455
|
+
kind: "artifact";
|
|
4456
|
+
} | {
|
|
4457
|
+
kind: "session";
|
|
4458
|
+
} | {
|
|
4459
|
+
kind: "ngwa-item";
|
|
4460
|
+
kinds?: string[] | undefined;
|
|
4461
|
+
};
|
|
4462
|
+
}[] | undefined;
|
|
4463
|
+
widgets?: {
|
|
3194
4464
|
id: string;
|
|
4465
|
+
title: string;
|
|
3195
4466
|
route: string;
|
|
4467
|
+
span?: "small" | "medium" | "wide" | undefined;
|
|
3196
4468
|
}[] | undefined;
|
|
3197
4469
|
csp?: Record<string, string[]> | undefined;
|
|
3198
4470
|
permissions?: Record<string, string[]> | undefined;
|