@vibes.diy/api-types 14.0.13 → 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.
- package/agent-tools.js +14 -13
- package/agent-tools.js.map +1 -1
- package/app-documents.js +71 -70
- package/app-documents.js.map +1 -1
- package/app.d.ts +88 -88
- package/app.js +142 -141
- package/app.js.map +1 -1
- package/asset.js +9 -8
- package/asset.js.map +1 -1
- package/audience-arms-msg.js +24 -23
- package/audience-arms-msg.js.map +1 -1
- package/billing-msg.js +19 -18
- package/billing-msg.js.map +1 -1
- package/cached-suggestion.js +9 -8
- package/cached-suggestion.js.map +1 -1
- package/chat.js +66 -67
- package/chat.js.map +1 -1
- package/common.js +52 -51
- package/common.js.map +1 -1
- package/db-acls.js +9 -8
- package/db-acls.js.map +1 -1
- package/developer-grant.js +18 -17
- package/developer-grant.js.map +1 -1
- package/draft-chat.js +6 -5
- package/draft-chat.js.map +1 -1
- package/home-feed.js +23 -22
- package/home-feed.js.map +1 -1
- package/invite-flow.js +55 -56
- package/invite-flow.js.map +1 -1
- package/invite.js +118 -117
- package/invite.js.map +1 -1
- package/lazy-type.d.ts +8 -0
- package/lazy-type.js +39 -0
- package/lazy-type.js.map +1 -0
- package/members.js +7 -6
- package/members.js.map +1 -1
- package/memberships.js +7 -6
- package/memberships.js.map +1 -1
- package/mint-fire.js +5 -4
- package/mint-fire.js.map +1 -1
- package/notifications.js +24 -23
- package/notifications.js.map +1 -1
- package/package.json +7 -6
- package/prompt.js +31 -30
- package/prompt.js.map +1 -1
- package/related-vibes.js +21 -20
- package/related-vibes.js.map +1 -1
- package/report.js +87 -86
- package/report.js.map +1 -1
- package/request-access.js +53 -54
- package/request-access.js.map +1 -1
- package/research.js +13 -12
- package/research.js.map +1 -1
- package/retention-msg.js +3 -2
- package/retention-msg.js.map +1 -1
- package/screen-shotter.js +3 -2
- package/screen-shotter.js.map +1 -1
- package/settings.js +131 -130
- package/settings.js.map +1 -1
- package/shared-mint.js +5 -4
- package/shared-mint.js.map +1 -1
- package/signin-ticket.js +5 -4
- package/signin-ticket.js.map +1 -1
- package/social-msg.js +62 -61
- package/social-msg.js.map +1 -1
- package/style.js +16 -15
- package/style.js.map +1 -1
- package/turn-variant.d.ts +1 -0
- package/turn-variant.js +5 -1
- package/turn-variant.js.map +1 -1
- package/types.js +18 -17
- package/types.js.map +1 -1
- package/vibes-diy-api.js +3 -2
- package/vibes-diy-api.js.map +1 -1
- package/vibes-diy-serv-ctx.js +9 -8
- package/vibes-diy-serv-ctx.js.map +1 -1
- package/vibes-types.js +3 -2
- package/vibes-types.js.map +1 -1
- package/welcome-msg.js +3 -2
- 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.
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
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;
|