agentgui 1.0.342 → 1.0.344
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/package.json +1 -1
- package/server.js +2 -6
- package/static/index.html +2 -30
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -310,19 +310,15 @@ const AGENT_FALLBACK_MODELS = {
|
|
|
310
310
|
'claude-code': [
|
|
311
311
|
{ id: '', label: 'Default' },
|
|
312
312
|
{ id: 'claude-opus-4-6', label: 'Claude Opus 4.6' },
|
|
313
|
-
{ id: 'claude-sonnet-4-
|
|
313
|
+
{ id: 'claude-sonnet-4-5', label: 'Claude Sonnet 4.5' },
|
|
314
314
|
{ id: 'claude-haiku-4-5', label: 'Claude Haiku 4.5' },
|
|
315
|
-
{ id: 'claude-haiku-4-5-20251001', label: 'Claude Haiku 4.5 (2025-10-01)' },
|
|
316
315
|
{ id: 'claude-opus-4-5', label: 'Claude Opus 4.5' },
|
|
317
|
-
{ id: 'claude-opus-4-5-20251101', label: 'Claude Opus 4.5 (2025-11-01)' },
|
|
318
|
-
{ id: 'claude-sonnet-4-5', label: 'Claude Sonnet 4.5' },
|
|
319
|
-
{ id: 'claude-sonnet-4-5-20250929', label: 'Claude Sonnet 4.5 (2025-09-29)' },
|
|
320
|
-
{ id: 'claude-opus-4-1', label: 'Claude Opus 4.1' },
|
|
321
316
|
{ id: 'claude-sonnet-4-0', label: 'Claude Sonnet 4' },
|
|
322
317
|
{ id: 'claude-opus-4-0', label: 'Claude Opus 4' },
|
|
323
318
|
],
|
|
324
319
|
};
|
|
325
320
|
|
|
321
|
+
|
|
326
322
|
async function fetchClaudeModelsFromAPI() {
|
|
327
323
|
const apiKey = process.env.ANTHROPIC_API_KEY;
|
|
328
324
|
if (!apiKey) return null;
|
package/static/index.html
CHANGED
|
@@ -2170,40 +2170,12 @@
|
|
|
2170
2170
|
.tool-result-success .folded-tool-name { color: #374151; font-weight: 600; }
|
|
2171
2171
|
html.dark .tool-result-success .folded-tool-name { color: #d1d5db; }
|
|
2172
2172
|
|
|
2173
|
-
/* --- Tool_use parent: has-success / has-error indicators
|
|
2174
|
-
.folded-tool.has-success { background: #f3f4f6; }
|
|
2175
|
-
html.dark .folded-tool.has-success { background: #1f2937; }
|
|
2176
|
-
.folded-tool.has-success > .folded-tool-bar { background: #e5e7eb; }
|
|
2177
|
-
html.dark .folded-tool.has-success > .folded-tool-bar { background: #374151; }
|
|
2178
|
-
.folded-tool.has-success > .folded-tool-bar:hover { background: #d1d5db; }
|
|
2179
|
-
html.dark .folded-tool.has-success > .folded-tool-bar:hover { background: #4b5563; }
|
|
2173
|
+
/* --- Tool_use parent: has-success / has-error indicators (icon/arrow only, preserves tool colors) --- */
|
|
2180
2174
|
.folded-tool.has-success > .folded-tool-bar::before { color: #16a34a; }
|
|
2181
2175
|
html.dark .folded-tool.has-success > .folded-tool-bar::before { color: #4ade80; }
|
|
2182
|
-
|
|
2183
|
-
html.dark .folded-tool.has-success .folded-tool-icon { color: #4ade80; }
|
|
2184
|
-
.folded-tool.has-success .folded-tool-name { color: #374151; }
|
|
2185
|
-
html.dark .folded-tool.has-success .folded-tool-name { color: #d1d5db; }
|
|
2186
|
-
.folded-tool.has-success .folded-tool-desc { color: #6b7280; }
|
|
2187
|
-
html.dark .folded-tool.has-success .folded-tool-desc { color: #9ca3af; }
|
|
2188
|
-
.folded-tool.has-success > .folded-tool-body { border-top-color: #d1d5db; }
|
|
2189
|
-
html.dark .folded-tool.has-success > .folded-tool-body { border-top-color: #4b5563; }
|
|
2190
|
-
|
|
2191
|
-
.folded-tool.has-error { background: #f3f4f6; }
|
|
2192
|
-
html.dark .folded-tool.has-error { background: #1f2937; }
|
|
2193
|
-
.folded-tool.has-error > .folded-tool-bar { background: #e5e7eb; }
|
|
2194
|
-
html.dark .folded-tool.has-error > .folded-tool-bar { background: #374151; }
|
|
2195
|
-
.folded-tool.has-error > .folded-tool-bar:hover { background: #d1d5db; }
|
|
2196
|
-
html.dark .folded-tool.has-error > .folded-tool-bar:hover { background: #4b5563; }
|
|
2176
|
+
|
|
2197
2177
|
.folded-tool.has-error > .folded-tool-bar::before { color: #ef4444; }
|
|
2198
2178
|
html.dark .folded-tool.has-error > .folded-tool-bar::before { color: #f87171; }
|
|
2199
|
-
.folded-tool.has-error .folded-tool-icon { color: #ef4444; }
|
|
2200
|
-
html.dark .folded-tool.has-error .folded-tool-icon { color: #f87171; }
|
|
2201
|
-
.folded-tool.has-error .folded-tool-name { color: #374151; }
|
|
2202
|
-
html.dark .folded-tool.has-error .folded-tool-name { color: #d1d5db; }
|
|
2203
|
-
.folded-tool.has-error .folded-tool-desc { color: #6b7280; }
|
|
2204
|
-
html.dark .folded-tool.has-error .folded-tool-desc { color: #9ca3af; }
|
|
2205
|
-
.folded-tool.has-error > .folded-tool-body { border-top-color: #d1d5db; }
|
|
2206
|
-
html.dark .folded-tool.has-error > .folded-tool-body { border-top-color: #4b5563; }
|
|
2207
2179
|
|
|
2208
2180
|
/* --- Success/Error status icons in header --- */
|
|
2209
2181
|
.folded-tool.has-success > .folded-tool-bar .folded-tool-icon::after,
|