@vibes.diy/api-types 14.0.5 → 14.0.6

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/app.d.ts CHANGED
@@ -500,207 +500,17 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
500
500
  appSlug?: string | undefined;
501
501
  ownerHandle?: string | undefined;
502
502
  blocks: ({
503
- blockId: string;
504
- streamId: string;
505
- seq: number;
506
- blockNr: number;
507
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
508
- type: "block.begin";
509
- } | {
510
- blockId: string;
511
- streamId: string;
512
- seq: number;
513
- blockNr: number;
514
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
515
- type: "block.end";
516
- stats: {
517
- toplevel: {
518
- lines: number;
519
- bytes: number;
520
- cnt?: number | undefined;
521
- };
522
- code: {
523
- lines: number;
524
- bytes: number;
525
- cnt?: number | undefined;
526
- };
527
- image: {
528
- lines: number;
529
- bytes: number;
530
- cnt?: number | undefined;
531
- };
532
- total: {
533
- lines: number;
534
- bytes: number;
535
- cnt?: number | undefined;
536
- };
537
- };
538
- usage: {
539
- given: {
540
- prompt_tokens: number;
541
- completion_tokens: number;
542
- total_tokens: number;
543
- }[];
544
- calculated: {
545
- prompt_tokens: number;
546
- completion_tokens: number;
547
- total_tokens: number;
548
- };
549
- };
550
- fsRef?: ((In: {
551
- appSlug: string;
552
- ownerHandle?: string | undefined;
553
- userSlug?: string | undefined;
554
- mode: "dev" | "production";
555
- fsId: string;
556
- }) => import("arktype").Out<{
557
- appSlug: string;
558
- mode: "dev" | "production";
559
- fsId: string;
560
- ownerHandle: string;
561
- }>) | undefined;
562
- touchedPaths?: string[] | undefined;
563
- settled?: {
564
- reach: "companion-only" | "entry" | "none" | "server-only";
565
- entryTouched: boolean;
566
- touchedCount: number;
567
- applied: boolean;
568
- } | undefined;
569
- } | {
570
- blockId: string;
571
- streamId: string;
572
- seq: number;
573
- blockNr: number;
574
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
575
- type: "block.toplevel.begin";
576
- sectionId: string;
577
- } | {
578
- blockId: string;
579
- streamId: string;
580
- seq: number;
581
- blockNr: number;
582
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
583
- lineNr: number;
584
- line: string;
585
- type: "block.toplevel.line";
586
- sectionId: string;
587
- } | {
588
- blockId: string;
589
- streamId: string;
590
- seq: number;
591
- blockNr: number;
592
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
593
- stats: {
594
- lines: number;
595
- bytes: number;
596
- cnt?: number | undefined;
597
- };
598
- type: "block.toplevel.end";
599
- sectionId: string;
600
- } | {
601
- blockId: string;
602
- streamId: string;
603
- seq: number;
604
- blockNr: number;
605
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
606
- type: "block.code.begin";
607
- sectionId: string;
608
- lang: string;
609
- path?: string | undefined;
610
- } | {
611
- blockId: string;
612
- streamId: string;
613
- seq: number;
614
- blockNr: number;
615
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
616
- lineNr: number;
617
- line: string;
618
- type: "block.code.line";
619
- sectionId: string;
620
- lang: string;
621
- path?: string | undefined;
622
- } | {
623
- blockId: string;
624
- streamId: string;
625
- seq: number;
626
- blockNr: number;
627
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
628
- stats: {
629
- lines: number;
630
- bytes: number;
631
- cnt?: number | undefined;
632
- };
633
- type: "block.code.end";
634
- sectionId: string;
635
- lang: string;
636
- path?: string | undefined;
637
- } | {
638
- blockId: string;
639
- streamId: string;
640
- seq: number;
641
- blockNr: number;
642
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
643
- type: "block.code.truncated";
644
- sectionId: string;
645
- lang: string;
646
- path?: string | undefined;
647
- reason: string;
648
- kind: string;
649
- truncatedAtLine: number;
650
- errorCount: number;
651
- } | {
652
- blockId: string;
653
503
  streamId: string;
504
+ chatId: string;
654
505
  seq: number;
655
- blockNr: number;
656
506
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
657
- stats: {
658
- lines: number;
659
- bytes: number;
660
- cnt?: number | undefined;
661
- };
662
- type: "block.image";
663
- sectionId: string;
664
- url?: string | undefined;
665
- uploadId?: string | undefined;
666
- cid?: string | undefined;
667
- mimeType?: string | undefined;
668
- size?: number | undefined;
669
- docWritten?: boolean | undefined;
507
+ type: "prompt.block-begin";
670
508
  } | {
671
- blockId: string;
672
509
  streamId: string;
510
+ chatId: string;
673
511
  seq: number;
674
- blockNr: number;
675
512
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
676
- type: "block.stats";
677
- stats: {
678
- toplevel: {
679
- lines: number;
680
- bytes: number;
681
- cnt?: number | undefined;
682
- };
683
- code: {
684
- lines: number;
685
- bytes: number;
686
- cnt?: number | undefined;
687
- };
688
- image: {
689
- lines: number;
690
- bytes: number;
691
- cnt?: number | undefined;
692
- };
693
- total: {
694
- lines: number;
695
- bytes: number;
696
- cnt?: number | undefined;
697
- };
698
- };
699
- usage: {
700
- prompt_tokens: number;
701
- completion_tokens: number;
702
- total_tokens: number;
703
- };
513
+ type: "prompt.block-end";
704
514
  } | {
705
515
  streamId: string;
706
516
  chatId: string;
@@ -780,6 +590,13 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
780
590
  response_format?: unknown;
781
591
  };
782
592
  agentDispatched?: true | undefined;
593
+ } | {
594
+ streamId: string;
595
+ chatId: string;
596
+ seq: number;
597
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
598
+ type: "prompt.error";
599
+ error: string;
783
600
  } | {
784
601
  streamId: string;
785
602
  chatId: string;
@@ -824,64 +641,6 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
824
641
  type: "uint8-asset-ref";
825
642
  refId: string;
826
643
  })[];
