feat: add compact Codex child agent tracking
This commit is contained in:
142
public/style.css
142
public/style.css
@@ -2334,11 +2334,18 @@ html[data-divider-time='hide'] .msg-bubble .agent-message-divider span {
|
||||
.code-block-wrapper.preview-mode pre { display: none; }
|
||||
|
||||
/* Tool calls */
|
||||
.msg-tools {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
gap: 4px 6px;
|
||||
}
|
||||
.tool-call {
|
||||
margin: 8px 0;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
.tool-call.codex-command {
|
||||
border-color: rgba(91, 126, 161, 0.24);
|
||||
@@ -2351,12 +2358,16 @@ html[data-divider-time='hide'] .msg-bubble .agent-message-divider span {
|
||||
border-color: rgba(93, 138, 84, 0.24);
|
||||
}
|
||||
.tool-call.ccweb-mcp-child-agent-tool-call {
|
||||
border-color: rgba(91, 126, 161, 0.28);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(91, 126, 161, 0.04));
|
||||
border-color: transparent;
|
||||
background: transparent;
|
||||
}
|
||||
.tool-call.ccweb-mcp-child-agent-tool-call.collab-agent-inline {
|
||||
display: inline-flex;
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
border-radius: 0;
|
||||
}
|
||||
.tool-call summary {
|
||||
padding: 8px 12px;
|
||||
@@ -2468,8 +2479,8 @@ html[data-divider-time='hide'] .msg-bubble .agent-message-divider span {
|
||||
word-break: normal;
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(252, 253, 255, 0.96), rgba(242, 247, 252, 0.98));
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.tool-call-content.todo-list-content .todo-list-container {
|
||||
@@ -2519,6 +2530,7 @@ html[data-divider-time='hide'] .msg-bubble .agent-message-divider span {
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
.tool-group-summary {
|
||||
padding: 8px 12px;
|
||||
@@ -2539,12 +2551,19 @@ html[data-divider-time='hide'] .msg-bubble .agent-message-divider span {
|
||||
.tool-group[open] > .tool-group-summary::before { transform: rotate(90deg); }
|
||||
.tool-group-summary:hover { background: var(--bg-tertiary); }
|
||||
.tool-group-inner {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
gap: 4px 6px;
|
||||
padding: 4px 8px;
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
.tool-group-inner .tool-call {
|
||||
margin: 4px 0;
|
||||
}
|
||||
.tool-group-inner .tool-call.ccweb-mcp-child-agent-tool-call.collab-agent-inline {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* AskUserQuestion preview */
|
||||
.ask-user-question {
|
||||
@@ -4237,48 +4256,65 @@ html[data-theme='coolvibe'] .settings-back:hover {
|
||||
}
|
||||
|
||||
.collab-agent-stack {
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
.collab-agent-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
.collab-agent-title-wrap {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
flex-direction: row;
|
||||
align-items: baseline;
|
||||
gap: 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.collab-agent-kicker {
|
||||
font-size: 10px;
|
||||
flex-shrink: 0;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.08em;
|
||||
letter-spacing: 0.02em;
|
||||
text-transform: uppercase;
|
||||
color: var(--info);
|
||||
}
|
||||
.collab-agent-title {
|
||||
font-size: 14px;
|
||||
min-width: 0;
|
||||
max-width: 56px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
line-height: 1.2;
|
||||
color: var(--text-primary);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.collab-agent-meta {
|
||||
font-size: 11px;
|
||||
flex-shrink: 0;
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.collab-agent-actions {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.collab-agent-overall-status,
|
||||
.collab-agent-item-status {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 24px;
|
||||
padding: 0 9px;
|
||||
min-height: 20px;
|
||||
padding: 0 7px;
|
||||
border-radius: 999px;
|
||||
font-size: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
@@ -4319,31 +4355,41 @@ html[data-theme='coolvibe'] .settings-back:hover {
|
||||
}
|
||||
.collab-agent-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
.collab-agent-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid rgba(91, 126, 161, 0.14);
|
||||
border-radius: 10px;
|
||||
background: rgba(255, 255, 255, 0.74);
|
||||
appearance: none;
|
||||
max-width: 100%;
|
||||
min-height: 40px;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 5px 10px;
|
||||
border: 1px solid rgba(91, 126, 161, 0.16);
|
||||
border-radius: 7px;
|
||||
background: rgba(255, 255, 255, 0.58);
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
}
|
||||
.collab-agent-item-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
gap: 4px;
|
||||
}
|
||||
.collab-agent-item-label {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
max-width: 150px;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
line-height: 1.35;
|
||||
line-height: 1.2;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.collab-agent-item-role {
|
||||
font-size: 11px;
|
||||
@@ -4356,10 +4402,10 @@ html[data-theme='coolvibe'] .settings-back:hover {
|
||||
line-height: 1.55;
|
||||
}
|
||||
.collab-agent-item-footer {
|
||||
align-self: flex-start;
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
line-height: 1.1;
|
||||
display: none;
|
||||
}
|
||||
.collab-agent-item-footer:hover {
|
||||
color: var(--info);
|
||||
@@ -4371,9 +4417,10 @@ html[data-theme='coolvibe'] .settings-back:hover {
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
color: var(--text-secondary);
|
||||
padding: 4px 9px;
|
||||
min-height: 22px;
|
||||
padding: 0 8px;
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -4448,11 +4495,18 @@ html[data-theme='coolvibe'] .settings-back:hover {
|
||||
opacity: 0.6;
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.collab-agent-header,
|
||||
.collab-agent-item-row {
|
||||
flex-direction: column;
|
||||
.collab-agent-header {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.collab-agent-title-wrap {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.collab-agent-actions {
|
||||
margin-left: auto;
|
||||
}
|
||||
.collab-agent-item-label {
|
||||
max-width: 96px;
|
||||
}
|
||||
}
|
||||
.import-item-btn:hover { background: var(--accent-hover); }
|
||||
|
||||
@@ -4942,8 +4996,8 @@ html[data-theme='coolvibe'] .settings-back:hover {
|
||||
|
||||
:is(html[data-theme='carbon'], html[data-theme='nocturne'], html[data-theme='cinder']) .tool-call.codex-command,
|
||||
:is(html[data-theme='carbon'], html[data-theme='nocturne'], html[data-theme='cinder']) .tool-call.ccweb-mcp-child-agent-tool-call {
|
||||
background: var(--dark-panel-bg);
|
||||
border-color: var(--note-border);
|
||||
background: transparent;
|
||||
border-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -4970,6 +5024,10 @@ html[data-theme='coolvibe'] .settings-back:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
:is(html[data-theme='carbon'], html[data-theme='nocturne'], html[data-theme='cinder']) .tool-call-content.collab-agent-content {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
:is(html[data-theme='carbon'], html[data-theme='nocturne'], html[data-theme='cinder']) .tool-call-state,
|
||||
:is(html[data-theme='carbon'], html[data-theme='nocturne'], html[data-theme='cinder']) .session-item-status,
|
||||
:is(html[data-theme='carbon'], html[data-theme='nocturne'], html[data-theme='cinder']) .collab-agent-overall-status,
|
||||
|
||||
Reference in New Issue
Block a user