@midscene/visualizer 0.28.2-beta-20250910020051.0 → 0.28.2-beta-20250910024129.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 (133) hide show
  1. package/dist/es/component/{blackboard/index.mjs → blackboard.mjs} +3 -3
  2. package/dist/es/component/describer.css +25 -0
  3. package/dist/es/component/{env-config/index.mjs → env-config.mjs} +1 -1
  4. package/dist/es/component/{github-star/index.mjs → github-star.mjs} +1 -1
  5. package/dist/es/component/{logo/index.mjs → logo.mjs} +1 -1
  6. package/dist/es/component/{misc/index.mjs → misc.mjs} +2 -42
  7. package/dist/es/component/{player/index.mjs → player.mjs} +8 -8
  8. package/dist/es/component/{config-selector/index.mjs → playground/ConfigSelector.mjs} +3 -2
  9. package/dist/es/component/{context-preview/index.mjs → playground/ContextPreview.mjs} +4 -3
  10. package/dist/es/component/{history-selector/index.mjs → playground/HistorySelector.mjs} +1 -1
  11. package/dist/es/component/{playground-result/index.mjs → playground/PlaygroundResult.mjs} +4 -3
  12. package/dist/es/component/{prompt-input/index.mjs → playground/PromptInput.mjs} +9 -9
  13. package/dist/es/component/{service-mode-control/index.mjs → playground/ServiceModeControl.mjs} +5 -4
  14. package/dist/es/component/playground/index.css +161 -29
  15. package/dist/es/{utils/constants.mjs → component/playground/playground-constants.mjs} +2 -1
  16. package/dist/es/component/playground/playground-types.mjs +0 -0
  17. package/dist/es/{utils → component/playground}/playground-utils.mjs +1 -1
  18. package/dist/es/{types.mjs → component/playground/types.mjs} +1 -23
  19. package/dist/es/{utils → component}/replay-scripts.mjs +2 -1
  20. package/dist/es/component/{shiny-text/index.mjs → shiny-text.mjs} +1 -1
  21. package/dist/es/index.mjs +18 -22
  22. package/dist/es/init.mjs +10 -0
  23. package/dist/lib/component/{blackboard/index.js → blackboard.js} +5 -5
  24. package/dist/lib/component/describer.css +25 -0
  25. package/dist/lib/component/{env-config/index.js → env-config.js} +1 -1
  26. package/dist/lib/component/{github-star/index.js → github-star.js} +1 -1
  27. package/dist/lib/component/{logo/index.js → logo.js} +1 -1
  28. package/dist/lib/component/{misc/index.js → misc.js} +1 -60
  29. package/dist/lib/component/{player/index.js → player.js} +23 -23
  30. package/dist/lib/component/{config-selector/index.js → playground/ConfigSelector.js} +7 -6
  31. package/dist/lib/component/{context-preview/index.js → playground/ContextPreview.js} +9 -8
  32. package/dist/lib/component/{history-selector/index.js → playground/HistorySelector.js} +1 -1
  33. package/dist/lib/component/{playground-result/index.js → playground/PlaygroundResult.js} +9 -8
  34. package/dist/lib/component/{prompt-input/index.js → playground/PromptInput.js} +37 -37
  35. package/dist/lib/component/{service-mode-control/index.js → playground/ServiceModeControl.js} +9 -8
  36. package/dist/lib/component/playground/index.css +161 -29
  37. package/dist/lib/{utils/constants.js → component/playground/playground-constants.js} +4 -3
  38. package/dist/lib/component/playground/playground-types.js +18 -0
  39. package/dist/lib/{utils → component/playground}/playground-utils.js +1 -1
  40. package/dist/lib/{types.js → component/playground/types.js} +0 -28
  41. package/dist/lib/{utils → component}/replay-scripts.js +4 -3
  42. package/dist/lib/component/{shiny-text/index.js → shiny-text.js} +1 -1
  43. package/dist/lib/index.js +34 -66
  44. package/dist/lib/{icons/avatar.js → init.js} +12 -16
  45. package/dist/types/component/{blackboard/index.d.ts → blackboard.d.ts} +2 -2
  46. package/dist/types/component/{github-star/index.d.ts → github-star.d.ts} +1 -1
  47. package/dist/types/component/{logo/index.d.ts → logo.d.ts} +1 -1
  48. package/dist/types/component/misc.d.ts +2 -0
  49. package/dist/types/component/{player/index.d.ts → player.d.ts} +2 -2
  50. package/dist/types/component/{config-selector/index.d.ts → playground/ConfigSelector.d.ts} +1 -0
  51. package/dist/types/component/{context-preview/index.d.ts → playground/ContextPreview.d.ts} +1 -0
  52. package/dist/types/component/{history-selector/index.d.ts → playground/HistorySelector.d.ts} +1 -1
  53. package/dist/types/component/{playground-result/index.d.ts → playground/PlaygroundResult.d.ts} +4 -3
  54. package/dist/types/component/{prompt-input/index.d.ts → playground/PromptInput.d.ts} +2 -3
  55. package/dist/types/component/{service-mode-control/index.d.ts → playground/ServiceModeControl.d.ts} +1 -0
  56. package/dist/types/{utils/constants.d.ts → component/playground/playground-constants.d.ts} +1 -0
  57. package/dist/types/component/playground/playground-types.d.ts +19 -0
  58. package/dist/types/component/playground/types.d.ts +72 -0
  59. package/dist/types/{utils → component}/replay-scripts.d.ts +1 -0
  60. package/dist/types/component/{shiny-text/index.d.ts → shiny-text.d.ts} +1 -1
  61. package/dist/types/index.d.ts +10 -15
  62. package/dist/types/init.d.ts +1 -0
  63. package/package.json +5 -10
  64. package/dist/es/browser.mjs +0 -18
  65. package/dist/es/component/history-selector/index.css +0 -132
  66. package/dist/es/component/index.mjs +0 -1
  67. package/dist/es/component/playground/index.mjs +0 -8
  68. package/dist/es/component/playground-result/index.css +0 -29
  69. package/dist/es/component/prompt-input/index.css +0 -330
  70. package/dist/es/component/universal-playground/index.css +0 -341
  71. package/dist/es/component/universal-playground/index.mjs +0 -273
  72. package/dist/es/component/universal-playground/providers/context-provider.mjs +0 -52
  73. package/dist/es/component/universal-playground/providers/storage-provider.mjs +0 -107
  74. package/dist/es/hooks/usePlaygroundExecution.mjs +0 -170
  75. package/dist/es/hooks/usePlaygroundState.mjs +0 -173
  76. package/dist/es/icons/avatar.mjs +0 -14
  77. package/dist/lib/browser.js +0 -132
  78. package/dist/lib/component/history-selector/index.css +0 -132
  79. package/dist/lib/component/index.js +0 -60
  80. package/dist/lib/component/playground/index.js +0 -113
  81. package/dist/lib/component/playground-result/index.css +0 -29
  82. package/dist/lib/component/prompt-input/index.css +0 -330
  83. package/dist/lib/component/universal-playground/index.css +0 -341
  84. package/dist/lib/component/universal-playground/index.js +0 -321
  85. package/dist/lib/component/universal-playground/providers/context-provider.js +0 -95
  86. package/dist/lib/component/universal-playground/providers/storage-provider.js +0 -147
  87. package/dist/lib/hooks/usePlaygroundExecution.js +0 -204
  88. package/dist/lib/hooks/usePlaygroundState.js +0 -207
  89. package/dist/types/browser.d.ts +0 -19
  90. package/dist/types/component/index.d.ts +0 -1
  91. package/dist/types/component/misc/index.d.ts +0 -6
  92. package/dist/types/component/playground/index.d.ts +0 -7
  93. package/dist/types/component/universal-playground/index.d.ts +0 -4
  94. package/dist/types/component/universal-playground/providers/context-provider.d.ts +0 -37
  95. package/dist/types/component/universal-playground/providers/storage-provider.d.ts +0 -33
  96. package/dist/types/hooks/usePlaygroundExecution.d.ts +0 -10
  97. package/dist/types/hooks/usePlaygroundState.d.ts +0 -26
  98. package/dist/types/types.d.ts +0 -166
  99. /package/dist/es/component/{blackboard/index.css → blackboard.css} +0 -0
  100. /package/dist/es/{utils → component}/color.mjs +0 -0
  101. /package/dist/es/component/{github-star/index.css → github-star.css} +0 -0
  102. /package/dist/es/component/{logo/index.css → logo.css} +0 -0
  103. /package/dist/es/{utils → component}/pixi-loader.mjs +0 -0
  104. /package/dist/es/component/{player/index.css → player.css} +0 -0
  105. /package/dist/es/component/{form-field/index.mjs → playground/FormField.mjs} +0 -0
  106. /package/dist/es/{hooks → component/playground}/useServerValid.mjs +0 -0
  107. /package/dist/es/component/{playground/playground-demo-ui-context.json → playground-demo-ui-context.json} +0 -0
  108. /package/dist/es/component/{shiny-text/index.css → shiny-text.css} +0 -0
  109. /package/dist/es/{store → component/store}/history.mjs +0 -0
  110. /package/dist/es/{store → component/store}/store.mjs +0 -0
  111. /package/dist/es/{utils/index.mjs → utils.mjs} +0 -0
  112. /package/dist/lib/component/{blackboard/index.css → blackboard.css} +0 -0
  113. /package/dist/lib/{utils → component}/color.js +0 -0
  114. /package/dist/lib/component/{github-star/index.css → github-star.css} +0 -0
  115. /package/dist/lib/component/{logo/index.css → logo.css} +0 -0
  116. /package/dist/lib/{utils → component}/pixi-loader.js +0 -0
  117. /package/dist/lib/component/{player/index.css → player.css} +0 -0
  118. /package/dist/lib/component/{form-field/index.js → playground/FormField.js} +0 -0
  119. /package/dist/lib/{hooks → component/playground}/useServerValid.js +0 -0
  120. /package/dist/lib/component/{playground/playground-demo-ui-context.json → playground-demo-ui-context.json} +0 -0
  121. /package/dist/lib/component/{shiny-text/index.css → shiny-text.css} +0 -0
  122. /package/dist/lib/{store → component/store}/history.js +0 -0
  123. /package/dist/lib/{store → component/store}/store.js +0 -0
  124. /package/dist/lib/{utils/index.js → utils.js} +0 -0
  125. /package/dist/types/{utils → component}/color.d.ts +0 -0
  126. /package/dist/types/component/{env-config/index.d.ts → env-config.d.ts} +0 -0
  127. /package/dist/types/{utils → component}/pixi-loader.d.ts +0 -0
  128. /package/dist/types/component/{form-field/index.d.ts → playground/FormField.d.ts} +0 -0
  129. /package/dist/types/{utils → component/playground}/playground-utils.d.ts +0 -0
  130. /package/dist/types/{hooks → component/playground}/useServerValid.d.ts +0 -0
  131. /package/dist/types/{store → component/store}/history.d.ts +0 -0
  132. /package/dist/types/{store → component/store}/store.d.ts +0 -0
  133. /package/dist/types/{utils/index.d.ts → utils.d.ts} +0 -0
