@cubos/agent-sdk 0.0.1153286 → 0.0.1154105
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/admin/conversations.d.ts +20 -6
- package/dist/admin/users.d.ts +8 -0
- package/dist/client.d.ts +5 -0
- package/dist/generated/schema.d.ts +149 -9
- package/dist/index.js +8 -1
- package/dist/index.js.map +5 -5
- package/dist/mapping.d.ts +1 -0
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/mapping.d.ts
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface Conversation {
|
|
|
9
9
|
titleIsGenerated: boolean;
|
|
10
10
|
/** Slug of the agent answering, or null for a conversation opened without one. */
|
|
11
11
|
agentSlug: string | null;
|
|
12
|
+
/** Free-form labels, as a set: trimmed, without duplicates, sorted. */
|
|
13
|
+
tags: string[];
|
|
12
14
|
/** Sorts the chat list; bumped by any activity, including the agent's own. */
|
|
13
15
|
lastActivityAt: string;
|
|
14
16
|
archived: boolean;
|
|
@@ -251,6 +253,8 @@ export interface CreateConversationOptions {
|
|
|
251
253
|
agentSlug?: string;
|
|
252
254
|
title?: string;
|
|
253
255
|
metadata?: Record<string, unknown>;
|
|
256
|
+
/** Labels for the new conversation, normalized like `setConversationTags`. */
|
|
257
|
+
tags?: string[];
|
|
254
258
|
/** Component libraries to enable on the new conversation in the same
|
|
255
259
|
* round-trip. Equivalent to calling `setComponentLibraries` right after. */
|
|
256
260
|
componentLibraries?: string[];
|