@meistrari/chat-nuxt 4.10.0-rc.8 → 4.10.0-rc.9

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.d.mts CHANGED
@@ -51,13 +51,6 @@ interface ChatNuxtModuleOptions {
51
51
  * to `false`; also settable via `NUXT_CHAT_NUXT_ROUTE_CLAUDE_VIA_GATEWAY`.
52
52
  */
53
53
  routeClaudeViaGateway?: boolean;
54
- /**
55
- * Opt this deployment into generative widgets: the server proxy adds
56
- * `"ui-language": "web"` to the `x-chat-config` header, so chat-api asks the
57
- * agent for OpenUI Lang widget blocks and chat-nuxt renders them. Defaults
58
- * to `false`; also settable via `NUXT_CHAT_NUXT_UI_LANGUAGE`.
59
- */
60
- uiLanguage?: boolean;
61
54
  }
62
55
  declare const _default: any;
63
56
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
3
  "configKey": "chatNuxt",
4
- "version": "4.10.0-rc.8",
4
+ "version": "4.10.0-rc.9",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
package/dist/module.mjs CHANGED
@@ -473,8 +473,7 @@ const module$1 = defineNuxtModule({
473
473
  agentApiV5: options.agentApiV5 ?? existingChatNuxtRuntimeConfig?.agentApiV5 ?? false,
474
474
  // Explicit boolean default keeps the key in runtime config so the
475
475
  // NUXT_CHAT_NUXT_ROUTE_CLAUDE_VIA_GATEWAY env override can apply.
476
- routeClaudeViaGateway: options.routeClaudeViaGateway ?? existingChatNuxtRuntimeConfig?.routeClaudeViaGateway ?? false,
477
- uiLanguage: options.uiLanguage ?? existingChatNuxtRuntimeConfig?.uiLanguage ?? false
476
+ routeClaudeViaGateway: options.routeClaudeViaGateway ?? existingChatNuxtRuntimeConfig?.routeClaudeViaGateway ?? false
478
477
  };
479
478
  if (hostAuthComposablePath && !rc.chatNuxt.authTokenCookie) {
480
479
  console.warn(
@@ -10,12 +10,12 @@ type __VLS_Props = {
10
10
  userImage?: string;
11
11
  };
12
12
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
- close: () => any;
14
13
  select: (id: string) => any;
14
+ close: () => any;
15
15
  newConvo: (groupId?: string | null | undefined) => any;
16
16
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
- onClose?: (() => any) | undefined;
18
17
  onSelect?: ((id: string) => any) | undefined;
18
+ onClose?: (() => any) | undefined;
19
19
  onNewConvo?: ((groupId?: string | null | undefined) => any) | undefined;
20
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const _default: typeof __VLS_export;
@@ -10,12 +10,12 @@ type __VLS_Props = {
10
10
  userImage?: string;
11
11
  };
12
12
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
- close: () => any;
14
13
  select: (id: string) => any;
14
+ close: () => any;
15
15
  newConvo: (groupId?: string | null | undefined) => any;
16
16
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
- onClose?: (() => any) | undefined;
18
17
  onSelect?: ((id: string) => any) | undefined;
18
+ onClose?: (() => any) | undefined;
19
19
  onNewConvo?: ((groupId?: string | null | undefined) => any) | undefined;
20
20
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const _default: typeof __VLS_export;
@@ -64,15 +64,15 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
64
64
  "update:selectedReasoningEffort": (value: any) => any;
65
65
  } & {
66
66
  delete: () => any;
67
+ cancel: () => any;
67
68
  rename: () => any;
68
69
  duplicate: () => any;
69
70
  export: () => any;
70
71
  copyLink: () => any;
71
- cancel: () => any;
72
72
  debug: () => any;
73
73
  selectConversation: (id: string) => any;
74
- settings: () => any;
75
74
  send: (content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any;
75
+ settings: () => any;
76
76
  selectExecutionProfile: (profile: ChatExecutionProfile) => any;
77
77
  tabChange: (tab: TopbarTab) => any;
78
78
  newConversation: (groupId?: string | null | undefined) => any;
@@ -86,15 +86,15 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
86
86
  "update:workspaceSheetOpen": (value: boolean) => any;
87
87
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
88
88
  onDelete?: (() => any) | undefined;
89
+ onCancel?: (() => any) | undefined;
89
90
  onRename?: (() => any) | undefined;
90
91
  onDuplicate?: (() => any) | undefined;
91
92
  onExport?: (() => any) | undefined;
92
93
  onCopyLink?: (() => any) | undefined;
93
- onCancel?: (() => any) | undefined;
94
94
  onDebug?: (() => any) | undefined;
95
95
  onSelectConversation?: ((id: string) => any) | undefined;
96
- onSettings?: (() => any) | undefined;
97
96
  onSend?: ((content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any) | undefined;
97
+ onSettings?: (() => any) | undefined;
98
98
  onSelectExecutionProfile?: ((profile: ChatExecutionProfile) => any) | undefined;
99
99
  "onUpdate:selectedModel"?: ((value: string | null) => any) | undefined;
100
100
  "onUpdate:selectedReasoningEffort"?: ((value: any) => any) | undefined;
@@ -64,15 +64,15 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
64
64
  "update:selectedReasoningEffort": (value: any) => any;
65
65
  } & {
66
66
  delete: () => any;
67
+ cancel: () => any;
67
68
  rename: () => any;
68
69
  duplicate: () => any;
69
70
  export: () => any;
70
71
  copyLink: () => any;
71
- cancel: () => any;
72
72
  debug: () => any;
73
73
  selectConversation: (id: string) => any;
74
- settings: () => any;
75
74
  send: (content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any;
75
+ settings: () => any;
76
76
  selectExecutionProfile: (profile: ChatExecutionProfile) => any;
77
77
  tabChange: (tab: TopbarTab) => any;
78
78
  newConversation: (groupId?: string | null | undefined) => any;
@@ -86,15 +86,15 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
86
86
  "update:workspaceSheetOpen": (value: boolean) => any;
87
87
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
88
88
  onDelete?: (() => any) | undefined;
89
+ onCancel?: (() => any) | undefined;
89
90
  onRename?: (() => any) | undefined;
90
91
  onDuplicate?: (() => any) | undefined;
91
92
  onExport?: (() => any) | undefined;
92
93
  onCopyLink?: (() => any) | undefined;
93
- onCancel?: (() => any) | undefined;
94
94
  onDebug?: (() => any) | undefined;
95
95
  onSelectConversation?: ((id: string) => any) | undefined;
96
- onSettings?: (() => any) | undefined;
97
96
  onSend?: ((content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any) | undefined;
97
+ onSettings?: (() => any) | undefined;
98
98
  onSelectExecutionProfile?: ((profile: ChatExecutionProfile) => any) | undefined;
99
99
  "onUpdate:selectedModel"?: ((value: string | null) => any) | undefined;
100
100
  "onUpdate:selectedReasoningEffort"?: ((value: any) => any) | undefined;
@@ -93,7 +93,8 @@ function buildProxyHeaders(event) {
93
93
  const config = useRuntimeConfig(event);
94
94
  const chatConfig = {
95
95
  [PREPARED_AGENT_RUNTIME_CONFIG_KEY]: true,
96
- [CONVERSATION_V2_CONFIG_KEY]: true
96
+ [CONVERSATION_V2_CONFIG_KEY]: true,
97
+ [UI_LANGUAGE_CONFIG_KEY]: "web"
97
98
  };
98
99
  if (config.chatNuxt?.secretlessExecution) {
99
100
  chatConfig[SECRETLESS_EXECUTION_CONFIG_KEY] = true;
@@ -107,9 +108,6 @@ function buildProxyHeaders(event) {
107
108
  if (config.chatNuxt?.routeClaudeViaGateway) {
108
109
  chatConfig[ROUTE_CLAUDE_VIA_GATEWAY_CONFIG_KEY] = true;
109
110
  }
110
- if (config.chatNuxt?.uiLanguage) {
111
- chatConfig[UI_LANGUAGE_CONFIG_KEY] = "web";
112
- }
113
111
  const headers = {
114
112
  "authorization": `Bearer ${token}`,
115
113
  "x-chat-client": "chat-nuxt",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
- "version": "4.10.0-rc.8",
3
+ "version": "4.10.0-rc.9",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {