@elizaos/app-core 2.0.0-alpha.13 → 2.0.0-alpha.15

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 (125) hide show
  1. package/.turbo/turbo-build.log +0 -1
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +26 -12
  4. package/dist/api/client.d.ts +3 -3
  5. package/dist/api/client.d.ts.map +1 -1
  6. package/dist/api/client.js +24 -13
  7. package/dist/bridge/plugin-bridge.d.ts.map +1 -1
  8. package/dist/components/AvatarLoader.d.ts +3 -1
  9. package/dist/components/AvatarLoader.d.ts.map +1 -1
  10. package/dist/components/AvatarLoader.js +4 -1
  11. package/dist/components/BscTradePanel.d.ts +1 -1
  12. package/dist/components/BscTradePanel.d.ts.map +1 -1
  13. package/dist/components/CharacterView.d.ts.map +1 -1
  14. package/dist/components/CharacterView.js +50 -15
  15. package/dist/components/ChatView.js +1 -1
  16. package/dist/components/ConfigPageView.d.ts.map +1 -1
  17. package/dist/components/ConfigPageView.js +9 -8
  18. package/dist/components/ConversationsSidebar.js +1 -1
  19. package/dist/components/CustomActionEditor.js +1 -1
  20. package/dist/components/FineTuningView.d.ts.map +1 -1
  21. package/dist/components/FineTuningView.js +2 -2
  22. package/dist/components/GlobalEmoteOverlay.d.ts.map +1 -1
  23. package/dist/components/GlobalEmoteOverlay.js +1 -1
  24. package/dist/components/HeartbeatsView.js +1 -1
  25. package/dist/components/LoadingScreen.d.ts.map +1 -1
  26. package/dist/components/LoadingScreen.js +38 -7
  27. package/dist/components/OnboardingWizard.js +1 -1
  28. package/dist/components/PluginsView.d.ts.map +1 -1
  29. package/dist/components/PluginsView.js +4 -1
  30. package/dist/components/ShellOverlays.js +1 -1
  31. package/dist/components/VoiceConfigView.d.ts.map +1 -1
  32. package/dist/components/VoiceConfigView.js +4 -2
  33. package/dist/components/avatar/VrmEngine.d.ts +2 -0
  34. package/dist/components/avatar/VrmEngine.d.ts.map +1 -1
  35. package/dist/components/avatar/VrmEngine.js +14 -6
  36. package/dist/components/companion/CompanionSceneHost.d.ts +1 -1
  37. package/dist/components/companion/CompanionSceneHost.d.ts.map +1 -1
  38. package/dist/components/companion/CompanionSceneHost.js +1 -1
  39. package/dist/components/index.d.ts +10 -10
  40. package/dist/components/index.d.ts.map +1 -1
  41. package/dist/components/index.js +10 -10
  42. package/dist/components/inventory/TokensTable.js +2 -2
  43. package/dist/components/onboarding/IdentityStep.d.ts.map +1 -1
  44. package/dist/components/onboarding/IdentityStep.js +1 -1
  45. package/dist/components/shared/ShellHeaderControls.js +1 -1
  46. package/dist/config/config-field.d.ts.map +1 -1
  47. package/dist/config/config-field.js +7 -8
  48. package/dist/config/index.d.ts +1 -1
  49. package/dist/config/index.d.ts.map +1 -1
  50. package/dist/config/index.js +1 -1
  51. package/dist/hooks/useVoiceChat.d.ts.map +1 -1
  52. package/dist/hooks/useVoiceChat.js +3 -1
  53. package/dist/i18n/locales/en.json +1192 -1192
  54. package/dist/i18n/locales/es.json +1192 -1192
  55. package/dist/i18n/locales/ko.json +1192 -1192
  56. package/dist/i18n/locales/pt.json +1192 -1192
  57. package/dist/i18n/locales/zh-CN.json +1192 -1192
  58. package/dist/package.json +181 -0
  59. package/dist/platform/lifo.d.ts.map +1 -1
  60. package/dist/platform/lifo.js +4 -1
  61. package/dist/state/AppContext.d.ts.map +1 -1
  62. package/dist/state/AppContext.js +23 -6
  63. package/dist/state/internal.d.ts +1 -1
  64. package/dist/state/internal.d.ts.map +1 -1
  65. package/dist/state/internal.js +1 -1
  66. package/dist/state/parsers.d.ts.map +1 -1
  67. package/dist/state/parsers.js +3 -2
  68. package/dist/state/persistence.js +1 -1
  69. package/dist/styles/anime.css +6324 -0
  70. package/dist/styles/base.css +196 -0
  71. package/dist/styles/onboarding-game.css +738 -0
  72. package/dist/styles/styles.css +2087 -0
  73. package/dist/styles/xterm.css +241 -0
  74. package/package.json +4 -4
  75. package/src/App.tsx +35 -14
  76. package/src/ambient.d.ts +5 -5
  77. package/src/api/client.ts +36 -23
  78. package/src/bridge/plugin-bridge.ts +1 -1
  79. package/src/components/AvatarLoader.tsx +6 -0
  80. package/src/components/BscTradePanel.tsx +1 -1
  81. package/src/components/CharacterView.tsx +536 -367
  82. package/src/components/ChatView.tsx +3 -3
  83. package/src/components/ConfigPageView.tsx +9 -8
  84. package/src/components/ConversationsSidebar.tsx +1 -1
  85. package/src/components/CustomActionEditor.tsx +6 -6
  86. package/src/components/FineTuningView.tsx +6 -3
  87. package/src/components/GlobalEmoteOverlay.tsx +1 -4
  88. package/src/components/HeartbeatsView.tsx +1 -1
  89. package/src/components/InventoryView.tsx +2 -2
  90. package/src/components/LoadingScreen.tsx +39 -6
  91. package/src/components/OnboardingWizard.tsx +1 -1
  92. package/src/components/PluginsView.tsx +6 -0
  93. package/src/components/ShellOverlays.tsx +1 -1
  94. package/src/components/VoiceConfigView.tsx +4 -5
  95. package/src/components/avatar/VrmEngine.ts +25 -7
  96. package/src/components/companion/CompanionSceneHost.tsx +5 -1
  97. package/src/components/index.ts +10 -10
  98. package/src/components/inventory/TokensTable.tsx +2 -2
  99. package/src/components/onboarding/IdentityStep.tsx +9 -13
  100. package/src/components/shared/ShellHeaderControls.tsx +1 -1
  101. package/src/config/config-field.tsx +7 -8
  102. package/src/config/index.ts +3 -3
  103. package/src/hooks/useVoiceChat.ts +5 -3
  104. package/src/platform/lifo.ts +14 -4
  105. package/src/state/AppContext.tsx +24 -1
  106. package/src/state/internal.ts +6 -6
  107. package/src/state/parsers.ts +4 -3
  108. package/src/state/persistence.ts +1 -1
  109. package/test/app/MessageContent.test.tsx +42 -0
  110. package/test/app/bug-report-modal.test.tsx +3 -3
  111. package/test/app/chat-view.test.tsx +3 -3
  112. package/test/app/cloud-login-lock.test.ts +3 -2
  113. package/test/app/custom-actions-smoke.test.ts +3 -3
  114. package/test/app/onboarding-language.test.tsx +3 -3
  115. package/test/app/pages-navigation-smoke.e2e.test.ts +13 -8
  116. package/test/app/plugin-bridge.test.ts +1 -1
  117. package/test/app/provider-dropdown-default.test.tsx +2 -4
  118. package/test/app/restart-banner.test.tsx +3 -3
  119. package/test/app/shell-mode-switching.e2e.test.ts +6 -6
  120. package/test/app/shell-mode-tab-memory.test.tsx +1 -1
  121. package/test/app/startup-chat.e2e.test.ts +3 -3
  122. package/test/app/triggers-view.e2e.test.ts +3 -2
  123. package/test/app/wallet-api-save-lock.test.ts +2 -1
  124. package/test/utils/assistant-text.test.ts +64 -0
  125. package/test/utils/streaming-text.test.ts +89 -0
