codexmate 0.0.57 → 0.1.2
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 +2 -2
- package/README.vi.md +1 -0
- package/README.zh.md +2 -2
- package/cli/openai-bridge-retry.js +70 -0
- package/cli/openai-bridge-runtime.js +1832 -0
- package/cli/openai-bridge.js +143 -2044
- package/cli.js +69 -4
- package/package.json +1 -1
- package/web-ui/app.js +11 -1
- package/web-ui/modules/app.methods.agents.mjs +191 -3
- package/web-ui/modules/app.methods.openclaw-core.mjs +87 -0
- package/web-ui/modules/app.methods.providers.mjs +8 -5
- package/web-ui/modules/app.methods.web-ui-preferences.mjs +28 -1
- package/web-ui/modules/i18n/locales/en.mjs +33 -4
- package/web-ui/modules/i18n/locales/ja.mjs +33 -4
- package/web-ui/modules/i18n/locales/vi.mjs +33 -4
- package/web-ui/modules/i18n/locales/zh-tw.mjs +33 -4
- package/web-ui/modules/i18n/locales/zh.mjs +37 -8
- package/web-ui/partials/index/layout-header.html +8 -25
- package/web-ui/partials/index/modal-config-template-agents.html +8 -4
- package/web-ui/partials/index/panel-config-openclaw.html +42 -14
- package/web-ui/partials/index/panel-prompts.html +66 -3
- package/web-ui/res/web-ui-render.precompiled.js +187 -67
- package/web-ui/styles/layout-shell.css +1 -0
- package/web-ui/styles/modals-core.css +252 -0
- package/web-ui/styles/openclaw-structured.css +117 -71
- package/web-ui/styles/responsive.css +32 -0
|
@@ -363,6 +363,7 @@
|
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
.openclaw-workspace-card.settings-card,
|
|
366
|
+
.openclaw-summary-card,
|
|
366
367
|
.openclaw-configs-card {
|
|
367
368
|
margin: 0;
|
|
368
369
|
padding: 0;
|
|
@@ -375,133 +376,159 @@
|
|
|
375
376
|
}
|
|
376
377
|
|
|
377
378
|
.openclaw-workspace-card.settings-card:hover,
|
|
379
|
+
.openclaw-summary-card:hover,
|
|
378
380
|
.openclaw-configs-card:hover {
|
|
379
381
|
border-color: transparent;
|
|
380
382
|
box-shadow: none;
|
|
381
383
|
}
|
|
382
384
|
|
|
383
385
|
.openclaw-workspace-card.settings-card > .settings-card-body,
|
|
386
|
+
.openclaw-summary-card > .settings-card-body,
|
|
384
387
|
.openclaw-configs-card > .settings-card-body {
|
|
385
388
|
width: 100%;
|
|
386
389
|
min-width: 0;
|
|
387
390
|
}
|
|
388
391
|
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
justify-content: center;
|
|
394
|
-
gap: 8px;
|
|
395
|
-
min-height: 70px;
|
|
396
|
-
padding: 14px 16px;
|
|
392
|
+
.openclaw-summary-card > .settings-card-body {
|
|
393
|
+
display: grid;
|
|
394
|
+
gap: 12px;
|
|
395
|
+
padding: 16px;
|
|
397
396
|
border: 1px solid rgba(137, 111, 94, 0.12);
|
|
398
397
|
border-radius: var(--radius-lg);
|
|
399
|
-
background: rgba(255, 255, 255, 0.
|
|
398
|
+
background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(249, 244, 239, 0.72));
|
|
400
399
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
401
400
|
}
|
|
402
401
|
|
|
403
|
-
|
|
404
|
-
|
|
402
|
+
.openclaw-summary-header {
|
|
403
|
+
display: flex;
|
|
404
|
+
justify-content: space-between;
|
|
405
|
+
gap: 12px;
|
|
406
|
+
align-items: flex-start;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.summary-eyebrow {
|
|
410
|
+
font-size: 10px;
|
|
411
|
+
letter-spacing: 0.12em;
|
|
412
|
+
color: var(--color-text-tertiary);
|
|
413
|
+
font-weight: 600;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.summary-title {
|
|
417
|
+
margin-top: 2px;
|
|
418
|
+
font-size: 16px;
|
|
419
|
+
font-weight: 600;
|
|
420
|
+
color: var(--color-text-primary);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.summary-note,
|
|
424
|
+
.openclaw-diagnostic-note {
|
|
425
|
+
font-size: 11px;
|
|
426
|
+
color: var(--color-text-tertiary);
|
|
427
|
+
line-height: 1.45;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.summary-note {
|
|
431
|
+
max-width: 260px;
|
|
432
|
+
text-align: right;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.openclaw-summary-grid {
|
|
405
436
|
display: grid;
|
|
406
|
-
grid-template-columns: repeat(auto-fit, minmax(
|
|
437
|
+
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
407
438
|
gap: 8px;
|
|
408
|
-
align-items: stretch;
|
|
409
439
|
}
|
|
410
440
|
|
|
411
|
-
.openclaw-
|
|
441
|
+
.openclaw-summary-item {
|
|
412
442
|
min-width: 0;
|
|
413
|
-
|
|
414
|
-
|
|
443
|
+
padding: 10px 12px;
|
|
444
|
+
border: 1px solid rgba(137, 111, 94, 0.10);
|
|
445
|
+
border-radius: var(--radius-md);
|
|
446
|
+
background: rgba(255, 255, 255, 0.72);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.summary-item-label {
|
|
450
|
+
margin-bottom: 4px;
|
|
451
|
+
font-size: 11px;
|
|
452
|
+
color: var(--color-text-tertiary);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.summary-item-value {
|
|
456
|
+
font-size: 13px;
|
|
457
|
+
font-weight: 500;
|
|
458
|
+
color: var(--color-text-primary);
|
|
459
|
+
overflow-wrap: anywhere;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.openclaw-tools-grid {
|
|
463
|
+
display: grid;
|
|
464
|
+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
465
|
+
gap: 10px;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.openclaw-tool-btn {
|
|
469
|
+
display: grid;
|
|
470
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
415
471
|
gap: 12px;
|
|
416
|
-
|
|
472
|
+
align-items: center;
|
|
473
|
+
min-height: 74px;
|
|
417
474
|
padding: 14px 16px;
|
|
418
|
-
width: 100%;
|
|
419
|
-
border-radius: var(--radius-lg);
|
|
420
475
|
border: 1px solid rgba(137, 111, 94, 0.12);
|
|
476
|
+
border-radius: var(--radius-lg);
|
|
421
477
|
background: rgba(255, 255, 255, 0.76);
|
|
422
|
-
|
|
423
|
-
transition: all 0.2s ease;
|
|
478
|
+
color: var(--color-text-primary);
|
|
424
479
|
text-align: left;
|
|
425
|
-
|
|
480
|
+
cursor: pointer;
|
|
481
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
482
|
+
transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
|
|
426
483
|
}
|
|
427
484
|
|
|
428
485
|
.openclaw-tool-btn:hover:not(:disabled) {
|
|
429
|
-
border-color: rgba(137, 111, 94, 0.18);
|
|
430
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
|
|
431
486
|
transform: translateY(-1px);
|
|
487
|
+
border-color: rgba(137, 111, 94, 0.22);
|
|
488
|
+
box-shadow: 0 8px 22px rgba(68, 52, 39, 0.08);
|
|
432
489
|
}
|
|
433
490
|
|
|
434
491
|
.openclaw-tool-btn:disabled {
|
|
435
|
-
opacity: 0.
|
|
492
|
+
opacity: 0.58;
|
|
436
493
|
cursor: not-allowed;
|
|
437
494
|
}
|
|
438
495
|
|
|
439
496
|
.tool-icon {
|
|
440
|
-
|
|
441
|
-
height: 40px;
|
|
442
|
-
display: flex;
|
|
497
|
+
display: inline-flex;
|
|
443
498
|
align-items: center;
|
|
444
499
|
justify-content: center;
|
|
445
|
-
|
|
446
|
-
|
|
500
|
+
width: 38px;
|
|
501
|
+
height: 38px;
|
|
447
502
|
border-radius: var(--radius-md);
|
|
448
|
-
|
|
503
|
+
background: rgba(137, 111, 94, 0.08);
|
|
504
|
+
font-size: 19px;
|
|
449
505
|
}
|
|
450
506
|
|
|
451
507
|
.tool-content {
|
|
452
|
-
flex: 1;
|
|
453
508
|
min-width: 0;
|
|
454
|
-
display: flex;
|
|
455
|
-
flex-direction: column;
|
|
456
|
-
gap: 2px;
|
|
457
509
|
}
|
|
458
510
|
|
|
459
511
|
.tool-title {
|
|
460
512
|
font-size: 14px;
|
|
461
|
-
font-weight:
|
|
513
|
+
font-weight: 600;
|
|
462
514
|
color: var(--color-text-primary);
|
|
515
|
+
line-height: 1.25;
|
|
516
|
+
overflow-wrap: anywhere;
|
|
463
517
|
}
|
|
464
518
|
|
|
465
519
|
.tool-meta {
|
|
520
|
+
margin-top: 4px;
|
|
466
521
|
font-size: 11px;
|
|
522
|
+
letter-spacing: 0.03em;
|
|
523
|
+
text-transform: uppercase;
|
|
467
524
|
color: var(--color-text-tertiary);
|
|
468
|
-
|
|
525
|
+
white-space: nowrap;
|
|
469
526
|
}
|
|
470
527
|
|
|
471
528
|
.tool-chevron {
|
|
472
529
|
width: 18px;
|
|
473
530
|
height: 18px;
|
|
474
|
-
color: var(--color-text-muted);
|
|
475
|
-
flex-shrink: 0;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
.workspace-label {
|
|
479
|
-
font-size: 13px;
|
|
480
|
-
font-weight: 500;
|
|
481
|
-
color: var(--color-text-primary);
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.workspace-input-group {
|
|
485
|
-
display: grid;
|
|
486
|
-
grid-template-columns: minmax(0, 1fr) max-content;
|
|
487
|
-
gap: 8px;
|
|
488
|
-
align-items: center;
|
|
489
|
-
width: 100%;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
.workspace-input-group .form-input {
|
|
493
|
-
min-height: 36px;
|
|
494
|
-
width: 100%;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
.workspace-input-group .btn-tool {
|
|
498
|
-
white-space: nowrap;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
.workspace-meta {
|
|
502
|
-
font-size: 11px;
|
|
503
531
|
color: var(--color-text-tertiary);
|
|
504
|
-
line-height: 1.45;
|
|
505
532
|
}
|
|
506
533
|
|
|
507
534
|
.openclaw-card-list {
|
|
@@ -563,6 +590,23 @@
|
|
|
563
590
|
overflow-wrap: anywhere;
|
|
564
591
|
}
|
|
565
592
|
|
|
593
|
+
.openclaw-config-summary-mini {
|
|
594
|
+
display: flex;
|
|
595
|
+
flex-wrap: wrap;
|
|
596
|
+
gap: 6px;
|
|
597
|
+
margin-top: 6px;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.openclaw-config-summary-mini span {
|
|
601
|
+
max-width: 100%;
|
|
602
|
+
padding: 3px 7px;
|
|
603
|
+
border-radius: 999px;
|
|
604
|
+
background: rgba(137, 111, 94, 0.08);
|
|
605
|
+
color: var(--color-text-tertiary);
|
|
606
|
+
font-size: 11px;
|
|
607
|
+
overflow-wrap: anywhere;
|
|
608
|
+
}
|
|
609
|
+
|
|
566
610
|
@media (min-width: 1200px) {
|
|
567
611
|
.tool-icon {
|
|
568
612
|
width: 42px;
|
|
@@ -576,12 +620,14 @@
|
|
|
576
620
|
grid-template-columns: 1fr;
|
|
577
621
|
}
|
|
578
622
|
|
|
579
|
-
|
|
580
|
-
|
|
623
|
+
|
|
624
|
+
.openclaw-summary-header {
|
|
625
|
+
flex-direction: column;
|
|
581
626
|
}
|
|
582
627
|
|
|
583
|
-
.
|
|
584
|
-
width:
|
|
628
|
+
.summary-note {
|
|
629
|
+
max-width: none;
|
|
630
|
+
text-align: left;
|
|
585
631
|
}
|
|
586
632
|
}
|
|
587
633
|
|
|
@@ -199,6 +199,22 @@ textarea:focus-visible {
|
|
|
199
199
|
flex-wrap: wrap;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
.prompt-presets-inline-row {
|
|
203
|
+
align-items: stretch;
|
|
204
|
+
flex-direction: column;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.prompt-presets-inline-group,
|
|
208
|
+
.prompt-presets-inline-group--save {
|
|
209
|
+
width: 100%;
|
|
210
|
+
justify-content: flex-start;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.prompt-presets-select,
|
|
214
|
+
.prompt-presets-name-input {
|
|
215
|
+
width: 100%;
|
|
216
|
+
}
|
|
217
|
+
|
|
202
218
|
.template-editor,
|
|
203
219
|
.agents-diff-editor {
|
|
204
220
|
min-height: min(50vh, 400px);
|
|
@@ -604,6 +620,22 @@ textarea:focus-visible {
|
|
|
604
620
|
width: 100%;
|
|
605
621
|
flex-wrap: wrap;
|
|
606
622
|
}
|
|
623
|
+
|
|
624
|
+
.prompt-presets-inline-row {
|
|
625
|
+
align-items: stretch;
|
|
626
|
+
flex-direction: column;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.prompt-presets-inline-group,
|
|
630
|
+
.prompt-presets-inline-group--save {
|
|
631
|
+
width: 100%;
|
|
632
|
+
justify-content: flex-start;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.prompt-presets-select,
|
|
636
|
+
.prompt-presets-name-input {
|
|
637
|
+
width: 100%;
|
|
638
|
+
}
|
|
607
639
|
}
|
|
608
640
|
|
|
609
641
|
@media (max-width: 820px) {
|