@vibes.diy/api-types 14.1.50 → 14.1.52
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-evidence-line.d.ts +7 -0
- package/agent-evidence-line.js +58 -0
- package/agent-evidence-line.js.map +1 -0
- package/agent-tools.d.ts +4 -0
- package/agent-tools.js +1 -0
- package/agent-tools.js.map +1 -1
- package/app.d.ts +42 -38
- package/cf-env.d.ts +0 -3
- package/chat.d.ts +220 -190
- package/chat.js +6 -0
- package/chat.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/invite.d.ts +18 -0
- package/invite.js +11 -0
- package/invite.js.map +1 -1
- package/package.json +4 -4
- package/prompt.d.ts +8 -0
- package/prompt.js +2 -0
- package/prompt.js.map +1 -1
- package/screen-shotter.js.map +1 -1
- package/screenshot-capture-token.js.map +1 -1
- package/settings.d.ts +66 -1
- package/settings.js +11 -0
- package/settings.js.map +1 -1
- package/style.d.ts +11 -0
- package/style.js +3 -0
- package/style.js.map +1 -1
- package/vibes-diy-api.d.ts +2 -0
- package/vibes-diy-serv-ctx.d.ts +2 -6
- package/vibes-diy-serv-ctx.js +1 -3
- package/vibes-diy-serv-ctx.js.map +1 -1
package/chat.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare const reqOpenChat: import("arktype/internal/variants/object.ts").
|
|
|
54
54
|
archetype: string;
|
|
55
55
|
flourishes: string[];
|
|
56
56
|
} | undefined;
|
|
57
|
+
stylePin?: string | undefined;
|
|
57
58
|
mode: "codegen" | "fs-set" | "fs-update" | "img" | "runtime";
|
|
58
59
|
}, {}>;
|
|
59
60
|
export type ReqOpenChat = typeof reqOpenChat.infer;
|
|
@@ -72,6 +73,7 @@ export declare const resOpenChat: import("arktype/internal/variants/object.ts").
|
|
|
72
73
|
archetype: string;
|
|
73
74
|
flourishes: string[];
|
|
74
75
|
} | undefined;
|
|
76
|
+
stylePin?: string | undefined;
|
|
75
77
|
}, {}>;
|
|
76
78
|
export type ResOpenChat = typeof resOpenChat.infer;
|
|
77
79
|
export declare const evtChatAppClaimed: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
@@ -79,6 +81,8 @@ export declare const evtChatAppClaimed: import("arktype/internal/variants/object
|
|
|
79
81
|
chatId: string;
|
|
80
82
|
ownerHandle: string;
|
|
81
83
|
appSlug: string;
|
|
84
|
+
colorway?: string | undefined;
|
|
85
|
+
colorPinned?: boolean | undefined;
|
|
82
86
|
}, {}>;
|
|
83
87
|
export type EvtChatAppClaimed = typeof evtChatAppClaimed.infer;
|
|
84
88
|
export declare function isEvtChatAppClaimed(obj: unknown): obj is EvtChatAppClaimed;
|
|
@@ -287,6 +291,7 @@ export declare const reqCreationPromptChatSection: import("arktype/internal/vari
|
|
|
287
291
|
compaction?: "off" | "on" | undefined;
|
|
288
292
|
} | undefined;
|
|
289
293
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
294
|
+
source?: "suggestion" | undefined;
|
|
290
295
|
directBuild?: boolean | undefined;
|
|
291
296
|
agentDispatched?: boolean | undefined;
|
|
292
297
|
agentWake?: boolean | undefined;
|
|
@@ -300,6 +305,7 @@ export declare const reqCreationPromptChatSection: import("arktype/internal/vari
|
|
|
300
305
|
archetype: string;
|
|
301
306
|
flourishes: string[];
|
|
302
307
|
} | undefined;
|
|
308
|
+
stylePin?: string | undefined;
|
|
303
309
|
}, {}>;
|
|
304
310
|
export declare function isReqCreationPromptChatSection(obj: unknown): obj is typeof reqCreationPromptChatSection.infer;
|
|
305
311
|
export declare const reqPromptApplicationChatSection: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
@@ -799,6 +805,7 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
|
|
|
799
805
|
compaction?: "off" | "on" | undefined;
|
|
800
806
|
} | undefined;
|
|
801
807
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
808
|
+
source?: "suggestion" | undefined;
|
|
802
809
|
directBuild?: boolean | undefined;
|
|
803
810
|
agentDispatched?: boolean | undefined;
|
|
804
811
|
agentWake?: boolean | undefined;
|
|
@@ -812,6 +819,7 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
|
|
|
812
819
|
archetype: string;
|
|
813
820
|
flourishes: string[];
|
|
814
821
|
} | undefined;
|
|
822
|
+
stylePin?: string | undefined;
|
|
815
823
|
} | {
|
|
816
824
|
type: "vibes.diy.req-prompt-chat-section";
|
|
817
825
|
mode: "runtime";
|
|
@@ -1253,6 +1261,7 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
|
|
|
1253
1261
|
compaction?: "off" | "on" | undefined;
|
|
1254
1262
|
} | undefined;
|
|
1255
1263
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
1264
|
+
source?: "suggestion" | undefined;
|
|
1256
1265
|
directBuild?: boolean | undefined;
|
|
1257
1266
|
agentDispatched?: boolean | undefined;
|
|
1258
1267
|
agentWake?: boolean | undefined;
|
|
@@ -1266,6 +1275,7 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
|
|
|
1266
1275
|
archetype: string;
|
|
1267
1276
|
flourishes: string[];
|
|
1268
1277
|
} | undefined;
|
|
1278
|
+
stylePin?: string | undefined;
|
|
1269
1279
|
} | {
|
|
1270
1280
|
type: "vibes.diy.req-prompt-chat-section";
|
|
1271
1281
|
mode: "runtime";
|
|
@@ -1572,6 +1582,44 @@ export declare const resPromptChatSection: import("arktype/internal/variants/obj
|
|
|
1572
1582
|
export type ResPromptChatSection = typeof resPromptChatSection.infer;
|
|
1573
1583
|
export declare function isResPromptChatSection(obj: unknown): obj is ResPromptChatSection;
|
|
1574
1584
|
export declare const PromptAndBlockMsgs: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
1585
|
+
type: "prompt.research";
|
|
1586
|
+
version: 1;
|
|
1587
|
+
streamId: string;
|
|
1588
|
+
chatId: string;
|
|
1589
|
+
seq: number;
|
|
1590
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
1591
|
+
researchId: string;
|
|
1592
|
+
status: "complete" | "failed" | "partial";
|
|
1593
|
+
brief: string;
|
|
1594
|
+
sources: {
|
|
1595
|
+
url: string;
|
|
1596
|
+
finalUrl: string | null;
|
|
1597
|
+
contentType: string | null;
|
|
1598
|
+
httpStatus: number | null;
|
|
1599
|
+
backendFetchable: boolean;
|
|
1600
|
+
fetched: boolean;
|
|
1601
|
+
errorCode?: string | undefined;
|
|
1602
|
+
}[];
|
|
1603
|
+
api: {
|
|
1604
|
+
method: string;
|
|
1605
|
+
path: string;
|
|
1606
|
+
description: string;
|
|
1607
|
+
fields: string[];
|
|
1608
|
+
}[];
|
|
1609
|
+
excerpts: {
|
|
1610
|
+
sourceUrl: string;
|
|
1611
|
+
text: string;
|
|
1612
|
+
locator?: string | undefined;
|
|
1613
|
+
}[];
|
|
1614
|
+
seedRows: {
|
|
1615
|
+
sourceUrl: string;
|
|
1616
|
+
dbName: string;
|
|
1617
|
+
key: string;
|
|
1618
|
+
item: unknown;
|
|
1619
|
+
}[];
|
|
1620
|
+
completedAt: string;
|
|
1621
|
+
errorCode?: string | undefined;
|
|
1622
|
+
} | {
|
|
1575
1623
|
streamId: string;
|
|
1576
1624
|
chatId: string;
|
|
1577
1625
|
seq: number;
|
|
@@ -1661,6 +1709,7 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
1661
1709
|
} | undefined;
|
|
1662
1710
|
response_format?: unknown;
|
|
1663
1711
|
};
|
|
1712
|
+
source?: "suggestion" | undefined;
|
|
1664
1713
|
agentDispatched?: true | undefined;
|
|
1665
1714
|
platformInitiated?: true | undefined;
|
|
1666
1715
|
} | {
|
|
@@ -1671,6 +1720,7 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
1671
1720
|
type: "prompt.error";
|
|
1672
1721
|
error: string;
|
|
1673
1722
|
code?: "turn-lost" | undefined;
|
|
1723
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
1674
1724
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
1675
1725
|
} | {
|
|
1676
1726
|
streamId: string;
|
|
@@ -1866,6 +1916,8 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
1866
1916
|
surfaceLift: number;
|
|
1867
1917
|
fillLevel: number;
|
|
1868
1918
|
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
1919
|
+
paper?: number | undefined;
|
|
1920
|
+
fillLift?: number | undefined;
|
|
1869
1921
|
};
|
|
1870
1922
|
} | undefined;
|
|
1871
1923
|
font?: string | undefined;
|
|
@@ -1936,44 +1988,6 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
1936
1988
|
type: "prompt.notice";
|
|
1937
1989
|
kind: "edits-incomplete";
|
|
1938
1990
|
path?: string | undefined;
|
|
1939
|
-
} | {
|
|
1940
|
-
type: "prompt.research";
|
|
1941
|
-
version: 1;
|
|
1942
|
-
streamId: string;
|
|
1943
|
-
chatId: string;
|
|
1944
|
-
seq: number;
|
|
1945
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
1946
|
-
researchId: string;
|
|
1947
|
-
status: "complete" | "failed" | "partial";
|
|
1948
|
-
brief: string;
|
|
1949
|
-
sources: {
|
|
1950
|
-
url: string;
|
|
1951
|
-
finalUrl: string | null;
|
|
1952
|
-
contentType: string | null;
|
|
1953
|
-
httpStatus: number | null;
|
|
1954
|
-
backendFetchable: boolean;
|
|
1955
|
-
fetched: boolean;
|
|
1956
|
-
errorCode?: string | undefined;
|
|
1957
|
-
}[];
|
|
1958
|
-
api: {
|
|
1959
|
-
method: string;
|
|
1960
|
-
path: string;
|
|
1961
|
-
description: string;
|
|
1962
|
-
fields: string[];
|
|
1963
|
-
}[];
|
|
1964
|
-
excerpts: {
|
|
1965
|
-
sourceUrl: string;
|
|
1966
|
-
text: string;
|
|
1967
|
-
locator?: string | undefined;
|
|
1968
|
-
}[];
|
|
1969
|
-
seedRows: {
|
|
1970
|
-
sourceUrl: string;
|
|
1971
|
-
dbName: string;
|
|
1972
|
-
key: string;
|
|
1973
|
-
item: unknown;
|
|
1974
|
-
}[];
|
|
1975
|
-
completedAt: string;
|
|
1976
|
-
errorCode?: string | undefined;
|
|
1977
1991
|
} | {
|
|
1978
1992
|
blockId: string;
|
|
1979
1993
|
streamId: string;
|
|
@@ -2185,6 +2199,44 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2185
2199
|
blockSeq: number;
|
|
2186
2200
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2187
2201
|
blocks: ({
|
|
2202
|
+
type: "prompt.research";
|
|
2203
|
+
version: 1;
|
|
2204
|
+
streamId: string;
|
|
2205
|
+
chatId: string;
|
|
2206
|
+
seq: number;
|
|
2207
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2208
|
+
researchId: string;
|
|
2209
|
+
status: "complete" | "failed" | "partial";
|
|
2210
|
+
brief: string;
|
|
2211
|
+
sources: {
|
|
2212
|
+
url: string;
|
|
2213
|
+
finalUrl: string | null;
|
|
2214
|
+
contentType: string | null;
|
|
2215
|
+
httpStatus: number | null;
|
|
2216
|
+
backendFetchable: boolean;
|
|
2217
|
+
fetched: boolean;
|
|
2218
|
+
errorCode?: string | undefined;
|
|
2219
|
+
}[];
|
|
2220
|
+
api: {
|
|
2221
|
+
method: string;
|
|
2222
|
+
path: string;
|
|
2223
|
+
description: string;
|
|
2224
|
+
fields: string[];
|
|
2225
|
+
}[];
|
|
2226
|
+
excerpts: {
|
|
2227
|
+
sourceUrl: string;
|
|
2228
|
+
text: string;
|
|
2229
|
+
locator?: string | undefined;
|
|
2230
|
+
}[];
|
|
2231
|
+
seedRows: {
|
|
2232
|
+
sourceUrl: string;
|
|
2233
|
+
dbName: string;
|
|
2234
|
+
key: string;
|
|
2235
|
+
item: unknown;
|
|
2236
|
+
}[];
|
|
2237
|
+
completedAt: string;
|
|
2238
|
+
errorCode?: string | undefined;
|
|
2239
|
+
} | {
|
|
2188
2240
|
streamId: string;
|
|
2189
2241
|
chatId: string;
|
|
2190
2242
|
seq: number;
|
|
@@ -2274,6 +2326,7 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2274
2326
|
} | undefined;
|
|
2275
2327
|
response_format?: unknown;
|
|
2276
2328
|
};
|
|
2329
|
+
source?: "suggestion" | undefined;
|
|
2277
2330
|
agentDispatched?: true | undefined;
|
|
2278
2331
|
platformInitiated?: true | undefined;
|
|
2279
2332
|
} | {
|
|
@@ -2284,6 +2337,7 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2284
2337
|
type: "prompt.error";
|
|
2285
2338
|
error: string;
|
|
2286
2339
|
code?: "turn-lost" | undefined;
|
|
2340
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
2287
2341
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
2288
2342
|
} | {
|
|
2289
2343
|
streamId: string;
|
|
@@ -2479,6 +2533,8 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2479
2533
|
surfaceLift: number;
|
|
2480
2534
|
fillLevel: number;
|
|
2481
2535
|
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
2536
|
+
paper?: number | undefined;
|
|
2537
|
+
fillLift?: number | undefined;
|
|
2482
2538
|
};
|
|
2483
2539
|
} | undefined;
|
|
2484
2540
|
font?: string | undefined;
|
|
@@ -2549,44 +2605,6 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2549
2605
|
type: "prompt.notice";
|
|
2550
2606
|
kind: "edits-incomplete";
|
|
2551
2607
|
path?: string | undefined;
|
|
2552
|
-
} | {
|
|
2553
|
-
type: "prompt.research";
|
|
2554
|
-
version: 1;
|
|
2555
|
-
streamId: string;
|
|
2556
|
-
chatId: string;
|
|
2557
|
-
seq: number;
|
|
2558
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2559
|
-
researchId: string;
|
|
2560
|
-
status: "complete" | "failed" | "partial";
|
|
2561
|
-
brief: string;
|
|
2562
|
-
sources: {
|
|
2563
|
-
url: string;
|
|
2564
|
-
finalUrl: string | null;
|
|
2565
|
-
contentType: string | null;
|
|
2566
|
-
httpStatus: number | null;
|
|
2567
|
-
backendFetchable: boolean;
|
|
2568
|
-
fetched: boolean;
|
|
2569
|
-
errorCode?: string | undefined;
|
|
2570
|
-
}[];
|
|
2571
|
-
api: {
|
|
2572
|
-
method: string;
|
|
2573
|
-
path: string;
|
|
2574
|
-
description: string;
|
|
2575
|
-
fields: string[];
|
|
2576
|
-
}[];
|
|
2577
|
-
excerpts: {
|
|
2578
|
-
sourceUrl: string;
|
|
2579
|
-
text: string;
|
|
2580
|
-
locator?: string | undefined;
|
|
2581
|
-
}[];
|
|
2582
|
-
seedRows: {
|
|
2583
|
-
sourceUrl: string;
|
|
2584
|
-
dbName: string;
|
|
2585
|
-
key: string;
|
|
2586
|
-
item: unknown;
|
|
2587
|
-
}[];
|
|
2588
|
-
completedAt: string;
|
|
2589
|
-
errorCode?: string | undefined;
|
|
2590
2608
|
} | {
|
|
2591
2609
|
blockId: string;
|
|
2592
2610
|
streamId: string;
|
|
@@ -2810,6 +2828,44 @@ export declare function isReqGetChatResponse(obj: unknown): obj is ReqGetChatRes
|
|
|
2810
2828
|
export declare const resChatResponseSection: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
2811
2829
|
blockSeq: number;
|
|
2812
2830
|
blocks: ({
|
|
2831
|
+
type: "prompt.research";
|
|
2832
|
+
version: 1;
|
|
2833
|
+
streamId: string;
|
|
2834
|
+
chatId: string;
|
|
2835
|
+
seq: number;
|
|
2836
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2837
|
+
researchId: string;
|
|
2838
|
+
status: "complete" | "failed" | "partial";
|
|
2839
|
+
brief: string;
|
|
2840
|
+
sources: {
|
|
2841
|
+
url: string;
|
|
2842
|
+
finalUrl: string | null;
|
|
2843
|
+
contentType: string | null;
|
|
2844
|
+
httpStatus: number | null;
|
|
2845
|
+
backendFetchable: boolean;
|
|
2846
|
+
fetched: boolean;
|
|
2847
|
+
errorCode?: string | undefined;
|
|
2848
|
+
}[];
|
|
2849
|
+
api: {
|
|
2850
|
+
method: string;
|
|
2851
|
+
path: string;
|
|
2852
|
+
description: string;
|
|
2853
|
+
fields: string[];
|
|
2854
|
+
}[];
|
|
2855
|
+
excerpts: {
|
|
2856
|
+
sourceUrl: string;
|
|
2857
|
+
text: string;
|
|
2858
|
+
locator?: string | undefined;
|
|
2859
|
+
}[];
|
|
2860
|
+
seedRows: {
|
|
2861
|
+
sourceUrl: string;
|
|
2862
|
+
dbName: string;
|
|
2863
|
+
key: string;
|
|
2864
|
+
item: unknown;
|
|
2865
|
+
}[];
|
|
2866
|
+
completedAt: string;
|
|
2867
|
+
errorCode?: string | undefined;
|
|
2868
|
+
} | {
|
|
2813
2869
|
streamId: string;
|
|
2814
2870
|
chatId: string;
|
|
2815
2871
|
seq: number;
|
|
@@ -2899,6 +2955,7 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
2899
2955
|
} | undefined;
|
|
2900
2956
|
response_format?: unknown;
|
|
2901
2957
|
};
|
|
2958
|
+
source?: "suggestion" | undefined;
|
|
2902
2959
|
agentDispatched?: true | undefined;
|
|
2903
2960
|
platformInitiated?: true | undefined;
|
|
2904
2961
|
} | {
|
|
@@ -2909,6 +2966,7 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
2909
2966
|
type: "prompt.error";
|
|
2910
2967
|
error: string;
|
|
2911
2968
|
code?: "turn-lost" | undefined;
|
|
2969
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
2912
2970
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
2913
2971
|
} | {
|
|
2914
2972
|
streamId: string;
|
|
@@ -3104,6 +3162,8 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
3104
3162
|
surfaceLift: number;
|
|
3105
3163
|
fillLevel: number;
|
|
3106
3164
|
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
3165
|
+
paper?: number | undefined;
|
|
3166
|
+
fillLift?: number | undefined;
|
|
3107
3167
|
};
|
|
3108
3168
|
} | undefined;
|
|
3109
3169
|
font?: string | undefined;
|
|
@@ -3174,44 +3234,6 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
3174
3234
|
type: "prompt.notice";
|
|
3175
3235
|
kind: "edits-incomplete";
|
|
3176
3236
|
path?: string | undefined;
|
|
3177
|
-
} | {
|
|
3178
|
-
type: "prompt.research";
|
|
3179
|
-
version: 1;
|
|
3180
|
-
streamId: string;
|
|
3181
|
-
chatId: string;
|
|
3182
|
-
seq: number;
|
|
3183
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3184
|
-
researchId: string;
|
|
3185
|
-
status: "complete" | "failed" | "partial";
|
|
3186
|
-
brief: string;
|
|
3187
|
-
sources: {
|
|
3188
|
-
url: string;
|
|
3189
|
-
finalUrl: string | null;
|
|
3190
|
-
contentType: string | null;
|
|
3191
|
-
httpStatus: number | null;
|
|
3192
|
-
backendFetchable: boolean;
|
|
3193
|
-
fetched: boolean;
|
|
3194
|
-
errorCode?: string | undefined;
|
|
3195
|
-
}[];
|
|
3196
|
-
api: {
|
|
3197
|
-
method: string;
|
|
3198
|
-
path: string;
|
|
3199
|
-
description: string;
|
|
3200
|
-
fields: string[];
|
|
3201
|
-
}[];
|
|
3202
|
-
excerpts: {
|
|
3203
|
-
sourceUrl: string;
|
|
3204
|
-
text: string;
|
|
3205
|
-
locator?: string | undefined;
|
|
3206
|
-
}[];
|
|
3207
|
-
seedRows: {
|
|
3208
|
-
sourceUrl: string;
|
|
3209
|
-
dbName: string;
|
|
3210
|
-
key: string;
|
|
3211
|
-
item: unknown;
|
|
3212
|
-
}[];
|
|
3213
|
-
completedAt: string;
|
|
3214
|
-
errorCode?: string | undefined;
|
|
3215
3237
|
} | {
|
|
3216
3238
|
blockId: string;
|
|
3217
3239
|
streamId: string;
|
|
@@ -3425,6 +3447,44 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3425
3447
|
sections: {
|
|
3426
3448
|
blockSeq: number;
|
|
3427
3449
|
blocks: ({
|
|
3450
|
+
type: "prompt.research";
|
|
3451
|
+
version: 1;
|
|
3452
|
+
streamId: string;
|
|
3453
|
+
chatId: string;
|
|
3454
|
+
seq: number;
|
|
3455
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3456
|
+
researchId: string;
|
|
3457
|
+
status: "complete" | "failed" | "partial";
|
|
3458
|
+
brief: string;
|
|
3459
|
+
sources: {
|
|
3460
|
+
url: string;
|
|
3461
|
+
finalUrl: string | null;
|
|
3462
|
+
contentType: string | null;
|
|
3463
|
+
httpStatus: number | null;
|
|
3464
|
+
backendFetchable: boolean;
|
|
3465
|
+
fetched: boolean;
|
|
3466
|
+
errorCode?: string | undefined;
|
|
3467
|
+
}[];
|
|
3468
|
+
api: {
|
|
3469
|
+
method: string;
|
|
3470
|
+
path: string;
|
|
3471
|
+
description: string;
|
|
3472
|
+
fields: string[];
|
|
3473
|
+
}[];
|
|
3474
|
+
excerpts: {
|
|
3475
|
+
sourceUrl: string;
|
|
3476
|
+
text: string;
|
|
3477
|
+
locator?: string | undefined;
|
|
3478
|
+
}[];
|
|
3479
|
+
seedRows: {
|
|
3480
|
+
sourceUrl: string;
|
|
3481
|
+
dbName: string;
|
|
3482
|
+
key: string;
|
|
3483
|
+
item: unknown;
|
|
3484
|
+
}[];
|
|
3485
|
+
completedAt: string;
|
|
3486
|
+
errorCode?: string | undefined;
|
|
3487
|
+
} | {
|
|
3428
3488
|
streamId: string;
|
|
3429
3489
|
chatId: string;
|
|
3430
3490
|
seq: number;
|
|
@@ -3514,6 +3574,7 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3514
3574
|
} | undefined;
|
|
3515
3575
|
response_format?: unknown;
|
|
3516
3576
|
};
|
|
3577
|
+
source?: "suggestion" | undefined;
|
|
3517
3578
|
agentDispatched?: true | undefined;
|
|
3518
3579
|
platformInitiated?: true | undefined;
|
|
3519
3580
|
} | {
|
|
@@ -3524,6 +3585,7 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3524
3585
|
type: "prompt.error";
|
|
3525
3586
|
error: string;
|
|
3526
3587
|
code?: "turn-lost" | undefined;
|
|
3588
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
3527
3589
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
3528
3590
|
} | {
|
|
3529
3591
|
streamId: string;
|
|
@@ -3719,6 +3781,8 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3719
3781
|
surfaceLift: number;
|
|
3720
3782
|
fillLevel: number;
|
|
3721
3783
|
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
3784
|
+
paper?: number | undefined;
|
|
3785
|
+
fillLift?: number | undefined;
|
|
3722
3786
|
};
|
|
3723
3787
|
} | undefined;
|
|
3724
3788
|
font?: string | undefined;
|
|
@@ -3789,44 +3853,6 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3789
3853
|
type: "prompt.notice";
|
|
3790
3854
|
kind: "edits-incomplete";
|
|
3791
3855
|
path?: string | undefined;
|
|
3792
|
-
} | {
|
|
3793
|
-
type: "prompt.research";
|
|
3794
|
-
version: 1;
|
|
3795
|
-
streamId: string;
|
|
3796
|
-
chatId: string;
|
|
3797
|
-
seq: number;
|
|
3798
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3799
|
-
researchId: string;
|
|
3800
|
-
status: "complete" | "failed" | "partial";
|
|
3801
|
-
brief: string;
|
|
3802
|
-
sources: {
|
|
3803
|
-
url: string;
|
|
3804
|
-
finalUrl: string | null;
|
|
3805
|
-
contentType: string | null;
|
|
3806
|
-
httpStatus: number | null;
|
|
3807
|
-
backendFetchable: boolean;
|
|
3808
|
-
fetched: boolean;
|
|
3809
|
-
errorCode?: string | undefined;
|
|
3810
|
-
}[];
|
|
3811
|
-
api: {
|
|
3812
|
-
method: string;
|
|
3813
|
-
path: string;
|
|
3814
|
-
description: string;
|
|
3815
|
-
fields: string[];
|
|
3816
|
-
}[];
|
|
3817
|
-
excerpts: {
|
|
3818
|
-
sourceUrl: string;
|
|
3819
|
-
text: string;
|
|
3820
|
-
locator?: string | undefined;
|
|
3821
|
-
}[];
|
|
3822
|
-
seedRows: {
|
|
3823
|
-
sourceUrl: string;
|
|
3824
|
-
dbName: string;
|
|
3825
|
-
key: string;
|
|
3826
|
-
item: unknown;
|
|
3827
|
-
}[];
|
|
3828
|
-
completedAt: string;
|
|
3829
|
-
errorCode?: string | undefined;
|
|
3830
3856
|
} | {
|
|
3831
3857
|
blockId: string;
|
|
3832
3858
|
streamId: string;
|
|
@@ -4046,6 +4072,44 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4046
4072
|
sections: {
|
|
4047
4073
|
blockSeq: number;
|
|
4048
4074
|
blocks: ({
|
|
4075
|
+
type: "prompt.research";
|
|
4076
|
+
version: 1;
|
|
4077
|
+
streamId: string;
|
|
4078
|
+
chatId: string;
|
|
4079
|
+
seq: number;
|
|
4080
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
4081
|
+
researchId: string;
|
|
4082
|
+
status: "complete" | "failed" | "partial";
|
|
4083
|
+
brief: string;
|
|
4084
|
+
sources: {
|
|
4085
|
+
url: string;
|
|
4086
|
+
finalUrl: string | null;
|
|
4087
|
+
contentType: string | null;
|
|
4088
|
+
httpStatus: number | null;
|
|
4089
|
+
backendFetchable: boolean;
|
|
4090
|
+
fetched: boolean;
|
|
4091
|
+
errorCode?: string | undefined;
|
|
4092
|
+
}[];
|
|
4093
|
+
api: {
|
|
4094
|
+
method: string;
|
|
4095
|
+
path: string;
|
|
4096
|
+
description: string;
|
|
4097
|
+
fields: string[];
|
|
4098
|
+
}[];
|
|
4099
|
+
excerpts: {
|
|
4100
|
+
sourceUrl: string;
|
|
4101
|
+
text: string;
|
|
4102
|
+
locator?: string | undefined;
|
|
4103
|
+
}[];
|
|
4104
|
+
seedRows: {
|
|
4105
|
+
sourceUrl: string;
|
|
4106
|
+
dbName: string;
|
|
4107
|
+
key: string;
|
|
4108
|
+
item: unknown;
|
|
4109
|
+
}[];
|
|
4110
|
+
completedAt: string;
|
|
4111
|
+
errorCode?: string | undefined;
|
|
4112
|
+
} | {
|
|
4049
4113
|
streamId: string;
|
|
4050
4114
|
chatId: string;
|
|
4051
4115
|
seq: number;
|
|
@@ -4135,6 +4199,7 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4135
4199
|
} | undefined;
|
|
4136
4200
|
response_format?: unknown;
|
|
4137
4201
|
};
|
|
4202
|
+
source?: "suggestion" | undefined;
|
|
4138
4203
|
agentDispatched?: true | undefined;
|
|
4139
4204
|
platformInitiated?: true | undefined;
|
|
4140
4205
|
} | {
|
|
@@ -4145,6 +4210,7 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4145
4210
|
type: "prompt.error";
|
|
4146
4211
|
error: string;
|
|
4147
4212
|
code?: "turn-lost" | undefined;
|
|
4213
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
4148
4214
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
4149
4215
|
} | {
|
|
4150
4216
|
streamId: string;
|
|
@@ -4340,6 +4406,8 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4340
4406
|
surfaceLift: number;
|
|
4341
4407
|
fillLevel: number;
|
|
4342
4408
|
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
4409
|
+
paper?: number | undefined;
|
|
4410
|
+
fillLift?: number | undefined;
|
|
4343
4411
|
};
|
|
4344
4412
|
} | undefined;
|
|
4345
4413
|
font?: string | undefined;
|
|
@@ -4410,44 +4478,6 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4410
4478
|
type: "prompt.notice";
|
|
4411
4479
|
kind: "edits-incomplete";
|
|
4412
4480
|
path?: string | undefined;
|
|
4413
|
-
} | {
|
|
4414
|
-
type: "prompt.research";
|
|
4415
|
-
version: 1;
|
|
4416
|
-
streamId: string;
|
|
4417
|
-
chatId: string;
|
|
4418
|
-
seq: number;
|
|
4419
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
4420
|
-
researchId: string;
|
|
4421
|
-
status: "complete" | "failed" | "partial";
|
|
4422
|
-
brief: string;
|
|
4423
|
-
sources: {
|
|
4424
|
-
url: string;
|
|
4425
|
-
finalUrl: string | null;
|
|
4426
|
-
contentType: string | null;
|
|
4427
|
-
httpStatus: number | null;
|
|
4428
|
-
backendFetchable: boolean;
|
|
4429
|
-
fetched: boolean;
|
|
4430
|
-
errorCode?: string | undefined;
|
|
4431
|
-
}[];
|
|
4432
|
-
api: {
|
|
4433
|
-
method: string;
|
|
4434
|
-
path: string;
|
|
4435
|
-
description: string;
|
|
4436
|
-
fields: string[];
|
|
4437
|
-
}[];
|
|
4438
|
-
excerpts: {
|
|
4439
|
-
sourceUrl: string;
|
|
4440
|
-
text: string;
|
|
4441
|
-
locator?: string | undefined;
|
|
4442
|
-
}[];
|
|
4443
|
-
seedRows: {
|
|
4444
|
-
sourceUrl: string;
|
|
4445
|
-
dbName: string;
|
|
4446
|
-
key: string;
|
|
4447
|
-
item: unknown;
|
|
4448
|
-
}[];
|
|
4449
|
-
completedAt: string;
|
|
4450
|
-
errorCode?: string | undefined;
|
|
4451
4481
|
} | {
|
|
4452
4482
|
blockId: string;
|
|
4453
4483
|
streamId: string;
|
package/chat.js
CHANGED
|
@@ -55,6 +55,7 @@ export const reqOpenChat = lazyType(() => type({
|
|
|
55
55
|
"clientFiresFirstTurn?": "boolean",
|
|
56
56
|
"awaitFirstTurnFire?": "boolean",
|
|
57
57
|
"varietyPin?": varietyPin,
|
|
58
|
+
"stylePin?": "string",
|
|
58
59
|
mode: PromptStyle,
|
|
59
60
|
}));
|
|
60
61
|
export const resOpenChat = lazyType(() => type({
|
|
@@ -69,12 +70,15 @@ export const resOpenChat = lazyType(() => type({
|
|
|
69
70
|
"firstTurnFire?": "'fired' | 'denied' | 'none'",
|
|
70
71
|
"agentSession?": "boolean",
|
|
71
72
|
"varietyPin?": varietyPin,
|
|
73
|
+
"stylePin?": "string",
|
|
72
74
|
}));
|
|
73
75
|
export const evtChatAppClaimed = lazyType(() => type({
|
|
74
76
|
type: "'vibes.diy.evt-chat-app-claimed'",
|
|
75
77
|
chatId: "string",
|
|
76
78
|
ownerHandle: "string",
|
|
77
79
|
appSlug: "string",
|
|
80
|
+
"colorway?": "string",
|
|
81
|
+
"colorPinned?": "boolean",
|
|
78
82
|
}));
|
|
79
83
|
export function isEvtChatAppClaimed(obj) {
|
|
80
84
|
return !(evtChatAppClaimed(obj) instanceof type.errors);
|
|
@@ -110,6 +114,7 @@ export const reqCreationPromptChatSection = lazyType(() => type({
|
|
|
110
114
|
"selected?": selectedSlotInput,
|
|
111
115
|
"slots?": slotConfig,
|
|
112
116
|
"variant?": CodegenTurnVariant,
|
|
117
|
+
"source?": "'suggestion'",
|
|
113
118
|
"directBuild?": "boolean",
|
|
114
119
|
"agentDispatched?": "boolean",
|
|
115
120
|
"agentWake?": "boolean",
|
|
@@ -120,6 +125,7 @@ export const reqCreationPromptChatSection = lazyType(() => type({
|
|
|
120
125
|
"focusPath?": "string",
|
|
121
126
|
"apiKey?": "string",
|
|
122
127
|
"varietyPin?": varietyPin,
|
|
128
|
+
"stylePin?": "string",
|
|
123
129
|
}));
|
|
124
130
|
export function isReqCreationPromptChatSection(obj) {
|
|
125
131
|
return !(reqCreationPromptChatSection(obj) instanceof type.errors);
|