codexmate 0.1.32 → 0.1.34

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.
Files changed (109) hide show
  1. package/README.md +18 -2
  2. package/README.vi.md +18 -2
  3. package/README.zh.md +18 -2
  4. package/cli/claude-proxy.js +2 -2
  5. package/cli/local-bridge.js +10 -6
  6. package/cli/openai-chat-routing.js +38 -0
  7. package/cli/prompt-history.js +2 -0
  8. package/cli/routing-bridge.js +143 -0
  9. package/cli/system-prompt-files.js +75 -53
  10. package/cli.js +325 -215
  11. package/lib/cli-config-engine.js +6 -1
  12. package/lib/cli-file-utils.js +6 -1
  13. package/lib/config-change-fs.js +132 -0
  14. package/lib/config-changes.js +293 -0
  15. package/lib/file-sharing-lan.js +111 -0
  16. package/lib/file-sharing.js +196 -0
  17. package/lib/handoff-mcp.js +18 -2
  18. package/lib/local-feature-store.js +39 -0
  19. package/lib/model-test-client.js +61 -0
  20. package/lib/model-test.js +126 -0
  21. package/lib/routing-groups.js +161 -0
  22. package/lib/session-bookmarks.js +72 -0
  23. package/lib/session-context-health.js +23 -3
  24. package/lib/session-diagnostics.js +75 -0
  25. package/lib/session-feature-settings.js +21 -0
  26. package/lib/session-features.js +63 -0
  27. package/lib/session-handoff-draft.js +43 -0
  28. package/lib/session-projects.js +76 -0
  29. package/lib/session-search-index.js +188 -0
  30. package/lib/thread-handoff.js +8 -0
  31. package/lib/web-server.js +216 -0
  32. package/package.json +1 -1
  33. package/plugins/file-sharing/manifest.mjs +10 -0
  34. package/plugins/file-sharing/methods.mjs +101 -0
  35. package/plugins/file-sharing/overview.mjs +3 -0
  36. package/plugins/file-sharing/ownership.mjs +5 -0
  37. package/plugins/registry.mjs +3 -0
  38. package/web-ui/app.js +22 -3
  39. package/web-ui/index.html +4 -2
  40. package/web-ui/logic.context-window.mjs +15 -0
  41. package/web-ui/modules/api.mjs +72 -39
  42. package/web-ui/modules/app.computed.main-tabs.mjs +3 -0
  43. package/web-ui/modules/app.methods.agents.mjs +17 -0
  44. package/web-ui/modules/app.methods.claude-config.mjs +2 -0
  45. package/web-ui/modules/app.methods.codex-config.mjs +9 -0
  46. package/web-ui/modules/app.methods.config-changes.mjs +124 -0
  47. package/web-ui/modules/app.methods.install.mjs +23 -3
  48. package/web-ui/modules/app.methods.kilocode-config.mjs +2 -0
  49. package/web-ui/modules/app.methods.navigation.mjs +2 -0
  50. package/web-ui/modules/app.methods.openclaw-persist.mjs +2 -0
  51. package/web-ui/modules/app.methods.opencode-config.mjs +2 -0
  52. package/web-ui/modules/app.methods.pi-config.mjs +12 -3
  53. package/web-ui/modules/app.methods.prompts-editor.mjs +7 -4
  54. package/web-ui/modules/app.methods.provider-cache.mjs +9 -3
  55. package/web-ui/modules/app.methods.providers.mjs +6 -0
  56. package/web-ui/modules/app.methods.session-actions.mjs +2 -2
  57. package/web-ui/modules/app.methods.startup-claude.mjs +8 -47
  58. package/web-ui/modules/app.methods.system-prompt.mjs +88 -17
  59. package/web-ui/modules/app.methods.theme.mjs +4 -3
  60. package/web-ui/modules/app.methods.web-ui-preferences.mjs +7 -0
  61. package/web-ui/modules/config-change-actions.mjs +9 -0
  62. package/web-ui/modules/i18n/locales/en.mjs +254 -8
  63. package/web-ui/modules/i18n/locales/ja.mjs +254 -8
  64. package/web-ui/modules/i18n/locales/vi.mjs +254 -8
  65. package/web-ui/modules/i18n/locales/zh-tw.mjs +254 -8
  66. package/web-ui/modules/i18n/locales/zh.mjs +254 -8
  67. package/web-ui/modules/model-test.mjs +82 -0
  68. package/web-ui/modules/plugins.methods.mjs +3 -1
  69. package/web-ui/modules/prompt-ecosystem.methods.mjs +4 -3
  70. package/web-ui/modules/request-deadline.mjs +33 -0
  71. package/web-ui/modules/routing.mjs +206 -0
  72. package/web-ui/modules/session-features.mjs +279 -0
  73. package/web-ui/modules/thread-handoff.mjs +1 -1
  74. package/web-ui/partials/index/config-changes.html +25 -0
  75. package/web-ui/partials/index/context-window-reference.html +17 -0
  76. package/web-ui/partials/index/layout-header.html +40 -42
  77. package/web-ui/partials/index/modal-openclaw-config.html +0 -2
  78. package/web-ui/partials/index/modal-skills.html +0 -1
  79. package/web-ui/partials/index/modals-basic.html +15 -8
  80. package/web-ui/partials/index/modals-pi-provider.html +0 -1
  81. package/web-ui/partials/index/panel-config-codex.html +0 -3
  82. package/web-ui/partials/index/panel-config-openclaw.html +16 -13
  83. package/web-ui/partials/index/panel-dashboard.html +0 -2
  84. package/web-ui/partials/index/panel-plugins.html +3 -10
  85. package/web-ui/partials/index/panel-prompts.html +13 -8
  86. package/web-ui/partials/index/panel-routing.html +3 -0
  87. package/web-ui/partials/index/panel-sessions.html +9 -0
  88. package/web-ui/partials/index/panel-settings.html +12 -13
  89. package/web-ui/partials/index/panel-trash.html +0 -1
  90. package/web-ui/partials/index/plugin-file-sharing.html +47 -0
  91. package/web-ui/partials/index/routing-model-test.html +53 -0
  92. package/web-ui/partials/index/session-diagnostics.html +32 -0
  93. package/web-ui/partials/index/session-features.html +107 -0
  94. package/web-ui/partials/index/thread-handoff.html +6 -3
  95. package/web-ui/res/web-ui-render.precompiled.js +1689 -246
  96. package/web-ui/styles/base-theme.css +1 -1
  97. package/web-ui/styles/config-changes.css +30 -0
  98. package/web-ui/styles/modals-core.css +6 -5
  99. package/web-ui/styles/navigation-panels.css +4 -0
  100. package/web-ui/styles/openclaw-structured.css +205 -189
  101. package/web-ui/styles/plugins-panel.css +40 -1
  102. package/web-ui/styles/responsive.css +10 -5
  103. package/web-ui/styles/routing.css +78 -0
  104. package/web-ui/styles/session-features.css +258 -0
  105. package/web-ui/styles/settings-panel.css +30 -0
  106. package/web-ui/styles/system-prompt.css +8 -7
  107. package/web-ui/styles/theme-violet-tokens.css +52 -0
  108. package/web-ui/styles/theme-violet.css +1736 -0
  109. package/web-ui/styles.css +5 -1
