@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/mapping.d.ts CHANGED
@@ -4,6 +4,7 @@ export interface WireConversation {
4
4
  id: string;
5
5
  title: string | null;
6
6
  generated_title: string | null;
7
+ tags: string[];
7
8
  agent: {
8
9
  slug: string;
9
10
  } | null;
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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubos/agent-sdk",
3
- "version": "0.0.1153286",
3
+ "version": "0.0.1154105",
4
4
  "type": "module",
5
5
  "description": "Client for the Cubos Agent conversation API. Runs anywhere fetch does.",
6
6
  "license": "SEE LICENSE IN LICENSE",