@vivantel/virage-dashboard 0.1.6 → 0.1.8

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.
@@ -0,0 +1 @@
1
+ body{font-family:monospace;background:#1a1a2e;color:#eee;padding:0;margin:0}.layout{display:flex;min-height:100vh}.sidebar{width:160px;min-width:160px;background:#0f1b2d;display:flex;flex-direction:column;padding:16px 0;gap:4px;border-right:1px solid #1e3a5f}.sidebar-logo{color:#7ec8e3;font-weight:700;font-size:1.2em;padding:4px 16px 12px;border-bottom:1px solid #1e3a5f;margin-bottom:8px}.sidebar a{display:block;padding:8px 16px;color:#aaa;text-decoration:none;border-left:3px solid transparent}.sidebar a:hover{color:#eee;background:#16213e}.sidebar a.active{color:#7ec8e3;border-left-color:#7ec8e3;background:#16213e}.main-content{flex:1;overflow-y:auto;padding:24px 32px;max-width:1000px}.container{max-width:900px}h1{color:#7ec8e3}h2{color:#7ec8e3;margin-top:0}.card{background:#16213e;border-radius:8px;padding:16px;margin:12px 0}.card.error{border-left:4px solid #ff6b6b}.card.warning{border-left:4px solid #f5a623;color:#f5a623}.metrics{display:flex;flex-wrap:wrap;gap:8px}.metric{display:inline-block;margin:8px 16px}.metric .value{font-size:2em;color:#7ec8e3}.metric .label{font-size:.8em;color:#888}.bar{height:16px;background:#0f3460;border-radius:4px;margin:4px 0;position:relative}.bar-fill{height:100%;background:#7ec8e3;border-radius:4px}.anomaly{color:#ff6b6b}table{width:100%;border-collapse:collapse}td,th{padding:6px 12px;text-align:left;border-bottom:1px solid #333}.project-switcher{background:#16213e;border-radius:8px;padding:12px 16px;margin-bottom:4px;display:flex;flex-direction:column;gap:8px}.project-header-row{display:flex;align-items:center;gap:10px}.project-current{color:#7ec8e3;font-weight:700;font-size:1.1em}.project-dropdown-toggle{background:none;border:1px solid #0f3460;color:#7ec8e3;padding:3px 10px;border-radius:4px;cursor:pointer;font-family:monospace;font-size:.85em}.project-dropdown-toggle:hover{background:#0f3460}.project-list{list-style:none;padding:0;margin:0;border:1px solid #0f3460;border-radius:4px;overflow:hidden}.project-list li{padding:6px 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.project-list li:hover{background:#0f3460}.project-list li.active{background:#0f3460;color:#7ec8e3;cursor:default}.project-list .project-path{font-size:.75em;color:#888}.project-add-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.project-add-form input{flex:1;min-width:200px;background:#0f3460;border:1px solid #333;color:#eee;padding:5px 10px;border-radius:4px;font-family:monospace;font-size:.9em}.project-add-form input:focus{outline:none;border-color:#7ec8e3}.project-add-form button{background:#0f3460;border:1px solid #7ec8e3;color:#7ec8e3;padding:5px 14px;border-radius:4px;cursor:pointer;font-family:monospace}.project-add-form button:hover{background:#7ec8e3;color:#1a1a2e}.project-add-error{color:#ff6b6b;font-size:.85em;width:100%}.toolbar{display:flex;gap:8px;align-items:center;margin-bottom:12px;flex-wrap:wrap}button,select,input[type=text],input[type=range]{font-family:monospace}button{background:#0f3460;border:1px solid #7ec8e3;color:#7ec8e3;padding:5px 14px;border-radius:4px;cursor:pointer}button:hover:not(:disabled){background:#7ec8e3;color:#1a1a2e}button:disabled{opacity:.5;cursor:not-allowed}.btn-danger{border-color:#ff6b6b;color:#ff6b6b}.btn-danger:hover:not(:disabled){background:#ff6b6b;color:#1a1a2e}.btn-sm{padding:2px 8px;font-size:.85em}select{background:#0f3460;border:1px solid #333;color:#eee;padding:5px 10px;border-radius:4px}.confirm-inline{display:flex;align-items:center;gap:4px}.chunk-table{width:100%;border-collapse:collapse;font-size:.9em}.chunk-table th{color:#7ec8e3;border-bottom:2px solid #1e3a5f;padding:6px 10px}.chunk-table td{padding:5px 10px;border-bottom:1px solid #1e2540;vertical-align:top}.source-file{color:#7ec8e3;font-size:.85em;white-space:nowrap}.content-preview{color:#ccc}.hash{color:#555;font-size:.8em;white-space:nowrap}.search-form{margin-bottom:16px}.search-input{width:100%;background:#0f3460;border:1px solid #333;color:#eee;padding:8px 12px;border-radius:4px;font-size:1em;box-sizing:border-box;margin-bottom:8px}.search-input:focus{outline:none;border-color:#7ec8e3}.search-controls{display:flex;gap:12px;align-items:center}.search-results{display:flex;flex-direction:column;gap:10px;margin-top:12px}.search-result-card{cursor:default}.result-header{display:flex;justify-content:space-between;margin-bottom:6px}.source-badge{background:#0f3460;color:#7ec8e3;padding:2px 8px;border-radius:4px;font-size:.8em}.similarity-badge{background:#1a3a1a;color:#7ec87e;padding:2px 8px;border-radius:4px;font-size:.8em}.result-content{margin:0;color:#ccc;white-space:pre-wrap;font-size:.9em}.pipeline-controls{display:flex;gap:8px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.pipeline-log{background:#0a0e1a;border:1px solid #1e3a5f;border-radius:6px;padding:14px;min-height:240px;max-height:480px;overflow-y:auto;white-space:pre-wrap;color:#7ec8e3;font-size:.9em;line-height:1.5}.status-badge{padding:3px 10px;border-radius:4px;font-size:.85em;font-weight:700}.status-disconnected{background:#222;color:#888}.status-connecting{background:#1a2a10;color:#ac8}.status-connected{background:#0a2a10;color:#7ec87e}.status-error{background:#2a0a0a;color:#ff6b6b}.experiment-table{width:100%;border-collapse:collapse;font-size:.9em}.experiment-table th{color:#7ec8e3;border-bottom:2px solid #1e3a5f;padding:6px 10px}.experiment-table td{padding:5px 10px;border-bottom:1px solid #1e2540;vertical-align:middle}.experiment-table .expanded-row td{background:#111a2e}.row-actions{display:flex;gap:4px}.experiment-detail{margin:4px 0 8px;font-size:.9em}.experiment-detail pre{background:#0a0e1a;padding:10px;border-radius:4px;overflow-x:auto}.compare-result table{font-size:.9em}.compare-result td{padding:4px 10px}.badge{padding:2px 8px;border-radius:4px;font-size:.85em;font-weight:700}.badge-accept{background:#0a2a10;color:#7ec87e}.badge-reject{background:#2a0a0a;color:#ff6b6b}.badge-inconclusive{background:#2a2a0a;color:#cc6}
package/dist/index.html CHANGED
@@ -4,8 +4,8 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>RAG Dashboard</title>
7
- <script type="module" crossorigin src="/assets/index-DRAVxpLs.js"></script>
8
- <link rel="stylesheet" crossorigin href="/assets/index-DAtIVwZG.css">
7
+ <script type="module" crossorigin src="/assets/index-BJJek3Lp.js"></script>
8
+ <link rel="stylesheet" crossorigin href="/assets/index-BcxwdffF.css">
9
9
  </head>
10
10
  <body>
11
11
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vivantel/virage-dashboard",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "description": "React dashboard web app for the Virage RAG pipeline — served by virage-cli",
6
6
  "author": "Vivantel",
@@ -1 +0,0 @@
1
- body{font-family:monospace;background:#1a1a2e;color:#eee;padding:0;margin:0}.layout{display:flex;min-height:100vh}.sidebar{width:160px;min-width:160px;background:#0f1b2d;display:flex;flex-direction:column;padding:16px 0;gap:4px;border-right:1px solid #1e3a5f}.sidebar-logo{color:#7ec8e3;font-weight:700;font-size:1.2em;padding:4px 16px 12px;border-bottom:1px solid #1e3a5f;margin-bottom:8px}.sidebar a{display:block;padding:8px 16px;color:#aaa;text-decoration:none;border-left:3px solid transparent}.sidebar a:hover{color:#eee;background:#16213e}.sidebar a.active{color:#7ec8e3;border-left-color:#7ec8e3;background:#16213e}.main-content{flex:1;overflow-y:auto;padding:24px 32px;max-width:1000px}.container{max-width:900px}h1{color:#7ec8e3}h2{color:#7ec8e3;margin-top:0}.card{background:#16213e;border-radius:8px;padding:16px;margin:12px 0}.card.error{border-left:4px solid #ff6b6b}.metrics{display:flex;flex-wrap:wrap;gap:8px}.metric{display:inline-block;margin:8px 16px}.metric .value{font-size:2em;color:#7ec8e3}.metric .label{font-size:.8em;color:#888}.bar{height:16px;background:#0f3460;border-radius:4px;margin:4px 0;position:relative}.bar-fill{height:100%;background:#7ec8e3;border-radius:4px}.anomaly{color:#ff6b6b}table{width:100%;border-collapse:collapse}td,th{padding:6px 12px;text-align:left;border-bottom:1px solid #333}.project-switcher{background:#16213e;border-radius:8px;padding:12px 16px;margin-bottom:4px;display:flex;flex-direction:column;gap:8px}.project-header-row{display:flex;align-items:center;gap:10px}.project-current{color:#7ec8e3;font-weight:700;font-size:1.1em}.project-dropdown-toggle{background:none;border:1px solid #0f3460;color:#7ec8e3;padding:3px 10px;border-radius:4px;cursor:pointer;font-family:monospace;font-size:.85em}.project-dropdown-toggle:hover{background:#0f3460}.project-list{list-style:none;padding:0;margin:0;border:1px solid #0f3460;border-radius:4px;overflow:hidden}.project-list li{padding:6px 12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.project-list li:hover{background:#0f3460}.project-list li.active{background:#0f3460;color:#7ec8e3;cursor:default}.project-list .project-path{font-size:.75em;color:#888}.project-add-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.project-add-form input{flex:1;min-width:200px;background:#0f3460;border:1px solid #333;color:#eee;padding:5px 10px;border-radius:4px;font-family:monospace;font-size:.9em}.project-add-form input:focus{outline:none;border-color:#7ec8e3}.project-add-form button{background:#0f3460;border:1px solid #7ec8e3;color:#7ec8e3;padding:5px 14px;border-radius:4px;cursor:pointer;font-family:monospace}.project-add-form button:hover{background:#7ec8e3;color:#1a1a2e}.project-add-error{color:#ff6b6b;font-size:.85em;width:100%}.toolbar{display:flex;gap:8px;align-items:center;margin-bottom:12px;flex-wrap:wrap}button,select,input[type=text],input[type=range]{font-family:monospace}button{background:#0f3460;border:1px solid #7ec8e3;color:#7ec8e3;padding:5px 14px;border-radius:4px;cursor:pointer}button:hover:not(:disabled){background:#7ec8e3;color:#1a1a2e}button:disabled{opacity:.5;cursor:not-allowed}.btn-danger{border-color:#ff6b6b;color:#ff6b6b}.btn-danger:hover:not(:disabled){background:#ff6b6b;color:#1a1a2e}.btn-sm{padding:2px 8px;font-size:.85em}select{background:#0f3460;border:1px solid #333;color:#eee;padding:5px 10px;border-radius:4px}.confirm-inline{display:flex;align-items:center;gap:4px}.chunk-table{width:100%;border-collapse:collapse;font-size:.9em}.chunk-table th{color:#7ec8e3;border-bottom:2px solid #1e3a5f;padding:6px 10px}.chunk-table td{padding:5px 10px;border-bottom:1px solid #1e2540;vertical-align:top}.source-file{color:#7ec8e3;font-size:.85em;white-space:nowrap}.content-preview{color:#ccc}.hash{color:#555;font-size:.8em;white-space:nowrap}.search-form{margin-bottom:16px}.search-input{width:100%;background:#0f3460;border:1px solid #333;color:#eee;padding:8px 12px;border-radius:4px;font-size:1em;box-sizing:border-box;margin-bottom:8px}.search-input:focus{outline:none;border-color:#7ec8e3}.search-controls{display:flex;gap:12px;align-items:center}.search-results{display:flex;flex-direction:column;gap:10px;margin-top:12px}.search-result-card{cursor:default}.result-header{display:flex;justify-content:space-between;margin-bottom:6px}.source-badge{background:#0f3460;color:#7ec8e3;padding:2px 8px;border-radius:4px;font-size:.8em}.similarity-badge{background:#1a3a1a;color:#7ec87e;padding:2px 8px;border-radius:4px;font-size:.8em}.result-content{margin:0;color:#ccc;white-space:pre-wrap;font-size:.9em}.pipeline-controls{display:flex;gap:8px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.pipeline-log{background:#0a0e1a;border:1px solid #1e3a5f;border-radius:6px;padding:14px;min-height:240px;max-height:480px;overflow-y:auto;white-space:pre-wrap;color:#7ec8e3;font-size:.9em;line-height:1.5}.status-badge{padding:3px 10px;border-radius:4px;font-size:.85em;font-weight:700}.status-disconnected{background:#222;color:#888}.status-connecting{background:#1a2a10;color:#ac8}.status-connected{background:#0a2a10;color:#7ec87e}.status-error{background:#2a0a0a;color:#ff6b6b}.experiment-table{width:100%;border-collapse:collapse;font-size:.9em}.experiment-table th{color:#7ec8e3;border-bottom:2px solid #1e3a5f;padding:6px 10px}.experiment-table td{padding:5px 10px;border-bottom:1px solid #1e2540;vertical-align:middle}.experiment-table .expanded-row td{background:#111a2e}.row-actions{display:flex;gap:4px}.experiment-detail{margin:4px 0 8px;font-size:.9em}.experiment-detail pre{background:#0a0e1a;padding:10px;border-radius:4px;overflow-x:auto}.compare-result table{font-size:.9em}.compare-result td{padding:4px 10px}.badge{padding:2px 8px;border-radius:4px;font-size:.85em;font-weight:700}.badge-accept{background:#0a2a10;color:#7ec87e}.badge-reject{background:#2a0a0a;color:#ff6b6b}.badge-inconclusive{background:#2a2a0a;color:#cc6}