@@ -0,0 +1,196 @@
1
+ /* Milady — Theme System */
2
+
3
+ :root {
4
+ /* Backgrounds */
5
+ --bg: #ffffff;
6
+ --bg-accent: #faf7ec;
7
+ --bg-elevated: #fffdf6;
8
+ --bg-hover: #f8f1d7;
9
+ --bg-muted: #fcf9ef;
10
+
11
+ --card: #fffdf6;
12
+ --card-foreground: #1e2329;
13
+ --surface: #ffffff;
14
+
15
+ /* Text */
16
+ --text: #1e2329;
17
+ --text-strong: #11161c;
18
+ --chat-text: #1e2329;
19
+ --muted: #6d737a;
20
+ --muted-strong: #4d535a;
21
+
22
+ /* Borders */
23
+ --border: #d6d3c6;
24
+ --border-strong: #b8b29f;
25
+ --border-hover: #f0b90b;
26
+ --input: #d6d3c6;
27
+ --ring: #f0b90b;
28
+
29
+ /* Accent */
30
+ --accent: #f0b90b;
31
+ --accent-hover: #d8a108;
32
+ --accent-muted: #d8a108;
33
+ --accent-subtle: rgba(240, 185, 11, 0.12);
34
+ --accent-foreground: #1a1f26;
35
+ --primary: #f0b90b;
36
+ --primary-foreground: #1a1f26;
37
+
38
+ /* Status */
39
+ --ok: #02c076;
40
+ --ok-muted: rgba(2, 192, 118, 0.7);
41
+ --ok-subtle: rgba(2, 192, 118, 0.12);
42
+ --destructive: #f6465d;
43
+ --destructive-foreground: #ffffff;
44
+ --destructive-subtle: rgba(246, 70, 93, 0.12);
45
+ --warn: #f0b90b;
46
+ --warn-muted: rgba(240, 185, 11, 0.7);
47
+ --warn-subtle: rgba(240, 185, 11, 0.12);
48
+ --danger: #f6465d;
49
+ --info: #2ebd85;
50
+
51
+ --focus: rgba(240, 185, 11, 0.18);
52
+ --focus-ring: 0 0 0 2px #f0b90b;
53
+
54
+ /* Header */
55
+ --header-bar-bg: #fff8dc;
56
+ --header-bar-fg: #1e2329;
57
+ --section-bar-bg: #fff5cf;
58
+ --section-bar-fg: #1e2329;
59
+ --link-color: #c08d00;
60
+ --link-hover-color: #a97900;
61
+
62
+ --mono: "Courier New", Courier, monospace;
63
+ --font-body:
64
+ "Hiragino Kaku Gothic Pro", Osaka, Meiryo, "MS PGothic", arial, helvetica,
65
+ clean, sans-serif;
66
+ --font-display:
67
+ "Hiragino Kaku Gothic Pro", Osaka, Meiryo, "MS PGothic", arial, helvetica,
68
+ clean, sans-serif;
69
+ --font-chat:
70
+ "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
71
+
72
+ /* Legacy */
73
+ --shadow-sm: none;
74
+ --shadow-md: none;
75
+ --shadow-lg: none;
76
+ --radius-sm: 0.375rem;
77
+ --radius-md: 0.5rem;
78
+ --radius-lg: 0.75rem;
79
+ --radius-xl: 1rem;
80
+ --radius-full: 9999px;
81
+ --radius: 0.5rem;
82
+ --duration-fast: 100ms;
83
+ --duration-normal: 150ms;
84
+ --duration-slow: 250ms;
85
+
86
+ /* Plugin UI Design Tokens */
87
+ --plugin-field-gap: 1rem;
88
+ --plugin-group-gap: 1.5rem;
89
+ --plugin-section-padding: 1.5rem;
90
+ --plugin-label-size: 0.8125rem;
91
+ --plugin-help-size: 0.6875rem;
92
+ --plugin-error-size: 0.6875rem;
93
+ --plugin-label: var(--text);
94
+ --plugin-help: var(--muted);
95
+ --plugin-error: var(--destructive);
96
+ --plugin-border: var(--border);
97
+ --plugin-focus-ring: var(--accent);
98
+ --plugin-input-height: 2.25rem;
99
+ --plugin-max-field-width: 32rem;
100
+
101
+ color-scheme: light;
102
+ }
103
+
104
+ [data-theme="dark"],
105
+ .dark {
106
+ --bg: hsl(220 16% 12%);
107
+ --bg-accent: hsl(220 14% 16%);
108
+ --bg-elevated: hsl(220 14% 10%);
109
+ --bg-hover: hsl(220 12% 20%);
110
+ --bg-muted: hsl(220 12% 20%);
111
+
112
+ --card: hsl(220 14% 14%);
113
+ --card-foreground: hsl(40 10% 94%);
114
+ --surface: hsl(220 14% 14%);
115
+
116
+ --text: hsl(40 10% 84%);
117
+ --text-strong: hsl(40 10% 96%);
118
+ --chat-text: hsl(40 10% 84%);
119
+ --muted: hsl(220 8% 56%);
120
+ --muted-strong: hsl(220 6% 68%);
121
+
122
+ --border: hsl(220 12% 22%);
123
+ --border-strong: hsl(220 10% 30%);
124
+ --border-hover: #f0b90b;
125
+ --input: hsl(220 12% 22%);
126
+ --ring: #f0b90b;
127
+
128
+ --accent: #f0b90b;
129
+ --accent-hover: #d8a108;
130
+ --accent-muted: #d8a108;
131
+ --accent-subtle: rgba(240, 185, 11, 0.12);
132
+ --accent-foreground: #1a1f26;
133
+ --primary: #f0b90b;
134
+ --primary-foreground: #1a1f26;
135
+
136
+ --ok: hsl(142 76% 36%);
137
+ --ok-muted: hsla(142 76% 36% / 0.7);
138
+ --ok-subtle: hsla(142 76% 36% / 0.1);
139
+ --destructive: hsl(0 84.2% 60.2%);
140
+ --destructive-foreground: hsl(0 0% 100%);
141
+ --destructive-subtle: hsla(0 84% 60% / 0.1);
142
+ --warn: #f0b90b;
143
+ --warn-muted: rgba(240, 185, 11, 0.7);
144
+ --warn-subtle: rgba(240, 185, 11, 0.12);
145
+ --danger: hsl(0 84.2% 60.2%);
146
+ --info: #f0b90b;
147
+
148
+ --focus: rgba(240, 185, 11, 0.2);
149
+ --focus-ring: 0 0 0 2px rgba(240, 185, 11, 0.5);
150
+
151
+ --header-bar-bg: hsl(220 16% 12%);
152
+ --header-bar-fg: hsl(40 10% 96%);
153
+ --section-bar-bg: hsl(220 14% 16%);
154
+ --section-bar-fg: hsl(40 10% 96%);
155
+ --link-color: var(--text);
156
+ --link-hover-color: #d8a108;
157
+
158
+ --mono: "Courier New", Courier, monospace;
159
+ --font-body:
160
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
161
+ --font-display:
162
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
163
+ --font-chat:
164
+ "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
165
+
166
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
167
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
168
+ --shadow-lg:
169
+ 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
170
+ --radius-sm: 0.375rem;
171
+ --radius-md: 0.5rem;
172
+ --radius-lg: 0.75rem;
173
+ --radius-xl: 1rem;
174
+ --radius-full: 9999px;
175
+ --radius: 0.5rem;
176
+ --duration-fast: 150ms;
177
+ --duration-normal: 200ms;
178
+ --duration-slow: 300ms;
179
+
180
+ /* Plugin UI */
181
+ --plugin-field-gap: 1rem;
182
+ --plugin-group-gap: 1.5rem;
183
+ --plugin-section-padding: 1.5rem;
184
+ --plugin-label-size: 0.8125rem;
185
+ --plugin-help-size: 0.6875rem;
186
+ --plugin-error-size: 0.6875rem;
187
+ --plugin-label: var(--text);
188
+ --plugin-help: var(--muted);
189
+ --plugin-error: var(--destructive);
190
+ --plugin-border: var(--border);
191
+ --plugin-focus-ring: var(--accent);
192
+ --plugin-input-height: 2.25rem;
193
+ --plugin-max-field-width: 32rem;
194
+
195
+ color-scheme: dark;
196
+ }