@vibes.diy/api-types 14.1.48 → 14.1.51
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 +7 -3
- package/agent-tools.js +4 -3
- package/agent-tools.js.map +1 -1
- package/app.d.ts +44 -38
- package/cf-env.d.ts +0 -3
- package/chat.d.ts +230 -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 +14 -0
- package/prompt.js +4 -0
- package/prompt.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;
|
|
@@ -1911,6 +1963,8 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
1911
1963
|
ok?: boolean | undefined;
|
|
1912
1964
|
fsId?: string | undefined;
|
|
1913
1965
|
name?: string | undefined;
|
|
1966
|
+
round?: number | undefined;
|
|
1967
|
+
epoch?: number | undefined;
|
|
1914
1968
|
text?: string | undefined;
|
|
1915
1969
|
truncated?: boolean | undefined;
|
|
1916
1970
|
};
|
|
@@ -1934,44 +1988,6 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
1934
1988
|
type: "prompt.notice";
|
|
1935
1989
|
kind: "edits-incomplete";
|
|
1936
1990
|
path?: string | undefined;
|
|
1937
|
-
} | {
|
|
1938
|
-
type: "prompt.research";
|
|
1939
|
-
version: 1;
|
|
1940
|
-
streamId: string;
|
|
1941
|
-
chatId: string;
|
|
1942
|
-
seq: number;
|
|
1943
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
1944
|
-
researchId: string;
|
|
1945
|
-
status: "complete" | "failed" | "partial";
|
|
1946
|
-
brief: string;
|
|
1947
|
-
sources: {
|
|
1948
|
-
url: string;
|
|
1949
|
-
finalUrl: string | null;
|
|
1950
|
-
contentType: string | null;
|
|
1951
|
-
httpStatus: number | null;
|
|
1952
|
-
backendFetchable: boolean;
|
|
1953
|
-
fetched: boolean;
|
|
1954
|
-
errorCode?: string | undefined;
|
|
1955
|
-
}[];
|
|
1956
|
-
api: {
|
|
1957
|
-
method: string;
|
|
1958
|
-
path: string;
|
|
1959
|
-
description: string;
|
|
1960
|
-
fields: string[];
|
|
1961
|
-
}[];
|
|
1962
|
-
excerpts: {
|
|
1963
|
-
sourceUrl: string;
|
|
1964
|
-
text: string;
|
|
1965
|
-
locator?: string | undefined;
|
|
1966
|
-
}[];
|
|
1967
|
-
seedRows: {
|
|
1968
|
-
sourceUrl: string;
|
|
1969
|
-
dbName: string;
|
|
1970
|
-
key: string;
|
|
1971
|
-
item: unknown;
|
|
1972
|
-
}[];
|
|
1973
|
-
completedAt: string;
|
|
1974
|
-
errorCode?: string | undefined;
|
|
1975
1991
|
} | {
|
|
1976
1992
|
blockId: string;
|
|
1977
1993
|
streamId: string;
|
|
@@ -2183,6 +2199,44 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2183
2199
|
blockSeq: number;
|
|
2184
2200
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2185
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
|
+
} | {
|
|
2186
2240
|
streamId: string;
|
|
2187
2241
|
chatId: string;
|
|
2188
2242
|
seq: number;
|
|
@@ -2272,6 +2326,7 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2272
2326
|
} | undefined;
|
|
2273
2327
|
response_format?: unknown;
|
|
2274
2328
|
};
|
|
2329
|
+
source?: "suggestion" | undefined;
|
|
2275
2330
|
agentDispatched?: true | undefined;
|
|
2276
2331
|
platformInitiated?: true | undefined;
|
|
2277
2332
|
} | {
|
|
@@ -2282,6 +2337,7 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2282
2337
|
type: "prompt.error";
|
|
2283
2338
|
error: string;
|
|
2284
2339
|
code?: "turn-lost" | undefined;
|
|
2340
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
2285
2341
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
2286
2342
|
} | {
|
|
2287
2343
|
streamId: string;
|
|
@@ -2477,6 +2533,8 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2477
2533
|
surfaceLift: number;
|
|
2478
2534
|
fillLevel: number;
|
|
2479
2535
|
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
2536
|
+
paper?: number | undefined;
|
|
2537
|
+
fillLift?: number | undefined;
|
|
2480
2538
|
};
|
|
2481
2539
|
} | undefined;
|
|
2482
2540
|
font?: string | undefined;
|
|
@@ -2522,6 +2580,8 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2522
2580
|
ok?: boolean | undefined;
|
|
2523
2581
|
fsId?: string | undefined;
|
|
2524
2582
|
name?: string | undefined;
|
|
2583
|
+
round?: number | undefined;
|
|
2584
|
+
epoch?: number | undefined;
|
|
2525
2585
|
text?: string | undefined;
|
|
2526
2586
|
truncated?: boolean | undefined;
|
|
2527
2587
|
};
|
|
@@ -2545,44 +2605,6 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
2545
2605
|
type: "prompt.notice";
|
|
2546
2606
|
kind: "edits-incomplete";
|
|
2547
2607
|
path?: string | undefined;
|
|
2548
|
-
} | {
|
|
2549
|
-
type: "prompt.research";
|
|
2550
|
-
version: 1;
|
|
2551
|
-
streamId: string;
|
|
2552
|
-
chatId: string;
|
|
2553
|
-
seq: number;
|
|
2554
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2555
|
-
researchId: string;
|
|
2556
|
-
status: "complete" | "failed" | "partial";
|
|
2557
|
-
brief: string;
|
|
2558
|
-
sources: {
|
|
2559
|
-
url: string;
|
|
2560
|
-
finalUrl: string | null;
|
|
2561
|
-
contentType: string | null;
|
|
2562
|
-
httpStatus: number | null;
|
|
2563
|
-
backendFetchable: boolean;
|
|
2564
|
-
fetched: boolean;
|
|
2565
|
-
errorCode?: string | undefined;
|
|
2566
|
-
}[];
|
|
2567
|
-
api: {
|
|
2568
|
-
method: string;
|
|
2569
|
-
path: string;
|
|
2570
|
-
description: string;
|
|
2571
|
-
fields: string[];
|
|
2572
|
-
}[];
|
|
2573
|
-
excerpts: {
|
|
2574
|
-
sourceUrl: string;
|
|
2575
|
-
text: string;
|
|
2576
|
-
locator?: string | undefined;
|
|
2577
|
-
}[];
|
|
2578
|
-
seedRows: {
|
|
2579
|
-
sourceUrl: string;
|
|
2580
|
-
dbName: string;
|
|
2581
|
-
key: string;
|
|
2582
|
-
item: unknown;
|
|
2583
|
-
}[];
|
|
2584
|
-
completedAt: string;
|
|
2585
|
-
errorCode?: string | undefined;
|
|
2586
2608
|
} | {
|
|
2587
2609
|
blockId: string;
|
|
2588
2610
|
streamId: string;
|
|
@@ -2806,6 +2828,44 @@ export declare function isReqGetChatResponse(obj: unknown): obj is ReqGetChatRes
|
|
|
2806
2828
|
export declare const resChatResponseSection: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
2807
2829
|
blockSeq: number;
|
|
2808
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
|
+
} | {
|
|
2809
2869
|
streamId: string;
|
|
2810
2870
|
chatId: string;
|
|
2811
2871
|
seq: number;
|
|
@@ -2895,6 +2955,7 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
2895
2955
|
} | undefined;
|
|
2896
2956
|
response_format?: unknown;
|
|
2897
2957
|
};
|
|
2958
|
+
source?: "suggestion" | undefined;
|
|
2898
2959
|
agentDispatched?: true | undefined;
|
|
2899
2960
|
platformInitiated?: true | undefined;
|
|
2900
2961
|
} | {
|
|
@@ -2905,6 +2966,7 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
2905
2966
|
type: "prompt.error";
|
|
2906
2967
|
error: string;
|
|
2907
2968
|
code?: "turn-lost" | undefined;
|
|
2969
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
2908
2970
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
2909
2971
|
} | {
|
|
2910
2972
|
streamId: string;
|
|
@@ -3100,6 +3162,8 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
3100
3162
|
surfaceLift: number;
|
|
3101
3163
|
fillLevel: number;
|
|
3102
3164
|
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
3165
|
+
paper?: number | undefined;
|
|
3166
|
+
fillLift?: number | undefined;
|
|
3103
3167
|
};
|
|
3104
3168
|
} | undefined;
|
|
3105
3169
|
font?: string | undefined;
|
|
@@ -3145,6 +3209,8 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
3145
3209
|
ok?: boolean | undefined;
|
|
3146
3210
|
fsId?: string | undefined;
|
|
3147
3211
|
name?: string | undefined;
|
|
3212
|
+
round?: number | undefined;
|
|
3213
|
+
epoch?: number | undefined;
|
|
3148
3214
|
text?: string | undefined;
|
|
3149
3215
|
truncated?: boolean | undefined;
|
|
3150
3216
|
};
|
|
@@ -3168,44 +3234,6 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
3168
3234
|
type: "prompt.notice";
|
|
3169
3235
|
kind: "edits-incomplete";
|
|
3170
3236
|
path?: string | undefined;
|
|
3171
|
-
} | {
|
|
3172
|
-
type: "prompt.research";
|
|
3173
|
-
version: 1;
|
|
3174
|
-
streamId: string;
|
|
3175
|
-
chatId: string;
|
|
3176
|
-
seq: number;
|
|
3177
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3178
|
-
researchId: string;
|
|
3179
|
-
status: "complete" | "failed" | "partial";
|
|
3180
|
-
brief: string;
|
|
3181
|
-
sources: {
|
|
3182
|
-
url: string;
|
|
3183
|
-
finalUrl: string | null;
|
|
3184
|
-
contentType: string | null;
|
|
3185
|
-
httpStatus: number | null;
|
|
3186
|
-
backendFetchable: boolean;
|
|
3187
|
-
fetched: boolean;
|
|
3188
|
-
errorCode?: string | undefined;
|
|
3189
|
-
}[];
|
|
3190
|
-
api: {
|
|
3191
|
-
method: string;
|
|
3192
|
-
path: string;
|
|
3193
|
-
description: string;
|
|
3194
|
-
fields: string[];
|
|
3195
|
-
}[];
|
|
3196
|
-
excerpts: {
|
|
3197
|
-
sourceUrl: string;
|
|
3198
|
-
text: string;
|
|
3199
|
-
locator?: string | undefined;
|
|
3200
|
-
}[];
|
|
3201
|
-
seedRows: {
|
|
3202
|
-
sourceUrl: string;
|
|
3203
|
-
dbName: string;
|
|
3204
|
-
key: string;
|
|
3205
|
-
item: unknown;
|
|
3206
|
-
}[];
|
|
3207
|
-
completedAt: string;
|
|
3208
|
-
errorCode?: string | undefined;
|
|
3209
3237
|
} | {
|
|
3210
3238
|
blockId: string;
|
|
3211
3239
|
streamId: string;
|
|
@@ -3419,6 +3447,44 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3419
3447
|
sections: {
|
|
3420
3448
|
blockSeq: number;
|
|
3421
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
|
+
} | {
|
|
3422
3488
|
streamId: string;
|
|
3423
3489
|
chatId: string;
|
|
3424
3490
|
seq: number;
|
|
@@ -3508,6 +3574,7 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3508
3574
|
} | undefined;
|
|
3509
3575
|
response_format?: unknown;
|
|
3510
3576
|
};
|
|
3577
|
+
source?: "suggestion" | undefined;
|
|
3511
3578
|
agentDispatched?: true | undefined;
|
|
3512
3579
|
platformInitiated?: true | undefined;
|
|
3513
3580
|
} | {
|
|
@@ -3518,6 +3585,7 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3518
3585
|
type: "prompt.error";
|
|
3519
3586
|
error: string;
|
|
3520
3587
|
code?: "turn-lost" | undefined;
|
|
3588
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
3521
3589
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
3522
3590
|
} | {
|
|
3523
3591
|
streamId: string;
|
|
@@ -3713,6 +3781,8 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3713
3781
|
surfaceLift: number;
|
|
3714
3782
|
fillLevel: number;
|
|
3715
3783
|
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
3784
|
+
paper?: number | undefined;
|
|
3785
|
+
fillLift?: number | undefined;
|
|
3716
3786
|
};
|
|
3717
3787
|
} | undefined;
|
|
3718
3788
|
font?: string | undefined;
|
|
@@ -3758,6 +3828,8 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3758
3828
|
ok?: boolean | undefined;
|
|
3759
3829
|
fsId?: string | undefined;
|
|
3760
3830
|
name?: string | undefined;
|
|
3831
|
+
round?: number | undefined;
|
|
3832
|
+
epoch?: number | undefined;
|
|
3761
3833
|
text?: string | undefined;
|
|
3762
3834
|
truncated?: boolean | undefined;
|
|
3763
3835
|
};
|
|
@@ -3781,44 +3853,6 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
3781
3853
|
type: "prompt.notice";
|
|
3782
3854
|
kind: "edits-incomplete";
|
|
3783
3855
|
path?: string | undefined;
|
|
3784
|
-
} | {
|
|
3785
|
-
type: "prompt.research";
|
|
3786
|
-
version: 1;
|
|
3787
|
-
streamId: string;
|
|
3788
|
-
chatId: string;
|
|
3789
|
-
seq: number;
|
|
3790
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3791
|
-
researchId: string;
|
|
3792
|
-
status: "complete" | "failed" | "partial";
|
|
3793
|
-
brief: string;
|
|
3794
|
-
sources: {
|
|
3795
|
-
url: string;
|
|
3796
|
-
finalUrl: string | null;
|
|
3797
|
-
contentType: string | null;
|
|
3798
|
-
httpStatus: number | null;
|
|
3799
|
-
backendFetchable: boolean;
|
|
3800
|
-
fetched: boolean;
|
|
3801
|
-
errorCode?: string | undefined;
|
|
3802
|
-
}[];
|
|
3803
|
-
api: {
|
|
3804
|
-
method: string;
|
|
3805
|
-
path: string;
|
|
3806
|
-
description: string;
|
|
3807
|
-
fields: string[];
|
|
3808
|
-
}[];
|
|
3809
|
-
excerpts: {
|
|
3810
|
-
sourceUrl: string;
|
|
3811
|
-
text: string;
|
|
3812
|
-
locator?: string | undefined;
|
|
3813
|
-
}[];
|
|
3814
|
-
seedRows: {
|
|
3815
|
-
sourceUrl: string;
|
|
3816
|
-
dbName: string;
|
|
3817
|
-
key: string;
|
|
3818
|
-
item: unknown;
|
|
3819
|
-
}[];
|
|
3820
|
-
completedAt: string;
|
|
3821
|
-
errorCode?: string | undefined;
|
|
3822
3856
|
} | {
|
|
3823
3857
|
blockId: string;
|
|
3824
3858
|
streamId: string;
|
|
@@ -4038,6 +4072,44 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4038
4072
|
sections: {
|
|
4039
4073
|
blockSeq: number;
|
|
4040
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
|
+
} | {
|
|
4041
4113
|
streamId: string;
|
|
4042
4114
|
chatId: string;
|
|
4043
4115
|
seq: number;
|
|
@@ -4127,6 +4199,7 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4127
4199
|
} | undefined;
|
|
4128
4200
|
response_format?: unknown;
|
|
4129
4201
|
};
|
|
4202
|
+
source?: "suggestion" | undefined;
|
|
4130
4203
|
agentDispatched?: true | undefined;
|
|
4131
4204
|
platformInitiated?: true | undefined;
|
|
4132
4205
|
} | {
|
|
@@ -4137,6 +4210,7 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4137
4210
|
type: "prompt.error";
|
|
4138
4211
|
error: string;
|
|
4139
4212
|
code?: "turn-lost" | undefined;
|
|
4213
|
+
lostBuildPromptIds?: string[] | undefined;
|
|
4140
4214
|
variant?: "access-wizard" | "discuss" | "upgrade-backend" | "work" | undefined;
|
|
4141
4215
|
} | {
|
|
4142
4216
|
streamId: string;
|
|
@@ -4332,6 +4406,8 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4332
4406
|
surfaceLift: number;
|
|
4333
4407
|
fillLevel: number;
|
|
4334
4408
|
scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
|
|
4409
|
+
paper?: number | undefined;
|
|
4410
|
+
fillLift?: number | undefined;
|
|
4335
4411
|
};
|
|
4336
4412
|
} | undefined;
|
|
4337
4413
|
font?: string | undefined;
|
|
@@ -4377,6 +4453,8 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4377
4453
|
ok?: boolean | undefined;
|
|
4378
4454
|
fsId?: string | undefined;
|
|
4379
4455
|
name?: string | undefined;
|
|
4456
|
+
round?: number | undefined;
|
|
4457
|
+
epoch?: number | undefined;
|
|
4380
4458
|
text?: string | undefined;
|
|
4381
4459
|
truncated?: boolean | undefined;
|
|
4382
4460
|
};
|
|
@@ -4400,44 +4478,6 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
4400
4478
|
type: "prompt.notice";
|
|
4401
4479
|
kind: "edits-incomplete";
|
|
4402
4480
|
path?: string | undefined;
|
|
4403
|
-
} | {
|
|
4404
|
-
type: "prompt.research";
|
|
4405
|
-
version: 1;
|
|
4406
|
-
streamId: string;
|
|
4407
|
-
chatId: string;
|
|
4408
|
-
seq: number;
|
|
4409
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
4410
|
-
researchId: string;
|
|
4411
|
-
status: "complete" | "failed" | "partial";
|
|
4412
|
-
brief: string;
|
|
4413
|
-
sources: {
|
|
4414
|
-
url: string;
|
|
4415
|
-
finalUrl: string | null;
|
|
4416
|
-
contentType: string | null;
|
|
4417
|
-
httpStatus: number | null;
|
|
4418
|
-
backendFetchable: boolean;
|
|
4419
|
-
fetched: boolean;
|
|
4420
|
-
errorCode?: string | undefined;
|
|
4421
|
-
}[];
|
|
4422
|
-
api: {
|
|
4423
|
-
method: string;
|
|
4424
|
-
path: string;
|
|
4425
|
-
description: string;
|
|
4426
|
-
fields: string[];
|
|
4427
|
-
}[];
|
|
4428
|
-
excerpts: {
|
|
4429
|
-
sourceUrl: string;
|
|
4430
|
-
text: string;
|
|
4431
|
-
locator?: string | undefined;
|
|
4432
|
-
}[];
|
|
4433
|
-
seedRows: {
|
|
4434
|
-
sourceUrl: string;
|
|
4435
|
-
dbName: string;
|
|
4436
|
-
key: string;
|
|
4437
|
-
item: unknown;
|
|
4438
|
-
}[];
|
|
4439
|
-
completedAt: string;
|
|
4440
|
-
errorCode?: string | undefined;
|
|
4441
4481
|
} | {
|
|
4442
4482
|
blockId: string;
|
|
4443
4483
|
streamId: string;
|