@@ -167,7 +167,7 @@ body.force-compact .provider-fast-switch-select {
167
167
 
168
168
  body.force-compact .main-panel-topbar {
169
169
  position: static;
170
- margin: 0 0 10px;
170
+ margin: 0 0 var(--panel-top-gap);
171
171
  padding: 0;
172
172
  background: transparent;
173
173
  backdrop-filter: none;
@@ -0,0 +1,30 @@
1
+ .config-change-last {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: space-between;
5
+ gap: 16px;
6
+ flex-wrap: wrap;
7
+ margin-bottom: 16px;
8
+ color: var(--text-secondary);
9
+ }
10
+ .config-change-overlay { z-index: 160; }
11
+ .config-change-modal {
12
+ display: flex;
13
+ flex-direction: column;
14
+ max-height: 88dvh;
15
+ gap: 16px;
16
+ }
17
+ .config-change-files {
18
+ min-height: 0;
19
+ overflow: auto;
20
+ overscroll-behavior: contain;
21
+ }
22
+ .config-change-file + .config-change-file { margin-top: 24px; }
23
+ .config-change-file h3 { font-size: 14px; margin: 0 0 8px; }
24
+ .config-change-file code { overflow-wrap: anywhere; font-weight: normal; }
25
+ .config-change-diff { margin: 0; font-size: 12px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
26
+ .config-change-line { display: block; min-height: 1.6em; }
27
+ .config-change-line-add { background: color-mix(in srgb, var(--success, #27834b) 12%, transparent); }
28
+ .config-change-line-del { background: color-mix(in srgb, var(--danger, #b34646) 12%, transparent); }
29
+ .config-change-actions { margin-top: 0; flex-shrink: 0; }
30
+ .config-change-actions button, .config-change-last button { min-height: 44px; }
@@ -168,6 +168,12 @@
168
168
  letter-spacing: -0.01em;
169
169
  }
170
170
 
171
+ .app-update-modal .btn,
172
+ .app-update-modal .docs-copy-btn {
173
+ min-width: 44px;
174
+ min-height: 44px;
175
+ }
176
+
171
177
  .confirm-dialog {
172
178
  max-width: 460px;
173
179
  }
@@ -823,11 +829,6 @@
823
829
  min-width: 0;
824
830
  }
825
831
 
826
- .project-path-detected {
827
- margin-top: 4px;
828
- font-size: 0.82em;
829
- }
830
-
831
832
  .editor-frame {
832
833
  position: relative;
833
834
  border-radius: var(--radius-md);
@@ -159,6 +159,7 @@
159
159
  }
160
160
 
161
161
  .main-panel {
162
+ --panel-top-gap: 12px;
162
163
  min-width: 0;
163
164
  background: transparent;
164
165
  border: none;
@@ -184,6 +185,7 @@
184
185
  top: 0;
185
186
  z-index: 12;
186
187
  margin: 0 -16px 12px;
188
+ margin-block-end: var(--panel-top-gap);
187
189
  padding: 0 16px 8px;
188
190
  background: linear-gradient(180deg, var(--color-bg-topbar-strong) 0%, var(--color-bg-topbar-soft) 78%, var(--color-bg-topbar-clear) 100%);
189
191
  backdrop-filter: blur(18px) saturate(130%);
@@ -386,6 +388,8 @@
386
388
  }
387
389
 
388
390
  .content-wrapper {
391
+ /* Contain leading margins without changing the session-specific flex layout. */
392
+ display: flow-root;
389
393
  background: transparent;
390
394
  border: none;
391
395
  border-radius: 0;
@@ -354,309 +354,325 @@
354
354
  }
355
355
 
356
356
 
357
- /* OpenClaw config tab: align with current settings/card system */
358
- .openclaw-layout {
357
+ /* Keep OpenClaw layout isolated from shared cards and theme overrides. */
358
+ #panel-config-openclaw .openclaw-layout {
359
359
  display: grid;
360
- gap: 10px;
361
- padding: 0;
360
+ gap: var(--spacing-sm);
362
361
  width: 100%;
362
+ min-width: 0;
363
+ padding: 0;
363
364
  }
364
365
 
365
- .openclaw-workspace-card.settings-card,
366
- .openclaw-summary-card,
367
- .openclaw-configs-card {
366
+ #panel-config-openclaw .tool-config-write-card {
368
367
  margin: 0;
369
- padding: 0;
368
+ }
369
+
370
+ #panel-config-openclaw :is(.openclaw-workspace-card, .openclaw-summary-card, .openclaw-configs-card) {
370
371
  width: 100%;
371
- align-items: stretch;
372
+ min-width: 0;
373
+ margin: 0;
374
+ padding: 0;
372
375
  border: 0;
373
376
  border-radius: 0;
374
377
  background: transparent;
375
378
  box-shadow: none;
376
379
  }
377
380
 
378
- .openclaw-workspace-card.settings-card:hover,
379
- .openclaw-summary-card:hover,
380
- .openclaw-configs-card:hover {
381
- border-color: transparent;
382
- box-shadow: none;
383
- }
384
-
385
- .openclaw-workspace-card.settings-card > .settings-card-body,
386
- .openclaw-summary-card > .settings-card-body,
387
- .openclaw-configs-card > .settings-card-body {
381
+ #panel-config-openclaw :is(.openclaw-workspace-card, .openclaw-summary-card, .openclaw-configs-card) > .settings-card-body {
382
+ display: grid;
383
+ gap: 16px;
388
384
  width: 100%;
389
385
  min-width: 0;
386
+ padding: 0;
387
+ border: 0;
388
+ border-radius: 0;
389
+ background: transparent;
390
+ box-shadow: none;
390
391
  }
391
392
 
392
- .openclaw-summary-card > .settings-card-body {
393
+ #panel-config-openclaw .tool-config-write-body {
393
394
  display: grid;
394
- gap: 12px;
395
- padding: 16px;
396
- border: 1px solid rgba(137, 111, 94, 0.12);
397
- border-radius: var(--radius-lg);
398
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(249, 244, 239, 0.72));
399
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
395
+ gap: var(--spacing-md);
400
396
  }
401
397
 
402
- .openclaw-summary-header {
398
+ #panel-config-openclaw .openclaw-summary-header {
403
399
  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);
400
+ align-items: baseline;
401
+ gap: 16px;
421
402
  }
422
403
 
423
- .summary-note,
424
- .openclaw-diagnostic-note {
425
- font-size: 11px;
426
- color: var(--color-text-tertiary);
427
- line-height: 1.45;
404
+ #panel-config-openclaw .summary-title {
405
+ margin: 0;
406
+ color: var(--color-text-secondary);
407
+ font-size: var(--font-size-secondary);
408
+ font-weight: var(--font-weight-secondary);
409
+ line-height: var(--line-height-normal);
428
410
  }
429
411
 
430
- .summary-note {
431
- max-width: 260px;
432
- text-align: right;
412
+ #panel-config-openclaw .openclaw-section-title {
413
+ margin: 0;
414
+ color: var(--color-text-secondary);
415
+ font-size: var(--font-size-secondary);
416
+ font-weight: var(--font-weight-secondary);
417
+ line-height: var(--line-height-normal);
433
418
  }
434
419
 
435
- .openclaw-summary-grid {
420
+ #panel-config-openclaw .openclaw-summary-grid {
436
421
  display: grid;
437
- grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
438
- gap: 8px;
422
+ grid-template-columns: repeat(2, minmax(0, 1fr));
423
+ gap: 16px 24px;
439
424
  }
440
425
 
441
- .openclaw-summary-item {
426
+ #panel-config-openclaw .openclaw-summary-item {
442
427
  min-width: 0;
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);
428
+ padding: 0;
429
+ border: 0;
430
+ border-radius: 0;
431
+ background: transparent;
432
+ }
433
+
434
+ #panel-config-openclaw .openclaw-summary-item:first-child {
435
+ grid-column: 1 / -1;
447
436
  }
448
437
 
449
- .summary-item-label {
438
+ #panel-config-openclaw .summary-item-label {
450
439
  margin-bottom: 4px;
451
- font-size: 11px;
452
- color: var(--color-text-tertiary);
440
+ color: var(--color-text-secondary);
441
+ font-size: var(--font-size-caption);
442
+ line-height: 1.5;
453
443
  }
454
444
 
455
- .summary-item-value {
456
- font-size: 13px;
457
- font-weight: 500;
445
+ #panel-config-openclaw .summary-item-value {
458
446
  color: var(--color-text-primary);
447
+ font-size: var(--font-size-secondary);
448
+ font-weight: var(--font-weight-secondary);
449
+ line-height: var(--line-height-normal);
459
450
  overflow-wrap: anywhere;
460
451
  }
461
452
 
462
- .openclaw-tools-grid {
453
+ #panel-config-openclaw .openclaw-summary-item:first-child .summary-item-value {
454
+ font-family: var(--font-family-mono);
455
+ font-size: 13px;
456
+ }
457
+
458
+ #panel-config-openclaw .openclaw-diagnostic-note {
459
+ color: var(--color-text-tertiary);
460
+ font-size: 12px;
461
+ line-height: 1.5;
462
+ }
463
+
464
+ #panel-config-openclaw .openclaw-tools-grid {
463
465
  display: grid;
464
- grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
465
- gap: 10px;
466
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
467
+ gap: 8px;
466
468
  }
