diff --git a/i18n.js b/i18n.js
index 925749d..5a623e0 100644
--- a/i18n.js
+++ b/i18n.js
@@ -272,6 +272,7 @@ const i18n = {
'auth_files.filter_aistudio': 'AIStudio',
'auth_files.filter_claude': 'Claude',
'auth_files.filter_codex': 'Codex',
+ 'auth_files.filter_antigravity': 'Antigravity',
'auth_files.filter_iflow': 'iFlow',
'auth_files.filter_vertex': 'Vertex',
'auth_files.filter_empty': '空文件',
@@ -282,6 +283,7 @@ const i18n = {
'auth_files.type_aistudio': 'AIStudio',
'auth_files.type_claude': 'Claude',
'auth_files.type_codex': 'Codex',
+ 'auth_files.type_antigravity': 'Antigravity',
'auth_files.type_iflow': 'iFlow',
'auth_files.type_vertex': 'Vertex',
'auth_files.type_empty': '空文件',
@@ -792,6 +794,7 @@ const i18n = {
'auth_files.filter_aistudio': 'AIStudio',
'auth_files.filter_claude': 'Claude',
'auth_files.filter_codex': 'Codex',
+ 'auth_files.filter_antigravity': 'Antigravity',
'auth_files.filter_iflow': 'iFlow',
'auth_files.filter_vertex': 'Vertex',
'auth_files.filter_empty': 'Empty',
@@ -802,6 +805,7 @@ const i18n = {
'auth_files.type_aistudio': 'AIStudio',
'auth_files.type_claude': 'Claude',
'auth_files.type_codex': 'Codex',
+ 'auth_files.type_antigravity': 'Antigravity',
'auth_files.type_iflow': 'iFlow',
'auth_files.type_vertex': 'Vertex',
'auth_files.type_empty': 'Empty',
diff --git a/index.html b/index.html
index b334b6e..0e230b9 100644
--- a/index.html
+++ b/index.html
@@ -502,6 +502,7 @@
+
diff --git a/src/modules/auth-files.js b/src/modules/auth-files.js
index 88ed85d..2809ed4 100644
--- a/src/modules/auth-files.js
+++ b/src/modules/auth-files.js
@@ -172,6 +172,9 @@ export const authFilesModule = {
case 'codex':
typeDisplayKey = 'auth_files.type_codex';
break;
+ case 'antigravity':
+ typeDisplayKey = 'auth_files.type_antigravity';
+ break;
case 'iflow':
typeDisplayKey = 'auth_files.type_iflow';
break;
@@ -467,6 +470,7 @@ export const authFilesModule = {
{ type: 'aistudio', labelKey: 'auth_files.filter_aistudio' },
{ type: 'claude', labelKey: 'auth_files.filter_claude' },
{ type: 'codex', labelKey: 'auth_files.filter_codex' },
+ { type: 'antigravity', labelKey: 'auth_files.filter_antigravity' },
{ type: 'iflow', labelKey: 'auth_files.filter_iflow' },
{ type: 'vertex', labelKey: 'auth_files.filter_vertex' },
{ type: 'empty', labelKey: 'auth_files.filter_empty' }
diff --git a/styles.css b/styles.css
index b0e9eb0..0e814a4 100644
--- a/styles.css
+++ b/styles.css
@@ -1816,6 +1816,16 @@ input:checked+.slider:before {
color: #ffb74d;
}
+.file-type-badge.antigravity {
+ background: #e0f7fa;
+ color: #006064;
+}
+
+[data-theme="dark"] .file-type-badge.antigravity {
+ background: #004d40;
+ color: #80deea;
+}
+
.file-type-badge.iflow {
background: #f3e5f5;
color: #7b1fa2;
@@ -1837,13 +1847,13 @@ input:checked+.slider:before {
}
/* 未知类型通用样式 */
-.file-type-badge:not(.qwen):not(.gemini):not(.gemini-cli):not(.aistudio):not(.claude):not(.codex):not(.iflow):not(.empty) {
+.file-type-badge:not(.qwen):not(.gemini):not(.gemini-cli):not(.aistudio):not(.claude):not(.codex):not(.antigravity):not(.iflow):not(.empty) {
background: #f0f0f0;
color: #666666;
border: 1px dashed #999999;
}
-[data-theme="dark"] .file-type-badge:not(.qwen):not(.gemini):not(.gemini-cli):not(.aistudio):not(.claude):not(.codex):not(.iflow):not(.empty) {
+[data-theme="dark"] .file-type-badge:not(.qwen):not(.gemini):not(.gemini-cli):not(.aistudio):not(.claude):not(.codex):not(.antigravity):not(.iflow):not(.empty) {
background: #3a3a3a;
color: #aaaaaa;
border: 1px dashed #666666;