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
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
.docs-mode-content {
|
|
2
|
+
display: grid;
|
|
3
|
+
gap: 14px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.docs-overview-section,
|
|
7
|
+
.docs-command-section,
|
|
8
|
+
.docs-help-section {
|
|
9
|
+
gap: 12px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.docs-overview-header,
|
|
13
|
+
.docs-section-header {
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.docs-section-note {
|
|
18
|
+
margin-top: 4px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.docs-toolbar-grid {
|
|
22
|
+
display: grid;
|
|
23
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
24
|
+
gap: 12px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.docs-toolbar-card {
|
|
28
|
+
grid-column: span 4;
|
|
29
|
+
display: grid;
|
|
30
|
+
gap: 8px;
|
|
31
|
+
padding: 12px;
|
|
32
|
+
border: 1px solid var(--color-border);
|
|
33
|
+
border-radius: 10px;
|
|
34
|
+
background: rgba(255, 253, 252, 0.76);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.docs-toolbar-card-wide {
|
|
38
|
+
grid-column: span 8;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.docs-summary-strip {
|
|
42
|
+
display: grid;
|
|
43
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
44
|
+
gap: 10px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.docs-summary-item {
|
|
48
|
+
display: grid;
|
|
49
|
+
gap: 4px;
|
|
50
|
+
padding: 12px;
|
|
51
|
+
border: 1px solid var(--color-border);
|
|
52
|
+
border-radius: 10px;
|
|
53
|
+
background: rgba(255, 253, 252, 0.82);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.docs-summary-item-wide {
|
|
57
|
+
grid-column: span 2;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.docs-summary-label {
|
|
61
|
+
font-size: 11px;
|
|
62
|
+
color: var(--color-text-muted);
|
|
63
|
+
letter-spacing: 0.04em;
|
|
64
|
+
text-transform: uppercase;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.docs-summary-value {
|
|
68
|
+
font-size: 14px;
|
|
69
|
+
color: var(--color-text-primary);
|
|
70
|
+
line-height: 1.4;
|
|
71
|
+
word-break: break-word;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.docs-install-list {
|
|
75
|
+
margin-top: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.docs-install-row {
|
|
79
|
+
align-items: stretch;
|
|
80
|
+
background: rgba(255, 253, 252, 0.8);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.docs-command-head {
|
|
84
|
+
display: grid;
|
|
85
|
+
gap: 4px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.docs-command-row {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
gap: 10px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.docs-command-row .install-command {
|
|
95
|
+
flex: 1;
|
|
96
|
+
min-width: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.docs-command-meta {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-wrap: wrap;
|
|
102
|
+
gap: 6px 10px;
|
|
103
|
+
font-size: 11px;
|
|
104
|
+
color: var(--color-text-tertiary);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.docs-copy-btn {
|
|
108
|
+
min-width: 92px;
|
|
109
|
+
min-height: 38px;
|
|
110
|
+
flex: 0 0 auto;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.docs-help-grid {
|
|
114
|
+
display: grid;
|
|
115
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
116
|
+
gap: 12px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.docs-note-card {
|
|
120
|
+
padding: 14px;
|
|
121
|
+
border: 1px solid var(--color-border);
|
|
122
|
+
border-radius: 10px;
|
|
123
|
+
background: rgba(255, 253, 252, 0.78);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.docs-note-title {
|
|
127
|
+
font-size: 13px;
|
|
128
|
+
font-weight: 700;
|
|
129
|
+
color: var(--color-text-primary);
|
|
130
|
+
margin-bottom: 8px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.docs-help-list {
|
|
134
|
+
margin-top: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.docs-static-list {
|
|
138
|
+
margin: 0;
|
|
139
|
+
padding-left: 18px;
|
|
140
|
+
color: var(--color-text-secondary);
|
|
141
|
+
font-size: 13px;
|
|
142
|
+
line-height: 1.55;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.docs-static-list li + li {
|
|
146
|
+
margin-top: 6px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@media (max-width: 1100px) {
|
|
150
|
+
.docs-toolbar-card,
|
|
151
|
+
.docs-toolbar-card-wide {
|
|
152
|
+
grid-column: span 12;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.docs-summary-strip {
|
|
156
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.docs-summary-item-wide {
|
|
160
|
+
grid-column: span 2;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@media (max-width: 720px) {
|
|
165
|
+
.docs-summary-strip,
|
|
166
|
+
.docs-help-grid {
|
|
167
|
+
grid-template-columns: 1fr;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.docs-summary-item-wide {
|
|
171
|
+
grid-column: span 1;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.docs-command-row {
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
align-items: stretch;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.docs-copy-btn {
|
|
180
|
+
width: 100%;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
/* ============================================
|
|
2
|
-
Toast - 顶部横幅
|
|
3
|
-
============================================ */
|
|
4
|
-
.toast {
|
|
5
|
-
position: fixed;
|
|
6
|
-
top: 16px;
|
|
7
|
-
left: 50%;
|
|
8
|
-
transform: translateX(-50%);
|
|
9
|
-
background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.95) 100%);
|
|
10
|
-
padding: 12px 24px;
|
|
11
|
-
border-radius: var(--radius-full);
|
|
12
|
-
box-shadow: var(--shadow-raised);
|
|
13
|
-
z-index: 200;
|
|
14
|
-
animation: slideDown var(--transition-slow) var(--ease-spring);
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
gap: var(--spacing-xs);
|
|
18
|
-
font-size: var(--font-size-body);
|
|
19
|
-
font-weight: var(--font-weight-body);
|
|
20
|
-
border: 1px solid rgba(255, 255, 255, 0.8);
|
|
21
|
-
backdrop-filter: blur(8px);
|
|
22
|
-
-webkit-backdrop-filter: blur(8px);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.toast.error {
|
|
26
|
-
border-left: 3px solid var(--color-error);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.toast.success {
|
|
30
|
-
border-left: 3px solid var(--color-success);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* ============================================
|
|
34
|
-
状态消息
|
|
35
|
-
============================================ */
|
|
36
|
-
.state-message {
|
|
37
|
-
text-align: center;
|
|
38
|
-
padding: 60px var(--spacing-md);
|
|
39
|
-
color: var(--color-text-tertiary);
|
|
40
|
-
font-size: var(--font-size-body);
|
|
41
|
-
opacity: 0.7;
|
|
42
|
-
letter-spacing: -0.005em;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.state-message.error {
|
|
46
|
-
color: var(--color-error);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* 空状态 */
|
|
50
|
-
.empty-state {
|
|
51
|
-
text-align: center;
|
|
52
|
-
padding: 48px var(--spacing-md);
|
|
53
|
-
color: var(--color-text-tertiary);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.empty-state-icon {
|
|
57
|
-
width: 48px;
|
|
58
|
-
height: 48px;
|
|
59
|
-
margin: 0 auto var(--spacing-sm);
|
|
60
|
-
opacity: 0.3;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.empty-state-title {
|
|
64
|
-
font-size: var(--font-size-body);
|
|
65
|
-
font-weight: var(--font-weight-secondary);
|
|
66
|
-
color: var(--color-text-secondary);
|
|
67
|
-
margin-bottom: 4px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.empty-state-subtitle {
|
|
71
|
-
font-size: var(--font-size-secondary);
|
|
72
|
-
color: var(--color-text-tertiary);
|
|
73
|
-
opacity: 0.8;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/* ============================================
|
|
77
|
-
动画
|
|
78
|
-
============================================ */
|
|
79
|
-
@keyframes fadeIn {
|
|
80
|
-
from { opacity: 0; }
|
|
81
|
-
to { opacity: 1; }
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@keyframes slideUp {
|
|
85
|
-
from { transform: translateY(24px); opacity: 0; }
|
|
86
|
-
to { transform: translateY(0); opacity: 1; }
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@keyframes slideDown {
|
|
90
|
-
from { transform: translateX(-50%) translateY(-100%); opacity: 0; }
|
|
91
|
-
to { transform: translateX(-50%) translateY(0); opacity: 1; }
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@keyframes spin {
|
|
95
|
-
from { transform: rotate(0deg); }
|
|
96
|
-
to { transform: rotate(360deg); }
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
[v-cloak] {
|
|
100
|
-
display: none !important;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/* 模式内容容器 */
|
|
104
|
-
.mode-content {
|
|
105
|
-
animation: fadeIn var(--transition-normal) var(--ease-spring);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* TODO: 内容区域包裹器当前不需要额外稳定高度样式,保留注释避免误判为缺失规则。 */
|
|
1
|
+
/* ============================================
|
|
2
|
+
Toast - 顶部横幅
|
|
3
|
+
============================================ */
|
|
4
|
+
.toast {
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 16px;
|
|
7
|
+
left: 50%;
|
|
8
|
+
transform: translateX(-50%);
|
|
9
|
+
background: linear-gradient(to bottom, var(--color-surface) 0%, rgba(255, 255, 255, 0.95) 100%);
|
|
10
|
+
padding: 12px 24px;
|
|
11
|
+
border-radius: var(--radius-full);
|
|
12
|
+
box-shadow: var(--shadow-raised);
|
|
13
|
+
z-index: 200;
|
|
14
|
+
animation: slideDown var(--transition-slow) var(--ease-spring);
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: var(--spacing-xs);
|
|
18
|
+
font-size: var(--font-size-body);
|
|
19
|
+
font-weight: var(--font-weight-body);
|
|
20
|
+
border: 1px solid rgba(255, 255, 255, 0.8);
|
|
21
|
+
backdrop-filter: blur(8px);
|
|
22
|
+
-webkit-backdrop-filter: blur(8px);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.toast.error {
|
|
26
|
+
border-left: 3px solid var(--color-error);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.toast.success {
|
|
30
|
+
border-left: 3px solid var(--color-success);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* ============================================
|
|
34
|
+
状态消息
|
|
35
|
+
============================================ */
|
|
36
|
+
.state-message {
|
|
37
|
+
text-align: center;
|
|
38
|
+
padding: 60px var(--spacing-md);
|
|
39
|
+
color: var(--color-text-tertiary);
|
|
40
|
+
font-size: var(--font-size-body);
|
|
41
|
+
opacity: 0.7;
|
|
42
|
+
letter-spacing: -0.005em;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.state-message.error {
|
|
46
|
+
color: var(--color-error);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* 空状态 */
|
|
50
|
+
.empty-state {
|
|
51
|
+
text-align: center;
|
|
52
|
+
padding: 48px var(--spacing-md);
|
|
53
|
+
color: var(--color-text-tertiary);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.empty-state-icon {
|
|
57
|
+
width: 48px;
|
|
58
|
+
height: 48px;
|
|
59
|
+
margin: 0 auto var(--spacing-sm);
|
|
60
|
+
opacity: 0.3;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.empty-state-title {
|
|
64
|
+
font-size: var(--font-size-body);
|
|
65
|
+
font-weight: var(--font-weight-secondary);
|
|
66
|
+
color: var(--color-text-secondary);
|
|
67
|
+
margin-bottom: 4px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.empty-state-subtitle {
|
|
71
|
+
font-size: var(--font-size-secondary);
|
|
72
|
+
color: var(--color-text-tertiary);
|
|
73
|
+
opacity: 0.8;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* ============================================
|
|
77
|
+
动画
|
|
78
|
+
============================================ */
|
|
79
|
+
@keyframes fadeIn {
|
|
80
|
+
from { opacity: 0; }
|
|
81
|
+
to { opacity: 1; }
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@keyframes slideUp {
|
|
85
|
+
from { transform: translateY(24px); opacity: 0; }
|
|
86
|
+
to { transform: translateY(0); opacity: 1; }
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@keyframes slideDown {
|
|
90
|
+
from { transform: translateX(-50%) translateY(-100%); opacity: 0; }
|
|
91
|
+
to { transform: translateX(-50%) translateY(0); opacity: 1; }
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes spin {
|
|
95
|
+
from { transform: rotate(0deg); }
|
|
96
|
+
to { transform: rotate(360deg); }
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[v-cloak] {
|
|
100
|
+
display: none !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* 模式内容容器 */
|
|
104
|
+
.mode-content {
|
|
105
|
+
animation: fadeIn var(--transition-normal) var(--ease-spring);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* TODO: 内容区域包裹器当前不需要额外稳定高度样式,保留注释避免误判为缺失规则。 */
|
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
.health-check-dialog {
|
|
2
|
-
width: min(88vw, 720px);
|
|
3
|
-
max-width: 720px;
|
|
4
|
-
padding: 20px;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.health-check-dialog-subtitle {
|
|
8
|
-
margin-top: -6px;
|
|
9
|
-
color: var(--color-text-tertiary);
|
|
10
|
-
font-size: var(--font-size-secondary);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.health-check-dialog-lock {
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
gap: 6px;
|
|
17
|
-
padding: 8px 12px;
|
|
18
|
-
border-radius: 999px;
|
|
19
|
-
background: rgba(201, 94, 75, 0.12);
|
|
20
|
-
color: var(--color-text-primary);
|
|
21
|
-
font-size: var(--font-size-caption);
|
|
22
|
-
font-weight: var(--font-weight-secondary);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.health-check-dialog-controls {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: flex-end;
|
|
28
|
-
gap: 12px;
|
|
29
|
-
margin-bottom: 12px;
|
|
30
|
-
flex-wrap: wrap;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.health-check-dialog-provider {
|
|
34
|
-
flex: 1 1 260px;
|
|
35
|
-
margin-bottom: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.health-check-dialog-result {
|
|
39
|
-
display: flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
gap: 10px;
|
|
42
|
-
flex-wrap: wrap;
|
|
43
|
-
min-height: 42px;
|
|
44
|
-
padding: 8px 10px;
|
|
45
|
-
border-radius: var(--radius-sm);
|
|
46
|
-
border: 1px solid var(--color-border-soft);
|
|
47
|
-
background: rgba(255, 255, 255, 0.72);
|
|
48
|
-
font-size: var(--font-size-caption);
|
|
49
|
-
color: var(--color-text-secondary);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.health-check-dialog-result.ok {
|
|
53
|
-
border-color: rgba(57, 181, 97, 0.25);
|
|
54
|
-
background: rgba(57, 181, 97, 0.08);
|
|
55
|
-
color: #2b6a3b;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.health-check-dialog-result.error {
|
|
59
|
-
border-color: rgba(220, 95, 108, 0.28);
|
|
60
|
-
background: rgba(220, 95, 108, 0.08);
|
|
61
|
-
color: #8a2f36;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.health-check-dialog-thread {
|
|
65
|
-
max-height: 300px;
|
|
66
|
-
overflow-y: auto;
|
|
67
|
-
margin-bottom: 12px;
|
|
68
|
-
padding: 10px;
|
|
69
|
-
border: 1px solid var(--color-border-soft);
|
|
70
|
-
border-radius: var(--radius-lg);
|
|
71
|
-
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(246, 240, 232, 0.9) 100%);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.health-check-dialog-empty {
|
|
75
|
-
padding: 16px;
|
|
76
|
-
border: 1px dashed var(--color-border-soft);
|
|
77
|
-
border-radius: var(--radius-sm);
|
|
78
|
-
color: var(--color-text-tertiary);
|
|
79
|
-
text-align: center;
|
|
80
|
-
background: rgba(255, 255, 255, 0.7);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.health-check-message + .health-check-message {
|
|
84
|
-
margin-top: 10px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.health-check-message {
|
|
88
|
-
padding: 10px 12px;
|
|
89
|
-
border-radius: 16px;
|
|
90
|
-
border: 1px solid rgba(201, 94, 75, 0.12);
|
|
91
|
-
background: rgba(255, 255, 255, 0.84);
|
|
92
|
-
box-shadow: var(--shadow-subtle);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.health-check-message.user {
|
|
96
|
-
margin-left: auto;
|
|
97
|
-
max-width: 82%;
|
|
98
|
-
background: linear-gradient(to bottom, rgba(201, 94, 75, 0.12) 0%, rgba(201, 94, 75, 0.06) 100%);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.health-check-message.assistant {
|
|
102
|
-
margin-right: auto;
|
|
103
|
-
max-width: 88%;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.health-check-message.error {
|
|
107
|
-
border-color: rgba(220, 95, 108, 0.24);
|
|
108
|
-
background: rgba(220, 95, 108, 0.08);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.health-check-message-meta {
|
|
112
|
-
display: flex;
|
|
113
|
-
align-items: center;
|
|
114
|
-
gap: 8px;
|
|
115
|
-
flex-wrap: wrap;
|
|
116
|
-
margin-bottom: 4px;
|
|
117
|
-
color: var(--color-text-tertiary);
|
|
118
|
-
font-size: var(--font-size-caption);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.health-check-message-text {
|
|
122
|
-
white-space: pre-wrap;
|
|
123
|
-
word-break: break-word;
|
|
124
|
-
color: var(--color-text-primary);
|
|
125
|
-
line-height: 1.65;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.health-check-message-raw {
|
|
129
|
-
margin: 8px 0 0;
|
|
130
|
-
padding: 10px;
|
|
131
|
-
border-radius: var(--radius-sm);
|
|
132
|
-
background: rgba(31, 26, 23, 0.04);
|
|
133
|
-
border: 1px dashed var(--color-border-soft);
|
|
134
|
-
color: var(--color-text-secondary);
|
|
135
|
-
white-space: pre-wrap;
|
|
136
|
-
word-break: break-word;
|
|
137
|
-
font-size: 12px;
|
|
138
|
-
font-family: var(--font-family-mono);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.health-check-dialog-textarea {
|
|
142
|
-
min-height: 88px;
|
|
143
|
-
resize: vertical;
|
|
144
|
-
}
|
|
1
|
+
.health-check-dialog {
|
|
2
|
+
width: min(88vw, 720px);
|
|
3
|
+
max-width: 720px;
|
|
4
|
+
padding: 20px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.health-check-dialog-subtitle {
|
|
8
|
+
margin-top: -6px;
|
|
9
|
+
color: var(--color-text-tertiary);
|
|
10
|
+
font-size: var(--font-size-secondary);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.health-check-dialog-lock {
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 6px;
|
|
17
|
+
padding: 8px 12px;
|
|
18
|
+
border-radius: 999px;
|
|
19
|
+
background: rgba(201, 94, 75, 0.12);
|
|
20
|
+
color: var(--color-text-primary);
|
|
21
|
+
font-size: var(--font-size-caption);
|
|
22
|
+
font-weight: var(--font-weight-secondary);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.health-check-dialog-controls {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: flex-end;
|
|
28
|
+
gap: 12px;
|
|
29
|
+
margin-bottom: 12px;
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.health-check-dialog-provider {
|
|
34
|
+
flex: 1 1 260px;
|
|
35
|
+
margin-bottom: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.health-check-dialog-result {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: 10px;
|
|
42
|
+
flex-wrap: wrap;
|
|
43
|
+
min-height: 42px;
|
|
44
|
+
padding: 8px 10px;
|
|
45
|
+
border-radius: var(--radius-sm);
|
|
46
|
+
border: 1px solid var(--color-border-soft);
|
|
47
|
+
background: rgba(255, 255, 255, 0.72);
|
|
48
|
+
font-size: var(--font-size-caption);
|
|
49
|
+
color: var(--color-text-secondary);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.health-check-dialog-result.ok {
|
|
53
|
+
border-color: rgba(57, 181, 97, 0.25);
|
|
54
|
+
background: rgba(57, 181, 97, 0.08);
|
|
55
|
+
color: #2b6a3b;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.health-check-dialog-result.error {
|
|
59
|
+
border-color: rgba(220, 95, 108, 0.28);
|
|
60
|
+
background: rgba(220, 95, 108, 0.08);
|
|
61
|
+
color: #8a2f36;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.health-check-dialog-thread {
|
|
65
|
+
max-height: 300px;
|
|
66
|
+
overflow-y: auto;
|
|
67
|
+
margin-bottom: 12px;
|
|
68
|
+
padding: 10px;
|
|
69
|
+
border: 1px solid var(--color-border-soft);
|
|
70
|
+
border-radius: var(--radius-lg);
|
|
71
|
+
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(246, 240, 232, 0.9) 100%);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.health-check-dialog-empty {
|
|
75
|
+
padding: 16px;
|
|
76
|
+
border: 1px dashed var(--color-border-soft);
|
|
77
|
+
border-radius: var(--radius-sm);
|
|
78
|
+
color: var(--color-text-tertiary);
|
|
79
|
+
text-align: center;
|
|
80
|
+
background: rgba(255, 255, 255, 0.7);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.health-check-message + .health-check-message {
|
|
84
|
+
margin-top: 10px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.health-check-message {
|
|
88
|
+
padding: 10px 12px;
|
|
89
|
+
border-radius: 16px;
|
|
90
|
+
border: 1px solid rgba(201, 94, 75, 0.12);
|
|
91
|
+
background: rgba(255, 255, 255, 0.84);
|
|
92
|
+
box-shadow: var(--shadow-subtle);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.health-check-message.user {
|
|
96
|
+
margin-left: auto;
|
|
97
|
+
max-width: 82%;
|
|
98
|
+
background: linear-gradient(to bottom, rgba(201, 94, 75, 0.12) 0%, rgba(201, 94, 75, 0.06) 100%);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.health-check-message.assistant {
|
|
102
|
+
margin-right: auto;
|
|
103
|
+
max-width: 88%;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.health-check-message.error {
|
|
107
|
+
border-color: rgba(220, 95, 108, 0.24);
|
|
108
|
+
background: rgba(220, 95, 108, 0.08);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.health-check-message-meta {
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
gap: 8px;
|
|
115
|
+
flex-wrap: wrap;
|
|
116
|
+
margin-bottom: 4px;
|
|
117
|
+
color: var(--color-text-tertiary);
|
|
118
|
+
font-size: var(--font-size-caption);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.health-check-message-text {
|
|
122
|
+
white-space: pre-wrap;
|
|
123
|
+
word-break: break-word;
|
|
124
|
+
color: var(--color-text-primary);
|
|
125
|
+
line-height: 1.65;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.health-check-message-raw {
|
|
129
|
+
margin: 8px 0 0;
|
|
130
|
+
padding: 10px;
|
|
131
|
+
border-radius: var(--radius-sm);
|
|
132
|
+
background: rgba(31, 26, 23, 0.04);
|
|
133
|
+
border: 1px dashed var(--color-border-soft);
|
|
134
|
+
color: var(--color-text-secondary);
|
|
135
|
+
white-space: pre-wrap;
|
|
136
|
+
word-break: break-word;
|
|
137
|
+
font-size: 12px;
|
|
138
|
+
font-family: var(--font-family-mono);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.health-check-dialog-textarea {
|
|
142
|
+
min-height: 88px;
|
|
143
|
+
resize: vertical;
|
|
144
|
+
}
|