@erdoai/types 0.1.10 → 0.1.11
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/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -237,12 +237,19 @@ interface SendMessageParams {
|
|
|
237
237
|
/** A message content item from the thread API */
|
|
238
238
|
interface ThreadMessageContent {
|
|
239
239
|
id: string;
|
|
240
|
+
message_id?: string;
|
|
240
241
|
content_type: string;
|
|
242
|
+
/** UI content type hint (e.g., 'markdown', 'ui_generation') */
|
|
241
243
|
ui_content_type?: string;
|
|
244
|
+
/** History content type - how content is serialized for LLM context */
|
|
245
|
+
history_content_type?: string;
|
|
242
246
|
content: unknown;
|
|
243
247
|
user_visibility?: string;
|
|
244
248
|
bot_visibility?: string;
|
|
245
249
|
created_at?: string;
|
|
250
|
+
updated_at?: string;
|
|
251
|
+
/** The invocation ID that created this content - needed for fetching chart/table data */
|
|
252
|
+
created_by_invocation_id?: string;
|
|
246
253
|
}
|
|
247
254
|
/** A message with its contents from the thread API */
|
|
248
255
|
interface ThreadMessage {
|
package/dist/index.d.ts
CHANGED
|
@@ -237,12 +237,19 @@ interface SendMessageParams {
|
|
|
237
237
|
/** A message content item from the thread API */
|
|
238
238
|
interface ThreadMessageContent {
|
|
239
239
|
id: string;
|
|
240
|
+
message_id?: string;
|
|
240
241
|
content_type: string;
|
|
242
|
+
/** UI content type hint (e.g., 'markdown', 'ui_generation') */
|
|
241
243
|
ui_content_type?: string;
|
|
244
|
+
/** History content type - how content is serialized for LLM context */
|
|
245
|
+
history_content_type?: string;
|
|
242
246
|
content: unknown;
|
|
243
247
|
user_visibility?: string;
|
|
244
248
|
bot_visibility?: string;
|
|
245
249
|
created_at?: string;
|
|
250
|
+
updated_at?: string;
|
|
251
|
+
/** The invocation ID that created this content - needed for fetching chart/table data */
|
|
252
|
+
created_by_invocation_id?: string;
|
|
246
253
|
}
|
|
247
254
|
/** A message with its contents from the thread API */
|
|
248
255
|
interface ThreadMessage {
|