opencode-windows-scheduler 1.5.4 → 1.5.5
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.
- package/CHANGELOG.md +65 -5
- package/CROSS_PLATFORM.md +107 -71
- package/README.md +72 -25
- package/ROADMAP-STRATEGY.md +6 -0
- package/ROADMAP.md +116 -85
- package/dist/core/analytics.d.ts +3 -0
- package/dist/core/analytics.d.ts.map +1 -1
- package/dist/core/analytics.js +4 -0
- package/dist/core/audit.d.ts +2 -1
- package/dist/core/audit.d.ts.map +1 -1
- package/dist/core/audit.js +32 -1
- package/dist/core/cron-to-schtasks.d.ts.map +1 -1
- package/dist/core/cron-to-schtasks.js +21 -4
- package/dist/core/file-watcher.d.ts.map +1 -1
- package/dist/core/file-watcher.js +16 -1
- package/dist/core/git-trigger.d.ts +4 -2
- package/dist/core/git-trigger.d.ts.map +1 -1
- package/dist/core/git-trigger.js +34 -16
- package/dist/core/lock.d.ts +14 -0
- package/dist/core/lock.d.ts.map +1 -1
- package/dist/core/lock.js +81 -4
- package/dist/core/matrix.d.ts.map +1 -1
- package/dist/core/matrix.js +3 -2
- package/dist/core/native-notify.d.ts.map +1 -1
- package/dist/core/native-notify.js +3 -0
- package/dist/core/one-shot.d.ts +7 -1
- package/dist/core/one-shot.d.ts.map +1 -1
- package/dist/core/one-shot.js +15 -2
- package/dist/core/permissions.d.ts +69 -0
- package/dist/core/permissions.d.ts.map +1 -0
- package/dist/core/permissions.js +143 -0
- package/dist/core/ps-wrapper.d.ts +9 -2
- package/dist/core/ps-wrapper.d.ts.map +1 -1
- package/dist/core/ps-wrapper.js +293 -96
- package/dist/core/record-history.d.ts +11 -0
- package/dist/core/record-history.d.ts.map +1 -1
- package/dist/core/record-history.js +106 -4
- package/dist/core/savings.d.ts +70 -0
- package/dist/core/savings.d.ts.map +1 -0
- package/dist/core/savings.js +87 -0
- package/dist/core/schedule-gate.js +7 -3
- package/dist/core/schedule-v2.js +1 -1
- package/dist/core/scheduler/index.d.ts +13 -1
- package/dist/core/scheduler/index.d.ts.map +1 -1
- package/dist/core/scheduler/index.js +35 -4
- package/dist/core/scheduler/linux.d.ts +4 -1
- package/dist/core/scheduler/linux.d.ts.map +1 -1
- package/dist/core/scheduler/linux.js +53 -20
- package/dist/core/scheduler/mac.d.ts +2 -1
- package/dist/core/scheduler/mac.d.ts.map +1 -1
- package/dist/core/scheduler/mac.js +24 -6
- package/dist/core/scheduler/posix.d.ts +1 -1
- package/dist/core/scheduler/posix.d.ts.map +1 -1
- package/dist/core/scheduler/posix.js +2 -2
- package/dist/core/scheduler/registry.d.ts +3 -2
- package/dist/core/scheduler/registry.d.ts.map +1 -1
- package/dist/core/scheduler/registry.js +6 -5
- package/dist/core/scheduler/windows.d.ts +49 -1
- package/dist/core/scheduler/windows.d.ts.map +1 -1
- package/dist/core/scheduler/windows.js +219 -34
- package/dist/core/secrets.d.ts +5 -3
- package/dist/core/secrets.d.ts.map +1 -1
- package/dist/core/secrets.js +86 -8
- package/dist/core/self-analysis.d.ts +117 -0
- package/dist/core/self-analysis.d.ts.map +1 -0
- package/dist/core/self-analysis.js +539 -0
- package/dist/core/session.d.ts +11 -3
- package/dist/core/session.d.ts.map +1 -1
- package/dist/core/session.js +34 -5
- package/dist/core/shutdown.d.ts +26 -0
- package/dist/core/shutdown.d.ts.map +1 -0
- package/dist/core/shutdown.js +49 -0
- package/dist/core/summary.d.ts +69 -0
- package/dist/core/summary.d.ts.map +1 -0
- package/dist/core/summary.js +250 -0
- package/dist/core/telegram.d.ts +10 -0
- package/dist/core/telegram.d.ts.map +1 -1
- package/dist/core/telegram.js +228 -47
- package/dist/core/triage-chain.d.ts +9 -3
- package/dist/core/triage-chain.d.ts.map +1 -1
- package/dist/core/triage-chain.js +15 -5
- package/dist/core/triage-compare.d.ts +68 -0
- package/dist/core/triage-compare.d.ts.map +1 -0
- package/dist/core/triage-compare.js +184 -0
- package/dist/core/triage-rules.d.ts.map +1 -1
- package/dist/core/triage-rules.js +22 -0
- package/dist/core/triage-shadow.d.ts +54 -10
- package/dist/core/triage-shadow.d.ts.map +1 -1
- package/dist/core/triage-shadow.js +138 -26
- package/dist/core/triage-worker.d.ts +55 -0
- package/dist/core/triage-worker.d.ts.map +1 -0
- package/dist/core/triage-worker.js +314 -0
- package/dist/core/triage.js +1 -1
- package/dist/core/watch-paths.d.ts +6 -0
- package/dist/core/watch-paths.d.ts.map +1 -0
- package/dist/core/watch-paths.js +62 -0
- package/dist/core/wrappers/bash.d.ts +15 -3
- package/dist/core/wrappers/bash.d.ts.map +1 -1
- package/dist/core/wrappers/bash.js +153 -120
- package/dist/db/history-repo.d.ts +1 -1
- package/dist/db/history-repo.d.ts.map +1 -1
- package/dist/db/history-repo.js +29 -14
- package/dist/db/schema.d.ts +1 -1
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +31 -0
- package/dist/history.d.ts +2 -2
- package/dist/history.d.ts.map +1 -1
- package/dist/history.js +3 -3
- package/dist/i18n.d.ts +25 -2
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +41 -3
- package/dist/index.d.ts +40 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +345 -71
- package/dist/integrations.d.ts +9 -1
- package/dist/integrations.d.ts.map +1 -1
- package/dist/integrations.js +34 -6
- package/dist/notifications.d.ts +30 -2
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +287 -16
- package/dist/profiles.d.ts +1 -1
- package/dist/profiles.d.ts.map +1 -1
- package/dist/profiles.js +21 -3
- package/dist/rpc.d.ts +145 -8
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js +81 -6
- package/dist/server.d.ts +20 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +136 -14
- package/dist/settings.d.ts +89 -5
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +143 -23
- package/dist/task-transfer.d.ts +8 -1
- package/dist/task-transfer.d.ts.map +1 -1
- package/dist/task-transfer.js +2 -2
- package/dist/types.d.ts +8 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +23 -5
- package/dist/workspaces.d.ts +9 -0
- package/dist/workspaces.d.ts.map +1 -1
- package/dist/workspaces.js +25 -0
- package/docs/ARCHITECTURE.md +40 -22
- package/docs/CONCEPT.md +230 -0
- package/docs/CROSS_PLATFORM.ru.md +150 -0
- package/docs/CROSS_PLATFORM.zh.md +146 -0
- package/docs/FAQ.md +52 -0
- package/docs/FAQ.ru.md +53 -0
- package/docs/FAQ.zh.md +43 -0
- package/docs/FEATURES.md +125 -48
- package/docs/FEATURES.zh.md +655 -0
- package/docs/LOCAL-AI.md +114 -16
- package/docs/README.ru.md +18 -13
- package/docs/README.zh.md +286 -0
- package/docs/SAVINGS.md +61 -0
- package/docs/SAVINGS.ru.md +60 -0
- package/docs/SAVINGS.zh.md +52 -0
- package/docs/ZH-LOCALE-PLAN.md +324 -0
- package/gui-experimental.cjs +8 -8
- package/locales/en.json +54 -1
- package/locales/ru.json +54 -1
- package/locales/zh.json +780 -0
- package/package.json +24 -7
- package/scripts/check-zh-locale.mjs +218 -0
- package/scripts/run-tests.mjs +236 -0
- package/scripts/test-locale.mjs +4 -3
- package/skills/scheduled-job-best-practices/SKILL.md +6 -3
- package/skills/scheduled-job-best-practices/references/recipes.md +1 -1
- package/src/core/analytics.ts +10 -0
- package/src/core/audit.ts +39 -1
- package/src/core/cron-to-schtasks.ts +23 -4
- package/src/core/file-watcher.ts +20 -1
- package/src/core/git-trigger.ts +34 -16
- package/src/core/lock.ts +88 -3
- package/src/core/matrix.ts +5 -1
- package/src/core/native-notify.ts +3 -0
- package/src/core/one-shot.ts +18 -2
- package/src/core/permissions.ts +200 -0
- package/src/core/ps-wrapper.ts +300 -96
- package/src/core/record-history.ts +111 -4
- package/src/core/savings.ts +150 -0
- package/src/core/schedule-gate.ts +9 -3
- package/src/core/schedule-v2.ts +1 -1
- package/src/core/scheduler/index.ts +41 -3
- package/src/core/scheduler/linux.ts +67 -22
- package/src/core/scheduler/mac.ts +24 -7
- package/src/core/scheduler/posix.ts +2 -2
- package/src/core/scheduler/registry.ts +7 -5
- package/src/core/scheduler/windows.ts +237 -32
- package/src/core/secrets.ts +101 -7
- package/src/core/self-analysis.ts +744 -0
- package/src/core/session.ts +40 -5
- package/src/core/shutdown.ts +69 -0
- package/src/core/summary.ts +318 -0
- package/src/core/telegram.ts +266 -55
- package/src/core/triage-chain.ts +15 -6
- package/src/core/triage-compare.ts +277 -0
- package/src/core/triage-rules.ts +23 -0
- package/src/core/triage-shadow.ts +176 -32
- package/src/core/triage-worker.ts +344 -0
- package/src/core/triage.ts +1 -1
- package/src/core/watch-paths.ts +70 -0
- package/src/core/wrappers/bash.ts +181 -138
- package/src/db/history-repo.ts +31 -18
- package/src/db/schema.ts +31 -0
- package/src/gui.tsx +5070 -4761
- package/src/history.ts +7 -3
- package/src/i18n.ts +55 -4
- package/src/index.ts +432 -74
- package/src/integrations.ts +50 -6
- package/src/notifications.ts +465 -18
- package/src/profiles.ts +21 -3
- package/src/rpc.ts +86 -6
- package/src/server.ts +135 -16
- package/src/settings.ts +305 -46
- package/src/task-transfer.ts +10 -3
- package/src/types.ts +24 -5
- package/src/workspaces.ts +22 -0
- package/dist/gui-experimental.cjs +0 -1
package/locales/zh.json
ADDED
|
@@ -0,0 +1,780 @@
|
|
|
1
|
+
{
|
|
2
|
+
"app.dashboardTitle": "网页仪表盘",
|
|
3
|
+
"common.runsCount": "运行次数:{count, plural, other {# 次}}",
|
|
4
|
+
"dryRun.cron": "按计划 “{schedule}”。",
|
|
5
|
+
"dryRun.cronParseError": "无法解析 cron “{schedule}”,无法计算后续运行时间。",
|
|
6
|
+
"dryRun.cronTimezone": "按计划 “{schedule}”({timezone})。",
|
|
7
|
+
"dryRun.cwdImplicit": "未显式设置工作目录——将使用当前项目文件夹。",
|
|
8
|
+
"dryRun.cwdMissing": "工作目录 “{path}” 不存在。",
|
|
9
|
+
"dryRun.cwdNotDir": "路径 “{path}” 存在,但不是目录。",
|
|
10
|
+
"dryRun.cycle": "检测到任务 “{task}” 周围的循环依赖——流水线在该节点处中断。",
|
|
11
|
+
"dryRun.danger.forcePush": "强制 git push(`git push --force`)",
|
|
12
|
+
"dryRun.danger.rmRoot": "可能递归清空文件系统根目录(`rm -rf /`)",
|
|
13
|
+
"dryRun.dangerPattern": "危险模式:{message}。",
|
|
14
|
+
"dryRun.dependencyMissing": "在任务中找不到依赖 “{task}”——已跳过该节点。",
|
|
15
|
+
"dryRun.file.any": "文件触发器:任何更改都匹配。",
|
|
16
|
+
"dryRun.file.globs": "通配模式:{count}",
|
|
17
|
+
"dryRun.file.ignore": "排除项:{count}",
|
|
18
|
+
"dryRun.file.trigger": "文件触发器:{parts}。",
|
|
19
|
+
"dryRun.git.branchMismatch": "分支与筛选条件 “{branch}” 不匹配。",
|
|
20
|
+
"dryRun.git.checkError": "Git 触发器:检查失败——{error}。",
|
|
21
|
+
"dryRun.git.notRepo": "任务设置了 Git 触发器,但工作目录不是 Git 仓库。",
|
|
22
|
+
"dryRun.manual": "手动运行(作为流水线的一部分)。",
|
|
23
|
+
"dryRun.matrix.expandError": "无法展开矩阵:{error}",
|
|
24
|
+
"dryRun.matrix.parent": "[{name}] 矩阵父任务本身不会执行——按工作区显示 {count} 个克隆。",
|
|
25
|
+
"dryRun.mcp.event": "MCP 事件 {server}:{event}{filter}。",
|
|
26
|
+
"dryRun.mcp.filter": "(筛选条件 “{filter}”)",
|
|
27
|
+
"dryRun.mcp.missing": "MCP 事件(参数未设置)。",
|
|
28
|
+
"dryRun.noHistory": "历史中没有成功运行——无法估算时长/令牌/成本。",
|
|
29
|
+
"dryRun.once": "一次性运行。",
|
|
30
|
+
"dryRun.once.at": "在 {runAt} 一次性运行。",
|
|
31
|
+
"dryRun.taskNotFound": "任务 “{task}” 不存在。",
|
|
32
|
+
"dryRun.window.noOpening": "当前{reason}:未找到时间窗开放时段,运行已跳过。",
|
|
33
|
+
"dryRun.window.outside": "不在时间窗内",
|
|
34
|
+
"dryRun.window.postpone": "当前{reason}:运行将推迟到 {nextOpenAt}。",
|
|
35
|
+
"dryRun.window.run": "当前{reason}:run 策略——任务仍将执行。",
|
|
36
|
+
"dryRun.window.skip": "当前{reason}:skip 策略下将跳过运行。",
|
|
37
|
+
"gitTrigger.baseline": "已记录当前提交 {commit}——任务将在下次变更时运行。",
|
|
38
|
+
"gitTrigger.branchMismatch": "分支 {branch} 与筛选条件 “{pattern}” 不匹配。",
|
|
39
|
+
"gitTrigger.changed": "新提交 {commit}:{count} 个文件已更改({files})。",
|
|
40
|
+
"gitTrigger.diffFailed": "无法读取 Git 变更:{error}。状态未推进——将在下次轮询时重试。",
|
|
41
|
+
"gitTrigger.ignored": "已更改文件:{count},但没有一个匹配筛选条件。",
|
|
42
|
+
"gitTrigger.noChanges": "没有新提交。",
|
|
43
|
+
"gitTrigger.noRepo": "“{cwd}” 不是 Git 仓库——Git 触发器不会触发。",
|
|
44
|
+
"gui.add": "+ 添加",
|
|
45
|
+
"gui.addWorkspaceFirst": "请先添加至少一个工作区。",
|
|
46
|
+
"gui.aggregation": "聚合",
|
|
47
|
+
"gui.allowedToolsLabel": "白名单(allowedTools)",
|
|
48
|
+
"gui.app.title": "任务调度器",
|
|
49
|
+
"gui.auditAction": "操作",
|
|
50
|
+
"gui.auditActionPlaceholder": "例如 task.create",
|
|
51
|
+
"gui.auditActor": "操作者",
|
|
52
|
+
"gui.auditDeletedFrom": "删除自",
|
|
53
|
+
"gui.auditEmpty": "暂无审计记录。",
|
|
54
|
+
"gui.auditEnable": "启用审计",
|
|
55
|
+
"gui.auditHeading": "📜 审计日志",
|
|
56
|
+
"gui.auditHint": "记录任务、设置、模板、配置、工作区、密钥、导入和历史清理的变更。详情会被遮蔽(密钥替换为 {redacted})。",
|
|
57
|
+
"gui.auditSource": "来源",
|
|
58
|
+
"gui.auditStorageHeading": "审计日志——存储",
|
|
59
|
+
"gui.auditTarget": "目标",
|
|
60
|
+
"gui.auditTargetPlaceholder": "任务/密钥名称",
|
|
61
|
+
"gui.auditTime": "时间",
|
|
62
|
+
"gui.botTokenEnvHint": "无需将令牌保存在 settings.json 中:设置 OPENCODE_SCHEDULER_TELEGRAM_BOT_TOKEN 和 OPENCODE_SCHEDULER_TELEGRAM_CHAT_ID 即可。",
|
|
63
|
+
"gui.botTokenPlaceholder": "来自 @BotFather 的机器人令牌",
|
|
64
|
+
"gui.cancel": "取消",
|
|
65
|
+
"gui.chatIdPlaceholder": "chat_id(例如 123456789 或 -100...)",
|
|
66
|
+
"gui.cleaningUp": "正在清理…",
|
|
67
|
+
"gui.cleanupNow": "🧹 立即清理",
|
|
68
|
+
"gui.collapseFormTitle": "折叠表单",
|
|
69
|
+
"gui.common.projectDir": "(项目文件夹)",
|
|
70
|
+
"gui.common.unknownError": "未知错误",
|
|
71
|
+
"gui.concurrencySequentialPlaceholder": "1(串行)",
|
|
72
|
+
"gui.concurrencyUnlimitedPlaceholder": "无限制",
|
|
73
|
+
"gui.createProfile": "+ 创建",
|
|
74
|
+
"gui.createTask": "➕ 创建任务",
|
|
75
|
+
"gui.createTaskSubmit": "创建任务",
|
|
76
|
+
"gui.creating": "正在创建…",
|
|
77
|
+
"gui.cron.custom": "自定义计划…",
|
|
78
|
+
"gui.cron.dailyAt9": "每天 09:00",
|
|
79
|
+
"gui.cron.everyHour": "每小时",
|
|
80
|
+
"gui.cron.everyMinute": "每分钟",
|
|
81
|
+
"gui.cron.mondayAt10": "每周一 10:00",
|
|
82
|
+
"gui.cronExprLabel": "Cron 表达式",
|
|
83
|
+
"gui.customTemplate": "自定义模板:",
|
|
84
|
+
"gui.dashboardLink": "仪表盘链接",
|
|
85
|
+
"gui.days": "天",
|
|
86
|
+
"gui.defaultSuffix": "(默认)",
|
|
87
|
+
"gui.delete": "删除",
|
|
88
|
+
"gui.deleteTemplateTitle": "删除模板",
|
|
89
|
+
"gui.deniedToolsLabel": "黑名单(deniedTools)",
|
|
90
|
+
"gui.dependsOnHint": "当所有选中的任务成功完成后,该任务将自动启动。",
|
|
91
|
+
"gui.dependsOnLabel": "依赖任务(成功完成)",
|
|
92
|
+
"gui.digestChannels": "渠道:webhook、Telegram、系统原生通知。",
|
|
93
|
+
"gui.digestDaily": "每天",
|
|
94
|
+
"gui.digestEnable": "发送摘要",
|
|
95
|
+
"gui.digestHeading": "摘要",
|
|
96
|
+
"gui.digestHint": "每天/每周的运行次数、成功率、成本和主要错误。",
|
|
97
|
+
"gui.digestLastSent": "上次发送:{when}",
|
|
98
|
+
"gui.digestNeverSent": "尚未发送",
|
|
99
|
+
"gui.digestWeekly": "每周(周一)",
|
|
100
|
+
"gui.dryRunButton": "🧪 预览",
|
|
101
|
+
"gui.dryRunLocalTitle": "🧪 预览(本地,基于表单字段)",
|
|
102
|
+
"gui.dryRunMatrixPreview": "矩阵:每个工作区将创建 {count, plural, other {# 个克隆}};父任务本身不运行。",
|
|
103
|
+
"gui.dryRunNoNameWarning": "未指定名称——预览为本地预览(表单未保存)。",
|
|
104
|
+
"gui.dryRunPreviewTitle": "基于当前表单字段的命令本地预览(无 RPC,不运行)",
|
|
105
|
+
"gui.editingTask": "正在编辑任务",
|
|
106
|
+
"gui.emptyNormal": "没有活动任务。创建第一个任务,把例行工作交给 AI!",
|
|
107
|
+
"gui.emptyWinter": "还没有任务。是时候装饰圣诞树了!",
|
|
108
|
+
"gui.errorBoundaryDetail": "显示发生错误。请尝试重新加载面板。",
|
|
109
|
+
"gui.expandFormTitle": "展开任务创建表单",
|
|
110
|
+
"gui.export": "导出",
|
|
111
|
+
"gui.exportBusy": "正在导出…",
|
|
112
|
+
"gui.filterExcludePlaceholder": "排除任务(逗号分隔,* 为通配符)",
|
|
113
|
+
"gui.filterHint": "空的“仅”列表 = 所有任务。排除优先于包含。",
|
|
114
|
+
"gui.filterIncludePlaceholder": "仅这些任务(逗号分隔,* 为通配符)",
|
|
115
|
+
"gui.filterSummary": "筛选:{scope} · 显示 {visible} / {total}",
|
|
116
|
+
"gui.gitBranchesLabel": "分支(glob,逗号分隔;为空表示任意)",
|
|
117
|
+
"gui.gitIgnoreLabel": "忽略的路径(glob,每行一个)",
|
|
118
|
+
"gui.gitPathsLabel": "变更路径(glob,每行一个;为空表示任意文件)",
|
|
119
|
+
"gui.gitPollHint": "首次轮询会记录当前 HEAD 而不运行任务——之后任务将在触及匹配文件的新提交上启动。",
|
|
120
|
+
"gui.gitPollLabel": "轮询间隔,秒(最少 5,默认 60)",
|
|
121
|
+
"gui.hideForm": "隐藏表单 ▴",
|
|
122
|
+
"gui.history.durationMs": "{ms} 毫秒",
|
|
123
|
+
"gui.history.error": "❌ 失败",
|
|
124
|
+
"gui.history.modelTitle": "模型:{model}",
|
|
125
|
+
"gui.history.nextTaskTitle": "链中的下一个任务已启动",
|
|
126
|
+
"gui.history.success": "✅ 成功",
|
|
127
|
+
"gui.historyCleanupHint": "仅删除已完成的记录;未完成的运行会保留。",
|
|
128
|
+
"gui.historyDeleteOlderLabel": "删除早于以下天数的记录",
|
|
129
|
+
"gui.historyHeading": "🧹 历史记录与保留策略",
|
|
130
|
+
"gui.historyKeepMaxLabel": "最多保留记录数",
|
|
131
|
+
"gui.historyNoExpiry": "无期限",
|
|
132
|
+
"gui.historyNoLimit": "无限制",
|
|
133
|
+
"gui.historyOlderThan": "早于 {days} 天",
|
|
134
|
+
"gui.historyUpToRecords": "最多 {count} 条记录",
|
|
135
|
+
"gui.import": "导入",
|
|
136
|
+
"gui.importBusy": "正在导入…",
|
|
137
|
+
"gui.job.activeDaysTitle": "仅在以下日期运行:{days}",
|
|
138
|
+
"gui.job.cancelMatrixTitle": "取消正在运行的矩阵克隆 “{name}”",
|
|
139
|
+
"gui.job.deleteMatrixTitle": "删除矩阵 “{name}” 及其克隆",
|
|
140
|
+
"gui.job.deleteTitle": "删除 “{name}”",
|
|
141
|
+
"gui.job.dependsOn": "🔗 依赖于:{list}",
|
|
142
|
+
"gui.job.dryRunTitle": "Dry-Run 模拟 “{name}”",
|
|
143
|
+
"gui.job.durationEst": "⏱ 约 {seconds} 秒",
|
|
144
|
+
"gui.job.editTitle": "编辑 “{name}”",
|
|
145
|
+
"gui.job.fanoutConcurrency": ",并发:{concurrency}",
|
|
146
|
+
"gui.job.fanoutOverrides": ",工作区覆盖:{overrides}",
|
|
147
|
+
"gui.job.fanoutTitle": "矩阵扇出:{count} 个克隆,策略:{strategy},失败时:{failureMode}{concurrency}{overrides}",
|
|
148
|
+
"gui.job.gitTriggerBranch": ",分支 {branch}",
|
|
149
|
+
"gui.job.gitTriggerPaths": ",路径:{paths}",
|
|
150
|
+
"gui.job.gitTriggerTitle": "Git 触发器:新提交{branch}{paths}。每 {seconds} 秒轮询。",
|
|
151
|
+
"gui.job.historyEmpty": "还没有运行记录。",
|
|
152
|
+
"gui.job.historyPanelTitle": "📜 最近的运行历史",
|
|
153
|
+
"gui.job.historyTitle": "历史 “{name}”",
|
|
154
|
+
"gui.job.logonModeUnknown": "未知",
|
|
155
|
+
"gui.job.logsTitle": "日志 “{name}”",
|
|
156
|
+
"gui.job.matrixClone": "矩阵克隆。父任务:{parent}",
|
|
157
|
+
"gui.job.matrixDone": "📦 矩阵:{success}/{total} 成功",
|
|
158
|
+
"gui.job.mcpEventFilterSuffix": "(筛选条件:{filter})",
|
|
159
|
+
"gui.job.mcpEventTitle": "MCP 事件:{event}{filterSuffix}",
|
|
160
|
+
"gui.job.modelTitle": "LLM 模型:{model}",
|
|
161
|
+
"gui.job.pauseTitle": "暂停 “{name}”",
|
|
162
|
+
"gui.job.pauseUnavailable": "任务 “{name}” 在操作系统计划程序中不存在——无法暂停",
|
|
163
|
+
"gui.job.pausedUntilShort": "⏸ 到 {date}",
|
|
164
|
+
"gui.job.pausedUntilTitle": "已暂停至 {date}——任务将自动恢复。",
|
|
165
|
+
"gui.job.priorityTitle": "优先级:{label}({priority})",
|
|
166
|
+
"gui.job.resumeTitle": "恢复 “{name}”",
|
|
167
|
+
"gui.job.runTitle": "运行 “{name}”",
|
|
168
|
+
"gui.job.runWhenLoggedOffShort": "无需登录",
|
|
169
|
+
"gui.job.runWhenLoggedOffTitle": "任务在无用户登录时运行。计划程序登录模式:{mode}",
|
|
170
|
+
"gui.job.runsLine": "📊 总计:{total} | ✅ {success} | 🟠 {partial} | ❌ {error}",
|
|
171
|
+
"gui.job.runsTitle": "仅此任务的运行:成功 / 部分成功 / 错误与超时",
|
|
172
|
+
"gui.job.sessionContinueShort": "↪ 继续",
|
|
173
|
+
"gui.job.sessionContinueTitle": "继续上一个 OpenCode 会话(--continue)",
|
|
174
|
+
"gui.job.sessionReuseShort": "⟳ 会话",
|
|
175
|
+
"gui.job.sessionReuseTitle": "可复用的 OpenCode 会话",
|
|
176
|
+
"gui.job.sessionReuseTitleId": "可复用的 OpenCode 会话:{id}",
|
|
177
|
+
"gui.job.simulating": "模拟中…",
|
|
178
|
+
"gui.job.simulationFailed": "模拟失败",
|
|
179
|
+
"gui.job.timezoneTitle": "任务时区:{tz}",
|
|
180
|
+
"gui.job.tokensEst": "· 约 {tokens} 令牌",
|
|
181
|
+
"gui.job.toolLimitsTitle": "工具限制:{limits}",
|
|
182
|
+
"gui.job.totalsLine": "Σ {duration} 秒 · {tokens} 令牌{cost}",
|
|
183
|
+
"gui.job.watchFile": "文件监视:{path}",
|
|
184
|
+
"gui.job.watchGlobsCount": "✳ {count, plural, other {# 个模式}}",
|
|
185
|
+
"gui.job.watchGlobsTitle": "文件触发器 Glob 模式:{globs}",
|
|
186
|
+
"gui.job.windowTitle": "运行时间窗:{from}–{to}。在时间窗外,运行会推迟到时间窗开始。",
|
|
187
|
+
"gui.jobStatus.error": "🔴 错误",
|
|
188
|
+
"gui.jobStatus.never": "⚪ 从未运行",
|
|
189
|
+
"gui.jobStatus.orphan": "🧟 不在操作系统计划程序中",
|
|
190
|
+
"gui.jobStatus.partial": "🟠 部分",
|
|
191
|
+
"gui.jobStatus.paused": "⏸ 暂停",
|
|
192
|
+
"gui.jobStatus.running": "🟡 正在运行:{seconds} 秒",
|
|
193
|
+
"gui.jobStatus.success": "🟢 完成",
|
|
194
|
+
"gui.jobStatus.unknown": "⚪ 未知",
|
|
195
|
+
"gui.jobsTitle": "调度器",
|
|
196
|
+
"gui.languageAuto": "自动(跟随 OpenCode)",
|
|
197
|
+
"gui.languageEn": "英语",
|
|
198
|
+
"gui.languageRu": "俄语",
|
|
199
|
+
"gui.languageTitle": "界面语言:「自动」跟随 OpenCode 语言",
|
|
200
|
+
"gui.languageZh": "中文",
|
|
201
|
+
"gui.lastCleanupDone": "{when} · 已删除 {deleted}",
|
|
202
|
+
"gui.lastCleanupLabel": "上次清理:",
|
|
203
|
+
"gui.lastCleanupNever": "尚未运行",
|
|
204
|
+
"gui.loading": "正在加载…",
|
|
205
|
+
"gui.logs.empty": "(空)",
|
|
206
|
+
"gui.logs.loadFailed": "加载日志失败",
|
|
207
|
+
"gui.logs.loading": "加载日志中…",
|
|
208
|
+
"gui.logs.readError": "读取日志失败:",
|
|
209
|
+
"gui.logsHeading": "日志",
|
|
210
|
+
"gui.matrix.cancelClonesConfirm": "取消运行中的矩阵克隆 “{name}”?",
|
|
211
|
+
"gui.matrix.deleteConfirm": "删除矩阵 “{name}” 及其所有克隆和聚合任务?",
|
|
212
|
+
"gui.matrixAggregator": "创建聚合任务 matrix-complete(在所有克隆完成后运行)",
|
|
213
|
+
"gui.matrixAllFailed": "全部失败",
|
|
214
|
+
"gui.matrixConcurrency": "并发克隆数(concurrency)",
|
|
215
|
+
"gui.matrixContinue": "continue — 继续执行",
|
|
216
|
+
"gui.matrixHint": "模板任务会扩展为每个工作区的克隆。父任务本身不执行——它启动克隆并汇总结果。",
|
|
217
|
+
"gui.matrixModelPlaceholder": "模型(覆盖)",
|
|
218
|
+
"gui.matrixNotifyEnable": "通知矩阵完成",
|
|
219
|
+
"gui.matrixNotifyHeading": "矩阵",
|
|
220
|
+
"gui.matrixOverridesTitle": "⚙ 按工作区覆盖 — 已覆盖 {count}",
|
|
221
|
+
"gui.matrixParallel": "parallel — 全部同时",
|
|
222
|
+
"gui.matrixPerTask": "per-task — 按任务",
|
|
223
|
+
"gui.matrixPromptPlaceholder": "提示词(默认——共用表单提示词)",
|
|
224
|
+
"gui.matrixSelectHint": "至少选择一个工作区——克隆预览将在此处显示。",
|
|
225
|
+
"gui.matrixSequential": "sequential — 逐一执行",
|
|
226
|
+
"gui.matrixStop": "stop — 停止",
|
|
227
|
+
"gui.matrixStuckHint": "运行时间超过给定时长的克隆会被通知一次。0 —— 禁用。",
|
|
228
|
+
"gui.matrixStuckMinutes": "停滞克隆,分钟:",
|
|
229
|
+
"gui.matrixSummary": "summary — 汇总",
|
|
230
|
+
"gui.matrixWillCreate": "将创建 {count, plural, other {# 个克隆}}:",
|
|
231
|
+
"gui.matrixWorkspacesSelected": "工作区(用于矩阵)——已选择",
|
|
232
|
+
"gui.maxConcurrentLabel": "最大并发任务数:",
|
|
233
|
+
"gui.maxRetriesLabel": "失败重试次数",
|
|
234
|
+
"gui.mcpEventLabel": "事件名称",
|
|
235
|
+
"gui.mcpEventPlaceholder": "例如 github.pr.opened",
|
|
236
|
+
"gui.mcpFilterHint": "key=value 会与 payload 字段比较;否则筛选条件按正则/子串处理。事件通过 RPC emit_event 到达。",
|
|
237
|
+
"gui.mcpFilterLabel": "筛选(可选)",
|
|
238
|
+
"gui.mcpFilterPlaceholder": "例如 repo=\"my-project\" 或正则",
|
|
239
|
+
"gui.mcpSourceLabel": "MCP 服务器 / 来源",
|
|
240
|
+
"gui.mcpSourcePlaceholder": "例如 github",
|
|
241
|
+
"gui.metricsTotalsLine": "📊 所有任务合计:{total} · ✅ {success} · ❌ {error}",
|
|
242
|
+
"gui.metricsTotalsTitle": "所有任务的汇总指标(包括归档的指标记录)",
|
|
243
|
+
"gui.modalShortcutHint": "Ctrl+Enter——保存,Escape——取消",
|
|
244
|
+
"gui.modelHint": "留空——使用 OpenCode 默认模型。否则会传入 --model 标志。",
|
|
245
|
+
"gui.modelLabel": "LLM 模型",
|
|
246
|
+
"gui.modelPlaceholder": "默认(同 OpenCode)",
|
|
247
|
+
"gui.nativeHint": "Windows Toast、macOS Notification Center、Linux notify-send。无外部依赖。",
|
|
248
|
+
"gui.nativeNotifications": "操作系统原生通知",
|
|
249
|
+
"gui.newTask": "新建任务",
|
|
250
|
+
"gui.noNameFallback": "(无名称)",
|
|
251
|
+
"gui.noOtherTasks": "暂时没有其他任务",
|
|
252
|
+
"gui.noWorkspaceOption": "无工作区——使用工作目录",
|
|
253
|
+
"gui.notifications": "🔔 通知",
|
|
254
|
+
"gui.notifyAllRuns": "所有运行",
|
|
255
|
+
"gui.notifyDisabled": "已关闭",
|
|
256
|
+
"gui.notifyEnable": "启用通知",
|
|
257
|
+
"gui.notifyOnlyErrors": "仅错误",
|
|
258
|
+
"gui.notifyOnlyOnError": "仅在出错时",
|
|
259
|
+
"gui.ok": "确定",
|
|
260
|
+
"gui.onFailure": "出错时",
|
|
261
|
+
"gui.oneShotDelayHint": "或从点击“创建任务”起的延迟秒数:",
|
|
262
|
+
"gui.oneShotDelayPlaceholder": "例如 3600",
|
|
263
|
+
"gui.oneShotHint": "runAt 优先:若设置了时间,则忽略 delaySeconds。运行一次后任务不再重复。",
|
|
264
|
+
"gui.oneShotTimeLabel": "一次性运行时间",
|
|
265
|
+
"gui.oneShotTimePlaceholder": "2026-11-14T10:00:00.000Z 或本地日期",
|
|
266
|
+
"gui.openDashboard": "🌐 打开仪表盘",
|
|
267
|
+
"gui.openDashboardTitle": "打开本地网页仪表盘(实际服务器端口)",
|
|
268
|
+
"gui.otherPriorityOption": "其他({priority})",
|
|
269
|
+
"gui.outsideWindowLabel": "时间窗之外或不允许的日期",
|
|
270
|
+
"gui.parseModeLabel": "标记:",
|
|
271
|
+
"gui.postflightHint": "例如 git push 或 npm run build。即使主任务失败,也会在任务工作目录中执行。",
|
|
272
|
+
"gui.postflightLabel": "运行后命令(Post-flight)",
|
|
273
|
+
"gui.postflightPlaceholder": "例如 git push",
|
|
274
|
+
"gui.preflightHint": "例如 git pull 或 npm install。在任务工作目录中执行。非零退出码会取消运行(Pre-flight script failed)。",
|
|
275
|
+
"gui.preflightLabel": "运行前命令(Pre-flight)",
|
|
276
|
+
"gui.preflightPlaceholder": "例如 git pull",
|
|
277
|
+
"gui.priority.critical": "严重",
|
|
278
|
+
"gui.priority.high": "高",
|
|
279
|
+
"gui.priority.low": "低",
|
|
280
|
+
"gui.priority.normal": "正常",
|
|
281
|
+
"gui.priorityHint": "如果几个任务同时就绪,优先级最高的任务先启动。",
|
|
282
|
+
"gui.priorityLabel": "优先级",
|
|
283
|
+
"gui.profile.deleteConfirm": "删除配置档 “{name}” 及其数据库、设置和日志?",
|
|
284
|
+
"gui.profile.namePrompt": "新配置档名称(拉丁字母、数字、- 和 _)",
|
|
285
|
+
"gui.profileActive": "当前",
|
|
286
|
+
"gui.profileDelete": "删除",
|
|
287
|
+
"gui.profileEnvLocked": "配置档由 OPENCODE_SCHEDULER_PROFILE 变量指定。无法在 GUI 中切换。",
|
|
288
|
+
"gui.profileEnvLockedTitle": "配置档由 OPENCODE_SCHEDULER_PROFILE 环境变量指定——无法在 GUI 中切换",
|
|
289
|
+
"gui.profilePort": "端口 {port}",
|
|
290
|
+
"gui.profilePortDefault": "默认端口",
|
|
291
|
+
"gui.profileSwitch": "切换",
|
|
292
|
+
"gui.profilesHeading": "👤 配置档",
|
|
293
|
+
"gui.profilesHint": "每个配置档都有自己的数据库、设置、日志和仪表盘端口。切换后请重启 OpenCode。",
|
|
294
|
+
"gui.profilesTitle": "配置档:独立的数据库、设置和仪表盘端口",
|
|
295
|
+
"gui.projectFolderFallback": "(项目文件夹)",
|
|
296
|
+
"gui.promptLabel": "提示词",
|
|
297
|
+
"gui.promptPlaceholder": "写一份简短的市场报告",
|
|
298
|
+
"gui.promptTemplateLabel": "提示词模板",
|
|
299
|
+
"gui.promptTemplates.codeHygiene": "代码卫生",
|
|
300
|
+
"gui.promptTemplates.codeHygienePrompt": "审计代码卫生:查找未使用的导入、未使用的变量、多余的依赖项并提出修复建议。",
|
|
301
|
+
"gui.promptTemplates.custom": "自定义提示词",
|
|
302
|
+
"gui.promptTemplates.morningDigest": "早晨摘要",
|
|
303
|
+
"gui.promptTemplates.morningDigestPrompt": "编制早晨摘要:过夜有哪些变化,是否有构建失败,今天需要关注什么。",
|
|
304
|
+
"gui.promptTemplates.nightWatch": "夜间守护(测试)",
|
|
305
|
+
"gui.promptTemplates.nightWatchPrompt": "运行夜间检查:运行测试,记录失败并撰写简短的仓库状态报告。",
|
|
306
|
+
"gui.qualityGateHint": "在 AI 成功响应后执行。非零退出码 = 任务失败。",
|
|
307
|
+
"gui.qualityGateLabel": "校验命令(Quality Gate)",
|
|
308
|
+
"gui.qualityGatePlaceholder": "例如 npm run test",
|
|
309
|
+
"gui.quietFrom": "从",
|
|
310
|
+
"gui.quietHours": "免打扰时段",
|
|
311
|
+
"gui.quietHoursHint": "在免打扰时段内,success 和 partial 会被抑制;错误和超时会发送。",
|
|
312
|
+
"gui.quietTo": "到",
|
|
313
|
+
"gui.refresh": "刷新",
|
|
314
|
+
"gui.remoteNotSet": "未设置 remote",
|
|
315
|
+
"gui.retryCount": "重试次数:",
|
|
316
|
+
"gui.retryDelayLabel": "重试前延迟(秒)",
|
|
317
|
+
"gui.retryDelayMs": "暂停,毫秒:",
|
|
318
|
+
"gui.retryHint": "在网络错误、超时、5xx 和 429 时重试(指数退避)。",
|
|
319
|
+
"gui.runWhenLoggedOffHint": "Windows:即使无人登录,任务也会运行(/ru SYSTEM)。它运行在 session 0 中——没有你的用户配置、映射驱动器或已保存的凭据——因此需要你的文件或网络的任务可能失败。创建此类任务通常需要以管理员身份运行 OpenCode。",
|
|
320
|
+
"gui.runWhenLoggedOffLabel": "在无用户登录时运行",
|
|
321
|
+
"gui.save": "💾 保存",
|
|
322
|
+
"gui.saveAsTemplate": "💾 另存为模板",
|
|
323
|
+
"gui.saveAsTemplateTitle": "将当前表单设置保存为模板",
|
|
324
|
+
"gui.saving": "正在保存…",
|
|
325
|
+
"gui.scheduleLabel": "调度",
|
|
326
|
+
"gui.secretNamePlaceholder": "密钥名称(A-Za-z0-9_.-)",
|
|
327
|
+
"gui.secretValuePlaceholder": "值(读取时不会返回)",
|
|
328
|
+
"gui.secrets": "🔐 密钥",
|
|
329
|
+
"gui.secretsEmpty": "没有密钥。值以加密形式存储在 secrets.json 中。",
|
|
330
|
+
"gui.secretsUsage": "在任务中使用 {secretRef} 引用——运行时从保险库注入值,并在日志中掩码。",
|
|
331
|
+
"gui.sendDigestNow": "📊 立即发送摘要",
|
|
332
|
+
"gui.sendTestNotification": "🧪 测试通知",
|
|
333
|
+
"gui.sending": "正在发送…",
|
|
334
|
+
"gui.sessionContinue": "上一个(--continue)",
|
|
335
|
+
"gui.sessionLabel": "OpenCode 会话",
|
|
336
|
+
"gui.sessionMaxRunsHint": "sessionId 由插件自动生成。达到上限后会话会被移除,下一次运行将启动一个全新会话。",
|
|
337
|
+
"gui.sessionMaxRunsLabel": "会话可存活的运行次数(sessionMaxRuns,可选)",
|
|
338
|
+
"gui.sessionNew": "新建",
|
|
339
|
+
"gui.sessionReuse": "复用",
|
|
340
|
+
"gui.silent": "静音",
|
|
341
|
+
"gui.strategy": "策略",
|
|
342
|
+
"gui.task.deleteConfirm": "删除任务 “{name}”?",
|
|
343
|
+
"gui.taskFiltersHeading": "任务筛选",
|
|
344
|
+
"gui.taskNameLabel": "任务名称",
|
|
345
|
+
"gui.taskNamePlaceholder": "例如 Gui-Test",
|
|
346
|
+
"gui.tasksHeading": "任务",
|
|
347
|
+
"gui.templateErrorPlaceholder": "❌ 任务 “{task}” 失败({duration}){error}",
|
|
348
|
+
"gui.templateHint": "占位符:{task} {status} {duration} {error} {emoji} {cost} {tokens}。留空 = 默认模板。",
|
|
349
|
+
"gui.templateSuccessPlaceholder": "✅ 任务 “{task}” 已完成({duration})",
|
|
350
|
+
"gui.templates.deleteConfirm": "删除模板“{name}”?",
|
|
351
|
+
"gui.templates.namePrompt": "模板名称",
|
|
352
|
+
"gui.templatesHeading": "消息模板",
|
|
353
|
+
"gui.timeoutMs": "超时,毫秒:",
|
|
354
|
+
"gui.timezoneHint": "其他时区——任务每分钟唤醒,按该时区检查 cron。",
|
|
355
|
+
"gui.timezoneLabel": "时区(IANA)",
|
|
356
|
+
"gui.timezonePlaceholder": "留空——系统时区",
|
|
357
|
+
"gui.toast.chooseFile": "选择文件",
|
|
358
|
+
"gui.toast.deleteFailed": "删除失败",
|
|
359
|
+
"gui.toast.digestFailed": "摘要未发送",
|
|
360
|
+
"gui.toast.digestSent": "摘要已发送",
|
|
361
|
+
"gui.toast.envInvalid": "env 格式无效",
|
|
362
|
+
"gui.toast.envSaveError": "保存 env 时出错",
|
|
363
|
+
"gui.toast.envSaveFailed": "无法保存 env",
|
|
364
|
+
"gui.toast.envSaved": "环境变量已保存",
|
|
365
|
+
"gui.toast.exportFailed": "导出失败",
|
|
366
|
+
"gui.toast.exported": "已导出任务:{count}",
|
|
367
|
+
"gui.toast.historyCleanupDone": "历史记录清理完成",
|
|
368
|
+
"gui.toast.historyCleanupFailed": "历史记录清理失败",
|
|
369
|
+
"gui.toast.historyLoadFailed": "加载历史记录失败",
|
|
370
|
+
"gui.toast.importFailed": "导入失败",
|
|
371
|
+
"gui.toast.imported": "已导入任务:{count}",
|
|
372
|
+
"gui.toast.jobsLoadFailed": "加载任务失败",
|
|
373
|
+
"gui.toast.logsReadFailed": "读取日志失败",
|
|
374
|
+
"gui.toast.matrixCancelError": "取消矩阵失败",
|
|
375
|
+
"gui.toast.matrixCancelFailed": "无法取消矩阵",
|
|
376
|
+
"gui.toast.noFileForImport": "未选择用于导入的文件。",
|
|
377
|
+
"gui.toast.nothingToSave": "没有可保存的内容",
|
|
378
|
+
"gui.toast.pauseError": "暂停失败",
|
|
379
|
+
"gui.toast.pauseFailed": "无法暂停 “{name}”",
|
|
380
|
+
"gui.toast.paused": "任务 “{name}” 已暂停",
|
|
381
|
+
"gui.toast.profileCreateError": "创建配置档失败",
|
|
382
|
+
"gui.toast.profileCreateFailed": "无法创建配置档",
|
|
383
|
+
"gui.toast.profileCreated": "配置档已创建",
|
|
384
|
+
"gui.toast.profileDeleteError": "删除配置档失败",
|
|
385
|
+
"gui.toast.profileDeleteFailed": "无法删除配置档",
|
|
386
|
+
"gui.toast.profileDeleted": "配置档已删除",
|
|
387
|
+
"gui.toast.profileSwitchError": "切换配置档失败",
|
|
388
|
+
"gui.toast.profileSwitchFailed": "无法切换配置档",
|
|
389
|
+
"gui.toast.profileSwitched": "配置档已切换",
|
|
390
|
+
"gui.toast.promptRequired": "请先填写提示词——创建模板时必填。",
|
|
391
|
+
"gui.toast.resumeError": "恢复失败",
|
|
392
|
+
"gui.toast.resumeFailed": "无法恢复 “{name}”",
|
|
393
|
+
"gui.toast.resumed": "任务 “{name}” 已恢复",
|
|
394
|
+
"gui.toast.runFailed": "运行失败",
|
|
395
|
+
"gui.toast.secretDeleted": "密钥已删除",
|
|
396
|
+
"gui.toast.secretNotDeleted": "密钥未删除",
|
|
397
|
+
"gui.toast.secretNotSaved": "密钥未保存",
|
|
398
|
+
"gui.toast.secretSaved": "密钥已保存",
|
|
399
|
+
"gui.toast.settingsSaveFailed": "无法保存设置",
|
|
400
|
+
"gui.toast.taskCrashed": "任务 “{name}” 失败",
|
|
401
|
+
"gui.toast.taskCreateFailed": "创建任务失败",
|
|
402
|
+
"gui.toast.taskCreated": "任务已创建",
|
|
403
|
+
"gui.toast.taskDeleted": "任务 “{name}” 已删除",
|
|
404
|
+
"gui.toast.taskDone": "任务 “{name}” 已完成",
|
|
405
|
+
"gui.toast.taskStartFailed": "无法启动 “{name}”",
|
|
406
|
+
"gui.toast.taskStarted": "任务 “{name}” 已启动",
|
|
407
|
+
"gui.toast.taskUpdateFailed": "更新任务失败",
|
|
408
|
+
"gui.toast.taskUpdated": "任务已更新",
|
|
409
|
+
"gui.toast.templateDeleteError": "删除模板失败",
|
|
410
|
+
"gui.toast.templateDeleteFailed": "无法删除模板",
|
|
411
|
+
"gui.toast.templateDeleted": "模板 “{name}” 已删除",
|
|
412
|
+
"gui.toast.templateSaveError": "保存模板失败",
|
|
413
|
+
"gui.toast.templateSaveFailed": "无法保存模板",
|
|
414
|
+
"gui.toast.templateSaved": "模板 “{name}” 已保存",
|
|
415
|
+
"gui.toast.testFailed": "测试失败",
|
|
416
|
+
"gui.toast.testSent": "测试通知已发送",
|
|
417
|
+
"gui.toast.workspaceAddFailed": "添加工作区失败",
|
|
418
|
+
"gui.toast.workspaceAdded": "工作区已添加",
|
|
419
|
+
"gui.toast.workspaceDeleteFailed": "删除工作区失败",
|
|
420
|
+
"gui.toast.workspaceDeleted": "工作区已删除",
|
|
421
|
+
"gui.toast.workspaceUpdateFailed": "更新工作区失败",
|
|
422
|
+
"gui.toast.workspaceUpdated": "工作区已更新",
|
|
423
|
+
"gui.toolLimitsDenied": "冲突时以 denied 为准。空的 allowedTools 不被允许。",
|
|
424
|
+
"gui.toolLimitsHeading": "🔒 工具限制",
|
|
425
|
+
"gui.toolLimitsNote": "⚠ 仅元数据:opencode 2.2.3 没有 allow/deny 开关——限制只记录在日志和历史中。",
|
|
426
|
+
"gui.toolPlaceholder": "自定义工具,例如 websearch",
|
|
427
|
+
"gui.triggerCron": "按计划(Cron)",
|
|
428
|
+
"gui.triggerFile": "文件变更时",
|
|
429
|
+
"gui.triggerGit": "新提交(Git)",
|
|
430
|
+
"gui.triggerOnce": "一次性",
|
|
431
|
+
"gui.triggerTypeLabel": "触发器类型",
|
|
432
|
+
"gui.uiError": "UI 错误:{message}",
|
|
433
|
+
"gui.unboundedPlaceholder": "无限制",
|
|
434
|
+
"gui.validation.cronRequired": "请指定 cron 计划。",
|
|
435
|
+
"gui.validation.dependsOnSelf": "任务不能依赖自身。",
|
|
436
|
+
"gui.validation.gitPollInvalid": "Git 轮询间隔——不小于 5 的整数秒。",
|
|
437
|
+
"gui.validation.gitWorkspaceRequired": "对于 Git 触发器,请选择工作区或设置工作目录。",
|
|
438
|
+
"gui.validation.matrixConcurrencyInvalid": "矩阵并发数——正整数。",
|
|
439
|
+
"gui.validation.matrixWorkspacesRequired": "请为矩阵选择至少一个工作区。",
|
|
440
|
+
"gui.validation.priorityInvalid": "优先级——0 到 10 的整数。",
|
|
441
|
+
"gui.validation.promptRequired": "请指定提示词。",
|
|
442
|
+
"gui.validation.retryCountInvalid": "重试次数——≥ 0 的整数。",
|
|
443
|
+
"gui.validation.retryDelayInvalid": "重试延迟——≥ 0 的整数秒。",
|
|
444
|
+
"gui.validation.runAtRequired": "请指定运行时间或延迟。",
|
|
445
|
+
"gui.validation.sessionMaxRunsInvalid": "会话运行上限——正整数。",
|
|
446
|
+
"gui.validation.taskNameRequired": "请指定任务名称。",
|
|
447
|
+
"gui.validation.timezoneInvalid": "未知时区。请使用 IANA 时区,例如 Europe/Moscow。",
|
|
448
|
+
"gui.validation.windowPairRequired": "运行时间窗只能以起止成对设置。",
|
|
449
|
+
"gui.watchFileLabel": "要监视的文件路径",
|
|
450
|
+
"gui.watchFilePlaceholder": "例如 C:\\project\\src\\main.ts",
|
|
451
|
+
"gui.watchGlobsHint": "通配模式基于 watchPath 解析。支持 *、**、? 和 [abc] 字符类;带 /** 的目录模式为递归。",
|
|
452
|
+
"gui.watchGlobsLabel": "Glob 模式(每行一个,留空表示任意更改)",
|
|
453
|
+
"gui.watchIgnoreLabel": "排除(glob,每行一个)",
|
|
454
|
+
"gui.webhookLabel": "Webhook(Discord / Slack / 通用)",
|
|
455
|
+
"gui.webhookPostHint": "以 JSON {payload} 发送 POST——兼容 Discord 和 Slack。",
|
|
456
|
+
"gui.weekday.0": "周日",
|
|
457
|
+
"gui.weekday.1": "周一",
|
|
458
|
+
"gui.weekday.2": "周二",
|
|
459
|
+
"gui.weekday.3": "周三",
|
|
460
|
+
"gui.weekday.4": "周四",
|
|
461
|
+
"gui.weekday.5": "周五",
|
|
462
|
+
"gui.weekday.6": "周六",
|
|
463
|
+
"gui.weekdaysLabel": "星期(空 — 全部)",
|
|
464
|
+
"gui.windowEndTitle": "时间窗结束(可早于开始时间)",
|
|
465
|
+
"gui.windowHint": "在时间窗外,运行会被推迟到时间窗开始,而不是跳过。例如 22:00 — 06:00。",
|
|
466
|
+
"gui.windowLabel": "运行时间窗(可选)",
|
|
467
|
+
"gui.windowPolicyHint": "对 cron,策略在包装器中生效;对文件和 Git 触发器,在处理事件时生效。推迟最多等待 12 小时。",
|
|
468
|
+
"gui.windowPostpone": "推迟到时间窗开始(默认)",
|
|
469
|
+
"gui.windowRun": "仍然执行",
|
|
470
|
+
"gui.windowSkip": "跳过本次运行",
|
|
471
|
+
"gui.windowStartTitle": "时间窗开始",
|
|
472
|
+
"gui.winterMode": "❄️ 冬季模式",
|
|
473
|
+
"gui.winterModeTitle": "切换冬季主题",
|
|
474
|
+
"gui.withSound": "带声音",
|
|
475
|
+
"gui.workingDirectoryHint": "任务将在此文件夹中运行 opencode run——会在此处读取 opencode.json 中的 MCP 服务器。",
|
|
476
|
+
"gui.workingDirectoryLabel": "工作目录",
|
|
477
|
+
"gui.workingDirectoryPlaceholder": "默认——项目文件夹",
|
|
478
|
+
"gui.workspace.deleteConfirm": "删除工作区 “{name}”?任务保留,绑定将被清除。",
|
|
479
|
+
"gui.workspace.envFilePrompt": "工作区 .env 文件路径(可选,空 —— 无文件)",
|
|
480
|
+
"gui.workspace.envInvalidHelp": "每行需为 KEY=VALUE;名称——拉丁字母/数字/_",
|
|
481
|
+
"gui.workspace.envPrompt": "工作区环境变量,每行一个 KEY=VALUE(空值清除)",
|
|
482
|
+
"gui.workspace.envSecretsMasked": "秘密在日志中已掩码",
|
|
483
|
+
"gui.workspace.namePrompt": "工作区名称(可选)",
|
|
484
|
+
"gui.workspace.namePromptShort": "工作区名称",
|
|
485
|
+
"gui.workspace.pathPrompt": "git 仓库路径(工作区)",
|
|
486
|
+
"gui.workspace.pathPromptShort": "git 仓库路径",
|
|
487
|
+
"gui.workspaceAddTitle": "添加工作区(git 仓库)",
|
|
488
|
+
"gui.workspaceAll": "全部工作区",
|
|
489
|
+
"gui.workspaceDeleteTitle": "删除工作区(任务保留)",
|
|
490
|
+
"gui.workspaceEditTitle": "编辑工作区",
|
|
491
|
+
"gui.workspaceEmpty": "未添加工作区。无工作区的任务将使用项目工作目录。",
|
|
492
|
+
"gui.workspaceEnvFile": " · .env 文件",
|
|
493
|
+
"gui.workspaceEnvLine": "{count} 个变量",
|
|
494
|
+
"gui.workspaceEnvTitle": "工作区环境变量(秘密在日志中已掩码)",
|
|
495
|
+
"gui.workspaceFilterTitle": "按工作区筛选任务",
|
|
496
|
+
"gui.workspaceGitInfo": "git: {branch} · {remote}",
|
|
497
|
+
"gui.workspaceMultiRepo": "工作区(多仓库)",
|
|
498
|
+
"gui.workspaceNone": "无工作区",
|
|
499
|
+
"gui.zeroKeepByAge": "0 = 不按时间删除",
|
|
500
|
+
"gui.zeroNoLimit": "0 = 无限制",
|
|
501
|
+
"gui.zeroUnlimited": "(0 = 无限制)",
|
|
502
|
+
"localAi.asyncHint": "模型模式(llm/auto)会异步进行分诊:通知立即发送,裁决写入审计日志。如果规则必须抑制通知,请使用规则模式。",
|
|
503
|
+
"localAi.baseUrl": "API 基础 URL(Ollama 或 OpenAI 兼容)",
|
|
504
|
+
"localAi.fallback": "当模型不响应时",
|
|
505
|
+
"localAi.fallback.notify": "无规则也通知",
|
|
506
|
+
"localAi.fallback.rules": "规则(fail-open)",
|
|
507
|
+
"localAi.hint": "模型名称为空或 Ollama 缺失不会阻止通知:由回退机制处理。URL 以 /v1 结尾会切换到 OpenAI 协议。",
|
|
508
|
+
"localAi.mode": "分诊模式",
|
|
509
|
+
"localAi.mode.auto": "先模型,后规则",
|
|
510
|
+
"localAi.mode.llm": "仅模型",
|
|
511
|
+
"localAi.mode.off": "关闭",
|
|
512
|
+
"localAi.mode.rules": "仅规则",
|
|
513
|
+
"localAi.model": "模型",
|
|
514
|
+
"localAi.modelPlaceholder": "例如 qwen3:4b",
|
|
515
|
+
"localAi.rulesHint": "内置规则涵盖错误、状态、成本和任务名称。自定义规则:notifications.triage.rules,例如 {\"field\":\"cost\",\"operator\":\"gte\",\"value\":1}。",
|
|
516
|
+
"localAi.status.checking": "检查连接中…",
|
|
517
|
+
"localAi.status.error": "无连接",
|
|
518
|
+
"localAi.status.idle": "连接未检查",
|
|
519
|
+
"localAi.status.ok": "已连接",
|
|
520
|
+
"localAi.test": "测试连接",
|
|
521
|
+
"localAi.testFailed": "无连接:{reason}",
|
|
522
|
+
"localAi.testOk": "已连接:{model},{latency} 毫秒",
|
|
523
|
+
"localAi.testing": "检测中…",
|
|
524
|
+
"localAi.threshold": "置信度阈值",
|
|
525
|
+
"localAi.timeout": "超时,毫秒",
|
|
526
|
+
"localAi.title": "本地助手(分诊)",
|
|
527
|
+
"localAi.wizard": "分诊设置向导",
|
|
528
|
+
"localAi.wizard.back": "返回",
|
|
529
|
+
"localAi.wizard.closed": "向导未做更改即关闭。",
|
|
530
|
+
"localAi.wizard.finish": "完成并应用",
|
|
531
|
+
"localAi.wizard.next": "下一步",
|
|
532
|
+
"localAi.wizard.rule.costHigh": "5. cost-high — 成本 ≥ $1",
|
|
533
|
+
"localAi.wizard.rule.errorNetwork": "3. error-network — 网络 / DNS",
|
|
534
|
+
"localAi.wizard.rule.errorPermission": "2. error-permission — 权限拒绝",
|
|
535
|
+
"localAi.wizard.rule.errorQuality": "4. error-quality — 质量 / 构建",
|
|
536
|
+
"localAi.wizard.rule.errorTimeout": "1. error-timeout — 超时 / 网络错误",
|
|
537
|
+
"localAi.wizard.rule.statusError": "7. status-error — 任务失败",
|
|
538
|
+
"localAi.wizard.rule.statusSuccess": "8. status-success — 任务成功",
|
|
539
|
+
"localAi.wizard.rule.taskImportant": "6. task-important — deploy/release/backup/迁移",
|
|
540
|
+
"localAi.wizard.saveFailed": "无法保存设置。修复错误后重试。",
|
|
541
|
+
"localAi.wizard.screen1.baseUrl": "供应商基础 URL",
|
|
542
|
+
"localAi.wizard.screen1.baseUrlDesc": "http://127.0.0.1:11434 或 https://api.openai.com/v1",
|
|
543
|
+
"localAi.wizard.screen1.baseUrlHint": "对于 Ollama 通常是 http://127.0.0.1:11434。对于 OpenAI 兼容 API,请输入完整的基础 URL,例如 https://api.openai.com/v1。",
|
|
544
|
+
"localAi.wizard.screen1.baseUrlRequired": "输入 OpenAI 兼容供应商的基础 URL。",
|
|
545
|
+
"localAi.wizard.screen1.consequence": "如果模型不响应:通知仍会送达(回退模式),且在 llm/auto 模式下分诊仅为建议性质。",
|
|
546
|
+
"localAi.wizard.screen1.desc": "本地模型读取任务完成通知并帮助决定是否发送。选择供应商和模型。",
|
|
547
|
+
"localAi.wizard.screen1.model": "模型",
|
|
548
|
+
"localAi.wizard.screen1.modelDesc": "例如 qwen3:4b、llama3.1:8b 或 gpt-4o-mini。",
|
|
549
|
+
"localAi.wizard.screen1.modelRequired": "输入模型——没有模型分诊无法连接。",
|
|
550
|
+
"localAi.wizard.screen1.provider": "供应商",
|
|
551
|
+
"localAi.wizard.screen1.provider.ollama": "Ollama(本地)",
|
|
552
|
+
"localAi.wizard.screen1.provider.openai": "OpenAI 兼容 API",
|
|
553
|
+
"localAi.wizard.screen1.title": "第 1 步,共 3 步——选择模型",
|
|
554
|
+
"localAi.wizard.screen2.desc": "为您的情况选择现成的设置包。",
|
|
555
|
+
"localAi.wizard.screen2.preset.minimal": "最小化",
|
|
556
|
+
"localAi.wizard.screen2.preset.minimal.desc": "仅规则:快速可靠,无模型。除非规则匹配,否则不会抑制通知。",
|
|
557
|
+
"localAi.wizard.screen2.preset.recommended": "推荐",
|
|
558
|
+
"localAi.wizard.screen2.preset.recommended.desc": "规则加本地模型。如果模型不响应,则应用规则。速度与准确度的最佳平衡。",
|
|
559
|
+
"localAi.wizard.screen2.title": "第 2 步,共 3 步——预设",
|
|
560
|
+
"localAi.wizard.screen3.confidenceHint": "这是“回退到规则的阈值”,而不是“通知过滤器”。如果模型置信度低于阈值,控制权将传递给规则(或如果设置了 fallback: notify,则发送通知)。",
|
|
561
|
+
"localAi.wizard.screen3.confidenceThreshold": "模型置信度阈值(confidenceThreshold):",
|
|
562
|
+
"localAi.wizard.screen3.desc": "查看分诊规则触发顺序,并设置模型置信度阈值。",
|
|
563
|
+
"localAi.wizard.screen3.ruleOrder": "规则触发顺序(先重要):",
|
|
564
|
+
"localAi.wizard.screen3.title": "第 3 步,共 3 步——规则顺序",
|
|
565
|
+
"localAi.wizard.start": "开始设置",
|
|
566
|
+
"matrix.aggregate.empty": "矩阵 “{parent}” 没有克隆。",
|
|
567
|
+
"matrix.aggregate.partial": "部分成功:{success} / {total} 成功,{errors} 失败。",
|
|
568
|
+
"matrix.aggregate.running": "正在运行:{done} / {total}。",
|
|
569
|
+
"matrix.aggregate.stopped": "在第一个错误后停止:{total} 中的 {errors} 失败。",
|
|
570
|
+
"matrix.aggregate.stoppedFirst": " 第一个错误 ({name}): {error}",
|
|
571
|
+
"matrix.aggregate.success": "所有 {total} 个克隆均已成功完成。",
|
|
572
|
+
"matrix.aggregator.prompt": "矩阵 “{parent}” 的所有克隆已完成。请检查结果:{clones}。",
|
|
573
|
+
"matrix.cancel.defaultReason": "用户已取消。",
|
|
574
|
+
"matrix.clone.runningChanges": "克隆 “{name}” 正在运行——更改将在其完成后应用。",
|
|
575
|
+
"matrix.clone.runningDeletion": "克隆 “{name}” 正在运行——删除推迟到其完成后。",
|
|
576
|
+
"matrix.deletionGuard": "任务 “{name}” 是矩阵 “{parent}” 的克隆。请整体删除矩阵(父项 + 所有克隆),或更改父项的工作区列表。",
|
|
577
|
+
"matrix.error.cloneCreation": "任务 “{task}”:未能创建任何矩阵克隆。",
|
|
578
|
+
"matrix.error.noClones": "矩阵 “{task}” 没有克隆——请重新创建任务以将其扩展到工作区。",
|
|
579
|
+
"matrix.error.notMatrix": "任务 “{task}” 不是矩阵。",
|
|
580
|
+
"matrix.error.workspaceIdsEmpty": "任务 “{task}”:matrix.workspaceIds 不能为空。",
|
|
581
|
+
"matrix.error.workspaceMissing": "任务 “{task}”:工作区 “{workspace}” 未找到。",
|
|
582
|
+
"matrix.error.duplicateCloneName": "任务 “{task}”:克隆名称 “{name}” 已被其他工作区占用。请重命名工作区,使克隆名称唯一。",
|
|
583
|
+
"notify.dedup.count": "(重复 {count})",
|
|
584
|
+
"notify.digest.cost": "成本:{cost} · 令牌:{tokens}",
|
|
585
|
+
"notify.digest.noErrors": "无错误 🎉",
|
|
586
|
+
"notify.digest.period.daily": "过去一天内",
|
|
587
|
+
"notify.digest.period.weekly": "本周内",
|
|
588
|
+
"notify.digest.runs": "运行次数:{total} — ✅ {success},❌ {error},⚠️ {partial}({rate}%)",
|
|
589
|
+
"notify.digest.title": "📊 {period} 的 {date} 摘要",
|
|
590
|
+
"notify.digest.topErrorRow": "• {message} — {count}",
|
|
591
|
+
"notify.digest.topErrors": "热门错误:",
|
|
592
|
+
"notify.error.digestDisabled": "通知已禁用。",
|
|
593
|
+
"notify.error.digestFailed": "未能将摘要发送到任何通道。",
|
|
594
|
+
"notify.error.digestMissing": "未找到摘要设置。",
|
|
595
|
+
"notify.error.digestNoChannels": "所有通道都已禁用。请启用 webhook、Telegram 或原生通知。",
|
|
596
|
+
"notify.error.nativeFailed": "显示通知失败。",
|
|
597
|
+
"notify.error.telegramApiBaseInvalid": "Telegram API 地址无效。",
|
|
598
|
+
"notify.error.telegramChatMissing": "未设置 Telegram chat_id。",
|
|
599
|
+
"notify.error.telegramNoCreds": "Telegram 已启用,但未设置 botToken/chatId。",
|
|
600
|
+
"notify.error.telegramScheme": "Telegram API 仅支持 http:// 或 https://。",
|
|
601
|
+
"notify.error.telegramTimeout": "Telegram API 超时({seconds} 秒)。",
|
|
602
|
+
"notify.error.telegramTokenInvalid": "Telegram 机器人令牌无效。",
|
|
603
|
+
"notify.error.telegramTokenMissing": "未设置 Telegram 机器人令牌。",
|
|
604
|
+
"notify.error.testChannelOff": "通道 {channel} 已禁用。",
|
|
605
|
+
"notify.error.testDisabled": "通知已禁用。请打开主开关。",
|
|
606
|
+
"notify.error.testNoChannels": "所有通道都已禁用。请启用 webhook、Telegram 或原生通知。",
|
|
607
|
+
"notify.error.testNotSent": "测试通知未发送。",
|
|
608
|
+
"notify.error.testUnknown": "未知错误",
|
|
609
|
+
"notify.error.webhookScheme": "Webhook 仅支持 http:// 或 https://。",
|
|
610
|
+
"notify.error.webhookTimeout": "请求超时({seconds} 秒)。",
|
|
611
|
+
"notify.error.webhookUrlInvalid": "Webhook URL 无效。",
|
|
612
|
+
"notify.error.webhookUrlMissing": "未设置 Webhook URL。",
|
|
613
|
+
"notify.matrix.failed": "❌ 矩阵 “{parent}” 完成并有错误:成功 {success},失败 {error},共 {total}。",
|
|
614
|
+
"notify.matrix.failedAll": "❌ 矩阵 “{parent}”:所有 {total} 个克隆均失败。",
|
|
615
|
+
"notify.matrix.partial": "⚠️ 矩阵 “{parent}” 部分完成:{total} 中成功 {success},失败 {error}。",
|
|
616
|
+
"notify.matrix.success": "✅ 矩阵 “{parent}” 完成:{total} 中 {success} 个克隆成功。",
|
|
617
|
+
"notify.native.title": "OpenCode Scheduler",
|
|
618
|
+
"notify.ok.digestSent": "摘要已发送。",
|
|
619
|
+
"notify.reason": ": {error}",
|
|
620
|
+
"notify.stuck": "⏳ 矩阵 “{parent}”:克隆 “{clone}” 已运行超过 {minutes} 分钟(开始于 {startedAt})。",
|
|
621
|
+
"notify.task.error": "❌ 任务 “{task}” 失败({duration}){error}{cost}",
|
|
622
|
+
"notify.task.success": "✅ 任务 “{task}” 已完成({duration}){cost}",
|
|
623
|
+
"notify.telegram.openDashboard": "📊 打开仪表盘",
|
|
624
|
+
"notify.telegram.openDashboardUrl": "📊 打开仪表盘:{url}",
|
|
625
|
+
"notify.test.body": "🧪 来自 OpenCode Scheduler 的测试通知 — 通道已正确配置。",
|
|
626
|
+
"notify.test.errors": "错误:{errors}。",
|
|
627
|
+
"notify.test.sent": "已发送:{channels}。",
|
|
628
|
+
"notify.usage.tokens": "{tokens} tok",
|
|
629
|
+
"schedule.error.cronEmptyItem": "列表 “{token}” 中有空项。",
|
|
630
|
+
"schedule.error.cronFields": "预期 5 个 cron 字段,实际 {count}: “{raw}”。",
|
|
631
|
+
"schedule.error.cronRangeBounds": "范围 “{item}” 超出 {min}..{max}。",
|
|
632
|
+
"schedule.error.cronRangeInvalid": "无效范围 “{item}”。",
|
|
633
|
+
"schedule.error.cronStepInvalid": "“{raw}” 中的无效步长 “/{step}”。",
|
|
634
|
+
"schedule.error.cronStepMissing": "“{raw}” 中的步长无效:“/” 前无内容。",
|
|
635
|
+
"schedule.error.cronValueBounds": "值 “{raw}” 超出 {min}..{max}。",
|
|
636
|
+
"schedule.error.everyInterval": "不支持的间隔 “@every {value}”(m: 1..59, h: 1..23, d: 1..31)。",
|
|
637
|
+
"schedule.error.lastDomOnly": "“L” 仅在“日”字段中受支持。",
|
|
638
|
+
"schedule.error.notAfterFormat": "notAfter 必须是 HH:MM 格式,而非 “{value}”。",
|
|
639
|
+
"schedule.error.notBeforeFormat": "notBefore 必须是 HH:MM 格式,而非 “{value}”。",
|
|
640
|
+
"schedule.error.weekdayBounds": "星期 “{value}” 在 “{field}” 中超出 0..7 范围。",
|
|
641
|
+
"schedule.reason.dayNotAllowed": "禁止的星期 ({days})",
|
|
642
|
+
"schedule.reason.outsideWindow": "时间不在窗口 {notBefore}–{notAfter} 内",
|
|
643
|
+
"schedule.weekday.0": "周日",
|
|
644
|
+
"schedule.weekday.1": "周一",
|
|
645
|
+
"schedule.weekday.2": "周二",
|
|
646
|
+
"schedule.weekday.3": "周三",
|
|
647
|
+
"schedule.weekday.4": "周四",
|
|
648
|
+
"schedule.weekday.5": "周五",
|
|
649
|
+
"schedule.weekday.6": "周六",
|
|
650
|
+
"server.hookTaskMissing": "任务 “{task}” 不存在——钩子已拒绝。",
|
|
651
|
+
"server.matrixNotFound": "矩阵 “{parentId}” 不存在。",
|
|
652
|
+
"server.methodNotAllowed": "方法不允许。",
|
|
653
|
+
"server.notFound": "页面不存在。",
|
|
654
|
+
"server.taskNotFound": "任务 “{task}” 不存在。",
|
|
655
|
+
"shadow.active": "Shadow 模式还剩 {days} 天激活",
|
|
656
|
+
"shadow.disabled": "Shadow 模式已禁用",
|
|
657
|
+
"shadow.enabled": "Shadow 模式已启用",
|
|
658
|
+
"shadow.expired": "Shadow 模式已过期",
|
|
659
|
+
"shadow.noData": "无数据",
|
|
660
|
+
"shadow.report": "Shadow 分诊报告",
|
|
661
|
+
"shadow.reset": "重置",
|
|
662
|
+
"shadow.skips": "将被抑制:{count}",
|
|
663
|
+
"shadow.total": "已记录决策:{count}",
|
|
664
|
+
"tool.error.allowedToolsEmpty": "任务 “{task}”:不允许空的 allowedTools——请提供工具列表或省略该字段。",
|
|
665
|
+
"tool.error.cronSchedule": "triggerType=cron 需要 cron 表达式 schedule。",
|
|
666
|
+
"tool.error.gitCwdRequired": "任务 “{task}”:Git 触发器需要工作目录或工作区。",
|
|
667
|
+
"tool.error.gitNoRepo": "任务 “{task}”:Git 触发器要求 “{path}” 是 Git 仓库。",
|
|
668
|
+
"tool.error.matrixCloneFailed": "克隆 “{clone}”(工作区 “{workspace}”):{error}",
|
|
669
|
+
"tool.error.matrixConcurrency": "任务 “{task}”:matrix.concurrency 必须是不小于 1 的数字。",
|
|
670
|
+
"tool.error.matrixExpandRuntime": "无法展开矩阵 “{name}”:{error}。已创建的克隆已移除。",
|
|
671
|
+
"tool.error.matrixNoClones": "矩阵 “{name}” 没有克隆。",
|
|
672
|
+
"tool.error.matrixNotMatrix": "任务 “{name}” 不是矩阵。",
|
|
673
|
+
"tool.error.matrixOverride": "任务 “{task}”:matrix.overrides 包含未在 workspaceIds 中列出的工作区 “{workspace}”。",
|
|
674
|
+
"tool.error.mcpEventRequired": "MCP 触发器需要事件名称(mcpEvent.event)。",
|
|
675
|
+
"tool.error.onceFields": "runAt/delaySeconds 仅在 triggerType=once 时允许。",
|
|
676
|
+
"tool.error.onceMatrixSchema": "One-shot 不能与矩阵组合:矩阵仅可手动启动。",
|
|
677
|
+
"tool.error.onceMatrixUpdate": "One-shot 不能与矩阵组合。",
|
|
678
|
+
"tool.error.onceSchedule": "triggerType=once 需要 runAt(ISO-8601)或 delaySeconds。",
|
|
679
|
+
"tool.error.oneShotMatrix": "任务 “{name}”:one-shot 不能与矩阵组合。请手动启动矩阵或使用 cron/文件触发器。",
|
|
680
|
+
"tool.error.pauseDateInvalid": "任务 “{name}”:暂停日期 “{until}” 无效。需要 ISO 瞬间,例如 2026-12-01T09:00:00Z。",
|
|
681
|
+
"tool.error.pauseDatePast": "任务 “{name}”:暂停日期已过。",
|
|
682
|
+
"tool.error.prepareFiles": "准备任务文件失败:{error}",
|
|
683
|
+
"tool.error.schedulerKeptFiles": "封装文件已保留用于诊断。",
|
|
684
|
+
"tool.error.schedulerNotConfirmed": "调度程序未确认创建任务 “{task}”:在 {scheduler} 中找不到它。",
|
|
685
|
+
"tool.error.schedulerRemovedFiles": "任务文件已删除;未创建数据库记录。",
|
|
686
|
+
"tool.error.sessionMaxRuns": "任务 “{name}”:sessionMaxRuns 必须是 ≥ 1 的整数。",
|
|
687
|
+
"tool.error.sessionUnknown": "任务 “{name}”:未知会话模式 “{session}”。",
|
|
688
|
+
"tool.error.taskNameMissing": "未传递任务名称。",
|
|
689
|
+
"tool.error.taskNotFound": "未找到任务 “{name}”。",
|
|
690
|
+
"tool.error.taskReason": "任务 “{name}”:{error}",
|
|
691
|
+
"tool.error.timezone": "任务 “{task}”:未知时区 “{timezone}”。请指定 IANA 时区,例如 Europe/Moscow。",
|
|
692
|
+
"tool.error.updateCron": "更新任务 “{name}” 需要 cron 计划。",
|
|
693
|
+
"tool.error.updatePrompt": "更新任务 “{name}” 需要提示词。",
|
|
694
|
+
"tool.error.window": "任务 “{task}”:{error}",
|
|
695
|
+
"tool.error.workspaceIdConflict": "任务 “{task}”:workspaceId 和 matrix.workspaceIds 不能同时使用。",
|
|
696
|
+
"tool.error.workspaceIdMissing": "未找到工作区 ‘{id}’。",
|
|
697
|
+
"tool.error.workspaceIdsEmpty": "任务 “{task}”:matrix.workspaceIds 不能为空。",
|
|
698
|
+
"tool.error.workspaceMissing": "任务 “{task}”:工作区 “{id}” 未找到。",
|
|
699
|
+
"tool.error.workspacePathMissing": "工作区 ‘{name}’ 在 ‘{path}’ 上不可用",
|
|
700
|
+
"tool.error.workspaceUnavailable": "任务 “{task}”:工作区 “{workspace}” 在 “{path}” 上不可用。",
|
|
701
|
+
"tool.error.wrapper": "创建任务封装失败:{error}",
|
|
702
|
+
"tool.event.nameRequired": "未传递事件名称。",
|
|
703
|
+
"tool.event.nameRequiredShort": "未传递事件名称(eventName)。",
|
|
704
|
+
"tool.event.none": "没有任务订阅事件 “{event}”。",
|
|
705
|
+
"tool.event.processed": "事件 “{event}” 已处理。启动的任务数:{count}。",
|
|
706
|
+
"tool.event.triggered": "启动的任务数:{count}。",
|
|
707
|
+
"tool.history.cleanFailed": "清理历史失败:{error}",
|
|
708
|
+
"tool.history.cleaned": "已删除 {deleted} 条记录(按年龄:{byAge},按上限:{byCount}),剩余 {kept} 条。",
|
|
709
|
+
"tool.localAi.unchanged": "设置未更改。",
|
|
710
|
+
"tool.localAi.updateFields": "action=update 时至少传递一个字段:mode、baseUrl、model、timeoutMs、fallback、confidenceThreshold 或 shadow。",
|
|
711
|
+
"tool.localAi.updated": "本地助手设置已保存:{fields}。",
|
|
712
|
+
"tool.matrix.actionName": "action={action} 需要矩阵名称。",
|
|
713
|
+
"tool.matrix.cancelFinished": "已完成且未动:{count}。",
|
|
714
|
+
"tool.matrix.cancelRunning": "已停止运行中的:{count}。",
|
|
715
|
+
"tool.matrix.cancelSummary": "矩阵 “{matrix}”:取消了 {total} 个克隆中的 {cancelled} 个。",
|
|
716
|
+
"tool.matrix.cancelWarnings": "警告:{warnings}。",
|
|
717
|
+
"tool.matrix.completed": "矩阵 “{name}” 已完成。查看克隆结果:{clones}。",
|
|
718
|
+
"tool.matrix.limit": "已达到并发任务上限。请等待当前任务完成。",
|
|
719
|
+
"tool.matrix.orphansNone": "未找到孤立的任务。",
|
|
720
|
+
"tool.matrix.orphansRemoved": "已删除孤立的任务:{count}。",
|
|
721
|
+
"tool.matrix.parentMissing": "需要矩阵 parentId。",
|
|
722
|
+
"tool.matrix.recreateFailed": "{clone}: 重新创建失败 — {error}",
|
|
723
|
+
"tool.matrix.started": "矩阵 “{name}”:已启动 {total} 中的 {started}",
|
|
724
|
+
"tool.matrix.startedErrors": ". 错误:{errors}",
|
|
725
|
+
"tool.matrix.startedSkipped": ", 已跳过 {count}",
|
|
726
|
+
"tool.matrix.stopFailed": "{clone}: 停止失败 — {error}",
|
|
727
|
+
"tool.profile.active": "当前配置档:{name}。重启 OpenCode 以应用更改。",
|
|
728
|
+
"tool.profile.created": "配置档 “{name}” 已创建(仪表盘端口 {port})。",
|
|
729
|
+
"tool.profile.deleted": "配置档 “{name}” 已连同其数据库和设置一起删除。",
|
|
730
|
+
"tool.profile.envVar": "配置档由 OPENCODE_SCHEDULER_PROFILE={name} 设置。重启 OpenCode。",
|
|
731
|
+
"tool.profile.envVarLong": "配置档由 OPENCODE_SCHEDULER_PROFILE={name} 设置。重启 OpenCode 以应用更改。",
|
|
732
|
+
"tool.profile.nameRequired": "action={action} 需要配置档名称。",
|
|
733
|
+
"tool.profile.notFound": "未找到配置档。",
|
|
734
|
+
"tool.secret.deleted": "秘密 {name} 已删除。",
|
|
735
|
+
"tool.secret.nameRequired": "set/delete 需要秘密名称。",
|
|
736
|
+
"tool.secret.needName": "需要秘密名称。",
|
|
737
|
+
"tool.secret.needValue": "需要非空的秘密值。",
|
|
738
|
+
"tool.secret.notFound": "未找到秘密 {name}。",
|
|
739
|
+
"tool.secret.saved": "秘密 {name} 已以加密形式保存。",
|
|
740
|
+
"tool.secret.valueRequired": "action=set 需要非空的值 value。",
|
|
741
|
+
"tool.settings.updateFields": "action=update 时至少传递一个字段:maxConcurrent、locale、winterMode、notifications、history、integrations 或 audit。",
|
|
742
|
+
"tool.task.alreadyAbsent": "任务 “{name}” 已不存在(已删除或从未存在)。",
|
|
743
|
+
"tool.task.alreadyRunning": "任务 “{name}” 已在运行。",
|
|
744
|
+
"tool.task.autosave": "保存自动恢复失败:{error}",
|
|
745
|
+
"tool.task.created": "任务 “{name}” 已成功创建。",
|
|
746
|
+
"tool.task.deleted": "任务 “{name}” 已成功删除。",
|
|
747
|
+
"tool.task.found": "找到任务:{count}。",
|
|
748
|
+
"tool.task.foundOsUnavailable": "找到任务:{count}。操作系统计划程序状态不可用——显示数据库状态。",
|
|
749
|
+
"tool.task.listEmpty": "未找到插件任务。",
|
|
750
|
+
"tool.task.listOsUnavailable": "操作系统计划程序状态不可用——显示数据库状态。",
|
|
751
|
+
"tool.task.matrixDeletedCount": "矩阵 “{name}” 已连同 {count} 个任务(克隆和聚合任务)一起删除。",
|
|
752
|
+
"tool.task.matrixDeletedList": "矩阵 “{name}” 已连同其克隆一起删除:{list}。",
|
|
753
|
+
"tool.task.matrixPauseErrors": " 错误:{warnings}。",
|
|
754
|
+
"tool.task.matrixPaused": "矩阵 “{name}” {verb}{until}:{total} 中的 {affected} 个克隆。",
|
|
755
|
+
"tool.task.pauseError": " 错误:{warnings}。",
|
|
756
|
+
"tool.task.paused": "已暂停",
|
|
757
|
+
"tool.task.pausedText": "任务 “{name}” {verb}{until}。",
|
|
758
|
+
"tool.task.resumed": "已恢复",
|
|
759
|
+
"tool.task.rollbackFailed": "{cause} 回滚失败:{restore}。任务 “{name}” 在计划程序中缺失——请重新创建。",
|
|
760
|
+
"tool.task.rollbackKept": "{cause} 先前版本未触动:无法从计划程序中移除任务。",
|
|
761
|
+
"tool.task.rollbackRestored": "{cause} 更新已取消,先前版本已恢复。",
|
|
762
|
+
"tool.task.started": "任务 “{name}” 已启动。",
|
|
763
|
+
"tool.task.until": " 至 {date}",
|
|
764
|
+
"tool.task.updated": "任务 “{name}” 已更新。",
|
|
765
|
+
"tool.template.deleted": "模板 {id} 已删除。",
|
|
766
|
+
"tool.template.namePromptRequired": "需要非空的模板名称和提示词。",
|
|
767
|
+
"tool.template.needDeleteId": "action=delete 需要模板 id。",
|
|
768
|
+
"tool.template.needId": "需要模板 id。",
|
|
769
|
+
"tool.template.notFound": "未找到模板 {id}。",
|
|
770
|
+
"tool.template.saveRequired": "action=save 需要非空的 name 和 prompt。",
|
|
771
|
+
"tool.transfer.importData": "action=import 需要导出数据。",
|
|
772
|
+
"tool.transfer.noData": "需要导入数据。",
|
|
773
|
+
"tool.transfer.noTasks": "数据中不包含要导入的任务。",
|
|
774
|
+
"tool.transfer.noTasksInFile": "文件中不包含要导入的任务。",
|
|
775
|
+
"tool.workspace.deleted": "工作区已删除。任务已保留,绑定已清除。",
|
|
776
|
+
"tool.workspace.needDeleteId": "action=delete 需要 id。",
|
|
777
|
+
"tool.workspace.needPath": "action=add 需要 path。",
|
|
778
|
+
"tool.workspace.needUpdateId": "action=update 需要 id。",
|
|
779
|
+
"tool.workspace.notFound": "未找到工作区。"
|
|
780
|
+
}
|