827
- } | {
828
- streamId: string;
829
- chatId: string;
830
- seq: number;
831
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
832
- type: "prompt.block-begin";
833
- } | {
834
- streamId: string;
835
- chatId: string;
836
- seq: number;
837
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
838
- type: "prompt.error";
839
- error: string;
840
- } | {
841
- streamId: string;
842
- chatId: string;
843
- seq: number;
844
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
845
- type: "prompt.block-end";
846
- } | {
847
- streamId: string;
848
- chatId: string;
849
- seq: number;
850
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
851
- type: "prompt.model-resolved";
852
- model: string;
853
- } | {
854
- streamId: string;
855
- chatId: string;
856
- seq: number;
857
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
858
- type: "prompt.fs-persisted";
859
- fsRef: (In: {
860
- appSlug: string;
861
- ownerHandle?: string | undefined;
862
- userSlug?: string | undefined;
863
- mode: "dev" | "production";
864
- fsId: string;
865
- }) => import("arktype").Out<{
866
- appSlug: string;
867
- mode: "dev" | "production";
868
- fsId: string;
869
- ownerHandle: string;
870
- }>;
871
- } | {
872
- streamId: string;
873
- chatId: string;
874
- seq: number;
875
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
876
- type: "prompt.system-prompt";
877
- text: string;
878
- } | {
879
- streamId: string;
880
- chatId: string;
881
- seq: number;
882
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
883
- type: "prompt.raw";
884
- text: string;
885
644
  } | {
886
645
  streamId: string;
887
646
  chatId: string;
@@ -960,6 +719,45 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
960
719
  } | undefined;
961
720
  response_format?: unknown;
962
721
  };
722
+ } | {
723
+ streamId: string;
724
+ chatId: string;
725
+ seq: number;
726
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
727
+ type: "prompt.model-resolved";
728
+ model: string;
729
+ } | {
730
+ streamId: string;
731
+ chatId: string;
732
+ seq: number;
733
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
734
+ type: "prompt.raw";
735
+ text: string;
736
+ } | {
737
+ streamId: string;
738
+ chatId: string;
739
+ seq: number;
740
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
741
+ type: "prompt.fs-persisted";
742
+ fsRef: (In: {
743
+ appSlug: string;
744
+ ownerHandle?: string | undefined;
745
+ userSlug?: string | undefined;
746
+ mode: "dev" | "production";
747
+ fsId: string;
748
+ }) => import("arktype").Out<{
749
+ appSlug: string;
750
+ mode: "dev" | "production";
751
+ fsId: string;
752
+ ownerHandle: string;
753
+ }>;
754
+ } | {
755
+ streamId: string;
756
+ chatId: string;
757
+ seq: number;
758
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
759
+ type: "prompt.system-prompt";
760
+ text: string;
963
761
  } | {
964
762
  streamId: string;
965
763
  chatId: string;
@@ -1062,6 +860,208 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
1062
860
  }[];
1063
861
  completedAt: string;
1064
862
  errorCode?: string | undefined;
