@vellumai/plugin-api 0.10.7-dev.202607101646.b683a65 → 0.10.7-dev.202607101836.11f2eba
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/index.d.ts +9 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2696,7 +2696,7 @@ declare const ErrorEventSchema: z.ZodObject<{
|
|
|
2696
2696
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
2697
2697
|
}, z.core.$strip>;
|
|
2698
2698
|
|
|
2699
|
-
export declare function extractTextFromStoredMessageContent(raw: string): string;
|
|
2699
|
+
export declare function extractTextFromStoredMessageContent(raw: string | ContentBlock[]): string;
|
|
2700
2700
|
|
|
2701
2701
|
export declare interface FileContent {
|
|
2702
2702
|
type: "file";
|
|
@@ -3961,8 +3961,13 @@ declare interface MessageRow {
|
|
|
3961
3961
|
id: string;
|
|
3962
3962
|
conversationId: string;
|
|
3963
3963
|
role: string;
|
|
3964
|
-
/**
|
|
3965
|
-
|
|
3964
|
+
/**
|
|
3965
|
+
* Typed content blocks, resolved at the row-fetch chokepoint by
|
|
3966
|
+
* `resolveMessageContentBlocks`: inline JSON parses, file-backed
|
|
3967
|
+
* `{ ref }` rows fold their delta file, and legacy plain strings arrive
|
|
3968
|
+
* wrapped in a single text block.
|
|
3969
|
+
*/
|
|
3970
|
+
content: ContentBlock[];
|
|
3966
3971
|
createdAt: number;
|
|
3967
3972
|
metadata: string | null;
|
|
3968
3973
|
clientMessageId: string | null;
|
|
@@ -5428,7 +5433,7 @@ declare interface StopInputContext {
|
|
|
5428
5433
|
* Parse failures fall back to returning the raw input trimmed (the
|
|
5429
5434
|
* legacy-string path).
|
|
5430
5435
|
*/
|
|
5431
|
-
export declare function stringifyMessageContent(stored: string): string;
|
|
5436
|
+
export declare function stringifyMessageContent(stored: string | ContentBlock[]): string;
|
|
5432
5437
|
|
|
5433
5438
|
declare interface SubagentDetailResponse {
|
|
5434
5439
|
type: "subagent_detail_response";
|
package/package.json
CHANGED