@meistrari/chat-nuxt 4.13.1-rc.0 → 4.14.0-rc.0

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
3
  "configKey": "chatNuxt",
4
- "version": "4.13.1-rc.0",
4
+ "version": "4.14.0-rc.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -4,8 +4,8 @@ type __VLS_Props = {
4
4
  emptySearchMessage?: string;
5
5
  };
6
6
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
- emptyMessage: string;
8
7
  searchPlaceholder: string;
8
+ emptyMessage: string;
9
9
  emptySearchMessage: string;
10
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
@@ -4,8 +4,8 @@ type __VLS_Props = {
4
4
  emptySearchMessage?: string;
5
5
  };
6
6
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
- emptyMessage: string;
8
7
  searchPlaceholder: string;
8
+ emptyMessage: string;
9
9
  emptySearchMessage: string;
10
10
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
@@ -15,13 +15,13 @@ type __VLS_Slots = {} & {
15
15
  };
16
16
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
17
  close: () => any;
18
- save: () => any;
19
18
  back: () => any;
19
+ save: () => any;
20
20
  selectTab: (value: string) => any;
21
21
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
22
  onClose?: (() => any) | undefined;
23
- onSave?: (() => any) | undefined;
24
23
  onBack?: (() => any) | undefined;
24
+ onSave?: (() => any) | undefined;
25
25
  onSelectTab?: ((value: string) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -15,13 +15,13 @@ type __VLS_Slots = {} & {
15
15
  };
16
16
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
17
  close: () => any;
18
- save: () => any;
19
18
  back: () => any;
19
+ save: () => any;
20
20
  selectTab: (value: string) => any;
21
21
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
22
  onClose?: (() => any) | undefined;
23
- onSave?: (() => any) | undefined;
24
23
  onBack?: (() => any) | undefined;
24
+ onSave?: (() => any) | undefined;
25
25
  onSelectTab?: ((value: string) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -3,12 +3,12 @@ type __VLS_Props = {
3
3
  };
4
4
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
5
  close: () => any;
6
- dismiss: () => any;
7
6
  newConversation: () => any;
7
+ dismiss: () => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onClose?: (() => any) | undefined;
10
- onDismiss?: (() => any) | undefined;
11
10
  onNewConversation?: (() => any) | undefined;
11
+ onDismiss?: (() => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  export default _default;
@@ -3,12 +3,12 @@ type __VLS_Props = {
3
3
  };
4
4
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
5
  close: () => any;
6
- dismiss: () => any;
7
6
  newConversation: () => any;
7
+ dismiss: () => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onClose?: (() => any) | undefined;
10
- onDismiss?: (() => any) | undefined;
11
10
  onNewConversation?: (() => any) | undefined;
11
+ onDismiss?: (() => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  export default _default;
@@ -66,16 +66,16 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
66
66
  } & {
67
67
  delete: () => any;
68
68
  cancel: () => any;
69
- send: (content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any;
70
69
  rename: () => any;
71
70
  duplicate: () => any;
72
71
  export: () => any;
73
72
  copyLink: () => any;
74
73
  debug: () => any;
75
74
  selectConversation: (id: string) => any;
75
+ send: (content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any;
76
+ settings: () => any;
76
77
  newConversation: (groupId?: string | null | undefined) => any;
77
78
  selectExecutionProfile: (profile: ChatExecutionProfile) => any;
78
- settings: () => any;
79
79
  tabChange: (tab: TopbarTab) => any;
80
80
  switchWorkspace: () => any;
81
81
  signout: () => any;
@@ -88,18 +88,18 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
88
88
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
89
89
  onDelete?: (() => any) | undefined;
90
90
  onCancel?: (() => any) | undefined;
91
- onSend?: ((content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any) | undefined;
92
91
  onRename?: (() => any) | undefined;
93
92
  onDuplicate?: (() => any) | undefined;
94
93
  onExport?: (() => any) | undefined;
95
94
  onCopyLink?: (() => any) | undefined;
96
95
  onDebug?: (() => any) | undefined;
97
96
  onSelectConversation?: ((id: string) => any) | undefined;
97
+ onSend?: ((content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any) | undefined;
98
+ onSettings?: (() => any) | undefined;
98
99
  onNewConversation?: ((groupId?: string | null | undefined) => any) | undefined;
99
100
  onSelectExecutionProfile?: ((profile: ChatExecutionProfile) => any) | undefined;
100
101
  "onUpdate:selectedModel"?: ((value: string | null) => any) | undefined;
101
102
  "onUpdate:selectedReasoningEffort"?: ((value: any) => any) | undefined;
102
- onSettings?: (() => any) | undefined;
103
103
  onTabChange?: ((tab: TopbarTab) => any) | undefined;
104
104
  onSwitchWorkspace?: (() => any) | undefined;
105
105
  onSignout?: (() => any) | undefined;
@@ -66,16 +66,16 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
66
66
  } & {
67
67
  delete: () => any;
68
68
  cancel: () => any;
69
- send: (content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any;
70
69
  rename: () => any;
71
70
  duplicate: () => any;
72
71
  export: () => any;
73
72
  copyLink: () => any;
74
73
  debug: () => any;
75
74
  selectConversation: (id: string) => any;
75
+ send: (content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any;
76
+ settings: () => any;
76
77
  newConversation: (groupId?: string | null | undefined) => any;
77
78
  selectExecutionProfile: (profile: ChatExecutionProfile) => any;
78
- settings: () => any;
79
79
  tabChange: (tab: TopbarTab) => any;
80
80
  switchWorkspace: () => any;
81
81
  signout: () => any;
@@ -88,18 +88,18 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
88
88
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
89
89
  onDelete?: (() => any) | undefined;
90
90
  onCancel?: (() => any) | undefined;
91
- onSend?: ((content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any) | undefined;
92
91
  onRename?: (() => any) | undefined;
93
92
  onDuplicate?: (() => any) | undefined;
94
93
  onExport?: (() => any) | undefined;
95
94
  onCopyLink?: (() => any) | undefined;
96
95
  onDebug?: (() => any) | undefined;
97
96
  onSelectConversation?: ((id: string) => any) | undefined;
97
+ onSend?: ((content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any) | undefined;
98
+ onSettings?: (() => any) | undefined;
98
99
  onNewConversation?: ((groupId?: string | null | undefined) => any) | undefined;
99
100
  onSelectExecutionProfile?: ((profile: ChatExecutionProfile) => any) | undefined;
100
101
  "onUpdate:selectedModel"?: ((value: string | null) => any) | undefined;
101
102
  "onUpdate:selectedReasoningEffort"?: ((value: any) => any) | undefined;
102
- onSettings?: (() => any) | undefined;
103
103
  onTabChange?: ((tab: TopbarTab) => any) | undefined;
104
104
  onSwitchWorkspace?: (() => any) | undefined;
105
105
  onSignout?: (() => any) | undefined;
@@ -33,12 +33,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
33
33
  }) => void;
34
34
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
35
35
  retry: (messageId: string) => any;
36
- openConversation: (conversationId: string) => any;
37
36
  fork: (messageId: string) => any;
37
+ openConversation: (conversationId: string) => any;
38
38
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
39
39
  onRetry?: ((messageId: string) => any) | undefined;
40
- onOpenConversation?: ((conversationId: string) => any) | undefined;
41
40
  onFork?: ((messageId: string) => any) | undefined;
41
+ onOpenConversation?: ((conversationId: string) => any) | undefined;
42
42
  }>, {
43
43
  showTtft: boolean;
44
44
  showAiMistakesDisclaimer: boolean;
@@ -33,12 +33,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
33
33
  }) => void;
34
34
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
35
35
  retry: (messageId: string) => any;
36
- openConversation: (conversationId: string) => any;
37
36
  fork: (messageId: string) => any;
37
+ openConversation: (conversationId: string) => any;
38
38
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
39
39
  onRetry?: ((messageId: string) => any) | undefined;
40
- onOpenConversation?: ((conversationId: string) => any) | undefined;
41
40
  onFork?: ((messageId: string) => any) | undefined;
41
+ onOpenConversation?: ((conversationId: string) => any) | undefined;
42
42
  }>, {
43
43
  showTtft: boolean;
44
44
  showAiMistakesDisclaimer: boolean;
@@ -9,9 +9,9 @@ type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ flush: boolean;
12
13
  tone: "mono" | "prose" | "error";
13
14
  limit: "input" | "output" | "none";
14
- flush: boolean;
15
15
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
@@ -9,9 +9,9 @@ type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ flush: boolean;
12
13
  tone: "mono" | "prose" | "error";
13
14
  limit: "input" | "output" | "none";
14
- flush: boolean;
15
15
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
@@ -161,6 +161,8 @@ export declare const CHAT_V3_THREAD_PAGE: {
161
161
  readonly default: 30;
162
162
  readonly max: 100;
163
163
  };
164
+ /** The longest text a thread list searches its titles for. */
165
+ export declare const CHAT_V3_THREAD_SEARCH_CHARS = 200;
164
166
  /** The effort a thread can choose, as agent-api takes it in a message's settings. */
165
167
  export declare const chatV3ReasoningEffortSchema: z.ZodEnum<{
166
168
  low: "low";
@@ -389,6 +391,7 @@ export declare const chatV3ThreadListQuerySchema: z.ZodObject<{
389
391
  me: "me";
390
392
  }>>;
391
393
  folderId: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"none">, z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>]>>;
394
+ q: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
392
395
  before: z.ZodOptional<z.ZodString>;
393
396
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
394
397
  }, z.core.$strict>;
@@ -91,6 +91,8 @@ export const chatV3ConfigurationSchema = z.object({
91
91
  export const CHAT_V3_TITLE_CHARS = 200;
92
92
  export const CHAT_V3_CREATION_KEY_CHARS = 128;
93
93
  export const CHAT_V3_THREAD_PAGE = { default: 30, max: 100 };
94
+ /** The longest text a thread list searches its titles for. */
95
+ export const CHAT_V3_THREAD_SEARCH_CHARS = 200;
94
96
  /**
95
97
  * The agent's id in agent-api, the only one the chat uses. Lowercased, as agent-api and Postgres
96
98
  * write uuids, so the same agent always compares equal.
@@ -225,6 +227,11 @@ export const chatV3ThreadListQuerySchema = z.object({
225
227
  creator: chatV3ThreadCreatorSchema.optional(),
226
228
  /** Only the threads of this folder, or with `none` only those outside every folder. */
227
229
  folderId: z.union([z.literal(CHAT_V3_NO_FOLDER), folderIdSchema]).optional(),
230
+ /**
231
+ * Only the threads whose title contains this text, ignoring case (not accents): never what
232
+ * their messages say. Trimmed; blank is no search.
233
+ */
234
+ q: z.string().trim().max(CHAT_V3_THREAD_SEARCH_CHARS).optional().transform(value => value || undefined),
228
235
  /** Exclusive, opaque cursor: the `nextCursor` of the previous page. */
229
236
  before: z.string().min(1).max(200).optional(),
230
237
  limit: z.coerce.number().int().min(1).max(CHAT_V3_THREAD_PAGE.max).default(CHAT_V3_THREAD_PAGE.default),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
- "version": "4.13.1-rc.0",
3
+ "version": "4.14.0-rc.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {