@cjhyy/code-shell-web 0.9.7 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- :root{color-scheme:dark;--bg: #0b0b0c;--panel: #151517;--border: #26262a;--text: #e7e7e9;--muted: #a1a1aa;--accent: #3b82f6;--danger: #ef4444}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:-apple-system,system-ui,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}.shell{display:flex;height:100%}.rail{width:240px;min-width:200px;border-right:1px solid var(--border);background:var(--panel);display:flex;flex-direction:column}.rail-head{display:flex;align-items:center;gap:8px;padding:14px 12px;border-bottom:1px solid var(--border);font-size:14px}.rail-head .ghost{margin-left:auto;background:none;border:1px solid var(--border);color:var(--text);border-radius:8px;padding:4px 8px;font-size:12px;cursor:pointer}.rail-cwd{overflow:hidden;padding:8px 12px 0;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.dot{width:8px;height:8px;border-radius:50%;background:var(--muted)}.dot.open{background:#22c55e}.dot.connecting{background:#eab308}.dot.closed{background:var(--danger)}.sessions{list-style:none;margin:0;padding:8px;overflow-y:auto;flex:1}.sessions .empty{color:var(--muted);font-size:12px;padding:12px}.session{width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:8px 10px;color:var(--text);cursor:pointer;display:flex;flex-direction:column;gap:2px}.session:hover{background:#1d1d21}.session.active{background:#23232a}.session-title{font-size:13px;font-family:ui-monospace,monospace}.session-meta{font-size:11px;color:var(--muted)}.chat{flex:1;display:flex;flex-direction:column;min-width:0}.banner{padding:6px 16px;font-size:12px;color:#fbbf24;background:#fbbf2414;border-bottom:1px solid var(--border)}.banner.goal{align-self:stretch;border:1px solid var(--border);border-radius:8px}.messages{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:10px}.empty-chat{color:var(--muted);font-size:13px;margin:auto}.msg{max-width:76ch;padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.msg.user{align-self:flex-end;background:#1e3a8a}.msg.assistant{align-self:flex-start;background:var(--panel);border:1px solid var(--border)}.msg.tool{align-self:flex-start;color:var(--muted);font-size:12px;padding:2px 8px}.msg.tool .tool-result{max-height:240px;margin:6px 0 0;overflow:auto;padding-left:10px;font-family:ui-monospace,monospace;white-space:pre-wrap}.msg.tool-error{color:#fca5a5}.msg.info{align-self:flex-start;color:var(--muted);font-size:12px}.msg.error{align-self:flex-start;background:#ef44441f;color:#fca5a5}.cursor{animation:blink 1s step-start infinite}@keyframes blink{50%{opacity:0}}.approval{align-self:stretch;border:1px solid #7c5806;background:#eab30812;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}.approval-title{font-size:13px;font-weight:600}.approval-title em{color:var(--muted);font-style:normal;font-weight:400}.approval-desc{font-size:13px;color:var(--muted)}.approval-summary{font-size:13px;word-break:break-word}.approval-raw>summary{color:var(--muted);cursor:pointer;font-size:12px}.approval-args{margin:8px 0 0;font-size:12px;background:#0f0f11;border-radius:8px;padding:8px;overflow-x:auto;max-height:160px}.approval-answer{background:#0f0f11;border:1px solid var(--border);border-radius:8px;color:var(--text);padding:8px;font:inherit;min-height:56px}.approval-actions{display:flex;gap:8px}.composer{display:flex;gap:10px;padding:14px 16px;border-top:1px solid var(--border)}.composer textarea{flex:1;resize:none;min-height:44px;max-height:160px;background:var(--panel);border:1px solid var(--border);border-radius:10px;color:var(--text);padding:10px 12px;font:inherit}button.send,button.stop{border:0;border-radius:10px;padding:0 18px;font-size:14px;font-weight:600;color:#fff;cursor:pointer}button.send{background:var(--accent)}button.send:disabled{opacity:.5;cursor:default}button.stop{background:var(--danger)}