467
469
 
468
- .openclaw-tool-btn {
470
+ #panel-config-openclaw .openclaw-tool-btn {
469
471
  display: grid;
470
- grid-template-columns: auto minmax(0, 1fr) auto;
471
- gap: 12px;
472
+ grid-template-columns: 20px minmax(0, 1fr) 16px;
472
473
  align-items: center;
473
- min-height: 74px;
474
- padding: 14px 16px;
475
- border: 1px solid rgba(137, 111, 94, 0.12);
476
- border-radius: var(--radius-lg);
477
- background: rgba(255, 255, 255, 0.76);
474
+ gap: 8px;
475
+ min-width: 0;
476
+ min-height: 56px;
477
+ padding: 12px;
478
+ border: 1px solid var(--color-border-soft);
479
+ border-radius: var(--radius-md);
480
+ background: var(--color-surface);
478
481
  color: var(--color-text-primary);
482
+ font: inherit;
479
483
  text-align: left;
480
484
  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;
485
+ box-shadow: none;
486
+ transition: background-color 160ms var(--ease-smooth), color 160ms var(--ease-smooth);
487
+ }
488
+
489
+ #panel-config-openclaw .openclaw-tool-btn:hover:not(:disabled) {
490
+ background: var(--color-brand-light);
491
+ box-shadow: none;
492
+ transform: none;
483
493
  }