863
+ } | {
864
+ blockId: string;
865
+ streamId: string;
866
+ seq: number;
867
+ blockNr: number;
868
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
869
+ type: "block.begin";
870
+ } | {
871
+ blockId: string;
872
+ streamId: string;
873
+ seq: number;
874
+ blockNr: number;
875
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
876
+ type: "block.end";
877
+ stats: {
878
+ toplevel: {
879
+ lines: number;
880
+ bytes: number;
881
+ cnt?: number | undefined;
882
+ };
883
+ code: {
884
+ lines: number;
885
+ bytes: number;
886
+ cnt?: number | undefined;
887
+ };
888
+ image: {
889
+ lines: number;
890
+ bytes: number;
891
+ cnt?: number | undefined;
892
+ };
893
+ total: {
894
+ lines: number;
895
+ bytes: number;
896
+ cnt?: number | undefined;
897
+ };
898
+ };
899
+ usage: {
900
+ given: {
901
+ prompt_tokens: number;
902
+ completion_tokens: number;
903
+ total_tokens: number;
904
+ }[];
905
+ calculated: {
906
+ prompt_tokens: number;
907
+ completion_tokens: number;
908
+ total_tokens: number;
909
+ };
910
+ };
911
+ fsRef?: ((In: {
912
+ appSlug: string;
913
+ ownerHandle?: string | undefined;
914
+ userSlug?: string | undefined;
915
+ mode: "dev" | "production";
916
+ fsId: string;
917
+ }) => import("arktype").Out<{
918
+ appSlug: string;
919
+ mode: "dev" | "production";
920
+ fsId: string;
921
+ ownerHandle: string;
922
+ }>) | undefined;
923
+ touchedPaths?: string[] | undefined;
924
+ settled?: {
925
+ reach: "companion-only" | "entry" | "none" | "server-only";
926
+ entryTouched: boolean;
927
+ touchedCount: number;
928
+ applied: boolean;
929
+ } | undefined;
930
+ } | {
931
+ blockId: string;
932
+ streamId: string;
933
+ seq: number;
934
+ blockNr: number;
935
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
936
+ type: "block.stats";
937
+ stats: {
938
+ toplevel: {
939
+ lines: number;
940
+ bytes: number;
941
+ cnt?: number | undefined;
942
+ };
943
+ code: {
944
+ lines: number;
945
+ bytes: number;
946
+ cnt?: number | undefined;
947
+ };
948
+ image: {
949
+ lines: number;
950
+ bytes: number;
951
+ cnt?: number | undefined;
952
+ };
953
+ total: {
954
+ lines: number;
955
+ bytes: number;
956
+ cnt?: number | undefined;
957
+ };
958
+ };
959
+ usage: {
960
+ prompt_tokens: number;
961
+ completion_tokens: number;
962
+ total_tokens: number;
963
+ };
964
+ } | {
965
+ blockId: string;
966
+ streamId: string;
967
+ seq: number;
968
+ blockNr: number;
969
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
970
+ stats: {
971
+ lines: number;
972
+ bytes: number;
973
+ cnt?: number | undefined;
974
+ };
975
+ type: "block.image";
976
+ sectionId: string;
977
+ url?: string | undefined;
978
+ uploadId?: string | undefined;
979
+ cid?: string | undefined;
980
+ mimeType?: string | undefined;
981
+ size?: number | undefined;
982
+ docWritten?: boolean | undefined;
983
+ } | {
984
+ blockId: string;
985
+ streamId: string;
986
+ seq: number;
987
+ blockNr: number;
988
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
989
+ type: "block.code.begin";
990
+ sectionId: string;
991
+ lang: string;
992
+ path?: string | undefined;
993
+ } | {
994
+ blockId: string;
995
+ streamId: string;
996
+ seq: number;
997
+ blockNr: number;
998
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
999
+ lineNr: number;
1000
+ line: string;
1001
+ type: "block.code.line";
1002
+ sectionId: string;
1003
+ lang: string;
1004
+ path?: string | undefined;
1005
+ } | {
1006
+ blockId: string;
1007
+ streamId: string;
1008
+ seq: number;
1009
+ blockNr: number;
1010
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1011
+ stats: {
1012
+ lines: number;
1013
+ bytes: number;
1014
+ cnt?: number | undefined;
1015
+ };
1016
+ type: "block.code.end";
1017
+ sectionId: string;
1018
+ lang: string;
1019
+ path?: string | undefined;
1020
+ } | {
1021
+ blockId: string;
1022
+ streamId: string;
1023
+ seq: number;
1024
+ blockNr: number;
1025
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1026
+ type: "block.code.truncated";
1027
+ sectionId: string;
1028
+ lang: string;
1029
+ path?: string | undefined;
1030
+ reason: string;
1031
+ kind: string;
1032
+ truncatedAtLine: number;
1033
+ errorCount: number;
1034
+ } | {
1035
+ blockId: string;
1036
+ streamId: string;
1037
+ seq: number;
1038
+ blockNr: number;
1039
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1040
+ type: "block.toplevel.begin";
1041
+ sectionId: string;
1042
+ } | {
1043
+ blockId: string;
1044
+ streamId: string;
1045
+ seq: number;
1046
+ blockNr: number;
1047
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1048
+ lineNr: number;
1049
+ line: string;
1050
+ type: "block.toplevel.line";
1051
+ sectionId: string;
1052
+ } | {
1053
+ blockId: string;
1054
+ streamId: string;
1055
+ seq: number;
1056
+ blockNr: number;
1057
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1058
+ stats: {
1059
+ lines: number;
1060
+ bytes: number;
1061
+ cnt?: number | undefined;
1062
+ };
1063
+ type: "block.toplevel.end";
1064
+ sectionId: string;
1065
1065
  })[];
