Skip to content

Commit 42d140d

Browse files
wutongciclaude
andcommitted
feat: v0.5.0 - 整合模型和日志页面到 API Server
将"模型"和"日志"页面迁移到 API Server 页面中作为标签页,使功能更加集中和关联。 主要变更: - 创建 ModelsTab.tsx 和 LogsTab.tsx 组件 - 在 API Server 页面添加"可用模型"和"日志"两个新标签页 - 从导航栏移除独立的"模型"和"日志"入口 - 删除原始的 Models.tsx 和 Logs.tsx 文件 - 更新版本号到 0.5.0 优化: - 导航栏更简洁,减少了两个独立入口 - API Server 页面成为管理代理服务的中心 - 所有功能逻辑保持不变,只是组织结构更合理 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent cf0bf91 commit 42d140d

70 files changed

Lines changed: 9604 additions & 923 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/settings.local.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"Bash(cargo build:*)",
99
"Bash(npm run check:*)",
1010
"Bash(npm run:*)",
11-
"Bash(tree:*)"
11+
"Bash(tree:*)",
12+
"Bash(find:*)",
13+
"Bash(cargo check:*)",
14+
"Bash(rm:*)"
1215
],
1316
"deny": [],
1417
"ask": []

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "proxycast",
33
"private": true,
4-
"version": "0.4.3",
4+
"version": "0.5.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src-tauri/Cargo.lock

Lines changed: 57 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "proxycast"
3-
version = "0.4.3"
3+
version = "0.5.0"
44
description = "AI API Proxy Desktop App"
55
authors = ["you"]
66
edition = "2021"
@@ -15,6 +15,7 @@ tauri-build = { version = "2", features = [] }
1515
[dependencies]
1616
tauri = { version = "2", features = [] }
1717
tauri-plugin-shell = "2"
18+
tauri-plugin-autostart = "2"
1819
serde = { version = "1", features = ["derive"] }
1920
serde_json = "1"
2021
tokio = { version = "1", features = ["full"] }

src-tauri/gen/schemas/acl-manifests.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src-tauri/gen/schemas/desktop-schema.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,48 @@
386386
"Identifier": {
387387
"description": "Permission identifier",
388388
"oneOf": [
389+
{
390+
"description": "This permission set configures if your\napplication can enable or disable auto\nstarting the application on boot.\n\n#### Granted Permissions\n\nIt allows all to check, enable and\ndisable the automatic start on boot.\n\n\n#### This default permission set includes:\n\n- `allow-enable`\n- `allow-disable`\n- `allow-is-enabled`",
391+
"type": "string",
392+
"const": "autostart:default",
393+
"markdownDescription": "This permission set configures if your\napplication can enable or disable auto\nstarting the application on boot.\n\n#### Granted Permissions\n\nIt allows all to check, enable and\ndisable the automatic start on boot.\n\n\n#### This default permission set includes:\n\n- `allow-enable`\n- `allow-disable`\n- `allow-is-enabled`"
394+
},
395+
{
396+
"description": "Enables the disable command without any pre-configured scope.",
397+
"type": "string",
398+
"const": "autostart:allow-disable",
399+
"markdownDescription": "Enables the disable command without any pre-configured scope."
400+
},
401+
{
402+
"description": "Enables the enable command without any pre-configured scope.",
403+
"type": "string",
404+
"const": "autostart:allow-enable",
405+
"markdownDescription": "Enables the enable command without any pre-configured scope."
406+
},
407+
{
408+
"description": "Enables the is_enabled command without any pre-configured scope.",
409+
"type": "string",
410+
"const": "autostart:allow-is-enabled",
411+
"markdownDescription": "Enables the is_enabled command without any pre-configured scope."
412+
},
413+
{
414+
"description": "Denies the disable command without any pre-configured scope.",
415+
"type": "string",
416+
"const": "autostart:deny-disable",
417+
"markdownDescription": "Denies the disable command without any pre-configured scope."
418+
},
419+
{
420+
"description": "Denies the enable command without any pre-configured scope.",
421+
"type": "string",
422+
"const": "autostart:deny-enable",
423+
"markdownDescription": "Denies the enable command without any pre-configured scope."
424+
},
425+
{
426+
"description": "Denies the is_enabled command without any pre-configured scope.",
427+
"type": "string",
428+
"const": "autostart:deny-is-enabled",
429+
"markdownDescription": "Denies the is_enabled command without any pre-configured scope."
430+
},
389431
{
390432
"description": "Default core plugins set.\n#### This default permission set includes:\n\n- `core:path:default`\n- `core:event:default`\n- `core:window:default`\n- `core:webview:default`\n- `core:app:default`\n- `core:image:default`\n- `core:resources:default`\n- `core:menu:default`\n- `core:tray:default`",
391433
"type": "string",

src-tauri/gen/schemas/macOS-schema.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,48 @@
386386
"Identifier": {
387387
"description": "Permission identifier",
388388
"oneOf": [
389+
{
390+
"description": "This permission set configures if your\napplication can enable or disable auto\nstarting the application on boot.\n\n#### Granted Permissions\n\nIt allows all to check, enable and\ndisable the automatic start on boot.\n\n\n#### This default permission set includes:\n\n- `allow-enable`\n- `allow-disable`\n- `allow-is-enabled`",
391+
"type": "string",
392+
"const": "autostart:default",
393+
"markdownDescription": "This permission set configures if your\napplication can enable or disable auto\nstarting the application on boot.\n\n#### Granted Permissions\n\nIt allows all to check, enable and\ndisable the automatic start on boot.\n\n\n#### This default permission set includes:\n\n- `allow-enable`\n- `allow-disable`\n- `allow-is-enabled`"
394+
},
395+
{
396+
"description": "Enables the disable command without any pre-configured scope.",
397+
"type": "string",
398+
"const": "autostart:allow-disable",
399+
"markdownDescription": "Enables the disable command without any pre-configured scope."
400+
},
401+
{
402+
"description": "Enables the enable command without any pre-configured scope.",
403+
"type": "string",
404+
"const": "autostart:allow-enable",
405+
"markdownDescription": "Enables the enable command without any pre-configured scope."
406+
},
407+
{
408+
"description": "Enables the is_enabled command without any pre-configured scope.",
409+
"type": "string",
410+
"const": "autostart:allow-is-enabled",
411+
"markdownDescription": "Enables the is_enabled command without any pre-configured scope."
412+
},
413+
{
414+
"description": "Denies the disable command without any pre-configured scope.",
415+
"type": "string",
416+
"const": "autostart:deny-disable",
417+
"markdownDescription": "Denies the disable command without any pre-configured scope."
418+
},
419+
{
420+
"description": "Denies the enable command without any pre-configured scope.",
421+
"type": "string",
422+
"const": "autostart:deny-enable",
423+
"markdownDescription": "Denies the enable command without any pre-configured scope."
424+
},
425+
{
426+
"description": "Denies the is_enabled command without any pre-configured scope.",
427+
"type": "string",
428+
"const": "autostart:deny-is-enabled",
429+
"markdownDescription": "Denies the is_enabled command without any pre-configured scope."
430+
},
389431
{
390432
"description": "Default core plugins set.\n#### This default permission set includes:\n\n- `core:path:default`\n- `core:event:default`\n- `core:window:default`\n- `core:webview:default`\n- `core:app:default`\n- `core:image:default`\n- `core:resources:default`\n- `core:menu:default`\n- `core:tray:default`",
391433
"type": "string",

0 commit comments

Comments
 (0)