@noodleseed/assistant 1.25.1 → 1.26.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.
Files changed (44) hide show
  1. package/README.md +54 -20
  2. package/dist/{app-view-element-BNkQab1B.d.ts → app-view-element-C_ATXseu.d.ts} +1 -1
  3. package/dist/{app-view-element-DhuiNW_x.d.cts → app-view-element-CiFVNIke.d.cts} +1 -1
  4. package/dist/app-view.cjs +5 -5
  5. package/dist/app-view.cjs.map +1 -1
  6. package/dist/app-view.d.cts +3 -3
  7. package/dist/app-view.d.ts +3 -3
  8. package/dist/app-view.js +2 -2
  9. package/dist/{appearance-B6vSg8Ub.d.cts → appearance-C24W6BRj.d.cts} +7 -3
  10. package/dist/{appearance-B6vSg8Ub.d.ts → appearance-C24W6BRj.d.ts} +7 -3
  11. package/dist/{chunk-5TYS2Q6S.js → chunk-5NBHHNI3.js} +2 -2
  12. package/dist/{chunk-FJYPE4GC.js → chunk-5PW6PXCI.js} +702 -122
  13. package/dist/chunk-5PW6PXCI.js.map +1 -0
  14. package/dist/{chunk-7BQHW37I.js → chunk-FNXAVRL5.js} +7 -1
  15. package/dist/{chunk-7BQHW37I.js.map → chunk-FNXAVRL5.js.map} +1 -1
  16. package/dist/{chunk-CF2SCDLF.js → chunk-XKTUXFGX.js} +6 -6
  17. package/dist/chunk-XKTUXFGX.js.map +1 -0
  18. package/dist/{client-BkogON2A.d.ts → client-BheCOERq.d.ts} +51 -2
  19. package/dist/{client-C07ppTU_.d.cts → client-BiMRVxjs.d.cts} +51 -2
  20. package/dist/client.cjs.map +1 -1
  21. package/dist/client.d.cts +2 -2
  22. package/dist/client.d.ts +2 -2
  23. package/dist/client.js +1 -1
  24. package/dist/embed.global.js +171 -89
  25. package/dist/index.cjs +709 -124
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.cts +6 -53
  28. package/dist/index.d.ts +6 -53
  29. package/dist/index.js +3 -3
  30. package/dist/react/client.cjs.map +1 -1
  31. package/dist/react/client.d.cts +2 -2
  32. package/dist/react/client.d.ts +2 -2
  33. package/dist/react/client.js +1 -1
  34. package/dist/react.cjs +709 -124
  35. package/dist/react.cjs.map +1 -1
  36. package/dist/react.d.cts +4 -4
  37. package/dist/react.d.ts +4 -4
  38. package/dist/react.js +4 -4
  39. package/dist/server.d.cts +1 -1
  40. package/dist/server.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/dist/chunk-CF2SCDLF.js.map +0 -1
  43. package/dist/chunk-FJYPE4GC.js.map +0 -1
  44. /package/dist/{chunk-5TYS2Q6S.js.map → chunk-5NBHHNI3.js.map} +0 -0
@@ -1,6 +1,6 @@
1
- export { A as APP_VIEW_TAG_NAME, a as AssistantAppViewErrorDetail, N as NoodleAppViewElement } from './app-view-element-DhuiNW_x.cjs';
2
- export { A as AssistantClient, a as AssistantViewAvailableDetail } from './client-C07ppTU_.cjs';
3
- import './appearance-B6vSg8Ub.cjs';
1
+ export { A as APP_VIEW_TAG_NAME, a as AssistantAppViewErrorDetail, N as NoodleAppViewElement } from './app-view-element-CiFVNIke.cjs';
2
+ export { A as AssistantClient, a as AssistantViewAvailableDetail } from './client-BiMRVxjs.cjs';
3
+ import './appearance-C24W6BRj.cjs';
4
4
  import 'ai';
5
5
 
