@vibes.diy/api-types 14.3.342 → 14.3.344
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 +459 -455
- package/app.js +1 -0
- package/invite.d.ts +117 -117
- package/package.json +4 -4
- package/prompt.d.ts +120 -120
- package/settings.d.ts +234 -234
package/app.js
CHANGED
|
@@ -19,6 +19,7 @@ export const ReqEnsureAppSlug = lazyType(() => type({
|
|
|
19
19
|
"seedPosture?": postureIntent,
|
|
20
20
|
"anonWrite?": anonWriteMode,
|
|
21
21
|
"from?": type({ ownerHandle: "string", appSlug: "string" }),
|
|
22
|
+
"title?": "string",
|
|
22
23
|
fileSystem: [vibeFile, "[]"],
|
|
23
24
|
}).and(NeedOneAppSlugUserSlug));
|
|
24
25
|
export const resEnsureAppSlugOk = lazyType(() => type({
|
package/invite.d.ts
CHANGED
|
@@ -1005,123 +1005,6 @@ export declare const ActiveSeedControl: import("arktype/internal/variants/object
|
|
|
1005
1005
|
export type ActiveSeedControl = typeof ActiveSeedControl.infer;
|
|
1006
1006
|
export declare function isActiveSeedControl(obj: unknown): obj is ActiveSeedControl;
|
|
1007
1007
|
export declare const ActiveEntry: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
1008
|
-
type: "active.agent-discussion";
|
|
1009
|
-
chatId: string;
|
|
1010
|
-
pinnedAt?: string | undefined;
|
|
1011
|
-
title?: string | undefined;
|
|
1012
|
-
hiddenAt?: string | undefined;
|
|
1013
|
-
} | {
|
|
1014
|
-
type: "active.style";
|
|
1015
|
-
palette?: {
|
|
1016
|
-
hues: [number, ({
|
|
1017
|
-
mode: "derived";
|
|
1018
|
-
} | {
|
|
1019
|
-
mode: "pinned";
|
|
1020
|
-
h: number;
|
|
1021
|
-
} | undefined)?, ({
|
|
1022
|
-
mode: "derived";
|
|
1023
|
-
} | {
|
|
1024
|
-
mode: "pinned";
|
|
1025
|
-
h: number;
|
|
1026
|
-
} | undefined)?];
|
|
1027
|
-
character: {
|
|
1028
|
-
chroma: number;
|
|
1029
|
-
contrast: number;
|
|
1030
|
-
neutralTint: number;
|
|
1031
|
-
surfaceLift: number;
|
|
1032
|
-
fillLevel: number;
|
|
1033
|
-
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
1034
|
-
paper?: number | undefined;
|
|
1035
|
-
fillLift?: number | undefined;
|
|
1036
|
-
};
|
|
1037
|
-
pouf?: {
|
|
1038
|
-
lead: number;
|
|
1039
|
-
up?: number | undefined;
|
|
1040
|
-
down?: number | undefined;
|
|
1041
|
-
gap?: number | undefined;
|
|
1042
|
-
tone?: number | undefined;
|
|
1043
|
-
locked?: "home" | undefined;
|
|
1044
|
-
} | undefined;
|
|
1045
|
-
} | undefined;
|
|
1046
|
-
font?: string | undefined;
|
|
1047
|
-
ornament?: {
|
|
1048
|
-
pad: {
|
|
1049
|
-
x: number;
|
|
1050
|
-
y: number;
|
|
1051
|
-
};
|
|
1052
|
-
pins?: {
|
|
1053
|
-
spacing?: string | undefined;
|
|
1054
|
-
"font-size-base"?: string | undefined;
|
|
1055
|
-
radius?: string | undefined;
|
|
1056
|
-
"radius-sm"?: string | undefined;
|
|
1057
|
-
"radius-lg"?: string | undefined;
|
|
1058
|
-
"border-width"?: string | undefined;
|
|
1059
|
-
shadow?: string | undefined;
|
|
1060
|
-
"shadow-sm"?: string | undefined;
|
|
1061
|
-
"shadow-lg"?: string | undefined;
|
|
1062
|
-
"letter-spacing"?: string | undefined;
|
|
1063
|
-
"letter-spacing-wide"?: string | undefined;
|
|
1064
|
-
"font-weight"?: string | undefined;
|
|
1065
|
-
"text-transform"?: string | undefined;
|
|
1066
|
-
} | undefined;
|
|
1067
|
-
} | undefined;
|
|
1068
|
-
stylePinned?: boolean | undefined;
|
|
1069
|
-
} | {
|
|
1070
|
-
type: "draft.style";
|
|
1071
|
-
palette?: {
|
|
1072
|
-
hues: [number, ({
|
|
1073
|
-
mode: "derived";
|
|
1074
|
-
} | {
|
|
1075
|
-
mode: "pinned";
|
|
1076
|
-
h: number;
|
|
1077
|
-
} | undefined)?, ({
|
|
1078
|
-
mode: "derived";
|
|
1079
|
-
} | {
|
|
1080
|
-
mode: "pinned";
|
|
1081
|
-
h: number;
|
|
1082
|
-
} | undefined)?];
|
|
1083
|
-
character: {
|
|
1084
|
-
chroma: number;
|
|
1085
|
-
contrast: number;
|
|
1086
|
-
neutralTint: number;
|
|
1087
|
-
surfaceLift: number;
|
|
1088
|
-
fillLevel: number;
|
|
1089
|
-
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
1090
|
-
paper?: number | undefined;
|
|
1091
|
-
fillLift?: number | undefined;
|
|
1092
|
-
};
|
|
1093
|
-
pouf?: {
|
|
1094
|
-
lead: number;
|
|
1095
|
-
up?: number | undefined;
|
|
1096
|
-
down?: number | undefined;
|
|
1097
|
-
gap?: number | undefined;
|
|
1098
|
-
tone?: number | undefined;
|
|
1099
|
-
locked?: "home" | undefined;
|
|
1100
|
-
} | undefined;
|
|
1101
|
-
} | undefined;
|
|
1102
|
-
font?: string | undefined;
|
|
1103
|
-
ornament?: {
|
|
1104
|
-
pad: {
|
|
1105
|
-
x: number;
|
|
1106
|
-
y: number;
|
|
1107
|
-
};
|
|
1108
|
-
pins?: {
|
|
1109
|
-
spacing?: string | undefined;
|
|
1110
|
-
"font-size-base"?: string | undefined;
|
|
1111
|
-
radius?: string | undefined;
|
|
1112
|
-
"radius-sm"?: string | undefined;
|
|
1113
|
-
"radius-lg"?: string | undefined;
|
|
1114
|
-
"border-width"?: string | undefined;
|
|
1115
|
-
shadow?: string | undefined;
|
|
1116
|
-
"shadow-sm"?: string | undefined;
|
|
1117
|
-
"shadow-lg"?: string | undefined;
|
|
1118
|
-
"letter-spacing"?: string | undefined;
|
|
1119
|
-
"letter-spacing-wide"?: string | undefined;
|
|
1120
|
-
"font-weight"?: string | undefined;
|
|
1121
|
-
"text-transform"?: string | undefined;
|
|
1122
|
-
} | undefined;
|
|
1123
|
-
} | undefined;
|
|
1124
|
-
} | {
|
|
1125
1008
|
type: "app.public.access";
|
|
1126
1009
|
enable: boolean;
|
|
1127
1010
|
tick?: {
|
|
@@ -1463,6 +1346,117 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
|
|
|
1463
1346
|
type: "active.seed-control";
|
|
1464
1347
|
dontRun?: boolean | undefined;
|
|
1465
1348
|
suppressed?: string[] | undefined;
|
|
1349
|
+
} | {
|
|
1350
|
+
type: "active.style";
|
|
1351
|
+
palette?: {
|
|
1352
|
+
hues: [number, ({
|
|
1353
|
+
mode: "derived";
|
|
1354
|
+
} | {
|
|
1355
|
+
mode: "pinned";
|
|
1356
|
+
h: number;
|
|
1357
|
+
} | undefined)?, ({
|
|
1358
|
+
mode: "derived";
|
|
1359
|
+
} | {
|
|
1360
|
+
mode: "pinned";
|
|
1361
|
+
h: number;
|
|
1362
|
+
} | undefined)?];
|
|
1363
|
+
character: {
|
|
1364
|
+
chroma: number;
|
|
1365
|
+
contrast: number;
|
|
1366
|
+
neutralTint: number;
|
|
1367
|
+
surfaceLift: number;
|
|
1368
|
+
fillLevel: number;
|
|
1369
|
+
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
1370
|
+
paper?: number | undefined;
|
|
1371
|
+
fillLift?: number | undefined;
|
|
1372
|
+
};
|
|
1373
|
+
pouf?: {
|
|
1374
|
+
lead: number;
|
|
1375
|
+
up?: number | undefined;
|
|
1376
|
+
down?: number | undefined;
|
|
1377
|
+
gap?: number | undefined;
|
|
1378
|
+
tone?: number | undefined;
|
|
1379
|
+
locked?: "home" | undefined;
|
|
1380
|
+
} | undefined;
|
|
1381
|
+
} | undefined;
|
|
1382
|
+
font?: string | undefined;
|
|
1383
|
+
ornament?: {
|
|
1384
|
+
pad: {
|
|
1385
|
+
x: number;
|
|
1386
|
+
y: number;
|
|
1387
|
+
};
|
|
1388
|
+
pins?: {
|
|
1389
|
+
spacing?: string | undefined;
|
|
1390
|
+
"font-size-base"?: string | undefined;
|
|
1391
|
+
radius?: string | undefined;
|
|
1392
|
+
"radius-sm"?: string | undefined;
|
|
1393
|
+
"radius-lg"?: string | undefined;
|
|
1394
|
+
"border-width"?: string | undefined;
|
|
1395
|
+
shadow?: string | undefined;
|
|
1396
|
+
"shadow-sm"?: string | undefined;
|
|
1397
|
+
"shadow-lg"?: string | undefined;
|
|
1398
|
+
"letter-spacing"?: string | undefined;
|
|
1399
|
+
"letter-spacing-wide"?: string | undefined;
|
|
1400
|
+
"font-weight"?: string | undefined;
|
|
1401
|
+
"text-transform"?: string | undefined;
|
|
1402
|
+
} | undefined;
|
|
1403
|
+
} | undefined;
|
|
1404
|
+
stylePinned?: boolean | undefined;
|
|
1405
|
+
} | {
|
|
1406
|
+
type: "draft.style";
|
|
1407
|
+
palette?: {
|
|
1408
|
+
hues: [number, ({
|
|
1409
|
+
mode: "derived";
|
|
1410
|
+
} | {
|
|
1411
|
+
mode: "pinned";
|
|
1412
|
+
h: number;
|
|
1413
|
+
} | undefined)?, ({
|
|
1414
|
+
mode: "derived";
|
|
1415
|
+
} | {
|
|
1416
|
+
mode: "pinned";
|
|
1417
|
+
h: number;
|
|
1418
|
+
} | undefined)?];
|
|
1419
|
+
character: {
|
|
1420
|
+
chroma: number;
|
|
1421
|
+
contrast: number;
|
|
1422
|
+
neutralTint: number;
|
|
1423
|
+
surfaceLift: number;
|
|
1424
|
+
fillLevel: number;
|
|
1425
|
+
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
1426
|
+
paper?: number | undefined;
|
|
1427
|
+
fillLift?: number | undefined;
|
|
1428
|
+
};
|
|
1429
|
+
pouf?: {
|
|
1430
|
+
lead: number;
|
|
1431
|
+
up?: number | undefined;
|
|
1432
|
+
down?: number | undefined;
|
|
1433
|
+
gap?: number | undefined;
|
|
1434
|
+
tone?: number | undefined;
|
|
1435
|
+
locked?: "home" | undefined;
|
|
1436
|
+
} | undefined;
|
|
1437
|
+
} | undefined;
|
|
1438
|
+
font?: string | undefined;
|
|
1439
|
+
ornament?: {
|
|
1440
|
+
pad: {
|
|
1441
|
+
x: number;
|
|
1442
|
+
y: number;
|
|
1443
|
+
};
|
|
1444
|
+
pins?: {
|
|
1445
|
+
spacing?: string | undefined;
|
|
1446
|
+
"font-size-base"?: string | undefined;
|
|
1447
|
+
radius?: string | undefined;
|
|
1448
|
+
"radius-sm"?: string | undefined;
|
|
1449
|
+
"radius-lg"?: string | undefined;
|
|
1450
|
+
"border-width"?: string | undefined;
|
|
1451
|
+
shadow?: string | undefined;
|
|
1452
|
+
"shadow-sm"?: string | undefined;
|
|
1453
|
+
"shadow-lg"?: string | undefined;
|
|
1454
|
+
"letter-spacing"?: string | undefined;
|
|
1455
|
+
"letter-spacing-wide"?: string | undefined;
|
|
1456
|
+
"font-weight"?: string | undefined;
|
|
1457
|
+
"text-transform"?: string | undefined;
|
|
1458
|
+
} | undefined;
|
|
1459
|
+
} | undefined;
|
|
1466
1460
|
} | {
|
|
1467
1461
|
type: "active.db-acl";
|
|
1468
1462
|
dbName: string;
|
|
@@ -1497,6 +1491,12 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
|
|
|
1497
1491
|
ownerHandle: string;
|
|
1498
1492
|
appSlug: string;
|
|
1499
1493
|
}[];
|
|
1494
|
+
} | {
|
|
1495
|
+
type: "active.agent-discussion";
|
|
1496
|
+
chatId: string;
|
|
1497
|
+
pinnedAt?: string | undefined;
|
|
1498
|
+
title?: string | undefined;
|
|
1499
|
+
hiddenAt?: string | undefined;
|
|
1500
1500
|
}, {}>;
|
|
1501
1501
|
export declare function isActiveAcl(obj: unknown): obj is typeof ActiveACL.infer;
|
|
1502
1502
|
export type ActiveEntry = typeof ActiveEntry.infer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/api-types",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.344",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@adviser/cement": "~0.5.37",
|
|
27
27
|
"@cloudflare/workers-types": "~5.20261101.1",
|
|
28
|
-
"@vibes.diy/call-ai-v2": "14.3.
|
|
29
|
-
"@vibes.diy/identity": "14.3.
|
|
30
|
-
"@vibes.diy/vibe-types": "14.3.
|
|
28
|
+
"@vibes.diy/call-ai-v2": "14.3.344",
|
|
29
|
+
"@vibes.diy/identity": "14.3.344",
|
|
30
|
+
"@vibes.diy/vibe-types": "14.3.344",
|
|
31
31
|
"arktype": "~2.2.9"
|
|
32
32
|
},
|
|
33
33
|
"repository": {
|
package/prompt.d.ts
CHANGED
|
@@ -582,43 +582,17 @@ export declare const PromptDiscussionTitle: import("arktype/internal/variants/ob
|
|
|
582
582
|
export type PromptDiscussionTitle = typeof PromptDiscussionTitle.infer;
|
|
583
583
|
export declare function isPromptDiscussionTitle(msg: unknown): msg is PromptDiscussionTitle;
|
|
584
584
|
export declare const PromptMsgs: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
585
|
-
type: "prompt.research";
|
|
586
|
-
version: 1;
|
|
587
585
|
streamId: string;
|
|
588
586
|
chatId: string;
|
|
589
587
|
seq: number;
|
|
590
588
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
httpStatus: number | null;
|
|
599
|
-
backendFetchable: boolean;
|
|
600
|
-
fetched: boolean;
|
|
601
|
-
errorCode?: string | undefined;
|
|
602
|
-
}[];
|
|
603
|
-
api: {
|
|
604
|
-
method: string;
|
|
605
|
-
path: string;
|
|
606
|
-
description: string;
|
|
607
|
-
fields: string[];
|
|
608
|
-
}[];
|
|
609
|
-
excerpts: {
|
|
610
|
-
sourceUrl: string;
|
|
611
|
-
text: string;
|
|
612
|
-
locator?: string | undefined;
|
|
613
|
-
}[];
|
|
614
|
-
seedRows: {
|
|
615
|
-
sourceUrl: string;
|
|
616
|
-
dbName: string;
|
|
617
|
-
key: string;
|
|
618
|
-
item: unknown;
|
|
619
|
-
}[];
|
|
620
|
-
completedAt: string;
|
|
621
|
-
errorCode?: string | undefined;
|
|
589
|
+
type: "prompt.block-begin";
|
|
590
|
+
} | {
|
|
591
|
+
streamId: string;
|
|
592
|
+
chatId: string;
|
|
593
|
+
seq: number;
|
|
594
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
595
|
+
type: "prompt.block-end";
|
|
622
596
|
} | {
|
|
623
597
|
streamId: string;
|
|
624
598
|
chatId: string;
|
|
@@ -719,6 +693,16 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
|
|
|
719
693
|
agentCommit?: true | undefined;
|
|
720
694
|
agentSkills?: string[] | undefined;
|
|
721
695
|
alternativeReady?: string | undefined;
|
|
696
|
+
} | {
|
|
697
|
+
streamId: string;
|
|
698
|
+
chatId: string;
|
|
699
|
+
seq: number;
|
|
700
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
701
|
+
type: "prompt.error";
|
|
702
|
+
error: string;
|
|
703
|
+
code?: "turn-lost" | undefined;
|
|
704
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
705
|
+
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
722
706
|
} | {
|
|
723
707
|
streamId: string;
|
|
724
708
|
chatId: string;
|
|
@@ -771,67 +755,6 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
|
|
|
771
755
|
size: number;
|
|
772
756
|
uploadId?: string | undefined;
|
|
773
757
|
})[];
|
|
774
|
-
} | {
|
|
775
|
-
streamId: string;
|
|
776
|
-
chatId: string;
|
|
777
|
-
seq: number;
|
|
778
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
779
|
-
type: "prompt.block-begin";
|
|
780
|
-
} | {
|
|
781
|
-
streamId: string;
|
|
782
|
-
chatId: string;
|
|
783
|
-
seq: number;
|
|
784
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
785
|
-
type: "prompt.error";
|
|
786
|
-
error: string;
|
|
787
|
-
code?: "turn-lost" | undefined;
|
|
788
|
-
lostBuildPromptIds?: string[] | undefined;
|
|
789
|
-
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
790
|
-
} | {
|
|
791
|
-
streamId: string;
|
|
792
|
-
chatId: string;
|
|
793
|
-
seq: number;
|
|
794
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
795
|
-
type: "prompt.block-end";
|
|
796
|
-
} | {
|
|
797
|
-
streamId: string;
|
|
798
|
-
chatId: string;
|
|
799
|
-
seq: number;
|
|
800
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
801
|
-
type: "prompt.model-resolved";
|
|
802
|
-
model: string;
|
|
803
|
-
} | {
|
|
804
|
-
streamId: string;
|
|
805
|
-
chatId: string;
|
|
806
|
-
seq: number;
|
|
807
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
808
|
-
type: "prompt.fs-persisted";
|
|
809
|
-
fsRef: (In: {
|
|
810
|
-
appSlug: string;
|
|
811
|
-
ownerHandle?: string | undefined;
|
|
812
|
-
userSlug?: string | undefined;
|
|
813
|
-
mode: "dev" | "production";
|
|
814
|
-
fsId: string;
|
|
815
|
-
}) => import("arktype").Out<{
|
|
816
|
-
appSlug: string;
|
|
817
|
-
mode: "dev" | "production";
|
|
818
|
-
fsId: string;
|
|
819
|
-
ownerHandle: string;
|
|
820
|
-
}>;
|
|
821
|
-
} | {
|
|
822
|
-
streamId: string;
|
|
823
|
-
chatId: string;
|
|
824
|
-
seq: number;
|
|
825
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
826
|
-
type: "prompt.system-prompt";
|
|
827
|
-
text: string;
|
|
828
|
-
} | {
|
|
829
|
-
streamId: string;
|
|
830
|
-
chatId: string;
|
|
831
|
-
seq: number;
|
|
832
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
833
|
-
type: "prompt.raw";
|
|
834
|
-
text: string;
|
|
835
758
|
} | {
|
|
836
759
|
streamId: string;
|
|
837
760
|
chatId: string;
|
|
@@ -927,32 +850,40 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
|
|
|
927
850
|
chatId: string;
|
|
928
851
|
seq: number;
|
|
929
852
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
930
|
-
type: "prompt.
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
853
|
+
type: "prompt.model-resolved";
|
|
854
|
+
model: string;
|
|
855
|
+
} | {
|
|
856
|
+
streamId: string;
|
|
857
|
+
chatId: string;
|
|
858
|
+
seq: number;
|
|
859
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
860
|
+
type: "prompt.raw";
|
|
861
|
+
text: string;
|
|
862
|
+
} | {
|
|
863
|
+
streamId: string;
|
|
864
|
+
chatId: string;
|
|
865
|
+
seq: number;
|
|
866
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
867
|
+
type: "prompt.fs-persisted";
|
|
868
|
+
fsRef: (In: {
|
|
869
|
+
appSlug: string;
|
|
870
|
+
ownerHandle?: string | undefined;
|
|
871
|
+
userSlug?: string | undefined;
|
|
872
|
+
mode: "dev" | "production";
|
|
873
|
+
fsId: string;
|
|
874
|
+
}) => import("arktype").Out<{
|
|
875
|
+
appSlug: string;
|
|
876
|
+
mode: "dev" | "production";
|
|
877
|
+
fsId: string;
|
|
878
|
+
ownerHandle: string;
|
|
879
|
+
}>;
|
|
880
|
+
} | {
|
|
881
|
+
streamId: string;
|
|
882
|
+
chatId: string;
|
|
883
|
+
seq: number;
|
|
884
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
885
|
+
type: "prompt.system-prompt";
|
|
886
|
+
text: string;
|
|
956
887
|
} | {
|
|
957
888
|
streamId: string;
|
|
958
889
|
chatId: string;
|
|
@@ -1039,6 +970,37 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
|
|
|
1039
970
|
type: "prompt.first-brief";
|
|
1040
971
|
text: string;
|
|
1041
972
|
msFromTurnStart: number;
|
|
973
|
+
} | {
|
|
974
|
+
streamId: string;
|
|
975
|
+
chatId: string;
|
|
976
|
+
seq: number;
|
|
977
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
978
|
+
type: "prompt.agent-evidence";
|
|
979
|
+
evidence: {
|
|
980
|
+
kind: "active" | "call" | "dispatch" | "idle" | "options" | "receipt" | "result";
|
|
981
|
+
options?: {
|
|
982
|
+
label: string;
|
|
983
|
+
gold?: boolean | undefined;
|
|
984
|
+
kind?: "access" | "connect" | "edit" | "pay" | "publish" | "seed" | undefined;
|
|
985
|
+
}[] | undefined;
|
|
986
|
+
sessionId?: string | undefined;
|
|
987
|
+
callId?: string | undefined;
|
|
988
|
+
handleId?: string | undefined;
|
|
989
|
+
buildHandleId?: string | undefined;
|
|
990
|
+
supersedes?: string | undefined;
|
|
991
|
+
queued?: boolean | undefined;
|
|
992
|
+
state?: "building" | "committing" | "queued" | undefined;
|
|
993
|
+
busy?: boolean | undefined;
|
|
994
|
+
saved?: boolean | undefined;
|
|
995
|
+
ok?: boolean | undefined;
|
|
996
|
+
refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
|
|
997
|
+
fsId?: string | undefined;
|
|
998
|
+
name?: string | undefined;
|
|
999
|
+
round?: number | undefined;
|
|
1000
|
+
epoch?: number | undefined;
|
|
1001
|
+
text?: string | undefined;
|
|
1002
|
+
truncated?: boolean | undefined;
|
|
1003
|
+
};
|
|
1042
1004
|
} | {
|
|
1043
1005
|
type: "prompt.status";
|
|
1044
1006
|
streamId: string;
|
|
@@ -1089,6 +1051,44 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
|
|
|
1089
1051
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
1090
1052
|
type: "prompt.discussion-title";
|
|
1091
1053
|
text: string;
|
|
1054
|
+
} | {
|
|
1055
|
+
type: "prompt.research";
|
|
1056
|
+
version: 1;
|
|
1057
|
+
streamId: string;
|
|
1058
|
+
chatId: string;
|
|
1059
|
+
seq: number;
|
|
1060
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
1061
|
+
researchId: string;
|
|
1062
|
+
status: "complete" | "failed" | "partial";
|
|
1063
|
+
brief: string;
|
|
1064
|
+
sources: {
|
|
1065
|
+
url: string;
|
|
1066
|
+
finalUrl: string | null;
|
|
1067
|
+
contentType: string | null;
|
|
1068
|
+
httpStatus: number | null;
|
|
1069
|
+
backendFetchable: boolean;
|
|
1070
|
+
fetched: boolean;
|
|
1071
|
+
errorCode?: string | undefined;
|
|
1072
|
+
}[];
|
|
1073
|
+
api: {
|
|
1074
|
+
method: string;
|
|
1075
|
+
path: string;
|
|
1076
|
+
description: string;
|
|
1077
|
+
fields: string[];
|
|
1078
|
+
}[];
|
|
1079
|
+
excerpts: {
|
|
1080
|
+
sourceUrl: string;
|
|
1081
|
+
text: string;
|
|
1082
|
+
locator?: string | undefined;
|
|
1083
|
+
}[];
|
|
1084
|
+
seedRows: {
|
|
1085
|
+
sourceUrl: string;
|
|
1086
|
+
dbName: string;
|
|
1087
|
+
key: string;
|
|
1088
|
+
item: unknown;
|
|
1089
|
+
}[];
|
|
1090
|
+
completedAt: string;
|
|
1091
|
+
errorCode?: string | undefined;
|
|
1092
1092
|
}, {}>;
|
|
1093
1093
|
export type PromptMsgs = typeof PromptMsgs.infer;
|
|
1094
1094
|
export declare function isPromptMsg(msg: unknown): msg is PromptMsgs;
|