feat: bind collaboration roles and verify outputs with required Messages limits

This commit is contained in:
Agent Workbench Dev
2026-11-06 18:45:48 +08:00
parent e892b53c1e
commit fa74f5888d
23 changed files with 498 additions and 50 deletions
+9 -2
View File
@@ -1,4 +1,4 @@
.worker-console { --worker-ink: #153047; --worker-muted: #587087; --worker-line: #c7d3de; --worker-blue: #2560a3; --worker-wash: #edf3fa; --worker-alert: #925619; color: var(--worker-ink); font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; display: grid; gap: 20px; min-width: 0; }
.worker-console { --worker-ink: var(--orven-ink, #153047); --worker-muted: var(--orven-muted, #587087); --worker-line: var(--orven-border, #c7d3de); --worker-blue: var(--orven-accent, #2560a3); --worker-wash: var(--orven-surface, #edf3fa); --worker-alert: #925619; color: var(--worker-ink); font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; display: grid; gap: 20px; min-width: 0; }
.worker-console h2, .worker-console h3, .worker-console p { margin: 0; }
.worker-console h2 { font-size: 21px; line-height: 1.4; font-weight: 650; letter-spacing: -.3px; }
.worker-console h3 { font-size: 16px; line-height: 1.5; }
@@ -37,7 +37,7 @@
.worker-parent dd { font-size: 12px; margin: 0; overflow-wrap: anywhere; }
.worker-lane { border: 1px solid var(--worker-line); border-top: 3px solid var(--worker-blue); border-radius: 6px; padding: 16px; background: #fff; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.worker-lane-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--worker-muted); }
.worker-status { display: inline-flex; align-items: center; background: #e2ecf6; color: var(--worker-blue); border: 1px solid #c2d5e8; border-radius: 3px; padding: 3px 7px; font-size: 11px; line-height: 1.4; white-space: nowrap; font-weight: 600; }
.worker-status { display: inline-flex; align-items: center; background: var(--orven-accent-soft, #e2ecf6); color: var(--worker-blue); border: 1px solid var(--worker-line); border-radius: 3px; padding: 3px 7px; font-size: 11px; line-height: 1.4; white-space: nowrap; font-weight: 600; }
.worker-status.attention { color: var(--worker-alert); border-color: #dec6a8; background: #fff6e9; }
.worker-goal { font-size: 13px; flex: 1; }
.worker-engine-badge { margin:0; padding:7px 9px; background:var(--worker-wash); border-left:2px solid var(--worker-blue); font-size:11px; color:var(--worker-muted); overflow-wrap:anywhere; }
@@ -66,3 +66,10 @@
.worker-record { display: grid; gap: 12px; min-width: 0; }
.worker-record pre { font: 12px/1.6 'Cascadia Code', Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 65vh; overflow: auto; padding: 14px; background: #f5f8fb; border: 1px solid #c7d3de; }
@media (max-width: 620px) { .worker-console { gap: 16px; } .worker-console h2 { font-size: 18px; } .worker-lanes { grid-template-columns: minmax(0, 1fr); } .worker-budget-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .worker-parent { padding: 14px; } .worker-parent dl { grid-template-columns: minmax(0, 1fr); } .worker-actions .button { min-height: 42px; } .worker-console-heading { gap: 10px; } .worker-history { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.worker-assignment { display: grid; gap: 3px; font-size: 12px; overflow-wrap: anywhere; color: var(--worker-muted); }
.worker-assignment strong { color: var(--worker-ink); }
.worker-requirements { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.worker-console .worker-actions .button:not(.secondary):not(.worker-stop) { background: var(--orven-action, #2560a3); border-color: var(--orven-action, #2560a3); color: #fff; }
.worker-console .worker-actions .button:not(.secondary):not(.worker-stop):hover:not(:disabled) { background: var(--orven-accent-hover, #174c87); }