6
6
  /** Register the framework-neutral MCP App host. Safe to call more than once or during SSR. */
@@ -1,6 +1,6 @@
1
- export { A as APP_VIEW_TAG_NAME, a as AssistantAppViewErrorDetail, N as NoodleAppViewElement } from './app-view-element-BNkQab1B.js';
2
- export { A as AssistantClient, a as AssistantViewAvailableDetail } from './client-BkogON2A.js';
3
- import './appearance-B6vSg8Ub.js';
1
+ export { A as APP_VIEW_TAG_NAME, a as AssistantAppViewErrorDetail, N as NoodleAppViewElement } from './app-view-element-C_ATXseu.js';
2
+ export { A as AssistantClient, a as AssistantViewAvailableDetail } from './client-BheCOERq.js';
3
+ import './appearance-C24W6BRj.js';
4
4
  import 'ai';
5
5
 
6
6
  /** Register the framework-neutral MCP App host. Safe to call more than once or during SSR. */
package/dist/app-view.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  APP_VIEW_TAG_NAME,
3
3
  NoodleAppViewElement,
4
4
  registerNoodleAppView
5
- } from "./chunk-5TYS2Q6S.js";
6
- import "./chunk-CF2SCDLF.js";
5
+ } from "./chunk-5NBHHNI3.js";
6
+ import "./chunk-XKTUXFGX.js";
7
7
  import "./chunk-P223CYPO.js";
8
8
  import "./chunk-3YYTUJPJ.js";
9
9
  import "./chunk-5FUTL2UF.js";
@@ -1,6 +1,6 @@
1
- type AssistantThemeMode = 'auto' | 'light' | 'dark';
1
+ type AssistantThemeMode = 'auto' | 'light' | 'dark' | 'invert';
2
2
  type AssistantLayoutMode = 'floating' | 'inline' | 'drawer';
3
- type AssistantPosition = 'bottom-left' | 'bottom-right';
3
+ type AssistantPosition = 'bottom-left' | 'bottom-center' | 'bottom-right';
4
4
  type AssistantPresentationTone = 'neutral' | 'success' | 'warning' | 'danger';
