@erdoai/types 0.1.9 → 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 +8 -4
- package/dist/index.d.ts +8 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -237,15 +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;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
242
|
+
/** UI content type hint (e.g., 'markdown', 'ui_generation') */
|
|
243
|
+
ui_content_type?: string;
|
|
244
|
+
/** History content type - how content is serialized for LLM context */
|
|
245
|
+
history_content_type?: string;
|
|
245
246
|
content: unknown;
|
|
246
247
|
user_visibility?: string;
|
|
247
248
|
bot_visibility?: string;
|
|
248
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;
|
|
249
253
|
}
|
|
250
254
|
/** A message with its contents from the thread API */
|
|
251
255
|
interface ThreadMessage {
|
package/dist/index.d.ts
CHANGED
|
@@ -237,15 +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;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
242
|
+
/** UI content type hint (e.g., 'markdown', 'ui_generation') */
|
|
243
|
+
ui_content_type?: string;
|
|
244
|
+
/** History content type - how content is serialized for LLM context */
|
|
245
|
+
history_content_type?: string;
|
|
245
246
|
content: unknown;
|
|
246
247
|
user_visibility?: string;
|
|
247
248
|
bot_visibility?: string;
|
|
248
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;
|
|
249
253
|
}
|
|
250
254
|
/** A message with its contents from the thread API */
|
|
251
255
|
interface ThreadMessage {
|