codexmate 0.0.20 → 0.0.22
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 +289 -152
- package/README.zh.md +321 -0
- package/cli/agents-files.js +224 -0
- package/cli/archive-helpers.js +446 -0
- package/cli/auth-profiles.js +359 -0
- package/cli/builtin-proxy.js +1044 -0
- package/cli/claude-proxy.js +998 -0
- package/cli/config-bootstrap.js +384 -0
- package/cli/openai-bridge.js +950 -0
- package/cli/openclaw-config.js +629 -0
- package/cli/session-usage.concurrent.js +28 -0
- package/cli/session-usage.js +112 -0
- package/cli/session-usage.models.js +176 -0
- package/cli/skills.js +1141 -0
- package/cli/zip-commands.js +510 -0
- package/cli.js +9408 -9719
- package/lib/cli-models-utils.js +109 -1
- package/lib/cli-path-utils.js +69 -0
- package/lib/cli-sessions.js +386 -0
- package/lib/download-artifacts.js +77 -0
- package/lib/task-orchestrator.js +869 -0
- package/package.json +14 -10
- package/res/logo.png +0 -0
- package/res/vue.global.prod.js +13 -0
- package/web-ui/app.js +193 -15
- package/web-ui/index.html +5 -1
- package/web-ui/logic.agents-diff.mjs +1 -1
- package/web-ui/logic.claude.mjs +60 -0
- package/web-ui/logic.runtime.mjs +11 -7
- package/web-ui/logic.sessions.mjs +372 -21
- package/web-ui/modules/api.mjs +22 -1
- package/web-ui/modules/app.computed.dashboard.mjs +23 -10
- package/web-ui/modules/app.computed.index.mjs +4 -0
- package/web-ui/modules/app.computed.main-tabs.mjs +198 -0
- package/web-ui/modules/app.computed.session.mjs +521 -9
- package/web-ui/modules/app.methods.agents.mjs +62 -11
- package/web-ui/modules/app.methods.codex-config.mjs +189 -34
- package/web-ui/modules/app.methods.index.mjs +7 -1
- package/web-ui/modules/app.methods.install.mjs +24 -20
- package/web-ui/modules/app.methods.navigation.mjs +142 -1
- package/web-ui/modules/app.methods.openclaw-core.mjs +339 -39
- package/web-ui/modules/app.methods.openclaw-editing.mjs +39 -4
- package/web-ui/modules/app.methods.openclaw-persist.mjs +122 -4
- package/web-ui/modules/app.methods.providers.mjs +192 -53
- package/web-ui/modules/app.methods.session-actions.mjs +99 -19
- package/web-ui/modules/app.methods.session-browser.mjs +196 -5
- package/web-ui/modules/app.methods.session-timeline.mjs +22 -15
- package/web-ui/modules/app.methods.session-trash.mjs +3 -0
- package/web-ui/modules/app.methods.startup-claude.mjs +70 -71
- package/web-ui/modules/app.methods.task-orchestration.mjs +471 -0
- package/web-ui/modules/config-mode.computed.mjs +2 -0
- package/web-ui/modules/config-template-confirm-pref.mjs +33 -0
- package/web-ui/modules/i18n.mjs +1609 -0
- package/web-ui/modules/plugins.computed.mjs +220 -0
- package/web-ui/modules/plugins.methods.mjs +620 -0
- package/web-ui/modules/plugins.storage.mjs +37 -0
- package/web-ui/partials/index/layout-footer.html +1 -57
- package/web-ui/partials/index/layout-header.html +299 -175
- package/web-ui/partials/index/modal-config-template-agents.html +79 -29
- package/web-ui/partials/index/modal-confirm-toast.html +1 -1
- package/web-ui/partials/index/modal-health-check.html +14 -14
- package/web-ui/partials/index/modal-openclaw-config.html +47 -42
- package/web-ui/partials/index/modal-skills.html +130 -114
- package/web-ui/partials/index/modals-basic.html +71 -102
- package/web-ui/partials/index/panel-config-claude.html +50 -12
- package/web-ui/partials/index/panel-config-codex.html +34 -37
- package/web-ui/partials/index/panel-config-openclaw.html +10 -16
- package/web-ui/partials/index/panel-docs.html +147 -0
- package/web-ui/partials/index/panel-market.html +38 -38
- package/web-ui/partials/index/panel-orchestration.html +397 -0
- package/web-ui/partials/index/panel-plugins.html +243 -0
- package/web-ui/partials/index/panel-sessions.html +51 -146
- package/web-ui/partials/index/panel-settings.html +188 -96
- package/web-ui/partials/index/panel-usage.html +353 -0
- package/web-ui/session-helpers.mjs +221 -10
- package/web-ui/styles/base-theme.css +120 -229
- package/web-ui/styles/controls-forms.css +59 -51
- package/web-ui/styles/docs-panel.css +247 -0
- package/web-ui/styles/layout-shell.css +394 -128
- package/web-ui/styles/modals-core.css +18 -3
- package/web-ui/styles/navigation-panels.css +184 -183
- package/web-ui/styles/plugins-panel.css +518 -0
- package/web-ui/styles/responsive.css +102 -62
- package/web-ui/styles/sessions-list.css +13 -27
- package/web-ui/styles/sessions-preview.css +13 -7
- package/web-ui/styles/sessions-toolbar-trash.css +25 -0
- package/web-ui/styles/sessions-usage.css +581 -6
- package/web-ui/styles/settings-panel.css +166 -0
- package/web-ui/styles/skills-list.css +16 -11
- package/web-ui/styles/skills-market.css +63 -2
- package/web-ui/styles/task-orchestration.css +776 -0
- package/web-ui/styles/titles-cards.css +67 -66
- package/web-ui/styles.css +4 -0
- package/README.en.md +0 -259
- package/res/screenshot.png +0 -0
- package/res/vue.global.js +0 -18552
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
.docs-mode-content {
|
|
2
|
+
display: grid;
|
|
3
|
+
gap: 14px;
|
|
4
|
+
/* CLI Install 是展示型面板:非输入区域不使用 I-beam(text)光标,避免误导为可编辑。 */
|
|
5
|
+
cursor: default;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.docs-mode-content * {
|
|
9
|
+
cursor: default;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.docs-mode-content button,
|
|
13
|
+
.docs-mode-content [role="button"] {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.docs-mode-content input,
|
|
18
|
+
.docs-mode-content textarea {
|
|
19
|
+
cursor: text;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.docs-mode-content select {
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.docs-overview-section,
|
|
27
|
+
.docs-command-section,
|
|
28
|
+
.docs-help-section {
|
|
29
|
+
gap: 12px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.docs-overview-header,
|
|
33
|
+
.docs-section-header {
|
|
34
|
+
align-items: flex-start;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.docs-section-note {
|
|
38
|
+
margin-top: 4px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.docs-toolbar-grid {
|
|
42
|
+
display: grid;
|
|
43
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
44
|
+
gap: 12px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.docs-toolbar-card {
|
|
48
|
+
grid-column: span 4;
|
|
49
|
+
display: grid;
|
|
50
|
+
gap: 8px;
|
|
51
|
+
padding: 12px;
|
|
52
|
+
border: 1px solid var(--color-border);
|
|
53
|
+
border-radius: 10px;
|
|
54
|
+
background: rgba(255, 253, 252, 0.76);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.docs-toolbar-card-wide {
|
|
58
|
+
grid-column: span 8;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.docs-summary-strip {
|
|
62
|
+
display: grid;
|
|
63
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
64
|
+
gap: 10px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.docs-summary-item {
|
|
68
|
+
display: grid;
|
|
69
|
+
gap: 4px;
|
|
70
|
+
padding: 12px;
|
|
71
|
+
border: 1px solid var(--color-border);
|
|
72
|
+
border-radius: 10px;
|
|
73
|
+
background: rgba(255, 253, 252, 0.82);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.docs-summary-item-wide {
|
|
77
|
+
grid-column: span 2;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.docs-summary-label {
|
|
81
|
+
font-size: 11px;
|
|
82
|
+
color: var(--color-text-muted);
|
|
83
|
+
letter-spacing: 0.04em;
|
|
84
|
+
text-transform: uppercase;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.docs-summary-value {
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
color: var(--color-text-primary);
|
|
90
|
+
line-height: 1.4;
|
|
91
|
+
word-break: break-word;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.docs-install-list {
|
|
95
|
+
margin-top: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.docs-install-row {
|
|
99
|
+
align-items: stretch;
|
|
100
|
+
background: rgba(255, 253, 252, 0.8);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.docs-command-head {
|
|
104
|
+
display: grid;
|
|
105
|
+
gap: 4px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.docs-command-row {
|
|
109
|
+
display: grid;
|
|
110
|
+
gap: 10px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.docs-command-row-secondary {
|
|
114
|
+
margin-top: 6px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.docs-command-box {
|
|
118
|
+
display: grid;
|
|
119
|
+
grid-template-columns: 1fr auto;
|
|
120
|
+
align-items: stretch;
|
|
121
|
+
gap: 10px;
|
|
122
|
+
padding: 10px 10px 10px 12px;
|
|
123
|
+
border: 1px solid var(--color-border);
|
|
124
|
+
border-radius: 10px;
|
|
125
|
+
background: rgba(255, 253, 252, 0.9);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.docs-command-row .install-command {
|
|
129
|
+
min-width: 0;
|
|
130
|
+
padding: 10px 12px;
|
|
131
|
+
border-radius: 8px;
|
|
132
|
+
background: rgba(18, 22, 35, 0.06);
|
|
133
|
+
overflow-x: auto;
|
|
134
|
+
white-space: nowrap;
|
|
135
|
+
user-select: text;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.docs-command-prefix {
|
|
139
|
+
display: inline-flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
padding: 2px 8px;
|
|
142
|
+
margin-right: 10px;
|
|
143
|
+
border-radius: 999px;
|
|
144
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
145
|
+
background: rgba(210, 107, 90, 0.10);
|
|
146
|
+
color: var(--color-text-secondary);
|
|
147
|
+
font-size: 11px;
|
|
148
|
+
font-weight: 700;
|
|
149
|
+
letter-spacing: 0.02em;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.docs-command-meta {
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-wrap: wrap;
|
|
155
|
+
gap: 6px 10px;
|
|
156
|
+
font-size: 11px;
|
|
157
|
+
color: var(--color-text-tertiary);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.docs-meta-pill {
|
|
161
|
+
display: inline-flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
padding: 4px 8px;
|
|
164
|
+
border-radius: 999px;
|
|
165
|
+
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
166
|
+
background: rgba(255, 255, 255, 0.6);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.docs-copy-btn {
|
|
170
|
+
min-width: 76px;
|
|
171
|
+
min-height: 40px;
|
|
172
|
+
flex: 0 0 auto;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.docs-help-grid {
|
|
176
|
+
display: grid;
|
|
177
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
178
|
+
gap: 12px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.docs-note-card {
|
|
182
|
+
padding: 14px;
|
|
183
|
+
border: 1px solid var(--color-border);
|
|
184
|
+
border-radius: 10px;
|
|
185
|
+
background: rgba(255, 253, 252, 0.78);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.docs-note-title {
|
|
189
|
+
font-size: 13px;
|
|
190
|
+
font-weight: 700;
|
|
191
|
+
color: var(--color-text-primary);
|
|
192
|
+
margin-bottom: 8px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.docs-help-list {
|
|
196
|
+
margin-top: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.docs-static-list {
|
|
200
|
+
margin: 0;
|
|
201
|
+
padding-left: 18px;
|
|
202
|
+
color: var(--color-text-secondary);
|
|
203
|
+
font-size: 13px;
|
|
204
|
+
line-height: 1.55;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.docs-static-list li + li {
|
|
208
|
+
margin-top: 6px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@media (max-width: 1100px) {
|
|
212
|
+
.docs-toolbar-card,
|
|
213
|
+
.docs-toolbar-card-wide {
|
|
214
|
+
grid-column: span 12;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.docs-summary-strip {
|
|
218
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.docs-summary-item-wide {
|
|
222
|
+
grid-column: span 2;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@media (max-width: 720px) {
|
|
227
|
+
.docs-summary-strip,
|
|
228
|
+
.docs-help-grid {
|
|
229
|
+
grid-template-columns: 1fr;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.docs-summary-item-wide {
|
|
233
|
+
grid-column: span 1;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.docs-command-row {
|
|
237
|
+
gap: 8px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.docs-command-box {
|
|
241
|
+
grid-template-columns: 1fr;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.docs-copy-btn {
|
|
245
|
+
width: 100%;
|
|
246
|
+
}
|
|
247
|
+
}
|