release: v2.0.1 - Advanced Knowledge Mix & Architectural Intelligence

This commit is contained in:
g1nation
2026-05-13 22:05:39 +09:00
parent c32b17377b
commit e85e11aac6
23 changed files with 1758 additions and 78 deletions
+94
View File
@@ -321,6 +321,61 @@
.input-footer { display: flex; align-items: center; justify-content: space-between; }
.footer-left { display: flex; align-items: center; gap: 8px; }
/* Project Architecture chip — sits just above the input when project mode is on. */
.arch-chip {
display: none;
align-items: center;
gap: 8px;
margin-bottom: 6px;
padding: 6px 10px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
font-size: 11px;
}
.arch-chip[data-active="true"] { display: flex; }
.arch-chip-icon { font-size: 14px; flex-shrink: 0; }
.arch-chip-info { flex: 1; min-width: 0; line-height: 1.3; }
.arch-chip-title {
color: var(--text-bright); font-weight: 600;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.arch-chip-meta { color: var(--text-dim); font-size: 10px; }
.arch-chip-actions { display: flex; gap: 4px; flex-shrink: 0; }
.arch-chip-btn {
background: transparent;
color: var(--text-primary);
border: 1px solid var(--border);
padding: 3px 8px;
border-radius: 6px;
font-size: 10px;
cursor: pointer;
transition: all 0.12s ease;
}
.arch-chip-btn:hover {
background: var(--control-bg-hover);
border-color: var(--border-bright);
}
/* Compact model picker placed directly below the input box. */
.input-model-row {
display: flex; align-items: center; gap: 8px;
margin-top: 6px; padding: 4px 8px;
background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
}
.input-model-label {
font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
color: var(--text-dim); flex-shrink: 0;
}
.input-model-select-wrap { flex: 1; min-width: 0; }
.input-model-select-wrap select {
width: 100%; min-width: 0;
background: transparent; color: var(--text-primary);
border: none; outline: none; padding: 4px 6px;
font-size: 11px; cursor: pointer;
}
.input-model-select-wrap select:focus { box-shadow: 0 0 0 2px var(--accent-glow); border-radius: 4px; }
.send-btn {
background: var(--accent); color: #fff; border: none; padding: 6px 14px; border-radius: 6px;
font-weight: 600; font-size: 12px; cursor: pointer;
@@ -755,6 +810,11 @@
font-size: 9.5px;
line-height: 1.5;
}
.msg-scope-footer .scope-mix {
margin-top: 4px;
color: var(--text-dim);
font-size: 9.5px;
}
/* ── "Record a lesson?" prompt after a rollback / rejected change / repeated complaint ── */
.lesson-candidate-box {
@@ -818,6 +878,40 @@
padding: 5px 8px 2px;
}
.hdr-menu-label:first-child { padding-top: 2px; }
.hdr-menu-hint {
font-weight: 500;
text-transform: none;
letter-spacing: 0;
color: var(--text-dim);
font-size: 9.5px;
margin-left: 6px;
}
/* Compact bipolar slider used both in the header menu and inside the agent-map modal. */
.knowledge-mix-control {
display: flex; align-items: center; gap: 8px;
padding: 4px 8px 6px;
}
.knowledge-mix-control .km-end-label {
font-size: 9.5px;
text-transform: uppercase;
letter-spacing: .04em;
color: var(--text-dim);
flex-shrink: 0;
min-width: 30px;
}
.knowledge-mix-control .km-end-label:last-of-type { text-align: right; }
.knowledge-mix-control .km-slider {
flex: 1; min-width: 0; cursor: pointer; accent-color: var(--accent);
}
.knowledge-mix-control .km-slider:disabled { opacity: 0.5; cursor: not-allowed; }
.map-mix-control { padding: 0; }
.map-checkbox-row {
display: flex; align-items: center; gap: 6px;
font-size: 11px; color: var(--text-primary); cursor: pointer;
}
.map-checkbox-row input[type="checkbox"] { accent-color: var(--accent); }
.hdr-menu-item {
display: block;
width: 100%;