484
494
 
485
- .openclaw-tool-btn:hover:not(:disabled) {
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);
495
+ #panel-config-openclaw .openclaw-tool-btn:active:not(:disabled) {
496
+ background: var(--color-brand-subtle);
489
497
  }
490
498
 
491
- .openclaw-tool-btn:disabled {
492
- opacity: 0.58;
499
+ #panel-config-openclaw .openclaw-tool-btn:disabled {
500
+ opacity: 0.55;
493
501
  cursor: not-allowed;
494
502
  }
495
503
 
496
- .tool-icon {
497
- display: inline-flex;
498
- align-items: center;
499
- justify-content: center;
500
- width: 38px;
501
- height: 38px;
502
- border-radius: var(--radius-md);
503
- background: rgba(137, 111, 94, 0.08);
504
- font-size: 19px;
504
+ #panel-config-openclaw :is(.openclaw-tool-btn, .card-action-btn, .card):focus-visible {
505
+ outline: 2px solid var(--color-brand);
506
+ outline-offset: 2px;
507
+ }
508
+
509
+ #panel-config-openclaw .tool-icon {
510
+ width: 20px;
511
+ height: 20px;
512
+ border-radius: 0;
513
+ background: transparent;
514
+ color: var(--color-text-secondary);
505
515
  }
