@godscene/visualizer 1.7.11

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 (221) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +9 -0
  3. package/dist/es/component/blackboard/highlights.mjs +47 -0
  4. package/dist/es/component/blackboard/index.css +118 -0
  5. package/dist/es/component/blackboard/index.mjs +122 -0
  6. package/dist/es/component/config-selector/index.mjs +251 -0
  7. package/dist/es/component/context-preview/index.mjs +37 -0
  8. package/dist/es/component/env-config/index.mjs +237 -0
  9. package/dist/es/component/env-config-reminder/index.css +30 -0
  10. package/dist/es/component/env-config-reminder/index.mjs +27 -0
  11. package/dist/es/component/form-field/index.mjs +158 -0
  12. package/dist/es/component/history-selector/index.css +237 -0
  13. package/dist/es/component/history-selector/index.mjs +197 -0
  14. package/dist/es/component/index.mjs +1 -0
  15. package/dist/es/component/logo/index.css +19 -0
  16. package/dist/es/component/logo/index.mjs +20 -0
  17. package/dist/es/component/logo/logo.mjs +2 -0
  18. package/dist/es/component/misc/index.mjs +96 -0
  19. package/dist/es/component/nav-actions/index.mjs +14 -0
  20. package/dist/es/component/nav-actions/style.css +35 -0
  21. package/dist/es/component/player/index.css +296 -0
  22. package/dist/es/component/player/index.mjs +702 -0
  23. package/dist/es/component/player/playback-controls.mjs +4 -0
  24. package/dist/es/component/player/report-download.mjs +61 -0
  25. package/dist/es/component/player/scenes/StepScene.mjs +194 -0
  26. package/dist/es/component/player/scenes/derive-frame-state.mjs +229 -0
  27. package/dist/es/component/player/scenes/export-branded-video.mjs +360 -0
  28. package/dist/es/component/player/scenes/frame-calculator.mjs +149 -0
  29. package/dist/es/component/player/scenes/playback-frame.mjs +6 -0
  30. package/dist/es/component/player/scenes/playback-layout.mjs +12 -0
  31. package/dist/es/component/player/scenes/pointer-layout.mjs +36 -0
  32. package/dist/es/component/player/use-frame-player.mjs +87 -0
  33. package/dist/es/component/playground/index.css +930 -0
  34. package/dist/es/component/playground/playground-demo-ui-context.json +290 -0
  35. package/dist/es/component/playground-result/index.css +92 -0
  36. package/dist/es/component/playground-result/index.mjs +232 -0
  37. package/dist/es/component/prompt-input/index.css +832 -0
  38. package/dist/es/component/prompt-input/index.mjs +959 -0
  39. package/dist/es/component/screenshot-viewer/index.css +237 -0
  40. package/dist/es/component/screenshot-viewer/index.mjs +319 -0
  41. package/dist/es/component/service-mode-control/index.mjs +107 -0
  42. package/dist/es/component/shiny-text/index.css +107 -0
  43. package/dist/es/component/shiny-text/index.mjs +15 -0
  44. package/dist/es/component/universal-playground/empty-state.mjs +5 -0
  45. package/dist/es/component/universal-playground/index.css +619 -0
  46. package/dist/es/component/universal-playground/index.mjs +558 -0
  47. package/dist/es/component/universal-playground/providers/context-provider.mjs +90 -0
  48. package/dist/es/component/universal-playground/providers/indexeddb-storage-provider.mjs +280 -0
  49. package/dist/es/component/universal-playground/providers/storage-provider.mjs +279 -0
  50. package/dist/es/component/universal-playground/universal-playground-electron.mjs +668 -0
  51. package/dist/es/hooks/useMinimalTypeGate.mjs +47 -0
  52. package/dist/es/hooks/usePlaygroundExecution.mjs +435 -0
  53. package/dist/es/hooks/usePlaygroundState.mjs +278 -0
  54. package/dist/es/hooks/useSafeOverrideAIConfig.mjs +20 -0
  55. package/dist/es/hooks/useServerValid.mjs +55 -0
  56. package/dist/es/hooks/useTheme.mjs +25 -0
  57. package/dist/es/icons/action-chevron.mjs +61 -0
  58. package/dist/es/icons/avatar.mjs +70 -0
  59. package/dist/es/icons/close.mjs +61 -0
  60. package/dist/es/icons/global-perspective.mjs +58 -0
  61. package/dist/es/icons/history.mjs +72 -0
  62. package/dist/es/icons/magnifying-glass.mjs +81 -0
  63. package/dist/es/icons/player-setting.mjs +68 -0
  64. package/dist/es/icons/prompt-history.mjs +70 -0
  65. package/dist/es/icons/setting.mjs +62 -0
  66. package/dist/es/icons/show-marker.mjs +58 -0
  67. package/dist/es/index.mjs +26 -0
  68. package/dist/es/static/image/logo.png +0 -0
  69. package/dist/es/store/history.mjs +128 -0
  70. package/dist/es/store/store.mjs +277 -0
  71. package/dist/es/types.mjs +73 -0
  72. package/dist/es/utils/action-label.mjs +15 -0
  73. package/dist/es/utils/color.mjs +35 -0
  74. package/dist/es/utils/constants.mjs +99 -0
  75. package/dist/es/utils/device-capabilities.mjs +13 -0
  76. package/dist/es/utils/empty-state-scroll.mjs +8 -0
  77. package/dist/es/utils/highlight-element.mjs +62 -0
  78. package/dist/es/utils/index.mjs +13 -0
  79. package/dist/es/utils/playground-utils.mjs +43 -0
  80. package/dist/es/utils/progress-action-icon.mjs +30 -0
  81. package/dist/es/utils/prompt-input-utils.mjs +49 -0
  82. package/dist/es/utils/prompt-placeholder.mjs +19 -0
  83. package/dist/es/utils/replay-scripts.mjs +428 -0
  84. package/dist/lib/component/blackboard/highlights.js +84 -0
  85. package/dist/lib/component/blackboard/index.css +118 -0
  86. package/dist/lib/component/blackboard/index.js +169 -0
  87. package/dist/lib/component/config-selector/index.js +295 -0
  88. package/dist/lib/component/context-preview/index.js +82 -0
  89. package/dist/lib/component/env-config/index.js +271 -0
  90. package/dist/lib/component/env-config-reminder/index.css +30 -0
  91. package/dist/lib/component/env-config-reminder/index.js +61 -0
  92. package/dist/lib/component/form-field/index.js +204 -0
  93. package/dist/lib/component/history-selector/index.css +237 -0
  94. package/dist/lib/component/history-selector/index.js +243 -0
  95. package/dist/lib/component/index.js +58 -0
  96. package/dist/lib/component/logo/index.css +19 -0
  97. package/dist/lib/component/logo/index.js +67 -0
  98. package/dist/lib/component/logo/logo.js +24 -0
  99. package/dist/lib/component/misc/index.js +152 -0
  100. package/dist/lib/component/nav-actions/index.js +48 -0
  101. package/dist/lib/component/nav-actions/style.css +35 -0
  102. package/dist/lib/component/player/index.css +296 -0
  103. package/dist/lib/component/player/index.js +747 -0
  104. package/dist/lib/component/player/playback-controls.js +38 -0
  105. package/dist/lib/component/player/report-download.js +98 -0
  106. package/dist/lib/component/player/scenes/StepScene.js +228 -0
  107. package/dist/lib/component/player/scenes/derive-frame-state.js +266 -0
  108. package/dist/lib/component/player/scenes/export-branded-video.js +403 -0
  109. package/dist/lib/component/player/scenes/frame-calculator.js +186 -0
  110. package/dist/lib/component/player/scenes/playback-frame.js +40 -0
  111. package/dist/lib/component/player/scenes/playback-layout.js +46 -0
  112. package/dist/lib/component/player/scenes/pointer-layout.js +88 -0
  113. package/dist/lib/component/player/use-frame-player.js +121 -0
  114. package/dist/lib/component/playground/index.css +930 -0
  115. package/dist/lib/component/playground/playground-demo-ui-context.json +290 -0
  116. package/dist/lib/component/playground-result/index.css +92 -0
  117. package/dist/lib/component/playground-result/index.js +276 -0
  118. package/dist/lib/component/prompt-input/index.css +832 -0
  119. package/dist/lib/component/prompt-input/index.js +1005 -0
  120. package/dist/lib/component/screenshot-viewer/index.css +237 -0
  121. package/dist/lib/component/screenshot-viewer/index.js +353 -0
  122. package/dist/lib/component/service-mode-control/index.js +141 -0
  123. package/dist/lib/component/shiny-text/index.css +107 -0
  124. package/dist/lib/component/shiny-text/index.js +49 -0
  125. package/dist/lib/component/universal-playground/empty-state.js +39 -0
  126. package/dist/lib/component/universal-playground/index.css +619 -0
  127. package/dist/lib/component/universal-playground/index.js +607 -0
  128. package/dist/lib/component/universal-playground/providers/context-provider.js +133 -0
  129. package/dist/lib/component/universal-playground/providers/indexeddb-storage-provider.js +320 -0
  130. package/dist/lib/component/universal-playground/providers/storage-provider.js +337 -0
  131. package/dist/lib/component/universal-playground/universal-playground-electron.js +717 -0
  132. package/dist/lib/hooks/useMinimalTypeGate.js +81 -0
  133. package/dist/lib/hooks/usePlaygroundExecution.js +478 -0
  134. package/dist/lib/hooks/usePlaygroundState.js +312 -0
  135. package/dist/lib/hooks/useSafeOverrideAIConfig.js +57 -0
  136. package/dist/lib/hooks/useServerValid.js +89 -0
  137. package/dist/lib/hooks/useTheme.js +59 -0
  138. package/dist/lib/icons/action-chevron.js +95 -0
  139. package/dist/lib/icons/avatar.js +104 -0
  140. package/dist/lib/icons/close.js +95 -0
  141. package/dist/lib/icons/global-perspective.js +92 -0
  142. package/dist/lib/icons/history.js +106 -0
  143. package/dist/lib/icons/magnifying-glass.js +115 -0
  144. package/dist/lib/icons/player-setting.js +102 -0
  145. package/dist/lib/icons/prompt-history.js +104 -0
  146. package/dist/lib/icons/setting.js +96 -0
  147. package/dist/lib/icons/show-marker.js +92 -0
  148. package/dist/lib/index.js +204 -0
  149. package/dist/lib/static/image/logo.png +0 -0
  150. package/dist/lib/store/history.js +135 -0
  151. package/dist/lib/store/store.js +287 -0
  152. package/dist/lib/types.js +119 -0
  153. package/dist/lib/utils/action-label.js +52 -0
  154. package/dist/lib/utils/color.js +75 -0
  155. package/dist/lib/utils/constants.js +172 -0
  156. package/dist/lib/utils/device-capabilities.js +50 -0
  157. package/dist/lib/utils/empty-state-scroll.js +42 -0
  158. package/dist/lib/utils/highlight-element.js +99 -0
  159. package/dist/lib/utils/index.js +69 -0
  160. package/dist/lib/utils/playground-utils.js +86 -0
  161. package/dist/lib/utils/progress-action-icon.js +67 -0
  162. package/dist/lib/utils/prompt-input-utils.js +89 -0
  163. package/dist/lib/utils/prompt-placeholder.js +53 -0
  164. package/dist/lib/utils/replay-scripts.js +474 -0
  165. package/dist/types/component/blackboard/highlights.d.ts +11 -0
  166. package/dist/types/component/blackboard/index.d.ts +10 -0
  167. package/dist/types/component/config-selector/index.d.ts +15 -0
  168. package/dist/types/component/context-preview/index.d.ts +9 -0
  169. package/dist/types/component/env-config/index.d.ts +8 -0
  170. package/dist/types/component/env-config-reminder/index.d.ts +6 -0
  171. package/dist/types/component/form-field/index.d.ts +17 -0
  172. package/dist/types/component/history-selector/index.d.ts +13 -0
  173. package/dist/types/component/index.d.ts +1 -0
  174. package/dist/types/component/logo/index.d.ts +5 -0
  175. package/dist/types/component/misc/index.d.ts +6 -0
  176. package/dist/types/component/nav-actions/index.d.ts +12 -0
  177. package/dist/types/component/player/index.d.ts +15 -0
  178. package/dist/types/component/player/playback-controls.d.ts +1 -0
  179. package/dist/types/component/player/report-download.d.ts +32 -0
  180. package/dist/types/component/player/scenes/StepScene.d.ts +9 -0
  181. package/dist/types/component/player/scenes/derive-frame-state.d.ts +40 -0
  182. package/dist/types/component/player/scenes/export-branded-video.d.ts +33 -0
  183. package/dist/types/component/player/scenes/frame-calculator.d.ts +40 -0
  184. package/dist/types/component/player/scenes/playback-frame.d.ts +3 -0
  185. package/dist/types/component/player/scenes/playback-layout.d.ts +7 -0
  186. package/dist/types/component/player/scenes/pointer-layout.d.ts +20 -0
  187. package/dist/types/component/player/use-frame-player.d.ts +17 -0
  188. package/dist/types/component/playground-result/index.d.ts +22 -0
  189. package/dist/types/component/prompt-input/index.d.ts +23 -0
  190. package/dist/types/component/screenshot-viewer/index.d.ts +23 -0
  191. package/dist/types/component/service-mode-control/index.d.ts +6 -0
  192. package/dist/types/component/shiny-text/index.d.ts +12 -0
  193. package/dist/types/component/universal-playground/empty-state.d.ts +3 -0
  194. package/dist/types/component/universal-playground/index.d.ts +4 -0
  195. package/dist/types/component/universal-playground/providers/context-provider.d.ts +37 -0
  196. package/dist/types/component/universal-playground/providers/indexeddb-storage-provider.d.ts +71 -0
  197. package/dist/types/component/universal-playground/providers/storage-provider.d.ts +58 -0
  198. package/dist/types/component/universal-playground/universal-playground-electron.d.ts +4 -0
  199. package/dist/types/hooks/useMinimalTypeGate.d.ts +72 -0
  200. package/dist/types/hooks/usePlaygroundExecution.d.ts +40 -0
  201. package/dist/types/hooks/usePlaygroundState.d.ts +26 -0
  202. package/dist/types/hooks/useSafeOverrideAIConfig.d.ts +16 -0
  203. package/dist/types/hooks/useServerValid.d.ts +1 -0
  204. package/dist/types/hooks/useTheme.d.ts +7 -0
  205. package/dist/types/index.d.ts +29 -0
  206. package/dist/types/store/history.d.ts +16 -0
  207. package/dist/types/store/store.d.ts +57 -0
  208. package/dist/types/types.d.ts +278 -0
  209. package/dist/types/utils/action-label.d.ts +11 -0
  210. package/dist/types/utils/color.d.ts +4 -0
  211. package/dist/types/utils/constants.d.ts +80 -0
  212. package/dist/types/utils/device-capabilities.d.ts +9 -0
  213. package/dist/types/utils/empty-state-scroll.d.ts +11 -0
  214. package/dist/types/utils/highlight-element.d.ts +3 -0
  215. package/dist/types/utils/index.d.ts +5 -0
  216. package/dist/types/utils/playground-utils.d.ts +11 -0
  217. package/dist/types/utils/progress-action-icon.d.ts +12 -0
  218. package/dist/types/utils/prompt-input-utils.d.ts +24 -0
  219. package/dist/types/utils/prompt-placeholder.d.ts +1 -0
  220. package/dist/types/utils/replay-scripts.d.ts +50 -0
  221. package/package.json +82 -0