5
5
  interface AssistantPresentationConfiguration {
6
6
  readonly panel?: {
@@ -10,6 +10,7 @@ interface AssistantPresentationConfiguration {
10
10
  readonly radius?: number;
11
11
  };
12
12
  readonly launcher?: {
13
+ readonly style?: 'pill' | 'bubble';
13
14
  readonly icon?: 'brand-mark' | 'chat' | 'none';
14
15
  readonly size?: 'md' | 'lg';
15
16
  readonly status?: 'none' | 'session';
@@ -49,7 +50,7 @@ interface AssistantConfiguration {
49
50
  readonly radius?: 'none' | 'sm' | 'md' | 'lg';
50
51
  readonly density?: 'compact' | 'comfortable';
51
52
  readonly typography?: 'system' | 'serif' | 'mono';
52
- readonly colorScheme?: AssistantThemeMode;
53
+ readonly colorScheme?: Exclude<AssistantThemeMode, 'invert'>;
53
54
  };
54
55
  readonly assistant?: AssistantUiConfiguration;
55
56
  }
@@ -76,6 +77,7 @@ interface BrandThemeOverrides {
76
77
  readonly code?: string;
77
78
  }
78
79
  interface AssistantUiConfiguration {
80
+ readonly theme?: AssistantThemeMode;
79
81
  readonly layout?: {
80
82
  readonly mode?: AssistantLayoutMode;
81
83
  readonly position?: AssistantPosition;
@@ -95,6 +97,7 @@ interface AssistantUiConfiguration {
95
97
  readonly showHeader?: boolean;
96
98
  readonly showAvatars?: boolean;
97
99
  readonly showTimestamps?: boolean;
100
+ readonly showPoweredBy?: boolean;
98
101
  };
99
102
  readonly labels?: Partial<AssistantLabels>;
100
103
  readonly presentation?: AssistantPresentationConfiguration;
@@ -107,6 +110,7 @@ interface AssistantUiConfiguration {
107
110
  interface AssistantLabels {
108
111
  readonly welcomeHeading: string;
109
112
  readonly welcomeMessage: string;
113
+ readonly launcherPlaceholder: string;
110
114
  readonly composerPlaceholder: string;
111
115
  readonly thinking: string;
112
116
  readonly send: string;
@@ -1,6 +1,6 @@
1
- type AssistantThemeMode = 'auto' | 'light' | 'dark';
1
+ type AssistantThemeMode = 'auto' | 'light' | 'dark' | 'invert';
2
2
  type AssistantLayoutMode = 'floating' | 'inline' | 'drawer';
3
- type AssistantPosition = 'bottom-left' | 'bottom-right';
3
+ type AssistantPosition = 'bottom-left' | 'bottom-center' | 'bottom-right';
4
4
  type AssistantPresentationTone = 'neutral' | 'success' | 'warning' | 'danger';
5
5
  interface AssistantPresentationConfiguration {
6
6
  readonly panel?: {
@@ -10,6 +10,7 @@ interface AssistantPresentationConfiguration {
10
10
  readonly radius?: number;
11
11
  };
12
12
  readonly launcher?: {
13
+ readonly style?: 'pill' | 'bubble';
13
14
  readonly icon?: 'brand-mark' | 'chat' | 'none';
14
15
  readonly size?: 'md' | 'lg';
15
16
  readonly status?: 'none' | 'session';
@@ -49,7 +50,7 @@ interface AssistantConfiguration {
49
50
  readonly radius?: 'none' | 'sm' | 'md' | 'lg';
50
51
  readonly density?: 'compact' | 'comfortable';
51
52
  readonly typography?: 'system' | 'serif' | 'mono';
52
- readonly colorScheme?: AssistantThemeMode;
53
+ readonly colorScheme?: Exclude<AssistantThemeMode, 'invert'>;
53
54
  };
54
55
  readonly assistant?: AssistantUiConfiguration;
55
56
  }
@@ -76,6 +77,7 @@ interface BrandThemeOverrides {
76
77
  readonly code?: string;
77
78
  }
78
79
  interface AssistantUiConfiguration {
80
+ readonly theme?: AssistantThemeMode;
79
81
  readonly layout?: {
80
82
  readonly mode?: AssistantLayoutMode;
81
83
  readonly position?: AssistantPosition;
@@ -95,6 +97,7 @@ interface AssistantUiConfiguration {
95
97
  readonly showHeader?: boolean;
96
98
  readonly showAvatars?: boolean;
97
99
  readonly showTimestamps?: boolean;
100
+ readonly showPoweredBy?: boolean;
98
101
  };
99
102
  readonly labels?: Partial<AssistantLabels>;
100
103
  readonly presentation?: AssistantPresentationConfiguration;
@@ -107,6 +110,7 @@ interface AssistantUiConfiguration {
107
110
  interface AssistantLabels {
108
111
  readonly welcomeHeading: string;
109
112
  readonly welcomeMessage: string;
113
+ readonly launcherPlaceholder: string;
110
114
  readonly composerPlaceholder: string;
111
115
  readonly thinking: string;
112
116
  readonly send: string;
@@ -3,7 +3,7 @@ import {
3
3
  mountAssistantApp,
4
4
  unmountAssistantApp,
5
5
  updateAssistantAppTheme
6
- } from "./chunk-CF2SCDLF.js";
6
+ } from "./chunk-XKTUXFGX.js";
7
7
 
8
8
  // src/app-view-element.ts
9
9
  var APP_VIEW_TAG_NAME = "noodle-app-view";
@@ -177,4 +177,4 @@ export {
177
177
  NoodleAppViewElement,
178
178
  registerNoodleAppView
179
179
  };
180
- //# sourceMappingURL=chunk-5TYS2Q6S.js.map
180
+ //# sourceMappingURL=chunk-5NBHHNI3.js.map