@datalayer/agent-runtimes 1.3.35 → 1.3.37

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 (48) hide show
  1. package/lib/chat/ChatFloating.d.ts +8 -2
  2. package/lib/chat/ChatFloating.js +2 -2
  3. package/lib/chat/base/ChatBase.js +10 -6
  4. package/lib/chat/display/EmptyState.js +8 -1
  5. package/lib/chat/presence/Presence.d.ts +15 -1
  6. package/lib/chat/presence/Presence.js +0 -13
  7. package/lib/components/a2ui/datalayer/Chart.d.ts +132 -0
  8. package/lib/components/a2ui/datalayer/Chart.js +173 -0
  9. package/lib/components/a2ui/datalayer/Chat.d.ts +21 -0
  10. package/lib/components/a2ui/datalayer/Chat.js +116 -0
  11. package/lib/components/a2ui/datalayer/Evidence.d.ts +22 -0
  12. package/lib/components/a2ui/datalayer/Evidence.js +73 -0
  13. package/lib/components/a2ui/datalayer/FileUpload.d.ts +22 -0
  14. package/lib/components/a2ui/datalayer/FileUpload.js +107 -0
  15. package/lib/components/a2ui/datalayer/Form.d.ts +12 -0
  16. package/lib/components/a2ui/datalayer/Form.js +46 -0
  17. package/lib/components/a2ui/datalayer/Table.d.ts +20 -0
  18. package/lib/components/a2ui/datalayer/Table.js +103 -0
  19. package/lib/components/a2ui/datalayer/drawn.d.ts +10 -0
  20. package/lib/components/a2ui/datalayer/drawn.js +20 -0
  21. package/lib/components/a2ui/datalayer/implementation.d.ts +17 -0
  22. package/lib/components/a2ui/datalayer/implementation.js +10 -0
  23. package/lib/components/a2ui/datalayer/index.d.ts +23 -0
  24. package/lib/components/a2ui/datalayer/index.js +44 -0
  25. package/lib/components/a2ui/datalayer/parts.d.ts +32 -0
  26. package/lib/components/a2ui/datalayer/parts.js +44 -0
  27. package/lib/components/a2ui/datalayer/schema.d.ts +34 -0
  28. package/lib/components/a2ui/datalayer/schema.js +108 -0
  29. package/lib/components/a2ui/index.d.ts +1 -0
  30. package/lib/components/a2ui/index.js +1 -0
  31. package/lib/components/a2ui/visibleWhen.d.ts +4 -2
  32. package/lib/components/a2ui/visibleWhen.js +6 -3
  33. package/lib/loop/apps/AppRenderer.d.ts +8 -0
  34. package/lib/loop/apps/AppRenderer.js +21 -1
  35. package/lib/loop/embed/AppEmbed.d.ts +16 -1
  36. package/lib/loop/embed/AppEmbed.js +38 -9
  37. package/lib/loop/embed/LoopEmbed.js +2 -0
  38. package/lib/loop/embed/element.js +10 -1
  39. package/lib/loop/embed/embedTheme.d.ts +12 -0
  40. package/lib/loop/embed/embedTheme.js +15 -0
  41. package/lib/loop/plugins/assistant-characters/index.d.ts +10 -1
  42. package/lib/loop/plugins/assistant-characters/index.js +16 -1
  43. package/lib/loop/plugins/chat/ChatView.js +21 -9
  44. package/lib/loop/plugins/chat/index.d.ts +6 -0
  45. package/lib/loop/presets.d.ts +3 -0
  46. package/lib/loop/presets.js +2 -1
  47. package/lib/types/chat.d.ts +11 -0
  48. package/package.json +2 -1
@@ -636,6 +636,11 @@ export interface ChatCommonProps {
636
636
  /**
637
637
  * ChatBase props
638
638
  */
639
+ /** Properties laid over a theme's own, by mode. */
640
+ export type ThemeOverrides = {
641
+ light?: Record<string, string>;
642
+ dark?: Record<string, string>;
643
+ };
639
644
  export interface ChatBaseProps {
640
645
  /**
641
646
  * Hands an imperative send function to the host, once the chat is able to
@@ -838,6 +843,12 @@ export interface ChatBaseProps {
838
843
  kernelGpu?: string;
839
844
  /** Optional theme variant override for companion notebook/document surfaces. */
840
845
  themeVariant?: string;
846
+ /**
847
+ * Properties laid over the theme's own, by mode — an application's accent
848
+ * over the theme it wears (LOOP T-05): without them the chat would wear the
849
+ * theme's default accent whatever the page around it set.
850
+ */
851
+ themeOverrides?: ThemeOverrides;
841
852
  /** Optional color mode override for companion notebook/document surfaces. */
842
853
  colorMode?: 'light' | 'dark' | 'auto';
843
854
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datalayer/agent-runtimes",
3
- "version": "1.3.35",
3
+ "version": "1.3.37",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  ".",
@@ -213,6 +213,7 @@
213
213
  "@radix-ui/react-toggle-group": "^1.1.11",
214
214
  "@radix-ui/react-tooltip": "^1.2.8",
215
215
  "@radix-ui/react-use-controllable-state": "^1.2.2",
216
+ "@rjsf/validator-ajv8": "^5.24.13",
216
217
  "@styled-system/css": "^5.1.5",
217
218
  "@tailwindcss/vite": "^4.1.13",
218
219
  "@tanstack/react-query": "^5.90.6",