Add user workspaces, dental DB scripts, server memory + code editor improvements
- cherry: orofacial/TMD PPTX presentations + 음악가 구강건강 가이드 - papa: sinus/infraoccluded PPTX, garden-monitor Arduino, MIDI files - databases: PCSP scraper, translation scripts, vision benchmark, batch JSONs - web-ui: code.js/companion.py/styles.css major updates, autostart installer - src: ollama-client, session, LLMProvider, ollama-adapter patches - .gitignore: add claude-key, SQLite WAL/SHM, __pycache__, nohup.out Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+257
-44
@@ -2370,13 +2370,13 @@
|
||||
background: #0d1f1a;
|
||||
border-bottom: 2px solid #1a4a35;
|
||||
flex-shrink: 0;
|
||||
min-height: 36px;
|
||||
min-height: 28px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.code-file-tab {
|
||||
display: flex; align-items: center; gap: 5px;
|
||||
padding: 0 14px; height: 36px; cursor: pointer;
|
||||
font-family: 'IBM Plex Mono', monospace; font-size: 12px;
|
||||
display: flex; align-items: center; gap: 4px;
|
||||
padding: 0 10px; height: 28px; cursor: pointer;
|
||||
font-family: 'IBM Plex Mono', monospace; font-size: 11px;
|
||||
color: #6b9e82; background: transparent;
|
||||
border-right: 1px solid #1a4a35;
|
||||
white-space: nowrap; user-select: none; flex-shrink: 0;
|
||||
@@ -2385,12 +2385,12 @@
|
||||
.code-file-tab.active { color: #c8e6c0; background: #112b20; border-top-color: #22c55e; }
|
||||
.code-file-tab:hover:not(.active) { color: #a5d6a7; background: #0f2318; }
|
||||
.code-file-tab.diff-active { border-top-color: #f0ad4e; background: #2a2510; color: #f0d060; }
|
||||
.code-file-tab-close { font-size: 13px; color: #3d6b4f; margin-left:4px; opacity:0; transition: opacity .15s; }
|
||||
.code-file-tab-close { font-size: 11px; color: #3d6b4f; margin-left:2px; opacity:0; transition: opacity .15s; }
|
||||
.code-file-tab:hover .code-file-tab-close, .code-file-tab.active .code-file-tab-close { opacity: 1; }
|
||||
.code-file-tab-close:hover { color: #f87171; }
|
||||
.code-new-tab-btn {
|
||||
padding: 0 10px; height: 36px; cursor: pointer;
|
||||
color: #3d6b4f; font-size: 18px; background: transparent;
|
||||
padding: 0 8px; height: 28px; cursor: pointer;
|
||||
color: #3d6b4f; font-size: 16px; background: transparent;
|
||||
border: none; flex-shrink: 0;
|
||||
}
|
||||
.code-new-tab-btn:hover { color: #22c55e; }
|
||||
@@ -2401,7 +2401,7 @@
|
||||
}
|
||||
/* 기능별 버튼 색상 */
|
||||
.code-tool-btn {
|
||||
padding: 3px 11px; border-radius: 5px; cursor: pointer; font-size: 12px;
|
||||
padding: 2px 9px; border-radius: 4px; cursor: pointer; font-size: 11px;
|
||||
white-space: nowrap; font-weight: 600; border: 1px solid; transition: filter .15s;
|
||||
}
|
||||
.code-tool-btn:hover { filter: brightness(1.2); }
|
||||
@@ -2411,6 +2411,7 @@
|
||||
.code-tool-btn.btn-run { background:#2a1e0d; border-color:#6b3f10; color:#fb923c; }
|
||||
.code-tool-btn.btn-save { background:#0d1f2e; border-color:#1a4a6b; color:#60a5fa; }
|
||||
.code-tool-btn.primary { background:#166534; border-color:#22c55e; color:#fff; }
|
||||
.code-tool-btn.primary.busy { background:#7f1d1d; border-color:#ef4444; }
|
||||
.code-body {
|
||||
display: flex; flex: 1; min-height: 0; overflow: hidden;
|
||||
}
|
||||
@@ -2425,17 +2426,24 @@
|
||||
#code-ai-panel {
|
||||
width: 360px; min-width: 220px; max-width: 60%;
|
||||
display: flex; flex-direction: column;
|
||||
background: var(--bg); border-left: 1px solid var(--line);
|
||||
background: #080f0c; border-left: 1px solid #1a3a28;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.code-ai-header {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
padding: 8px 12px; border-bottom: 1px solid var(--line);
|
||||
font-size: 12px; font-weight: 700; color: var(--muted); flex-shrink: 0;
|
||||
padding: 9px 12px; border-bottom: 1px solid #1a3a28;
|
||||
background: linear-gradient(135deg, #0d1f17 0%, #0f1c24 100%);
|
||||
font-size: 13px; font-weight: 800; flex-shrink: 0;
|
||||
letter-spacing: .01em;
|
||||
}
|
||||
#code-ai-title {
|
||||
color: #22c55e;
|
||||
text-shadow: 0 0 8px rgba(34,197,94,.4);
|
||||
}
|
||||
#code-ai-messages {
|
||||
flex: 1; overflow-y: auto; padding: 10px 12px;
|
||||
flex: 1; overflow-y: auto; padding: 12px 10px;
|
||||
display: flex; flex-direction: column; gap: 8px;
|
||||
background: #080f0c;
|
||||
}
|
||||
/* ── Code Diff Bar ──────────────────────────────────────────────────── */
|
||||
#code-diff-bar {
|
||||
@@ -2459,27 +2467,38 @@
|
||||
#code-diff-reject:hover { background: #c82333; }
|
||||
#code-diff-container { display: none; } /* Legacy - no longer used */
|
||||
|
||||
.code-ai-msg { font-size: 12px; line-height: 1.55; }
|
||||
.code-ai-msg { font-size: 12px; line-height: 1.6; }
|
||||
.code-ai-msg.user {
|
||||
color: #fff; font-weight: 600;
|
||||
background: var(--brand); border-radius: 12px 12px 4px 12px;
|
||||
padding: 6px 12px; align-self: flex-end; max-width: 85%;
|
||||
color: #dcfce7; font-weight: 600;
|
||||
background: linear-gradient(135deg, #166534 0%, #14532d 100%);
|
||||
border: 1px solid #22c55e40;
|
||||
border-radius: 14px 14px 4px 14px;
|
||||
padding: 7px 12px; align-self: flex-end; max-width: 85%;
|
||||
margin-left: auto;
|
||||
box-shadow: 0 2px 8px rgba(34,197,94,.15);
|
||||
}
|
||||
.code-ai-msg.assistant {
|
||||
color: var(--text); white-space: pre-wrap;
|
||||
background: var(--panel); border-radius: 12px 12px 12px 4px;
|
||||
padding: 8px 12px; max-width: 90%;
|
||||
border: 1px solid var(--line);
|
||||
color: #d1fae5; white-space: pre-wrap;
|
||||
background: #0f1f18; border-radius: 4px 14px 14px 14px;
|
||||
padding: 8px 12px; max-width: 92%;
|
||||
border: 1px solid #1e4a35;
|
||||
box-shadow: 0 1px 4px rgba(0,0,0,.3);
|
||||
}
|
||||
.code-ai-msg.thinking {
|
||||
color: var(--muted); font-style: italic; font-size: 11px;
|
||||
background: var(--panel-2); border-radius: 8px;
|
||||
padding: 6px 12px; max-width: 70%;
|
||||
color: #4ade80; font-style: italic; font-size: 11px;
|
||||
background: #0a1a10; border-radius: 8px;
|
||||
padding: 5px 10px; max-width: 72%;
|
||||
border: 1px solid #1a3a22;
|
||||
animation: thinking-fade 1.8s ease-in-out infinite;
|
||||
}
|
||||
@keyframes thinking-fade {
|
||||
0%, 100% { opacity: .7; }
|
||||
50% { opacity: 1; }
|
||||
}
|
||||
.code-ai-msg.system {
|
||||
color: var(--muted); font-size: 11px; text-align: center;
|
||||
background: transparent; padding: 4px 0;
|
||||
color: #4b7a5e; font-size: 11px; text-align: center;
|
||||
background: transparent; padding: 3px 0;
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
.code-ai-plan {
|
||||
background: rgba(59, 130, 246, 0.1);
|
||||
@@ -2520,24 +2539,26 @@
|
||||
gap: 3px;
|
||||
}
|
||||
.code-ai-tech-btn {
|
||||
background: none;
|
||||
border: 1px solid var(--line, #333);
|
||||
background: #0d1f17;
|
||||
border: 1px solid #1e4a35;
|
||||
border-radius: 6px;
|
||||
padding: 2px 8px;
|
||||
font-size: 11px;
|
||||
color: var(--muted, #888);
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
color: #4b7a5e;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
transition: all .15s;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.code-ai-tech-btn.active {
|
||||
border-color: var(--brand, #7c3aed);
|
||||
color: var(--brand2, #a07840);
|
||||
background: rgba(124, 92, 254, 0.1);
|
||||
border-color: #22c55e;
|
||||
color: #22c55e;
|
||||
background: rgba(34,197,94,.12);
|
||||
box-shadow: 0 0 0 1px rgba(34,197,94,.2);
|
||||
}
|
||||
.code-ai-tech-btn:hover {
|
||||
border-color: var(--brand, #7c3aed);
|
||||
color: var(--brand2, #a07840);
|
||||
.code-ai-tech-btn:hover:not(.active) {
|
||||
border-color: #2d6a4a;
|
||||
color: #86efac;
|
||||
}
|
||||
.code-ai-msg.streaming {
|
||||
position: relative;
|
||||
@@ -2564,11 +2585,202 @@
|
||||
padding: 4px 12px; font-size: 11px; font-weight: 700; cursor: pointer; transition: opacity .15s;
|
||||
}
|
||||
.code-ai-open-btn:hover { opacity: 0.8; }
|
||||
/* ── Model selector card ───────────────────────────────────────────────── */
|
||||
.csb-model-card {
|
||||
background: linear-gradient(135deg, #0d1f17 0%, #111e2a 100%);
|
||||
border: 1px solid #1e4a38;
|
||||
border-radius: 10px;
|
||||
padding: 8px 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
transition: border-color .2s;
|
||||
}
|
||||
.csb-model-card:focus-within {
|
||||
border-color: #22c55e;
|
||||
box-shadow: 0 0 0 2px rgba(34,197,94,.15);
|
||||
}
|
||||
.csb-model-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
color: #22c55e;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .06em;
|
||||
}
|
||||
.csb-model-dot {
|
||||
width: 6px; height: 6px;
|
||||
border-radius: 50%;
|
||||
background: #22c55e;
|
||||
box-shadow: 0 0 5px #22c55e;
|
||||
flex-shrink: 0;
|
||||
animation: csb-pulse 2.4s ease-in-out infinite;
|
||||
}
|
||||
@keyframes csb-pulse {
|
||||
0%, 100% { opacity: 1; box-shadow: 0 0 5px #22c55e; }
|
||||
50% { opacity: .5; box-shadow: 0 0 2px #22c55e; }
|
||||
}
|
||||
.csb-model-select-wrap {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.csb-model-select-wrap::after {
|
||||
content: '▾';
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
font-size: 10px;
|
||||
color: #22c55e;
|
||||
pointer-events: none;
|
||||
}
|
||||
.csb-model-select-wrap select {
|
||||
width: 100%;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
font-size: 12px;
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
font-weight: 600;
|
||||
color: #d4ffd4;
|
||||
-webkit-text-fill-color: #d4ffd4;
|
||||
cursor: pointer;
|
||||
padding-right: 20px;
|
||||
color-scheme: dark;
|
||||
}
|
||||
.csb-model-select-wrap select option {
|
||||
background: #1a2a1a;
|
||||
color: #d4ffd4;
|
||||
}
|
||||
.csb-project-card {
|
||||
background: linear-gradient(135deg, #0d1a2a 0%, #111a20 100%);
|
||||
border: 1px solid #1a3a5c;
|
||||
border-radius: 10px;
|
||||
padding: 8px 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
transition: border-color .2s;
|
||||
}
|
||||
.csb-project-card:focus-within {
|
||||
border-color: #60a5fa;
|
||||
box-shadow: 0 0 0 2px rgba(96,165,250,.15);
|
||||
}
|
||||
.csb-project-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
color: #60a5fa;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .06em;
|
||||
}
|
||||
.csb-project-select-wrap {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.csb-project-select-wrap::after {
|
||||
content: '▾';
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
font-size: 10px;
|
||||
color: #60a5fa;
|
||||
pointer-events: none;
|
||||
}
|
||||
.csb-project-select-wrap select {
|
||||
width: 100%;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
font-size: 12px;
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
font-weight: 600;
|
||||
color: #e8f0fe;
|
||||
cursor: pointer;
|
||||
padding-right: 20px;
|
||||
}
|
||||
.csb-new-session-btn {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
border: 1px solid #2d3748;
|
||||
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
||||
color: #94a3b8;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .02em;
|
||||
transition: border-color .2s, color .2s, box-shadow .2s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
}
|
||||
.csb-new-session-btn:hover {
|
||||
border-color: #a78bfa;
|
||||
color: #c4b5fd;
|
||||
box-shadow: 0 0 0 2px rgba(167,139,250,.15);
|
||||
}
|
||||
/* ── Sidebar top tab bar ──────────────────────────────────────────────── */
|
||||
.csb-tab-bar {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
background: #0a1a12;
|
||||
border-bottom: 1px solid #1a4a35;
|
||||
padding: 4px 6px 0;
|
||||
gap: 2px;
|
||||
}
|
||||
.code-sb-tab {
|
||||
flex: 1; border: none; background: transparent; cursor: pointer;
|
||||
font-size: 11px; font-weight: 700; color: var(--muted); padding: 7px 4px;
|
||||
border-bottom: 2px solid transparent; transition: color .15s;
|
||||
font-size: 11px; font-weight: 700; color: var(--muted); padding: 6px 4px 5px;
|
||||
border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0;
|
||||
transition: color .15s, background .15s;
|
||||
}
|
||||
.code-sb-tab:hover:not(.active) { color: #a5d6a7; background: rgba(34,197,94,.07); }
|
||||
.code-sb-tab.active { color: #22c55e; border-bottom-color: #22c55e; background: rgba(34,197,94,.1); }
|
||||
/* ── Terminal + companion row ─────────────────────────────────────────── */
|
||||
.csb-term-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.csb-term-btn {
|
||||
flex: 1;
|
||||
padding: 8px 0;
|
||||
border: 1px solid #1e3a28;
|
||||
background: linear-gradient(135deg, #0c1f14 0%, #0f1f1a 100%);
|
||||
color: #6b9e82;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
font-weight: 600;
|
||||
letter-spacing: .02em;
|
||||
transition: border-color .2s, color .2s, box-shadow .2s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 5px;
|
||||
}
|
||||
.csb-term-btn:hover {
|
||||
border-color: #22c55e;
|
||||
color: #86efac;
|
||||
box-shadow: 0 0 0 2px rgba(34,197,94,.12);
|
||||
}
|
||||
.csb-term-btn.active {
|
||||
border-color: #22c55e;
|
||||
color: #22c55e;
|
||||
box-shadow: 0 0 0 2px rgba(34,197,94,.15);
|
||||
}
|
||||
/* ─────────────────────────────────────────────────────────────────────── */
|
||||
.code-sb-tab.active { color: #22c55e; border-bottom-color: #22c55e; }
|
||||
.code-sb-tab:hover:not(.active) { color: var(--text); }
|
||||
.csb-file-item {
|
||||
@@ -2612,18 +2824,19 @@
|
||||
.diff-line-hunk { color: #60a5fa; background: rgba(96,165,250,0.07); }
|
||||
.diff-line-file { color: var(--muted); font-style: italic; }
|
||||
.code-ai-input-row {
|
||||
display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid var(--line); flex-shrink: 0;
|
||||
background: var(--panel);
|
||||
display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid #1a3a28; flex-shrink: 0;
|
||||
background: #0d1f17;
|
||||
}
|
||||
#code-ai-input {
|
||||
flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 16px;
|
||||
flex: 1; resize: none; border: 1.5px solid #1e4a35; border-radius: 14px;
|
||||
padding: 8px 14px; font-size: 12px; font-family: inherit;
|
||||
background: var(--bg); color: var(--text); min-height: 38px; max-height: 100px;
|
||||
background: #0a1812; color: #c8e6c0; min-height: 38px; max-height: 200px;
|
||||
transition: border-color .2s, box-shadow .2s;
|
||||
}
|
||||
#code-ai-input::placeholder { color: #3d6b4f; }
|
||||
#code-ai-input:focus {
|
||||
outline: none; border-color: var(--brand);
|
||||
box-shadow: 0 0 0 3px rgba(22,104,227,0.15);
|
||||
outline: none; border-color: #22c55e;
|
||||
box-shadow: 0 0 0 3px rgba(34,197,94,.15);
|
||||
}
|
||||
|
||||
/* ── Chat inline terminal ─────────────────────────────────────── */
|
||||
|
||||
Reference in New Issue
Block a user