@vibes.diy/api-types 14.0.14 → 14.0.15

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.
Files changed (80) hide show
  1. package/agent-tools.js +14 -13
  2. package/agent-tools.js.map +1 -1
  3. package/app-documents.js +71 -70
  4. package/app-documents.js.map +1 -1
  5. package/app.d.ts +88 -88
  6. package/app.js +142 -141
  7. package/app.js.map +1 -1
  8. package/asset.js +9 -8
  9. package/asset.js.map +1 -1
  10. package/audience-arms-msg.js +24 -23
  11. package/audience-arms-msg.js.map +1 -1
  12. package/billing-msg.js +19 -18
  13. package/billing-msg.js.map +1 -1
  14. package/cached-suggestion.js +9 -8
  15. package/cached-suggestion.js.map +1 -1
  16. package/chat.js +66 -67
  17. package/chat.js.map +1 -1
  18. package/common.js +52 -51
  19. package/common.js.map +1 -1
  20. package/db-acls.js +9 -8
  21. package/db-acls.js.map +1 -1
  22. package/developer-grant.js +18 -17
  23. package/developer-grant.js.map +1 -1
  24. package/draft-chat.js +6 -5
  25. package/draft-chat.js.map +1 -1
  26. package/home-feed.js +23 -22
  27. package/home-feed.js.map +1 -1
  28. package/invite-flow.js +55 -56
  29. package/invite-flow.js.map +1 -1
  30. package/invite.js +118 -117
  31. package/invite.js.map +1 -1
  32. package/lazy-type.d.ts +8 -0
  33. package/lazy-type.js +39 -0
  34. package/lazy-type.js.map +1 -0
  35. package/members.js +7 -6
  36. package/members.js.map +1 -1
  37. package/memberships.js +7 -6
  38. package/memberships.js.map +1 -1
  39. package/mint-fire.js +5 -4
  40. package/mint-fire.js.map +1 -1
  41. package/notifications.js +24 -23
  42. package/notifications.js.map +1 -1
  43. package/package.json +7 -6
  44. package/prompt.js +31 -30
  45. package/prompt.js.map +1 -1
  46. package/related-vibes.js +21 -20
  47. package/related-vibes.js.map +1 -1
  48. package/report.js +87 -86
  49. package/report.js.map +1 -1
  50. package/request-access.js +53 -54
  51. package/request-access.js.map +1 -1
  52. package/research.js +13 -12
  53. package/research.js.map +1 -1
  54. package/retention-msg.js +3 -2
  55. package/retention-msg.js.map +1 -1
  56. package/screen-shotter.js +3 -2
  57. package/screen-shotter.js.map +1 -1
  58. package/settings.js +131 -130
  59. package/settings.js.map +1 -1
  60. package/shared-mint.js +5 -4
  61. package/shared-mint.js.map +1 -1
  62. package/signin-ticket.js +5 -4
  63. package/signin-ticket.js.map +1 -1
  64. package/social-msg.js +62 -61
  65. package/social-msg.js.map +1 -1
  66. package/style.js +16 -15
  67. package/style.js.map +1 -1
  68. package/turn-variant.d.ts +1 -0
  69. package/turn-variant.js +5 -1
  70. package/turn-variant.js.map +1 -1
  71. package/types.js +18 -17
  72. package/types.js.map +1 -1
  73. package/vibes-diy-api.js +3 -2
  74. package/vibes-diy-api.js.map +1 -1
  75. package/vibes-diy-serv-ctx.js +9 -8
  76. package/vibes-diy-serv-ctx.js.map +1 -1
  77. package/vibes-types.js +3 -2
  78. package/vibes-types.js.map +1 -1
  79. package/welcome-msg.js +3 -2
  80. package/welcome-msg.js.map +1 -1
package/app.d.ts CHANGED
@@ -572,34 +572,18 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
572
572
  seq: number;
573
573
  blockNr: number;
574
574
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
575
- type: "block.stats";
576
- stats: {
577
- toplevel: {
578
- lines: number;
579
- bytes: number;
580
- cnt?: number | undefined;
581
- };
582
- code: {
583
- lines: number;
584
- bytes: number;
585
- cnt?: number | undefined;
586
- };
587
- image: {
588
- lines: number;
589
- bytes: number;
590
- cnt?: number | undefined;
591
- };
592
- total: {
593
- lines: number;
594
- bytes: number;
595
- cnt?: number | undefined;
596
- };
597
- };
598
- usage: {
599
- prompt_tokens: number;
600
- completion_tokens: number;
601
- total_tokens: number;
602
- };
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;
603
587
  } | {
604
588
  blockId: string;
605
589
  streamId: string;
@@ -611,14 +595,8 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
611
595
  bytes: number;
612
596
  cnt?: number | undefined;
613
597
  };