@@ -0,0 +1,619 @@
1
+ .playground-container {
2
+ background: var(--midscene-surface, #fff);
3
+ width: 100%;
4
+ height: 100vh;
5
+ color: var(--midscene-text-primary, inherit);
6
+ flex-direction: column;
7
+ display: flex;
8
+ position: relative;
9
+ }
10
+
11
+ .playground-container .command-form {
12
+ flex-direction: column;
13
+ width: 100%;
14
+ height: 100%;
15
+ display: flex;
16
+ }
17
+
18
+ .playground-container .context-preview-section {
19
+ border-bottom: 1px solid #f0f0f0;
20
+ flex-shrink: 0;
21
+ padding: 16px;
22
+ }
23
+
24
+ .playground-container .middle-dialog-area {
25
+ flex-direction: column;
26
+ flex: 1;
27
+ min-height: 0;
28
+ display: flex;
29
+ position: relative;
30
+ overflow: hidden;
31
+ }
32
+
33
+ .playground-container .middle-dialog-area .clear-button-container {
34
+ z-index: 10;
35
+ position: absolute;
36
+ top: 16px;
37
+ right: 0;
38
+ }
39
+
40
+ .playground-container .middle-dialog-area .clear-button-container .clear-button {
41
+ opacity: .7;
42
+ transition: opacity .2s;
43
+ }
44
+
45
+ .playground-container .middle-dialog-area .clear-button-container .clear-button:hover {
46
+ opacity: 1;
47
+ }
48
+
49
+ .playground-container .middle-dialog-area .info-list-container {
50
+ scrollbar-width: none;
51
+ flex: 1;
52
+ padding-top: 16px;
53
+ padding-bottom: 16px;
54
+ overflow-x: hidden;
55
+ overflow-y: auto;
56
+ }
57
+
58
+ .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-item {
59
+ border-bottom: none;
60
+ padding: 0;
61
+ }
62
+
63
+ .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-item .ant-card {
64
+ border: 1px solid #f0f0f0;
65
+ border-radius: 8px;
66
+ box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
67
+ }
68
+
69
+ .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-item .ant-card:hover {
70
+ box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
71
+ }
72
+
73
+ .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-item .ant-card .ant-card-body {
74
+ padding: 12px;
75
+ }
76
+
77
+ .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-empty-text {
78
+ color: #999;
79
+ font-style: italic;
80
+ }
81
+
82
+ .playground-container .middle-dialog-area .info-list-container::-webkit-scrollbar {
83
+ display: none;
84
+ }
85
+
86
+ .playground-container .middle-dialog-area .info-list-container .list-item {
87
+ background: none;
88
+ border: none;
89
+ padding: 0;
90
+ }
91
+
92
+ .playground-container .middle-dialog-area .info-list-container .playground-empty-state-wrapper {
93
+ min-height: 100%;
94
+ }
95
+
96
+ .playground-container .middle-dialog-area .info-list-container .playground-empty-state-wrapper-offset-for-prompt {
97
+ padding-bottom: 128px;
98
+ }
99
+
100
+ .playground-container .middle-dialog-area .scroll-to-bottom-button {
101
+ z-index: 10;
102
+ background: var(--midscene-surface-elevated, #fff);
103
+ border: 1px solid var(--midscene-border-strong, rgba(0, 0, 0, .08));
104
+ position: absolute;
105
+ bottom: 10px;
106
+ right: 0;
107
+ }
108
+
109
+ .playground-container .middle-dialog-area .scroll-to-bottom-button:hover {
110
+ background: #1890ff;
111
+ }
112
+
113
+ .playground-container .middle-dialog-area .scroll-to-bottom-button:hover .anticon {
114
+ color: #fff;
115
+ }
116
+
117
+ .playground-container .middle-dialog-area .scroll-to-bottom-button .anticon {
118
+ color: #333;
119
+ font-size: 16px;
120
+ }
121
+
122
+ .playground-container .user-message-container {
123
+ justify-content: flex-end;
124
+ width: 100%;
125
+ margin: 20px 0 30px;
126
+ display: flex;
127
+ }
128
+
129
+ .playground-container .user-message-container .user-message-bubble {
130
+ background: var(--midscene-surface-muted, #f2f4f7);
131
+ color: var(--midscene-text-primary, rgba(0, 0, 0, .85));
132
+ text-align: left;
133
+ border-radius: 12px;
134
+ max-width: 80%;
135
+ padding: 12px 16px;
136
+ font-size: 14px;
137
+ font-weight: 400;
138
+ display: inline-block;
139
+ }
140
+
141
+ .playground-container .progress-action-item {
142
+ background: var(--midscene-surface-muted, #f2f4f7);
143
+ color: var(--midscene-text-primary, #000);
144
+ border-radius: 8px;
145
+ justify-content: space-between;
146
+ height: 36px;
147
+ margin: 4px 0;
148
+ padding: 0 12px;
149
+ font-size: 14px;
150
+ line-height: 36px;
151
+ display: flex;
152
+ }
153
+
154
+ .playground-container .progress-action-item .progress-status-icon {
155
+ margin-left: 4px;
156
+ }
157
+
158
+ .playground-container .progress-action-item .progress-status-icon.loading {
159
+ color: #1890ff;
160
+ }
161
+
162
+ .playground-container .progress-action-item .progress-status-icon.completed {
163
+ color: #52c41a;
164
+ }
165
+
166
+ .playground-container .progress-action-item .progress-status-icon.error {
167
+ color: #ff4d4f;
168
+ font-weight: bold;
169
+ }
170
+
171
+ .playground-container .progress-description {
172
+ padding: 8px 0;
173
+ font-size: 14px;
174
+ line-height: 22px;
175
+ display: inline-block;
176
+ }
177
+
178
+ .playground-container .system-message-container {
179
+ flex-direction: column;
180
+ display: flex;
181
+ }
182
+
183
+ .playground-container .system-message-container .system-message-header {
184
+ align-items: center;
185
+ gap: 8px;
186
+ margin: 12px 0;
187
+ display: flex;
188
+ }
189
+
190
+ .playground-container .system-message-container .system-message-header .system-message-title {
191
+ font-size: 12px;
192
+ font-weight: 400;
193
+ line-height: 100%;
194
+ }
195
+
196
+ .playground-container .system-message-container .system-message-content {
197
+ color: var(--midscene-text-primary, rgba(0, 0, 0, .85));
198
+ font-size: 14px;
199
+ }
200
+
201
+ .playground-container .system-message-container .system-message-content .system-message-text {
202
+ color: var(--midscene-text-primary, rgba(0, 0, 0, .85));
203
+ font-size: 14px;
204
+ line-height: 25px;
205
+ }
206
+
207
+ .playground-container .system-message-container .system-message-content .error-message {
208
+ color: #e51723;
209
+ word-break: break-word;
210
+ background-color: #fff;
211
+ border: none;
212
+ border-radius: 0;
213
+ align-items: flex-start;
214
+ margin-bottom: 16px;
215
+ padding: 0;
216
+ font-size: 14px;
217
+ display: flex;
218
+ }
219
+
220
+ .playground-container .system-message-container .system-message-content .error-message .divider {
221
+ background-color: #e6e8eb;
222
+ flex-shrink: 0;
223
+ align-self: stretch;
224
+ width: 1px;
225
+ min-height: 20px;
226
+ margin: 0 8px 0 0;
227
+ }
228
+
229
+ .playground-container .system-message-container .system-message-content .loading-progress-text {
230
+ color: #666;
231
+ background: #f6f8fa;
232
+ border-left: 3px solid #1890ff;
233
+ border-radius: 4px;
234
+ margin-top: 8px;
235
+ padding: 8px 12px;
236
+ font-size: 13px;
237
+ }
238
+
239
+ .playground-container .new-conversation-separator {
240
+ flex-shrink: 0;
241
+ justify-content: center;
242
+ align-items: center;
243
+ padding: 20px 0;
244
+ display: flex;
245
+ position: relative;
246
+ }
247
+
248
+ .playground-container .new-conversation-separator .separator-line {
249
+ background-color: var(--midscene-divider, #e8e8e8);
250
+ height: 1px;
251
+ position: absolute;
252
+ top: 50%;
253
+ left: 0;
254
+ right: 0;
255
+ }
256
+
257
+ .playground-container .new-conversation-separator .separator-text-container {
258
+ background-color: var(--midscene-surface, #fff);
259
+ z-index: 1;
260
+ padding: 0 16px;
261
+ position: relative;
262
+ }
263
+
264
+ .playground-container .new-conversation-separator .separator-text-container .separator-text {
265
+ color: var(--midscene-text-tertiary, #999);
266
+ background-color: var(--midscene-surface, #fff);
267
+ font-size: 12px;
268
+ }
269
+
270
+ .playground-container .progress-group-toggle {
271
+ cursor: pointer;
272
+ color: var(--midscene-text-tertiary, rgba(0, 0, 0, .5));
273
+ -webkit-user-select: none;
274
+ -moz-user-select: none;
275
+ user-select: none;
276
+ background: none;
277
+ border: 0;
278
+ align-items: center;
279
+ gap: 8px;
280
+ margin: 0 0 8px;
281
+ padding: 0 4px;
282
+ font-size: 12px;
283
+ font-weight: 500;
284
+ line-height: 15px;
285
+ display: inline-flex;
286
+ }
287
+
288
+ .playground-container .progress-group-toggle:hover {
289
+ color: var(--midscene-text-secondary, rgba(0, 0, 0, .7));
290
+ }
291
+
292
+ .playground-container .progress-group-toggle .progress-group-toggle-chevron {
293
+ font-size: 10px;
294
+ transition: transform .15s ease-out;
295
+ }
296
+
297
+ .playground-container .progress-group-toggle.is-collapsed .progress-group-toggle-chevron {
298
+ transform: rotate(180deg);
299
+ }
300
+
301
+ .playground-container .bottom-input-section {
302
+ background-color: var(--midscene-surface, #fff);
303
+ flex-shrink: 0;
304
+ padding: 16px 0 0;
305
+ }
306
+
307
+ .playground-container .version-info-section {
308
+ flex-shrink: 0;
309
+ justify-content: center;
310
+ align-items: center;
311
+ height: 38px;
312
+ display: flex;
313
+ }
314
+
315
+ .playground-container .version-text {
316
+ color: #999;
317
+ text-align: center;
318
+ font-size: 12px;
319
+ }
320
+
321
+ .playground-container .hidden-result-ref {
322
+ display: none;
323
+ }
324
+
325
+ .playground-container .playground-description {
326
+ margin-bottom: 32px;
327
+ }
328
+
329
+ .playground-container .playground-description .description-zh {
330
+ color: #333;
331
+ margin: 0 0 8px;
332
+ font-size: 16px;
333
+ line-height: 1.5;
334
+ }
335
+
336
+ .playground-container .playground-description .description-en {
337
+ color: #666;
338
+ margin: 0;
339
+ font-size: 14px;
340
+ line-height: 1.5;
341
+ }
342
+
343
+ .playground-container .config-section {
344
+ margin-bottom: 24px;
345
+ }
346
+
347
+ .playground-container .config-section .config-title {
348
+ color: #333;
349
+ margin: 0 0 16px;
350
+ font-size: 18px;
351
+ font-weight: 600;
352
+ }
353
+
354
+ .playground-container .config-section .config-item {
355
+ align-items: center;
356
+ gap: 8px;
357
+ margin-bottom: 12px;
358
+ display: flex;
359
+ }
360
+
361
+ .playground-container .config-section .config-item .config-check {
362
+ color: #52c41a;
363
+ font-size: 16px;
364
+ }
365
+
366
+ .playground-container .config-section .config-item .config-label {
367
+ color: #333;
368
+ font-size: 14px;
369
+ }
370
+
371
+ .playground-container .config-section .config-link {
372
+ color: #1890ff;
373
+ font-size: 14px;
374
+ text-decoration: none;
375
+ }
376
+
377
+ .playground-container .config-section .config-link:hover {
378
+ text-decoration: underline;
379
+ }
380
+
381
+ .playground-container.playground-conversation-skin .middle-dialog-area .info-list-container {
382
+ padding: 20px 16px 32px;
383
+ }
384
+
385
+ .playground-container.playground-conversation-skin .middle-dialog-area .info-list-container .ant-list-items {
386
+ flex-direction: column;
387
+ gap: 16px;
388
+ display: flex;
389
+ }
390
+
391
+ .playground-container.playground-conversation-skin .middle-dialog-area .info-list-container .list-item {
392
+ padding: 0;
393
+ }
394
+
395
+ .playground-container.playground-conversation-skin .user-message-container {
396
+ margin: 0;
397
+ }
398
+
399
+ .playground-container.playground-conversation-skin .user-message-container .user-message-bubble {
400
+ border-radius: 12px;
401
+ max-width: min(80%, 280px);
402
+ padding: 8px 16px;
403
+ font-size: 14px;
404
+ line-height: 22px;
405
+ }
406
+
407
+ .playground-container.playground-conversation-skin .bottom-input-section {
408
+ background: var(--midscene-surface);
409
+ flex-shrink: 0;
410
+ padding: 12px;
411
+ }
412
+
413
+ .playground-container.playground-conversation-skin .list-item:has(.progress-action-item) {
414
+ padding-left: 0;
415
+ position: relative;
416
+ }
417
+
418
+ .playground-container.playground-conversation-skin .list-item > div:has( > .progress-action-item) {
419
+ display: block;
420
+ }
421
+
422
+ .playground-container.playground-conversation-skin .progress-action-item {
423
+ color: rgba(0, 0, 0, .7);
424
+ letter-spacing: 0;
425
+ background: rgba(0, 0, 0, .08);
426
+ border-radius: 38px;
427
+ flex-direction: row-reverse;
428
+ justify-content: flex-end;
429
+ align-items: center;
430
+ gap: 4px;
431
+ width: -moz-fit-content;
432
+ width: fit-content;
433
+ max-width: 100%;
434
+ height: 28px;
435
+ margin: 0 0 0 24px;
436
+ padding: 2px 12px 2px 4px;
437
+ font-family: Inter, sans-serif;
438
+ font-size: 14px;
439
+ font-weight: 400;
440
+ line-height: 22px;
441
+ display: flex;
442
+ }
443
+
444
+ .playground-container.playground-conversation-skin .progress-action-item .progress-status-icon {
445
+ justify-content: center;
446
+ align-items: center;
447
+ width: 16px;
448
+ height: 28px;
449
+ margin-left: 0;
450
+ font-size: 16px;
451
+ display: inline-flex;
452
+ }
453
+
454
+ .playground-container.playground-conversation-skin .progress-action-item + div {
455
+ width: 100%;
456
+ margin: 8px 0 0;
457
+ padding-left: 20px;
458
+ }
459
+
460
+ .playground-container.playground-conversation-skin .progress-description {
461
+ color: rgba(0, 0, 0, .85);
462
+ margin: 0;
463
+ padding: 0;
464
+ }
465
+
466
+ .playground-container.playground-conversation-skin .system-message-content, .playground-container.playground-conversation-skin .system-message-content .system-message-text {
467
+ color: rgba(0, 0, 0, .85);
468
+ font-size: 14px;
469
+ line-height: 22px;
470
+ }
471
+
472
+ .playground-container.playground-conversation-skin .list-item:has(.progress-action-item) + .list-item:has(.progress-action-item) {
473
+ margin-top: -8px;
474
+ }
475
+
476
+ .playground-container.playground-conversation-skin .list-item:has(.progress-action-item):after {
477
+ content: "";
478
+ pointer-events: none;
479
+ background: rgba(0, 0, 0, .08);
480
+ width: 1px;
481
+ position: absolute;
482
+ top: 0;
483
+ bottom: -16px;
484
+ left: 8px;
485
+ }
486
+
487
+ .playground-container.playground-conversation-skin .list-item:not(.list-item:has(.progress-action-item) + .list-item):has(.progress-action-item):after {
488
+ top: 23px;
489
+ }
490
+
491
+ .playground-container.playground-conversation-skin .list-item:has(.progress-action-item):not(:has( + .list-item .progress-action-item)):after {
492
+ bottom: 0;
493
+ }
494
+
495
+ .playground-container.playground-conversation-skin .progress-group-toggle {
496
+ margin: 0 0 8px;
497
+ padding-left: 4px;
498
+ }
499
+
500
+ [data-theme="dark"] .playground-container.playground-conversation-skin .progress-action-item {
501
+ color: rgba(255, 255, 255, .7);
502
+ background: rgba(255, 255, 255, .08);
503
+ }
504
+
505
+ [data-theme="dark"] .playground-container.playground-conversation-skin .list-item:has(.progress-action-item):after {
506
+ background: rgba(255, 255, 255, .12);
507
+ }
508
+
509
+ [data-theme="dark"] .playground-container.playground-conversation-skin .system-message-content, [data-theme="dark"] .playground-container.playground-conversation-skin .system-message-content .system-message-text, [data-theme="dark"] .playground-container.playground-conversation-skin .progress-description {
510
+ color: var(--midscene-text-primary);
511
+ }
512
+
513
+ [data-theme="dark"] .universal-playground .error-hint {
514
+ color: rgba(255, 255, 255, .45);
515
+ }
516
+
517
+ [data-theme="dark"] .universal-playground .status-indicator {
518
+ color: #f8fafd;
519
+ }
520
+
521
+ [data-theme="dark"] .universal-playground .status-indicator.error {
522
+ color: #ff4d4f;
523
+ }
524
+
525
+ [data-theme="dark"] .universal-playground .status-indicator.success {
526
+ color: #52c41a;
527
+ }
528
+
529
+ [data-theme="dark"] .universal-playground .operation-label {
530
+ color: #f8fafd;
531
+ }
532
+
533
+ [data-theme="dark"] .universal-playground .alert-message {
534
+ color: #f8fafd;
535
+ background-color: rgba(82, 38, 7, .3);
536
+ }
537
+
538
+ [data-theme="dark"] .universal-playground .operation-item .operation-icon-wrapper {
539
+ background-color: rgba(255, 255, 255, .08);
540
+ }
541
+
542
+ [data-theme="dark"] .universal-playground .operation-item .operation-content {
543
+ background-color: rgba(0, 0, 0, 0);
544
+ }
545
+
546
+ [data-theme="dark"] .universal-playground .operation-item .operation-content .operation-title {
547
+ color: rgba(255, 255, 255, .45);
548
+ }
549
+
550
+ [data-theme="dark"] .universal-playground .playground-footer {
551
+ background-color: rgba(255, 255, 255, .04);
552
+ }
553
+
554
+ [data-theme="dark"] .universal-playground .playground-footer .status-text {
555
+ color: #f8fafd;
556
+ }
557
+
558
+ [data-theme="dark"] .universal-playground .results-info {
559
+ color: rgba(255, 255, 255, .45);
560
+ }
561
+
562
+ [data-theme="dark"] .universal-playground .result-section .result-title, [data-theme="dark"] .universal-playground .result-section .result-details, [data-theme="dark"] .universal-playground .result-section .result-value {
563
+ color: #f8fafd;
564
+ }
565
+
566
+ [data-theme="dark"] .universal-playground .result-section .result-value.success {
567
+ color: #52c41a;
568
+ }
569
+
570
+ [data-theme="dark"] .universal-playground .result-section .result-value.error {
571
+ color: #ff4d4f;
572
+ }
573
+
574
+ .action-result-title {
575
+ margin-bottom: 8px;
576
+ font-weight: bold;
577
+ }
578
+
579
+ .action-result-list {
580
+ overflow: 0 auto;
581
+ flex-direction: column;
582
+ gap: 12px;
583
+ padding: 0;
584
+ display: flex;
585
+ }
586
+
587
+ .action-result-list li {
588
+ color: rgba(0, 0, 0, .85);
589
+ background-color: #f2f4f7;
590
+ border-radius: 12px;
591
+ flex: 1;
592
+ gap: 8px;
593
+ padding: 4px 12px;
594
+ display: flex;
595
+ overflow: hidden;
596
+ }
597
+
598
+ .action-result-list li .action-result-command {
599
+ flex: none;
600
+ }
601
+
602
+ .action-result-list li .action-result-locate {
603
+ text-overflow: ellipsis;
604
+ white-space: nowrap;
605
+ word-break: break-all;
606
+ flex: 1;
607
+ overflow: hidden;
608
+ }
609
+
610
+ .action-result-wrap {
611
+ position: absolute !important;
612
+ }
613
+
614
+ .action-result-btns {
615
+ gap: 8px;
616
+ margin-top: 16px;
617
+ display: flex;
618
+ }
619
+