506
516
 
507
- .tool-content {
517
+ #panel-config-openclaw .tool-content {
508
518
  min-width: 0;
509
519
  }
510
520
 
511
- .tool-title {
512
- font-size: 14px;
513
- font-weight: 600;
521
+ #panel-config-openclaw .tool-title {
514
522
  color: var(--color-text-primary);
515
- line-height: 1.25;
523
+ font-family: var(--font-family-body);
524
+ font-size: var(--font-size-secondary);
525
+ font-weight: var(--font-weight-secondary);
526
+ line-height: 1.5;
516
527
  overflow-wrap: anywhere;
517
528
  }
518
529
 
519
- .tool-meta {
530
+ #panel-config-openclaw .tool-meta {
520
531
  margin-top: 4px;
521
- font-size: 11px;
522
- letter-spacing: 0.03em;
523
- text-transform: uppercase;
524
- color: var(--color-text-tertiary);
525
- white-space: nowrap;
532
+ color: var(--color-text-secondary);
533
+ font-size: 12px;
534
+ line-height: 1.5;
526
535
  }
527
536
 
528
- .tool-chevron {
529
- width: 18px;
530
- height: 18px;
537
+ #panel-config-openclaw .tool-chevron {
538
+ width: 16px;
539
+ height: 16px;
531
540
  color: var(--color-text-tertiary);
532
541
  }
