refactor IPC (#341)

This commit is contained in:
Lingxuan Zuo
2026-03-08 11:54:49 +08:00
committed by GitHub
Unverified
parent c03d92e9a2
commit 3d804a9f5e
52 changed files with 3121 additions and 336 deletions

View File

@@ -11,6 +11,10 @@
"gatewayWarning": "Gateway service is not running. Channels cannot connect.",
"available": "Available Channels",
"availableDesc": "Connect a new channel",
"configured": "Configured Channels",
"configuredDesc": "Manage channels that are already configured",
"configuredBadge": "Configured",
"deleteConfirm": "Are you sure you want to delete this channel?",
"showAll": "Show All",
"pluginBadge": "Plugin",
"toast": {
@@ -37,6 +41,8 @@
"viewDocs": "View Documentation",
"channelName": "Channel Name",
"channelNamePlaceholder": "My {{name}}",
"enableChannel": "Enable Channel",
"enableChannelDesc": "When off, config is saved but the channel stays disabled",
"credentialsVerified": "Credentials Verified",
"validationFailed": "Validation Failed",
"warnings": "Warnings",
@@ -293,4 +299,4 @@
}
},
"viewDocs": "View Documentation"
}
}

View File

@@ -14,5 +14,13 @@
"refresh": "Refresh chat",
"showThinking": "Show thinking",
"hideThinking": "Hide thinking"
},
"historyBuckets": {
"today": "Today",
"yesterday": "Yesterday",
"withinWeek": "Within 1 Week",
"withinTwoWeeks": "Within 2 Weeks",
"withinMonth": "Within 1 Month",
"older": "Older than 1 Month"
}
}
}

View File

@@ -59,6 +59,7 @@
"paused": "Task paused",
"deleted": "Task deleted",
"triggered": "Task triggered successfully",
"failedTrigger": "Failed to trigger task: {{error}}",
"failedUpdate": "Failed to update task",
"failedDelete": "Failed to delete task",
"nameRequired": "Please enter a task name",
@@ -66,5 +67,16 @@
"channelRequired": "Please select a channel",
"discordIdRequired": "Please enter a Discord Channel ID",
"scheduleRequired": "Please select or enter a schedule"
},
"schedule": {
"everySeconds": "Every {{count}}s",
"everyMinutes": "Every {{count}} minutes",
"everyHours": "Every {{count}} hours",
"everyDays": "Every {{count}} days",
"onceAt": "Once at {{time}}",
"weeklyAt": "Weekly on {{day}} at {{time}}",
"monthlyAtDay": "Monthly on day {{day}} at {{time}}",
"dailyAt": "Daily at {{time}}",
"unknown": "Unknown"
}
}
}

View File

@@ -12,8 +12,10 @@
"quickActions": {
"title": "Quick Actions",
"description": "Common tasks and shortcuts",
"addProvider": "Add Provider",
"addChannel": "Add Channel",
"browseSkills": "Browse Skills",
"createCron": "Create Cron",
"installSkill": "Install Skill",
"openChat": "Open Chat",
"settings": "Settings",
"devConsole": "Dev Console"

View File

@@ -113,6 +113,8 @@
"proxyHttpsServerHelp": "Advanced override for HTTPS requests. Leave blank to use Proxy Server.",
"proxyAllServer": "ALL_PROXY / SOCKS",
"proxyAllServerHelp": "Advanced fallback for SOCKS-capable clients and protocols such as Telegram. Leave blank to use Proxy Server.",
"showAdvancedProxy": "Show advanced proxy fields",
"hideAdvancedProxy": "Hide advanced proxy fields",
"proxyBypass": "Bypass Rules",
"proxyBypassHelp": "Semicolon, comma, or newline separated hosts that should connect directly.",
"proxyRestartNote": "Saving reapplies Electron networking and restarts the Gateway immediately.",
@@ -153,6 +155,25 @@
"advanced": {
"title": "Advanced",
"description": "Power-user options",
"transport": {
"label": "Gateway Transport Preference",
"desc": "Choose how renderer requests gateway RPC: WebSocket, HTTP proxy, or IPC fallback.",
"saved": "Gateway transport preference saved",
"options": {
"wsFirst": "WS First",
"httpFirst": "HTTP First",
"wsOnly": "WS Only",
"httpOnly": "HTTP Only",
"ipcOnly": "IPC Only"
},
"descriptions": {
"wsFirst": "WS -> HTTP -> IPC",
"httpFirst": "HTTP -> WS -> IPC",
"wsOnly": "WS -> IPC",
"httpOnly": "HTTP -> IPC",
"ipcOnly": "IPC only"
}
},
"devMode": "Developer Mode",
"devModeDesc": "Show developer tools and shortcuts"
},

View File

@@ -16,6 +16,10 @@
"search": "Search skills...",
"searchMarketplace": "Search marketplace...",
"searchButton": "Search",
"actions": {
"enableVisible": "Enable Visible",
"disableVisible": "Disable Visible"
},
"noSkills": "No skills found",
"noSkillsSearch": "Try a different search term",
"noSkillsAvailable": "No skills available",
@@ -63,7 +67,12 @@
"searchRateLimitError": "Search rate limit exceeded. You can also search on ClawHub.ai, download the ZIP, and extract it to \"{{path}}\"",
"installRateLimitError": "Installation rate limit exceeded. You can also download the ZIP from ClawHub.ai and extract it to \"{{path}}\"",
"fetchTimeoutError": "Fetching skills timed out, please check your network connection.",
"fetchRateLimitError": "Fetching skills rate limit exceeded, please try again later."
"fetchRateLimitError": "Fetching skills rate limit exceeded, please try again later.",
"noBatchEnableTargets": "All visible skills are already enabled.",
"noBatchDisableTargets": "All visible skills are already disabled.",
"batchEnabled": "{{count}} skills enabled.",
"batchDisabled": "{{count}} skills disabled.",
"batchPartial": "Updated {{success}} / {{total}} skills. Some items failed."
},
"marketplace": {
"title": "Marketplace",
@@ -74,4 +83,4 @@
"emptyPrompt": "Search for new skills to expand your capabilities.",
"searchError": "ClawHub search failed. Check your connection or installation."
}
}
}