vg-coder-cli 2.0.41 → 2.0.42

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vg-coder-cli",
3
- "version": "2.0.41",
3
+ "version": "2.0.42",
4
4
  "description": "🚀 CLI tool to analyze projects, concatenate source files, count tokens, and export HTML with syntax highlighting and copy functionality",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -0,0 +1,358 @@
1
+ /* Agent Panel Styles */
2
+
3
+ /* Panel Content Container */
4
+ #agent-panel-content {
5
+ display: flex;
6
+ flex-direction: column;
7
+ height: 100%;
8
+ overflow: hidden;
9
+ }
10
+
11
+ /* Chat Messages Area */
12
+ .agent-chat-messages {
13
+ flex: 1;
14
+ padding: 20px;
15
+ overflow-y: auto;
16
+ background-color: #18181b;
17
+ }
18
+
19
+ .agent-chat-messages::-webkit-scrollbar {
20
+ width: 4px;
21
+ }
22
+
23
+ .agent-chat-messages::-webkit-scrollbar-track {
24
+ background: transparent;
25
+ }
26
+
27
+ .agent-chat-messages::-webkit-scrollbar-thumb {
28
+ background: #3f3f46;
29
+ border-radius: 2px;
30
+ }
31
+
32
+ /* Empty State */
33
+ .agent-chat-empty {
34
+ display: flex;
35
+ flex-direction: column;
36
+ align-items: center;
37
+ justify-content: center;
38
+ height: 100%;
39
+ color: #52525b;
40
+ gap: 10px;
41
+ }
42
+
43
+ .agent-chat-empty svg {
44
+ width: 40px;
45
+ height: 40px;
46
+ }
47
+
48
+ .agent-chat-empty span {
49
+ font-size: 13px;
50
+ }
51
+
52
+ /* Message Container */
53
+ .agent-message {
54
+ display: flex;
55
+ width: 100%;
56
+ margin-bottom: 20px;
57
+ }
58
+
59
+ .agent-message.user {
60
+ justify-content: flex-end;
61
+ }
62
+
63
+ .agent-message.assistant {
64
+ justify-content: flex-start;
65
+ }
66
+
67
+ /* Message Bubble */
68
+ .agent-message-content {
69
+ max-width: 85%;
70
+ padding: 8px 14px;
71
+ font-size: 14px;
72
+ line-height: 1.6;
73
+ word-break: break-word;
74
+ overflow-wrap: break-word;
75
+ min-width: 0;
76
+ }
77
+
78
+ .agent-message.user .agent-message-content {
79
+ border-radius: 12px;
80
+ background: #27272a;
81
+ color: #ededed;
82
+ border: 1px solid #3f3f46;
83
+ }
84
+
85
+ .agent-message.assistant .agent-message-content {
86
+ border-radius: 4px;
87
+ background: transparent;
88
+ color: #ededed;
89
+ }
90
+
91
+ /* Message Metadata */
92
+ .agent-message-meta {
93
+ margin-top: 6px;
94
+ font-size: 10px;
95
+ color: #71717a;
96
+ display: flex;
97
+ align-items: center;
98
+ gap: 6px;
99
+ }
100
+
101
+ .agent-message.user .agent-message-meta {
102
+ justify-content: flex-end;
103
+ }
104
+
105
+ .agent-message.assistant .agent-message-meta {
106
+ justify-content: flex-start;
107
+ }
108
+
109
+ /* Status Icons */
110
+ .agent-status-sending {
111
+ color: #71717a;
112
+ }
113
+
114
+ .agent-status-processing {
115
+ color: #fbbf24;
116
+ }
117
+
118
+ .agent-status-error {
119
+ color: #ef4444;
120
+ }
121
+
122
+ /* Input Area */
123
+ .agent-chat-input-area {
124
+ padding: 16px;
125
+ background-color: #18181b;
126
+ border-top: 1px solid #27272a;
127
+ flex-shrink: 0;
128
+ }
129
+
130
+ .agent-input-wrapper {
131
+ background: #202023;
132
+ border: 1px solid #3f3f46;
133
+ border-radius: 8px;
134
+ padding: 8px;
135
+ display: flex;
136
+ flex-direction: column;
137
+ gap: 6px;
138
+ transition: all 0.2s ease;
139
+ }
140
+
141
+ .agent-input-wrapper.drag-active {
142
+ border-color: #4ade80;
143
+ background-color: #27272a;
144
+ box-shadow: 0 0 10px rgba(74, 222, 128, 0.1);
145
+ }
146
+
147
+ /* File List */
148
+ .agent-file-list {
149
+ display: flex;
150
+ flex-wrap: wrap;
151
+ }
152
+
153
+ .agent-file-badge {
154
+ display: inline-flex;
155
+ align-items: center;
156
+ gap: 6px;
157
+ background: #3f3f46;
158
+ padding: 4px 8px;
159
+ border-radius: 4px;
160
+ margin-right: 6px;
161
+ margin-bottom: 4px;
162
+ font-size: 11px;
163
+ color: #e4e4e7;
164
+ }
165
+
166
+ .agent-file-name {
167
+ max-width: 150px;
168
+ overflow: hidden;
169
+ text-overflow: ellipsis;
170
+ white-space: nowrap;
171
+ }
172
+
173
+ .agent-file-size {
174
+ color: #a1a1aa;
175
+ }
176
+
177
+ .agent-file-remove {
178
+ background: none;
179
+ border: none;
180
+ color: #ef4444;
181
+ cursor: pointer;
182
+ font-weight: bold;
183
+ padding: 0 2px;
184
+ font-size: 14px;
185
+ line-height: 1;
186
+ }
187
+
188
+ /* Textarea */
189
+ .agent-chat-textarea {
190
+ width: 100%;
191
+ background: transparent;
192
+ border: none;
193
+ color: #ededed;
194
+ resize: none;
195
+ font-family: inherit;
196
+ font-size: 14px;
197
+ outline: none;
198
+ height: 40px;
199
+ min-height: 40px;
200
+ }
201
+
202
+ .agent-chat-textarea:disabled {
203
+ opacity: 0.5;
204
+ cursor: not-allowed;
205
+ }
206
+
207
+ /* Input Controls */
208
+ .agent-input-controls {
209
+ display: flex;
210
+ justify-content: space-between;
211
+ align-items: center;
212
+ }
213
+
214
+ .agent-input-actions {
215
+ display: flex;
216
+ gap: 4px;
217
+ }
218
+
219
+ /* Buttons */
220
+ .agent-btn {
221
+ background: transparent;
222
+ border: none;
223
+ color: #a1a1aa;
224
+ cursor: pointer;
225
+ padding: 4px;
226
+ border-radius: 4px;
227
+ transition: all 0.2s;
228
+ display: flex;
229
+ align-items: center;
230
+ justify-content: center;
231
+ }
232
+
233
+ .agent-btn:hover {
234
+ color: #ededed;
235
+ background: #27272a;
236
+ }
237
+
238
+ .agent-btn:disabled {
239
+ opacity: 0.3;
240
+ cursor: not-allowed;
241
+ }
242
+
243
+ .agent-send-btn {
244
+ width: 28px;
245
+ height: 28px;
246
+ border-radius: 4px;
247
+ background: #ededed;
248
+ color: #18181b;
249
+ border: none;
250
+ cursor: pointer;
251
+ display: flex;
252
+ align-items: center;
253
+ justify-content: center;
254
+ }
255
+
256
+ .agent-send-btn:disabled {
257
+ opacity: 0.3;
258
+ cursor: not-allowed;
259
+ }
260
+
261
+ /* Mermaid Diagrams */
262
+ .agent-mermaid {
263
+ margin: 16px 0;
264
+ padding: 20px;
265
+ background-color: var(--code-block-bg, #161b22);
266
+ border-radius: 6px;
267
+ display: flex;
268
+ justify-content: center;
269
+ align-items: center;
270
+ overflow-x: auto;
271
+ min-height: 100px;
272
+ }
273
+
274
+ .agent-mermaid svg {
275
+ max-width: 100%;
276
+ height: auto;
277
+ }
278
+
279
+ /* Mermaid error state */
280
+ .agent-mermaid-error {
281
+ margin: 16px 0;
282
+ padding: 16px;
283
+ background-color: rgba(255, 59, 48, 0.1);
284
+ border: 1px solid var(--ios-red, #ff3b30);
285
+ border-radius: 6px;
286
+ color: var(--ios-red, #ff3b30);
287
+ font-family: monospace;
288
+ font-size: 12px;
289
+ }
290
+
291
+ /* Light Theme Support */
292
+ [data-theme="light"] .agent-chat-messages {
293
+ background-color: #FFFFFF;
294
+ }
295
+
296
+ [data-theme="light"] .agent-chat-input-area {
297
+ background-color: #FFFFFF;
298
+ }
299
+
300
+ [data-theme="light"] .agent-input-wrapper {
301
+ background: #F7F7F7;
302
+ border-color: #D1D1D1;
303
+ }
304
+
305
+ [data-theme="light"] .agent-message.user .agent-message-content {
306
+ background: #F0F0F0;
307
+ color: #000000;
308
+ border-color: #D1D1D1;
309
+ }
310
+
311
+ [data-theme="light"] .agent-message.assistant .agent-message-content {
312
+ color: #000000;
313
+ }
314
+
315
+ [data-theme="light"] .agent-chat-textarea {
316
+ color: #000000;
317
+ }
318
+
319
+ /* Spinner Animation */
320
+ @keyframes agent-spin {
321
+ 100% {
322
+ transform: rotate(360deg);
323
+ }
324
+ }
325
+
326
+ .agent-spinner {
327
+ animation: agent-spin 1s linear infinite;
328
+ }
329
+
330
+ /* Error Message */
331
+ .agent-error-box {
332
+ color: #ef4444;
333
+ padding: 12px;
334
+ background: #2a1515;
335
+ border-radius: 8px;
336
+ border: 1px solid #7f1d1d;
337
+ }
338
+
339
+ .agent-error-title {
340
+ font-weight: 600;
341
+ margin-bottom: 8px;
342
+ }
343
+
344
+ .agent-retry-btn {
345
+ background: #dc2626;
346
+ color: white;
347
+ border: none;
348
+ padding: 6px 12px;
349
+ border-radius: 4px;
350
+ cursor: pointer;
351
+ font-size: 12px;
352
+ font-weight: 500;
353
+ margin-top: 4px;
354
+ }
355
+
356
+ .agent-retry-btn:hover {
357
+ background: #b91c1c;
358
+ }
@@ -0,0 +1,97 @@
1
+ /* Browser Panel Styles */
2
+ .browser-panel-wrapper {
3
+ display: flex;
4
+ flex-direction: column;
5
+ height: 100%;
6
+ width: 100%;
7
+ }
8
+
9
+ .browser-toolbar {
10
+ display: flex;
11
+ gap: 8px;
12
+ padding: 12px;
13
+ background: #1E1F22;
14
+ border-bottom: 1px solid #2B2D30;
15
+ flex-shrink: 0;
16
+ }
17
+
18
+ [data-theme="light"] .browser-toolbar {
19
+ background: #FFFFFF;
20
+ border-bottom: 1px solid #D1D1D1;
21
+ }
22
+
23
+ .browser-url-input {
24
+ flex: 1;
25
+ padding: 8px 12px;
26
+ background: #2B2D30;
27
+ border: 1px solid #3C3F41;
28
+ border-radius: 6px;
29
+ color: #DFE1E5;
30
+ font-size: 13px;
31
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
32
+ outline: none;
33
+ transition: border-color 0.15s ease;
34
+ }
35
+
36
+ [data-theme="light"] .browser-url-input {
37
+ background: #FFFFFF;
38
+ border: 1px solid #D1D1D1;
39
+ color: #000000;
40
+ }
41
+
42
+ .browser-url-input:focus {
43
+ border-color: #4E84E8;
44
+ }
45
+
46
+ [data-theme="light"] .browser-url-input:focus {
47
+ border-color: #007AFF;
48
+ }
49
+
50
+ .browser-go-btn,
51
+ .browser-refresh-btn {
52
+ width: 36px;
53
+ height: 36px;
54
+ display: flex;
55
+ align-items: center;
56
+ justify-content: center;
57
+ background: #2B2D30;
58
+ border: 1px solid #3C3F41;
59
+ border-radius: 6px;
60
+ color: #DFE1E5;
61
+ font-size: 16px;
62
+ cursor: pointer;
63
+ transition: background 0.15s ease, border-color 0.15s ease;
64
+ flex-shrink: 0;
65
+ }
66
+
67
+ [data-theme="light"] .browser-go-btn,
68
+ [data-theme="light"] .browser-refresh-btn {
69
+ background: #FFFFFF;
70
+ border: 1px solid #D1D1D1;
71
+ color: #000000;
72
+ }
73
+
74
+ .browser-go-btn:hover,
75
+ .browser-refresh-btn:hover {
76
+ background: #3C3F41;
77
+ border-color: #4E84E8;
78
+ }
79
+
80
+ [data-theme="light"] .browser-go-btn:hover,
81
+ [data-theme="light"] .browser-refresh-btn:hover {
82
+ background: #F5F5F5;
83
+ border-color: #007AFF;
84
+ }
85
+
86
+ .browser-go-btn:active,
87
+ .browser-refresh-btn:active {
88
+ transform: scale(0.95);
89
+ }
90
+
91
+ .browser-iframe {
92
+ flex: 1;
93
+ width: 100%;
94
+ height: 100%;
95
+ border: none;
96
+ background: #FFFFFF;
97
+ }
@@ -265,3 +265,73 @@
265
265
  [data-theme="light"] .tool-panel-content::-webkit-scrollbar-thumb:hover {
266
266
  background: rgba(0, 0, 0, 0.3);
267
267
  }
268
+
269
+ /* Right Tool Window Bar - IDE-Style Sidebar */
270
+ .tool-window-bar-right {
271
+ width: 48px;
272
+ height: 100%;
273
+ background: #2B2D30;
274
+ border-left: 1px solid #1E1F22;
275
+ border-right: none;
276
+ display: flex;
277
+ flex-direction: column;
278
+ align-items: center;
279
+ padding: 8px 0;
280
+ gap: 4px;
281
+ flex-shrink: 0;
282
+ z-index: 100;
283
+ }
284
+
285
+ [data-theme="light"] .tool-window-bar-right {
286
+ background: #F2F2F2;
287
+ border-left: 1px solid #D1D1D1;
288
+ border-right: none;
289
+ }
290
+
291
+ /* Right Tool Window Icon Tooltips */
292
+ .tool-window-bar-right .tool-window-icon::after {
293
+ left: auto;
294
+ right: 52px;
295
+ }
296
+
297
+ /* Right Resize Handler */
298
+ .resize-handler-right {
299
+ width: 4px;
300
+ cursor: ew-resize;
301
+ background: transparent;
302
+ position: relative;
303
+ transition: background 0.15s ease;
304
+ flex-shrink: 0;
305
+ }
306
+
307
+ .resize-handler-right:hover {
308
+ background: rgba(78, 132, 232, 0.3);
309
+ }
310
+
311
+ [data-theme="light"] .resize-handler-right:hover {
312
+ background: rgba(0, 122, 255, 0.2);
313
+ }
314
+
315
+ /* Right Tool Panel Container */
316
+ .tool-panel-container-right {
317
+ width: 0;
318
+ height: 100%;
319
+ background: #2B2D30;
320
+ border-left: 1px solid #1E1F22;
321
+ border-right: none;
322
+ overflow: hidden;
323
+ transition: width 0.25s ease;
324
+ flex-shrink: 0;
325
+ position: relative;
326
+ z-index: 99;
327
+ }
328
+
329
+ [data-theme="light"] .tool-panel-container-right {
330
+ background: #F7F7F7;
331
+ border-left: 1px solid #D1D1D1;
332
+ border-right: none;
333
+ }
334
+
335
+ .tool-panel-container-right.expanded {
336
+ width: 520px;
337
+ }
@@ -44,6 +44,9 @@
44
44
  height: 100% !important;
45
45
  opacity: 1 !important;
46
46
  }
47
+ #vg-app-root.visible .vg-bubble {
48
+ display: none !important;
49
+ }
47
50
 
48
51
  /* Main Layout */
49
52
  .split-layout { display: flex; height: 100%; width: 100%; flex-direction: row; }
@@ -110,6 +110,59 @@
110
110
  </div>
111
111
  </div>
112
112
  </div>
113
+
114
+ <div id="resize-handler-right" class="resize-handler resize-handler-right"></div>
115
+
116
+ <!-- RIGHT TOOL PANEL CONTAINER (Expandable Panels) -->
117
+ <div id="tool-panel-container-right" class="tool-panel-container tool-panel-container-right">
118
+ <!-- Agent Panel -->
119
+ <div id="tool-panel-agent" class="tool-panel">
120
+ <div class="tool-panel-header">
121
+ <div class="tool-panel-title">
122
+ <span>🤖</span>
123
+ <span>Agent</span>
124
+ </div>
125
+ <div class="tool-panel-actions">
126
+ <button class="tool-panel-action-btn" onclick="window.closeToolPanelsRight()" title="Close">✕</button>
127
+ </div>
128
+ </div>
129
+ <div id="agent-panel-content" class="tool-panel-content">
130
+ <!-- Agent panel content will be rendered here -->
131
+ </div>
132
+ </div>
133
+
134
+ <!-- Browser Panel -->
135
+ <div id="tool-panel-browser" class="tool-panel">
136
+ <div class="tool-panel-header">
137
+ <div class="tool-panel-title">
138
+ <span>🌐</span>
139
+ <span>Browser</span>
140
+ </div>
141
+ <div class="tool-panel-actions">
142
+ <button class="tool-panel-action-btn" onclick="window.closeToolPanelsRight()" title="Close">✕</button>
143
+ </div>
144
+ </div>
145
+ <div id="browser-panel-content" class="tool-panel-content">
146
+ <!-- Browser panel content will be rendered here -->
147
+ </div>
148
+ </div>
149
+ </div>
150
+
151
+ <!-- RIGHT TOOL WINDOW BAR (IDE-Style Sidebar) -->
152
+ <div id="tool-window-bar-right" class="tool-window-bar tool-window-bar-right">
153
+ <button class="tool-window-icon" data-panel="agent" data-tooltip="Agent" title="Agent">
154
+ 🤖
155
+ </button>
156
+ <button class="tool-window-icon" data-panel="browser" data-tooltip="Browser" title="Browser">
157
+ 🌐
158
+ </button>
159
+
160
+ <!-- Spacer to push exit button to bottom -->
161
+ <div class="tool-window-spacer"></div>
162
+
163
+ <!-- Exit Button -->
164
+ <button class="tool-window-action-btn" id="exit-dashboard-btn" title="Close Dashboard (Cmd+3)">✕</button>
165
+ </div>
113
166
  </div>
114
167
 
115
168
  <!-- Modals & Overlays -->