533
542
 
534
- .openclaw-card-list {
535
- margin-bottom: 0;
543
+ #panel-config-openclaw .openclaw-card-list {
544
+ grid-template-columns: minmax(0, 1fr);
545
+ gap: 8px;
546
+ margin: 0;
536
547
  }
537
548
 
538
- .openclaw-card-list .card {
549
+ #panel-config-openclaw .openclaw-card-list .card {
539
550
  width: 100%;
540
- min-height: 70px;
541
- flex-direction: row;
551
+ min-width: 0;
552
+ min-height: 88px;
542
553
  align-items: center;
543
- gap: 14px;
544
- padding: 14px 16px;
554
+ flex-direction: row;
555
+ gap: 16px;
556
+ padding: 16px;
557
+ border: 1px solid var(--color-border-soft);
558
+ background: var(--color-surface);
559
+ box-shadow: none;
560
+ transition: background-color 160ms var(--ease-smooth);
561
+ border-radius: var(--radius-md);
545
562
  }
546
563
 
547
- .openclaw-card-list .card-icon {
548
- display: none;
564
+ #panel-config-openclaw .openclaw-card-list .card:hover:not(.disabled) {
565
+ background: var(--color-surface-alt);
566
+ box-shadow: none;
567
+ transform: none;
568
+ border-color: var(--color-border-strong);
549
569
  }
550
570
 
551
- .openclaw-card-list .card-leading {
552
- flex: 1 1 auto;
553
- min-width: 0;
571
+ #panel-config-openclaw .openclaw-card-list .card.active,
572
+ #panel-config-openclaw .openclaw-card-list .card.active:hover:not(.disabled) {
573
+ background: var(--color-brand-light);
574
+ border-color: var(--color-brand-subtle);
554
575
  }
555
576
 
556
- .openclaw-card-list .card-content {
557
- flex: 1;
577
+ #panel-config-openclaw .openclaw-card-list .card::before,
578
+ #panel-config-openclaw .openclaw-card-list .card::after {
579
+ display: none;
558
580
  }
559
581
 
560
- .openclaw-card-list .card-title {
561
- white-space: normal;
562
- overflow: visible;
582
+ #panel-config-openclaw .openclaw-card-list :is(.card-leading, .card-content) {
583
+ flex: 1 1 auto;
584
+ min-width: 0;
563
585
  }
564
586
 
565
- .openclaw-card-list .card-subtitle {
587
+ #panel-config-openclaw .openclaw-card-list .card-title {
566
588
  white-space: normal;
567
589
  overflow: visible;
590
+ overflow-wrap: anywhere;
568
591
  }
569
592
 
