feat: support probe mode

This commit is contained in:
ReaJason
2025-12-08 01:43:41 +08:00
parent 653665e479
commit cd8111d0d7
78 changed files with 929 additions and 51 deletions
@@ -375,6 +375,22 @@ export default function MainConfigCard({
</FormItem>
)}
/>
<FormField
control={form.control}
name="probe"
render={({ field }) => (
<FormItem className="flex items-center space-x-2 space-y-0">
<FormControl>
<Switch
id="probe"
checked={field.value}
onCheckedChange={field.onChange}
/>
</FormControl>
<Label htmlFor="probe">{t("common:probe")}</Label>
</FormItem>
)}
/>
<FormField
control={form.control}
name="byPassJavaModule"
+1 -1
View File
@@ -1,7 +1,7 @@
{
"about": "About",
"basicInfo": "BasicInfo",
"byPassJavaModule": "Bypass JavaModule",
"byPassJavaModule": "BypassModule",
"cancel": "Cancel",
"copyLabelSuccess": "Copy {{label}} successfully",
"copySuccess": "Copy successfully",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"about": "关于",
"basicInfo": "基本信息",
"byPassJavaModule": "绕过 Java 模块限制",
"byPassJavaModule": "绕过模块限制",
"cancel": "取消",
"copyLabelSuccess": "复制 {{label}} 成功",
"copySuccess": "复制成功",
+2 -2
View File
@@ -9,7 +9,7 @@
"@orama/orama": "^3.1.16",
"@orama/stopwords": "^3.1.16",
"@orama/tokenizers": "^3.1.16",
"@react-router/node": "^7.10.0",
"@react-router/node": "^7.10.1",
"@tanstack/react-query": "^5.90.12",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
@@ -35,7 +35,7 @@
},
"devDependencies": {
"@biomejs/biome": "^2.3.8",
"@react-router/dev": "^7.10.0",
"@react-router/dev": "^7.10.1",
"@tailwindcss/vite": "^4.1.17",
"@types/mdx": "^2.0.13",
"@types/node": "^24.10.1",