feat: improve Claude agent mapping and context handling
This commit is contained in:
1 parent
faa7e97326
commit
a7e9cc356d
5 files changed
+672
-256
No files matched your search
+14
-156
@@ -3456,7 +3456,7 @@ textarea:focus-visible {
|
||||
|
||||
.real-provider-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(280px, 1.6fr) minmax(120px, 0.5fr) auto;
|
||||
grid-template-columns: minmax(280px, 1.6fr) minmax(120px, 0.5fr) max-content;
|
||||
align-items: start;
|
||||
gap: 16px;
|
||||
min-height: 88px;
|
||||
@@ -3559,10 +3559,15 @@ textarea:focus-visible {
|
||||
}
|
||||
|
||||
.provider-row-actions .provider-health-button {
|
||||
min-width: max-content;
|
||||
width: auto;
|
||||
flex: 0 0 auto;
|
||||
min-height: 30px;
|
||||
overflow: visible;
|
||||
padding: 0 10px;
|
||||
font-size: var(--font-size-label);
|
||||
text-overflow: clip;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.provider-enabled-control {
|
||||
@@ -5310,127 +5315,6 @@ textarea:focus-visible {
|
||||
font-size: var(--font-size-label);
|
||||
}
|
||||
|
||||
.agent-claude-mapping-role {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.agent-claude-mapping-role > strong {
|
||||
color: var(--theme-5f5a53);
|
||||
font-size: var(--font-size-label);
|
||||
}
|
||||
|
||||
.agent-claude-mapping-role > span {
|
||||
overflow: hidden;
|
||||
color: var(--theme-8a847c);
|
||||
font-size: var(--font-size-meta);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.agent-claude-code-config {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-status-grid {
|
||||
min-height: 0;
|
||||
gap: 0;
|
||||
padding: 10px 6px;
|
||||
border: 1px solid var(--theme-e3e1db);
|
||||
border-radius: 8px;
|
||||
background: var(--theme-fffdf8);
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-status-grid > div {
|
||||
gap: 3px;
|
||||
padding: 2px 12px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-status-grid > div + div {
|
||||
border-left: 1px solid var(--theme-e3e1db);
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping {
|
||||
gap: 14px;
|
||||
padding: 18px;
|
||||
border-color: var(--theme-d8d2c8);
|
||||
background: var(--theme-fffdf8);
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping > .agent-section-heading {
|
||||
padding-bottom: 13px;
|
||||
border-bottom: 1px solid var(--theme-e3e1db);
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping .agent-claude-desktop-mapping-grid {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping .agent-claude-desktop-mapping-row {
|
||||
position: relative;
|
||||
gap: 10px;
|
||||
padding: 13px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--theme-e3e1db);
|
||||
border-radius: 8px;
|
||||
background: var(--theme-fff);
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping .agent-claude-desktop-mapping-row::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: 3px;
|
||||
background: var(--theme-bdb5a9);
|
||||
content: '';
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping .agent-claude-desktop-mapping-row.sonnet {
|
||||
border-color: var(--theme-d8d1eb);
|
||||
background: var(--theme-f8f5ff);
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping .agent-claude-desktop-mapping-row.sonnet::before {
|
||||
background: var(--theme-8069ad);
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping .agent-claude-desktop-mapping-row.opus::before {
|
||||
background: var(--theme-bf8a43);
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping .agent-claude-desktop-mapping-row.haiku::before {
|
||||
background: var(--theme-4f825c);
|
||||
}
|
||||
|
||||
.agent-claude-code-mapping .agent-claude-desktop-mapping-filter {
|
||||
padding: 7px 9px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-modification-actions {
|
||||
grid-column: 1 / -1;
|
||||
background: var(--theme-fffdf8);
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-modification-control > .agent-inline-message {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-config-footer {
|
||||
padding-top: 0;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-launch-button {
|
||||
min-width: 190px;
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
.agent-section-heading-actions {
|
||||
display: flex !important;
|
||||
flex: none;
|
||||
@@ -7294,27 +7178,6 @@ textarea:focus-visible {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-modification-actions {
|
||||
grid-column: 1 / -1;
|
||||
grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
|
||||
align-items: center;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-modification-control {
|
||||
justify-items: end;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-modification-buttons {
|
||||
display: flex;
|
||||
width: auto;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-modification-buttons button {
|
||||
width: auto;
|
||||
min-width: 152px;
|
||||
}
|
||||
}
|
||||
|
||||
@container agent-panel (max-width: 760px) {
|
||||
@@ -7345,19 +7208,6 @@ textarea:focus-visible {
|
||||
}
|
||||
|
||||
@container agent-panel (max-width: 640px) {
|
||||
.agent-claude-code-config .agent-status-grid {
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-status-grid > div {
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.agent-claude-code-config .agent-status-grid > div + div {
|
||||
border-top: 1px solid var(--theme-e3e1db);
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.agent-claude-desktop-mapping > .agent-section-heading {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
@@ -7455,6 +7305,14 @@ textarea:focus-visible {
|
||||
height: 520px;
|
||||
}
|
||||
|
||||
.real-provider-row {
|
||||
grid-template-columns: minmax(0, 1fr) max-content;
|
||||
}
|
||||
|
||||
.provider-row-meta {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.agent-workbench {
|
||||
grid-template-columns: 200px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user