570
- .openclaw-card-list .card-trailing {
571
- width: auto;
572
- min-width: max-content;
573
- grid-auto-flow: column;
574
- grid-auto-columns: max-content;
575
- align-items: center;
576
- justify-content: end;
577
- }
578
-
579
- .openclaw-card-list .card {
580
- background: rgba(255, 255, 255, 0.76);
581
- border-color: rgba(137, 111, 94, 0.12);
582
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
583
- }
584
-
585
- .openclaw-card-list .card-subtitle {
593
+ #panel-config-openclaw .openclaw-card-list .card-subtitle {
586
594
  white-space: normal;
587
- display: -webkit-box;
588
- -webkit-box-orient: vertical;
589
- -webkit-line-clamp: 2;
590
595
  overflow-wrap: anywhere;
591
596
  }
592
597
 
593
- .openclaw-config-summary-mini {
598
+ #panel-config-openclaw .openclaw-config-summary-mini {
594
599
  display: flex;
595
600
  flex-wrap: wrap;
596
- gap: 6px;
597
- margin-top: 6px;
601
+ gap: 4px 16px;
602
+ margin-top: 8px;
598
603
  }
599
604
 
600
- .openclaw-config-summary-mini span {
605
+ #panel-config-openclaw .openclaw-config-summary-mini span {
601
606
  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
+ padding: 0;
608
+ border-radius: 0;
609
+ background: transparent;
610
+ color: var(--color-text-secondary);
611
+ font-size: 12px;
612
+ line-height: 1.5;
607
613
  overflow-wrap: anywhere;
608
614
  }
609
615
 
610
- @media (min-width: 1200px) {
611
- .tool-icon {
612
- width: 42px;
613
- height: 42px;
614
- font-size: 21px;
615
- }
616
+ #panel-config-openclaw .openclaw-card-list .card-trailing {
617
+ display: flex;
618
+ flex: 0 0 auto;
619
+ align-items: center;
620
+ gap: 12px;
621
+ width: auto;
622
+ min-width: 0;
616
623
  }
617
624
 
618
- @media (max-width: 820px) {
619
- .openclaw-tools-grid {
620
- grid-template-columns: 1fr;
621
- }
625
+ #panel-config-openclaw .card-actions {
626
+ display: flex;
627
+ align-items: center;
628
+ gap: 8px;
629
+ }
622
630
 
631
+ #panel-config-openclaw .card-action-btn {
632
+ width: 44px;
633
+ height: 44px;
634
+ min-width: 44px;
635
+ padding: 12px;
636
+ }
623
637
 
624
- .openclaw-summary-header {
638
+ @media (min-width: 960px) {
639
+ #panel-config-openclaw .openclaw-summary-grid {
640
+ grid-template-columns: repeat(4, minmax(0, 1fr));
641
+ }
642
+ #panel-config-openclaw .openclaw-card-list {
643
+ grid-template-columns: repeat(2, minmax(0, 1fr));
644
+ }
645
+ #panel-config-openclaw .openclaw-card-list .card {
646
+ align-items: stretch;
625
647
  flex-direction: column;
648
+ gap: 12px;
626
649
  }
627
-
628
- .summary-note {
629
- max-width: none;
630
- text-align: left;
650
+ #panel-config-openclaw .openclaw-card-list .card-trailing {
651
+ width: 100%;
652
+ align-self: stretch;
653
+ justify-content: space-between;
631
654
  }
632
655
  }
633
656
 
634
657
  @media (max-width: 520px) {
635
- .openclaw-layout {
636
- gap: 12px;
637
- padding-top: 0;
658
+ #panel-config-openclaw .openclaw-tools-grid {
659
+ grid-template-columns: minmax(0, 1fr);
638
660
  }
639
661
 
640
- .openclaw-tool-btn {
641
- padding: 14px;
642
- }
643
-
644
- .tool-icon {
645
- width: 36px;
646
- height: 36px;
647
- font-size: 18px;
662
+ #panel-config-openclaw .openclaw-card-list .card {
663
+ align-items: stretch;
664
+ flex-direction: column;
665
+ gap: 12px;
648
666
  }
649
667
 
650
- .openclaw-card-list .card {
651
- align-items: center;
652
- flex-direction: row;
653
- gap: 10px;
668
+ #panel-config-openclaw .openclaw-card-list .card-trailing {
669
+ width: 100%;
670
+ justify-content: space-between;
654
671
  }
672
+ }
655
673
 