614
- type: "block.image";
598
+ type: "block.toplevel.end";
615
599
  sectionId: string;
616
- url?: string | undefined;
617
- uploadId?: string | undefined;
618
- cid?: string | undefined;
619
- mimeType?: string | undefined;
620
- size?: number | undefined;
621
- docWritten?: boolean | undefined;
622
600
  } | {
623
601
  blockId: string;
624
602
  streamId: string;
@@ -670,24 +648,6 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
670
648
  kind: string;
671
649
  truncatedAtLine: number;
672
650
  errorCount: number;
673
- } | {
674
- blockId: string;
675
- streamId: string;
676
- seq: number;
677
- blockNr: number;
678
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
679
- type: "block.toplevel.begin";
680
- sectionId: string;
681
- } | {
682
- blockId: string;
683
- streamId: string;
684
- seq: number;
685
- blockNr: number;
686
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
687
- lineNr: number;
688
- line: string;
689
- type: "block.toplevel.line";
690
- sectionId: string;
691
651
  } | {
692
652
  blockId: string;
693
653
  streamId: string;
@@ -699,46 +659,48 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
699
659
  bytes: number;
700
660
  cnt?: number | undefined;
701
661
  };
702
- type: "block.toplevel.end";
662
+ type: "block.image";
703
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;
704
670
  } | {
705
- type: "prompt.research";
706
- version: 1;
671
+ blockId: string;
707
672
  streamId: string;
708
- chatId: string;
709
673
  seq: number;
674
+ blockNr: number;
710
675
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
711
- researchId: string;
712
- status: "complete" | "failed" | "partial";
713
- brief: string;
714
- sources: {
715
- url: string;
716
- finalUrl: string | null;
717
- contentType: string | null;
718
- httpStatus: number | null;
719
- backendFetchable: boolean;
720
- fetched: boolean;
721
- errorCode?: string | undefined;
722
- }[];
723
- api: {
724
- method: string;
725
- path: string;
726
- description: string;
727
- fields: string[];
728
- }[];
729
- excerpts: {
730
- sourceUrl: string;
731
- text: string;
732
- locator?: string | undefined;
733
- }[];
734
- seedRows: {
735
- sourceUrl: string;
736
- dbName: string;
737
- key: string;
738
- item: unknown;
739
- }[];
740
- completedAt: string;
741
- errorCode?: string | undefined;
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
+ };
742
704
  } | {
743
705
  streamId: string;
744
706
  chatId: string;
@@ -1065,6 +1027,44 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
1065
1027
  name: string;
1066
1028
  path?: string | undefined;
1067
1029
  }[];
1030
+ } | {
1031
+ type: "prompt.research";
1032
+ version: 1;
1033
+ streamId: string;
1034
+ chatId: string;
1035
+ seq: number;
1036
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1037
+ researchId: string;
1038
+ status: "complete" | "failed" | "partial";
1039
+ brief: string;
1040
+ sources: {
1041
+ url: string;
1042
+ finalUrl: string | null;
1043
+ contentType: string | null;
1044
+ httpStatus: number | null;
1045
+ backendFetchable: boolean;
1046
+ fetched: boolean;
1047
+ errorCode?: string | undefined;
1048
+ }[];
1049
+ api: {
1050
+ method: string;
1051
+ path: string;
1052
+ description: string;
1053
+ fields: string[];
1054
+ }[];
1055
+ excerpts: {
1056
+ sourceUrl: string;
1057
+ text: string;
1058
+ locator?: string | undefined;
1059
+ }[];
1060
+ seedRows: {
1061
+ sourceUrl: string;
1062
+ dbName: string;
1063
+ key: string;
1064
+ item: unknown;
1065
+ }[];
1066
+ completedAt: string;
1067
+ errorCode?: string | undefined;
1068
1068
  })[];
1069
1069
  }, {}>;
1070
1070
  export type ResGetApplicationChat = typeof resGetApplicationChat.infer;