@jvittechs/jai1-cli 0.1.100 → 0.1.101

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.
@@ -1900,3 +1900,230 @@ body,
1900
1900
  border-color var(--transition-normal),
1901
1901
  color var(--transition-normal);
1902
1902
  }
1903
+
1904
+ /* ============================================
1905
+ File Mention System
1906
+ ============================================ */
1907
+
1908
+ /* File Autocomplete Dropdown */
1909
+ .file-autocomplete {
1910
+ background: var(--bg-secondary);
1911
+ border: 1px solid var(--border-color);
1912
+ border-radius: var(--radius-lg);
1913
+ margin-bottom: var(--space-2);
1914
+ overflow: hidden;
1915
+ box-shadow: var(--shadow-lg);
1916
+ max-height: 300px;
1917
+ display: flex;
1918
+ flex-direction: column;
1919
+ }
1920
+
1921
+ .file-autocomplete.hidden {
1922
+ display: none;
1923
+ }
1924
+
1925
+ .file-autocomplete-header {
1926
+ display: flex;
1927
+ align-items: center;
1928
+ gap: var(--space-2);
1929
+ padding: var(--space-2) var(--space-3);
1930
+ border-bottom: 1px solid var(--border-color);
1931
+ background: var(--bg-tertiary);
1932
+ font-size: 12px;
1933
+ }
1934
+
1935
+ .autocomplete-icon {
1936
+ font-size: 14px;
1937
+ }
1938
+
1939
+ .autocomplete-title {
1940
+ font-weight: 600;
1941
+ color: var(--text-primary);
1942
+ }
1943
+
1944
+ .autocomplete-hint {
1945
+ margin-left: auto;
1946
+ color: var(--text-tertiary);
1947
+ font-family: var(--font-mono);
1948
+ font-size: 10px;
1949
+ }
1950
+
1951
+ .file-autocomplete-list {
1952
+ overflow-y: auto;
1953
+ max-height: 250px;
1954
+ }
1955
+
1956
+ .file-autocomplete-item {
1957
+ display: flex;
1958
+ align-items: center;
1959
+ gap: var(--space-2);
1960
+ padding: var(--space-2) var(--space-3);
1961
+ cursor: pointer;
1962
+ transition: background-color var(--transition-fast);
1963
+ }
1964
+
1965
+ .file-autocomplete-item:hover {
1966
+ background: var(--bg-hover);
1967
+ }
1968
+
1969
+ .file-autocomplete-item.selected {
1970
+ background: var(--primary-900);
1971
+ border-left: 3px solid var(--primary-500);
1972
+ padding-left: calc(var(--space-3) - 3px);
1973
+ }
1974
+
1975
+ .file-autocomplete-item.selected .file-path {
1976
+ color: var(--primary-400);
1977
+ font-weight: 500;
1978
+ }
1979
+
1980
+ .file-autocomplete-item.selected .file-size {
1981
+ color: var(--text-secondary);
1982
+ }
1983
+
1984
+ .file-autocomplete-item .file-icon {
1985
+ font-size: 14px;
1986
+ flex-shrink: 0;
1987
+ }
1988
+
1989
+ .file-autocomplete-item .file-path {
1990
+ flex: 1;
1991
+ font-family: var(--font-mono);
1992
+ font-size: 12px;
1993
+ color: var(--text-secondary);
1994
+ overflow: hidden;
1995
+ text-overflow: ellipsis;
1996
+ white-space: nowrap;
1997
+ }
1998
+
1999
+ .file-autocomplete-item .file-size {
2000
+ font-family: var(--font-mono);
2001
+ font-size: 10px;
2002
+ color: var(--text-tertiary);
2003
+ flex-shrink: 0;
2004
+ }
2005
+
2006
+ .file-autocomplete-loading,
2007
+ .file-autocomplete-error,
2008
+ .file-autocomplete-empty {
2009
+ display: flex;
2010
+ align-items: center;
2011
+ justify-content: center;
2012
+ gap: var(--space-2);
2013
+ padding: var(--space-4);
2014
+ color: var(--text-tertiary);
2015
+ font-size: 12px;
2016
+ }
2017
+
2018
+ .file-autocomplete-loading .loading-spinner {
2019
+ animation: spin 1s linear infinite;
2020
+ }
2021
+
2022
+ .file-autocomplete-error {
2023
+ color: var(--error);
2024
+ }
2025
+
2026
+ /* Mentioned Files Container */
2027
+ .mentioned-files {
2028
+ background: var(--bg-tertiary);
2029
+ border: 1px solid var(--border-color);
2030
+ border-radius: var(--radius-lg);
2031
+ padding: var(--space-2) var(--space-3);
2032
+ margin-bottom: var(--space-2);
2033
+ }
2034
+
2035
+ .mentioned-files.hidden {
2036
+ display: none;
2037
+ }
2038
+
2039
+ .mentioned-files-header {
2040
+ display: flex;
2041
+ align-items: center;
2042
+ gap: var(--space-2);
2043
+ margin-bottom: var(--space-2);
2044
+ font-size: 12px;
2045
+ }
2046
+
2047
+ .mentioned-icon {
2048
+ font-size: 14px;
2049
+ }
2050
+
2051
+ .mentioned-title {
2052
+ font-weight: 500;
2053
+ color: var(--text-secondary);
2054
+ }
2055
+
2056
+ .mentioned-files-list {
2057
+ display: flex;
2058
+ flex-wrap: wrap;
2059
+ gap: var(--space-2);
2060
+ }
2061
+
2062
+ .mentioned-file-badge {
2063
+ display: inline-flex;
2064
+ align-items: center;
2065
+ gap: var(--space-1);
2066
+ background: var(--bg-secondary);
2067
+ border: 1px solid var(--border-color);
2068
+ border-radius: var(--radius-md);
2069
+ padding: var(--space-1) var(--space-2);
2070
+ font-size: 11px;
2071
+ max-width: 200px;
2072
+ }
2073
+
2074
+ .mentioned-file-badge .badge-icon {
2075
+ font-size: 12px;
2076
+ flex-shrink: 0;
2077
+ }
2078
+
2079
+ .mentioned-file-badge .badge-path {
2080
+ font-family: var(--font-mono);
2081
+ color: var(--text-secondary);
2082
+ overflow: hidden;
2083
+ text-overflow: ellipsis;
2084
+ white-space: nowrap;
2085
+ }
2086
+
2087
+ .mentioned-file-badge .badge-remove {
2088
+ background: none;
2089
+ border: none;
2090
+ color: var(--text-tertiary);
2091
+ cursor: pointer;
2092
+ padding: 0 2px;
2093
+ font-size: 14px;
2094
+ line-height: 1;
2095
+ transition: color var(--transition-fast);
2096
+ flex-shrink: 0;
2097
+ }
2098
+
2099
+ .mentioned-file-badge .badge-remove:hover {
2100
+ color: var(--error);
2101
+ }
2102
+
2103
+ /* Light theme adjustments */
2104
+ [data-theme="light"] .file-autocomplete {
2105
+ background: var(--bg-secondary);
2106
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
2107
+ }
2108
+
2109
+ [data-theme="light"] .file-autocomplete-item:hover {
2110
+ background: var(--bg-hover);
2111
+ }
2112
+
2113
+ [data-theme="light"] .file-autocomplete-item.selected {
2114
+ background: var(--primary-100);
2115
+ border-left: 3px solid var(--primary-600);
2116
+ }
2117
+
2118
+ [data-theme="light"] .file-autocomplete-item.selected .file-path {
2119
+ color: var(--primary-700);
2120
+ }
2121
+
2122
+ [data-theme="light"] .mentioned-files {
2123
+ background: var(--bg-tertiary);
2124
+ }
2125
+
2126
+ [data-theme="light"] .mentioned-file-badge {
2127
+ background: white;
2128
+ border-color: var(--border-color);
2129
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jvittechs/jai1-cli",
3
- "version": "0.1.100",
3
+ "version": "0.1.101",
4
4
  "description": "A unified CLI tool for JV-IT TECHS developers to manage Jai1 Framework. Please contact TeamAI for usage instructions.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -55,6 +55,7 @@
55
55
  "cronstrue": "^2.50.0",
56
56
  "execa": "^9.6.1",
57
57
  "gray-matter": "^4.0.3",
58
+ "ignore": "^7.0.5",
58
59
  "ink": "^5.0.1",
59
60
  "ink-spinner": "^5.0.0",
60
61
  "ink-text-input": "^6.0.0",