656
- .openclaw-card-list .card-trailing {
657
- width: auto;
658
- min-width: max-content;
659
- grid-auto-flow: column;
660
- justify-content: end;
674
+ @media (prefers-reduced-motion: reduce) {
675
+ #panel-config-openclaw :is(.openclaw-tool-btn, .openclaw-card-list .card) {
676
+ transition: none;
661
677
  }
662
678
  }
@@ -568,7 +568,6 @@
568
568
  #panel-plugins .plugins-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
569
569
  #panel-plugins .plugins-sidebar { padding: 0; border: 0; background: transparent; box-shadow: none; }
570
570
  #panel-plugins .plugins-sidebar-header { display: none; }
571
- #panel-plugins .plugins-sidebar-header .plugins-panel-note { display: none; }
572
571
  #panel-plugins .plugins-list { display: flex; flex-wrap: wrap; gap: 2px; width: fit-content; border-bottom: 1px solid var(--color-border-soft); }
573
572
  #panel-plugins .plugins-item { width: auto; min-height: 44px; padding: 7px 10px 8px; gap: 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
574
573
  #panel-plugins .plugins-item-meta, #panel-plugins .plugins-item > .pill { display: none; }
@@ -624,3 +623,43 @@
624
623
  @media (prefers-reduced-motion: reduce) {
625
624
  #panel-plugins button { transition: none; }
626
625
  }
626
+
627
+ #plugin-file-sharing .plugins-panel-head { flex-wrap: wrap; }
628
+ .file-sharing-actions { display: flex; flex-wrap: wrap; gap: 8px; }
629
+ .file-sharing-actions .btn-mini, .file-sharing-row .btn-mini { min-height: 44px; min-width: 44px; }
630
+ .file-sharing-items { list-style: none; margin: 0; padding: 0; overflow-wrap: anywhere; }
631
+ .file-sharing-pending { display: grid; gap: 8px; margin-block: 16px; }
632
+ .file-sharing-pending .file-sharing-items { max-height: 200px; overflow: auto; }
633
+ .file-sharing-batches { display: grid; gap: 16px; margin-block: 16px; }
634
+ .file-sharing-batches > li {
635
+ min-width: 0;
636
+ padding: 12px;
637
+ border-radius: var(--radius-md);
638
+ background: var(--color-surface);
639
+ }
640
+ .file-sharing-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
641
+ .file-sharing-row > :first-child { flex: 1 1 160px; min-width: 0; }
642
+ .file-sharing-row .file-sharing-icon {
643
+ display: inline-grid;
644
+ place-items: center;
645
+ width: 44px;
646
+ height: 44px;
647
+ padding: 0;
648
+ border-color: transparent;
649
+ background: transparent;
650
+ box-shadow: none;
651
+ color: var(--color-text-secondary);
652
+ transition: background-color 150ms ease, color 150ms ease;
653
+ }
654
+ .file-sharing-icon svg { width: 18px; height: 18px; }
655
+ .file-sharing-row .file-sharing-icon:hover,
656
+ .file-sharing-row .file-sharing-icon:active {
657
+ background: var(--color-surface-alt);
658
+ color: var(--color-text-primary);
659
+ transform: none;
660
+ }
661
+ .file-sharing-row .file-sharing-remove:hover,
662
+ .file-sharing-row .file-sharing-remove:active { color: var(--color-error); }
663
+ .file-sharing-row .file-sharing-icon:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
664
+ .file-sharing-row .file-sharing-icon:disabled { opacity: .5; cursor: not-allowed; }
665
+ .file-sharing-size { color: var(--color-text-secondary); }