@fefeding/aicmd 0.1.1 → 0.1.2

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,6 +1,6 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./views.js","./rolldown-runtime.js","./vue.js","./xterm.js","./xterm.css","./views.css"])))=>i.map(i=>d[i]);
2
2
  import { n as __esmMin, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime.js";
3
- import { $ as toRaw, A as hasInjectionContext, B as resolveComponent, C as createBlock, D as createVNode, E as createTextVNode, F as onMounted, G as getCurrentScope, I as onUnmounted, J as isRef, L as openBlock, M as inject, N as nextTick, O as defineComponent, Q as ref, R as renderList, S as createBaseVNode, T as createElementBlock, V as watch, W as effectScope, X as onScopeDispose, Y as markRaw, Z as reactive, a as useTitle, at as toDisplayString, b as Fragment, c as init_vue_router, et as toRefs, i as init_core, it as normalizeStyle, k as getCurrentInstance, l as init_vue_runtime_esm_bundler, n as init_vue_i18n, o as createRouter, q as isReactive, r as useI18n, rt as normalizeClass, s as createWebHistory, t as createI18n, tt as unref, u as createApp, w as createCommentVNode, x as computed, z as renderSlot } from "./vue.js";
3
+ import { $ as toRefs, B as watch, C as createCommentVNode, D as defineComponent, E as createVNode, F as onUnmounted, I as openBlock, J as markRaw, K as isReactive, L as renderList, M as nextTick, O as getCurrentInstance, P as onMounted, Q as toRaw, R as renderSlot, S as createBlock, T as createTextVNode, U as effectScope, W as getCurrentScope, X as reactive, Y as onScopeDispose, Z as ref, a as useTitle, b as computed, c as init_vue_router, et as unref, i as init_core, it as toDisplayString, j as inject, k as hasInjectionContext, l as init_vue_runtime_esm_bundler, n as init_vue_i18n, nt as normalizeClass, o as createRouter, q as isRef, r as useI18n, rt as normalizeStyle, s as createWebHistory, t as createI18n, u as createApp, w as createElementBlock, x as createBaseVNode, y as Fragment, z as resolveComponent } from "./vue.js";
4
4
  import { i as init_bootstrap, n as init_bootstrap_esm, r as init_bootstrap_icons, t as Modal } from "./bootstrap.js";
5
5
  //#region \0vite/modulepreload-polyfill.js
6
6
  (function polyfill() {
@@ -3265,8 +3265,8 @@ var init_zh_CN = __esmMin((() => {
3265
3265
  copySuffix: "副本"
3266
3266
  },
3267
3267
  app: {
3268
- title: "fterm 远程终端",
3269
- emptyTitle: "fterm 远程终端",
3268
+ title: "AICmd 终端",
3269
+ emptyTitle: "AICmd 终端",
3270
3270
  emptyDesc: "从左侧选择连接,或创建新的 SSH 连接开始",
3271
3271
  addConnection: "新增连接",
3272
3272
  openLocalShell: "打开本地 Shell",
@@ -3453,8 +3453,8 @@ var init_en_US = __esmMin((() => {
3453
3453
  copySuffix: "Copy"
3454
3454
  },
3455
3455
  app: {
3456
- title: "fterm Remote Terminal",
3457
- emptyTitle: "fterm Remote Terminal",
3456
+ title: "AICmd Terminal",
3457
+ emptyTitle: "AICmd Terminal",
3458
3458
  emptyDesc: "Select a connection from the left, or create a new SSH connection to start",
3459
3459
  addConnection: "New Connection",
3460
3460
  openLocalShell: "Open Local Shell",
@@ -3617,7 +3617,7 @@ var init_en_US = __esmMin((() => {
3617
3617
  //#region src/utils/i18n.ts
3618
3618
  function setLocale(locale) {
3619
3619
  i18n.global.locale.value = locale;
3620
- localStorage.setItem("fterm-locale", locale);
3620
+ localStorage.setItem("aicmd-locale", locale);
3621
3621
  }
3622
3622
  function getLocale() {
3623
3623
  return i18n.global.locale.value;
@@ -3628,7 +3628,7 @@ var init_i18n = __esmMin((() => {
3628
3628
  init_zh_CN();
3629
3629
  init_en_US();
3630
3630
  i18n = createI18n({
3631
- locale: localStorage.getItem("fterm-locale") || "en-US",
3631
+ locale: localStorage.getItem("aicmd-locale") || "en-US",
3632
3632
  fallbackLocale: "en-US",
3633
3633
  legacy: false,
3634
3634
  messages: {
@@ -1,5 +1,5 @@
1
1
 
2
- .btn-toolbar[data-v-032f0509] {
2
+ .btn-toolbar[data-v-5802e1ca] {
3
3
  background: none;
4
4
  border: none;
5
5
  color: var(--text-secondary);
@@ -8,11 +8,11 @@
8
8
  cursor: pointer;
9
9
  font-size: 14px;
10
10
  }
11
- .btn-toolbar[data-v-032f0509]:hover {
11
+ .btn-toolbar[data-v-5802e1ca]:hover {
12
12
  background-color: rgba(255, 255, 255, 0.08);
13
13
  color: var(--text-primary);
14
14
  }
15
- .btn-conn[data-v-032f0509] {
15
+ .btn-conn[data-v-5802e1ca] {
16
16
  background: none;
17
17
  border: none;
18
18
  color: var(--text-secondary);
@@ -23,16 +23,16 @@
23
23
  opacity: 0;
24
24
  transition: opacity 0.15s;
25
25
  }
26
- .connection-item:hover .btn-conn[data-v-032f0509] {
26
+ .connection-item:hover .btn-conn[data-v-5802e1ca] {
27
27
  opacity: 1;
28
28
  }
29
- .btn-conn[data-v-032f0509]:hover {
29
+ .btn-conn[data-v-5802e1ca]:hover {
30
30
  color: var(--accent);
31
31
  }
32
- .btn-conn-danger[data-v-032f0509]:hover {
32
+ .btn-conn-danger[data-v-5802e1ca]:hover {
33
33
  color: var(--danger);
34
34
  }
35
- .btn-lang-switch[data-v-032f0509] {
35
+ .btn-lang-switch[data-v-5802e1ca] {
36
36
  background: none;
37
37
  border: 1px solid var(--border-color);
38
38
  color: var(--text-secondary);
@@ -43,11 +43,11 @@
43
43
  line-height: 1;
44
44
  transition: all 0.15s;
45
45
  }
46
- .btn-lang-switch[data-v-032f0509]:hover {
46
+ .btn-lang-switch[data-v-5802e1ca]:hover {
47
47
  border-color: var(--accent);
48
48
  color: var(--accent);
49
49
  }
50
- .btn-ai-settings[data-v-032f0509] {
50
+ .btn-ai-settings[data-v-5802e1ca] {
51
51
  background: none;
52
52
  border: 1px solid var(--border-color);
53
53
  color: var(--text-secondary);
@@ -60,7 +60,7 @@
60
60
  display: flex;
61
61
  align-items: center;
62
62
  }
63
- .btn-ai-settings[data-v-032f0509]:hover {
63
+ .btn-ai-settings[data-v-5802e1ca]:hover {
64
64
  border-color: var(--accent);
65
65
  color: var(--accent);
66
66
  background-color: rgba(137, 180, 250, 0.1);
@@ -683,27 +683,27 @@
683
683
  margin-bottom: 6px;
684
684
  }
685
685
 
686
- .ai-settings-form[data-v-1ece7f73] {
686
+ .ai-settings-form[data-v-ba6b7564] {
687
687
  padding: 0.5rem;
688
688
  }
689
- .form-check-input[data-v-1ece7f73]:checked {
689
+ .form-check-input[data-v-ba6b7564]:checked {
690
690
  background-color: var(--accent);
691
691
  border-color: var(--accent);
692
692
  }
693
- .form-text[data-v-1ece7f73] {
693
+ .form-text[data-v-ba6b7564] {
694
694
  font-size: 12px;
695
695
  display: block;
696
696
  margin-top: 4px;
697
697
  }
698
698
 
699
- .fterm-layout[data-v-c6e7b5f8] {
699
+ .aicmd-layout[data-v-f2116804] {
700
700
  display: flex;
701
701
  width: 100%;
702
702
  height: 100vh;
703
703
  overflow: hidden;
704
704
  background-color: var(--bg-dark);
705
705
  }
706
- .main-area[data-v-c6e7b5f8] {
706
+ .main-area[data-v-f2116804] {
707
707
  flex: 1;
708
708
  display: flex;
709
709
  flex-direction: column;
@@ -711,7 +711,7 @@
711
711
  min-width: 0;
712
712
  position: relative;
713
713
  }
714
- .sidebar-toggle-btn[data-v-c6e7b5f8] {
714
+ .sidebar-toggle-btn[data-v-f2116804] {
715
715
  position: absolute;
716
716
  top: 50%;
717
717
  left: 0;
@@ -732,17 +732,17 @@
732
732
  transition: all 0.15s ease;
733
733
  padding: 0;
734
734
  }
735
- .sidebar-toggle-btn[data-v-c6e7b5f8]:hover {
735
+ .sidebar-toggle-btn[data-v-f2116804]:hover {
736
736
  background-color: rgba(69, 71, 90, 0.95);
737
737
  color: var(--accent);
738
738
  width: 24px;
739
739
  }
740
- .terminal-area[data-v-c6e7b5f8] {
740
+ .terminal-area[data-v-f2116804] {
741
741
  flex: 1;
742
742
  position: relative;
743
743
  overflow: hidden;
744
744
  }
745
- .terminal-pane[data-v-c6e7b5f8] {
745
+ .terminal-pane[data-v-f2116804] {
746
746
  position: absolute;
747
747
  top: 0;
748
748
  left: 0;
@@ -750,10 +750,10 @@
750
750
  height: 100%;
751
751
  display: none;
752
752
  }
753
- .terminal-pane.active[data-v-c6e7b5f8] {
753
+ .terminal-pane.active[data-v-f2116804] {
754
754
  display: block;
755
755
  }
756
- .tab-add-btn[data-v-c6e7b5f8] {
756
+ .tab-add-btn[data-v-f2116804] {
757
757
  display: flex;
758
758
  align-items: center;
759
759
  justify-content: center;
@@ -768,11 +768,11 @@
768
768
  font-size: 16px;
769
769
  flex-shrink: 0;
770
770
  }
771
- .tab-add-btn[data-v-c6e7b5f8]:hover {
771
+ .tab-add-btn[data-v-f2116804]:hover {
772
772
  background-color: rgba(255, 255, 255, 0.1);
773
773
  color: var(--text-primary);
774
774
  }
775
- .tab-name-input[data-v-c6e7b5f8] {
775
+ .tab-name-input[data-v-f2116804] {
776
776
  background: transparent;
777
777
  border: none;
778
778
  border-bottom: 1px solid var(--accent);
@@ -786,7 +786,7 @@
786
786
  }
787
787
 
788
788
  /* Tab 右键菜单 */
789
- .tab-context-menu[data-v-c6e7b5f8] {
789
+ .tab-context-menu[data-v-f2116804] {
790
790
  position: fixed;
791
791
  z-index: 9999;
792
792
  min-width: 160px;
@@ -798,7 +798,7 @@
798
798
  font-size: 13px;
799
799
  user-select: none;
800
800
  }
801
- .tab-context-menu-item[data-v-c6e7b5f8] {
801
+ .tab-context-menu-item[data-v-f2116804] {
802
802
  display: flex;
803
803
  align-items: center;
804
804
  gap: 8px;
@@ -808,23 +808,23 @@
808
808
  transition: background-color 0.15s;
809
809
  white-space: nowrap;
810
810
  }
811
- .tab-context-menu-item[data-v-c6e7b5f8]:hover {
811
+ .tab-context-menu-item[data-v-f2116804]:hover {
812
812
  background-color: rgba(255, 255, 255, 0.08);
813
813
  color: var(--text-primary);
814
814
  }
815
- .tab-context-menu-item i[data-v-c6e7b5f8] {
815
+ .tab-context-menu-item i[data-v-f2116804] {
816
816
  font-size: 14px;
817
817
  width: 16px;
818
818
  text-align: center;
819
819
  }
820
- .tab-context-menu-divider[data-v-c6e7b5f8] {
820
+ .tab-context-menu-divider[data-v-f2116804] {
821
821
  height: 1px;
822
822
  background-color: var(--border-color);
823
823
  margin: 4px 12px;
824
824
  }
825
825
 
826
826
  /* 空状态按钮 */
827
- .btn-empty-action[data-v-c6e7b5f8] {
827
+ .btn-empty-action[data-v-f2116804] {
828
828
  display: inline-flex;
829
829
  align-items: center;
830
830
  gap: 6px;
@@ -840,16 +840,16 @@
840
840
  transition: all 0.15s ease;
841
841
  white-space: nowrap;
842
842
  }
843
- .btn-empty-action[data-v-c6e7b5f8]:hover {
843
+ .btn-empty-action[data-v-f2116804]:hover {
844
844
  background-color: rgba(137, 180, 250, 0.1);
845
845
  border-color: var(--accent);
846
846
  color: var(--accent);
847
847
  }
848
- .btn-empty-action i[data-v-c6e7b5f8] {
848
+ .btn-empty-action i[data-v-f2116804] {
849
849
  font-size: 11px;
850
850
  opacity: 0.8;
851
851
  }
852
- .btn-empty-success[data-v-c6e7b5f8]:hover {
852
+ .btn-empty-success[data-v-f2116804]:hover {
853
853
  background-color: rgba(166, 227, 161, 0.1);
854
854
  border-color: #a6e3a1;
855
855
  color: #a6e3a1;