@fefeding/aicmd 0.1.7 → 0.1.14

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.
Files changed (45) hide show
  1. package/dist/public/.vite/manifest.json +17 -17
  2. package/dist/public/favicon.ico +0 -0
  3. package/dist/public/index.css +80 -0
  4. package/dist/public/index.js +149 -23
  5. package/dist/public/views.css +309 -221
  6. package/dist/public/views.js +1743 -1605
  7. package/dist/public/vue.js +5120 -5120
  8. package/dist/server/index.d.ts.map +1 -1
  9. package/dist/server/index.js +13 -1
  10. package/dist/server/index.js.map +1 -1
  11. package/dist/server/index.ts +12 -1
  12. package/dist/server/model/connection.entity.d.ts +4 -0
  13. package/dist/server/model/connection.entity.d.ts.map +1 -1
  14. package/dist/server/model/connection.entity.js +4 -0
  15. package/dist/server/model/connection.entity.js.map +1 -1
  16. package/dist/server/model/connection.entity.ts +6 -0
  17. package/dist/server/service/ai.service.d.ts +17 -1
  18. package/dist/server/service/ai.service.d.ts.map +1 -1
  19. package/dist/server/service/ai.service.js +189 -106
  20. package/dist/server/service/ai.service.js.map +1 -1
  21. package/dist/server/service/ai.service.ts +198 -114
  22. package/dist/server/service/connection.service.d.ts +13 -2
  23. package/dist/server/service/connection.service.d.ts.map +1 -1
  24. package/dist/server/service/connection.service.js +153 -19
  25. package/dist/server/service/connection.service.js.map +1 -1
  26. package/dist/server/service/connection.service.ts +163 -22
  27. package/dist/server/service/ssh.service.d.ts +39 -0
  28. package/dist/server/service/ssh.service.d.ts.map +1 -1
  29. package/dist/server/service/ssh.service.js +419 -9
  30. package/dist/server/service/ssh.service.js.map +1 -1
  31. package/dist/server/service/ssh.service.ts +425 -9
  32. package/dist/server/utils/data-dir.d.ts +7 -0
  33. package/dist/server/utils/data-dir.d.ts.map +1 -1
  34. package/dist/server/utils/data-dir.js +38 -2
  35. package/dist/server/utils/data-dir.js.map +1 -1
  36. package/dist/server/utils/data-dir.ts +33 -2
  37. package/dist/view/index.html +19 -21
  38. package/electron/main.js +73 -11
  39. package/electron/preload.js +34 -0
  40. package/electron/updater.js +181 -0
  41. package/package.json +6 -4
  42. package/server.js +128 -3
  43. package/view/index.html +0 -9
  44. package/view/modules/header.tpl +0 -14
  45. package/view/modules/initial_state.tpl +0 -20
@@ -231,7 +231,7 @@
231
231
  .text-info[data-v-6149c4f8] { color: #2196f3;
232
232
  }
233
233
 
