@vibes.diy/api-types 14.3.77 → 14.3.78
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-chat.d.ts +28 -0
- package/agent-chat.js +23 -0
- package/agent-chat.js.map +1 -0
- package/agent-evidence-line.js +3 -0
- package/agent-evidence-line.js.map +1 -1
- package/agent-tools.d.ts +0 -21
- package/agent-tools.js +0 -9
- package/agent-tools.js.map +1 -1
- package/app.d.ts +126 -93
- package/app.js +7 -1
- package/app.js.map +1 -1
- package/cf-env.d.ts +1 -0
- package/chat-chips.d.ts +9 -1
- package/chat-chips.js +69 -13
- package/chat-chips.js.map +1 -1
- package/chat.d.ts +244 -206
- package/chat.js +6 -1
- package/chat.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/index.js.map +1 -1
- package/invite.d.ts +109 -152
- package/invite.js +1 -14
- package/invite.js.map +1 -1
- package/offered-options.d.ts +27 -0
- package/offered-options.js +73 -0
- package/offered-options.js.map +1 -0
- package/package.json +4 -4
- package/prompt.d.ts +22 -5
- package/prompt.js +5 -2
- package/prompt.js.map +1 -1
- package/settings.d.ts +0 -42
- package/types.d.ts +14 -0
- package/types.js +7 -0
- package/types.js.map +1 -1
- package/vibes-diy-api.d.ts +1 -1
package/chat.d.ts
CHANGED
|
@@ -355,7 +355,7 @@ export declare const reqCreationPromptChatSection: import("arktype/internal/vari
|
|
|
355
355
|
previous?: "off" | "on" | undefined;
|
|
356
356
|
compaction?: "off" | "on" | undefined;
|
|
357
357
|
} | undefined;
|
|
358
|
-
source?: "suggestion" | undefined;
|
|
358
|
+
source?: "gold" | "suggestion" | undefined;
|
|
359
359
|
directBuild?: boolean | undefined;
|
|
360
360
|
agentDispatched?: boolean | undefined;
|
|
361
361
|
agentWake?: boolean | undefined;
|
|
@@ -527,7 +527,7 @@ export declare const reqCreationPromptChatSection: import("arktype/internal/vari
|
|
|
527
527
|
previous?: "off" | "on" | undefined;
|
|
528
528
|
compaction?: "off" | "on" | undefined;
|
|
529
529
|
} | undefined;
|
|
530
|
-
source?: "suggestion" | undefined;
|
|
530
|
+
source?: "gold" | "suggestion" | undefined;
|
|
531
531
|
directBuild?: boolean | undefined;
|
|
532
532
|
agentDispatched?: boolean | undefined;
|
|
533
533
|
agentWake?: boolean | undefined;
|
|
@@ -1257,7 +1257,7 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
|
|
|
1257
1257
|
previous?: "off" | "on" | undefined;
|
|
1258
1258
|
compaction?: "off" | "on" | undefined;
|
|
1259
1259
|
} | undefined;
|
|
1260
|
-
source?: "suggestion" | undefined;
|
|
1260
|
+
source?: "gold" | "suggestion" | undefined;
|
|
1261
1261
|
directBuild?: boolean | undefined;
|
|
1262
1262
|
agentDispatched?: boolean | undefined;
|
|
1263
1263
|
agentWake?: boolean | undefined;
|
|
@@ -1429,7 +1429,7 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
|
|
|
1429
1429
|
previous?: "off" | "on" | undefined;
|
|
1430
1430
|
compaction?: "off" | "on" | undefined;
|
|
1431
1431
|
} | undefined;
|
|
1432
|
-
source?: "suggestion" | undefined;
|
|
1432
|
+
source?: "gold" | "suggestion" | undefined;
|
|
1433
1433
|
directBuild?: boolean | undefined;
|
|
1434
1434
|
agentDispatched?: boolean | undefined;
|
|
1435
1435
|
agentWake?: boolean | undefined;
|
|
@@ -2038,7 +2038,7 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
|
|
|
2038
2038
|
previous?: "off" | "on" | undefined;
|
|
2039
2039
|
compaction?: "off" | "on" | undefined;
|
|
2040
2040
|
} | undefined;
|
|
2041
|
-
source?: "suggestion" | undefined;
|
|
2041
|
+
source?: "gold" | "suggestion" | undefined;
|
|
2042
2042
|
directBuild?: boolean | undefined;
|
|
2043
2043
|
agentDispatched?: boolean | undefined;
|
|
2044
2044
|
agentWake?: boolean | undefined;
|
|
@@ -2210,7 +2210,7 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
|
|
|
2210
2210
|
previous?: "off" | "on" | undefined;
|
|
2211
2211
|
compaction?: "off" | "on" | undefined;
|
|
2212
2212
|
} | undefined;
|
|
2213
|
-
source?: "suggestion" | undefined;
|
|
2213
|
+
source?: "gold" | "suggestion" | undefined;
|
|
2214
2214
|
directBuild?: boolean | undefined;
|
|
2215
2215
|
agentDispatched?: boolean | undefined;
|
|
2216
2216
|
agentWake?: boolean | undefined;
|
|
@@ -2460,6 +2460,44 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
2460
2460
|
};
|
|
2461
2461
|
type: "block.toplevel.end";
|
|
2462
2462
|
sectionId: string;
|
|
2463
|
+
} | {
|
|
2464
|
+
type: "prompt.research";
|
|
2465
|
+
version: 1;
|
|
2466
|
+
streamId: string;
|
|
2467
|
+
chatId: string;
|
|
2468
|
+
seq: number;
|
|
2469
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2470
|
+
researchId: string;
|
|
2471
|
+
status: "complete" | "failed" | "partial";
|
|
2472
|
+
brief: string;
|
|
2473
|
+
sources: {
|
|
2474
|
+
url: string;
|
|
2475
|
+
finalUrl: string | null;
|
|
2476
|
+
contentType: string | null;
|
|
2477
|
+
httpStatus: number | null;
|
|
2478
|
+
backendFetchable: boolean;
|
|
2479
|
+
fetched: boolean;
|
|
2480
|
+
errorCode?: string | undefined;
|
|
2481
|
+
}[];
|
|
2482
|
+
api: {
|
|
2483
|
+
method: string;
|
|
2484
|
+
path: string;
|
|
2485
|
+
description: string;
|
|
2486
|
+
fields: string[];
|
|
2487
|
+
}[];
|
|
2488
|
+
excerpts: {
|
|
2489
|
+
sourceUrl: string;
|
|
2490
|
+
text: string;
|
|
2491
|
+
locator?: string | undefined;
|
|
2492
|
+
}[];
|
|
2493
|
+
seedRows: {
|
|
2494
|
+
sourceUrl: string;
|
|
2495
|
+
dbName: string;
|
|
2496
|
+
key: string;
|
|
2497
|
+
item: unknown;
|
|
2498
|
+
}[];
|
|
2499
|
+
completedAt: string;
|
|
2500
|
+
errorCode?: string | undefined;
|
|
2463
2501
|
} | {
|
|
2464
2502
|
streamId: string;
|
|
2465
2503
|
chatId: string;
|
|
@@ -2557,12 +2595,13 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
2557
2595
|
enabled?: boolean | undefined;
|
|
2558
2596
|
} | undefined;
|
|
2559
2597
|
};
|
|
2560
|
-
source?: "suggestion" | undefined;
|
|
2598
|
+
source?: "gold" | "suggestion" | undefined;
|
|
2561
2599
|
agentDispatched?: true | undefined;
|
|
2562
2600
|
platformInitiated?: true | undefined;
|
|
2563
2601
|
firstDraft?: true | undefined;
|
|
2564
2602
|
clientMessageId?: string | undefined;
|
|
2565
2603
|
origin?: "design-repair" | undefined;
|
|
2604
|
+
agentCommit?: true | undefined;
|
|
2566
2605
|
} | {
|
|
2567
2606
|
streamId: string;
|
|
2568
2607
|
chatId: string;
|
|
@@ -2817,7 +2856,12 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
2817
2856
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2818
2857
|
type: "prompt.agent-evidence";
|
|
2819
2858
|
evidence: {
|
|
2820
|
-
kind: "active" | "call" | "dispatch" | "idle" | "receipt" | "result";
|
|
2859
|
+
kind: "active" | "call" | "dispatch" | "idle" | "options" | "receipt" | "result";
|
|
2860
|
+
options?: {
|
|
2861
|
+
label: string;
|
|
2862
|
+
gold?: boolean | undefined;
|
|
2863
|
+
kind?: "access" | "connect" | "edit" | "publish" | "seed" | undefined;
|
|
2864
|
+
}[] | undefined;
|
|
2821
2865
|
sessionId?: string | undefined;
|
|
2822
2866
|
callId?: string | undefined;
|
|
2823
2867
|
handleId?: string | undefined;
|
|
@@ -2855,44 +2899,6 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
|
|
|
2855
2899
|
type: "prompt.notice";
|
|
2856
2900
|
kind: "edits-incomplete";
|
|
2857
2901
|
path?: string | undefined;
|
|
2858
|
-
} | {
|
|
2859
|
-
type: "prompt.research";
|
|
2860
|
-
version: 1;
|
|
2861
|
-
streamId: string;
|
|
2862
|
-
chatId: string;
|
|
2863
|
-
seq: number;
|
|
2864
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
2865
|
-
researchId: string;
|
|
2866
|
-
status: "complete" | "failed" | "partial";
|
|
2867
|
-
brief: string;
|
|
2868
|
-
sources: {
|
|
2869
|
-
url: string;
|
|
2870
|
-
finalUrl: string | null;
|
|
2871
|
-
contentType: string | null;
|
|
2872
|
-
httpStatus: number | null;
|
|
2873
|
-
backendFetchable: boolean;
|
|
2874
|
-
fetched: boolean;
|
|
2875
|
-
errorCode?: string | undefined;
|
|
2876
|
-
}[];
|
|
2877
|
-
api: {
|
|
2878
|
-
method: string;
|
|
2879
|
-
path: string;
|
|
2880
|
-
description: string;
|
|
2881
|
-
fields: string[];
|
|
2882
|
-
}[];
|
|
2883
|
-
excerpts: {
|
|
2884
|
-
sourceUrl: string;
|
|
2885
|
-
text: string;
|
|
2886
|
-
locator?: string | undefined;
|
|
2887
|
-
}[];
|
|
2888
|
-
seedRows: {
|
|
2889
|
-
sourceUrl: string;
|
|
2890
|
-
dbName: string;
|
|
2891
|
-
key: string;
|
|
2892
|
-
item: unknown;
|
|
2893
|
-
}[];
|
|
2894
|
-
completedAt: string;
|
|
2895
|
-
errorCode?: string | undefined;
|
|
2896
2902
|
}, {}>;
|
|
2897
2903
|
export type PromptAndBlockMsgs = typeof PromptAndBlockMsgs.infer;
|
|
2898
2904
|
export declare const sectionEvent: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
@@ -3116,6 +3122,44 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
3116
3122
|
};
|
|
3117
3123
|
type: "block.toplevel.end";
|
|
3118
3124
|
sectionId: string;
|
|
3125
|
+
} | {
|
|
3126
|
+
type: "prompt.research";
|
|
3127
|
+
version: 1;
|
|
3128
|
+
streamId: string;
|
|
3129
|
+
chatId: string;
|
|
3130
|
+
seq: number;
|
|
3131
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3132
|
+
researchId: string;
|
|
3133
|
+
status: "complete" | "failed" | "partial";
|
|
3134
|
+
brief: string;
|
|
3135
|
+
sources: {
|
|
3136
|
+
url: string;
|
|
3137
|
+
finalUrl: string | null;
|
|
3138
|
+
contentType: string | null;
|
|
3139
|
+
httpStatus: number | null;
|
|
3140
|
+
backendFetchable: boolean;
|
|
3141
|
+
fetched: boolean;
|
|
3142
|
+
errorCode?: string | undefined;
|
|
3143
|
+
}[];
|
|
3144
|
+
api: {
|
|
3145
|
+
method: string;
|
|
3146
|
+
path: string;
|
|
3147
|
+
description: string;
|
|
3148
|
+
fields: string[];
|
|
3149
|
+
}[];
|
|
3150
|
+
excerpts: {
|
|
3151
|
+
sourceUrl: string;
|
|
3152
|
+
text: string;
|
|
3153
|
+
locator?: string | undefined;
|
|
3154
|
+
}[];
|
|
3155
|
+
seedRows: {
|
|
3156
|
+
sourceUrl: string;
|
|
3157
|
+
dbName: string;
|
|
3158
|
+
key: string;
|
|
3159
|
+
item: unknown;
|
|
3160
|
+
}[];
|
|
3161
|
+
completedAt: string;
|
|
3162
|
+
errorCode?: string | undefined;
|
|
3119
3163
|
} | {
|
|
3120
3164
|
streamId: string;
|
|
3121
3165
|
chatId: string;
|
|
@@ -3213,12 +3257,13 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
3213
3257
|
enabled?: boolean | undefined;
|
|
3214
3258
|
} | undefined;
|
|
3215
3259
|
};
|
|
3216
|
-
source?: "suggestion" | undefined;
|
|
3260
|
+
source?: "gold" | "suggestion" | undefined;
|
|
3217
3261
|
agentDispatched?: true | undefined;
|
|
3218
3262
|
platformInitiated?: true | undefined;
|
|
3219
3263
|
firstDraft?: true | undefined;
|
|
3220
3264
|
clientMessageId?: string | undefined;
|
|
3221
3265
|
origin?: "design-repair" | undefined;
|
|
3266
|
+
agentCommit?: true | undefined;
|
|
3222
3267
|
} | {
|
|
3223
3268
|
streamId: string;
|
|
3224
3269
|
chatId: string;
|
|
@@ -3473,7 +3518,12 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
3473
3518
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3474
3519
|
type: "prompt.agent-evidence";
|
|
3475
3520
|
evidence: {
|
|
3476
|
-
kind: "active" | "call" | "dispatch" | "idle" | "receipt" | "result";
|
|
3521
|
+
kind: "active" | "call" | "dispatch" | "idle" | "options" | "receipt" | "result";
|
|
3522
|
+
options?: {
|
|
3523
|
+
label: string;
|
|
3524
|
+
gold?: boolean | undefined;
|
|
3525
|
+
kind?: "access" | "connect" | "edit" | "publish" | "seed" | undefined;
|
|
3526
|
+
}[] | undefined;
|
|
3477
3527
|
sessionId?: string | undefined;
|
|
3478
3528
|
callId?: string | undefined;
|
|
3479
3529
|
handleId?: string | undefined;
|
|
@@ -3511,44 +3561,6 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
|
|
|
3511
3561
|
type: "prompt.notice";
|
|
3512
3562
|
kind: "edits-incomplete";
|
|
3513
3563
|
path?: string | undefined;
|
|
3514
|
-
} | {
|
|
3515
|
-
type: "prompt.research";
|
|
3516
|
-
version: 1;
|
|
3517
|
-
streamId: string;
|
|
3518
|
-
chatId: string;
|
|
3519
|
-
seq: number;
|
|
3520
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3521
|
-
researchId: string;
|
|
3522
|
-
status: "complete" | "failed" | "partial";
|
|
3523
|
-
brief: string;
|
|
3524
|
-
sources: {
|
|
3525
|
-
url: string;
|
|
3526
|
-
finalUrl: string | null;
|
|
3527
|
-
contentType: string | null;
|
|
3528
|
-
httpStatus: number | null;
|
|
3529
|
-
backendFetchable: boolean;
|
|
3530
|
-
fetched: boolean;
|
|
3531
|
-
errorCode?: string | undefined;
|
|
3532
|
-
}[];
|
|
3533
|
-
api: {
|
|
3534
|
-
method: string;
|
|
3535
|
-
path: string;
|
|
3536
|
-
description: string;
|
|
3537
|
-
fields: string[];
|
|
3538
|
-
}[];
|
|
3539
|
-
excerpts: {
|
|
3540
|
-
sourceUrl: string;
|
|
3541
|
-
text: string;
|
|
3542
|
-
locator?: string | undefined;
|
|
3543
|
-
}[];
|
|
3544
|
-
seedRows: {
|
|
3545
|
-
sourceUrl: string;
|
|
3546
|
-
dbName: string;
|
|
3547
|
-
key: string;
|
|
3548
|
-
item: unknown;
|
|
3549
|
-
}[];
|
|
3550
|
-
completedAt: string;
|
|
3551
|
-
errorCode?: string | undefined;
|
|
3552
3564
|
})[];
|
|
3553
3565
|
initiator?: "platform" | "seed" | undefined;
|
|
3554
3566
|
}, {}>;
|
|
@@ -3793,6 +3805,44 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
3793
3805
|
};
|
|
3794
3806
|
type: "block.toplevel.end";
|
|
3795
3807
|
sectionId: string;
|
|
3808
|
+
} | {
|
|
3809
|
+
type: "prompt.research";
|
|
3810
|
+
version: 1;
|
|
3811
|
+
streamId: string;
|
|
3812
|
+
chatId: string;
|
|
3813
|
+
seq: number;
|
|
3814
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
3815
|
+
researchId: string;
|
|
3816
|
+
status: "complete" | "failed" | "partial";
|
|
3817
|
+
brief: string;
|
|
3818
|
+
sources: {
|
|
3819
|
+
url: string;
|
|
3820
|
+
finalUrl: string | null;
|
|
3821
|
+
contentType: string | null;
|
|
3822
|
+
httpStatus: number | null;
|
|
3823
|
+
backendFetchable: boolean;
|
|
3824
|
+
fetched: boolean;
|
|
3825
|
+
errorCode?: string | undefined;
|
|
3826
|
+
}[];
|
|
3827
|
+
api: {
|
|
3828
|
+
method: string;
|
|
3829
|
+
path: string;
|
|
3830
|
+
description: string;
|
|
3831
|
+
fields: string[];
|
|
3832
|
+
}[];
|
|
3833
|
+
excerpts: {
|
|
3834
|
+
sourceUrl: string;
|
|
3835
|
+
text: string;
|
|
3836
|
+
locator?: string | undefined;
|
|
3837
|
+
}[];
|
|
3838
|
+
seedRows: {
|
|
3839
|
+
sourceUrl: string;
|
|
3840
|
+
dbName: string;
|
|
3841
|
+
key: string;
|
|
3842
|
+
item: unknown;
|
|
3843
|
+
}[];
|
|
3844
|
+
completedAt: string;
|
|
3845
|
+
errorCode?: string | undefined;
|
|
3796
3846
|
} | {
|
|
3797
3847
|
streamId: string;
|
|
3798
3848
|
chatId: string;
|
|
@@ -3890,12 +3940,13 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
3890
3940
|
enabled?: boolean | undefined;
|
|
3891
3941
|
} | undefined;
|
|
3892
3942
|
};
|
|
3893
|
-
source?: "suggestion" | undefined;
|
|
3943
|
+
source?: "gold" | "suggestion" | undefined;
|
|
3894
3944
|
agentDispatched?: true | undefined;
|
|
3895
3945
|
platformInitiated?: true | undefined;
|
|
3896
3946
|
firstDraft?: true | undefined;
|
|
3897
3947
|
clientMessageId?: string | undefined;
|
|
3898
3948
|
origin?: "design-repair" | undefined;
|
|
3949
|
+
agentCommit?: true | undefined;
|
|
3899
3950
|
} | {
|
|
3900
3951
|
streamId: string;
|
|
3901
3952
|
chatId: string;
|
|
@@ -4150,7 +4201,12 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
4150
4201
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
4151
4202
|
type: "prompt.agent-evidence";
|
|
4152
4203
|
evidence: {
|
|
4153
|
-
kind: "active" | "call" | "dispatch" | "idle" | "receipt" | "result";
|
|
4204
|
+
kind: "active" | "call" | "dispatch" | "idle" | "options" | "receipt" | "result";
|
|
4205
|
+
options?: {
|
|
4206
|
+
label: string;
|
|
4207
|
+
gold?: boolean | undefined;
|
|
4208
|
+
kind?: "access" | "connect" | "edit" | "publish" | "seed" | undefined;
|
|
4209
|
+
}[] | undefined;
|
|
4154
4210
|
sessionId?: string | undefined;
|
|
4155
4211
|
callId?: string | undefined;
|
|
4156
4212
|
handleId?: string | undefined;
|
|
@@ -4188,44 +4244,6 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
|
|
|
4188
4244
|
type: "prompt.notice";
|
|
4189
4245
|
kind: "edits-incomplete";
|
|
4190
4246
|
path?: string | undefined;
|
|
4191
|
-
} | {
|
|
4192
|
-
type: "prompt.research";
|
|
4193
|
-
version: 1;
|
|
4194
|
-
streamId: string;
|
|
4195
|
-
chatId: string;
|
|
4196
|
-
seq: number;
|
|
4197
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
4198
|
-
researchId: string;
|
|
4199
|
-
status: "complete" | "failed" | "partial";
|
|
4200
|
-
brief: string;
|
|
4201
|
-
sources: {
|
|
4202
|
-
url: string;
|
|
4203
|
-
finalUrl: string | null;
|
|
4204
|
-
contentType: string | null;
|
|
4205
|
-
httpStatus: number | null;
|
|
4206
|
-
backendFetchable: boolean;
|
|
4207
|
-
fetched: boolean;
|
|
4208
|
-
errorCode?: string | undefined;
|
|
4209
|
-
}[];
|
|
4210
|
-
api: {
|
|
4211
|
-
method: string;
|
|
4212
|
-
path: string;
|
|
4213
|
-
description: string;
|
|
4214
|
-
fields: string[];
|
|
4215
|
-
}[];
|
|
4216
|
-
excerpts: {
|
|
4217
|
-
sourceUrl: string;
|
|
4218
|
-
text: string;
|
|
4219
|
-
locator?: string | undefined;
|
|
4220
|
-
}[];
|
|
4221
|
-
seedRows: {
|
|
4222
|
-
sourceUrl: string;
|
|
4223
|
-
dbName: string;
|
|
4224
|
-
key: string;
|
|
4225
|
-
item: unknown;
|
|
4226
|
-
}[];
|
|
4227
|
-
completedAt: string;
|
|
4228
|
-
errorCode?: string | undefined;
|
|
4229
4247
|
})[];
|
|
4230
4248
|
}, {}>;
|
|
4231
4249
|
export type ResChatResponseSection = typeof resChatResponseSection.infer;
|
|
@@ -4473,6 +4491,44 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
4473
4491
|
};
|
|
4474
4492
|
type: "block.toplevel.end";
|
|
4475
4493
|
sectionId: string;
|
|
4494
|
+
} | {
|
|
4495
|
+
type: "prompt.research";
|
|
4496
|
+
version: 1;
|
|
4497
|
+
streamId: string;
|
|
4498
|
+
chatId: string;
|
|
4499
|
+
seq: number;
|
|
4500
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
4501
|
+
researchId: string;
|
|
4502
|
+
status: "complete" | "failed" | "partial";
|
|
4503
|
+
brief: string;
|
|
4504
|
+
sources: {
|
|
4505
|
+
url: string;
|
|
4506
|
+
finalUrl: string | null;
|
|
4507
|
+
contentType: string | null;
|
|
4508
|
+
httpStatus: number | null;
|
|
4509
|
+
backendFetchable: boolean;
|
|
4510
|
+
fetched: boolean;
|
|
4511
|
+
errorCode?: string | undefined;
|
|
4512
|
+
}[];
|
|
4513
|
+
api: {
|
|
4514
|
+
method: string;
|
|
4515
|
+
path: string;
|
|
4516
|
+
description: string;
|
|
4517
|
+
fields: string[];
|
|
4518
|
+
}[];
|
|
4519
|
+
excerpts: {
|
|
4520
|
+
sourceUrl: string;
|
|
4521
|
+
text: string;
|
|
4522
|
+
locator?: string | undefined;
|
|
4523
|
+
}[];
|
|
4524
|
+
seedRows: {
|
|
4525
|
+
sourceUrl: string;
|
|
4526
|
+
dbName: string;
|
|
4527
|
+
key: string;
|
|
4528
|
+
item: unknown;
|
|
4529
|
+
}[];
|
|
4530
|
+
completedAt: string;
|
|
4531
|
+
errorCode?: string | undefined;
|
|
4476
4532
|
} | {
|
|
4477
4533
|
streamId: string;
|
|
4478
4534
|
chatId: string;
|
|
@@ -4570,12 +4626,13 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
4570
4626
|
enabled?: boolean | undefined;
|
|
4571
4627
|
} | undefined;
|
|
4572
4628
|
};
|
|
4573
|
-
source?: "suggestion" | undefined;
|
|
4629
|
+
source?: "gold" | "suggestion" | undefined;
|
|
4574
4630
|
agentDispatched?: true | undefined;
|
|
4575
4631
|
platformInitiated?: true | undefined;
|
|
4576
4632
|
firstDraft?: true | undefined;
|
|
4577
4633
|
clientMessageId?: string | undefined;
|
|
4578
4634
|
origin?: "design-repair" | undefined;
|
|
4635
|
+
agentCommit?: true | undefined;
|
|
4579
4636
|
} | {
|
|
4580
4637
|
streamId: string;
|
|
4581
4638
|
chatId: string;
|
|
@@ -4830,7 +4887,12 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
4830
4887
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
4831
4888
|
type: "prompt.agent-evidence";
|
|
4832
4889
|
evidence: {
|
|
4833
|
-
kind: "active" | "call" | "dispatch" | "idle" | "receipt" | "result";
|
|
4890
|
+
kind: "active" | "call" | "dispatch" | "idle" | "options" | "receipt" | "result";
|
|
4891
|
+
options?: {
|
|
4892
|
+
label: string;
|
|
4893
|
+
gold?: boolean | undefined;
|
|
4894
|
+
kind?: "access" | "connect" | "edit" | "publish" | "seed" | undefined;
|
|
4895
|
+
}[] | undefined;
|
|
4834
4896
|
sessionId?: string | undefined;
|
|
4835
4897
|
callId?: string | undefined;
|
|
4836
4898
|
handleId?: string | undefined;
|
|
@@ -4868,44 +4930,6 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
|
|
|
4868
4930
|
type: "prompt.notice";
|
|
4869
4931
|
kind: "edits-incomplete";
|
|
4870
4932
|
path?: string | undefined;
|
|
4871
|
-
} | {
|
|
4872
|
-
type: "prompt.research";
|
|
4873
|
-
version: 1;
|
|
4874
|
-
streamId: string;
|
|
4875
|
-
chatId: string;
|
|
4876
|
-
seq: number;
|
|
4877
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
4878
|
-
researchId: string;
|
|
4879
|
-
status: "complete" | "failed" | "partial";
|
|
4880
|
-
brief: string;
|
|
4881
|
-
sources: {
|
|
4882
|
-
url: string;
|
|
4883
|
-
finalUrl: string | null;
|
|
4884
|
-
contentType: string | null;
|
|
4885
|
-
httpStatus: number | null;
|
|
4886
|
-
backendFetchable: boolean;
|
|
4887
|
-
fetched: boolean;
|
|
4888
|
-
errorCode?: string | undefined;
|
|
4889
|
-
}[];
|
|
4890
|
-
api: {
|
|
4891
|
-
method: string;
|
|
4892
|
-
path: string;
|
|
4893
|
-
description: string;
|
|
4894
|
-
fields: string[];
|
|
4895
|
-
}[];
|
|
4896
|
-
excerpts: {
|
|
4897
|
-
sourceUrl: string;
|
|
4898
|
-
text: string;
|
|
4899
|
-
locator?: string | undefined;
|
|
4900
|
-
}[];
|
|
4901
|
-
seedRows: {
|
|
4902
|
-
sourceUrl: string;
|
|
4903
|
-
dbName: string;
|
|
4904
|
-
key: string;
|
|
4905
|
-
item: unknown;
|
|
4906
|
-
}[];
|
|
4907
|
-
completedAt: string;
|
|
4908
|
-
errorCode?: string | undefined;
|
|
4909
4933
|
})[];
|
|
4910
4934
|
}[];
|
|
4911
4935
|
usage?: {
|
|
@@ -5165,6 +5189,44 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
5165
5189
|
};
|
|
5166
5190
|
type: "block.toplevel.end";
|
|
5167
5191
|
sectionId: string;
|
|
5192
|
+
} | {
|
|
5193
|
+
type: "prompt.research";
|
|
5194
|
+
version: 1;
|
|
5195
|
+
streamId: string;
|
|
5196
|
+
chatId: string;
|
|
5197
|
+
seq: number;
|
|
5198
|
+
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
5199
|
+
researchId: string;
|
|
5200
|
+
status: "complete" | "failed" | "partial";
|
|
5201
|
+
brief: string;
|
|
5202
|
+
sources: {
|
|
5203
|
+
url: string;
|
|
5204
|
+
finalUrl: string | null;
|
|
5205
|
+
contentType: string | null;
|
|
5206
|
+
httpStatus: number | null;
|
|
5207
|
+
backendFetchable: boolean;
|
|
5208
|
+
fetched: boolean;
|
|
5209
|
+
errorCode?: string | undefined;
|
|
5210
|
+
}[];
|
|
5211
|
+
api: {
|
|
5212
|
+
method: string;
|
|
5213
|
+
path: string;
|
|
5214
|
+
description: string;
|
|
5215
|
+
fields: string[];
|
|
5216
|
+
}[];
|
|
5217
|
+
excerpts: {
|
|
5218
|
+
sourceUrl: string;
|
|
5219
|
+
text: string;
|
|
5220
|
+
locator?: string | undefined;
|
|
5221
|
+
}[];
|
|
5222
|
+
seedRows: {
|
|
5223
|
+
sourceUrl: string;
|
|
5224
|
+
dbName: string;
|
|
5225
|
+
key: string;
|
|
5226
|
+
item: unknown;
|
|
5227
|
+
}[];
|
|
5228
|
+
completedAt: string;
|
|
5229
|
+
errorCode?: string | undefined;
|
|
5168
5230
|
} | {
|
|
5169
5231
|
streamId: string;
|
|
5170
5232
|
chatId: string;
|
|
@@ -5262,12 +5324,13 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
5262
5324
|
enabled?: boolean | undefined;
|
|
5263
5325
|
} | undefined;
|
|
5264
5326
|
};
|
|
5265
|
-
source?: "suggestion" | undefined;
|
|
5327
|
+
source?: "gold" | "suggestion" | undefined;
|
|
5266
5328
|
agentDispatched?: true | undefined;
|
|
5267
5329
|
platformInitiated?: true | undefined;
|
|
5268
5330
|
firstDraft?: true | undefined;
|
|
5269
5331
|
clientMessageId?: string | undefined;
|
|
5270
5332
|
origin?: "design-repair" | undefined;
|
|
5333
|
+
agentCommit?: true | undefined;
|
|
5271
5334
|
} | {
|
|
5272
5335
|
streamId: string;
|
|
5273
5336
|
chatId: string;
|
|
@@ -5522,7 +5585,12 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
5522
5585
|
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
5523
5586
|
type: "prompt.agent-evidence";
|
|
5524
5587
|
evidence: {
|
|
5525
|
-
kind: "active" | "call" | "dispatch" | "idle" | "receipt" | "result";
|
|
5588
|
+
kind: "active" | "call" | "dispatch" | "idle" | "options" | "receipt" | "result";
|
|
5589
|
+
options?: {
|
|
5590
|
+
label: string;
|
|
5591
|
+
gold?: boolean | undefined;
|
|
5592
|
+
kind?: "access" | "connect" | "edit" | "publish" | "seed" | undefined;
|
|
5593
|
+
}[] | undefined;
|
|
5526
5594
|
sessionId?: string | undefined;
|
|
5527
5595
|
callId?: string | undefined;
|
|
5528
5596
|
handleId?: string | undefined;
|
|
@@ -5560,44 +5628,6 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
|
|
|
5560
5628
|
type: "prompt.notice";
|
|
5561
5629
|
kind: "edits-incomplete";
|
|
5562
5630
|
path?: string | undefined;
|
|
5563
|
-
} | {
|
|
5564
|
-
type: "prompt.research";
|
|
5565
|
-
version: 1;
|
|
5566
|
-
streamId: string;
|
|
5567
|
-
chatId: string;
|
|
5568
|
-
seq: number;
|
|
5569
|
-
timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
5570
|
-
researchId: string;
|
|
5571
|
-
status: "complete" | "failed" | "partial";
|
|
5572
|
-
brief: string;
|
|
5573
|
-
sources: {
|
|
5574
|
-
url: string;
|
|
5575
|
-
finalUrl: string | null;
|
|
5576
|
-
contentType: string | null;
|
|
5577
|
-
httpStatus: number | null;
|
|
5578
|
-
backendFetchable: boolean;
|
|
5579
|
-
fetched: boolean;
|
|
5580
|
-
errorCode?: string | undefined;
|
|
5581
|
-
}[];
|
|
5582
|
-
api: {
|
|
5583
|
-
method: string;
|
|
5584
|
-
path: string;
|
|
5585
|
-
description: string;
|
|
5586
|
-
fields: string[];
|
|
5587
|
-
}[];
|
|
5588
|
-
excerpts: {
|
|
5589
|
-
sourceUrl: string;
|
|
5590
|
-
text: string;
|
|
5591
|
-
locator?: string | undefined;
|
|
5592
|
-
}[];
|
|
5593
|
-
seedRows: {
|
|
5594
|
-
sourceUrl: string;
|
|
5595
|
-
dbName: string;
|
|
5596
|
-
key: string;
|
|
5597
|
-
item: unknown;
|
|
5598
|
-
}[];
|
|
5599
|
-
completedAt: string;
|
|
5600
|
-
errorCode?: string | undefined;
|
|
5601
5631
|
})[];
|
|
5602
5632
|
}[];
|
|
5603
5633
|
usage?: {
|
|
@@ -5640,6 +5670,11 @@ export declare const resGetVibeChips: import("arktype/internal/variants/object.t
|
|
|
5640
5670
|
ownerHandle: string;
|
|
5641
5671
|
appSlug: string;
|
|
5642
5672
|
chips: string[];
|
|
5673
|
+
chipItems?: {
|
|
5674
|
+
label: string;
|
|
5675
|
+
gold?: boolean | undefined;
|
|
5676
|
+
kind?: "access" | "connect" | "edit" | "publish" | "seed" | undefined;
|
|
5677
|
+
}[] | undefined;
|
|
5643
5678
|
}, {}>;
|
|
5644
5679
|
export type ResGetVibeChips = typeof resGetVibeChips.infer;
|
|
5645
5680
|
export declare function isResGetVibeChips(obj: unknown): obj is ResGetVibeChips;
|
|
@@ -5696,6 +5731,7 @@ export declare const evtNewFsId: import("arktype/internal/variants/object.ts").O
|
|
|
5696
5731
|
vibeUrl: string;
|
|
5697
5732
|
mode?: "dev" | "production" | undefined;
|
|
5698
5733
|
origin?: "auto" | "explicit" | undefined;
|
|
5734
|
+
wrapperBaseUrl?: string | undefined;
|
|
5699
5735
|
}, {}>;
|
|
5700
5736
|
export type EvtNewFsId = typeof evtNewFsId.infer;
|
|
5701
5737
|
export declare function isEvtNewFsId(obj: unknown): obj is EvtNewFsId;
|
|
@@ -5706,6 +5742,7 @@ export declare const evtRecaptureScreenshot: import("arktype/internal/variants/o
|
|
|
5706
5742
|
fsId: string;
|
|
5707
5743
|
vibeUrl: string;
|
|
5708
5744
|
requestedBy: string;
|
|
5745
|
+
wrapperBaseUrl?: string | undefined;
|
|
5709
5746
|
}, {}>;
|
|
5710
5747
|
export type EvtRecaptureScreenshot = typeof evtRecaptureScreenshot.infer;
|
|
5711
5748
|
export declare function isEvtRecaptureScreenshot(obj: unknown): obj is EvtRecaptureScreenshot;
|
|
@@ -5746,6 +5783,7 @@ export declare const resListModels: import("arktype/internal/variants/object.ts"
|
|
|
5746
5783
|
supports?: ("agent" | "app" | "chat" | "codegen" | "img" | "img-edit" | "runtime" | "subagent")[] | undefined;
|
|
5747
5784
|
imageInput?: boolean | undefined;
|
|
5748
5785
|
}[];
|
|
5786
|
+
agentSessionInstructionVersion?: string | undefined;
|
|
5749
5787
|
}, {}>;
|
|
5750
5788
|
export type ResListModels = typeof resListModels.infer;
|
|
5751
5789
|
export declare function isResListModels(obj: unknown): obj is ResListModels;
|