codexmate 0.0.27 → 0.0.28
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.md +421 -421
- package/README.zh.md +354 -354
- package/cli/agents-files.js +224 -224
- package/cli/archive-helpers.js +446 -446
- package/cli/auth-profiles.js +375 -375
- package/cli/builtin-proxy.js +1620 -1299
- package/cli/claude-proxy.js +1022 -1022
- package/cli/config-bootstrap.js +384 -384
- package/cli/config-health.js +338 -338
- package/cli/doctor-core.js +903 -903
- package/cli/import-skills-url.js +356 -356
- package/cli/openai-bridge.js +1489 -1091
- package/cli/openclaw-config.js +629 -629
- package/cli/session-convert-args.js +65 -65
- package/cli/session-convert-io.js +82 -82
- package/cli/session-convert.js +43 -43
- package/cli/session-usage.concurrent.js +28 -28
- package/cli/session-usage.js +118 -118
- package/cli/session-usage.models.js +176 -176
- package/cli/skills.js +1141 -1141
- package/cli/zip-commands.js +510 -510
- package/cli.js +15264 -15251
- package/lib/automation.js +404 -404
- package/lib/cli-file-utils.js +151 -151
- package/lib/cli-models-utils.js +440 -379
- package/lib/cli-network-utils.js +190 -190
- package/lib/cli-path-utils.js +85 -85
- package/lib/cli-session-utils.js +121 -121
- package/lib/cli-sessions.js +417 -417
- package/lib/cli-utils.js +155 -155
- package/lib/download-artifacts.js +92 -92
- package/lib/mcp-stdio.js +453 -453
- package/lib/task-orchestrator.js +869 -869
- package/lib/text-diff.js +303 -303
- package/lib/workflow-engine.js +340 -340
- package/package.json +3 -1
- package/plugins/README.md +20 -20
- package/plugins/README.zh-CN.md +20 -20
- package/plugins/prompt-templates/comment-polish/index.mjs +25 -25
- package/plugins/prompt-templates/computed.mjs +253 -253
- package/plugins/prompt-templates/index.mjs +8 -8
- package/plugins/prompt-templates/manifest.mjs +15 -15
- package/plugins/prompt-templates/methods.mjs +553 -619
- package/plugins/prompt-templates/overview.mjs +91 -90
- package/plugins/prompt-templates/ownership.mjs +19 -19
- package/plugins/prompt-templates/rule-ack/index.mjs +21 -21
- package/plugins/prompt-templates/storage.mjs +64 -64
- package/plugins/registry.mjs +16 -16
- package/web-ui/app.js +625 -634
- package/web-ui/index.html +35 -35
- package/web-ui/logic.agents-diff.mjs +386 -386
- package/web-ui/logic.claude.mjs +168 -168
- package/web-ui/logic.codex.mjs +56 -0
- package/web-ui/logic.mjs +5 -5
- package/web-ui/logic.runtime.mjs +128 -128
- package/web-ui/logic.session-convert.mjs +70 -70
- package/web-ui/logic.sessions.mjs +765 -765
- package/web-ui/modules/api.mjs +90 -90
- package/web-ui/modules/app.computed.dashboard.mjs +225 -171
- package/web-ui/modules/app.computed.index.mjs +17 -17
- package/web-ui/modules/app.computed.main-tabs.mjs +205 -205
- package/web-ui/modules/app.computed.session.mjs +994 -994
- package/web-ui/modules/app.constants.mjs +15 -15
- package/web-ui/modules/app.methods.agents.mjs +632 -632
- package/web-ui/modules/app.methods.claude-config.mjs +190 -184
- package/web-ui/modules/app.methods.codex-config.mjs +892 -860
- package/web-ui/modules/app.methods.index.mjs +92 -92
- package/web-ui/modules/app.methods.install.mjs +205 -205
- package/web-ui/modules/app.methods.navigation.mjs +743 -743
- package/web-ui/modules/app.methods.openclaw-core.mjs +814 -814
- package/web-ui/modules/app.methods.openclaw-editing.mjs +372 -372
- package/web-ui/modules/app.methods.openclaw-persist.mjs +369 -369
- package/web-ui/modules/app.methods.providers.mjs +412 -404
- package/web-ui/modules/app.methods.runtime.mjs +345 -345
- package/web-ui/modules/app.methods.session-actions.mjs +593 -596
- package/web-ui/modules/app.methods.session-browser.mjs +984 -989
- package/web-ui/modules/app.methods.session-timeline.mjs +479 -479
- package/web-ui/modules/app.methods.session-trash.mjs +439 -439
- package/web-ui/modules/app.methods.startup-claude.mjs +533 -526
- package/web-ui/modules/app.methods.task-orchestration.mjs +556 -556
- package/web-ui/modules/config-mode.computed.mjs +124 -124
- package/web-ui/modules/config-template-confirm-pref.mjs +33 -33
- package/web-ui/modules/i18n.dict.mjs +2109 -2131
- package/web-ui/modules/i18n.mjs +56 -56
- package/web-ui/modules/plugins.computed.mjs +3 -3
- package/web-ui/modules/plugins.methods.mjs +3 -3
- package/web-ui/modules/plugins.storage.mjs +11 -11
- package/web-ui/modules/provider-url-display.mjs +17 -0
- package/web-ui/modules/sessions-filters-url.mjs +85 -85
- 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 -13
- package/web-ui/partials/index/layout-header.html +475 -475
- package/web-ui/partials/index/modal-config-template-agents.html +174 -174
- package/web-ui/partials/index/modal-confirm-toast.html +32 -32
- package/web-ui/partials/index/modal-health-check.html +45 -45
- package/web-ui/partials/index/modal-openclaw-config.html +280 -280
- package/web-ui/partials/index/modal-skills.html +200 -200
- package/web-ui/partials/index/modals-basic.html +165 -165
- package/web-ui/partials/index/panel-config-claude.html +188 -187
- package/web-ui/partials/index/panel-config-codex.html +312 -283
- package/web-ui/partials/index/panel-config-openclaw.html +83 -83
- package/web-ui/partials/index/panel-dashboard.html +186 -186
- package/web-ui/partials/index/panel-docs.html +147 -147
- package/web-ui/partials/index/panel-market.html +177 -177
- package/web-ui/partials/index/panel-orchestration.html +391 -391
- package/web-ui/partials/index/panel-plugins.html +253 -279
- package/web-ui/partials/index/panel-sessions.html +316 -326
- package/web-ui/partials/index/panel-settings.html +253 -274
- package/web-ui/partials/index/panel-usage.html +371 -371
- package/web-ui/res/json5.min.js +1 -1
- package/web-ui/res/vue.global.prod.js +13 -13
- package/web-ui/session-helpers.mjs +576 -576
- package/web-ui/source-bundle.cjs +233 -233
- package/web-ui/styles/base-theme.css +281 -268
- package/web-ui/styles/controls-forms.css +422 -423
- package/web-ui/styles/dashboard.css +274 -274
- package/web-ui/styles/docs-panel.css +247 -247
- 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 +606 -603
- package/web-ui/styles/modals-core.css +466 -464
- package/web-ui/styles/navigation-panels.css +391 -390
- package/web-ui/styles/openclaw-structured.css +266 -266
- package/web-ui/styles/plugins-panel.css +523 -523
- package/web-ui/styles/responsive.css +454 -454
- package/web-ui/styles/sessions-list.css +419 -415
- package/web-ui/styles/sessions-preview.css +411 -411
- package/web-ui/styles/sessions-toolbar-trash.css +330 -330
- package/web-ui/styles/sessions-usage.css +1040 -1040
- package/web-ui/styles/settings-panel.css +185 -185
- package/web-ui/styles/skills-list.css +303 -303
- package/web-ui/styles/skills-market.css +406 -406
- package/web-ui/styles/task-orchestration.css +822 -822
- package/web-ui/styles/titles-cards.css +472 -408
- package/web-ui/styles.css +21 -21
- package/web-ui.html +17 -17
|
@@ -1,464 +1,466 @@
|
|
|
1
|
-
/* ============================================
|
|
2
|
-
模态框
|
|
3
|
-
============================================ */
|
|
4
|
-
@keyframes modalFadeIn {
|
|
5
|
-
from { opacity: 0; }
|
|
6
|
-
to { opacity: 1; }
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@keyframes modalSlideUp {
|
|
10
|
-
from { transform: translateY(24px); opacity: 0; }
|
|
11
|
-
to { transform: translateY(0); opacity: 1; }
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.modal-overlay {
|
|
15
|
-
position: fixed;
|
|
16
|
-
top: 0;
|
|
17
|
-
left: 0;
|
|
18
|
-
right: 0;
|
|
19
|
-
bottom: 0;
|
|
20
|
-
background:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
flex
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
.form-input.invalid
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
background-
|
|
288
|
-
background-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
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
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
1
|
+
/* ============================================
|
|
2
|
+
模态框
|
|
3
|
+
============================================ */
|
|
4
|
+
@keyframes modalFadeIn {
|
|
5
|
+
from { opacity: 0; }
|
|
6
|
+
to { opacity: 1; }
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@keyframes modalSlideUp {
|
|
10
|
+
from { transform: translateY(24px); opacity: 0; }
|
|
11
|
+
to { transform: translateY(0); opacity: 1; }
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.modal-overlay {
|
|
15
|
+
position: fixed;
|
|
16
|
+
top: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
right: 0;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
background:
|
|
21
|
+
radial-gradient(circle at 50% 18%, rgba(255, 248, 241, 0.22), rgba(255, 248, 241, 0) 36%),
|
|
22
|
+
linear-gradient(to bottom, rgba(31, 26, 23, 0.28) 0%, rgba(31, 26, 23, 0.48) 100%);
|
|
23
|
+
display: flex;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
z-index: 100;
|
|
27
|
+
backdrop-filter: blur(8px) saturate(180%);
|
|
28
|
+
-webkit-backdrop-filter: blur(8px) saturate(180%);
|
|
29
|
+
animation: modalFadeIn var(--transition-normal) var(--ease-out-expo);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.modal {
|
|
33
|
+
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96) 0%, rgba(255, 250, 246, 0.94) 100%);
|
|
34
|
+
width: 90%;
|
|
35
|
+
max-width: 400px;
|
|
36
|
+
max-height: 90vh;
|
|
37
|
+
overflow-y: auto;
|
|
38
|
+
overscroll-behavior: contain;
|
|
39
|
+
border-radius: var(--radius-xl);
|
|
40
|
+
padding: var(--spacing-md);
|
|
41
|
+
box-shadow: var(--shadow-modal);
|
|
42
|
+
border: 1px solid rgba(255, 255, 255, 0.72);
|
|
43
|
+
animation: modalSlideUp var(--transition-slow) var(--ease-spring);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.modal-wide {
|
|
47
|
+
max-width: 980px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.modal-editor {
|
|
51
|
+
width: min(96vw, 980px);
|
|
52
|
+
max-height: calc(100vh - 24px);
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
padding: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.agents-modal {
|
|
60
|
+
width: min(92vw, 900px);
|
|
61
|
+
max-height: calc(100vh - 56px);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.modal-editor-header {
|
|
65
|
+
margin-bottom: 0;
|
|
66
|
+
padding: var(--spacing-md) var(--spacing-md) 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.modal-editor-body {
|
|
70
|
+
flex: 1;
|
|
71
|
+
min-height: 0;
|
|
72
|
+
overflow-y: auto;
|
|
73
|
+
padding: var(--spacing-sm) var(--spacing-md) 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.modal-editor-footer {
|
|
77
|
+
margin-top: 0;
|
|
78
|
+
padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
|
|
79
|
+
border-top: 1px solid var(--color-border-soft);
|
|
80
|
+
background: linear-gradient(to bottom, rgba(255, 250, 246, 0.78) 0%, rgba(255, 250, 246, 0.96) 100%);
|
|
81
|
+
backdrop-filter: blur(10px);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.modal-title {
|
|
85
|
+
font-size: var(--font-size-title);
|
|
86
|
+
font-weight: var(--font-weight-title);
|
|
87
|
+
margin-bottom: var(--spacing-md);
|
|
88
|
+
color: var(--color-text-primary);
|
|
89
|
+
letter-spacing: -0.01em;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.confirm-dialog {
|
|
93
|
+
max-width: 460px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.confirm-dialog-message {
|
|
97
|
+
font-size: var(--font-size-body);
|
|
98
|
+
line-height: 1.7;
|
|
99
|
+
color: var(--color-text-secondary);
|
|
100
|
+
white-space: pre-wrap;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.confirm-dialog-actions {
|
|
104
|
+
margin-top: var(--spacing-lg);
|
|
105
|
+
justify-content: flex-end;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.install-list {
|
|
109
|
+
display: flex;
|
|
110
|
+
flex-direction: column;
|
|
111
|
+
gap: var(--spacing-sm);
|
|
112
|
+
margin-top: var(--spacing-sm);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.install-row {
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: center;
|
|
118
|
+
gap: var(--spacing-sm);
|
|
119
|
+
padding: 10px 12px;
|
|
120
|
+
border: 1px solid var(--color-border-soft);
|
|
121
|
+
border-radius: var(--radius-md);
|
|
122
|
+
background: rgba(255, 255, 255, 0.48);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.install-row-main {
|
|
126
|
+
flex: 1;
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
gap: 6px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.install-row-title {
|
|
133
|
+
font-size: var(--font-size-secondary);
|
|
134
|
+
color: var(--color-text-secondary);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.install-command {
|
|
138
|
+
flex: 1;
|
|
139
|
+
font-family: var(--font-family-mono);
|
|
140
|
+
font-size: var(--font-size-secondary);
|
|
141
|
+
color: var(--color-text-primary);
|
|
142
|
+
word-break: break-all;
|
|
143
|
+
background: rgba(255, 255, 255, 0.72);
|
|
144
|
+
padding: 8px 10px;
|
|
145
|
+
border-radius: var(--radius-sm);
|
|
146
|
+
border: 1px solid var(--color-border-soft);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.install-row .btn-mini {
|
|
150
|
+
white-space: nowrap;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.install-action-tabs {
|
|
154
|
+
display: flex;
|
|
155
|
+
gap: var(--spacing-xs);
|
|
156
|
+
flex-wrap: wrap;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.install-action-tabs .btn-mini.active {
|
|
160
|
+
background: var(--color-brand-light);
|
|
161
|
+
border-color: rgba(200, 121, 99, 0.22);
|
|
162
|
+
color: var(--color-brand-dark);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.install-registry-input {
|
|
166
|
+
width: 100%;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.install-registry-hint {
|
|
170
|
+
width: 100%;
|
|
171
|
+
margin-top: 2px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.install-help {
|
|
175
|
+
margin-top: var(--spacing-sm);
|
|
176
|
+
border-top: 1px dashed var(--color-border-soft);
|
|
177
|
+
padding-top: var(--spacing-sm);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.install-help-list {
|
|
181
|
+
margin: 6px 0 0;
|
|
182
|
+
padding-left: 18px;
|
|
183
|
+
color: var(--color-text-secondary);
|
|
184
|
+
font-size: var(--font-size-secondary);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.install-help-list li + li {
|
|
188
|
+
margin-top: 4px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.modal-header {
|
|
192
|
+
display: flex;
|
|
193
|
+
align-items: center;
|
|
194
|
+
justify-content: space-between;
|
|
195
|
+
gap: var(--spacing-sm);
|
|
196
|
+
margin-bottom: var(--spacing-md);
|
|
197
|
+
flex-wrap: wrap;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.modal-header .modal-title {
|
|
201
|
+
margin-bottom: 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.modal-header-actions {
|
|
205
|
+
display: inline-flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
gap: 8px;
|
|
208
|
+
margin-left: auto;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.btn-modal-copy {
|
|
212
|
+
padding: 6px 12px;
|
|
213
|
+
white-space: nowrap;
|
|
214
|
+
flex-shrink: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.form-group {
|
|
218
|
+
margin-bottom: var(--spacing-sm);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.form-label {
|
|
222
|
+
display: block;
|
|
223
|
+
font-size: var(--font-size-secondary);
|
|
224
|
+
font-weight: var(--font-weight-secondary);
|
|
225
|
+
color: var(--color-text-secondary);
|
|
226
|
+
margin-bottom: 7px;
|
|
227
|
+
letter-spacing: 0.01em;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.form-input {
|
|
231
|
+
width: 100%;
|
|
232
|
+
padding: 13px var(--spacing-sm);
|
|
233
|
+
border: 1.5px solid var(--color-border-soft);
|
|
234
|
+
border-radius: var(--radius-sm);
|
|
235
|
+
font-size: var(--font-size-body);
|
|
236
|
+
background-color: var(--color-surface-alt);
|
|
237
|
+
color: var(--color-text-primary);
|
|
238
|
+
outline: none;
|
|
239
|
+
transition: all var(--transition-fast) var(--ease-spring);
|
|
240
|
+
font-family: var(--font-family-body);
|
|
241
|
+
box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.form-input:hover {
|
|
245
|
+
border-color: var(--color-border-strong);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.form-input:focus {
|
|
249
|
+
border-color: var(--color-brand);
|
|
250
|
+
background-color: var(--color-surface);
|
|
251
|
+
box-shadow: var(--shadow-input-focus);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.form-input.invalid,
|
|
255
|
+
.form-input.invalid:hover,
|
|
256
|
+
.form-input.invalid:focus {
|
|
257
|
+
border-color: var(--color-error);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.form-input.invalid:focus {
|
|
261
|
+
box-shadow: 0 0 0 3px rgba(196, 69, 54, 0.14);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.form-input::placeholder {
|
|
265
|
+
color: var(--color-text-tertiary);
|
|
266
|
+
opacity: 0.7;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.form-select {
|
|
270
|
+
width: 100%;
|
|
271
|
+
min-height: 44px;
|
|
272
|
+
padding: 10px 40px 10px 12px;
|
|
273
|
+
border: 1.5px solid var(--color-border-soft);
|
|
274
|
+
border-radius: var(--radius-sm);
|
|
275
|
+
font-size: var(--font-size-secondary);
|
|
276
|
+
font-weight: var(--font-weight-secondary);
|
|
277
|
+
background-color: var(--color-surface-alt);
|
|
278
|
+
color: var(--color-text-primary);
|
|
279
|
+
outline: none;
|
|
280
|
+
transition: all var(--transition-fast) var(--ease-spring);
|
|
281
|
+
font-family: var(--font-family-body);
|
|
282
|
+
box-shadow: inset 0 1px 2px rgba(31, 26, 23, 0.04);
|
|
283
|
+
cursor: pointer;
|
|
284
|
+
appearance: none;
|
|
285
|
+
-webkit-appearance: none;
|
|
286
|
+
-moz-appearance: none;
|
|
287
|
+
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.6' stroke-linecap='round' stroke-linejoin='round' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
|
|
288
|
+
background-repeat: no-repeat;
|
|
289
|
+
background-position: right 14px center;
|
|
290
|
+
background-size: 12px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.form-select:hover {
|
|
294
|
+
border-color: var(--color-border-strong);
|
|
295
|
+
background-color: var(--color-surface);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.form-select:focus {
|
|
299
|
+
border-color: var(--color-brand);
|
|
300
|
+
background-color: var(--color-surface);
|
|
301
|
+
box-shadow: var(--shadow-input-focus);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.form-select:disabled {
|
|
305
|
+
background: linear-gradient(to right, var(--color-bg) 0%, rgba(247, 241, 232, 0.5) 100%);
|
|
306
|
+
color: var(--color-text-tertiary);
|
|
307
|
+
cursor: not-allowed;
|
|
308
|
+
border-color: transparent;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.template-editor {
|
|
312
|
+
min-height: min(60vh, 520px);
|
|
313
|
+
max-height: min(65vh, 620px);
|
|
314
|
+
resize: vertical;
|
|
315
|
+
overflow: auto;
|
|
316
|
+
white-space: pre;
|
|
317
|
+
font-family: var(--font-family-mono);
|
|
318
|
+
font-size: 13px;
|
|
319
|
+
line-height: 1.45;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.template-editor-warning {
|
|
323
|
+
margin-top: 8px;
|
|
324
|
+
color: #8d5b31;
|
|
325
|
+
font-size: var(--font-size-caption);
|
|
326
|
+
line-height: 1.4;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
.agents-diff-hint {
|
|
331
|
+
margin-top: 6px;
|
|
332
|
+
color: var(--color-text-tertiary);
|
|
333
|
+
font-size: var(--font-size-caption);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.agents-diff-save-alert {
|
|
337
|
+
margin-bottom: 8px;
|
|
338
|
+
padding: 8px 10px;
|
|
339
|
+
border-radius: var(--radius-sm);
|
|
340
|
+
border: 1px solid rgba(238, 178, 90, 0.45);
|
|
341
|
+
background: rgba(255, 236, 204, 0.72);
|
|
342
|
+
color: #8d5b31;
|
|
343
|
+
font-size: var(--font-size-caption);
|
|
344
|
+
font-weight: var(--font-weight-secondary);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.agents-diff-summary {
|
|
348
|
+
display: flex;
|
|
349
|
+
align-items: center;
|
|
350
|
+
gap: 8px;
|
|
351
|
+
margin-bottom: 8px;
|
|
352
|
+
font-size: var(--font-size-caption);
|
|
353
|
+
color: var(--color-text-tertiary);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.agents-diff-stat {
|
|
357
|
+
display: inline-flex;
|
|
358
|
+
align-items: center;
|
|
359
|
+
gap: 4px;
|
|
360
|
+
padding: 2px 8px;
|
|
361
|
+
border-radius: 999px;
|
|
362
|
+
border: 1px solid transparent;
|
|
363
|
+
font-weight: var(--font-weight-secondary);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.agents-diff-stat.add {
|
|
367
|
+
color: #2b6a3b;
|
|
368
|
+
background: rgba(57, 181, 97, 0.12);
|
|
369
|
+
border-color: rgba(57, 181, 97, 0.2);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.agents-diff-stat.del {
|
|
373
|
+
color: #8a2f36;
|
|
374
|
+
background: rgba(220, 95, 108, 0.12);
|
|
375
|
+
border-color: rgba(220, 95, 108, 0.2);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
.agents-diff-empty {
|
|
380
|
+
padding: 10px 12px;
|
|
381
|
+
font-size: var(--font-size-caption);
|
|
382
|
+
color: var(--color-text-tertiary);
|
|
383
|
+
border: 1px dashed var(--color-border-soft);
|
|
384
|
+
border-radius: var(--radius-sm);
|
|
385
|
+
background: rgba(255, 255, 255, 0.6);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.agents-diff-view {
|
|
389
|
+
border: 1px solid var(--color-border-soft);
|
|
390
|
+
border-radius: var(--radius-sm);
|
|
391
|
+
background: rgba(255, 255, 255, 0.7);
|
|
392
|
+
font-family: var(--font-family-mono);
|
|
393
|
+
font-size: 12px;
|
|
394
|
+
line-height: 1.55;
|
|
395
|
+
max-height: min(32vh, 280px);
|
|
396
|
+
overflow: auto;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
.agents-diff-editor {
|
|
401
|
+
min-height: min(60vh, 520px);
|
|
402
|
+
max-height: min(65vh, 620px);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.agents-modal .template-editor,
|
|
406
|
+
.agents-modal .agents-diff-editor {
|
|
407
|
+
min-height: min(52vh, 460px);
|
|
408
|
+
max-height: min(58vh, 540px);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.agents-diff-line {
|
|
412
|
+
display: grid;
|
|
413
|
+
grid-template-columns: 16px 1fr;
|
|
414
|
+
gap: 8px;
|
|
415
|
+
padding: 2px 10px;
|
|
416
|
+
align-items: start;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.agents-diff-line + .agents-diff-line {
|
|
420
|
+
border-top: none;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.agents-diff-line.add {
|
|
424
|
+
background: rgba(57, 181, 97, 0.08);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.agents-diff-line.del {
|
|
428
|
+
background: rgba(220, 95, 108, 0.1);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.agents-diff-line.context {
|
|
432
|
+
background: transparent;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
.agents-diff-line-sign {
|
|
437
|
+
text-align: center;
|
|
438
|
+
color: var(--color-text-tertiary);
|
|
439
|
+
min-height: 20px;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.agents-diff-line-text {
|
|
443
|
+
white-space: pre-wrap;
|
|
444
|
+
word-break: break-word;
|
|
445
|
+
color: var(--color-text-primary);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.form-input:disabled,
|
|
449
|
+
.form-input[readonly] {
|
|
450
|
+
background: linear-gradient(to right, var(--color-bg) 0%, rgba(247, 241, 232, 0.5) 100%);
|
|
451
|
+
color: var(--color-text-tertiary);
|
|
452
|
+
cursor: not-allowed;
|
|
453
|
+
border-color: transparent;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.form-hint {
|
|
457
|
+
font-size: var(--font-size-caption);
|
|
458
|
+
color: var(--color-text-tertiary);
|
|
459
|
+
margin-top: 5px;
|
|
460
|
+
opacity: 0.8;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.form-hint.form-error {
|
|
464
|
+
color: var(--color-error);
|
|
465
|
+
opacity: 1;
|
|
466
|
+
}
|