@@ -1,330 +0,0 @@
1
- .prompt-input-wrapper {
2
- width: 100%;
3
- }
4
-
5
- .prompt-input-wrapper .mode-radio-group-wrapper {
6
- justify-content: space-between;
7
- align-items: center;
8
- display: flex;
9
- }
10
-
11
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group {
12
- align-items: center;
13
- height: 100%;
14
- display: flex;
15
- }
16
-
17
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .ant-radio-button-wrapper {
18
- height: 24px;
19
- box-shadow: none;
20
- background-color: #f7f7f7;
21
- border: none;
22
- border-radius: 11px;
23
- margin-right: 8px;
24
- padding: 0 8px;
25
- font-size: 12px;
26
- line-height: 24px;
27
- }
28
-
29
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .ant-radio-button-wrapper:before {
30
- display: none;
31
- }
32
-
33
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .ant-radio-button-wrapper:focus-within {
34
- outline: none;
35
- }
36
-
37
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .ant-radio-button-wrapper.ant-radio-button-wrapper-checked {
38
- color: #fff;
39
- background-color: #2b83ff;
40
- border-color: #2b83ff;
41
- }
42
-
43
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .ant-radio-button-wrapper.ant-radio-button-wrapper-checked:hover {
44
- color: #fff;
45
- }
46
-
47
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .more-apis-button {
48
- height: 24px;
49
- box-shadow: none;
50
- background-color: #f7f7f7;
51
- border: none;
52
- border-radius: 11px;
53
- align-items: center;
54
- gap: 2px;
55
- max-width: 160px;
56
- padding: 0 8px;
57
- font-size: 12px;
58
- display: inline-flex;
59
- }
60
-
61
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .more-apis-button .ant-btn-content {
62
- text-overflow: ellipsis;
63
- white-space: nowrap;
64
- overflow: hidden;
65
- }
66
-
67
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .more-apis-button:hover {
68
- background-color: #e6e6e6;
69
- }
70
-
71
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .more-apis-button.selected-from-dropdown {
72
- color: #fff;
73
- background-color: #2b83ff;
74
- font-weight: 500;
75
- }
76
-
77
- .prompt-input-wrapper .mode-radio-group-wrapper .mode-radio-group .more-apis-button.selected-from-dropdown:hover {
78
- background-color: #2b83ff;
79
- }
80
-
81
- .prompt-input-wrapper .mode-radio-group-wrapper .action-icons {
82
- align-items: center;
83
- display: flex;
84
- }
85
-
86
- .prompt-input-wrapper .main-side-console-input {
87
- margin-top: 10px;
88
- position: relative;
89
- }
90
-
91
- .prompt-input-wrapper .main-side-console-input .main-side-console-input-textarea {
92
- white-space: pre-wrap;
93
- scrollbar-width: thin;
94
- background: #fff;
95
- border: 1px solid #f2f4f7;
96
- border-radius: 12px;
97
- padding: 12px 16px;
98
- line-height: 21px;
99
- transition: background-color .2s;
100
- overflow-y: auto;
101
- }
102
-
103
- @keyframes hue-shift {
104
- 0% {
105
- filter: hue-rotate();
106
- }
107
-
108
- 100% {
109
- filter: hue-rotate(360deg);
110
- }
111
- }
112
-
113
- .prompt-input-wrapper .main-side-console-input .main-side-console-input-textarea:focus-within {
114
- background: linear-gradient(#fff, #fff) padding-box padding-box, linear-gradient(135deg, #4285f4 0%, #06f 25%, #7b02c5 50%, #ea4335 75%, #ff7043 100%) border-box;
115
- border: 1px solid rgba(0, 0, 0, 0);
116
- }
117
-
118
- .prompt-input-wrapper .main-side-console-input .main-side-console-input-textarea::-webkit-scrollbar {
119
- width: 6px;
120
- }
121
-
122
- .prompt-input-wrapper .main-side-console-input .main-side-console-input-textarea::-webkit-scrollbar-thumb {
123
- background-color: rgba(0, 0, 0, .2);
124
- border-radius: 3px;
125
- }
126
-
127
- .prompt-input-wrapper .main-side-console-input.loading .main-side-console-input-textarea {
128
- background: linear-gradient(#fff, #fff) padding-box padding-box, linear-gradient(135deg, #4285f4 0%, #06f 25%, #7b02c5 50%, #ea4335 75%, #ff7043 100%) border-box;
129
- border: 1px solid rgba(0, 0, 0, 0);
130
- animation: 5s linear infinite hue-shift;
131
- }
132
-
133
- .prompt-input-wrapper .main-side-console-input .ant-form-item-control-input-content {
134
- z-index: 999;
135
- border: 3px solid rgba(0, 0, 0, 0);
136
- border-radius: 14px;
137
- }
138
-
139
- .prompt-input-wrapper .main-side-console-input:focus-within .ant-form-item-control-input-content {
140
- border-color: rgba(43, 131, 255, .16);
141
- }
142
-
143
- .prompt-input-wrapper .main-side-console-input.disabled .form-controller-wrapper {
144
- background-color: rgba(0, 0, 0, 0);
145
- }
146
-
147
- .prompt-input-wrapper .ant-form-item-with-help + .form-controller-wrapper {
148
- bottom: 22px;
149
- }
150
-
151
- .prompt-input-wrapper .ant-input {
152
- padding-bottom: 40px;
153
- }
154
-
155
- .prompt-input-wrapper .form-controller-wrapper {
156
- box-sizing: border-box;
157
- background-color: #fff;
158
- flex-direction: row;
159
- justify-content: flex-end;
160
- align-items: flex-end;
161
- gap: 8px;
162
- width: calc(100% - 32px);
163
- padding: 12px 0;
164
- line-height: 32px;
165
- transition: background-color .2s;
166
- display: flex;
167
- position: absolute;
168
- bottom: 1px;
169
- left: 16px;
170
- }
171
-
172
- .prompt-input-wrapper .settings-wrapper {
173
- color: #777;
174
- flex-flow: wrap;
175
- gap: 2px;
176
- display: flex;
177
- }
178
-
179
- .prompt-input-wrapper .settings-wrapper.settings-wrapper-hover {
180
- color: #3b3b3b;
181
- }
182
-
183
- .prompt-input-wrapper .structured-params-container {
184
- background: linear-gradient(#fff, #fff) padding-box padding-box, linear-gradient(135deg, #4285f4 0%, #06f 25%, #7b02c5 50%, #ea4335 75%, #ff7043 100%) border-box;
185
- border: 1px solid rgba(0, 0, 0, 0);
186
- border-radius: 12px;
187
- padding: 16px 16px 56px;
188
- }
189
-
190
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item {
191
- flex-direction: column;
192
- display: flex;
193
- }
194
-
195
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-label {
196
- text-align: left;
197
- flex-basis: auto;
198
- padding-bottom: 4px;
199
- }
200
-
201
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-label > label {
202
- color: rgba(0, 0, 0, .85);
203
- height: auto;
204
- font-size: 12px;
205
- font-weight: 500;
206
- line-height: 1.5;
207
- }
208
-
209
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-label > label:after {
210
- color: #ff4d4f;
211
- font-family: SimSun, sans-serif;
212
- font-size: 12px;
213
- line-height: 1;
214
- display: inline-block;
215
- }
216
-
217
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-label > label:not(:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):after {
218
- margin-left: 4px;
219
- }
220
-
221
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-label > label:not(:-moz-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):after {
222
- margin-left: 4px;
223
- }
224
-
225
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-label > label:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))):after {
226
- margin-left: 4px;
227
- }
228
-
229
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-label > label:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)):after {
230
- margin-right: 4px;
231
- }
232
-
233
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-label > label:-moz-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)):after {
234
- margin-right: 4px;
235
- }
236
-
237
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-label > label:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)):after {
238
- margin-right: 4px;
239
- }
240
-
241
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-control {
242
- flex: 1;
243
- margin-top: 0;
244
- }
245
-
246
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-row {
247
- flex-direction: column;
248
- }
249
-
250
- .prompt-input-wrapper .structured-params-container .structured-params .ant-form-item .ant-form-item-control-input {
251
- min-height: auto;
252
- }
253
-
254
- .prompt-input-wrapper .structured-params-container .structured-params .ant-input, .prompt-input-wrapper .structured-params-container .structured-params .ant-input-number, .prompt-input-wrapper .structured-params-container .structured-params .ant-select {
255
- border: 1px solid #e1e5e9;
256
- border-radius: 6px;
257
- width: 100%;
258
- }
259
-
260
- .prompt-input-wrapper .structured-params-container .structured-params .ant-input:hover, .prompt-input-wrapper .structured-params-container .structured-params .ant-input-number:hover, .prompt-input-wrapper .structured-params-container .structured-params .ant-select:hover {
261
- border-color: #40a9ff;
262
- }
263
-
264
- .prompt-input-wrapper .structured-params-container .structured-params .ant-input:focus, .prompt-input-wrapper .structured-params-container .structured-params .ant-input-number:focus, .prompt-input-wrapper .structured-params-container .structured-params .ant-select:focus, .prompt-input-wrapper .structured-params-container .structured-params .ant-input:focus-within, .prompt-input-wrapper .structured-params-container .structured-params .ant-input-number:focus-within, .prompt-input-wrapper .structured-params-container .structured-params .ant-select:focus-within {
265
- border-color: #40a9ff;
266
- box-shadow: 0 0 0 2px rgba(24, 144, 255, .2);
267
- }
268
-
269
- .prompt-input-wrapper .structured-params-container .structured-params textarea.ant-input {
270
- padding-bottom: 5px;
271
- }
272
-
273
- .prompt-input-wrapper .structured-params-container .structured-params .ant-input-number .ant-input-number-input {
274
- box-shadow: none;
275
- border: none;
276
- }
277
-
278
- .prompt-input-wrapper .structured-params-container .structured-params .ant-input-number:hover .ant-input-number-input {
279
- box-shadow: none;
280
- }
281
-
282
- .prompt-input-wrapper .structured-params-container .structured-params .ant-select {
283
- min-width: 120px;
284
- }
285
-
286
- .prompt-input-wrapper .structured-params-container .structured-params .ant-select .ant-select-selector {
287
- box-shadow: none;
288
- border: none;
289
- }
290
-
291
- .prompt-input-wrapper .structured-params-container .structured-params .ant-select:hover .ant-select-selector, .prompt-input-wrapper .structured-params-container .structured-params .ant-select.ant-select-focused .ant-select-selector {
292
- box-shadow: none;
293
- }
294
-
295
- .prompt-input-wrapper .structured-params-container .structured-params .ant-radio-group {
296
- width: 100%;
297
- }
298
-
299
- .prompt-input-wrapper .structured-params-container .structured-params .ant-radio-group .ant-radio-button-wrapper {
300
- border: 1px solid #e1e5e9;
301
- border-radius: 6px;
302
- height: 32px;
303
- margin-right: 4px;
304
- font-size: 12px;
305
- line-height: 30px;
306
- }
307
-
308
- .prompt-input-wrapper .structured-params-container .structured-params .ant-radio-group .ant-radio-button-wrapper.ant-radio-button-wrapper-checked {
309
- color: #fff;
310
- background-color: #2b83ff;
311
- border-color: #2b83ff;
312
- }
313
-
314
- .selector-trigger {
315
- cursor: pointer;
316
- width: 24px;
317
- height: 24px;
318
- transition: all .2s;
319
- }
320
-
321
- .selector-trigger .action-icon {
322
- color: rgba(0, 0, 0, .85);
323
- font-size: 14px;
324
- transition: all .2s;
325
- }
326
-
327
- .selector-trigger .action-icon:hover {
328
- color: #2b83ff;
329
- }
330
-
@@ -1,341 +0,0 @@
1
- .playground-container {
2
- background: #fff;
3
- flex-direction: column;
4
- width: 100%;
5
- height: 100vh;
6
- padding: 0 12px;
7
- display: flex;
8
- }
9
-
10
- .playground-container .command-form {
11
- flex-direction: column;
12
- width: 100%;
13
- height: 100%;
14
- display: flex;
15
- }
16
-
17
- .playground-container .context-preview-section {
18
- border-bottom: 1px solid #f0f0f0;
19
- flex-shrink: 0;
20
- padding: 16px;
21
- }
22
-
23
- .playground-container .middle-dialog-area {
24
- flex-direction: column;
25
- flex: 1;
26
- min-height: 0;
27
- display: flex;
28
- position: relative;
29
- overflow: hidden;
30
- }
31
-
32
- .playground-container .middle-dialog-area .clear-button-container {
33
- z-index: 10;
34
- position: absolute;
35
- top: 8px;
36
- right: 12px;
37
- }
38
-
39
- .playground-container .middle-dialog-area .clear-button-container .clear-button {
40
- opacity: .7;
41
- transition: opacity .2s;
42
- }
43
-
44
- .playground-container .middle-dialog-area .clear-button-container .clear-button:hover {
45
- opacity: 1;
46
- }
47
-
48
- .playground-container .middle-dialog-area .info-list-container {
49
- scrollbar-width: none;
50
- flex: 1;
51
- padding-top: 16px;
52
- padding-bottom: 16px;
53
- overflow-x: hidden;
54
- overflow-y: auto;
55
- }
56
-
57
- .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-item {
58
- border-bottom: none;
59
- padding: 0;
60
- }
61
-
62
- .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-item .ant-card {
63
- border: 1px solid #f0f0f0;
64
- border-radius: 8px;
65
- box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
66
- }
67
-
68
- .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-item .ant-card:hover {
69
- box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
70
- }
71
-
72
- .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-item .ant-card .ant-card-body {
73
- padding: 12px;
74
- }
75
-
76
- .playground-container .middle-dialog-area .info-list-container .ant-list .ant-list-empty-text {
77
- color: #999;
78
- font-style: italic;
79
- }
80
-
81
- .playground-container .middle-dialog-area .info-list-container::-webkit-scrollbar {
82
- display: none;
83
- }
84
-
85
- .playground-container .middle-dialog-area .info-list-container .list-item {
86
- background: none;
87
- border: none;
88
- padding: 0;
89
- }
90
-
91
- .playground-container .middle-dialog-area .scroll-to-bottom-button {
92
- z-index: 10;
93
- background: #fff;
94
- position: absolute;
95
- bottom: 10px;
96
- right: 0;
97
- box-shadow: 0 4px 8px rgba(0, 0, 0, .04);
98
- }
99
-
100
- .playground-container .middle-dialog-area .scroll-to-bottom-button:hover {
101
- background: #1890ff;
102
- }
103
-
104
- .playground-container .middle-dialog-area .scroll-to-bottom-button:hover .anticon {
105
- color: #fff;
106
- }
107
-
108
- .playground-container .middle-dialog-area .scroll-to-bottom-button .anticon {
109
- color: #333;
110
- font-size: 16px;
111
- }
112
-
113
- .playground-container .user-message-container {
114
- justify-content: flex-end;
115
- width: 100%;
116
- margin: 20px 0 30px;
117
- display: flex;
118
- }
119
-
120
- .playground-container .user-message-container .user-message-bubble {
121
- color: rgba(0, 0, 0, .85);
122
- text-align: center;
123
- background: #f2f4f7;
124
- border-radius: 12px;
125
- max-width: 80%;
126
- padding: 12px 16px;
127
- font-size: 14px;
128
- font-weight: 400;
129
- display: inline-block;
130
- }
131
-
132
- .playground-container .progress-action-item {
133
- color: #000;
134
- background: #f2f4f7;
135
- border-radius: 8px;
136
- justify-content: space-between;
137
- height: 36px;
138
- margin: 4px 0;
139
- padding: 0 12px;
140
- font-size: 14px;
141
- line-height: 36px;
142
- display: flex;
143
- }
144
-
145
- .playground-container .progress-action-item .progress-status-icon {
146
- margin-left: 4px;
147
- }
148
-
149
- .playground-container .progress-action-item .progress-status-icon.loading {
150
- color: #1890ff;
151
- }
152
-
153
- .playground-container .progress-action-item .progress-status-icon.completed {
154
- color: #52c41a;
155
- }
156
-
157
- .playground-container .progress-action-item .progress-status-icon.error {
158
- color: #ff4d4f;
159
- font-weight: bold;
160
- }
161
-
162
- .playground-container .progress-description {
163
- color: #000;
164
- padding: 8px 0;
165
- font-size: 14px;
166
- line-height: 22px;
167
- display: inline-block;
168
- }
169
-
170
- .playground-container .system-message-container {
171
- flex-direction: column;
172
- display: flex;
173
- }
174
-
175
- .playground-container .system-message-container .system-message-header {
176
- align-items: center;
177
- gap: 8px;
178
- margin: 12px 0;
179
- display: flex;
180
- }
181
-
182
- .playground-container .system-message-container .system-message-header .system-message-title {
183
- font-size: 12px;
184
- font-weight: 400;
185
- line-height: 100%;
186
- }
187
-
188
- .playground-container .system-message-container .system-message-content {
189
- color: rgba(0, 0, 0, .85);
190
- font-size: 14px;
191
- }
192
-
193
- .playground-container .system-message-container .system-message-content .system-message-text {
194
- color: rgba(0, 0, 0, .85);
195
- font-size: 14px;
196
- line-height: 25px;
197
- }
198
-
199
- .playground-container .system-message-container .system-message-content .error-message {
200
- color: #e51723;
201
- word-break: break-word;
202
- background-color: #fff;
203
- border: none;
204
- border-radius: 0;
205
- align-items: flex-start;
206
- margin-bottom: 16px;
207
- padding: 0;
208
- font-size: 14px;
209
- display: flex;
210
- }
211
-
212
- .playground-container .system-message-container .system-message-content .error-message .divider {
213
- background-color: #e6e8eb;
214
- flex-shrink: 0;
215
- align-self: stretch;
216
- width: 1px;
217
- min-height: 20px;
218
- margin: 0 8px 0 0;
219
- }
220
-
221
- .playground-container .system-message-container .system-message-content .loading-progress-text {
222
- color: #666;
223
- background: #f6f8fa;
224
- border-left: 3px solid #1890ff;
225
- border-radius: 4px;
226
- margin-top: 8px;
227
- padding: 8px 12px;
228
- font-size: 13px;
229
- }
230
-
231
- .playground-container .new-conversation-separator {
232
- flex-shrink: 0;
233
- justify-content: center;
234
- align-items: center;
235
- padding: 20px 0;
236
- display: flex;
237
- position: relative;
238
- }
239
-
240
- .playground-container .new-conversation-separator .separator-line {
241
- background-color: #e8e8e8;
242
- height: 1px;
243
- position: absolute;
244
- top: 50%;
245
- left: 0;
246
- right: 0;
247
- }
248
-
249
- .playground-container .new-conversation-separator .separator-text-container {
250
- z-index: 1;
251
- background-color: #fff;
252
- padding: 0 16px;
253
- position: relative;
254
- }
255
-
256
- .playground-container .new-conversation-separator .separator-text-container .separator-text {
257
- color: #999;
258
- background-color: #fff;
259
- font-size: 12px;
260
- }
261
-
262
- .playground-container .bottom-input-section {
263
- background-color: #fff;
264
- flex-shrink: 0;
265
- padding: 16px 0 0;
266
- }
267
-
268
- .playground-container .version-info-section {
269
- flex-shrink: 0;
270
- justify-content: center;
271
- align-items: center;
272
- height: 38px;
273
- display: flex;
274
- }
275
-
276
- .playground-container .version-text {
277
- color: #999;
278
- text-align: center;
279
- font-size: 12px;
280
- }
281
-
282
- .playground-container .hidden-result-ref {
283
- display: none;
284
- }
285
-
286
- .playground-container .playground-description {
287
- margin-bottom: 32px;
288
- }
289
-
290
- .playground-container .playground-description .description-zh {
291
- color: #333;
292
- margin: 0 0 8px;
293
- font-size: 16px;
294
- line-height: 1.5;
295
- }
296
-
297
- .playground-container .playground-description .description-en {
298
- color: #666;
299
- margin: 0;
300
- font-size: 14px;
301
- line-height: 1.5;
302
- }
303
-
304
- .playground-container .config-section {
305
- margin-bottom: 24px;
306
- }
307
-
308
- .playground-container .config-section .config-title {
309
- color: #333;
310
- margin: 0 0 16px;
311
- font-size: 18px;
312
- font-weight: 600;
313
- }
314
-
315
- .playground-container .config-section .config-item {
316
- align-items: center;
317
- gap: 8px;
318
- margin-bottom: 12px;
319
- display: flex;
320
- }
321
-
322
- .playground-container .config-section .config-item .config-check {
323
- color: #52c41a;
324
- font-size: 16px;
325
- }
326
-
327
- .playground-container .config-section .config-item .config-label {
328
- color: #333;
329
- font-size: 14px;
330
- }
331
-
332
- .playground-container .config-section .config-link {
333
- color: #1890ff;
334
- font-size: 14px;
335
- text-decoration: none;
336
- }
337
-
338
- .playground-container .config-section .config-link:hover {
339
- text-decoration: underline;
340
- }
341
-