codexmate 0.0.20 → 0.0.21
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.
- package/README.en.md +349 -259
- package/README.md +284 -252
- package/cli/agents-files.js +162 -0
- package/cli/archive-helpers.js +446 -0
- package/cli/auth-profiles.js +359 -0
- package/cli/builtin-proxy.js +580 -0
- package/cli/claude-proxy.js +998 -0
- package/cli/config-bootstrap.js +384 -0
- package/cli/config-health.js +338 -338
- package/cli/openclaw-config.js +629 -0
- package/cli/skills.js +1141 -0
- package/cli/zip-commands.js +510 -0
- package/cli.js +13101 -13497
- package/lib/cli-file-utils.js +151 -151
- package/lib/cli-models-utils.js +419 -311
- package/lib/cli-network-utils.js +164 -164
- package/lib/cli-path-utils.js +69 -0
- package/lib/cli-session-utils.js +121 -121
- package/lib/cli-sessions.js +386 -0
- package/lib/cli-utils.js +155 -155
- package/lib/download-artifacts.js +77 -0
- package/lib/mcp-stdio.js +440 -440
- package/lib/task-orchestrator.js +869 -0
- package/lib/text-diff.js +303 -303
- package/lib/workflow-engine.js +340 -340
- package/package.json +74 -70
- package/res/json5.min.js +1 -1
- package/res/vue.global.prod.js +13 -0
- package/web-ui/app.js +530 -397
- package/web-ui/index.html +33 -30
- package/web-ui/logic.agents-diff.mjs +386 -386
- package/web-ui/logic.claude.mjs +168 -108
- package/web-ui/logic.mjs +5 -5
- package/web-ui/logic.runtime.mjs +124 -124
- package/web-ui/logic.sessions.mjs +581 -263
- package/web-ui/modules/api.mjs +90 -69
- package/web-ui/modules/app.computed.dashboard.mjs +113 -113
- package/web-ui/modules/app.computed.index.mjs +15 -13
- package/web-ui/modules/app.computed.main-tabs.mjs +195 -0
- package/web-ui/modules/app.computed.session.mjs +507 -141
- package/web-ui/modules/app.constants.mjs +15 -15
- package/web-ui/modules/app.methods.agents.mjs +493 -493
- package/web-ui/modules/app.methods.claude-config.mjs +174 -174
- package/web-ui/modules/app.methods.codex-config.mjs +640 -640
- package/web-ui/modules/app.methods.index.mjs +88 -86
- package/web-ui/modules/app.methods.install.mjs +149 -157
- package/web-ui/modules/app.methods.navigation.mjs +619 -478
- package/web-ui/modules/app.methods.openclaw-core.mjs +814 -514
- package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -337
- package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -251
- package/web-ui/modules/app.methods.providers.mjs +363 -265
- package/web-ui/modules/app.methods.runtime.mjs +323 -323
- package/web-ui/modules/app.methods.session-actions.mjs +520 -457
- package/web-ui/modules/app.methods.session-browser.mjs +626 -435
- package/web-ui/modules/app.methods.session-timeline.mjs +448 -441
- package/web-ui/modules/app.methods.session-trash.mjs +422 -419
- package/web-ui/modules/app.methods.startup-claude.mjs +412 -406
- package/web-ui/modules/app.methods.task-orchestration.mjs +471 -0
- package/web-ui/modules/config-mode.computed.mjs +126 -124
- package/web-ui/modules/skills.computed.mjs +107 -107
- package/web-ui/modules/skills.methods.mjs +481 -481
- package/web-ui/partials/index/layout-footer.html +13 -69
- package/web-ui/partials/index/layout-header.html +402 -337
- package/web-ui/partials/index/modal-config-template-agents.html +125 -125
- package/web-ui/partials/index/modal-confirm-toast.html +32 -32
- package/web-ui/partials/index/modal-health-check.html +72 -72
- package/web-ui/partials/index/modal-openclaw-config.html +280 -275
- package/web-ui/partials/index/modal-skills.html +184 -184
- package/web-ui/partials/index/modals-basic.html +156 -196
- package/web-ui/partials/index/panel-config-claude.html +126 -100
- package/web-ui/partials/index/panel-config-codex.html +237 -237
- package/web-ui/partials/index/panel-config-openclaw.html +78 -84
- package/web-ui/partials/index/panel-docs.html +130 -0
- package/web-ui/partials/index/panel-market.html +174 -174
- package/web-ui/partials/index/panel-orchestration.html +397 -0
- package/web-ui/partials/index/panel-sessions.html +292 -387
- package/web-ui/partials/index/panel-settings.html +190 -166
- package/web-ui/partials/index/panel-usage.html +213 -0
- package/web-ui/session-helpers.mjs +559 -362
- package/web-ui/source-bundle.cjs +233 -233
- package/web-ui/styles/base-theme.css +271 -373
- package/web-ui/styles/controls-forms.css +360 -354
- package/web-ui/styles/docs-panel.css +182 -0
- package/web-ui/styles/feedback.css +108 -108
- package/web-ui/styles/health-check-dialog.css +144 -144
- package/web-ui/styles/layout-shell.css +376 -330
- package/web-ui/styles/modals-core.css +464 -449
- package/web-ui/styles/navigation-panels.css +348 -381
- package/web-ui/styles/openclaw-structured.css +266 -266
- package/web-ui/styles/responsive.css +450 -416
- package/web-ui/styles/sessions-list.css +400 -414
- package/web-ui/styles/sessions-preview.css +411 -405
- package/web-ui/styles/sessions-toolbar-trash.css +243 -243
- package/web-ui/styles/sessions-usage.css +628 -276
- package/web-ui/styles/skills-list.css +296 -298
- package/web-ui/styles/skills-market.css +335 -335
- package/web-ui/styles/task-orchestration.css +776 -0
- package/web-ui/styles/titles-cards.css +408 -407
- package/web-ui/styles.css +18 -16
- package/web-ui.html +17 -17
- package/res/screenshot.png +0 -0
- package/res/vue.global.js +0 -18552
|
@@ -1,354 +1,360 @@
|
|
|
1
|
-
/* ============================================
|
|
2
|
-
选择器 - 用于模型选择
|
|
3
|
-
============================================ */
|
|
4
|
-
.selector-section {
|
|
5
|
-
background:
|
|
6
|
-
border-radius:
|
|
7
|
-
padding:
|
|
8
|
-
margin-bottom:
|
|
9
|
-
box-shadow:
|
|
10
|
-
border:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
.settings-tab-actions .btn-tool
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
flex-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
.selector-header .trash-header-actions > .btn-tool
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
.selector-header .trash-header-actions > .btn-tool
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
font-
|
|
79
|
-
|
|
80
|
-
text-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
border:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
border-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
background-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
background-color: var(--color-surface);
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
.btn-add
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
text-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.btn-tool:disabled
|
|
331
|
-
.btn-tool[disabled]
|
|
332
|
-
.
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
.btn-tool
|
|
337
|
-
.btn-tool
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
1
|
+
/* ============================================
|
|
2
|
+
选择器 - 用于模型选择
|
|
3
|
+
============================================ */
|
|
4
|
+
.selector-section {
|
|
5
|
+
background: transparent;
|
|
6
|
+
border-radius: 0;
|
|
7
|
+
padding: 12px 0 0;
|
|
8
|
+
margin-bottom: 12px;
|
|
9
|
+
box-shadow: none;
|
|
10
|
+
border: none;
|
|
11
|
+
border-top: 1px solid var(--color-border);
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: 6px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.selector-header {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
margin-bottom: 2px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.settings-tab-header {
|
|
25
|
+
justify-content: flex-end;
|
|
26
|
+
align-items: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.settings-tab-actions {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
gap: 8px;
|
|
33
|
+
justify-content: flex-end;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.settings-tab-actions .btn-tool,
|
|
37
|
+
.settings-tab-actions .btn-tool-compact {
|
|
38
|
+
width: auto;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.trash-header-actions {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
flex-wrap: nowrap;
|
|
45
|
+
align-items: stretch;
|
|
46
|
+
justify-content: flex-end;
|
|
47
|
+
width: auto;
|
|
48
|
+
max-width: 100%;
|
|
49
|
+
margin-left: auto;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.selector-header .trash-header-actions > .btn-tool,
|
|
53
|
+
.selector-header .trash-header-actions > .btn-tool-compact {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
align-self: stretch;
|
|
58
|
+
margin: 0;
|
|
59
|
+
width: auto;
|
|
60
|
+
min-width: 0;
|
|
61
|
+
max-width: 100%;
|
|
62
|
+
height: 32px;
|
|
63
|
+
min-height: 32px;
|
|
64
|
+
padding: 0 10px;
|
|
65
|
+
line-height: 1;
|
|
66
|
+
vertical-align: top;
|
|
67
|
+
position: relative;
|
|
68
|
+
top: 0;
|
|
69
|
+
white-space: nowrap;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.selector-header .trash-header-actions > .btn-tool:not(:disabled):hover,
|
|
73
|
+
.selector-header .trash-header-actions > .btn-tool-compact:not(:disabled):hover {
|
|
74
|
+
transform: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.selector-title {
|
|
78
|
+
font-size: 11px;
|
|
79
|
+
font-weight: var(--font-weight-secondary);
|
|
80
|
+
color: var(--color-text-muted);
|
|
81
|
+
text-transform: none;
|
|
82
|
+
letter-spacing: 0.03em;
|
|
83
|
+
opacity: 0.85;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.selector-actions {
|
|
87
|
+
display: flex;
|
|
88
|
+
gap: var(--spacing-xs);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.health-report {
|
|
92
|
+
margin-top: 10px;
|
|
93
|
+
padding: 10px 0 0;
|
|
94
|
+
border-radius: 0;
|
|
95
|
+
border: 1px solid var(--color-border);
|
|
96
|
+
border-width: 1px 0 0;
|
|
97
|
+
background: transparent;
|
|
98
|
+
display: grid;
|
|
99
|
+
gap: 8px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.health-remote-toggle {
|
|
103
|
+
display: inline-flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
gap: 8px;
|
|
106
|
+
font-size: var(--font-size-caption);
|
|
107
|
+
color: var(--color-text-secondary);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.health-remote-toggle input {
|
|
111
|
+
accent-color: var(--color-brand);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.health-ok {
|
|
115
|
+
color: var(--color-success);
|
|
116
|
+
font-weight: var(--font-weight-secondary);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.health-issue {
|
|
120
|
+
background: #FEF2F2;
|
|
121
|
+
border-left: 3px solid var(--color-error);
|
|
122
|
+
padding: 8px 10px;
|
|
123
|
+
border-radius: 8px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.health-issue-title {
|
|
127
|
+
font-size: var(--font-size-caption);
|
|
128
|
+
font-weight: var(--font-weight-secondary);
|
|
129
|
+
color: var(--color-text-primary);
|
|
130
|
+
margin-bottom: 4px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.health-issue-suggestion {
|
|
134
|
+
font-size: var(--font-size-caption);
|
|
135
|
+
color: var(--color-text-secondary);
|
|
136
|
+
line-height: 1.4;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.btn-icon {
|
|
140
|
+
width: 28px;
|
|
141
|
+
height: 28px;
|
|
142
|
+
border-radius: var(--radius-sm);
|
|
143
|
+
border: none;
|
|
144
|
+
background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
|
|
145
|
+
color: white;
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
font-size: 16px;
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
transition: all var(--transition-fast) var(--ease-spring);
|
|
152
|
+
box-shadow: 0 2px 4px rgba(210, 107, 90, 0.2);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.btn-icon:hover {
|
|
156
|
+
transform: translateY(-1px) scale(1.05);
|
|
157
|
+
box-shadow: 0 4px 8px rgba(210, 107, 90, 0.25);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.btn-icon:active {
|
|
161
|
+
transform: translateY(0) scale(0.98);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.model-select {
|
|
165
|
+
width: 100%;
|
|
166
|
+
min-height: 36px;
|
|
167
|
+
padding: 8px 10px;
|
|
168
|
+
padding-right: 34px;
|
|
169
|
+
border: 1px solid var(--color-border);
|
|
170
|
+
border-radius: 8px;
|
|
171
|
+
font-size: 13px;
|
|
172
|
+
font-weight: var(--font-weight-body);
|
|
173
|
+
background-color: var(--color-surface);
|
|
174
|
+
color: var(--color-text-primary);
|
|
175
|
+
outline: none;
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
appearance: none;
|
|
178
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23505A66' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
|
|
179
|
+
background-repeat: no-repeat;
|
|
180
|
+
background-position: right 14px center;
|
|
181
|
+
background-size: 12px;
|
|
182
|
+
transition: all var(--transition-fast) var(--ease-smooth);
|
|
183
|
+
box-shadow: none;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.model-select:hover {
|
|
187
|
+
border-color: var(--color-border-strong);
|
|
188
|
+
background-color: var(--color-surface);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.model-select:focus {
|
|
192
|
+
background-color: var(--color-surface);
|
|
193
|
+
border-color: var(--color-brand);
|
|
194
|
+
box-shadow: var(--shadow-input-focus);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.model-input {
|
|
198
|
+
width: 100%;
|
|
199
|
+
min-height: 36px;
|
|
200
|
+
padding: 8px 10px;
|
|
201
|
+
border: 1px solid var(--color-border);
|
|
202
|
+
border-radius: 8px;
|
|
203
|
+
font-size: 13px;
|
|
204
|
+
font-weight: var(--font-weight-body);
|
|
205
|
+
background-color: var(--color-surface);
|
|
206
|
+
color: var(--color-text-primary);
|
|
207
|
+
outline: none;
|
|
208
|
+
transition: all var(--transition-fast) var(--ease-smooth);
|
|
209
|
+
box-shadow: none;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.model-input:hover {
|
|
213
|
+
border-color: var(--color-border-strong);
|
|
214
|
+
background-color: var(--color-surface);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.model-input:focus {
|
|
218
|
+
background-color: var(--color-surface);
|
|
219
|
+
border-color: var(--color-brand);
|
|
220
|
+
box-shadow: var(--shadow-input-focus);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.config-template-hint {
|
|
224
|
+
margin-top: 6px;
|
|
225
|
+
margin-bottom: 4px;
|
|
226
|
+
font-size: 11px;
|
|
227
|
+
color: var(--color-text-tertiary);
|
|
228
|
+
line-height: 1.35;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.codex-config-grid {
|
|
232
|
+
display: grid;
|
|
233
|
+
gap: 10px;
|
|
234
|
+
grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
|
|
235
|
+
align-items: start;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.codex-config-field {
|
|
239
|
+
min-width: 0;
|
|
240
|
+
margin-bottom: 0;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.btn-template-editor {
|
|
244
|
+
width: 100%;
|
|
245
|
+
margin-top: 2px;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* ============================================
|
|
249
|
+
按钮
|
|
250
|
+
============================================ */
|
|
251
|
+
.btn-add {
|
|
252
|
+
width: 100%;
|
|
253
|
+
min-height: 38px;
|
|
254
|
+
padding: 8px 10px;
|
|
255
|
+
border: 1px dashed rgba(208, 196, 182, 0.55);
|
|
256
|
+
border-radius: 8px;
|
|
257
|
+
background: rgba(255, 255, 255, 0.22);
|
|
258
|
+
font-size: 13px;
|
|
259
|
+
font-weight: var(--font-weight-secondary);
|
|
260
|
+
color: var(--color-text-tertiary);
|
|
261
|
+
cursor: pointer;
|
|
262
|
+
transition: all var(--transition-normal) var(--ease-spring);
|
|
263
|
+
display: flex;
|
|
264
|
+
align-items: center;
|
|
265
|
+
justify-content: center;
|
|
266
|
+
gap: var(--spacing-xs);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.btn-add + .selector-section,
|
|
270
|
+
.selector-section + .btn-add,
|
|
271
|
+
.btn-add + .card-list,
|
|
272
|
+
.card-list + .btn-add {
|
|
273
|
+
margin-top: 8px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.btn-add:hover {
|
|
277
|
+
border-color: var(--color-brand);
|
|
278
|
+
color: var(--color-brand);
|
|
279
|
+
background: linear-gradient(to bottom, rgba(210, 107, 90, 0.05) 0%, rgba(210, 107, 90, 0.02) 100%);
|
|
280
|
+
transform: translateY(-1px);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.btn-add:active {
|
|
284
|
+
transform: translateY(0) scale(0.99);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.btn-add .icon {
|
|
288
|
+
width: 18px;
|
|
289
|
+
height: 18px;
|
|
290
|
+
transition: transform var(--transition-normal) var(--ease-spring);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.btn-add:hover .icon {
|
|
294
|
+
transform: rotate(90deg);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.btn-tool {
|
|
298
|
+
min-height: 36px;
|
|
299
|
+
padding: 8px 10px;
|
|
300
|
+
border-radius: 8px;
|
|
301
|
+
border: 1px solid var(--color-border-soft);
|
|
302
|
+
background: rgba(255, 255, 255, 0.72);
|
|
303
|
+
font-size: 13px;
|
|
304
|
+
font-weight: var(--font-weight-secondary);
|
|
305
|
+
color: var(--color-text-secondary);
|
|
306
|
+
cursor: pointer;
|
|
307
|
+
transition: all var(--transition-fast) var(--ease-spring);
|
|
308
|
+
box-shadow: none;
|
|
309
|
+
letter-spacing: -0.01em;
|
|
310
|
+
width: 100%;
|
|
311
|
+
text-align: center;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.selector-section .btn-tool + .btn-tool {
|
|
315
|
+
margin-left: 0;
|
|
316
|
+
margin-top: var(--spacing-xs);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.selector-header .trash-header-actions > .btn-tool + .btn-tool {
|
|
320
|
+
margin-top: 0;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.btn-tool:not(:disabled):hover {
|
|
324
|
+
border-color: var(--color-brand);
|
|
325
|
+
color: var(--color-brand);
|
|
326
|
+
transform: translateY(-1px);
|
|
327
|
+
box-shadow: 0 4px 8px rgba(210, 107, 90, 0.12);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.btn-tool:disabled,
|
|
331
|
+
.btn-tool[disabled] {
|
|
332
|
+
opacity: 0.6;
|
|
333
|
+
cursor: not-allowed;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.btn-tool:disabled:hover,
|
|
337
|
+
.btn-tool[disabled]:hover,
|
|
338
|
+
.btn-tool:disabled:active,
|
|
339
|
+
.btn-tool[disabled]:active,
|
|
340
|
+
.btn-tool-compact:disabled:hover,
|
|
341
|
+
.btn-tool-compact[disabled]:hover,
|
|
342
|
+
.btn-tool-compact:disabled:active,
|
|
343
|
+
.btn-tool-compact[disabled]:active {
|
|
344
|
+
border-color: var(--color-border-soft);
|
|
345
|
+
color: var(--color-text-secondary);
|
|
346
|
+
transform: none;
|
|
347
|
+
box-shadow: var(--shadow-subtle);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.btn-tool-compact {
|
|
351
|
+
padding: 7px 10px;
|
|
352
|
+
font-size: 12px;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.selector-header .btn-tool-compact {
|
|
356
|
+
padding: 5px 8px;
|
|
357
|
+
font-size: 11px;
|
|
358
|
+
line-height: 1.1;
|
|
359
|
+
box-shadow: none;
|
|
360
|
+
}
|