1066
1066
  }, {}>;
1067
1067
  export type ResGetApplicationChat = typeof resGetApplicationChat.infer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "14.0.5",
3
+ "version": "14.0.6",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -16,9 +16,9 @@
16
16
  "dependencies": {
17
17
  "@adviser/cement": "~0.5.34",
18
18
  "@cloudflare/workers-types": "~5.20260823.1",
19
- "@vibes.diy/call-ai-v2": "14.0.5",
20
- "@vibes.diy/identity": "14.0.5",
21
- "@vibes.diy/vibe-types": "14.0.5",
19
+ "@vibes.diy/call-ai-v2": "14.0.6",
20
+ "@vibes.diy/identity": "14.0.6",
21
+ "@vibes.diy/vibe-types": "14.0.6",
22
22
  "arktype": "~2.2.3"
23
23
  },
24
24
  "repository": {
package/settings.d.ts CHANGED
@@ -1263,6 +1263,96 @@ export type ReqEnsureAppSettings = ReqPublicAccess | ReqRequest | ReqEnsureAppSe
1263
1263
  export declare function isReqEnsureAppSettings(obj: unknown): obj is ReqEnsureAppSettings;
1264
1264
  export declare const AppSettings: import("arktype/internal/variants/object.ts").ObjectType<{
1265
1265
  entries: ({
1266
+ type: "active.style";
1267
+ palette?: {
1268
+ hues: [number, ({
1269
+ mode: "derived";
1270
+ } | {
1271
+ mode: "pinned";
1272
+ h: number;
1273
+ } | undefined)?, ({
1274
+ mode: "derived";
1275
+ } | {
1276
+ mode: "pinned";
1277
+ h: number;
1278
+ } | undefined)?];
1279
+ character: {
1280
+ chroma: number;
1281
+ contrast: number;
1282
+ neutralTint: number;
1283
+ surfaceLift: number;
1284
+ fillLevel: number;
1285
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1286
+ };
1287
+ } | undefined;
1288
+ font?: string | undefined;
1289
+ ornament?: {
1290
+ pad: {
1291
+ x: number;
1292
+ y: number;
1293
+ };
1294
+ pins?: {
1295
+ spacing?: string | undefined;
1296
+ "font-size-base"?: string | undefined;
1297
+ radius?: string | undefined;
1298
+ "radius-sm"?: string | undefined;
1299
+ "radius-lg"?: string | undefined;
1300
+ "border-width"?: string | undefined;
1301
+ shadow?: string | undefined;
1302
+ "shadow-sm"?: string | undefined;
1303
+ "shadow-lg"?: string | undefined;
1304
+ "letter-spacing"?: string | undefined;
1305
+ "letter-spacing-wide"?: string | undefined;
1306
+ "font-weight"?: string | undefined;
1307
+ "text-transform"?: string | undefined;
1308
+ } | undefined;
1309
+ } | undefined;
1310
+ } | {
1311
+ type: "draft.style";
1312
+ palette?: {
1313
+ hues: [number, ({
1314
+ mode: "derived";
1315
+ } | {
1316
+ mode: "pinned";
1317
+ h: number;
1318
+ } | undefined)?, ({
1319
+ mode: "derived";
1320
+ } | {
1321
+ mode: "pinned";
1322
+ h: number;
1323
+ } | undefined)?];
1324
+ character: {
1325
+ chroma: number;
1326
+ contrast: number;
1327
+ neutralTint: number;
1328
+ surfaceLift: number;
1329
+ fillLevel: number;
1330
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1331
+ };
1332
+ } | undefined;
1333
+ font?: string | undefined;
1334
+ ornament?: {
1335
+ pad: {
1336
+ x: number;
1337
+ y: number;
1338
+ };
1339
+ pins?: {
1340
+ spacing?: string | undefined;
1341
+ "font-size-base"?: string | undefined;
1342
+ radius?: string | undefined;
1343
+ "radius-sm"?: string | undefined;
1344
+ "radius-lg"?: string | undefined;
1345
+ "border-width"?: string | undefined;
1346
+ shadow?: string | undefined;
1347
+ "shadow-sm"?: string | undefined;
1348
+ "shadow-lg"?: string | undefined;
1349
+ "letter-spacing"?: string | undefined;
1350
+ "letter-spacing-wide"?: string | undefined;
1351
+ "font-weight"?: string | undefined;
1352
+ "text-transform"?: string | undefined;
1353
+ } | undefined;
1354
+ } | undefined;
1355
+ } | {
1266
1356
  type: "active.cached-suggestion";
1267
1357
  key: string;
1268
1358
  fsId: string;
@@ -1432,96 +1522,6 @@ export declare const AppSettings: import("arktype/internal/variants/object.ts").
1432
1522
  } | {
1433
1523
  type: "active.colorTheme";
1434
1524
  colorTheme: string;
1435
- } | {
1436
- type: "active.style";
1437
- palette?: {
1438
- hues: [number, ({
1439
- mode: "derived";
1440
- } | {
1441
- mode: "pinned";
1442
- h: number;
1443
- } | undefined)?, ({
1444
- mode: "derived";
1445
- } | {
1446
- mode: "pinned";
1447
- h: number;
1448
- } | undefined)?];
1449
- character: {
1450
- chroma: number;
1451
- contrast: number;
1452
- neutralTint: number;
1453
- surfaceLift: number;
1454
- fillLevel: number;
1455
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1456
- };
1457
- } | undefined;
1458
- font?: string | undefined;
1459
- ornament?: {
1460
- pad: {
1461
- x: number;
1462
- y: number;
1463
- };
1464
- pins?: {
1465
- spacing?: string | undefined;
1466
- "font-size-base"?: string | undefined;
1467
- radius?: string | undefined;
1468
- "radius-sm"?: string | undefined;
1469
- "radius-lg"?: string | undefined;
1470
- "border-width"?: string | undefined;
1471
- shadow?: string | undefined;
1472
- "shadow-sm"?: string | undefined;
1473
- "shadow-lg"?: string | undefined;
1474
- "letter-spacing"?: string | undefined;
1475
- "letter-spacing-wide"?: string | undefined;
1476
- "font-weight"?: string | undefined;
1477
- "text-transform"?: string | undefined;
1478
- } | undefined;
1479
- } | undefined;
1480
- } | {
1481
- type: "draft.style";
1482
- palette?: {
1483
- hues: [number, ({
1484
- mode: "derived";
1485
- } | {
1486
- mode: "pinned";
1487
- h: number;
1488
- } | undefined)?, ({
1489
- mode: "derived";
1490
- } | {
1491
- mode: "pinned";
1492
- h: number;
1493
- } | undefined)?];
1494
- character: {
1495
- chroma: number;
1496
- contrast: number;
1497
- neutralTint: number;
1498
- surfaceLift: number;
1499
- fillLevel: number;
1500
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1501
- };
1502
- } | undefined;
1503
- font?: string | undefined;
1504
- ornament?: {
1505
- pad: {
1506
- x: number;
1507
- y: number;
1508
- };
1509
- pins?: {
1510
- spacing?: string | undefined;
1511
- "font-size-base"?: string | undefined;
1512
- radius?: string | undefined;
1513
- "radius-sm"?: string | undefined;
1514
- "radius-lg"?: string | undefined;
1515
- "border-width"?: string | undefined;
1516
- shadow?: string | undefined;
1517
- "shadow-sm"?: string | undefined;
1518
- "shadow-lg"?: string | undefined;
1519
- "letter-spacing"?: string | undefined;
1520
- "letter-spacing-wide"?: string | undefined;
1521
- "font-weight"?: string | undefined;
1522
- "text-transform"?: string | undefined;
1523
- } | undefined;
1524
- } | undefined;
1525
1525
  } | {
1526
1526
  type: "active.codegen-theme";
1527
1527
  theme: string;
@@ -1922,6 +1922,96 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
1922
1922
  error?: string | undefined;
1923
1923
  settings: {
1924
1924
  entries: ({
1925
+ type: "active.style";
1926
+ palette?: {
1927
+ hues: [number, ({
1928
+ mode: "derived";
1929
+ } | {
1930
+ mode: "pinned";
1931
+ h: number;
1932
+ } | undefined)?, ({
1933
+ mode: "derived";
1934
+ } | {
1935
+ mode: "pinned";
1936
+ h: number;
1937
+ } | undefined)?];
1938
+ character: {
1939
+ chroma: number;
1940
+ contrast: number;
1941
+ neutralTint: number;
1942
+ surfaceLift: number;
1943
+ fillLevel: number;
1944
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1945
+ };
1946
+ } | undefined;
1947
+ font?: string | undefined;
1948
+ ornament?: {
1949
+ pad: {
1950
+ x: number;
1951
+ y: number;
1952
+ };
1953
+ pins?: {
1954
+ spacing?: string | undefined;
1955
+ "font-size-base"?: string | undefined;
1956
+ radius?: string | undefined;
1957
+ "radius-sm"?: string | undefined;
1958
+ "radius-lg"?: string | undefined;
1959
+ "border-width"?: string | undefined;
1960
+ shadow?: string | undefined;
1961
+ "shadow-sm"?: string | undefined;
1962
+ "shadow-lg"?: string | undefined;
1963
+ "letter-spacing"?: string | undefined;
1964
+ "letter-spacing-wide"?: string | undefined;
1965
+ "font-weight"?: string | undefined;
1966
+ "text-transform"?: string | undefined;
1967
+ } | undefined;
1968
+ } | undefined;
1969
+ } | {
1970
+ type: "draft.style";
1971
+ palette?: {
1972
+ hues: [number, ({
1973
+ mode: "derived";
1974
+ } | {
1975
+ mode: "pinned";
1976
+ h: number;
1977
+ } | undefined)?, ({
1978
+ mode: "derived";
1979
+ } | {
1980
+ mode: "pinned";
1981
+ h: number;
1982
+ } | undefined)?];
1983
+ character: {
1984
+ chroma: number;
1985
+ contrast: number;
1986
+ neutralTint: number;
1987
+ surfaceLift: number;
1988
+ fillLevel: number;
1989
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1990
+ };
1991
+ } | undefined;
1992
+ font?: string | undefined;
1993
+ ornament?: {
1994
+ pad: {
1995
+ x: number;
1996
+ y: number;
1997
+ };
1998
+ pins?: {
1999
+ spacing?: string | undefined;
2000
+ "font-size-base"?: string | undefined;
2001
+ radius?: string | undefined;
2002
+ "radius-sm"?: string | undefined;
2003
+ "radius-lg"?: string | undefined;
2004
+ "border-width"?: string | undefined;
2005
+ shadow?: string | undefined;
2006
+ "shadow-sm"?: string | undefined;
2007
+ "shadow-lg"?: string | undefined;
2008
+ "letter-spacing"?: string | undefined;
2009
+ "letter-spacing-wide"?: string | undefined;
2010
+ "font-weight"?: string | undefined;
2011
+ "text-transform"?: string | undefined;
2012
+ } | undefined;
2013
+ } | undefined;
2014
+ } | {
1925
2015
  type: "active.cached-suggestion";
1926
2016
  key: string;
1927
2017
  fsId: string;
@@ -2056,131 +2146,41 @@ export declare const resEnsureAppSettings: import("arktype/internal/variants/obj
2056
2146
  type: "app.acl.active.request";
2057
2147
  role: "editor" | "submitter" | "viewer";
2058
2148
  state: "rejected";
2059
- request: {
2060
- key: string;
2061
- provider: "clerk" | "github" | "google";
2062
- msg?: string | undefined;
2063
- userId: string;
2064
- created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
2065
- };
2066
- grant: {
2067
- ownerId: string;
2068
- key?: string | undefined;
2069
- on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
2070
- };
2071
- } | {
2072
- type: "app.public.access";
2073
- enable: boolean;
2074
- tick?: {
2075
- count: number;
2076
- last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
2077
- } | undefined;
2078
- } | {
2079
- type: "app.request";
2080
- enable: boolean;
2081
- autoAcceptRole?: "editor" | "submitter" | "viewer" | undefined;
2082
- } | {
2083
- type: "active.title";
2084
- title: string;
2085
- } | {
2086
- type: "active.skills";
2087
- skills: string[];
2088
- } | {
2089
- type: "active.theme";
2090
- theme: string;
2091
- } | {
2092
- type: "active.colorTheme";
2093
- colorTheme: string;
2094
- } | {
2095
- type: "active.style";
2096
- palette?: {
2097
- hues: [number, ({
2098
- mode: "derived";
2099
- } | {
2100
- mode: "pinned";
2101
- h: number;
2102
- } | undefined)?, ({
2103
- mode: "derived";
2104
- } | {
2105
- mode: "pinned";
2106
- h: number;
2107
- } | undefined)?];
2108
- character: {
2109
- chroma: number;
2110
- contrast: number;
2111
- neutralTint: number;
2112
- surfaceLift: number;
2113
- fillLevel: number;
2114
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2115
- };
2116
- } | undefined;
2117
- font?: string | undefined;
2118
- ornament?: {
2119
- pad: {
2120
- x: number;
2121
- y: number;
2122
- };
2123
- pins?: {
2124
- spacing?: string | undefined;
2125
- "font-size-base"?: string | undefined;
2126
- radius?: string | undefined;
2127
- "radius-sm"?: string | undefined;
2128
- "radius-lg"?: string | undefined;
2129
- "border-width"?: string | undefined;
2130
- shadow?: string | undefined;
2131
- "shadow-sm"?: string | undefined;
2132
- "shadow-lg"?: string | undefined;
2133
- "letter-spacing"?: string | undefined;
2134
- "letter-spacing-wide"?: string | undefined;
2135
- "font-weight"?: string | undefined;
2136
- "text-transform"?: string | undefined;
2137
- } | undefined;
2138
- } | undefined;
2149
+ request: {
2150
+ key: string;
2151
+ provider: "clerk" | "github" | "google";
2152
+ msg?: string | undefined;
2153
+ userId: string;
2154
+ created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
2155
+ };
2156
+ grant: {
2157
+ ownerId: string;
2158
+ key?: string | undefined;
2159
+ on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
2160
+ };
2139
2161
  } | {
2140
- type: "draft.style";
2141
- palette?: {
2142
- hues: [number, ({
2143
- mode: "derived";
2144
- } | {
2145
- mode: "pinned";
2146
- h: number;
2147
- } | undefined)?, ({
2148
- mode: "derived";
2149
- } | {
2150
- mode: "pinned";
2151
- h: number;
2152
- } | undefined)?];
2153
- character: {
2154
- chroma: number;
2155
- contrast: number;
2156
- neutralTint: number;
2157
- surfaceLift: number;
2158
- fillLevel: number;
2159
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2160
- };
2161
- } | undefined;
2162
- font?: string | undefined;
2163
- ornament?: {
2164
- pad: {
2165
- x: number;
2166
- y: number;
2167
- };
2168
- pins?: {
2169
- spacing?: string | undefined;
2170
- "font-size-base"?: string | undefined;
2171
- radius?: string | undefined;
2172
- "radius-sm"?: string | undefined;
2173
- "radius-lg"?: string | undefined;
2174
- "border-width"?: string | undefined;
2175
- shadow?: string | undefined;
2176
- "shadow-sm"?: string | undefined;
2177
- "shadow-lg"?: string | undefined;
2178
- "letter-spacing"?: string | undefined;
2179
- "letter-spacing-wide"?: string | undefined;
2180
- "font-weight"?: string | undefined;
2181
- "text-transform"?: string | undefined;
2182
- } | undefined;
2162
+ type: "app.public.access";
2163
+ enable: boolean;
2164
+ tick?: {
2165
+ count: number;
2166
+ last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
2183
2167
  } | undefined;
2168
+ } | {
2169
+ type: "app.request";
2170
+ enable: boolean;
2171
+ autoAcceptRole?: "editor" | "submitter" | "viewer" | undefined;
2172
+ } | {
2173
+ type: "active.title";
2174
+ title: string;
2175
+ } | {
2176
+ type: "active.skills";
2177
+ skills: string[];
2178
+ } | {
2179
+ type: "active.theme";
2180
+ theme: string;
2181
+ } | {
2182
+ type: "active.colorTheme";
2183
+ colorTheme: string;
2184
2184
  } | {
2185
2185
  type: "active.codegen-theme";
2186
2186
  theme: string;
@@ -2625,6 +2625,96 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
2625
2625
  ownerHandle: string;
2626
2626
  appSlug: string;
2627
2627
  settings: ({
2628
+ type: "active.style";
2629
+ palette?: {
2630
+ hues: [number, ({
2631
+ mode: "derived";
2632
+ } | {
2633
+ mode: "pinned";
2634
+ h: number;
2635
+ } | undefined)?, ({
2636
+ mode: "derived";
2637
+ } | {
2638
+ mode: "pinned";
2639
+ h: number;
2640
+ } | undefined)?];
2641
+ character: {
2642
+ chroma: number;
2643
+ contrast: number;
2644
+ neutralTint: number;
2645
+ surfaceLift: number;
2646
+ fillLevel: number;
2647
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2648
+ };
2649
+ } | undefined;
2650
+ font?: string | undefined;
2651
+ ornament?: {
2652
+ pad: {
2653
+ x: number;
2654
+ y: number;
2655
+ };
2656
+ pins?: {
2657
+ spacing?: string | undefined;
2658
+ "font-size-base"?: string | undefined;
2659
+ radius?: string | undefined;
2660
+ "radius-sm"?: string | undefined;
2661
+ "radius-lg"?: string | undefined;
2662
+ "border-width"?: string | undefined;
2663
+ shadow?: string | undefined;
2664
+ "shadow-sm"?: string | undefined;
2665
+ "shadow-lg"?: string | undefined;
2666
+ "letter-spacing"?: string | undefined;
2667
+ "letter-spacing-wide"?: string | undefined;
2668
+ "font-weight"?: string | undefined;
2669
+ "text-transform"?: string | undefined;
2670
+ } | undefined;
2671
+ } | undefined;
2672
+ } | {
2673
+ type: "draft.style";
2674
+ palette?: {
2675
+ hues: [number, ({
2676
+ mode: "derived";
2677
+ } | {
2678
+ mode: "pinned";
2679
+ h: number;
2680
+ } | undefined)?, ({
2681
+ mode: "derived";
2682
+ } | {
2683
+ mode: "pinned";
2684
+ h: number;
2685
+ } | undefined)?];
2686
+ character: {
2687
+ chroma: number;
2688
+ contrast: number;
2689
+ neutralTint: number;
2690
+ surfaceLift: number;
2691
+ fillLevel: number;
2692
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2693
+ };
2694
+ } | undefined;
2695
+ font?: string | undefined;
2696
+ ornament?: {
2697
+ pad: {
2698
+ x: number;
2699
+ y: number;
2700
+ };
2701
+ pins?: {
2702
+ spacing?: string | undefined;
2703
+ "font-size-base"?: string | undefined;
2704
+ radius?: string | undefined;
2705
+ "radius-sm"?: string | undefined;
2706
+ "radius-lg"?: string | undefined;
2707
+ "border-width"?: string | undefined;
2708
+ shadow?: string | undefined;
2709
+ "shadow-sm"?: string | undefined;
2710
+ "shadow-lg"?: string | undefined;
2711
+ "letter-spacing"?: string | undefined;
2712
+ "letter-spacing-wide"?: string | undefined;
2713
+ "font-weight"?: string | undefined;
2714
+ "text-transform"?: string | undefined;
2715
+ } | undefined;
2716
+ } | undefined;
2717
+ } | {
2628
2718
  type: "active.cached-suggestion";
2629
2719
  key: string;
2630
2720
  fsId: string;
@@ -2794,96 +2884,6 @@ export declare const evtAppSetting: import("arktype/internal/variants/object.ts"
2794
2884
  } | {
2795
2885
  type: "active.colorTheme";
2796
2886
  colorTheme: string;
2797
- } | {
2798
- type: "active.style";
2799
- palette?: {
2800
- hues: [number, ({
2801
- mode: "derived";
2802
- } | {
2803
- mode: "pinned";
2804
- h: number;
2805
- } | undefined)?, ({
2806
- mode: "derived";
2807
- } | {
2808
- mode: "pinned";
2809
- h: number;
2810
- } | undefined)?];
2811
- character: {
2812
- chroma: number;
2813
- contrast: number;
2814
- neutralTint: number;
2815
- surfaceLift: number;
2816
- fillLevel: number;
2817
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2818
- };
2819
- } | undefined;
2820
- font?: string | undefined;
2821
- ornament?: {
2822
- pad: {
2823
- x: number;
2824
- y: number;
2825
- };
2826
- pins?: {
2827
- spacing?: string | undefined;
2828
- "font-size-base"?: string | undefined;
2829
- radius?: string | undefined;
2830
- "radius-sm"?: string | undefined;
2831
- "radius-lg"?: string | undefined;
2832
- "border-width"?: string | undefined;
2833
- shadow?: string | undefined;
2834
- "shadow-sm"?: string | undefined;
2835
- "shadow-lg"?: string | undefined;
2836
- "letter-spacing"?: string | undefined;
2837
- "letter-spacing-wide"?: string | undefined;
2838
- "font-weight"?: string | undefined;
2839
- "text-transform"?: string | undefined;
2840
- } | undefined;
2841
- } | undefined;
2842
- } | {
2843
- type: "draft.style";
2844
- palette?: {
2845
- hues: [number, ({
2846
- mode: "derived";
2847
- } | {
2848
- mode: "pinned";
2849
- h: number;
2850
- } | undefined)?, ({
2851
- mode: "derived";
2852
- } | {
2853
- mode: "pinned";
2854
- h: number;
2855
- } | undefined)?];
2856
- character: {
2857
- chroma: number;
2858
- contrast: number;
2859
- neutralTint: number;
2860
- surfaceLift: number;
2861
- fillLevel: number;
2862
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
2863
- };
2864
- } | undefined;
2865
- font?: string | undefined;
2866
- ornament?: {
2867
- pad: {
2868
- x: number;
2869
- y: number;
2870
- };
2871
- pins?: {
2872
- spacing?: string | undefined;
2873
- "font-size-base"?: string | undefined;
2874
- radius?: string | undefined;
2875
- "radius-sm"?: string | undefined;
2876
- "radius-lg"?: string | undefined;
2877
- "border-width"?: string | undefined;
2878
- shadow?: string | undefined;
2879
- "shadow-sm"?: string | undefined;
2880
- "shadow-lg"?: string | undefined;
2881
- "letter-spacing"?: string | undefined;
2882
- "letter-spacing-wide"?: string | undefined;
2883
- "font-weight"?: string | undefined;
2884
- "text-transform"?: string | undefined;
2885
- } | undefined;
2886
- } | undefined;
2887
2887
  } | {
2888
2888
  type: "active.codegen-theme";
2889
2889
  theme: string;
@@ -31,7 +31,10 @@ export declare const LLMChatEntry: import("arktype/internal/variants/object.ts")
31
31
  appSlug: string;
32
32
  }, {}>;
33
33
  export type LLMChatEntry = typeof LLMChatEntry.infer;
34
- export type OnResponseTypes = ResError | SectionEvent;
34
+ export type SectionEventArrival = SectionEvent & {
35
+ readonly clientLive?: boolean;
36
+ };
37
+ export type OnResponseTypes = ResError | SectionEventArrival;
35
38
  export interface LLMChat extends LLMChatEntry {
36
39
  readonly firstTurnFired?: boolean;
37
40
  readonly draft?: boolean;