234
- .monitor-panel[data-v-ceff9bae] {
234
+ .monitor-panel[data-v-8ba0b1b2] {
235
235
  display: flex;
236
236
  flex-direction: column;
237
237
  height: 100%;
@@ -239,13 +239,13 @@
239
239
  font-size: 12px;
240
240
  color: var(--text-primary);
241
241
  }
242
- .monitor-controls[data-v-ceff9bae] {
242
+ .monitor-controls[data-v-8ba0b1b2] {
243
243
  display: flex;
244
244
  gap: 6px;
245
245
  padding: 8px 12px;
246
246
  border-bottom: 1px solid var(--border-color);
247
247
  }
248
- .monitor-input[data-v-ceff9bae] {
248
+ .monitor-input[data-v-8ba0b1b2] {
249
249
  flex: 1;
250
250
  background: rgba(0, 0, 0, 0.2);
251
251
  border: 1px solid var(--border-color);
@@ -256,11 +256,11 @@
256
256
  font-family: 'JetBrains Mono', monospace;
257
257
  outline: none;
258
258
  }
259
- .monitor-input[data-v-ceff9bae]:focus { border-color: var(--accent);
259
+ .monitor-input[data-v-8ba0b1b2]:focus { border-color: var(--accent);
260
260
  }
261
- .monitor-input[data-v-ceff9bae]:disabled { opacity: 0.6;
261
+ .monitor-input[data-v-8ba0b1b2]:disabled { opacity: 0.6;
262
262
  }
263
- .btn-monitor[data-v-ceff9bae] {
263
+ .btn-monitor[data-v-8ba0b1b2] {
264
264
  background: rgba(255, 255, 255, 0.06);
265
265
  border: 1px solid var(--border-color);
266
266
  color: var(--text-primary);
@@ -274,17 +274,17 @@
274
274
  white-space: nowrap;
275
275
  transition: all 0.15s;
276
276
  }
277
- .btn-monitor[data-v-ceff9bae]:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1);
277
+ .btn-monitor[data-v-8ba0b1b2]:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1);
278
278
  }
279
- .btn-monitor.active[data-v-ceff9bae] { background: rgba(243, 139, 168, 0.15); border-color: #f38ba8; color: #f38ba8;
279
+ .btn-monitor.active[data-v-8ba0b1b2] { background: rgba(243, 139, 168, 0.15); border-color: #f38ba8; color: #f38ba8;
280
280
  }
281
- .btn-monitor[data-v-ceff9bae]:disabled { opacity: 0.4; cursor: not-allowed;
281
+ .btn-monitor[data-v-8ba0b1b2]:disabled { opacity: 0.4; cursor: not-allowed;
282
282
  }
283
- .btn-analyze[data-v-ceff9bae] { border-color: #89b4fa; color: #89b4fa;
283
+ .btn-analyze[data-v-8ba0b1b2] { border-color: #89b4fa; color: #89b4fa;
284
284
  }
285
- .btn-analyze[data-v-ceff9bae]:hover:not(:disabled) { background: rgba(137, 180, 250, 0.1);
285
+ .btn-analyze[data-v-8ba0b1b2]:hover:not(:disabled) { background: rgba(137, 180, 250, 0.1);
286
286
  }
287
- .monitor-status[data-v-ceff9bae] {
287
+ .monitor-status[data-v-8ba0b1b2] {
288
288
  display: flex;
289
289
  align-items: center;
290
290
  gap: 6px;
@@ -294,31 +294,31 @@
294
294
  border-bottom: 1px solid var(--border-color);
295
295
  background: rgba(0, 0, 0, 0.1);
296
296
  }
297
- .status-indicator[data-v-ceff9bae] {
297
+ .status-indicator[data-v-8ba0b1b2] {
298
298
  width: 6px;
299
299
  height: 6px;
300
300
  border-radius: 50%;
301
301
  background: #666;
302
302
  }
303
- .status-indicator.active[data-v-ceff9bae] {
303
+ .status-indicator.active[data-v-8ba0b1b2] {
304
304
  background: #a6e3a1;
305
- animation: pulse-ceff9bae 2s infinite;
305
+ animation: pulse-8ba0b1b2 2s infinite;
306
306
  }
307
- @keyframes pulse-ceff9bae {
307
+ @keyframes pulse-8ba0b1b2 {
308
308
  0%, 100% { opacity: 1;
309
309
  }
310
310
  50% { opacity: 0.4;
311
311
  }
312
312
  }
313
- .status-stats[data-v-ceff9bae] { margin-left: auto;
313
+ .status-stats[data-v-8ba0b1b2] { margin-left: auto;
314
314
  }
315
315
 
316
316
  /* 告警面板 */
317
- .monitor-alerts[data-v-ceff9bae] {
317
+ .monitor-alerts[data-v-8ba0b1b2] {
318
318
  border-bottom: 1px solid var(--border-color);
319
319
  background: rgba(243, 139, 168, 0.04);
320
320
  }
321
- .alerts-header[data-v-ceff9bae] {
321
+ .alerts-header[data-v-8ba0b1b2] {
322
322
  display: flex;
323
323
  align-items: center;
324
324
  gap: 6px;
@@ -328,11 +328,11 @@
328
328
  color: #f38ba8;
329
329
  transition: background 0.15s;
330
330
  }
331
- .alerts-header[data-v-ceff9bae]:hover { background: rgba(255, 255, 255, 0.03);
331
+ .alerts-header[data-v-8ba0b1b2]:hover { background: rgba(255, 255, 255, 0.03);
332
332
  }
333
- .alert-icon[data-v-ceff9bae] { font-size: 12px;
333
+ .alert-icon[data-v-8ba0b1b2] { font-size: 12px;
334
334
  }
335
- .btn-clear-alerts[data-v-ceff9bae] {
335
+ .btn-clear-alerts[data-v-8ba0b1b2] {
336
336
  background: none;
337
337
  border: none;
338
338
  color: var(--text-secondary);
@@ -341,43 +341,43 @@
341
341
  padding: 0 4px;
342
342
  font-size: 14px;
343
343
  }
344
- .btn-clear-alerts[data-v-ceff9bae]:hover { color: var(--text-primary);
344
+ .btn-clear-alerts[data-v-8ba0b1b2]:hover { color: var(--text-primary);
345
345
  }
346
- .alerts-list[data-v-ceff9bae] {
346
+ .alerts-list[data-v-8ba0b1b2] {
347
347
  max-height: 200px;
348
348
  overflow-y: auto;
349
349
  }
350
- .alert-item[data-v-ceff9bae] {
350
+ .alert-item[data-v-8ba0b1b2] {
351
351
  padding: 6px 12px;
352
352
  border-top: 1px solid rgba(255, 255, 255, 0.04);
353
353
  }
354
- .alert-item.level-critical[data-v-ceff9bae] { border-left: 3px solid #f38ba8;
354
+ .alert-item.level-critical[data-v-8ba0b1b2] { border-left: 3px solid #f38ba8;
355
355
  }
356
- .alert-item.level-error[data-v-ceff9bae] { border-left: 3px solid #fab387;
356
+ .alert-item.level-error[data-v-8ba0b1b2] { border-left: 3px solid #fab387;
357
357
  }
358
- .alert-item.level-warning[data-v-ceff9bae] { border-left: 3px solid #f9e2af;
358
+ .alert-item.level-warning[data-v-8ba0b1b2] { border-left: 3px solid #f9e2af;
359
359
  }
360
- .alert-header[data-v-ceff9bae] {
360
+ .alert-header[data-v-8ba0b1b2] {
361
361
  display: flex;
362
362
  align-items: center;
363
363
  gap: 8px;
364
364
  margin-bottom: 2px;
365
365
  }
366
- .alert-level[data-v-ceff9bae] {
366
+ .alert-level[data-v-8ba0b1b2] {
367
367
  font-size: 10px;
368
368
  font-weight: 600;
369
369
  padding: 1px 5px;
370
370
  border-radius: 3px;
371
371
  }
372
- .level-critical .alert-level[data-v-ceff9bae] { background: rgba(243, 139, 168, 0.2); color: #f38ba8;
372
+ .level-critical .alert-level[data-v-8ba0b1b2] { background: rgba(243, 139, 168, 0.2); color: #f38ba8;
373
373
  }
374
- .level-error .alert-level[data-v-ceff9bae] { background: rgba(250, 179, 135, 0.2); color: #fab387;
374
+ .level-error .alert-level[data-v-8ba0b1b2] { background: rgba(250, 179, 135, 0.2); color: #fab387;
375
375
  }
376
- .level-warning .alert-level[data-v-ceff9bae] { background: rgba(249, 226, 175, 0.2); color: #f9e2af;
376
+ .level-warning .alert-level[data-v-8ba0b1b2] { background: rgba(249, 226, 175, 0.2); color: #f9e2af;
377
377
  }
378
- .alert-time[data-v-ceff9bae] { font-size: 10px; color: var(--text-secondary);
378
+ .alert-time[data-v-8ba0b1b2] { font-size: 10px; color: var(--text-secondary);
379
379
  }
380
- .alert-message[data-v-ceff9bae] {
380
+ .alert-message[data-v-8ba0b1b2] {
381
381
  font-size: 11px;
382
382
  font-family: 'JetBrains Mono', monospace;
383
383
  color: var(--text-secondary);
@@ -385,7 +385,7 @@
385
385
  overflow: hidden;
386
386
  text-overflow: ellipsis;
387
387
  }
388
- .alert-analysis[data-v-ceff9bae] {
388
+ .alert-analysis[data-v-8ba0b1b2] {
389
389
  margin-top: 4px;
390
390
  padding: 4px 8px;
391
391
  background: rgba(137, 180, 250, 0.06);
@@ -393,17 +393,17 @@
393
393
  font-size: 11px;
394
394
  color: var(--text-secondary);
395
395
  }
396
- .alert-analysis i[data-v-ceff9bae] { color: #89b4fa; margin-right: 4px;
396
+ .alert-analysis i[data-v-8ba0b1b2] { color: #89b4fa; margin-right: 4px;
397
397
  }
398
398
 
399
399
  /* AI 分析结果 */
400
- .monitor-analysis[data-v-ceff9bae] {
400
+ .monitor-analysis[data-v-8ba0b1b2] {
401
401
  border-bottom: 1px solid var(--border-color);
402
402
  background: rgba(137, 180, 250, 0.04);
403
403
  max-height: 200px;
404
404
  overflow-y: auto;
405
405
  }
406
- .analysis-header[data-v-ceff9bae] {
406
+ .analysis-header[data-v-8ba0b1b2] {
407
407
  display: flex;
408
408
  align-items: center;
409
409
  gap: 6px;
@@ -412,13 +412,13 @@
412
412
  color: #89b4fa;
413
413
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
414
414
  }
415
- .analysis-content[data-v-ceff9bae] {
415
+ .analysis-content[data-v-8ba0b1b2] {
416
416
  padding: 8px 12px;
417
417
  font-size: 11px;
418
418
  line-height: 1.6;
419
419
  color: var(--text-secondary);
420
420
  }
421
- .analysis-content[data-v-ceff9bae] .code-block {
421
+ .analysis-content[data-v-8ba0b1b2] .code-block {
422
422
  background: rgba(0, 0, 0, 0.3);
423
423
  border-radius: 4px;
424
424
  padding: 8px;
@@ -426,7 +426,7 @@
426
426
  font-family: 'JetBrains Mono', monospace;
427
427
  font-size: 11px;
428
428
  }
429
- .analysis-content[data-v-ceff9bae] .inline-code {
429
+ .analysis-content[data-v-8ba0b1b2] .inline-code {
430
430
  background: rgba(0, 0, 0, 0.3);
431
431
  padding: 1px 4px;
432
432
  border-radius: 3px;
@@ -434,7 +434,7 @@
434
434
  }
435
435
 
436
436
  /* 日志输出 */
437
- .monitor-output[data-v-ceff9bae] {
437
+ .monitor-output[data-v-8ba0b1b2] {
438
438
  flex: 1;
439
439
  overflow-y: auto;
440
440
  padding: 4px 0;
@@ -442,7 +442,7 @@
442
442
  font-size: 11px;
443
443
  line-height: 1.5;
444
444
  }
445
- .monitor-empty[data-v-ceff9bae] {
445
+ .monitor-empty[data-v-8ba0b1b2] {
446
446
  display: flex;
447
447
  flex-direction: column;
448
448
  align-items: center;
@@ -451,33 +451,33 @@
451
451
  color: var(--text-secondary);
452
452
  gap: 8px;
453
453
  }
454
- .monitor-empty i[data-v-ceff9bae] { font-size: 24px; opacity: 0.5;
454
+ .monitor-empty i[data-v-8ba0b1b2] { font-size: 24px; opacity: 0.5;
455
455
  }
456
- .log-line[data-v-ceff9bae] {
456
+ .log-line[data-v-8ba0b1b2] {
457
457
  padding: 1px 12px;
458
458
  white-space: pre-wrap;
459
459
  word-break: break-all;
460
460
  color: var(--text-secondary);
461
461
  }
462
- .log-line[data-v-ceff9bae]:hover { background: rgba(255, 255, 255, 0.03);
462
+ .log-line[data-v-8ba0b1b2]:hover { background: rgba(255, 255, 255, 0.03);
463
463
  }
464
- .log-line.line-error[data-v-ceff9bae] { color: #f38ba8; background: rgba(243, 139, 168, 0.05);
464
+ .log-line.line-error[data-v-8ba0b1b2] { color: #f38ba8; background: rgba(243, 139, 168, 0.05);
465
465
  }
466
- .log-line.line-warning[data-v-ceff9bae] { color: #f9e2af; background: rgba(249, 226, 175, 0.03);
466
+ .log-line.line-warning[data-v-8ba0b1b2] { color: #f9e2af; background: rgba(249, 226, 175, 0.03);
467
467
  }
468
- .log-line.line-debug[data-v-ceff9bae] { color: var(--text-secondary); opacity: 0.6;
468
+ .log-line.line-debug[data-v-8ba0b1b2] { color: var(--text-secondary); opacity: 0.6;
469
469
  }
470
470
 
471
- .ai-chat-panel[data-v-f4922807] {
471
+ .ai-chat-panel[data-v-d0e94b33] {
472
472
  display: flex;
473
473
  flex-direction: column;
474
474
  height: 100%;
475
475
  background: var(--bg-dark);
476
476
  border-left: 1px solid var(--border-color);
477
477
  }
478
- .ai-chat-panel.collapsed[data-v-f4922807] { display: none;
478
+ .ai-chat-panel.collapsed[data-v-d0e94b33] { display: none;
479
479
  }
480
- .ai-chat-header[data-v-f4922807] {
480
+ .ai-chat-header[data-v-d0e94b33] {
481
481
  display: flex;
482
482
  align-items: center;
483
483
  justify-content: space-between;
@@ -485,7 +485,7 @@
485
485
  border-bottom: 1px solid var(--border-color);
486
486
  background: rgba(49, 50, 68, 0.5);
487
487
  }
488
- .btn-ai-action[data-v-f4922807] {
488
+ .btn-ai-action[data-v-d0e94b33] {
489
489
  background: none;
490
490
  border: none;
491
491
  color: var(--text-secondary);
@@ -495,15 +495,15 @@
495
495
  font-size: 14px;
496
496
  transition: all 0.15s;
497
497
  }
498
- .btn-ai-action[data-v-f4922807]:hover {
498
+ .btn-ai-action[data-v-d0e94b33]:hover {
499
499
  background: rgba(255, 255, 255, 0.1);
500
500
  color: var(--text-primary);
501
501
  }
502
- .btn-ai-action.btn-stop[data-v-f4922807] { color: #f38ba8;
502
+ .btn-ai-action.btn-stop[data-v-d0e94b33] { color: #f38ba8;
503
503
  }
504
- .btn-ai-action.btn-stop[data-v-f4922807]:hover { color: #f38ba8; background: rgba(243, 139, 168, 0.1);
504
+ .btn-ai-action.btn-stop[data-v-d0e94b33]:hover { color: #f38ba8; background: rgba(243, 139, 168, 0.1);
505
505
  }
506
- .ai-chat-messages[data-v-f4922807] {
506
+ .ai-chat-messages[data-v-d0e94b33] {
507
507
  flex: 1;
508
508
  overflow-y: auto;
509
509
  padding: 16px;
@@ -511,7 +511,7 @@
511
511
  flex-direction: column;
512
512
  gap: 16px;
513
513
  }
514
- .ai-chat-empty[data-v-f4922807] {
514
+ .ai-chat-empty[data-v-d0e94b33] {
515
515
  flex: 1;
516
516
  display: flex;
517
517
  flex-direction: column;
@@ -520,16 +520,16 @@
520
520
  color: var(--text-secondary);
521
521
  text-align: center;
522
522
  }
523
- .ai-chat-empty p[data-v-f4922807] { margin-top: 12px; font-size: 13px;
523
+ .ai-chat-empty p[data-v-d0e94b33] { margin-top: 12px; font-size: 13px;
524
524
  }
525
- .ai-message[data-v-f4922807] {
525
+ .ai-message[data-v-d0e94b33] {
526
526
  display: flex;
527
527
  gap: 12px;
528
528
  max-width: 100%;
529
529
  }
530
- .ai-message.user[data-v-f4922807] { flex-direction: row-reverse;
530
+ .ai-message.user[data-v-d0e94b33] { flex-direction: row-reverse;
531
531
  }
532
- .ai-message-avatar[data-v-f4922807] {
532
+ .ai-message-avatar[data-v-d0e94b33] {
533
533
  width: 32px;
534
534
  height: 32px;
535
535
  border-radius: 50%;
@@ -539,28 +539,28 @@
539
539
  flex-shrink: 0;
540
540
  font-size: 16px;
541
541
  }
542
- .ai-message.user .ai-message-avatar[data-v-f4922807] { background: var(--accent); color: white;
542
+ .ai-message.user .ai-message-avatar[data-v-d0e94b33] { background: var(--accent); color: white;
543
543
  }
544
- .ai-message.assistant .ai-message-avatar[data-v-f4922807] { background: rgba(166, 227, 161, 0.2); color: #a6e3a1;
544
+ .ai-message.assistant .ai-message-avatar[data-v-d0e94b33] { background: rgba(166, 227, 161, 0.2); color: #a6e3a1;
545
545
  }
546
- .ai-message-content[data-v-f4922807] {
546
+ .ai-message-content[data-v-d0e94b33] {
547
547
  max-width: calc(100% - 48px);
548
548
  padding: 10px 14px;
549
549
  border-radius: 12px;
550
550
  font-size: 13px;
551
551
  line-height: 1.5;
552
552
  }
553
- .ai-message.user .ai-message-content[data-v-f4922807] {
553
+ .ai-message.user .ai-message-content[data-v-d0e94b33] {
554
554
  background: var(--accent);
555
555
  color: white;
556
556
  border-top-right-radius: 4px;
557
557
  }
558
- .ai-message.assistant .ai-message-content[data-v-f4922807] {
558
+ .ai-message.assistant .ai-message-content[data-v-d0e94b33] {
559
559
  background: rgba(69, 71, 90, 0.5);
560
560
  color: var(--text-primary);
561
561
  border-top-left-radius: 4px;
562
562
  }
563
- .ai-message-text[data-v-f4922807] .code-block {
563
+ .ai-message-text[data-v-d0e94b33] .code-block {
564
564
  background: rgba(0, 0, 0, 0.3);
565
565
  border-radius: 6px;
566
566
  padding: 12px;
@@ -569,7 +569,7 @@
569
569
  font-family: 'JetBrains Mono', monospace;
570
570
  font-size: 12px;
571
571
  }
572
- .ai-message-text[data-v-f4922807] .inline-code {
572
+ .ai-message-text[data-v-d0e94b33] .inline-code {
573
573
  background: rgba(0, 0, 0, 0.3);
574
574
  padding: 2px 6px;
575
575
  border-radius: 4px;
@@ -578,66 +578,66 @@
578
578
  }
579
579
 
580
580
  /* Markdown 表格 */
581
- .ai-message-text[data-v-f4922807] .md-table {
581
+ .ai-message-text[data-v-d0e94b33] .md-table {
582
582
  width: 100%;
583
583
  border-collapse: collapse;
584
584
  margin: 8px 0;
585
585
  font-size: 12px;
586
586
  }
587
- .ai-message-text[data-v-f4922807] .md-table th,
588
- .ai-message-text[data-v-f4922807] .md-table td {
587
+ .ai-message-text[data-v-d0e94b33] .md-table th,
588
+ .ai-message-text[data-v-d0e94b33] .md-table td {
589
589
  border: 1px solid rgba(255,255,255,0.1);
590
590
  padding: 5px 8px;
591
591
  text-align: left;
592
592
  }
593
- .ai-message-text[data-v-f4922807] .md-table th {
593
+ .ai-message-text[data-v-d0e94b33] .md-table th {
594
594
  background: rgba(0,0,0,0.2);
595
595
  font-weight: 600;
596
596
  color: #89b4fa;
597
597
  }
598
- .ai-message-text[data-v-f4922807] .md-table tr:nth-child(even) {
598
+ .ai-message-text[data-v-d0e94b33] .md-table tr:nth-child(even) {
599
599
  background: rgba(255,255,255,0.02);
600
600
  }
601
601
 
602
602
  /* Markdown 标题 */
603
- .ai-message-text[data-v-f4922807] h2 { font-size: 16px; font-weight: 600; margin: 12px 0 6px;
603
+ .ai-message-text[data-v-d0e94b33] h2 { font-size: 16px; font-weight: 600; margin: 12px 0 6px;
604
604
  }
605
- .ai-message-text[data-v-f4922807] h3 { font-size: 14px; font-weight: 600; margin: 10px 0 4px;
605
+ .ai-message-text[data-v-d0e94b33] h3 { font-size: 14px; font-weight: 600; margin: 10px 0 4px;
606
606
  }
607
- .ai-message-text[data-v-f4922807] h4 { font-size: 13px; font-weight: 600; margin: 8px 0 4px;
607
+ .ai-message-text[data-v-d0e94b33] h4 { font-size: 13px; font-weight: 600; margin: 8px 0 4px;
608
608
  }
609
609
 
610
610
  /* Markdown 列表 */
611
- .ai-message-text[data-v-f4922807] ul,
612
- .ai-message-text[data-v-f4922807] ol {
611
+ .ai-message-text[data-v-d0e94b33] ul,
612
+ .ai-message-text[data-v-d0e94b33] ol {
613
613
  margin: 4px 0;
614
614
  padding-left: 20px;
615
615
  }
616
- .ai-message-text[data-v-f4922807] li {
616
+ .ai-message-text[data-v-d0e94b33] li {
617
617
  margin: 2px 0;
618
618
  }
619
619
 
620
620
  /* 链接 */
621
- .ai-message-text[data-v-f4922807] a {
621
+ .ai-message-text[data-v-d0e94b33] a {
622
622
  color: #89b4fa;
623
623
  text-decoration: none;
624
624
  }
625
- .ai-message-text[data-v-f4922807] a:hover {
625
+ .ai-message-text[data-v-d0e94b33] a:hover {
626
626
  text-decoration: underline;
627
627
  }
628
628
 
629
629
  /* Agent 步骤样式 */
630
- .agent-steps[data-v-f4922807] {
630
+ .agent-steps[data-v-d0e94b33] {
631
631
  display: flex;
632
632
  flex-direction: column;
633
633
  gap: 3px;
634
634
  margin-bottom: 8px;
635
635
  }
636
- .agent-step[data-v-f4922807] {
636
+ .agent-step[data-v-d0e94b33] {
637
637
  border-radius: 4px;
638
638
  font-size: 12px;
639
639
  }
640
- .thinking-step[data-v-f4922807] {
640
+ .thinking-step[data-v-d0e94b33] {
641
641
  display: flex;
642
642
  align-items: center;
643
643
  gap: 6px;
@@ -646,14 +646,14 @@
646
646
  border-radius: 4px;
647
647
  color: #fab387;
648
648
  }
649
- .thinking-step .step-label[data-v-f4922807] { font-size: 11px;
649
+ .thinking-step .step-label[data-v-d0e94b33] { font-size: 11px;
650
650
  }
651
- .tool-call-step[data-v-f4922807] {
651
+ .tool-call-step[data-v-d0e94b33] {
652
652
  background: rgba(0, 0, 0, 0.15);
653
653
  border-radius: 4px;
654
654
  overflow: hidden;
655
655
  }
656
- .step-header[data-v-f4922807] {
656
+ .step-header[data-v-d0e94b33] {
657
657
  display: flex;
658
658
  align-items: center;
659
659
  gap: 5px;
@@ -661,15 +661,15 @@
661
661
  cursor: pointer;
662
662
  transition: background 0.15s;
663
663
  }
664
- .step-header[data-v-f4922807]:hover { background: rgba(255, 255, 255, 0.04);
664
+ .step-header[data-v-d0e94b33]:hover { background: rgba(255, 255, 255, 0.04);
665
665
  }
666
- .step-chevron[data-v-f4922807] { color: var(--text-secondary); font-size: 10px; width: 10px;
666
+ .step-chevron[data-v-d0e94b33] { color: var(--text-secondary); font-size: 10px; width: 10px;
667
667
  }
668
- .step-icon[data-v-f4922807] { color: #a6e3a1; font-size: 11px;
668
+ .step-icon[data-v-d0e94b33] { color: #a6e3a1; font-size: 11px;
669
669
  }
670
- .step-label[data-v-f4922807] { color: var(--text-secondary); font-size: 11px; white-space: nowrap;
670
+ .step-label[data-v-d0e94b33] { color: var(--text-secondary); font-size: 11px; white-space: nowrap;
671
671
  }
672
- .step-cmd[data-v-f4922807] {
672
+ .step-cmd[data-v-d0e94b33] {
673
673
  color: #89b4fa;
674
674
  font-family: 'JetBrains Mono', monospace;
675
675
  font-size: 11px;
@@ -678,19 +678,19 @@
678
678
  white-space: nowrap;
679
679
  flex: 1;
680
680
  }
681
- .step-status[data-v-f4922807] {
681
+ .step-status[data-v-d0e94b33] {
682
682
  font-size: 11px;
683
683
  color: #a6e3a1;
684
684
  flex-shrink: 0;
685
685
  margin-left: auto;
686
686
  }
687
- .step-result[data-v-f4922807] {
687
+ .step-result[data-v-d0e94b33] {
688
688
  border-top: 1px solid rgba(255, 255, 255, 0.06);
689
689
  padding: 6px 8px;
690
690
  max-height: 150px;
691
691
  overflow-y: auto;
692
692
  }
693
- .step-result pre[data-v-f4922807] {
693
+ .step-result pre[data-v-d0e94b33] {
694
694
  margin: 0;
695
695
  font-family: 'JetBrains Mono', monospace;
696
696
  font-size: 10px;
@@ -698,28 +698,28 @@
698
698
  white-space: pre-wrap;
699
699
  word-break: break-all;
700
700
  }
701
- .ai-loading[data-v-f4922807] {
701
+ .ai-loading[data-v-d0e94b33] {
702
702
  display: flex;
703
703
  gap: 3px;
704
704
  }
705
- .ai-loading span[data-v-f4922807] {
705
+ .ai-loading span[data-v-d0e94b33] {
706
706
  width: 6px;
707
707
  height: 6px;
708
708
  background: #fab387;
709
709
  border-radius: 50%;
710
- animation: bounce-f4922807 1.4s infinite ease-in-out both;
710
+ animation: bounce-d0e94b33 1.4s infinite ease-in-out both;
711
711
  }
712
- .ai-loading span[data-v-f4922807]:nth-child(1) { animation-delay: -0.32s;
712
+ .ai-loading span[data-v-d0e94b33]:nth-child(1) { animation-delay: -0.32s;
713
713
  }
714
- .ai-loading span[data-v-f4922807]:nth-child(2) { animation-delay: -0.16s;
714
+ .ai-loading span[data-v-d0e94b33]:nth-child(2) { animation-delay: -0.16s;
715
715
  }
716
- @keyframes bounce-f4922807 {
716
+ @keyframes bounce-d0e94b33 {
717
717
  0%, 80%, 100% { transform: scale(0);
718
718
  }
719
719
  40% { transform: scale(1);
720
720
  }
721
721
  }
722
- .ai-chat-input[data-v-f4922807] {
722
+ .ai-chat-input[data-v-d0e94b33] {
723
723
  display: flex;
724
724
  align-items: flex-end;
725
725
  gap: 8px;
@@ -727,7 +727,7 @@
727
727
  border-top: 1px solid var(--border-color);
728
728
  background: rgba(49, 50, 68, 0.3);
729
729
  }
730
- .ai-chat-input textarea[data-v-f4922807] {
730
+ .ai-chat-input textarea[data-v-d0e94b33] {
731
731
  flex: 1;
732
732
  background: rgba(0, 0, 0, 0.2);
733
733
  border: 1px solid var(--border-color);
@@ -741,11 +741,11 @@
741
741
  outline: none;
742
742
  font-family: inherit;
743
743
  }
744
- .ai-chat-input textarea[data-v-f4922807]:focus { border-color: var(--accent);
744
+ .ai-chat-input textarea[data-v-d0e94b33]:focus { border-color: var(--accent);
745
745
  }
746
- .ai-chat-input textarea[data-v-f4922807]:disabled { opacity: 0.6;
746
+ .ai-chat-input textarea[data-v-d0e94b33]:disabled { opacity: 0.6;
747
747
  }
748
- .btn-send[data-v-f4922807] {
748
+ .btn-send[data-v-d0e94b33] {
749
749
  width: 40px;
750
750
  height: 40px;
751
751
  border: none;
@@ -760,13 +760,13 @@
760
760
  transition: all 0.15s;
761
761
  flex-shrink: 0;
762
762
  }
763
- .btn-send[data-v-f4922807]:hover:not(:disabled) { background: #7aa2f7;
763
+ .btn-send[data-v-d0e94b33]:hover:not(:disabled) { background: #7aa2f7;
764
764
  }
765
- .btn-send[data-v-f4922807]:disabled { opacity: 0.5; cursor: not-allowed;
765
+ .btn-send[data-v-d0e94b33]:disabled { opacity: 0.5; cursor: not-allowed;
766
766
  }
767
767
 
768
768
  /* Skills 按钮 */
769
- .btn-skill-toggle[data-v-f4922807] {
769
+ .btn-skill-toggle[data-v-d0e94b33] {
770
770
  width: 36px;
771
771
  height: 36px;
772
772
  border: none;
@@ -781,19 +781,19 @@
781
781
  transition: all 0.15s;
782
782
  flex-shrink: 0;
783
783
  }
784
- .btn-skill-toggle[data-v-f4922807]:hover { background: rgba(255, 255, 255, 0.1); color: #f9e2af;
784
+ .btn-skill-toggle[data-v-d0e94b33]:hover { background: rgba(255, 255, 255, 0.1); color: #f9e2af;
785
785
  }
786
- .btn-skill-toggle.active[data-v-f4922807] { color: #f9e2af; background: rgba(249, 226, 175, 0.1);
786
+ .btn-skill-toggle.active[data-v-d0e94b33] { color: #f9e2af; background: rgba(249, 226, 175, 0.1);
787
787
  }
788
788
 
789
789
  /* Skills 面板 */
790
- .skills-panel[data-v-f4922807] {
790
+ .skills-panel[data-v-d0e94b33] {
791
791
  border-top: 1px solid var(--border-color);
792
792
  background: rgba(30, 30, 46, 0.95);
793
793
  max-height: 200px;
794
794
  overflow-y: auto;
795
795
  }
796
- .skills-panel-header[data-v-f4922807] {
796
+ .skills-panel-header[data-v-d0e94b33] {
797
797
  display: flex;
798
798
  align-items: center;
799
799
  justify-content: space-between;
@@ -802,34 +802,34 @@
802
802
  color: var(--text-secondary);
803
803
  border-bottom: 1px solid rgba(255,255,255,0.05);
804
804
  }
805
- .skills-grid[data-v-f4922807] {
805
+ .skills-grid[data-v-d0e94b33] {
806
806
  display: flex;
807
807
  flex-direction: column;
808
808
  gap: 2px;
809
809
  padding: 6px 8px;
810
810
  }
811
- .skill-item[data-v-f4922807] {
811
+ .skill-item[data-v-d0e94b33] {
812
812
  padding: 8px 10px;
813
813
  border-radius: 6px;
814
814
  cursor: pointer;
815
815
  transition: background 0.12s;
816
816
  }
817
- .skill-item[data-v-f4922807]:hover { background: rgba(255,255,255,0.06);
817
+ .skill-item[data-v-d0e94b33]:hover { background: rgba(255,255,255,0.06);
818
818
  }
819
- .skill-item.active[data-v-f4922807] { background: rgba(249, 226, 175, 0.1); border: 1px solid rgba(249, 226, 175, 0.2);
819
+ .skill-item.active[data-v-d0e94b33] { background: rgba(249, 226, 175, 0.1); border: 1px solid rgba(249, 226, 175, 0.2);
820
820
  }
821
- .skill-item-header[data-v-f4922807] {
821
+ .skill-item-header[data-v-d0e94b33] {
822
822
  display: flex;
823
823
  align-items: center;
824
824
  gap: 6px;
825
825
  font-size: 12px;
826
826
  color: var(--text-primary);
827
827
  }
828
- .skill-item-header i[data-v-f4922807] { color: #f9e2af; font-size: 12px;
828
+ .skill-item-header i[data-v-d0e94b33] { color: #f9e2af; font-size: 12px;
829
829
  }
830
- .skill-name[data-v-f4922807] { font-weight: 500;
830
+ .skill-name[data-v-d0e94b33] { font-weight: 500;
831
831
  }
832
- .skill-source[data-v-f4922807] {
832
+ .skill-source[data-v-d0e94b33] {
833
833
  font-size: 10px;
834
834
  color: var(--text-secondary);
835
835
  background: rgba(255,255,255,0.06);
@@ -837,7 +837,7 @@
837
837
  border-radius: 4px;
838
838
  margin-left: auto;
839
839
  }
840
- .skill-desc[data-v-f4922807] {
840
+ .skill-desc[data-v-d0e94b33] {
841
841
  font-size: 11px;
842
842
  color: var(--text-secondary);
843
843
  margin-top: 3px;
@@ -846,7 +846,7 @@
846
846
  overflow: hidden;
847
847
  text-overflow: ellipsis;
848
848
  }
849
- .skills-empty[data-v-f4922807] {
849
+ .skills-empty[data-v-d0e94b33] {
850
850
  padding: 16px;
851
851
  text-align: center;
852
852
  color: var(--text-secondary);
@@ -854,11 +854,11 @@
854
854
  }
855
855
 
856
856
  /* 已选 Skill 栏 */
857
- .selected-skill-bar[data-v-f4922807] {
857
+ .selected-skill-bar[data-v-d0e94b33] {
858
858
  padding: 4px 16px 0;
859
859
  background: rgba(49, 50, 68, 0.3);
860
860
  }
861
- .selected-skill-tag[data-v-f4922807] {
861
+ .selected-skill-tag[data-v-d0e94b33] {
862
862
  display: inline-flex;
863
863
  align-items: center;
864
864
  gap: 5px;
@@ -869,9 +869,9 @@
869
869
  font-size: 12px;
870
870
  color: #f9e2af;
871
871
  }
872
- .selected-skill-tag i[data-v-f4922807] { font-size: 11px;
872
+ .selected-skill-tag i[data-v-d0e94b33] { font-size: 11px;
873
873
  }
874
- .skill-remove[data-v-f4922807] {
874
+ .skill-remove[data-v-d0e94b33] {
875
875
  background: none;
876
876
  border: none;
877
877
  color: rgba(249, 226, 175, 0.6);
@@ -882,11 +882,11 @@
882
882
  display: flex;
883
883
  align-items: center;
884
884
  }
885
- .skill-remove[data-v-f4922807]:hover { color: #f9e2af;
885
+ .skill-remove[data-v-d0e94b33]:hover { color: #f9e2af;
886
886
  }
887
887
 
888
888
  /* Skill 徽章在用户消息中 */
889
- .skill-badge[data-v-f4922807] {
889
+ .skill-badge[data-v-d0e94b33] {
890
890
  display: inline-flex;
891
891
  align-items: center;
892
892
  gap: 4px;
@@ -897,17 +897,17 @@
897
897
  margin-bottom: 6px;
898
898
  color: rgba(255,255,255,0.9);
899
899
  }
900
- .skill-badge i[data-v-f4922807] { font-size: 10px; color: #f9e2af;
900
+ .skill-badge i[data-v-d0e94b33] { font-size: 10px; color: #f9e2af;
901
901
  }
902
902
 
903
903
  /* 历史对话面板 */
904
- .history-panel[data-v-f4922807] {
904
+ .history-panel[data-v-d0e94b33] {
905
905
  border-top: 1px solid var(--border-color);
906
906
  background: rgba(30, 30, 46, 0.95);
907
907
  max-height: 240px;
908
908
  overflow-y: auto;
909
909
  }
910
- .history-panel-header[data-v-f4922807] {
910
+ .history-panel-header[data-v-d0e94b33] {
911
911
  display: flex;
912
912
  align-items: center;
913
913
  justify-content: space-between;
@@ -916,68 +916,68 @@
916
916
  color: var(--text-secondary);
917
917
  border-bottom: 1px solid rgba(255,255,255,0.05);
918
918
  }
919
- .history-list[data-v-f4922807] {
919
+ .history-list[data-v-d0e94b33] {
920
920
  display: flex;
921
921
  flex-direction: column;
922
922
  padding: 4px 0;
923
923
  }
924
- .history-item[data-v-f4922807] {
924
+ .history-item[data-v-d0e94b33] {
925
925
  padding: 8px 16px;
926
926
  cursor: pointer;
927
927
  transition: background 0.12s;
928
928
  border-bottom: 1px solid rgba(255,255,255,0.03);
929
929
  }
930
- .history-item[data-v-f4922807]:hover { background: rgba(255,255,255,0.06);
930
+ .history-item[data-v-d0e94b33]:hover { background: rgba(255,255,255,0.06);
931
931
  }
932
- .history-item[data-v-f4922807]:last-child { border-bottom: none;
932
+ .history-item[data-v-d0e94b33]:last-child { border-bottom: none;
933
933
  }
934
- .history-item-top[data-v-f4922807] {
934
+ .history-item-top[data-v-d0e94b33] {
935
935
  display: flex;
936
936
  justify-content: space-between;
937
937
  align-items: center;
938
938
  margin-bottom: 3px;
939
939
  }
940
- .history-name[data-v-f4922807] {
940
+ .history-name[data-v-d0e94b33] {
941
941
  font-size: 12px;
942
942
  font-weight: 500;
943
943
  color: var(--text-primary);
944
944
  }
945
- .history-time[data-v-f4922807] {
945
+ .history-time[data-v-d0e94b33] {
946
946
  font-size: 10px;
947
947
  color: var(--text-secondary);
948
948
  }
949
- .history-preview[data-v-f4922807] {
949
+ .history-preview[data-v-d0e94b33] {
950
950
  font-size: 11px;
951
951
  color: var(--text-secondary);
952
952
  white-space: nowrap;
953
953
  overflow: hidden;
954
954
  text-overflow: ellipsis;
955
955
  }
956
- .history-meta[data-v-f4922807] {
956
+ .history-meta[data-v-d0e94b33] {
957
957
  font-size: 10px;
958
958
  color: rgba(255,255,255,0.3);
959
959
  margin-top: 2px;
960
960
  }
961
- .history-empty[data-v-f4922807] {
961
+ .history-empty[data-v-d0e94b33] {
962
962
  padding: 20px;
963
963
  text-align: center;
964
964
  color: var(--text-secondary);
965
965
  font-size: 12px;
966
966
  }
967
- .btn-ai-action.active[data-v-f4922807] {
967
+ .btn-ai-action.active[data-v-d0e94b33] {
968
968
  color: #89b4fa;
969
969
  background: rgba(137, 180, 250, 0.1);
970
970
  }
971
971
 
972
972
  /* Tab 切换栏 */
973
- .ai-tab-bar[data-v-f4922807] {
973
+ .ai-tab-bar[data-v-d0e94b33] {
974
974
  display: flex;
975
975
  gap: 2px;
976
976
  background: rgba(0, 0, 0, 0.2);
977
977
  border-radius: 6px;
978
978
  padding: 2px;
979
979
  }
980
- .ai-tab[data-v-f4922807] {
980
+ .ai-tab[data-v-d0e94b33] {
981
981
  background: none;
982
982
  border: none;
983
983
  color: var(--text-secondary);
@@ -991,17 +991,17 @@
991
991
  transition: all 0.15s;
992
992
  white-space: nowrap;
993
993
  }
994
- .ai-tab[data-v-f4922807]:hover { color: var(--text-primary);
994
+ .ai-tab[data-v-d0e94b33]:hover { color: var(--text-primary);
995
995
  }
996
- .ai-tab.active[data-v-f4922807] {
996
+ .ai-tab.active[data-v-d0e94b33] {
997
997
  background: rgba(255, 255, 255, 0.1);
998
998
  color: var(--text-primary);
999
999
  }
1000
- .ai-tab i[data-v-f4922807] { font-size: 12px;
1000
+ .ai-tab i[data-v-d0e94b33] { font-size: 12px;
1001
1001
  }
1002
1002
 
1003
1003
  /* 审计面板包装器 */
1004
- .ai-audit-wrapper[data-v-f4922807] {
1004
+ .ai-audit-wrapper[data-v-d0e94b33] {
1005
1005
  flex: 1;
1006
1006
  overflow: hidden;
1007
1007
  display: flex;
@@ -1009,32 +1009,131 @@
1009
1009
  }
1010
1010
 
1011
1011
  /* 系统信息消息 */
1012
- .ai-message.system-info .ai-message-avatar i[data-v-f4922807] {
1012
+ .ai-message.system-info .ai-message-avatar i[data-v-d0e94b33] {
1013
1013
  color: #89b4fa;
1014
1014
  }
1015
- .ai-message.system-info .ai-message-content[data-v-f4922807] {
1015
+ .ai-message.system-info .ai-message-content[data-v-d0e94b33] {
1016
1016
  background: rgba(137, 180, 250, 0.06);
1017
1017
  border: 1px solid rgba(137, 180, 250, 0.15);
1018
1018
  }
1019
- .ai-message.system-info .ai-message-text[data-v-f4922807] {
1019
+ .ai-message.system-info .ai-message-text[data-v-d0e94b33] {
1020
1020
  font-size: 11px;
1021
1021
  line-height: 1.6;
1022
1022
  white-space: pre-wrap;
1023
1023
  color: var(--text-secondary);
1024
1024
  }
1025
1025
 
1026
- .terminal-wrapper[data-v-713fc232] {
1026
+ .file-transfer-widget[data-v-6efabb84] {
1027
+ position: absolute;
1028
+ bottom: 12px;
1029
+ right: 12px;
1030
+ width: 300px;
1031
+ background: rgba(30, 30, 46, 0.96);
1032
+ border: 1px solid rgba(255, 255, 255, 0.1);
1033
+ border-radius: 10px;
1034
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
1035
+ z-index: 30;
1036
+ overflow: hidden;
1037
+ backdrop-filter: blur(12px);
1038
+ font-size: 13px;
1039
+ }
1040
+ .file-transfer-widget.collapsed[data-v-6efabb84] {
1041
+ width: 200px;
1042
+ }
1043
+ .file-transfer-widget.dragging[data-v-6efabb84] {
1044
+ pointer-events: none; /* 拖拽时禁止子元素捕获事件,避免干扰文件拖放 */
1045
+ opacity: 0.85;
1046
+ }
1047
+ .ft-header[data-v-6efabb84] {
1048
+ display: flex;
1049
+ align-items: center;
1050
+ justify-content: space-between;
1051
+ padding: 8px 10px;
1052
+ cursor: grab;
1053
+ user-select: none;
1054
+ background: rgba(255, 255, 255, 0.04);
1055
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
1056
+ }
1057
+ .ft-header[data-v-6efabb84]:active {
1058
+ cursor: grabbing;
1059
+ }
1060
+ .ft-title[data-v-6efabb84] {
1061
+ display: flex;
1062
+ align-items: center;
1063
+ font-size: 12px;
1064
+ font-weight: 500;
1065
+ color: var(--text-primary, #cdd6f4);
1066
+ }
1067
+ .ft-header-actions[data-v-6efabb84] {
1068
+ display: flex;
1069
+ align-items: center;
1070
+ gap: 2px;
1071
+ }
1072
+ .ft-btn-icon[data-v-6efabb84] {
1073
+ background: none;
1074
+ border: none;
1075
+ color: var(--text-secondary, #a6adc8);
1076
+ cursor: pointer;
1077
+ padding: 2px 4px;
1078
+ border-radius: 4px;
1079
+ font-size: 13px;
1080
+ line-height: 1;
1081
+ display: flex;
1082
+ align-items: center;
1083
+ justify-content: center;
1084
+ }
1085
+ .ft-btn-icon[data-v-6efabb84]:hover {
1086
+ background: rgba(255, 255, 255, 0.1);
1087
+ color: var(--text-primary, #cdd6f4);
1088
+ }
1089
+ .ft-body[data-v-6efabb84] {
1090
+ padding: 10px;
1091
+ }
1092
+ .drop-zone[data-v-6efabb84] {
1093
+ border: 2px dashed #45475a;
1094
+ border-radius: 6px;
1095
+ padding: 14px 10px;
1096
+ text-align: center;
1097
+ cursor: pointer;
1098
+ transition: all 0.2s;
1099
+ color: var(--text-secondary, #a6adc8);
1100
+ display: flex;
1101
+ align-items: center;
1102
+ justify-content: center;
1103
+ font-size: 12px;
1104
+ }
1105
+ .drop-zone[data-v-6efabb84]:hover,
1106
+ .drop-zone.dragging[data-v-6efabb84] {
1107
+ border-color: var(--accent, #89b4fa);
1108
+ background-color: rgba(137, 180, 250, 0.05);
1109
+ color: var(--text-primary, #cdd6f4);
1110
+ }
1111
+ .transfer-list[data-v-6efabb84] {
1112
+ max-height: 140px;
1113
+ overflow-y: auto;
1114
+ }
1115
+ .transfer-item[data-v-6efabb84] {
1116
+ padding: 6px 8px;
1117
+ border-radius: 4px;
1118
+ background-color: rgba(255, 255, 255, 0.03);
1119
+ margin-bottom: 4px;
1120
+ }
1121
+
1122
+ .terminal-wrapper[data-v-82d44c08] {
1027
1123
  width: 100%;
1028
1124
  height: 100%;
1029
1125
  position: relative;
1030
1126
  overflow: hidden;
1127
+ display: flex;
1031
1128
  }
1032
- .terminal-container[data-v-713fc232] {
1033
- width: 100%;
1129
+ .terminal-container[data-v-82d44c08] {
1130
+ flex: 1;
1034
1131
  height: 100%;
1035
1132
  padding: 4px;
1133
+ min-width: 0;
1134
+ overflow: hidden;
1036
1135
  }
1037
- .terminal-status[data-v-713fc232] {
1136
+ .terminal-status[data-v-82d44c08] {
1038
1137
  position: absolute;
1039
1138
  top: 50%;
1040
1139
  left: 50%;
@@ -1049,7 +1148,7 @@
1049
1148
  }
1050
1149
 
1051
1150
  /* AI 按钮 */
1052
- .ai-toggle-btn[data-v-713fc232] {
1151
+ .ai-toggle-btn[data-v-82d44c08] {
1053
1152
  position: absolute;
1054
1153
  top: 12px;
1055
1154
  right: 12px;
@@ -1064,64 +1163,53 @@
1064
1163
  align-items: center;
1065
1164
  justify-content: center;
1066
1165
  font-size: 18px;
1067
- transition: all 0.2s;
1166
+ transition: all 0.2s, right 0.15s ease;
1068
1167
  z-index: 20;
1069
1168
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
1070
1169
  }
1071
- .ai-toggle-btn[data-v-713fc232]:hover {
1170
+ .ai-toggle-btn[data-v-82d44c08]:hover {
1072
1171
  background: rgba(69, 71, 90, 0.95);
1073
1172
  color: var(--accent);
1074
1173
  transform: scale(1.05);
1075
1174
  }
1076
- .ai-toggle-btn.active[data-v-713fc232] {
1175
+ .ai-toggle-btn.active[data-v-82d44c08] {
1077
1176
  background: var(--accent);
1078
1177
  color: white;
1079
1178
  }
1080
1179
 
1081
1180
  /* AI 对话面板包装器 */
1082
- .ai-chat-wrapper[data-v-713fc232] {
1083
- position: absolute;
1084
- top: 0;
1085
- right: 0;
1181
+ .ai-chat-wrapper[data-v-82d44c08] {
1182
+ position: relative;
1086
1183
  width: 380px;
1184
+ min-width: 280px;
1087
1185
  height: 100%;
1186
+ flex-shrink: 0;
1088
1187
  z-index: 15;
1089
1188
  will-change: transform;
1090
1189
  transform: translateZ(0);
1091
1190
  }
1092
1191
 
1093
- .connection-form[data-v-7f6ecfd0] { padding: 0.5rem;
1192
+ /* AI 拖拽调整宽度的手柄 */
1193
+ .ai-resize-handle[data-v-82d44c08] {
1194
+ position: absolute;
1195
+ left: 0;
1196
+ top: 0;
1197
+ width: 6px;
1198
+ height: 100%;
1199
+ cursor: col-resize;
1200
+ z-index: 20;
1201
+ background: transparent;
1202
+ transition: background 0.2s;
1094
1203
  }
1095
- .card-header[data-v-7f6ecfd0] { user-select: none;
1204
+ .ai-resize-handle[data-v-82d44c08]:hover,
1205
+ .ai-resize-handle[data-v-82d44c08]:active {
1206
+ background: var(--accent, #89b4fa);
1207
+ opacity: 0.6;
1096
1208
  }
1097
1209
 
1098
- .file-transfer-body[data-v-aa4c59b1] {
1099
- padding: 0.5rem;
1210
+ .connection-form[data-v-a513483a] { padding: 0.5rem;
1100
1211
  }
1101
- .drop-zone[data-v-aa4c59b1] {
1102
- border: 2px dashed #45475a;
1103
- border-radius: 8px;
1104
- padding: 32px 16px;
1105
- text-align: center;
1106
- cursor: pointer;
1107
- transition: all 0.2s;
1108
- color: var(--text-secondary);
1109
- }
1110
- .drop-zone[data-v-aa4c59b1]:hover,
1111
- .drop-zone.dragging[data-v-aa4c59b1] {
1112
- border-color: var(--accent);
1113
- background-color: rgba(137, 180, 250, 0.05);
1114
- color: var(--text-primary);
1115
- }
1116
- .transfer-list[data-v-aa4c59b1] {
1117
- max-height: 200px;
1118
- overflow-y: auto;
1119
- }
1120
- .transfer-item[data-v-aa4c59b1] {
1121
- padding: 8px;
1122
- border-radius: 6px;
1123
- background-color: rgba(255, 255, 255, 0.03);
1124
- margin-bottom: 6px;
1212
+ .card-header[data-v-a513483a] { user-select: none;
1125
1213
  }
1126
1214
 
1127
1215
  .ai-settings-form[data-v-ba6b7564] {
@@ -1391,14 +1479,14 @@
1391
1479
  .batch-empty p[data-v-2a808712] { font-size: 12px; margin: 0;
1392
1480
  }
1393
1481
 
1394
- .aicmd-layout[data-v-f66b9f8a] {
1482
+ .aicmd-layout[data-v-c7fee8c8] {
1395
1483
  display: flex;
1396
1484
  width: 100%;
1397
1485
  height: 100vh;
1398
1486
  overflow: hidden;
1399
1487
  background-color: var(--bg-dark);
1400
1488
  }
1401
- .main-area[data-v-f66b9f8a] {
1489
+ .main-area[data-v-c7fee8c8] {
1402
1490
  flex: 1;
1403
1491
  display: flex;
1404
1492
  flex-direction: column;
@@ -1406,7 +1494,7 @@
1406
1494
  min-width: 0;
1407
1495
  position: relative;
1408
1496
  }
1409
- .sidebar-toggle-btn[data-v-f66b9f8a] {
1497
+ .sidebar-toggle-btn[data-v-c7fee8c8] {
1410
1498
  position: absolute;
1411
1499
  top: 50%;
1412
1500
  left: 0;
@@ -1427,17 +1515,17 @@
1427
1515
  transition: all 0.15s ease;
1428
1516
  padding: 0;
1429
1517
  }
1430
- .sidebar-toggle-btn[data-v-f66b9f8a]:hover {
1518
+ .sidebar-toggle-btn[data-v-c7fee8c8]:hover {
1431
1519
  background-color: rgba(69, 71, 90, 0.95);
1432
1520
  color: var(--accent);
1433
1521
  width: 24px;
1434
1522
  }
1435
- .terminal-area[data-v-f66b9f8a] {
1523
+ .terminal-area[data-v-c7fee8c8] {
1436
1524
  flex: 1;
1437
1525
  position: relative;
1438
1526
  overflow: hidden;
1439
1527
  }
1440
- .terminal-pane[data-v-f66b9f8a] {
1528
+ .terminal-pane[data-v-c7fee8c8] {
1441
1529
  position: absolute;
1442
1530
  top: 0;
1443
1531
  left: 0;
@@ -1445,10 +1533,10 @@
1445
1533
  height: 100%;
1446
1534
  display: none;
1447
1535
  }
1448
- .terminal-pane.active[data-v-f66b9f8a] {
1536
+ .terminal-pane.active[data-v-c7fee8c8] {
1449
1537
  display: block;
1450
1538
  }
1451
- .tab-add-btn[data-v-f66b9f8a] {
1539
+ .tab-add-btn[data-v-c7fee8c8] {
1452
1540
  display: flex;
1453
1541
  align-items: center;
1454
1542
  justify-content: center;
@@ -1463,11 +1551,11 @@
1463
1551
  font-size: 16px;
1464
1552
  flex-shrink: 0;
1465
1553
  }
1466
- .tab-add-btn[data-v-f66b9f8a]:hover {
1554
+ .tab-add-btn[data-v-c7fee8c8]:hover {
1467
1555
  background-color: rgba(255, 255, 255, 0.1);
1468
1556
  color: var(--text-primary);
1469
1557
  }
1470
- .tab-name-input[data-v-f66b9f8a] {
1558
+ .tab-name-input[data-v-c7fee8c8] {
1471
1559
  background: transparent;
1472
1560
  border: none;
1473
1561
  border-bottom: 1px solid var(--accent);
@@ -1481,7 +1569,7 @@
1481
1569
  }
1482
1570
 
1483
1571
  /* Tab 右键菜单 */
1484
- .tab-context-menu[data-v-f66b9f8a] {
1572
+ .tab-context-menu[data-v-c7fee8c8] {
1485
1573
  position: fixed;
1486
1574
  z-index: 9999;
1487
1575
  min-width: 160px;
@@ -1493,7 +1581,7 @@
1493
1581
  font-size: 13px;
1494
1582
  user-select: none;
1495
1583
  }
1496
- .tab-context-menu-item[data-v-f66b9f8a] {
1584
+ .tab-context-menu-item[data-v-c7fee8c8] {
1497
1585
  display: flex;
1498
1586
  align-items: center;
1499
1587
  gap: 8px;
@@ -1503,23 +1591,23 @@
1503
1591
  transition: background-color 0.15s;
1504
1592
  white-space: nowrap;
1505
1593
  }
1506
- .tab-context-menu-item[data-v-f66b9f8a]:hover {
1594
+ .tab-context-menu-item[data-v-c7fee8c8]:hover {
1507
1595
  background-color: rgba(255, 255, 255, 0.08);
1508
1596
  color: var(--text-primary);
1509
1597
  }
1510
- .tab-context-menu-item i[data-v-f66b9f8a] {
1598
+ .tab-context-menu-item i[data-v-c7fee8c8] {
1511
1599
  font-size: 14px;
1512
1600
  width: 16px;
1513
1601
  text-align: center;
1514
1602
  }
1515
- .tab-context-menu-divider[data-v-f66b9f8a] {
1603
+ .tab-context-menu-divider[data-v-c7fee8c8] {
1516
1604
  height: 1px;
1517
1605
  background-color: var(--border-color);
1518
1606
  margin: 4px 12px;
1519
1607
  }
1520
1608
 
1521
1609
  /* 空状态按钮 */
1522
- .btn-empty-action[data-v-f66b9f8a] {
1610
+ .btn-empty-action[data-v-c7fee8c8] {
1523
1611
  display: inline-flex;
1524
1612
  align-items: center;
1525
1613
  gap: 6px;
@@ -1535,23 +1623,23 @@
1535
1623
  transition: all 0.15s ease;
1536
1624
  white-space: nowrap;
1537
1625
  }
1538
- .btn-empty-action[data-v-f66b9f8a]:hover {
1626
+ .btn-empty-action[data-v-c7fee8c8]:hover {
1539
1627
  background-color: rgba(137, 180, 250, 0.1);
1540
1628
  border-color: var(--accent);
1541
1629
  color: var(--accent);
1542
1630
  }
1543
- .btn-empty-action i[data-v-f66b9f8a] {
1631
+ .btn-empty-action i[data-v-c7fee8c8] {
1544
1632
  font-size: 11px;
1545
1633
  opacity: 0.8;
1546
1634
  }
1547
- .btn-empty-success[data-v-f66b9f8a]:hover {
1635
+ .btn-empty-success[data-v-c7fee8c8]:hover {
1548
1636
  background-color: rgba(166, 227, 161, 0.1);
1549
1637
  border-color: #a6e3a1;
1550
1638
  color: #a6e3a1;
1551
1639
  }
1552
1640
 
1553
1641
  /* 批量操作模态框 */
1554
- .batch-modal-overlay[data-v-f66b9f8a] {
1642
+ .batch-modal-overlay[data-v-c7fee8c8] {
1555
1643
  position: fixed;
1556
1644
  top: 0;
1557
1645
  left: 0;
@@ -1563,7 +1651,7 @@
1563
1651
  align-items: center;
1564
1652
  justify-content: center;
1565
1653
  }
1566
- .batch-modal[data-v-f66b9f8a] {
1654
+ .batch-modal[data-v-c7fee8c8] {
1567
1655
  width: 700px;
1568
1656
  max-width: 90vw;
1569
1657
  height: 600px;
@@ -1576,14 +1664,14 @@
1576
1664
  overflow: hidden;
1577
1665
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
1578
1666
  }
1579
- .batch-modal-header[data-v-f66b9f8a] {
1667
+ .batch-modal-header[data-v-c7fee8c8] {
1580
1668
  display: flex;
1581
1669
  align-items: center;
1582
1670
  justify-content: space-between;
1583
1671
  padding: 12px 16px;
1584
1672
  border-bottom: 1px solid var(--border-color, rgba(255,255,255,0.1));
1585
1673
  }
1586
- .batch-modal-header h4[data-v-f66b9f8a] {
1674
+ .batch-modal-header h4[data-v-c7fee8c8] {
1587
1675
  margin: 0;
1588
1676
  font-size: 14px;
1589
1677
  font-weight: 500;
@@ -1592,9 +1680,9 @@
1592
1680
  align-items: center;
1593
1681
  gap: 8px;
1594
1682
  }
1595
- .batch-modal-header h4 i[data-v-f66b9f8a] { color: #89b4fa;
1683
+ .batch-modal-header h4 i[data-v-c7fee8c8] { color: #89b4fa;
1596
1684
  }
1597
- .btn-close-modal[data-v-f66b9f8a] {
1685
+ .btn-close-modal[data-v-c7fee8c8] {
1598
1686
  background: none;
1599
1687
  border: none;
1600
1688
  color: var(--text-secondary, #a6adc8);
@@ -1603,9 +1691,9 @@
1603
1691
  border-radius: 4px;
1604
1692
  font-size: 14px;
1605
1693
  }
1606
- .btn-close-modal[data-v-f66b9f8a]:hover { background: rgba(255,255,255,0.1); color: var(--text-primary, #cdd6f4);
1694
+ .btn-close-modal[data-v-c7fee8c8]:hover { background: rgba(255,255,255,0.1); color: var(--text-primary, #cdd6f4);
1607
1695
  }
1608
- .batch-modal-body[data-v-f66b9f8a] {
1696
+ .batch-modal-body[data-v-c7fee8c8] {
1609
1697
  flex: 1;
1610
1698
  overflow: hidden;
1611
1699
  }