opencode-supertask 0.2.0 → 0.2.1
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 +9 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/cli/{gateway-HNMX5ZTO.js → gateway-BYLLK72W.js} +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/cli/{web-2S7DW7XA.js → web-J3FJ23FE.js} +1107 -677
- package/dist/cli/web-J3FJ23FE.js.map +1 -0
- package/dist/gateway/index.js +1216 -759
- package/dist/gateway/index.js.map +1 -1
- package/dist/web/index.js +1106 -676
- package/dist/web/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/cli/web-2S7DW7XA.js.map +0 -1
- /package/dist/cli/{gateway-HNMX5ZTO.js.map → gateway-BYLLK72W.js.map} +0 -0
package/dist/gateway/index.js
CHANGED
|
@@ -22182,36 +22182,28 @@ code, pre, .mono, .m {
|
|
|
22182
22182
|
align-items: center;
|
|
22183
22183
|
gap: 6px;
|
|
22184
22184
|
}
|
|
22185
|
-
.
|
|
22186
|
-
display: inline-flex;
|
|
22187
|
-
padding: 2px;
|
|
22188
|
-
border: 1px solid var(--border);
|
|
22189
|
-
border-radius: var(--radius-sm);
|
|
22190
|
-
background: var(--surface);
|
|
22191
|
-
}
|
|
22192
|
-
.lang-switch button {
|
|
22193
|
-
height: 24px; min-width: 28px; padding: 0 6px;
|
|
22194
|
-
border: 0; border-radius: 5px; background: transparent;
|
|
22195
|
-
color: var(--text-3); font-size: 11px; font-weight: 650; cursor: pointer;
|
|
22196
|
-
}
|
|
22197
|
-
.lang-switch button.active { background: var(--surface-3); color: var(--text); }
|
|
22198
|
-
.theme-select-wrap {
|
|
22185
|
+
.sidebar-select-wrap {
|
|
22199
22186
|
position: relative;
|
|
22200
22187
|
flex: 1;
|
|
22201
22188
|
min-width: 0;
|
|
22202
22189
|
display: flex;
|
|
22203
22190
|
align-items: center;
|
|
22204
22191
|
}
|
|
22205
|
-
.
|
|
22192
|
+
.sidebar-select-wrap .icon {
|
|
22206
22193
|
position: absolute; left: 8px; width: 13px; height: 13px;
|
|
22207
22194
|
color: var(--text-3); pointer-events: none;
|
|
22208
22195
|
}
|
|
22209
|
-
.
|
|
22196
|
+
.sidebar-select-wrap select {
|
|
22210
22197
|
width: 100%; height: 28px;
|
|
22211
|
-
padding: 0
|
|
22198
|
+
padding: 0 18px 0 25px;
|
|
22212
22199
|
border: 1px solid var(--border); border-radius: var(--radius-sm);
|
|
22213
22200
|
background: var(--surface); color: var(--text-2);
|
|
22214
22201
|
font-size: 11.5px; appearance: none; cursor: pointer;
|
|
22202
|
+
text-overflow: ellipsis;
|
|
22203
|
+
}
|
|
22204
|
+
.sidebar-select-wrap select:hover {
|
|
22205
|
+
border-color: var(--border-strong);
|
|
22206
|
+
color: var(--text);
|
|
22215
22207
|
}
|
|
22216
22208
|
|
|
22217
22209
|
/* Main area */
|
|
@@ -23014,781 +23006,1247 @@ dialog::backdrop { background: rgba(8, 12, 20, 0.56); backdrop-filter: blur(2px)
|
|
|
23014
23006
|
}
|
|
23015
23007
|
});
|
|
23016
23008
|
|
|
23017
|
-
// src/web/
|
|
23018
|
-
|
|
23019
|
-
|
|
23020
|
-
|
|
23021
|
-
}
|
|
23022
|
-
function statusText(locale, status) {
|
|
23023
|
-
const key = `status.${status}`;
|
|
23024
|
-
return key in ZH ? t(locale, key) : t(locale, "status.unknown");
|
|
23025
|
-
}
|
|
23026
|
-
function runStatusText(locale, status) {
|
|
23027
|
-
const key = `runStatus.${status}`;
|
|
23028
|
-
return key in ZH ? t(locale, key) : t(locale, "status.unknown");
|
|
23029
|
-
}
|
|
23030
|
-
function resolveEditedRunAt(originalEpoch, originalLocal, currentLocal) {
|
|
23031
|
-
if (originalEpoch !== null && originalLocal === currentLocal) return originalEpoch;
|
|
23032
|
-
return new Date(currentLocal).getTime();
|
|
23033
|
-
}
|
|
23034
|
-
function formatRelative(timestamp2, locale) {
|
|
23035
|
-
if (!timestamp2) return "\u2014";
|
|
23036
|
-
const deltaMs = timestamp2 - Date.now();
|
|
23037
|
-
const abs = Math.abs(deltaMs);
|
|
23038
|
-
const language = locale === "en" ? "en" : "zh-CN";
|
|
23039
|
-
const formatter = new Intl.RelativeTimeFormat(language, { numeric: "auto" });
|
|
23040
|
-
if (abs < 6e4) return formatter.format(Math.round(deltaMs / 1e3), "second");
|
|
23041
|
-
if (abs < 36e5) return formatter.format(Math.round(deltaMs / 6e4), "minute");
|
|
23042
|
-
if (abs < 864e5) return formatter.format(Math.round(deltaMs / 36e5), "hour");
|
|
23043
|
-
return formatter.format(Math.round(deltaMs / 864e5), "day");
|
|
23044
|
-
}
|
|
23045
|
-
function formatFuture(timestamp2, locale) {
|
|
23046
|
-
if (!timestamp2) return "\u2014";
|
|
23047
|
-
if (timestamp2 < Date.now()) return t(locale, "schedule.overdue");
|
|
23048
|
-
return formatRelative(timestamp2, locale);
|
|
23049
|
-
}
|
|
23050
|
-
function formatDateTime(value, locale) {
|
|
23051
|
-
if (!value) return "\u2014";
|
|
23052
|
-
const date = value instanceof Date ? value : new Date(value);
|
|
23053
|
-
return new Intl.DateTimeFormat(locale === "en" ? "en-US" : "zh-CN", {
|
|
23054
|
-
month: "short",
|
|
23055
|
-
day: "2-digit",
|
|
23056
|
-
hour: "2-digit",
|
|
23057
|
-
minute: "2-digit"
|
|
23058
|
-
}).format(date);
|
|
23059
|
-
}
|
|
23060
|
-
function formatInterval(milliseconds, locale) {
|
|
23061
|
-
const formatter = new Intl.NumberFormat(locale === "en" ? "en-US" : "zh-CN", {
|
|
23062
|
-
maximumFractionDigits: 1
|
|
23063
|
-
});
|
|
23064
|
-
if (milliseconds < 6e4) {
|
|
23065
|
-
return t(locale, "schedule.seconds", { count: formatter.format(milliseconds / 1e3) });
|
|
23066
|
-
}
|
|
23067
|
-
if (milliseconds < 36e5) {
|
|
23068
|
-
return t(locale, "schedule.minutes", { count: formatter.format(milliseconds / 6e4) });
|
|
23069
|
-
}
|
|
23070
|
-
if (milliseconds < 864e5) {
|
|
23071
|
-
return t(locale, "schedule.hours", { count: formatter.format(milliseconds / 36e5) });
|
|
23072
|
-
}
|
|
23073
|
-
return t(locale, "schedule.days", { count: formatter.format(milliseconds / 864e5) });
|
|
23074
|
-
}
|
|
23075
|
-
function formatDuration(startAt, endAt) {
|
|
23076
|
-
if (!startAt) return "\u2014";
|
|
23077
|
-
const start = new Date(startAt).getTime();
|
|
23078
|
-
const end = endAt ? new Date(endAt).getTime() : Date.now();
|
|
23079
|
-
const diffMs = end - start;
|
|
23080
|
-
if (diffMs < 1e3) return "<1s";
|
|
23081
|
-
const seconds = Math.floor(diffMs / 1e3);
|
|
23082
|
-
if (seconds < 60) return `${seconds}s`;
|
|
23083
|
-
if (seconds < 3600) return `${Math.floor(seconds / 60)}m ${seconds % 60}s`;
|
|
23084
|
-
return `${Math.floor(seconds / 3600)}h ${Math.floor(seconds % 3600 / 60)}m`;
|
|
23085
|
-
}
|
|
23086
|
-
function formatCountdown(targetMs, locale) {
|
|
23087
|
-
if (!targetMs) return null;
|
|
23088
|
-
const remaining = targetMs - Date.now();
|
|
23089
|
-
if (remaining <= 0) return null;
|
|
23090
|
-
return formatInterval(remaining, locale);
|
|
23091
|
-
}
|
|
23092
|
-
function clientMessages(locale) {
|
|
23093
|
-
return Object.fromEntries(
|
|
23094
|
-
Object.keys(ZH).map((key) => [key, t(locale, key)])
|
|
23095
|
-
);
|
|
23096
|
-
}
|
|
23097
|
-
function esc(value) {
|
|
23098
|
-
if (!value) return "";
|
|
23099
|
-
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
23100
|
-
}
|
|
23101
|
-
var ZH, EN;
|
|
23102
|
-
var init_i18n = __esm({
|
|
23103
|
-
"src/web/i18n.ts"() {
|
|
23009
|
+
// src/web/locales/en.ts
|
|
23010
|
+
var EN;
|
|
23011
|
+
var init_en = __esm({
|
|
23012
|
+
"src/web/locales/en.ts"() {
|
|
23104
23013
|
"use strict";
|
|
23105
|
-
|
|
23014
|
+
EN = {
|
|
23106
23015
|
"app.name": "SuperTask",
|
|
23107
|
-
"app.local": "
|
|
23108
|
-
"nav.tasks": "
|
|
23109
|
-
"nav.templates": "
|
|
23110
|
-
"nav.runs": "
|
|
23111
|
-
"nav.system": "
|
|
23112
|
-
"page.tasks.title": "
|
|
23113
|
-
"page.templates.title": "
|
|
23114
|
-
"page.runs.title": "
|
|
23115
|
-
"page.system.title": "
|
|
23116
|
-
"theme.label": "
|
|
23117
|
-
"theme.system": "
|
|
23118
|
-
"theme.light": "
|
|
23119
|
-
"theme.dark": "
|
|
23120
|
-
"language.label": "
|
|
23121
|
-
"action.refresh": "
|
|
23122
|
-
"action.createTask": "
|
|
23123
|
-
"action.createTemplate": "
|
|
23124
|
-
"action.saveTask": "
|
|
23125
|
-
"action.updateTask": "
|
|
23126
|
-
"action.saveTemplate": "
|
|
23127
|
-
"action.edit": "
|
|
23128
|
-
"action.clone": "
|
|
23129
|
-
"action.details": "
|
|
23130
|
-
"action.retry": "
|
|
23131
|
-
"action.cancel": "
|
|
23132
|
-
"action.delete": "
|
|
23133
|
-
"action.trigger": "
|
|
23134
|
-
"action.enable": "
|
|
23135
|
-
"action.disable": "
|
|
23136
|
-
"action.logs": "
|
|
23137
|
-
"action.hideLogs": "
|
|
23138
|
-
"action.save": "
|
|
23139
|
-
"action.saveAndRestart": "
|
|
23140
|
-
"action.clearDatabase": "
|
|
23141
|
-
"action.copy": "
|
|
23142
|
-
"action.copyCommand": "
|
|
23143
|
-
"action.continueSession": "
|
|
23144
|
-
"action.chooseFolder": "
|
|
23145
|
-
"action.home": "
|
|
23146
|
-
"action.up": "
|
|
23147
|
-
"action.showHidden": "
|
|
23148
|
-
"action.hideHidden": "
|
|
23149
|
-
"action.chooseThisFolder": "
|
|
23150
|
-
"action.close": "
|
|
23151
|
-
"action.confirm": "
|
|
23152
|
-
"action.clearSelection": "
|
|
23153
|
-
"action.viewTasks": "
|
|
23154
|
-
"action.more": "
|
|
23155
|
-
"action.selectAll": "
|
|
23156
|
-
"action.openMenu": "
|
|
23157
|
-
"filter.all": "
|
|
23158
|
-
"filter.searchTasks": "
|
|
23159
|
-
"filter.allAgents": "
|
|
23160
|
-
"filter.allBatches": "
|
|
23161
|
-
"filter.noResults": "
|
|
23162
|
-
"filter.templateScope": "
|
|
23163
|
-
"filter.clearFilter": "
|
|
23164
|
-
"projects.title": "
|
|
23165
|
-
"projects.all": "
|
|
23166
|
-
"projects.legacy": "
|
|
23167
|
-
"projects.counts": "
|
|
23016
|
+
"app.local": "Local",
|
|
23017
|
+
"nav.tasks": "Tasks",
|
|
23018
|
+
"nav.templates": "Schedules",
|
|
23019
|
+
"nav.runs": "Runs",
|
|
23020
|
+
"nav.system": "System",
|
|
23021
|
+
"page.tasks.title": "Task queue",
|
|
23022
|
+
"page.templates.title": "Scheduled tasks",
|
|
23023
|
+
"page.runs.title": "Execution runs",
|
|
23024
|
+
"page.system.title": "System",
|
|
23025
|
+
"theme.label": "Theme",
|
|
23026
|
+
"theme.system": "System",
|
|
23027
|
+
"theme.light": "Light",
|
|
23028
|
+
"theme.dark": "Dark",
|
|
23029
|
+
"language.label": "Language",
|
|
23030
|
+
"action.refresh": "Refresh",
|
|
23031
|
+
"action.createTask": "New task",
|
|
23032
|
+
"action.createTemplate": "New schedule",
|
|
23033
|
+
"action.saveTask": "Enqueue",
|
|
23034
|
+
"action.updateTask": "Save",
|
|
23035
|
+
"action.saveTemplate": "Save",
|
|
23036
|
+
"action.edit": "Edit",
|
|
23037
|
+
"action.clone": "Clone",
|
|
23038
|
+
"action.details": "Inspect",
|
|
23039
|
+
"action.retry": "Retry",
|
|
23040
|
+
"action.cancel": "Cancel",
|
|
23041
|
+
"action.delete": "Delete",
|
|
23042
|
+
"action.trigger": "Run now",
|
|
23043
|
+
"action.enable": "Enable",
|
|
23044
|
+
"action.disable": "Disable",
|
|
23045
|
+
"action.logs": "Logs",
|
|
23046
|
+
"action.hideLogs": "Hide",
|
|
23047
|
+
"action.save": "Save config",
|
|
23048
|
+
"action.saveAndRestart": "Save & restart",
|
|
23049
|
+
"action.clearDatabase": "Clear data",
|
|
23050
|
+
"action.copy": "Copy",
|
|
23051
|
+
"action.copyCommand": "Copy command",
|
|
23052
|
+
"action.continueSession": "Resume",
|
|
23053
|
+
"action.chooseFolder": "Browse",
|
|
23054
|
+
"action.home": "Home",
|
|
23055
|
+
"action.up": "Up",
|
|
23056
|
+
"action.showHidden": "Show hidden",
|
|
23057
|
+
"action.hideHidden": "Hide dotfiles",
|
|
23058
|
+
"action.chooseThisFolder": "Select folder",
|
|
23059
|
+
"action.close": "Close",
|
|
23060
|
+
"action.confirm": "Confirm",
|
|
23061
|
+
"action.clearSelection": "Clear",
|
|
23062
|
+
"action.viewTasks": "View tasks",
|
|
23063
|
+
"action.more": "More",
|
|
23064
|
+
"action.selectAll": "Select all",
|
|
23065
|
+
"action.openMenu": "Menu",
|
|
23066
|
+
"filter.all": "All",
|
|
23067
|
+
"filter.searchTasks": "Search tasks, batch, or #ID\u2026",
|
|
23068
|
+
"filter.allAgents": "All agents",
|
|
23069
|
+
"filter.allBatches": "All batches",
|
|
23070
|
+
"filter.noResults": "No matching tasks",
|
|
23071
|
+
"filter.templateScope": "Template #{id}",
|
|
23072
|
+
"filter.clearFilter": "Clear",
|
|
23073
|
+
"projects.title": "Projects",
|
|
23074
|
+
"projects.all": "All projects",
|
|
23075
|
+
"projects.legacy": "Ungrouped",
|
|
23076
|
+
"projects.counts": "{running} running \xB7 {pending} queued \xB7 {failed} issues",
|
|
23168
23077
|
"projects.successRate": "{rate}%",
|
|
23169
|
-
"
|
|
23170
|
-
"stats.
|
|
23171
|
-
"stats.
|
|
23172
|
-
"stats.
|
|
23173
|
-
"stats.
|
|
23174
|
-
"stats.
|
|
23175
|
-
"stats.
|
|
23176
|
-
"stats.
|
|
23177
|
-
"stats.
|
|
23178
|
-
"stats.
|
|
23179
|
-
"stats.
|
|
23078
|
+
"projects.rate7d": "7d success rate",
|
|
23079
|
+
"stats.pending": "Queued",
|
|
23080
|
+
"stats.running": "Running",
|
|
23081
|
+
"stats.done": "Done",
|
|
23082
|
+
"stats.failedDead": "Issues",
|
|
23083
|
+
"stats.templates": "Total",
|
|
23084
|
+
"stats.enabled": "Enabled",
|
|
23085
|
+
"stats.disabled": "Disabled",
|
|
23086
|
+
"stats.records": "Total",
|
|
23087
|
+
"stats.pageDone": "Done",
|
|
23088
|
+
"stats.pageFailed": "Failed",
|
|
23089
|
+
"stats.pageRunning": "Running",
|
|
23180
23090
|
"table.id": "ID",
|
|
23181
|
-
"table.task": "
|
|
23182
|
-
"table.name": "
|
|
23091
|
+
"table.task": "Task",
|
|
23092
|
+
"table.name": "Name",
|
|
23183
23093
|
"table.agent": "Agent",
|
|
23184
|
-
"table.model": "
|
|
23185
|
-
"table.status": "
|
|
23186
|
-
"table.duration": "
|
|
23187
|
-
"table.retries": "
|
|
23188
|
-
"table.actions": "
|
|
23189
|
-
"table.type": "
|
|
23190
|
-
"table.rule": "
|
|
23191
|
-
"table.lastRun": "
|
|
23192
|
-
"table.nextRun": "
|
|
23193
|
-
"table.run": "
|
|
23194
|
-
"table.session": "
|
|
23195
|
-
"table.heartbeat": "
|
|
23196
|
-
"table.startedAt": "
|
|
23197
|
-
"table.pid": "
|
|
23198
|
-
"
|
|
23199
|
-
"status.
|
|
23200
|
-
"status.
|
|
23201
|
-
"status.
|
|
23202
|
-
"status.
|
|
23203
|
-
"status.
|
|
23204
|
-
"status.
|
|
23205
|
-
"status.
|
|
23206
|
-
"status.
|
|
23207
|
-
"status.
|
|
23208
|
-
"status.
|
|
23209
|
-
"
|
|
23210
|
-
"runStatus.
|
|
23211
|
-
"runStatus.
|
|
23094
|
+
"table.model": "Model",
|
|
23095
|
+
"table.status": "Status",
|
|
23096
|
+
"table.duration": "Duration",
|
|
23097
|
+
"table.retries": "Retries",
|
|
23098
|
+
"table.actions": "Actions",
|
|
23099
|
+
"table.type": "Type",
|
|
23100
|
+
"table.rule": "Rule",
|
|
23101
|
+
"table.lastRun": "Last run",
|
|
23102
|
+
"table.nextRun": "Next run",
|
|
23103
|
+
"table.run": "Run",
|
|
23104
|
+
"table.session": "Session",
|
|
23105
|
+
"table.heartbeat": "Heartbeat",
|
|
23106
|
+
"table.startedAt": "Started",
|
|
23107
|
+
"table.pid": "PID",
|
|
23108
|
+
"table.pidTooltip": "Worker \u203A Guardian",
|
|
23109
|
+
"status.pending": "Queued",
|
|
23110
|
+
"status.running": "Running",
|
|
23111
|
+
"status.done": "Done",
|
|
23112
|
+
"status.failed": "Retrying",
|
|
23113
|
+
"status.dead_letter": "Stopped",
|
|
23114
|
+
"status.cancelled": "Cancelled",
|
|
23115
|
+
"status.unknown": "Unknown",
|
|
23116
|
+
"status.executionStillActive": "Stopping",
|
|
23117
|
+
"status.waitingDep": "Wait #{id}",
|
|
23118
|
+
"status.batchBusy": "Batch busy",
|
|
23119
|
+
"status.retryIn": "Retry in {duration}",
|
|
23120
|
+
"runStatus.running": "Running",
|
|
23121
|
+
"runStatus.done": "Done",
|
|
23122
|
+
"runStatus.failed": "Failed",
|
|
23212
23123
|
"schedule.cron": "Cron",
|
|
23213
|
-
"schedule.recurring": "
|
|
23214
|
-
"schedule.delayed": "
|
|
23215
|
-
"schedule.unknown": "
|
|
23216
|
-
"schedule.enabled": "
|
|
23217
|
-
"schedule.disabled": "
|
|
23218
|
-
"schedule.overdue": "
|
|
23219
|
-
"schedule.seconds": "{count}
|
|
23220
|
-
"schedule.minutes": "{count}
|
|
23221
|
-
"schedule.hours": "{count}
|
|
23222
|
-
"schedule.days": "{count}
|
|
23223
|
-
"schedule.cronPreset.hourly": "
|
|
23224
|
-
"schedule.cronPreset.daily9": "
|
|
23225
|
-
"schedule.cronPreset.weekday9": "
|
|
23226
|
-
"schedule.cronPreset.weeklyMon": "
|
|
23227
|
-
"duration.seconds": "
|
|
23228
|
-
"duration.minutes": "
|
|
23229
|
-
"duration.hours": "
|
|
23230
|
-
"duration.days": "
|
|
23231
|
-
"duration.every": "
|
|
23232
|
-
"duration.immediate": "
|
|
23233
|
-
"duration.systemDefault": "
|
|
23234
|
-
"duration.custom": "
|
|
23235
|
-
"duration.unit": "
|
|
23236
|
-
"pagination.previous": "
|
|
23237
|
-
"pagination.next": "
|
|
23238
|
-
"pagination.summary": "{page} / {pages} \xB7
|
|
23239
|
-
"empty.tasks": "
|
|
23240
|
-
"empty.templates": "
|
|
23241
|
-
"empty.runs": "
|
|
23242
|
-
"empty.running": "
|
|
23243
|
-
"task.createTitle": "
|
|
23244
|
-
"task.editTitle": "
|
|
23245
|
-
"task.projectExisting": "
|
|
23246
|
-
"task.projectNew": "
|
|
23247
|
-
"template.createTitle": "
|
|
23248
|
-
"template.editTitle": "
|
|
23249
|
-
"template.name": "
|
|
23250
|
-
"template.cwd": "
|
|
23124
|
+
"schedule.recurring": "Recurring",
|
|
23125
|
+
"schedule.delayed": "One-off",
|
|
23126
|
+
"schedule.unknown": "Unknown",
|
|
23127
|
+
"schedule.enabled": "Enabled",
|
|
23128
|
+
"schedule.disabled": "Disabled",
|
|
23129
|
+
"schedule.overdue": "Due now",
|
|
23130
|
+
"schedule.seconds": "{count}s",
|
|
23131
|
+
"schedule.minutes": "{count}m",
|
|
23132
|
+
"schedule.hours": "{count}h",
|
|
23133
|
+
"schedule.days": "{count}d",
|
|
23134
|
+
"schedule.cronPreset.hourly": "Hourly",
|
|
23135
|
+
"schedule.cronPreset.daily9": "Daily 09:00",
|
|
23136
|
+
"schedule.cronPreset.weekday9": "Weekdays 09:00",
|
|
23137
|
+
"schedule.cronPreset.weeklyMon": "Mon 09:00",
|
|
23138
|
+
"duration.seconds": "s",
|
|
23139
|
+
"duration.minutes": "min",
|
|
23140
|
+
"duration.hours": "h",
|
|
23141
|
+
"duration.days": "d",
|
|
23142
|
+
"duration.every": "Every {duration}",
|
|
23143
|
+
"duration.immediate": "Immediate",
|
|
23144
|
+
"duration.systemDefault": "Default",
|
|
23145
|
+
"duration.custom": "Custom",
|
|
23146
|
+
"duration.unit": "Unit",
|
|
23147
|
+
"pagination.previous": "Prev",
|
|
23148
|
+
"pagination.next": "Next",
|
|
23149
|
+
"pagination.summary": "{page} / {pages} \xB7 {total} total",
|
|
23150
|
+
"empty.tasks": "No tasks",
|
|
23151
|
+
"empty.templates": "No schedules",
|
|
23152
|
+
"empty.runs": "No runs",
|
|
23153
|
+
"empty.running": "No active runs",
|
|
23154
|
+
"task.createTitle": "New task",
|
|
23155
|
+
"task.editTitle": "Edit task",
|
|
23156
|
+
"task.projectExisting": "{running} running \xB7 {pending} queued \xB7 {failed} issues",
|
|
23157
|
+
"task.projectNew": "New project directory",
|
|
23158
|
+
"template.createTitle": "New schedule",
|
|
23159
|
+
"template.editTitle": "Edit schedule",
|
|
23160
|
+
"template.name": "Name",
|
|
23161
|
+
"template.cwd": "Project directory",
|
|
23251
23162
|
"template.agent": "Agent",
|
|
23252
|
-
"template.model": "
|
|
23163
|
+
"template.model": "Model",
|
|
23253
23164
|
"template.variant": "Variant",
|
|
23254
|
-
"template.prompt": "
|
|
23255
|
-
"template.dependsOn": "
|
|
23256
|
-
"template.dependsOnNone": "
|
|
23257
|
-
"template.scheduleType": "
|
|
23258
|
-
"template.cronExpr": "Cron
|
|
23259
|
-
"template.interval": "
|
|
23260
|
-
"template.runAt": "
|
|
23261
|
-
"template.advanced": "
|
|
23262
|
-
"template.category": "
|
|
23263
|
-
"template.batchId": "
|
|
23264
|
-
"template.importance": "
|
|
23265
|
-
"template.urgency": "
|
|
23266
|
-
"template.maxInstances": "
|
|
23267
|
-
"template.maxRetries": "
|
|
23268
|
-
"template.retryBackoff": "
|
|
23269
|
-
"template.timeout": "
|
|
23270
|
-
"catalog.chooseProject": "
|
|
23271
|
-
"catalog.defaultProvider": "
|
|
23272
|
-
"catalog.defaultModel": "
|
|
23273
|
-
"catalog.defaultVariant": "
|
|
23274
|
-
"catalog.loading": "\
|
|
23275
|
-
"catalog.loaded": "{agents}
|
|
23276
|
-
"catalog.failed": "
|
|
23277
|
-
"catalog.primary": "
|
|
23278
|
-
"catalog.subagent": "
|
|
23279
|
-
"catalog.all": "
|
|
23280
|
-
"directory.title": "
|
|
23281
|
-
"directory.empty": "
|
|
23165
|
+
"template.prompt": "Prompt",
|
|
23166
|
+
"template.dependsOn": "Depends on",
|
|
23167
|
+
"template.dependsOnNone": "None",
|
|
23168
|
+
"template.scheduleType": "Schedule type",
|
|
23169
|
+
"template.cronExpr": "Cron expression",
|
|
23170
|
+
"template.interval": "Interval",
|
|
23171
|
+
"template.runAt": "Run at",
|
|
23172
|
+
"template.advanced": "Advanced",
|
|
23173
|
+
"template.category": "Category",
|
|
23174
|
+
"template.batchId": "Batch",
|
|
23175
|
+
"template.importance": "Importance",
|
|
23176
|
+
"template.urgency": "Urgency",
|
|
23177
|
+
"template.maxInstances": "Max instances",
|
|
23178
|
+
"template.maxRetries": "Max retries",
|
|
23179
|
+
"template.retryBackoff": "Retry backoff",
|
|
23180
|
+
"template.timeout": "Timeout",
|
|
23181
|
+
"catalog.chooseProject": "Select directory first",
|
|
23182
|
+
"catalog.defaultProvider": "Default",
|
|
23183
|
+
"catalog.defaultModel": "Default model",
|
|
23184
|
+
"catalog.defaultVariant": "Default",
|
|
23185
|
+
"catalog.loading": "Loading catalog\u2026",
|
|
23186
|
+
"catalog.loaded": "{agents} agents \xB7 {models} models",
|
|
23187
|
+
"catalog.failed": "Failed: {error}",
|
|
23188
|
+
"catalog.primary": "primary",
|
|
23189
|
+
"catalog.subagent": "subagent",
|
|
23190
|
+
"catalog.all": "all",
|
|
23191
|
+
"directory.title": "Select project directory",
|
|
23192
|
+
"directory.empty": "No subdirectories",
|
|
23282
23193
|
"system.worker": "Worker",
|
|
23283
23194
|
"system.scheduler": "Scheduler",
|
|
23284
23195
|
"system.watchdog": "Watchdog",
|
|
23285
|
-
"system.watchdogCleanup": "
|
|
23286
|
-
"system.health": "
|
|
23287
|
-
"system.healthy": "
|
|
23288
|
-
"system.degraded": "
|
|
23289
|
-
"system.reconnecting": "
|
|
23290
|
-
"system.disabled": "
|
|
23291
|
-
"system.uptime": "
|
|
23292
|
-
"system.failures": "
|
|
23293
|
-
"system.lastActivity": "
|
|
23294
|
-
"system.lock": "
|
|
23295
|
-
"system.concurrency": "
|
|
23296
|
-
"system.maxConcurrency": "
|
|
23297
|
-
"system.pollInterval": "
|
|
23298
|
-
"system.heartbeatInterval": "
|
|
23299
|
-
"system.taskTimeout": "
|
|
23300
|
-
"system.schedulerEnabled": "
|
|
23301
|
-
"system.checkInterval": "
|
|
23302
|
-
"system.activeTemplates": "
|
|
23303
|
-
"system.heartbeatTimeout": "
|
|
23304
|
-
"system.cleanupInterval": "
|
|
23305
|
-
"system.retentionDays": "
|
|
23196
|
+
"system.watchdogCleanup": "Cleanup",
|
|
23197
|
+
"system.health": "Gateway health",
|
|
23198
|
+
"system.healthy": "Healthy",
|
|
23199
|
+
"system.degraded": "Degraded",
|
|
23200
|
+
"system.reconnecting": "Reconnecting",
|
|
23201
|
+
"system.disabled": "Disabled",
|
|
23202
|
+
"system.uptime": "Uptime",
|
|
23203
|
+
"system.failures": "Failures",
|
|
23204
|
+
"system.lastActivity": "Last active",
|
|
23205
|
+
"system.lock": "Lock",
|
|
23206
|
+
"system.concurrency": "Concurrency",
|
|
23207
|
+
"system.maxConcurrency": "Max concurrency",
|
|
23208
|
+
"system.pollInterval": "Poll interval",
|
|
23209
|
+
"system.heartbeatInterval": "Heartbeat interval",
|
|
23210
|
+
"system.taskTimeout": "Default timeout",
|
|
23211
|
+
"system.schedulerEnabled": "Enable scheduler",
|
|
23212
|
+
"system.checkInterval": "Check interval",
|
|
23213
|
+
"system.activeTemplates": "Active templates",
|
|
23214
|
+
"system.heartbeatTimeout": "Heartbeat timeout",
|
|
23215
|
+
"system.cleanupInterval": "Cleanup interval",
|
|
23216
|
+
"system.retentionDays": "Retention",
|
|
23306
23217
|
"system.milliseconds": "ms",
|
|
23307
23218
|
"system.seconds": "s",
|
|
23308
23219
|
"system.minutes": "min",
|
|
23309
23220
|
"system.hours": "h",
|
|
23310
23221
|
"system.days": "d",
|
|
23311
|
-
"system.configForeground": "
|
|
23312
|
-
"system.configApplied": "
|
|
23313
|
-
"system.configPending": "
|
|
23314
|
-
"system.configRestartManually": "
|
|
23315
|
-
"system.savedValue": "
|
|
23316
|
-
"system.runtimeValue": "
|
|
23317
|
-
"system.runningTasks": "
|
|
23318
|
-
"system.configFile": "
|
|
23319
|
-
"system.path": "
|
|
23320
|
-
"system.fileExists": "
|
|
23321
|
-
"system.yes": "
|
|
23322
|
-
"system.noDefault": "
|
|
23323
|
-
"system.danger": "
|
|
23324
|
-
"system.dangerDescription": "
|
|
23325
|
-
"logs.command": "
|
|
23326
|
-
"logs.output": "
|
|
23327
|
-
"logs.error": "
|
|
23328
|
-
"logs.tools": "
|
|
23329
|
-
"logs.raw": "
|
|
23330
|
-
"logs.noText": "
|
|
23331
|
-
"logs.loading": "\
|
|
23332
|
-
"logs.live": "
|
|
23333
|
-
"logs.steps": "
|
|
23222
|
+
"system.configForeground": "Foreground \xB7 restart required",
|
|
23223
|
+
"system.configApplied": "Runtime matches saved config",
|
|
23224
|
+
"system.configPending": "Pending changes \xB7 restart Gateway to apply",
|
|
23225
|
+
"system.configRestartManually": "Pending changes \xB7 restart Gateway manually",
|
|
23226
|
+
"system.savedValue": "Saved",
|
|
23227
|
+
"system.runtimeValue": "Runtime",
|
|
23228
|
+
"system.runningTasks": "Active runs \xB7 {running} / {limit}",
|
|
23229
|
+
"system.configFile": "Config file",
|
|
23230
|
+
"system.path": "Path",
|
|
23231
|
+
"system.fileExists": "Status",
|
|
23232
|
+
"system.yes": "Exists",
|
|
23233
|
+
"system.noDefault": "Default",
|
|
23234
|
+
"system.danger": "Danger zone",
|
|
23235
|
+
"system.dangerDescription": "Clears all tasks, runs, and schedules after creating a verified backup.",
|
|
23236
|
+
"logs.command": "Command",
|
|
23237
|
+
"logs.output": "Output",
|
|
23238
|
+
"logs.error": "Error",
|
|
23239
|
+
"logs.tools": "Tool calls",
|
|
23240
|
+
"logs.raw": "Raw JSONL",
|
|
23241
|
+
"logs.noText": "No text output",
|
|
23242
|
+
"logs.loading": "Loading log\u2026",
|
|
23243
|
+
"logs.live": "Live",
|
|
23244
|
+
"logs.steps": "Steps",
|
|
23334
23245
|
"logs.tokens": "Tokens",
|
|
23335
|
-
"logs.tokInput": "
|
|
23336
|
-
"logs.tokOutput": "
|
|
23337
|
-
"logs.tokReasoning": "
|
|
23338
|
-
"logs.tokCache": "
|
|
23339
|
-
"logs.tokCacheRead": "
|
|
23340
|
-
"logs.tokCacheWrite": "
|
|
23341
|
-
"logs.cost": "
|
|
23342
|
-
"logs.autoScroll": "
|
|
23343
|
-
"logs.rootCause": "
|
|
23344
|
-
"
|
|
23345
|
-
"
|
|
23346
|
-
"inspector.tab.
|
|
23347
|
-
"inspector.
|
|
23348
|
-
"inspector.
|
|
23349
|
-
"inspector.
|
|
23350
|
-
"inspector.
|
|
23351
|
-
"
|
|
23352
|
-
"
|
|
23353
|
-
"details.
|
|
23354
|
-
"details.
|
|
23355
|
-
"details.
|
|
23356
|
-
"details.
|
|
23357
|
-
"details.raw": "\u539F\u59CB JSON",
|
|
23358
|
-
"details.copySuccess": "\u5DF2\u590D\u5236",
|
|
23246
|
+
"logs.tokInput": "In",
|
|
23247
|
+
"logs.tokOutput": "Out",
|
|
23248
|
+
"logs.tokReasoning": "Reasoning",
|
|
23249
|
+
"logs.tokCache": "Cache",
|
|
23250
|
+
"logs.tokCacheRead": "R",
|
|
23251
|
+
"logs.tokCacheWrite": "W",
|
|
23252
|
+
"logs.cost": "Cost",
|
|
23253
|
+
"logs.autoScroll": "Auto-scroll",
|
|
23254
|
+
"logs.rootCause": "Root cause",
|
|
23255
|
+
"inspector.tab.overview": "Overview",
|
|
23256
|
+
"inspector.tab.output": "Live output",
|
|
23257
|
+
"inspector.tab.history": "History",
|
|
23258
|
+
"inspector.dependencies": "Dependencies",
|
|
23259
|
+
"inspector.upstream": "Upstream",
|
|
23260
|
+
"inspector.downstream": "Downstream",
|
|
23261
|
+
"inspector.failureSummary": "Failure",
|
|
23262
|
+
"details.title": "Inspector",
|
|
23263
|
+
"details.taskTitle": "Task #{id}",
|
|
23264
|
+
"details.runTitle": "Run #{id}",
|
|
23265
|
+
"details.templateTitle": "Schedule #{id}",
|
|
23266
|
+
"details.raw": "Raw JSON",
|
|
23267
|
+
"details.copySuccess": "Copied",
|
|
23359
23268
|
"details.id": "ID",
|
|
23360
|
-
"details.project": "
|
|
23269
|
+
"details.project": "Project",
|
|
23361
23270
|
"details.variant": "Variant",
|
|
23362
|
-
"details.prompt": "
|
|
23363
|
-
"details.result": "
|
|
23364
|
-
"details.category": "
|
|
23365
|
-
"details.batch": "
|
|
23366
|
-
"details.dependency": "
|
|
23367
|
-
"details.importance": "
|
|
23368
|
-
"details.urgency": "
|
|
23369
|
-
"details.retryCount": "
|
|
23370
|
-
"details.retryBackoff": "
|
|
23371
|
-
"details.timeout": "
|
|
23372
|
-
"details.createdAt": "
|
|
23373
|
-
"details.updatedAt": "
|
|
23374
|
-
"details.startedAt": "
|
|
23375
|
-
"details.finishedAt": "
|
|
23376
|
-
"details.scheduledAt": "
|
|
23377
|
-
"details.enabled": "
|
|
23378
|
-
"details.scheduleRule": "
|
|
23379
|
-
"details.maxInstances": "
|
|
23380
|
-
"details.maxRetries": "
|
|
23381
|
-
"details.lastRun": "
|
|
23382
|
-
"details.nextRun": "
|
|
23383
|
-
"details.taskId": "
|
|
23384
|
-
"details.session": "
|
|
23385
|
-
"details.heartbeat": "
|
|
23386
|
-
"details.process": "
|
|
23387
|
-
"details.history": "
|
|
23388
|
-
"details.noHistory": "
|
|
23271
|
+
"details.prompt": "Prompt",
|
|
23272
|
+
"details.result": "Result",
|
|
23273
|
+
"details.category": "Category",
|
|
23274
|
+
"details.batch": "Batch",
|
|
23275
|
+
"details.dependency": "Dependency",
|
|
23276
|
+
"details.importance": "Importance",
|
|
23277
|
+
"details.urgency": "Urgency",
|
|
23278
|
+
"details.retryCount": "Retries",
|
|
23279
|
+
"details.retryBackoff": "Backoff",
|
|
23280
|
+
"details.timeout": "Timeout",
|
|
23281
|
+
"details.createdAt": "Created",
|
|
23282
|
+
"details.updatedAt": "Updated",
|
|
23283
|
+
"details.startedAt": "Started",
|
|
23284
|
+
"details.finishedAt": "Finished",
|
|
23285
|
+
"details.scheduledAt": "Scheduled",
|
|
23286
|
+
"details.enabled": "Enabled",
|
|
23287
|
+
"details.scheduleRule": "Rule",
|
|
23288
|
+
"details.maxInstances": "Max instances",
|
|
23289
|
+
"details.maxRetries": "Max retries",
|
|
23290
|
+
"details.lastRun": "Last run",
|
|
23291
|
+
"details.nextRun": "Next run",
|
|
23292
|
+
"details.taskId": "Task",
|
|
23293
|
+
"details.session": "Session",
|
|
23294
|
+
"details.heartbeat": "Heartbeat",
|
|
23295
|
+
"details.process": "Process",
|
|
23296
|
+
"details.history": "Run history",
|
|
23297
|
+
"details.noHistory": "No runs yet",
|
|
23389
23298
|
"details.none": "\u2014",
|
|
23390
|
-
"details.default": "
|
|
23391
|
-
"details.enabledYes": "
|
|
23392
|
-
"details.enabledNo": "
|
|
23393
|
-
"batch.selected": "
|
|
23394
|
-
"batch.retry": "
|
|
23395
|
-
"batch.cancel": "
|
|
23396
|
-
"batch.delete": "
|
|
23397
|
-
"dialog.cancelTask": "
|
|
23398
|
-
"dialog.cancelTaskBody": "
|
|
23399
|
-
"dialog.retryTask": "
|
|
23400
|
-
"dialog.retryTaskBody": "
|
|
23401
|
-
"dialog.deleteTask": "
|
|
23402
|
-
"dialog.deleteTaskBody": "
|
|
23403
|
-
"dialog.batchRetry": "
|
|
23404
|
-
"dialog.batchRetryBody": "
|
|
23405
|
-
"dialog.batchCancel": "
|
|
23406
|
-
"dialog.batchCancelBody": "
|
|
23407
|
-
"dialog.batchDelete": "
|
|
23408
|
-
"dialog.batchDeleteBody": "
|
|
23409
|
-
"dialog.disableTemplate": "
|
|
23410
|
-
"dialog.disableTemplateBody": "
|
|
23411
|
-
"dialog.deleteTemplate": "
|
|
23412
|
-
"dialog.deleteTemplateBody": "
|
|
23413
|
-
"dialog.triggerTemplate": "
|
|
23414
|
-
"dialog.triggerTemplateBody": "
|
|
23415
|
-
"dialog.clearTitle": "
|
|
23416
|
-
"dialog.clearBody": "
|
|
23417
|
-
"dialog.clearInstruction": "
|
|
23418
|
-
"dialog.restartGateway": "
|
|
23419
|
-
"dialog.restartGatewayBody": "
|
|
23420
|
-
"dialog.restartGatewayRunningBody": "
|
|
23421
|
-
"dialog.copyManualTitle": "
|
|
23422
|
-
"dialog.copyManualBody": "
|
|
23423
|
-
"feedback.retryFailed": "
|
|
23424
|
-
"feedback.cancelFailed": "
|
|
23425
|
-
"feedback.deleteFailed": "
|
|
23426
|
-
"feedback.requestFailed": "
|
|
23427
|
-
"feedback.triggered": "
|
|
23428
|
-
"feedback.taskCreated": "
|
|
23429
|
-
"feedback.taskUpdated": "
|
|
23430
|
-
"feedback.taskCloned": "
|
|
23431
|
-
"feedback.taskRetried": "
|
|
23432
|
-
"feedback.taskCancelled": "
|
|
23433
|
-
"feedback.taskDeleted": "
|
|
23434
|
-
"feedback.batchDone": "
|
|
23435
|
-
"feedback.templateCreated": "
|
|
23436
|
-
"feedback.templateUpdated": "
|
|
23437
|
-
"feedback.configSaved": "
|
|
23438
|
-
"feedback.sessionCommandCopied": "
|
|
23439
|
-
"feedback.commandCopied": "
|
|
23440
|
-
"feedback.restarting": "Gateway
|
|
23441
|
-
"feedback.restartTimeout": "Gateway
|
|
23442
|
-
"feedback.databaseCleared": "
|
|
23443
|
-
"feedback.copyFailed": "
|
|
23444
|
-
"a11y.skip": "
|
|
23445
|
-
"a11y.refreshing": "
|
|
23446
|
-
};
|
|
23447
|
-
|
|
23448
|
-
|
|
23449
|
-
|
|
23450
|
-
|
|
23451
|
-
|
|
23452
|
-
|
|
23453
|
-
|
|
23454
|
-
|
|
23455
|
-
|
|
23456
|
-
"
|
|
23457
|
-
"
|
|
23458
|
-
"
|
|
23459
|
-
"
|
|
23460
|
-
"
|
|
23461
|
-
"
|
|
23462
|
-
"
|
|
23463
|
-
"
|
|
23464
|
-
"
|
|
23465
|
-
"
|
|
23466
|
-
"
|
|
23467
|
-
"
|
|
23468
|
-
"
|
|
23469
|
-
"
|
|
23470
|
-
"
|
|
23471
|
-
"action.
|
|
23472
|
-
"action.
|
|
23473
|
-
"action.
|
|
23474
|
-
"action.
|
|
23475
|
-
"action.
|
|
23476
|
-
"action.
|
|
23477
|
-
"action.
|
|
23478
|
-
"action.
|
|
23479
|
-
"action.
|
|
23480
|
-
"action.
|
|
23481
|
-
"action.
|
|
23482
|
-
"action.
|
|
23483
|
-
"action.
|
|
23484
|
-
"action.
|
|
23485
|
-
"action.
|
|
23486
|
-
"action.
|
|
23487
|
-
"action.
|
|
23488
|
-
"action.
|
|
23489
|
-
"action.
|
|
23490
|
-
"action.
|
|
23491
|
-
"action.
|
|
23492
|
-
"action.
|
|
23493
|
-
"action.
|
|
23494
|
-
"action.
|
|
23495
|
-
"action.
|
|
23496
|
-
"action.
|
|
23497
|
-
"action.
|
|
23498
|
-
"action.
|
|
23499
|
-
"
|
|
23500
|
-
"
|
|
23501
|
-
"
|
|
23502
|
-
"
|
|
23503
|
-
"
|
|
23504
|
-
"
|
|
23505
|
-
"
|
|
23506
|
-
"
|
|
23507
|
-
"
|
|
23508
|
-
"
|
|
23509
|
-
"
|
|
23299
|
+
"details.default": "Default",
|
|
23300
|
+
"details.enabledYes": "Enabled",
|
|
23301
|
+
"details.enabledNo": "Disabled",
|
|
23302
|
+
"batch.selected": "{count} selected",
|
|
23303
|
+
"batch.retry": "Retry",
|
|
23304
|
+
"batch.cancel": "Cancel",
|
|
23305
|
+
"batch.delete": "Delete",
|
|
23306
|
+
"dialog.cancelTask": "Cancel task #{id}",
|
|
23307
|
+
"dialog.cancelTaskBody": "Stop queuing or terminate the active process group.",
|
|
23308
|
+
"dialog.retryTask": "Retry task #{id}",
|
|
23309
|
+
"dialog.retryTaskBody": "Reset retry counter and re-enqueue.",
|
|
23310
|
+
"dialog.deleteTask": "Delete task #{id}",
|
|
23311
|
+
"dialog.deleteTaskBody": "Permanently delete this task and its runs.",
|
|
23312
|
+
"dialog.batchRetry": "Retry {count} tasks",
|
|
23313
|
+
"dialog.batchRetryBody": "Re-enqueue failed and stopped tasks in selection.",
|
|
23314
|
+
"dialog.batchCancel": "Cancel {count} tasks",
|
|
23315
|
+
"dialog.batchCancelBody": "Cancel queued, running, and retrying tasks in selection.",
|
|
23316
|
+
"dialog.batchDelete": "Delete {count} tasks",
|
|
23317
|
+
"dialog.batchDeleteBody": "Permanently delete non-running tasks in selection.",
|
|
23318
|
+
"dialog.disableTemplate": "Disable schedule",
|
|
23319
|
+
"dialog.disableTemplateBody": "Stop creating new tasks automatically.",
|
|
23320
|
+
"dialog.deleteTemplate": "Delete schedule",
|
|
23321
|
+
"dialog.deleteTemplateBody": "Delete template without removing past tasks.",
|
|
23322
|
+
"dialog.triggerTemplate": "Run schedule now",
|
|
23323
|
+
"dialog.triggerTemplateBody": "Create and enqueue a task immediately.",
|
|
23324
|
+
"dialog.clearTitle": "Clear database",
|
|
23325
|
+
"dialog.clearBody": "This removes all tasks, runs, and schedules.",
|
|
23326
|
+
"dialog.clearInstruction": "Type CLEAR to confirm:",
|
|
23327
|
+
"dialog.restartGateway": "Restart Gateway",
|
|
23328
|
+
"dialog.restartGatewayBody": "Save config and restart PM2 Gateway.",
|
|
23329
|
+
"dialog.restartGatewayRunningBody": "{count} task(s) are running and will be interrupted. Continue?",
|
|
23330
|
+
"dialog.copyManualTitle": "Copy manually",
|
|
23331
|
+
"dialog.copyManualBody": "Clipboard access was blocked. Press \u2318C or Ctrl+C.",
|
|
23332
|
+
"feedback.retryFailed": "Retry failed",
|
|
23333
|
+
"feedback.cancelFailed": "Cancel failed",
|
|
23334
|
+
"feedback.deleteFailed": "Delete failed",
|
|
23335
|
+
"feedback.requestFailed": "Request failed",
|
|
23336
|
+
"feedback.triggered": "Enqueued task #{id}",
|
|
23337
|
+
"feedback.taskCreated": "Enqueued task #{id}",
|
|
23338
|
+
"feedback.taskUpdated": "Updated task #{id}",
|
|
23339
|
+
"feedback.taskCloned": "Cloned task #{id}",
|
|
23340
|
+
"feedback.taskRetried": "Task #{id} re-enqueued",
|
|
23341
|
+
"feedback.taskCancelled": "Task #{id} cancelled",
|
|
23342
|
+
"feedback.taskDeleted": "Task #{id} deleted",
|
|
23343
|
+
"feedback.batchDone": "Batch complete ({count})",
|
|
23344
|
+
"feedback.templateCreated": "Schedule created",
|
|
23345
|
+
"feedback.templateUpdated": "Schedule updated",
|
|
23346
|
+
"feedback.configSaved": "Config saved",
|
|
23347
|
+
"feedback.sessionCommandCopied": "Session command copied",
|
|
23348
|
+
"feedback.commandCopied": "Command copied",
|
|
23349
|
+
"feedback.restarting": "Restarting Gateway\u2026",
|
|
23350
|
+
"feedback.restartTimeout": "Gateway has not recovered yet.",
|
|
23351
|
+
"feedback.databaseCleared": "Database cleared. Backup: {path}",
|
|
23352
|
+
"feedback.copyFailed": "Copy failed",
|
|
23353
|
+
"a11y.skip": "Skip to content",
|
|
23354
|
+
"a11y.refreshing": "Refreshing"
|
|
23355
|
+
};
|
|
23356
|
+
}
|
|
23357
|
+
});
|
|
23358
|
+
|
|
23359
|
+
// src/web/locales/es.ts
|
|
23360
|
+
var ES;
|
|
23361
|
+
var init_es = __esm({
|
|
23362
|
+
"src/web/locales/es.ts"() {
|
|
23363
|
+
"use strict";
|
|
23364
|
+
ES = {
|
|
23365
|
+
"app.name": "SuperTask",
|
|
23366
|
+
"app.local": "Local",
|
|
23367
|
+
"nav.tasks": "Tareas",
|
|
23368
|
+
"nav.templates": "Programadas",
|
|
23369
|
+
"nav.runs": "Ejecuciones",
|
|
23370
|
+
"nav.system": "Sistema",
|
|
23371
|
+
"page.tasks.title": "Cola de tareas",
|
|
23372
|
+
"page.templates.title": "Tareas programadas",
|
|
23373
|
+
"page.runs.title": "Historial de ejecuci\xF3n",
|
|
23374
|
+
"page.system.title": "Sistema",
|
|
23375
|
+
"theme.label": "Tema",
|
|
23376
|
+
"theme.system": "Sistema",
|
|
23377
|
+
"theme.light": "Claro",
|
|
23378
|
+
"theme.dark": "Oscuro",
|
|
23379
|
+
"language.label": "Idioma",
|
|
23380
|
+
"action.refresh": "Actualizar",
|
|
23381
|
+
"action.createTask": "Nueva tarea",
|
|
23382
|
+
"action.createTemplate": "Nueva programaci\xF3n",
|
|
23383
|
+
"action.saveTask": "Encolar",
|
|
23384
|
+
"action.updateTask": "Guardar",
|
|
23385
|
+
"action.saveTemplate": "Guardar",
|
|
23386
|
+
"action.edit": "Editar",
|
|
23387
|
+
"action.clone": "Clonar",
|
|
23388
|
+
"action.details": "Detalles",
|
|
23389
|
+
"action.retry": "Reintentar",
|
|
23390
|
+
"action.cancel": "Cancelar",
|
|
23391
|
+
"action.delete": "Eliminar",
|
|
23392
|
+
"action.trigger": "Ejecutar ahora",
|
|
23393
|
+
"action.enable": "Activar",
|
|
23394
|
+
"action.disable": "Desactivar",
|
|
23395
|
+
"action.logs": "Registro",
|
|
23396
|
+
"action.hideLogs": "Ocultar",
|
|
23397
|
+
"action.save": "Guardar ajustes",
|
|
23398
|
+
"action.saveAndRestart": "Guardar y reiniciar",
|
|
23399
|
+
"action.clearDatabase": "Vaciar datos",
|
|
23400
|
+
"action.copy": "Copiar",
|
|
23401
|
+
"action.copyCommand": "Copiar comando",
|
|
23402
|
+
"action.continueSession": "Continuar",
|
|
23403
|
+
"action.chooseFolder": "Explorar",
|
|
23404
|
+
"action.home": "Inicio",
|
|
23405
|
+
"action.up": "Subir",
|
|
23406
|
+
"action.showHidden": "Mostrar ocultas",
|
|
23407
|
+
"action.hideHidden": "Ocultar ocultas",
|
|
23408
|
+
"action.chooseThisFolder": "Elegir carpeta",
|
|
23409
|
+
"action.close": "Cerrar",
|
|
23410
|
+
"action.confirm": "Confirmar",
|
|
23411
|
+
"action.clearSelection": "Limpiar",
|
|
23412
|
+
"action.viewTasks": "Ver tareas",
|
|
23413
|
+
"action.more": "M\xE1s",
|
|
23414
|
+
"action.selectAll": "Seleccionar todo",
|
|
23415
|
+
"action.openMenu": "Men\xFA",
|
|
23416
|
+
"filter.all": "Todas",
|
|
23417
|
+
"filter.searchTasks": "Buscar tareas, lote o #ID\u2026",
|
|
23418
|
+
"filter.allAgents": "Todos los agentes",
|
|
23419
|
+
"filter.allBatches": "Todos los lotes",
|
|
23420
|
+
"filter.noResults": "Sin tareas coincidentes",
|
|
23421
|
+
"filter.templateScope": "Plantilla #{id}",
|
|
23422
|
+
"filter.clearFilter": "Limpiar",
|
|
23423
|
+
"projects.title": "Proyectos",
|
|
23424
|
+
"projects.all": "Todos los proyectos",
|
|
23425
|
+
"projects.legacy": "Sin agrupar",
|
|
23426
|
+
"projects.counts": "{running} en ejecuci\xF3n \xB7 {pending} en cola \xB7 {failed} con problemas",
|
|
23510
23427
|
"projects.successRate": "{rate}%",
|
|
23511
|
-
"
|
|
23512
|
-
"stats.
|
|
23513
|
-
"stats.
|
|
23514
|
-
"stats.
|
|
23428
|
+
"projects.rate7d": "Tasa de \xE9xito (7d)",
|
|
23429
|
+
"stats.pending": "En cola",
|
|
23430
|
+
"stats.running": "En ejecuci\xF3n",
|
|
23431
|
+
"stats.done": "Completadas",
|
|
23432
|
+
"stats.failedDead": "Problemas",
|
|
23515
23433
|
"stats.templates": "Total",
|
|
23516
|
-
"stats.enabled": "
|
|
23517
|
-
"stats.disabled": "
|
|
23434
|
+
"stats.enabled": "Activadas",
|
|
23435
|
+
"stats.disabled": "Desactivadas",
|
|
23518
23436
|
"stats.records": "Total",
|
|
23519
|
-
"stats.pageDone": "
|
|
23520
|
-
"stats.pageFailed": "
|
|
23521
|
-
"stats.pageRunning": "
|
|
23437
|
+
"stats.pageDone": "Correctas",
|
|
23438
|
+
"stats.pageFailed": "Fallidas",
|
|
23439
|
+
"stats.pageRunning": "En ejecuci\xF3n",
|
|
23522
23440
|
"table.id": "ID",
|
|
23523
|
-
"table.task": "
|
|
23524
|
-
"table.name": "
|
|
23525
|
-
"table.agent": "
|
|
23526
|
-
"table.model": "
|
|
23527
|
-
"table.status": "
|
|
23528
|
-
"table.duration": "
|
|
23529
|
-
"table.retries": "
|
|
23530
|
-
"table.actions": "
|
|
23531
|
-
"table.type": "
|
|
23532
|
-
"table.rule": "
|
|
23533
|
-
"table.lastRun": "
|
|
23534
|
-
"table.nextRun": "
|
|
23535
|
-
"table.run": "
|
|
23536
|
-
"table.session": "
|
|
23441
|
+
"table.task": "Tarea",
|
|
23442
|
+
"table.name": "Nombre",
|
|
23443
|
+
"table.agent": "Agente",
|
|
23444
|
+
"table.model": "Modelo",
|
|
23445
|
+
"table.status": "Estado",
|
|
23446
|
+
"table.duration": "Duraci\xF3n",
|
|
23447
|
+
"table.retries": "Reintentos",
|
|
23448
|
+
"table.actions": "Acciones",
|
|
23449
|
+
"table.type": "Tipo",
|
|
23450
|
+
"table.rule": "Regla",
|
|
23451
|
+
"table.lastRun": "\xDAltima ejecuci\xF3n",
|
|
23452
|
+
"table.nextRun": "Pr\xF3xima ejecuci\xF3n",
|
|
23453
|
+
"table.run": "Ejecuci\xF3n",
|
|
23454
|
+
"table.session": "Sesi\xF3n",
|
|
23537
23455
|
"table.heartbeat": "Heartbeat",
|
|
23538
|
-
"table.startedAt": "
|
|
23456
|
+
"table.startedAt": "Inicio",
|
|
23539
23457
|
"table.pid": "PID",
|
|
23540
|
-
"
|
|
23541
|
-
"status.
|
|
23542
|
-
"status.
|
|
23543
|
-
"status.
|
|
23544
|
-
"status.
|
|
23545
|
-
"status.
|
|
23546
|
-
"status.
|
|
23547
|
-
"status.
|
|
23548
|
-
"status.
|
|
23549
|
-
"status.
|
|
23550
|
-
"status.
|
|
23551
|
-
"
|
|
23552
|
-
"runStatus.
|
|
23553
|
-
"runStatus.
|
|
23458
|
+
"table.pidTooltip": "Worker \u203A Guardian",
|
|
23459
|
+
"status.pending": "En cola",
|
|
23460
|
+
"status.running": "En ejecuci\xF3n",
|
|
23461
|
+
"status.done": "Completada",
|
|
23462
|
+
"status.failed": "Reintentando",
|
|
23463
|
+
"status.dead_letter": "Detenida",
|
|
23464
|
+
"status.cancelled": "Cancelada",
|
|
23465
|
+
"status.unknown": "Desconocido",
|
|
23466
|
+
"status.executionStillActive": "Deteniendo",
|
|
23467
|
+
"status.waitingDep": "Espera #{id}",
|
|
23468
|
+
"status.batchBusy": "Lote ocupado",
|
|
23469
|
+
"status.retryIn": "Reintento en {duration}",
|
|
23470
|
+
"runStatus.running": "En ejecuci\xF3n",
|
|
23471
|
+
"runStatus.done": "Correcta",
|
|
23472
|
+
"runStatus.failed": "Fallida",
|
|
23554
23473
|
"schedule.cron": "Cron",
|
|
23555
|
-
"schedule.recurring": "
|
|
23556
|
-
"schedule.delayed": "
|
|
23557
|
-
"schedule.unknown": "
|
|
23558
|
-
"schedule.enabled": "
|
|
23559
|
-
"schedule.disabled": "
|
|
23560
|
-
"schedule.overdue": "
|
|
23561
|
-
"schedule.seconds": "{count}s",
|
|
23562
|
-
"schedule.minutes": "{count}
|
|
23563
|
-
"schedule.hours": "{count}h",
|
|
23564
|
-
"schedule.days": "{count}d",
|
|
23565
|
-
"schedule.cronPreset.hourly": "
|
|
23566
|
-
"schedule.cronPreset.daily9": "
|
|
23567
|
-
"schedule.cronPreset.weekday9": "
|
|
23568
|
-
"schedule.cronPreset.weeklyMon": "
|
|
23474
|
+
"schedule.recurring": "Intervalo",
|
|
23475
|
+
"schedule.delayed": "Una vez",
|
|
23476
|
+
"schedule.unknown": "Desconocido",
|
|
23477
|
+
"schedule.enabled": "Activada",
|
|
23478
|
+
"schedule.disabled": "Desactivada",
|
|
23479
|
+
"schedule.overdue": "Vencida",
|
|
23480
|
+
"schedule.seconds": "{count} s",
|
|
23481
|
+
"schedule.minutes": "{count} min",
|
|
23482
|
+
"schedule.hours": "{count} h",
|
|
23483
|
+
"schedule.days": "{count} d",
|
|
23484
|
+
"schedule.cronPreset.hourly": "Cada hora",
|
|
23485
|
+
"schedule.cronPreset.daily9": "Diario 09:00",
|
|
23486
|
+
"schedule.cronPreset.weekday9": "Laborables 09:00",
|
|
23487
|
+
"schedule.cronPreset.weeklyMon": "Lunes 09:00",
|
|
23569
23488
|
"duration.seconds": "s",
|
|
23570
23489
|
"duration.minutes": "min",
|
|
23571
23490
|
"duration.hours": "h",
|
|
23572
23491
|
"duration.days": "d",
|
|
23573
|
-
"duration.every": "
|
|
23574
|
-
"duration.immediate": "
|
|
23575
|
-
"duration.systemDefault": "
|
|
23576
|
-
"duration.custom": "
|
|
23577
|
-
"duration.unit": "
|
|
23578
|
-
"pagination.previous": "
|
|
23579
|
-
"pagination.next": "
|
|
23580
|
-
"pagination.summary": "{page} / {pages} \xB7 {total} total",
|
|
23581
|
-
"empty.tasks": "
|
|
23582
|
-
"empty.templates": "
|
|
23583
|
-
"empty.runs": "
|
|
23584
|
-
"empty.running": "
|
|
23585
|
-
"task.createTitle": "
|
|
23586
|
-
"task.editTitle": "
|
|
23587
|
-
"task.projectExisting": "{running}
|
|
23588
|
-
"task.projectNew": "
|
|
23589
|
-
"template.createTitle": "
|
|
23590
|
-
"template.editTitle": "
|
|
23591
|
-
"template.name": "
|
|
23592
|
-
"template.cwd": "
|
|
23492
|
+
"duration.every": "Cada {duration}",
|
|
23493
|
+
"duration.immediate": "Inmediato",
|
|
23494
|
+
"duration.systemDefault": "Predeterminado",
|
|
23495
|
+
"duration.custom": "Personalizado",
|
|
23496
|
+
"duration.unit": "Unidad",
|
|
23497
|
+
"pagination.previous": "Anterior",
|
|
23498
|
+
"pagination.next": "Siguiente",
|
|
23499
|
+
"pagination.summary": "{page} / {pages} \xB7 {total} en total",
|
|
23500
|
+
"empty.tasks": "Sin tareas",
|
|
23501
|
+
"empty.templates": "Sin tareas programadas",
|
|
23502
|
+
"empty.runs": "Sin ejecuciones",
|
|
23503
|
+
"empty.running": "Sin ejecuciones activas",
|
|
23504
|
+
"task.createTitle": "Nueva tarea",
|
|
23505
|
+
"task.editTitle": "Editar tarea",
|
|
23506
|
+
"task.projectExisting": "{running} en ejecuci\xF3n \xB7 {pending} en cola \xB7 {failed} con problemas",
|
|
23507
|
+
"task.projectNew": "Nuevo directorio de proyecto",
|
|
23508
|
+
"template.createTitle": "Nueva programaci\xF3n",
|
|
23509
|
+
"template.editTitle": "Editar programaci\xF3n",
|
|
23510
|
+
"template.name": "Nombre",
|
|
23511
|
+
"template.cwd": "Directorio del proyecto",
|
|
23512
|
+
"template.agent": "Agente",
|
|
23513
|
+
"template.model": "Modelo",
|
|
23514
|
+
"template.variant": "Variante",
|
|
23515
|
+
"template.prompt": "Prompt",
|
|
23516
|
+
"template.dependsOn": "Depende de",
|
|
23517
|
+
"template.dependsOnNone": "Ninguna",
|
|
23518
|
+
"template.scheduleType": "Tipo",
|
|
23519
|
+
"template.cronExpr": "Expresi\xF3n cron",
|
|
23520
|
+
"template.interval": "Intervalo",
|
|
23521
|
+
"template.runAt": "Ejecutar a las",
|
|
23522
|
+
"template.advanced": "Avanzado",
|
|
23523
|
+
"template.category": "Categor\xEDa",
|
|
23524
|
+
"template.batchId": "Lote",
|
|
23525
|
+
"template.importance": "Importancia",
|
|
23526
|
+
"template.urgency": "Urgencia",
|
|
23527
|
+
"template.maxInstances": "Instancias m\xE1x.",
|
|
23528
|
+
"template.maxRetries": "Reintentos m\xE1x.",
|
|
23529
|
+
"template.retryBackoff": "Espera entre reintentos",
|
|
23530
|
+
"template.timeout": "Timeout",
|
|
23531
|
+
"catalog.chooseProject": "Elige un directorio primero",
|
|
23532
|
+
"catalog.defaultProvider": "Predeterminado",
|
|
23533
|
+
"catalog.defaultModel": "Modelo predeterminado",
|
|
23534
|
+
"catalog.defaultVariant": "Predeterminada",
|
|
23535
|
+
"catalog.loading": "Cargando cat\xE1logo\u2026",
|
|
23536
|
+
"catalog.loaded": "{agents} agentes \xB7 {models} modelos",
|
|
23537
|
+
"catalog.failed": "Error: {error}",
|
|
23538
|
+
"catalog.primary": "principal",
|
|
23539
|
+
"catalog.subagent": "subagente",
|
|
23540
|
+
"catalog.all": "general",
|
|
23541
|
+
"directory.title": "Elegir directorio del proyecto",
|
|
23542
|
+
"directory.empty": "Sin subcarpetas",
|
|
23543
|
+
"system.worker": "Worker",
|
|
23544
|
+
"system.scheduler": "Scheduler",
|
|
23545
|
+
"system.watchdog": "Watchdog",
|
|
23546
|
+
"system.watchdogCleanup": "Limpieza",
|
|
23547
|
+
"system.health": "Estado del Gateway",
|
|
23548
|
+
"system.healthy": "Saludable",
|
|
23549
|
+
"system.degraded": "Degradado",
|
|
23550
|
+
"system.reconnecting": "Reconectando",
|
|
23551
|
+
"system.disabled": "Desactivado",
|
|
23552
|
+
"system.uptime": "Tiempo activo",
|
|
23553
|
+
"system.failures": "Fallos",
|
|
23554
|
+
"system.lastActivity": "\xDAltima actividad",
|
|
23555
|
+
"system.lock": "Bloqueo",
|
|
23556
|
+
"system.concurrency": "Concurrencia",
|
|
23557
|
+
"system.maxConcurrency": "Concurrencia m\xE1x.",
|
|
23558
|
+
"system.pollInterval": "Intervalo de sondeo",
|
|
23559
|
+
"system.heartbeatInterval": "Intervalo de heartbeat",
|
|
23560
|
+
"system.taskTimeout": "Timeout predeterminado",
|
|
23561
|
+
"system.schedulerEnabled": "Activar programador",
|
|
23562
|
+
"system.checkInterval": "Intervalo de comprobaci\xF3n",
|
|
23563
|
+
"system.activeTemplates": "Plantillas activas",
|
|
23564
|
+
"system.heartbeatTimeout": "Timeout de heartbeat",
|
|
23565
|
+
"system.cleanupInterval": "Intervalo de limpieza",
|
|
23566
|
+
"system.retentionDays": "Retenci\xF3n",
|
|
23567
|
+
"system.milliseconds": "ms",
|
|
23568
|
+
"system.seconds": "s",
|
|
23569
|
+
"system.minutes": "min",
|
|
23570
|
+
"system.hours": "h",
|
|
23571
|
+
"system.days": "d",
|
|
23572
|
+
"system.configForeground": "Primer plano \xB7 requiere reinicio",
|
|
23573
|
+
"system.configApplied": "El entorno coincide con la configuraci\xF3n guardada",
|
|
23574
|
+
"system.configPending": "Cambios pendientes \xB7 reinicia el Gateway para aplicar",
|
|
23575
|
+
"system.configRestartManually": "Cambios pendientes \xB7 reinicia el Gateway manualmente",
|
|
23576
|
+
"system.savedValue": "Guardado",
|
|
23577
|
+
"system.runtimeValue": "En curso",
|
|
23578
|
+
"system.runningTasks": "Ejecuciones activas \xB7 {running} / {limit}",
|
|
23579
|
+
"system.configFile": "Archivo de configuraci\xF3n",
|
|
23580
|
+
"system.path": "Ruta",
|
|
23581
|
+
"system.fileExists": "Estado",
|
|
23582
|
+
"system.yes": "Existe",
|
|
23583
|
+
"system.noDefault": "Predeterminado",
|
|
23584
|
+
"system.danger": "Zona de peligro",
|
|
23585
|
+
"system.dangerDescription": "Vac\xEDa todas las tareas, ejecuciones y programaciones tras crear una copia de seguridad verificada.",
|
|
23586
|
+
"logs.command": "Comando",
|
|
23587
|
+
"logs.output": "Salida",
|
|
23588
|
+
"logs.error": "Error",
|
|
23589
|
+
"logs.tools": "Herramientas",
|
|
23590
|
+
"logs.raw": "JSONL en bruto",
|
|
23591
|
+
"logs.noText": "Sin salida de texto",
|
|
23592
|
+
"logs.loading": "Cargando registro\u2026",
|
|
23593
|
+
"logs.live": "En vivo",
|
|
23594
|
+
"logs.steps": "Pasos",
|
|
23595
|
+
"logs.tokens": "Tokens",
|
|
23596
|
+
"logs.tokInput": "Ent.",
|
|
23597
|
+
"logs.tokOutput": "Sal.",
|
|
23598
|
+
"logs.tokReasoning": "Razon.",
|
|
23599
|
+
"logs.tokCache": "Cach\xE9",
|
|
23600
|
+
"logs.tokCacheRead": "L",
|
|
23601
|
+
"logs.tokCacheWrite": "E",
|
|
23602
|
+
"logs.cost": "Coste",
|
|
23603
|
+
"logs.autoScroll": "Autodesplazar",
|
|
23604
|
+
"logs.rootCause": "Causa ra\xEDz",
|
|
23605
|
+
"inspector.tab.overview": "Resumen",
|
|
23606
|
+
"inspector.tab.output": "Salida en vivo",
|
|
23607
|
+
"inspector.tab.history": "Historial",
|
|
23608
|
+
"inspector.dependencies": "Dependencias",
|
|
23609
|
+
"inspector.upstream": "Predecesor",
|
|
23610
|
+
"inspector.downstream": "Dependientes",
|
|
23611
|
+
"inspector.failureSummary": "Fallo",
|
|
23612
|
+
"details.title": "Inspector",
|
|
23613
|
+
"details.taskTitle": "Tarea #{id}",
|
|
23614
|
+
"details.runTitle": "Ejecuci\xF3n #{id}",
|
|
23615
|
+
"details.templateTitle": "Programaci\xF3n #{id}",
|
|
23616
|
+
"details.raw": "JSON en bruto",
|
|
23617
|
+
"details.copySuccess": "Copiado",
|
|
23618
|
+
"details.id": "ID",
|
|
23619
|
+
"details.project": "Proyecto",
|
|
23620
|
+
"details.variant": "Variante",
|
|
23621
|
+
"details.prompt": "Prompt",
|
|
23622
|
+
"details.result": "Resultado",
|
|
23623
|
+
"details.category": "Categor\xEDa",
|
|
23624
|
+
"details.batch": "Lote",
|
|
23625
|
+
"details.dependency": "Dependencia",
|
|
23626
|
+
"details.importance": "Importancia",
|
|
23627
|
+
"details.urgency": "Urgencia",
|
|
23628
|
+
"details.retryCount": "Reintentos",
|
|
23629
|
+
"details.retryBackoff": "Espera",
|
|
23630
|
+
"details.timeout": "Timeout",
|
|
23631
|
+
"details.createdAt": "Creada",
|
|
23632
|
+
"details.updatedAt": "Actualizada",
|
|
23633
|
+
"details.startedAt": "Iniciada",
|
|
23634
|
+
"details.finishedAt": "Finalizada",
|
|
23635
|
+
"details.scheduledAt": "Programada",
|
|
23636
|
+
"details.enabled": "Estado",
|
|
23637
|
+
"details.scheduleRule": "Regla",
|
|
23638
|
+
"details.maxInstances": "Instancias m\xE1x.",
|
|
23639
|
+
"details.maxRetries": "Reintentos m\xE1x.",
|
|
23640
|
+
"details.lastRun": "\xDAltima ejecuci\xF3n",
|
|
23641
|
+
"details.nextRun": "Pr\xF3xima ejecuci\xF3n",
|
|
23642
|
+
"details.taskId": "Tarea",
|
|
23643
|
+
"details.session": "Sesi\xF3n",
|
|
23644
|
+
"details.heartbeat": "Heartbeat",
|
|
23645
|
+
"details.process": "Procesos",
|
|
23646
|
+
"details.history": "Historial de ejecuciones",
|
|
23647
|
+
"details.noHistory": "Sin ejecuciones a\xFAn",
|
|
23648
|
+
"details.none": "\u2014",
|
|
23649
|
+
"details.default": "Predeterminado",
|
|
23650
|
+
"details.enabledYes": "Activada",
|
|
23651
|
+
"details.enabledNo": "Desactivada",
|
|
23652
|
+
"batch.selected": "{count} seleccionadas",
|
|
23653
|
+
"batch.retry": "Reintentar",
|
|
23654
|
+
"batch.cancel": "Cancelar",
|
|
23655
|
+
"batch.delete": "Eliminar",
|
|
23656
|
+
"dialog.cancelTask": "Cancelar tarea #{id}",
|
|
23657
|
+
"dialog.cancelTaskBody": "Detiene la espera en cola o finaliza el grupo de procesos activo.",
|
|
23658
|
+
"dialog.retryTask": "Reintentar tarea #{id}",
|
|
23659
|
+
"dialog.retryTaskBody": "Restablece los reintentos y vuelve a encolar la tarea.",
|
|
23660
|
+
"dialog.deleteTask": "Eliminar tarea #{id}",
|
|
23661
|
+
"dialog.deleteTaskBody": "Elimina permanentemente la tarea y su historial de ejecuci\xF3n.",
|
|
23662
|
+
"dialog.batchRetry": "Reintentar {count} tareas",
|
|
23663
|
+
"dialog.batchRetryBody": "Vuelve a encolar las tareas fallidas y detenidas de la selecci\xF3n.",
|
|
23664
|
+
"dialog.batchCancel": "Cancelar {count} tareas",
|
|
23665
|
+
"dialog.batchCancelBody": "Cancela las tareas en cola, en ejecuci\xF3n y en reintento de la selecci\xF3n.",
|
|
23666
|
+
"dialog.batchDelete": "Eliminar {count} tareas",
|
|
23667
|
+
"dialog.batchDeleteBody": "Elimina permanentemente las tareas inactivas de la selecci\xF3n.",
|
|
23668
|
+
"dialog.disableTemplate": "Desactivar programaci\xF3n",
|
|
23669
|
+
"dialog.disableTemplateBody": "Dejar\xE1 de crear tareas nuevas autom\xE1ticamente.",
|
|
23670
|
+
"dialog.deleteTemplate": "Eliminar programaci\xF3n",
|
|
23671
|
+
"dialog.deleteTemplateBody": "Elimina la plantilla sin borrar las tareas pasadas.",
|
|
23672
|
+
"dialog.triggerTemplate": "Ejecutar ahora",
|
|
23673
|
+
"dialog.triggerTemplateBody": "Crea y encola una tarea de inmediato.",
|
|
23674
|
+
"dialog.clearTitle": "Vaciar base de datos",
|
|
23675
|
+
"dialog.clearBody": "Se eliminar\xE1n todas las tareas, ejecuciones y programaciones.",
|
|
23676
|
+
"dialog.clearInstruction": "Escribe CLEAR para confirmar:",
|
|
23677
|
+
"dialog.restartGateway": "Reiniciar Gateway",
|
|
23678
|
+
"dialog.restartGatewayBody": "Guarda la configuraci\xF3n y reinicia el Gateway con PM2.",
|
|
23679
|
+
"dialog.restartGatewayRunningBody": "Hay {count} tarea(s) en ejecuci\xF3n que se interrumpir\xE1n. \xBFContinuar?",
|
|
23680
|
+
"dialog.copyManualTitle": "Copiar manualmente",
|
|
23681
|
+
"dialog.copyManualBody": "El navegador bloque\xF3 el portapapeles. Pulsa \u2318C o Ctrl+C.",
|
|
23682
|
+
"feedback.retryFailed": "El reintento fall\xF3",
|
|
23683
|
+
"feedback.cancelFailed": "La cancelaci\xF3n fall\xF3",
|
|
23684
|
+
"feedback.deleteFailed": "La eliminaci\xF3n fall\xF3",
|
|
23685
|
+
"feedback.requestFailed": "La solicitud fall\xF3",
|
|
23686
|
+
"feedback.triggered": "Tarea #{id} encolada",
|
|
23687
|
+
"feedback.taskCreated": "Tarea #{id} encolada",
|
|
23688
|
+
"feedback.taskUpdated": "Tarea #{id} actualizada",
|
|
23689
|
+
"feedback.taskCloned": "Tarea #{id} clonada",
|
|
23690
|
+
"feedback.taskRetried": "Tarea #{id} reencolada",
|
|
23691
|
+
"feedback.taskCancelled": "Tarea #{id} cancelada",
|
|
23692
|
+
"feedback.taskDeleted": "Tarea #{id} eliminada",
|
|
23693
|
+
"feedback.batchDone": "Lote completado ({count})",
|
|
23694
|
+
"feedback.templateCreated": "Programaci\xF3n creada",
|
|
23695
|
+
"feedback.templateUpdated": "Programaci\xF3n actualizada",
|
|
23696
|
+
"feedback.configSaved": "Ajustes guardados",
|
|
23697
|
+
"feedback.sessionCommandCopied": "Comando de sesi\xF3n copiado",
|
|
23698
|
+
"feedback.commandCopied": "Comando copiado",
|
|
23699
|
+
"feedback.restarting": "Reiniciando Gateway\u2026",
|
|
23700
|
+
"feedback.restartTimeout": "El Gateway a\xFAn no se ha recuperado.",
|
|
23701
|
+
"feedback.databaseCleared": "Base de datos vaciada. Copia de seguridad: {path}",
|
|
23702
|
+
"feedback.copyFailed": "La copia fall\xF3",
|
|
23703
|
+
"a11y.skip": "Saltar al contenido",
|
|
23704
|
+
"a11y.refreshing": "Actualizando"
|
|
23705
|
+
};
|
|
23706
|
+
}
|
|
23707
|
+
});
|
|
23708
|
+
|
|
23709
|
+
// src/web/locales/zh-CN.ts
|
|
23710
|
+
var ZH_CN;
|
|
23711
|
+
var init_zh_CN = __esm({
|
|
23712
|
+
"src/web/locales/zh-CN.ts"() {
|
|
23713
|
+
"use strict";
|
|
23714
|
+
ZH_CN = {
|
|
23715
|
+
"app.name": "SuperTask",
|
|
23716
|
+
"app.local": "\u672C\u5730",
|
|
23717
|
+
"nav.tasks": "\u4EFB\u52A1",
|
|
23718
|
+
"nav.templates": "\u5B9A\u65F6",
|
|
23719
|
+
"nav.runs": "\u6267\u884C",
|
|
23720
|
+
"nav.system": "\u7CFB\u7EDF",
|
|
23721
|
+
"page.tasks.title": "\u4EFB\u52A1\u961F\u5217",
|
|
23722
|
+
"page.templates.title": "\u5B9A\u65F6\u4EFB\u52A1",
|
|
23723
|
+
"page.runs.title": "\u6267\u884C\u8BB0\u5F55",
|
|
23724
|
+
"page.system.title": "\u7CFB\u7EDF\u8BBE\u7F6E",
|
|
23725
|
+
"theme.label": "\u4E3B\u9898",
|
|
23726
|
+
"theme.system": "\u8DDF\u968F\u7CFB\u7EDF",
|
|
23727
|
+
"theme.light": "\u6D45\u8272",
|
|
23728
|
+
"theme.dark": "\u6DF1\u8272",
|
|
23729
|
+
"language.label": "\u8BED\u8A00",
|
|
23730
|
+
"action.refresh": "\u5237\u65B0",
|
|
23731
|
+
"action.createTask": "\u65B0\u5EFA\u4EFB\u52A1",
|
|
23732
|
+
"action.createTemplate": "\u65B0\u5EFA\u5B9A\u65F6",
|
|
23733
|
+
"action.saveTask": "\u52A0\u5165\u961F\u5217",
|
|
23734
|
+
"action.updateTask": "\u4FDD\u5B58",
|
|
23735
|
+
"action.saveTemplate": "\u4FDD\u5B58",
|
|
23736
|
+
"action.edit": "\u7F16\u8F91",
|
|
23737
|
+
"action.clone": "\u514B\u9686\u518D\u8DD1",
|
|
23738
|
+
"action.details": "\u8BE6\u60C5",
|
|
23739
|
+
"action.retry": "\u91CD\u8BD5",
|
|
23740
|
+
"action.cancel": "\u53D6\u6D88",
|
|
23741
|
+
"action.delete": "\u5220\u9664",
|
|
23742
|
+
"action.trigger": "\u7ACB\u5373\u8FD0\u884C",
|
|
23743
|
+
"action.enable": "\u542F\u7528",
|
|
23744
|
+
"action.disable": "\u7981\u7528",
|
|
23745
|
+
"action.logs": "\u65E5\u5FD7",
|
|
23746
|
+
"action.hideLogs": "\u6536\u8D77",
|
|
23747
|
+
"action.save": "\u4FDD\u5B58\u914D\u7F6E",
|
|
23748
|
+
"action.saveAndRestart": "\u4FDD\u5B58\u5E76\u91CD\u542F",
|
|
23749
|
+
"action.clearDatabase": "\u6E05\u7A7A\u6570\u636E",
|
|
23750
|
+
"action.copy": "\u590D\u5236",
|
|
23751
|
+
"action.copyCommand": "\u590D\u5236\u547D\u4EE4",
|
|
23752
|
+
"action.continueSession": "\u7EE7\u7EED\u4F1A\u8BDD",
|
|
23753
|
+
"action.chooseFolder": "\u6D4F\u89C8",
|
|
23754
|
+
"action.home": "\u4E3B\u76EE\u5F55",
|
|
23755
|
+
"action.up": "\u4E0A\u7EA7",
|
|
23756
|
+
"action.showHidden": "\u663E\u793A\u9690\u85CF",
|
|
23757
|
+
"action.hideHidden": "\u9690\u85CF\u70B9\u76EE\u5F55",
|
|
23758
|
+
"action.chooseThisFolder": "\u9009\u62E9\u6B64\u76EE\u5F55",
|
|
23759
|
+
"action.close": "\u5173\u95ED",
|
|
23760
|
+
"action.confirm": "\u786E\u8BA4",
|
|
23761
|
+
"action.clearSelection": "\u53D6\u6D88\u9009\u62E9",
|
|
23762
|
+
"action.viewTasks": "\u67E5\u770B\u4EFB\u52A1",
|
|
23763
|
+
"action.more": "\u66F4\u591A",
|
|
23764
|
+
"action.selectAll": "\u5168\u9009",
|
|
23765
|
+
"action.openMenu": "\u6253\u5F00\u5BFC\u822A",
|
|
23766
|
+
"filter.all": "\u5168\u90E8",
|
|
23767
|
+
"filter.searchTasks": "\u641C\u7D22\u4EFB\u52A1\u3001\u6279\u6B21\u6216 #ID\u2026",
|
|
23768
|
+
"filter.allAgents": "\u5168\u90E8 Agent",
|
|
23769
|
+
"filter.allBatches": "\u5168\u90E8\u6279\u6B21",
|
|
23770
|
+
"filter.noResults": "\u65E0\u5339\u914D\u4EFB\u52A1",
|
|
23771
|
+
"filter.templateScope": "\u6A21\u677F #{id}",
|
|
23772
|
+
"filter.clearFilter": "\u6E05\u9664\u7B5B\u9009",
|
|
23773
|
+
"projects.title": "\u9879\u76EE",
|
|
23774
|
+
"projects.all": "\u5168\u90E8\u9879\u76EE",
|
|
23775
|
+
"projects.legacy": "\u672A\u5206\u7EC4",
|
|
23776
|
+
"projects.counts": "\u8FD0\u884C {running} \xB7 \u6392\u961F {pending} \xB7 \u5F02\u5E38 {failed}",
|
|
23777
|
+
"projects.successRate": "{rate}%",
|
|
23778
|
+
"projects.rate7d": "\u8FD1 7 \u5929\u6210\u529F\u7387",
|
|
23779
|
+
"stats.pending": "\u6392\u961F\u4E2D",
|
|
23780
|
+
"stats.running": "\u8FD0\u884C\u4E2D",
|
|
23781
|
+
"stats.done": "\u5DF2\u5B8C\u6210",
|
|
23782
|
+
"stats.failedDead": "\u5F02\u5E38",
|
|
23783
|
+
"stats.templates": "\u5168\u90E8",
|
|
23784
|
+
"stats.enabled": "\u5DF2\u542F\u7528",
|
|
23785
|
+
"stats.disabled": "\u5DF2\u7981\u7528",
|
|
23786
|
+
"stats.records": "\u603B\u8BB0\u5F55",
|
|
23787
|
+
"stats.pageDone": "\u6210\u529F",
|
|
23788
|
+
"stats.pageFailed": "\u5931\u8D25",
|
|
23789
|
+
"stats.pageRunning": "\u8FD0\u884C\u4E2D",
|
|
23790
|
+
"table.id": "ID",
|
|
23791
|
+
"table.task": "\u4EFB\u52A1",
|
|
23792
|
+
"table.name": "\u540D\u79F0",
|
|
23793
|
+
"table.agent": "Agent",
|
|
23794
|
+
"table.model": "\u6A21\u578B",
|
|
23795
|
+
"table.status": "\u72B6\u6001",
|
|
23796
|
+
"table.duration": "\u8017\u65F6",
|
|
23797
|
+
"table.retries": "\u91CD\u8BD5",
|
|
23798
|
+
"table.actions": "\u64CD\u4F5C",
|
|
23799
|
+
"table.type": "\u7C7B\u578B",
|
|
23800
|
+
"table.rule": "\u89C4\u5219",
|
|
23801
|
+
"table.lastRun": "\u4E0A\u6B21\u6267\u884C",
|
|
23802
|
+
"table.nextRun": "\u4E0B\u6B21\u6267\u884C",
|
|
23803
|
+
"table.run": "\u6267\u884C",
|
|
23804
|
+
"table.session": "\u4F1A\u8BDD",
|
|
23805
|
+
"table.heartbeat": "\u5FC3\u8DF3",
|
|
23806
|
+
"table.startedAt": "\u5F00\u59CB\u65F6\u95F4",
|
|
23807
|
+
"table.pid": "\u8FDB\u7A0B",
|
|
23808
|
+
"table.pidTooltip": "Worker \u203A Guardian",
|
|
23809
|
+
"status.pending": "\u6392\u961F\u4E2D",
|
|
23810
|
+
"status.running": "\u8FD0\u884C\u4E2D",
|
|
23811
|
+
"status.done": "\u5DF2\u5B8C\u6210",
|
|
23812
|
+
"status.failed": "\u7B49\u5F85\u91CD\u8BD5",
|
|
23813
|
+
"status.dead_letter": "\u5DF2\u505C\u6B62",
|
|
23814
|
+
"status.cancelled": "\u5DF2\u53D6\u6D88",
|
|
23815
|
+
"status.unknown": "\u672A\u77E5",
|
|
23816
|
+
"status.executionStillActive": "\u8FDB\u7A0B\u9000\u51FA\u4E2D",
|
|
23817
|
+
"status.waitingDep": "\u7B49 #{id}",
|
|
23818
|
+
"status.batchBusy": "\u6279\u6B21\u5360\u7528",
|
|
23819
|
+
"status.retryIn": "{duration}\u540E\u91CD\u8BD5",
|
|
23820
|
+
"runStatus.running": "\u8FD0\u884C\u4E2D",
|
|
23821
|
+
"runStatus.done": "\u6210\u529F",
|
|
23822
|
+
"runStatus.failed": "\u5931\u8D25",
|
|
23823
|
+
"schedule.cron": "Cron",
|
|
23824
|
+
"schedule.recurring": "\u5FAA\u73AF",
|
|
23825
|
+
"schedule.delayed": "\u4E00\u6B21\u6027",
|
|
23826
|
+
"schedule.unknown": "\u672A\u77E5",
|
|
23827
|
+
"schedule.enabled": "\u542F\u7528",
|
|
23828
|
+
"schedule.disabled": "\u7981\u7528",
|
|
23829
|
+
"schedule.overdue": "\u5373\u5C06\u6267\u884C",
|
|
23830
|
+
"schedule.seconds": "{count} \u79D2",
|
|
23831
|
+
"schedule.minutes": "{count} \u5206\u949F",
|
|
23832
|
+
"schedule.hours": "{count} \u5C0F\u65F6",
|
|
23833
|
+
"schedule.days": "{count} \u5929",
|
|
23834
|
+
"schedule.cronPreset.hourly": "\u6BCF\u5C0F\u65F6",
|
|
23835
|
+
"schedule.cronPreset.daily9": "\u6BCF\u5929 09:00",
|
|
23836
|
+
"schedule.cronPreset.weekday9": "\u5DE5\u4F5C\u65E5 09:00",
|
|
23837
|
+
"schedule.cronPreset.weeklyMon": "\u6BCF\u5468\u4E00 09:00",
|
|
23838
|
+
"duration.seconds": "\u79D2",
|
|
23839
|
+
"duration.minutes": "\u5206\u949F",
|
|
23840
|
+
"duration.hours": "\u5C0F\u65F6",
|
|
23841
|
+
"duration.days": "\u5929",
|
|
23842
|
+
"duration.every": "\u6BCF {duration}",
|
|
23843
|
+
"duration.immediate": "\u7ACB\u5373",
|
|
23844
|
+
"duration.systemDefault": "\u9ED8\u8BA4\u8D85\u65F6",
|
|
23845
|
+
"duration.custom": "\u81EA\u5B9A\u4E49",
|
|
23846
|
+
"duration.unit": "\u5355\u4F4D",
|
|
23847
|
+
"pagination.previous": "\u4E0A\u4E00\u9875",
|
|
23848
|
+
"pagination.next": "\u4E0B\u4E00\u9875",
|
|
23849
|
+
"pagination.summary": "{page} / {pages} \xB7 \u5171 {total} \u6761",
|
|
23850
|
+
"empty.tasks": "\u6682\u65E0\u4EFB\u52A1",
|
|
23851
|
+
"empty.templates": "\u6682\u65E0\u5B9A\u65F6\u4EFB\u52A1",
|
|
23852
|
+
"empty.runs": "\u6682\u65E0\u6267\u884C\u8BB0\u5F55",
|
|
23853
|
+
"empty.running": "\u5F53\u524D\u65E0\u8FD0\u884C\u4E2D\u4EFB\u52A1",
|
|
23854
|
+
"task.createTitle": "\u65B0\u5EFA\u4EFB\u52A1",
|
|
23855
|
+
"task.editTitle": "\u7F16\u8F91\u4EFB\u52A1",
|
|
23856
|
+
"task.projectExisting": "\u8FD0\u884C {running} \xB7 \u6392\u961F {pending} \xB7 \u5F02\u5E38 {failed}",
|
|
23857
|
+
"task.projectNew": "\u65B0\u9879\u76EE\u76EE\u5F55",
|
|
23858
|
+
"template.createTitle": "\u65B0\u5EFA\u5B9A\u65F6\u4EFB\u52A1",
|
|
23859
|
+
"template.editTitle": "\u7F16\u8F91\u5B9A\u65F6\u4EFB\u52A1",
|
|
23860
|
+
"template.name": "\u540D\u79F0",
|
|
23861
|
+
"template.cwd": "\u9879\u76EE\u76EE\u5F55",
|
|
23593
23862
|
"template.agent": "Agent",
|
|
23594
|
-
"template.model": "
|
|
23863
|
+
"template.model": "\u6A21\u578B",
|
|
23595
23864
|
"template.variant": "Variant",
|
|
23596
|
-
"template.prompt": "
|
|
23597
|
-
"template.dependsOn": "
|
|
23598
|
-
"template.dependsOnNone": "
|
|
23599
|
-
"template.scheduleType": "
|
|
23600
|
-
"template.cronExpr": "Cron
|
|
23601
|
-
"template.interval": "
|
|
23602
|
-
"template.runAt": "
|
|
23603
|
-
"template.advanced": "
|
|
23604
|
-
"template.category": "
|
|
23605
|
-
"template.batchId": "
|
|
23606
|
-
"template.importance": "
|
|
23607
|
-
"template.urgency": "
|
|
23608
|
-
"template.maxInstances": "
|
|
23609
|
-
"template.maxRetries": "
|
|
23610
|
-
"template.retryBackoff": "
|
|
23611
|
-
"template.timeout": "
|
|
23612
|
-
"catalog.chooseProject": "
|
|
23613
|
-
"catalog.defaultProvider": "
|
|
23614
|
-
"catalog.defaultModel": "
|
|
23615
|
-
"catalog.defaultVariant": "
|
|
23616
|
-
"catalog.loading": "
|
|
23617
|
-
"catalog.loaded": "{agents}
|
|
23618
|
-
"catalog.failed": "
|
|
23619
|
-
"catalog.primary": "
|
|
23620
|
-
"catalog.subagent": "
|
|
23621
|
-
"catalog.all": "
|
|
23622
|
-
"directory.title": "
|
|
23623
|
-
"directory.empty": "
|
|
23865
|
+
"template.prompt": "\u63D0\u793A\u8BCD",
|
|
23866
|
+
"template.dependsOn": "\u524D\u7F6E\u4F9D\u8D56",
|
|
23867
|
+
"template.dependsOnNone": "\u65E0\u4F9D\u8D56",
|
|
23868
|
+
"template.scheduleType": "\u8C03\u5EA6\u7C7B\u578B",
|
|
23869
|
+
"template.cronExpr": "Cron \u8868\u8FBE\u5F0F",
|
|
23870
|
+
"template.interval": "\u6267\u884C\u95F4\u9694",
|
|
23871
|
+
"template.runAt": "\u6267\u884C\u65F6\u95F4",
|
|
23872
|
+
"template.advanced": "\u9AD8\u7EA7\u9009\u9879",
|
|
23873
|
+
"template.category": "\u5206\u7C7B",
|
|
23874
|
+
"template.batchId": "\u6279\u6B21",
|
|
23875
|
+
"template.importance": "\u91CD\u8981\u5EA6",
|
|
23876
|
+
"template.urgency": "\u7D27\u6025\u5EA6",
|
|
23877
|
+
"template.maxInstances": "\u5E76\u53D1\u4E0A\u9650",
|
|
23878
|
+
"template.maxRetries": "\u91CD\u8BD5\u6B21\u6570",
|
|
23879
|
+
"template.retryBackoff": "\u9000\u907F\u57FA\u51C6",
|
|
23880
|
+
"template.timeout": "\u8D85\u65F6",
|
|
23881
|
+
"catalog.chooseProject": "\u8BF7\u5148\u9009\u76EE\u5F55",
|
|
23882
|
+
"catalog.defaultProvider": "\u9ED8\u8BA4",
|
|
23883
|
+
"catalog.defaultModel": "\u9ED8\u8BA4\u6A21\u578B",
|
|
23884
|
+
"catalog.defaultVariant": "\u9ED8\u8BA4",
|
|
23885
|
+
"catalog.loading": "\u52A0\u8F7D\u76EE\u5F55\u80FD\u529B\u2026",
|
|
23886
|
+
"catalog.loaded": "{agents} \u4E2A Agent \xB7 {models} \u4E2A\u6A21\u578B",
|
|
23887
|
+
"catalog.failed": "\u8BFB\u53D6\u5931\u8D25\uFF1A{error}",
|
|
23888
|
+
"catalog.primary": "\u4E3B",
|
|
23889
|
+
"catalog.subagent": "\u5B50",
|
|
23890
|
+
"catalog.all": "\u901A\u7528",
|
|
23891
|
+
"directory.title": "\u9009\u62E9\u9879\u76EE\u76EE\u5F55",
|
|
23892
|
+
"directory.empty": "\u65E0\u5B50\u76EE\u5F55",
|
|
23624
23893
|
"system.worker": "Worker",
|
|
23625
23894
|
"system.scheduler": "Scheduler",
|
|
23626
23895
|
"system.watchdog": "Watchdog",
|
|
23627
|
-
"system.watchdogCleanup": "
|
|
23628
|
-
"system.health": "
|
|
23629
|
-
"system.healthy": "
|
|
23630
|
-
"system.degraded": "
|
|
23631
|
-
"system.reconnecting": "
|
|
23632
|
-
"system.disabled": "
|
|
23633
|
-
"system.uptime": "
|
|
23634
|
-
"system.failures": "
|
|
23635
|
-
"system.lastActivity": "
|
|
23636
|
-
"system.lock": "
|
|
23637
|
-
"system.concurrency": "
|
|
23638
|
-
"system.maxConcurrency": "
|
|
23639
|
-
"system.pollInterval": "
|
|
23640
|
-
"system.heartbeatInterval": "
|
|
23641
|
-
"system.taskTimeout": "
|
|
23642
|
-
"system.schedulerEnabled": "
|
|
23643
|
-
"system.checkInterval": "
|
|
23644
|
-
"system.activeTemplates": "
|
|
23645
|
-
"system.heartbeatTimeout": "
|
|
23646
|
-
"system.cleanupInterval": "
|
|
23647
|
-
"system.retentionDays": "
|
|
23896
|
+
"system.watchdogCleanup": "\u5386\u53F2\u6E05\u7406",
|
|
23897
|
+
"system.health": "\u8FD0\u884C\u5065\u5EB7",
|
|
23898
|
+
"system.healthy": "\u6B63\u5E38",
|
|
23899
|
+
"system.degraded": "\u964D\u7EA7",
|
|
23900
|
+
"system.reconnecting": "\u91CD\u8FDE\u4E2D",
|
|
23901
|
+
"system.disabled": "\u505C\u7528",
|
|
23902
|
+
"system.uptime": "\u8FD0\u884C\u65F6\u957F",
|
|
23903
|
+
"system.failures": "\u8FDE\u7EED\u5931\u8D25",
|
|
23904
|
+
"system.lastActivity": "\u6700\u8FD1\u6D3B\u8DC3",
|
|
23905
|
+
"system.lock": "\u5B9E\u4F8B\u9501",
|
|
23906
|
+
"system.concurrency": "\u5E76\u53D1",
|
|
23907
|
+
"system.maxConcurrency": "\u6700\u5927\u5E76\u53D1",
|
|
23908
|
+
"system.pollInterval": "\u8F6E\u8BE2\u95F4\u9694",
|
|
23909
|
+
"system.heartbeatInterval": "\u5FC3\u8DF3\u95F4\u9694",
|
|
23910
|
+
"system.taskTimeout": "\u9ED8\u8BA4\u8D85\u65F6",
|
|
23911
|
+
"system.schedulerEnabled": "\u542F\u7528\u8C03\u5EA6\u5668",
|
|
23912
|
+
"system.checkInterval": "\u68C0\u67E5\u95F4\u9694",
|
|
23913
|
+
"system.activeTemplates": "\u542F\u7528\u6A21\u677F",
|
|
23914
|
+
"system.heartbeatTimeout": "\u5FC3\u8DF3\u8D85\u65F6",
|
|
23915
|
+
"system.cleanupInterval": "\u6E05\u7406\u95F4\u9694",
|
|
23916
|
+
"system.retentionDays": "\u4FDD\u7559\u5929\u6570",
|
|
23648
23917
|
"system.milliseconds": "ms",
|
|
23649
23918
|
"system.seconds": "s",
|
|
23650
23919
|
"system.minutes": "min",
|
|
23651
23920
|
"system.hours": "h",
|
|
23652
23921
|
"system.days": "d",
|
|
23653
|
-
"system.configForeground": "
|
|
23654
|
-
"system.configApplied": "
|
|
23655
|
-
"system.configPending": "
|
|
23656
|
-
"system.configRestartManually": "
|
|
23657
|
-
"system.savedValue": "
|
|
23658
|
-
"system.runtimeValue": "
|
|
23659
|
-
"system.runningTasks": "
|
|
23660
|
-
"system.configFile": "
|
|
23661
|
-
"system.path": "
|
|
23662
|
-
"system.fileExists": "
|
|
23663
|
-
"system.yes": "
|
|
23664
|
-
"system.noDefault": "
|
|
23665
|
-
"system.danger": "
|
|
23666
|
-
"system.dangerDescription": "
|
|
23667
|
-
"logs.command": "
|
|
23668
|
-
"logs.output": "
|
|
23669
|
-
"logs.error": "
|
|
23670
|
-
"logs.tools": "
|
|
23671
|
-
"logs.raw": "
|
|
23672
|
-
"logs.noText": "
|
|
23673
|
-
"logs.loading": "
|
|
23674
|
-
"logs.live": "
|
|
23675
|
-
"logs.steps": "
|
|
23922
|
+
"system.configForeground": "\u524D\u53F0\u8FD0\u884C \xB7 \u91CD\u542F\u540E\u751F\u6548",
|
|
23923
|
+
"system.configApplied": "\u8FD0\u884C\u503C\u4E0E\u5DF2\u4FDD\u5B58\u914D\u7F6E\u4E00\u81F4",
|
|
23924
|
+
"system.configPending": "\u5B58\u5728\u5F85\u751F\u6548\u6539\u52A8 \xB7 \u91CD\u542F Gateway \u540E\u5E94\u7528",
|
|
23925
|
+
"system.configRestartManually": "\u5B58\u5728\u5F85\u751F\u6548\u6539\u52A8 \xB7 \u8BF7\u624B\u52A8\u91CD\u542F Gateway",
|
|
23926
|
+
"system.savedValue": "\u5DF2\u4FDD\u5B58",
|
|
23927
|
+
"system.runtimeValue": "\u8FD0\u884C\u4E2D",
|
|
23928
|
+
"system.runningTasks": "\u8FD0\u884C\u4E2D\u6267\u884C \xB7 {running} / {limit}",
|
|
23929
|
+
"system.configFile": "\u914D\u7F6E\u6587\u4EF6",
|
|
23930
|
+
"system.path": "\u8DEF\u5F84",
|
|
23931
|
+
"system.fileExists": "\u6587\u4EF6\u72B6\u6001",
|
|
23932
|
+
"system.yes": "\u5DF2\u5B58\u5728",
|
|
23933
|
+
"system.noDefault": "\u9ED8\u8BA4\u914D\u7F6E",
|
|
23934
|
+
"system.danger": "\u5371\u9669\u64CD\u4F5C",
|
|
23935
|
+
"system.dangerDescription": "\u6E05\u7A7A\u5168\u90E8\u4EFB\u52A1\u3001\u6267\u884C\u8BB0\u5F55\u4E0E\u5B9A\u65F6\u6A21\u677F\uFF1B\u64CD\u4F5C\u524D\u81EA\u52A8\u5907\u4EFD\u6570\u636E\u5E93\u3002",
|
|
23936
|
+
"logs.command": "\u6267\u884C\u547D\u4EE4",
|
|
23937
|
+
"logs.output": "\u8F93\u51FA",
|
|
23938
|
+
"logs.error": "\u9519\u8BEF",
|
|
23939
|
+
"logs.tools": "\u5DE5\u5177\u8C03\u7528",
|
|
23940
|
+
"logs.raw": "\u539F\u59CB JSONL",
|
|
23941
|
+
"logs.noText": "\u6682\u65E0\u6587\u672C\u8F93\u51FA",
|
|
23942
|
+
"logs.loading": "\u52A0\u8F7D\u65E5\u5FD7\u2026",
|
|
23943
|
+
"logs.live": "\u5B9E\u65F6\u6D41",
|
|
23944
|
+
"logs.steps": "\u6B65\u9AA4",
|
|
23676
23945
|
"logs.tokens": "Tokens",
|
|
23677
|
-
"logs.tokInput": "
|
|
23678
|
-
"logs.tokOutput": "
|
|
23679
|
-
"logs.tokReasoning": "
|
|
23680
|
-
"logs.tokCache": "
|
|
23681
|
-
"logs.tokCacheRead": "
|
|
23682
|
-
"logs.tokCacheWrite": "
|
|
23683
|
-
"logs.cost": "
|
|
23684
|
-
"logs.autoScroll": "
|
|
23685
|
-
"logs.rootCause": "
|
|
23686
|
-
"
|
|
23687
|
-
"
|
|
23688
|
-
"inspector.tab.
|
|
23689
|
-
"inspector.
|
|
23690
|
-
"inspector.
|
|
23691
|
-
"inspector.
|
|
23692
|
-
"inspector.
|
|
23693
|
-
"
|
|
23694
|
-
"
|
|
23695
|
-
"details.
|
|
23696
|
-
"details.
|
|
23697
|
-
"details.
|
|
23698
|
-
"details.
|
|
23699
|
-
"details.
|
|
23700
|
-
"details.
|
|
23701
|
-
"details.
|
|
23702
|
-
"details.
|
|
23703
|
-
"details.
|
|
23704
|
-
"details.
|
|
23705
|
-
"details.
|
|
23706
|
-
"details.
|
|
23707
|
-
"details.
|
|
23708
|
-
"details.
|
|
23709
|
-
"details.
|
|
23710
|
-
"details.
|
|
23711
|
-
"details.
|
|
23712
|
-
"details.
|
|
23713
|
-
"details.
|
|
23714
|
-
"details.
|
|
23715
|
-
"details.
|
|
23716
|
-
"details.
|
|
23717
|
-
"details.
|
|
23718
|
-
"details.
|
|
23719
|
-
"details.
|
|
23720
|
-
"details.
|
|
23721
|
-
"details.
|
|
23722
|
-
"details.
|
|
23723
|
-
"details.
|
|
23724
|
-
"details.
|
|
23725
|
-
"details.
|
|
23726
|
-
"details.
|
|
23727
|
-
"details.
|
|
23728
|
-
"details.
|
|
23729
|
-
"details.history": "Run history",
|
|
23730
|
-
"details.noHistory": "No runs yet",
|
|
23946
|
+
"logs.tokInput": "\u8F93\u5165",
|
|
23947
|
+
"logs.tokOutput": "\u8F93\u51FA",
|
|
23948
|
+
"logs.tokReasoning": "\u63A8\u7406",
|
|
23949
|
+
"logs.tokCache": "\u7F13\u5B58",
|
|
23950
|
+
"logs.tokCacheRead": "\u8BFB",
|
|
23951
|
+
"logs.tokCacheWrite": "\u5199",
|
|
23952
|
+
"logs.cost": "\u8D39\u7528",
|
|
23953
|
+
"logs.autoScroll": "\u81EA\u52A8\u6EDA\u5E95",
|
|
23954
|
+
"logs.rootCause": "\u6839\u56E0",
|
|
23955
|
+
"inspector.tab.overview": "\u6982\u89C8",
|
|
23956
|
+
"inspector.tab.output": "\u5B9E\u65F6\u8F93\u51FA",
|
|
23957
|
+
"inspector.tab.history": "\u6267\u884C\u5386\u53F2",
|
|
23958
|
+
"inspector.dependencies": "\u4F9D\u8D56\u5173\u7CFB",
|
|
23959
|
+
"inspector.upstream": "\u524D\u7F6E",
|
|
23960
|
+
"inspector.downstream": "\u4E0B\u6E38",
|
|
23961
|
+
"inspector.failureSummary": "\u5931\u8D25\u539F\u56E0",
|
|
23962
|
+
"details.title": "\u8BE6\u60C5",
|
|
23963
|
+
"details.taskTitle": "\u4EFB\u52A1 #{id}",
|
|
23964
|
+
"details.runTitle": "\u6267\u884C #{id}",
|
|
23965
|
+
"details.templateTitle": "\u6A21\u677F #{id}",
|
|
23966
|
+
"details.raw": "\u539F\u59CB JSON",
|
|
23967
|
+
"details.copySuccess": "\u5DF2\u590D\u5236",
|
|
23968
|
+
"details.id": "ID",
|
|
23969
|
+
"details.project": "\u9879\u76EE\u76EE\u5F55",
|
|
23970
|
+
"details.variant": "Variant",
|
|
23971
|
+
"details.prompt": "\u63D0\u793A\u8BCD",
|
|
23972
|
+
"details.result": "\u8F93\u51FA",
|
|
23973
|
+
"details.category": "\u5206\u7C7B",
|
|
23974
|
+
"details.batch": "\u6279\u6B21",
|
|
23975
|
+
"details.dependency": "\u4F9D\u8D56",
|
|
23976
|
+
"details.importance": "\u91CD\u8981\u5EA6",
|
|
23977
|
+
"details.urgency": "\u7D27\u6025\u5EA6",
|
|
23978
|
+
"details.retryCount": "\u91CD\u8BD5",
|
|
23979
|
+
"details.retryBackoff": "\u9000\u907F\u57FA\u51C6",
|
|
23980
|
+
"details.timeout": "\u8D85\u65F6",
|
|
23981
|
+
"details.createdAt": "\u521B\u5EFA\u65F6\u95F4",
|
|
23982
|
+
"details.updatedAt": "\u66F4\u65B0\u65F6\u95F4",
|
|
23983
|
+
"details.startedAt": "\u5F00\u59CB\u65F6\u95F4",
|
|
23984
|
+
"details.finishedAt": "\u5B8C\u6210\u65F6\u95F4",
|
|
23985
|
+
"details.scheduledAt": "\u8BA1\u5212\u65F6\u95F4",
|
|
23986
|
+
"details.enabled": "\u542F\u7528",
|
|
23987
|
+
"details.scheduleRule": "\u8C03\u5EA6\u89C4\u5219",
|
|
23988
|
+
"details.maxInstances": "\u5E76\u53D1\u4E0A\u9650",
|
|
23989
|
+
"details.maxRetries": "\u91CD\u8BD5\u4E0A\u9650",
|
|
23990
|
+
"details.lastRun": "\u4E0A\u6B21\u6267\u884C",
|
|
23991
|
+
"details.nextRun": "\u4E0B\u6B21\u6267\u884C",
|
|
23992
|
+
"details.taskId": "\u4EFB\u52A1",
|
|
23993
|
+
"details.session": "\u4F1A\u8BDD",
|
|
23994
|
+
"details.heartbeat": "\u5FC3\u8DF3",
|
|
23995
|
+
"details.process": "\u8FDB\u7A0B",
|
|
23996
|
+
"details.history": "\u6267\u884C\u5386\u53F2",
|
|
23997
|
+
"details.noHistory": "\u6682\u65E0\u6267\u884C\u8BB0\u5F55",
|
|
23731
23998
|
"details.none": "\u2014",
|
|
23732
|
-
"details.default": "
|
|
23733
|
-
"details.enabledYes": "
|
|
23734
|
-
"details.enabledNo": "
|
|
23735
|
-
"batch.selected": "{count}
|
|
23736
|
-
"batch.retry": "
|
|
23737
|
-
"batch.cancel": "
|
|
23738
|
-
"batch.delete": "
|
|
23739
|
-
"dialog.cancelTask": "
|
|
23740
|
-
"dialog.cancelTaskBody": "
|
|
23741
|
-
"dialog.retryTask": "
|
|
23742
|
-
"dialog.retryTaskBody": "
|
|
23743
|
-
"dialog.deleteTask": "
|
|
23744
|
-
"dialog.deleteTaskBody": "
|
|
23745
|
-
"dialog.batchRetry": "
|
|
23746
|
-
"dialog.batchRetryBody": "
|
|
23747
|
-
"dialog.batchCancel": "
|
|
23748
|
-
"dialog.batchCancelBody": "
|
|
23749
|
-
"dialog.batchDelete": "
|
|
23750
|
-
"dialog.batchDeleteBody": "
|
|
23751
|
-
"dialog.disableTemplate": "
|
|
23752
|
-
"dialog.disableTemplateBody": "
|
|
23753
|
-
"dialog.deleteTemplate": "
|
|
23754
|
-
"dialog.deleteTemplateBody": "
|
|
23755
|
-
"dialog.triggerTemplate": "
|
|
23756
|
-
"dialog.triggerTemplateBody": "
|
|
23757
|
-
"dialog.clearTitle": "
|
|
23758
|
-
"dialog.clearBody": "
|
|
23759
|
-
"dialog.clearInstruction": "
|
|
23760
|
-
"dialog.restartGateway": "
|
|
23761
|
-
"dialog.restartGatewayBody": "
|
|
23762
|
-
"dialog.restartGatewayRunningBody": "{count}
|
|
23763
|
-
"dialog.copyManualTitle": "
|
|
23764
|
-
"dialog.copyManualBody": "
|
|
23765
|
-
"feedback.retryFailed": "
|
|
23766
|
-
"feedback.cancelFailed": "
|
|
23767
|
-
"feedback.deleteFailed": "
|
|
23768
|
-
"feedback.requestFailed": "
|
|
23769
|
-
"feedback.triggered": "
|
|
23770
|
-
"feedback.taskCreated": "
|
|
23771
|
-
"feedback.taskUpdated": "
|
|
23772
|
-
"feedback.taskCloned": "
|
|
23773
|
-
"feedback.taskRetried": "
|
|
23774
|
-
"feedback.taskCancelled": "
|
|
23775
|
-
"feedback.taskDeleted": "
|
|
23776
|
-
"feedback.batchDone": "
|
|
23777
|
-
"feedback.templateCreated": "
|
|
23778
|
-
"feedback.templateUpdated": "
|
|
23779
|
-
"feedback.configSaved": "
|
|
23780
|
-
"feedback.sessionCommandCopied": "
|
|
23781
|
-
"feedback.commandCopied": "
|
|
23782
|
-
"feedback.restarting": "
|
|
23783
|
-
"feedback.restartTimeout": "Gateway
|
|
23784
|
-
"feedback.databaseCleared": "
|
|
23785
|
-
"feedback.copyFailed": "
|
|
23786
|
-
"a11y.skip": "
|
|
23787
|
-
"a11y.refreshing": "
|
|
23999
|
+
"details.default": "\u9ED8\u8BA4",
|
|
24000
|
+
"details.enabledYes": "\u5DF2\u542F\u7528",
|
|
24001
|
+
"details.enabledNo": "\u5DF2\u7981\u7528",
|
|
24002
|
+
"batch.selected": "\u5DF2\u9009 {count} \u9879",
|
|
24003
|
+
"batch.retry": "\u6279\u91CF\u91CD\u8BD5",
|
|
24004
|
+
"batch.cancel": "\u6279\u91CF\u53D6\u6D88",
|
|
24005
|
+
"batch.delete": "\u6279\u91CF\u5220\u9664",
|
|
24006
|
+
"dialog.cancelTask": "\u53D6\u6D88\u4EFB\u52A1 #{id}",
|
|
24007
|
+
"dialog.cancelTaskBody": "\u4EFB\u52A1\u5C06\u505C\u6B62\u6392\u961F\u6216\u7EC8\u6B62\u5F53\u524D\u6267\u884C\u3002",
|
|
24008
|
+
"dialog.retryTask": "\u91CD\u8BD5\u4EFB\u52A1 #{id}",
|
|
24009
|
+
"dialog.retryTaskBody": "\u91CD\u7F6E\u91CD\u8BD5\u8BA1\u6570\u5E76\u91CD\u65B0\u52A0\u5165\u961F\u5217\u3002",
|
|
24010
|
+
"dialog.deleteTask": "\u5220\u9664\u4EFB\u52A1 #{id}",
|
|
24011
|
+
"dialog.deleteTaskBody": "\u5220\u9664\u8BE5\u4EFB\u52A1\u53CA\u5176\u5168\u90E8\u6267\u884C\u8BB0\u5F55\uFF0C\u4E0D\u53EF\u6062\u590D\u3002",
|
|
24012
|
+
"dialog.batchRetry": "\u6279\u91CF\u91CD\u8BD5 {count} \u4E2A\u4EFB\u52A1",
|
|
24013
|
+
"dialog.batchRetryBody": "\u4EC5\u5931\u8D25\u6216\u5DF2\u505C\u6B62\u7684\u4EFB\u52A1\u4F1A\u88AB\u91CD\u65B0\u5165\u961F\u3002",
|
|
24014
|
+
"dialog.batchCancel": "\u6279\u91CF\u53D6\u6D88 {count} \u4E2A\u4EFB\u52A1",
|
|
24015
|
+
"dialog.batchCancelBody": "\u6392\u961F\u4E2D\u3001\u8FD0\u884C\u4E2D\u6216\u7B49\u5F85\u91CD\u8BD5\u7684\u4EFB\u52A1\u5C06\u88AB\u53D6\u6D88\u3002",
|
|
24016
|
+
"dialog.batchDelete": "\u6279\u91CF\u5220\u9664 {count} \u4E2A\u4EFB\u52A1",
|
|
24017
|
+
"dialog.batchDeleteBody": "\u5220\u9664\u6240\u9009\u975E\u8FD0\u884C\u4E2D\u4EFB\u52A1\u53CA\u5176\u6267\u884C\u8BB0\u5F55\uFF0C\u4E0D\u53EF\u6062\u590D\u3002",
|
|
24018
|
+
"dialog.disableTemplate": "\u7981\u7528\u5B9A\u65F6\u4EFB\u52A1",
|
|
24019
|
+
"dialog.disableTemplateBody": "\u7981\u7528\u540E\u4E0D\u518D\u81EA\u52A8\u521B\u5EFA\u65B0\u4EFB\u52A1\u3002",
|
|
24020
|
+
"dialog.deleteTemplate": "\u5220\u9664\u5B9A\u65F6\u4EFB\u52A1",
|
|
24021
|
+
"dialog.deleteTemplateBody": "\u5220\u9664\u6A21\u677F\u914D\u7F6E\uFF0C\u4E0D\u5F71\u54CD\u5DF2\u751F\u6210\u7684\u5386\u53F2\u4EFB\u52A1\u3002",
|
|
24022
|
+
"dialog.triggerTemplate": "\u7ACB\u5373\u8FD0\u884C\u5B9A\u65F6\u4EFB\u52A1",
|
|
24023
|
+
"dialog.triggerTemplateBody": "\u7ACB\u5373\u751F\u6210\u4E00\u6761\u4EFB\u52A1\u5E76\u52A0\u5165\u961F\u5217\u3002",
|
|
24024
|
+
"dialog.clearTitle": "\u6E05\u7A7A\u6570\u636E\u5E93",
|
|
24025
|
+
"dialog.clearBody": "\u6B64\u64CD\u4F5C\u4F1A\u6E05\u7A7A\u6240\u6709\u4EFB\u52A1\u3001\u6267\u884C\u8BB0\u5F55\u548C\u5B9A\u65F6\u6A21\u677F\u3002",
|
|
24026
|
+
"dialog.clearInstruction": "\u8BF7\u8F93\u5165 CLEAR \u4EE5\u786E\u8BA4\uFF1A",
|
|
24027
|
+
"dialog.restartGateway": "\u91CD\u542F Gateway",
|
|
24028
|
+
"dialog.restartGatewayBody": "\u4FDD\u5B58\u914D\u7F6E\u5E76\u7531 PM2 \u91CD\u542F Gateway \u4F7F\u65B0\u914D\u7F6E\u751F\u6548\u3002",
|
|
24029
|
+
"dialog.restartGatewayRunningBody": "\u5F53\u524D\u6709 {count} \u4E2A\u4EFB\u52A1\u6B63\u5728\u8FD0\u884C\uFF0C\u91CD\u542F\u4F1A\u4E2D\u65AD\u5E76\u91CD\u65B0\u6392\u961F\u3002\u786E\u8BA4\u7EE7\u7EED\uFF1F",
|
|
24030
|
+
"dialog.copyManualTitle": "\u624B\u52A8\u590D\u5236",
|
|
24031
|
+
"dialog.copyManualBody": "\u6D4F\u89C8\u5668\u62E6\u622A\u4E86\u526A\u8D34\u677F\u8BBF\u95EE\uFF0C\u8BF7\u6309 \u2318C / Ctrl+C \u590D\u5236\u3002",
|
|
24032
|
+
"feedback.retryFailed": "\u91CD\u8BD5\u5931\u8D25",
|
|
24033
|
+
"feedback.cancelFailed": "\u53D6\u6D88\u5931\u8D25",
|
|
24034
|
+
"feedback.deleteFailed": "\u5220\u9664\u5931\u8D25",
|
|
24035
|
+
"feedback.requestFailed": "\u8BF7\u6C42\u5931\u8D25",
|
|
24036
|
+
"feedback.triggered": "\u5DF2\u5165\u961F\u4EFB\u52A1 #{id}",
|
|
24037
|
+
"feedback.taskCreated": "\u5DF2\u5165\u961F\u4EFB\u52A1 #{id}",
|
|
24038
|
+
"feedback.taskUpdated": "\u5DF2\u66F4\u65B0\u4EFB\u52A1 #{id}",
|
|
24039
|
+
"feedback.taskCloned": "\u5DF2\u514B\u9686\u4EFB\u52A1 #{id}",
|
|
24040
|
+
"feedback.taskRetried": "\u4EFB\u52A1 #{id} \u5DF2\u91CD\u65B0\u5165\u961F",
|
|
24041
|
+
"feedback.taskCancelled": "\u4EFB\u52A1 #{id} \u5DF2\u53D6\u6D88",
|
|
24042
|
+
"feedback.taskDeleted": "\u4EFB\u52A1 #{id} \u5DF2\u5220\u9664",
|
|
24043
|
+
"feedback.batchDone": "\u6279\u91CF\u64CD\u4F5C\u5B8C\u6210\uFF08\u6210\u529F {count}\uFF09",
|
|
24044
|
+
"feedback.templateCreated": "\u5B9A\u65F6\u4EFB\u52A1\u5DF2\u521B\u5EFA",
|
|
24045
|
+
"feedback.templateUpdated": "\u5B9A\u65F6\u4EFB\u52A1\u5DF2\u66F4\u65B0",
|
|
24046
|
+
"feedback.configSaved": "\u914D\u7F6E\u5DF2\u4FDD\u5B58",
|
|
24047
|
+
"feedback.sessionCommandCopied": "\u4F1A\u8BDD\u547D\u4EE4\u5DF2\u590D\u5236",
|
|
24048
|
+
"feedback.commandCopied": "\u6267\u884C\u547D\u4EE4\u5DF2\u590D\u5236",
|
|
24049
|
+
"feedback.restarting": "Gateway \u91CD\u542F\u4E2D\u2026",
|
|
24050
|
+
"feedback.restartTimeout": "Gateway \u5C1A\u672A\u6062\u590D\uFF0C\u8BF7\u7A0D\u540E\u5237\u65B0\u68C0\u67E5\u3002",
|
|
24051
|
+
"feedback.databaseCleared": "\u6570\u636E\u5E93\u5DF2\u6E05\u7A7A\uFF0C\u5907\u4EFD\uFF1A{path}",
|
|
24052
|
+
"feedback.copyFailed": "\u590D\u5236\u5931\u8D25",
|
|
24053
|
+
"a11y.skip": "\u8DF3\u81F3\u4E3B\u5185\u5BB9",
|
|
24054
|
+
"a11y.refreshing": "\u5237\u65B0\u4E2D"
|
|
23788
24055
|
};
|
|
23789
24056
|
}
|
|
23790
24057
|
});
|
|
23791
24058
|
|
|
24059
|
+
// src/web/locales/index.ts
|
|
24060
|
+
function getLocaleDefinition(locale) {
|
|
24061
|
+
return DEFINITIONS_BY_CODE.get(locale) ?? DEFINITIONS_BY_CODE.get(DEFAULT_LOCALE);
|
|
24062
|
+
}
|
|
24063
|
+
function parseLocale(raw2) {
|
|
24064
|
+
if (!raw2) return null;
|
|
24065
|
+
const normalized = raw2.trim().replace(/_/g, "-").toLowerCase();
|
|
24066
|
+
if (!normalized) return null;
|
|
24067
|
+
const exact = EXACT_ALIAS_MAP.get(normalized);
|
|
24068
|
+
if (exact) return exact;
|
|
24069
|
+
const primary = normalized.split("-")[0];
|
|
24070
|
+
return primary ? PRIMARY_SUBTAG_MAP.get(primary) ?? null : null;
|
|
24071
|
+
}
|
|
24072
|
+
function negotiateLocale(acceptLanguage, fallback = DEFAULT_LOCALE) {
|
|
24073
|
+
if (!acceptLanguage) return fallback;
|
|
24074
|
+
const candidates = acceptLanguage.split(",").map((part, index2) => {
|
|
24075
|
+
const [tagPart, ...params] = part.trim().split(";");
|
|
24076
|
+
let weight = 1;
|
|
24077
|
+
for (const param of params) {
|
|
24078
|
+
const match2 = /^q=([0-9.]+)$/i.exec(param.trim());
|
|
24079
|
+
if (match2) {
|
|
24080
|
+
const parsed = Number(match2[1]);
|
|
24081
|
+
if (Number.isFinite(parsed)) weight = parsed;
|
|
24082
|
+
}
|
|
24083
|
+
}
|
|
24084
|
+
return { tag: tagPart?.trim() ?? "", weight, index: index2 };
|
|
24085
|
+
}).filter((item) => item.tag.length > 0 && item.weight > 0).sort((left, right) => right.weight - left.weight || left.index - right.index);
|
|
24086
|
+
for (const candidate of candidates) {
|
|
24087
|
+
const matched = parseLocale(candidate.tag);
|
|
24088
|
+
if (matched) return matched;
|
|
24089
|
+
}
|
|
24090
|
+
return fallback;
|
|
24091
|
+
}
|
|
24092
|
+
function resolveMessage(locale, key) {
|
|
24093
|
+
const def = getLocaleDefinition(locale);
|
|
24094
|
+
return def.messages[key] ?? EN[key];
|
|
24095
|
+
}
|
|
24096
|
+
function isKnownMessageKey(key) {
|
|
24097
|
+
return key in EN;
|
|
24098
|
+
}
|
|
24099
|
+
var LOCALE_REGISTRY, DEFAULT_LOCALE, SUPPORTED_LOCALES, DEFINITIONS_BY_CODE, EXACT_ALIAS_MAP, PRIMARY_SUBTAG_MAP, ALL_MESSAGE_KEYS;
|
|
24100
|
+
var init_locales = __esm({
|
|
24101
|
+
"src/web/locales/index.ts"() {
|
|
24102
|
+
"use strict";
|
|
24103
|
+
init_en();
|
|
24104
|
+
init_es();
|
|
24105
|
+
init_zh_CN();
|
|
24106
|
+
LOCALE_REGISTRY = [
|
|
24107
|
+
{
|
|
24108
|
+
code: "zh-CN",
|
|
24109
|
+
htmlLang: "zh-CN",
|
|
24110
|
+
intlLocale: "zh-CN",
|
|
24111
|
+
shortLabel: "\u4E2D",
|
|
24112
|
+
nativeLabel: "\u4E2D\u6587",
|
|
24113
|
+
aliases: ["zh", "zh-cn", "zh-hans", "zh-sg"],
|
|
24114
|
+
messages: ZH_CN
|
|
24115
|
+
},
|
|
24116
|
+
{
|
|
24117
|
+
code: "en",
|
|
24118
|
+
htmlLang: "en",
|
|
24119
|
+
intlLocale: "en-US",
|
|
24120
|
+
shortLabel: "EN",
|
|
24121
|
+
nativeLabel: "English",
|
|
24122
|
+
aliases: ["en", "en-us", "en-gb", "en-au", "en-ca"],
|
|
24123
|
+
messages: EN
|
|
24124
|
+
},
|
|
24125
|
+
{
|
|
24126
|
+
code: "es",
|
|
24127
|
+
htmlLang: "es",
|
|
24128
|
+
intlLocale: "es-ES",
|
|
24129
|
+
shortLabel: "ES",
|
|
24130
|
+
nativeLabel: "Espa\xF1ol",
|
|
24131
|
+
aliases: ["es", "es-es", "es-mx", "es-419", "es-ar", "es-co", "es-cl"],
|
|
24132
|
+
messages: ES
|
|
24133
|
+
}
|
|
24134
|
+
];
|
|
24135
|
+
DEFAULT_LOCALE = "zh-CN";
|
|
24136
|
+
SUPPORTED_LOCALES = LOCALE_REGISTRY.map((entry) => entry.code);
|
|
24137
|
+
DEFINITIONS_BY_CODE = new Map(
|
|
24138
|
+
LOCALE_REGISTRY.map((entry) => [entry.code, entry])
|
|
24139
|
+
);
|
|
24140
|
+
EXACT_ALIAS_MAP = /* @__PURE__ */ new Map();
|
|
24141
|
+
PRIMARY_SUBTAG_MAP = /* @__PURE__ */ new Map();
|
|
24142
|
+
for (const entry of LOCALE_REGISTRY) {
|
|
24143
|
+
const codeKey = entry.code.toLowerCase();
|
|
24144
|
+
EXACT_ALIAS_MAP.set(codeKey, entry.code);
|
|
24145
|
+
for (const alias of entry.aliases) {
|
|
24146
|
+
EXACT_ALIAS_MAP.set(alias.toLowerCase(), entry.code);
|
|
24147
|
+
}
|
|
24148
|
+
const primary = codeKey.split("-")[0];
|
|
24149
|
+
if (primary && !PRIMARY_SUBTAG_MAP.has(primary)) {
|
|
24150
|
+
PRIMARY_SUBTAG_MAP.set(primary, entry.code);
|
|
24151
|
+
}
|
|
24152
|
+
}
|
|
24153
|
+
ALL_MESSAGE_KEYS = Object.keys(EN);
|
|
24154
|
+
}
|
|
24155
|
+
});
|
|
24156
|
+
|
|
24157
|
+
// src/web/i18n.ts
|
|
24158
|
+
function t(locale, key, values = {}) {
|
|
24159
|
+
const template = resolveMessage(locale, key);
|
|
24160
|
+
return template.replace(/\{([a-zA-Z]+)\}/g, (_, name) => String(values[name] ?? `{${name}}`));
|
|
24161
|
+
}
|
|
24162
|
+
function statusText(locale, status) {
|
|
24163
|
+
const key = `status.${status}`;
|
|
24164
|
+
return isKnownMessageKey(key) ? t(locale, key) : t(locale, "status.unknown");
|
|
24165
|
+
}
|
|
24166
|
+
function runStatusText(locale, status) {
|
|
24167
|
+
const key = `runStatus.${status}`;
|
|
24168
|
+
return isKnownMessageKey(key) ? t(locale, key) : t(locale, "status.unknown");
|
|
24169
|
+
}
|
|
24170
|
+
function resolveEditedRunAt(originalEpoch, originalLocal, currentLocal) {
|
|
24171
|
+
if (originalEpoch !== null && originalLocal === currentLocal) return originalEpoch;
|
|
24172
|
+
return new Date(currentLocal).getTime();
|
|
24173
|
+
}
|
|
24174
|
+
function formatRelative(timestamp2, locale) {
|
|
24175
|
+
if (!timestamp2) return "\u2014";
|
|
24176
|
+
const deltaMs = timestamp2 - Date.now();
|
|
24177
|
+
const abs = Math.abs(deltaMs);
|
|
24178
|
+
const { intlLocale } = getLocaleDefinition(locale);
|
|
24179
|
+
const formatter = new Intl.RelativeTimeFormat(intlLocale, { numeric: "auto" });
|
|
24180
|
+
if (abs < 6e4) return formatter.format(Math.round(deltaMs / 1e3), "second");
|
|
24181
|
+
if (abs < 36e5) return formatter.format(Math.round(deltaMs / 6e4), "minute");
|
|
24182
|
+
if (abs < 864e5) return formatter.format(Math.round(deltaMs / 36e5), "hour");
|
|
24183
|
+
return formatter.format(Math.round(deltaMs / 864e5), "day");
|
|
24184
|
+
}
|
|
24185
|
+
function formatFuture(timestamp2, locale) {
|
|
24186
|
+
if (!timestamp2) return "\u2014";
|
|
24187
|
+
if (timestamp2 < Date.now()) return t(locale, "schedule.overdue");
|
|
24188
|
+
return formatRelative(timestamp2, locale);
|
|
24189
|
+
}
|
|
24190
|
+
function formatDateTime(value, locale) {
|
|
24191
|
+
if (!value) return "\u2014";
|
|
24192
|
+
const date = value instanceof Date ? value : new Date(value);
|
|
24193
|
+
const { intlLocale } = getLocaleDefinition(locale);
|
|
24194
|
+
return new Intl.DateTimeFormat(intlLocale, {
|
|
24195
|
+
month: "short",
|
|
24196
|
+
day: "2-digit",
|
|
24197
|
+
hour: "2-digit",
|
|
24198
|
+
minute: "2-digit"
|
|
24199
|
+
}).format(date);
|
|
24200
|
+
}
|
|
24201
|
+
function formatInterval(milliseconds, locale) {
|
|
24202
|
+
const { intlLocale } = getLocaleDefinition(locale);
|
|
24203
|
+
const formatter = new Intl.NumberFormat(intlLocale, {
|
|
24204
|
+
maximumFractionDigits: 1
|
|
24205
|
+
});
|
|
24206
|
+
if (milliseconds < 6e4) {
|
|
24207
|
+
return t(locale, "schedule.seconds", { count: formatter.format(milliseconds / 1e3) });
|
|
24208
|
+
}
|
|
24209
|
+
if (milliseconds < 36e5) {
|
|
24210
|
+
return t(locale, "schedule.minutes", { count: formatter.format(milliseconds / 6e4) });
|
|
24211
|
+
}
|
|
24212
|
+
if (milliseconds < 864e5) {
|
|
24213
|
+
return t(locale, "schedule.hours", { count: formatter.format(milliseconds / 36e5) });
|
|
24214
|
+
}
|
|
24215
|
+
return t(locale, "schedule.days", { count: formatter.format(milliseconds / 864e5) });
|
|
24216
|
+
}
|
|
24217
|
+
function formatDuration(startAt, endAt) {
|
|
24218
|
+
if (!startAt) return "\u2014";
|
|
24219
|
+
const start = new Date(startAt).getTime();
|
|
24220
|
+
const end = endAt ? new Date(endAt).getTime() : Date.now();
|
|
24221
|
+
const diffMs = end - start;
|
|
24222
|
+
if (diffMs < 1e3) return "<1s";
|
|
24223
|
+
const seconds = Math.floor(diffMs / 1e3);
|
|
24224
|
+
if (seconds < 60) return `${seconds}s`;
|
|
24225
|
+
if (seconds < 3600) return `${Math.floor(seconds / 60)}m ${seconds % 60}s`;
|
|
24226
|
+
return `${Math.floor(seconds / 3600)}h ${Math.floor(seconds % 3600 / 60)}m`;
|
|
24227
|
+
}
|
|
24228
|
+
function formatCountdown(targetMs, locale) {
|
|
24229
|
+
if (!targetMs) return null;
|
|
24230
|
+
const remaining = targetMs - Date.now();
|
|
24231
|
+
if (remaining <= 0) return null;
|
|
24232
|
+
return formatInterval(remaining, locale);
|
|
24233
|
+
}
|
|
24234
|
+
function clientMessages(locale) {
|
|
24235
|
+
return Object.fromEntries(
|
|
24236
|
+
ALL_MESSAGE_KEYS.map((key) => [key, t(locale, key)])
|
|
24237
|
+
);
|
|
24238
|
+
}
|
|
24239
|
+
function esc(value) {
|
|
24240
|
+
if (!value) return "";
|
|
24241
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
24242
|
+
}
|
|
24243
|
+
var init_i18n = __esm({
|
|
24244
|
+
"src/web/i18n.ts"() {
|
|
24245
|
+
"use strict";
|
|
24246
|
+
init_locales();
|
|
24247
|
+
}
|
|
24248
|
+
});
|
|
24249
|
+
|
|
23792
24250
|
// src/web/assets/client.ts
|
|
23793
24251
|
var APP_JS;
|
|
23794
24252
|
var init_client = __esm({
|
|
@@ -26442,10 +26900,9 @@ var init_assets = __esm({
|
|
|
26442
26900
|
refresh: icon("refresh"),
|
|
26443
26901
|
close: icon("close")
|
|
26444
26902
|
};
|
|
26445
|
-
I18N_BUNDLES =
|
|
26446
|
-
|
|
26447
|
-
|
|
26448
|
-
};
|
|
26903
|
+
I18N_BUNDLES = Object.fromEntries(
|
|
26904
|
+
SUPPORTED_LOCALES.map((locale) => [locale, buildI18nBundle(locale)])
|
|
26905
|
+
);
|
|
26449
26906
|
CSS_HASH = hashContent(APP_CSS);
|
|
26450
26907
|
JS_HASH = hashContent(APP_JS);
|
|
26451
26908
|
CSS_URL = `/assets/app.css?v=${CSS_HASH}`;
|
|
@@ -26582,7 +27039,7 @@ function renderSidebarProjects(locale, activeTab, sidebar) {
|
|
|
26582
27039
|
function renderLayout(options) {
|
|
26583
27040
|
const { locale, activeTab, topbar, body, sidebar } = options;
|
|
26584
27041
|
const pageTitle = options.title || t(locale, PAGE_TITLE_KEYS[activeTab]);
|
|
26585
|
-
const language = locale
|
|
27042
|
+
const language = getLocaleDefinition(locale).htmlLang;
|
|
26586
27043
|
const runningCount = sidebar.overview.global.activeExecution;
|
|
26587
27044
|
const issueCount = sidebar.overview.global.failed + sidebar.overview.global.dead_letter;
|
|
26588
27045
|
const healthOk = sidebar.health.status === "ok";
|
|
@@ -26621,7 +27078,7 @@ function renderLayout(options) {
|
|
|
26621
27078
|
activeTab,
|
|
26622
27079
|
activeProject: sidebar.activeProject
|
|
26623
27080
|
}).replace(/</g, "\\u003c");
|
|
26624
|
-
return `<!DOCTYPE html><html lang="${language}"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><meta name="color-scheme" content="light dark"><meta name="theme-color" content="#f6f7f9"><link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='6' fill='%234f46e5'/%3E%3Cpath d='m7 12 3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"><title>${esc(pageTitle)} \xB7 SuperTask</title><script>(function(){try{var p=localStorage.getItem('supertask-theme')||'system';var d=p==='system'?(matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light'):p;document.documentElement.dataset.theme=d;document.documentElement.dataset.themePreference=p}catch(e){}})();</script><link rel="stylesheet" href="${CSS_URL}"></head><body>${iconSprite()}<a class="skip-link" href="#main">${t(locale, "a11y.skip")}</a><div id="sidebar-backdrop" class="sidebar-backdrop" onclick="toggleSidebar(false)"></div><div class="workspace"><aside id="sidebar" class="sidebar" aria-label="Sidebar"><div class="sidebar-head"><a class="brand" href="/"><span class="brand-mark">${icon("brand")}</span><span>${t(locale, "app.name")}</span></a><button type="button" class="icon-btn sidebar-close" onclick="toggleSidebar(false)" aria-label="${t(locale, "action.close")}">${icon("close")}</button></div><nav id="sidebar-nav" class="sidebar-nav" aria-label="Primary">` + navItems.map((item) => `<a href="${item.href}" class="nav-item${activeTab === item.id ? " active" : ""}"${activeTab === item.id ? ' aria-current="page"' : ""}>${icon(item.icon)}<span class="nav-label">${t(locale, `nav.${item.id}`)}</span><span class="nav-badges">${item.badges}</span></a>`).join("") + `</nav><div class="sidebar-section-head"><span>${t(locale, "projects.title")}</span><span class="num">${sidebar.overview.projects.length}</span></div><div id="sidebar-projects" class="project-list">${renderSidebarProjects(locale, activeTab, sidebar)}</div><div class="sidebar-foot"><a id="gateway-pulse" class="pulse-box" href="/system"><div class="pulse-row"><span class="pulse-status"><span class="pulse-dot${healthOk ? "" : " degraded"}"></span>${t(locale, healthOk ? "system.healthy" : "system.degraded")}</span><span class="pulse-meta" title="${esc(t(locale, "system.concurrency"))}">${runningCount} / ${sidebar.maxConcurrency}</span></div><div class="pulse-bar"><div class="pulse-bar-fill" style="width:${concurrencyPct}%"></div></div></a><div class="sidebar-controls"><
|
|
27081
|
+
return `<!DOCTYPE html><html lang="${language}"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><meta name="color-scheme" content="light dark"><meta name="theme-color" content="#f6f7f9"><link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='6' fill='%234f46e5'/%3E%3Cpath d='m7 12 3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"><title>${esc(pageTitle)} \xB7 SuperTask</title><script>(function(){try{var p=localStorage.getItem('supertask-theme')||'system';var d=p==='system'?(matchMedia('(prefers-color-scheme: dark)').matches?'dark':'light'):p;document.documentElement.dataset.theme=d;document.documentElement.dataset.themePreference=p}catch(e){}})();</script><link rel="stylesheet" href="${CSS_URL}"></head><body>${iconSprite()}<a class="skip-link" href="#main">${t(locale, "a11y.skip")}</a><div id="sidebar-backdrop" class="sidebar-backdrop" onclick="toggleSidebar(false)"></div><div class="workspace"><aside id="sidebar" class="sidebar" aria-label="Sidebar"><div class="sidebar-head"><a class="brand" href="/"><span class="brand-mark">${icon("brand")}</span><span>${t(locale, "app.name")}</span></a><button type="button" class="icon-btn sidebar-close" onclick="toggleSidebar(false)" aria-label="${t(locale, "action.close")}">${icon("close")}</button></div><nav id="sidebar-nav" class="sidebar-nav" aria-label="Primary">` + navItems.map((item) => `<a href="${item.href}" class="nav-item${activeTab === item.id ? " active" : ""}"${activeTab === item.id ? ' aria-current="page"' : ""}>${icon(item.icon)}<span class="nav-label">${t(locale, `nav.${item.id}`)}</span><span class="nav-badges">${item.badges}</span></a>`).join("") + `</nav><div class="sidebar-section-head"><span>${t(locale, "projects.title")}</span><span class="num">${sidebar.overview.projects.length}</span></div><div id="sidebar-projects" class="project-list">${renderSidebarProjects(locale, activeTab, sidebar)}</div><div class="sidebar-foot"><a id="gateway-pulse" class="pulse-box" href="/system"><div class="pulse-row"><span class="pulse-status"><span class="pulse-dot${healthOk ? "" : " degraded"}"></span>${t(locale, healthOk ? "system.healthy" : "system.degraded")}</span><span class="pulse-meta" title="${esc(t(locale, "system.concurrency"))}">${runningCount} / ${sidebar.maxConcurrency}</span></div><div class="pulse-bar"><div class="pulse-bar-fill" style="width:${concurrencyPct}%"></div></div></a><div class="sidebar-controls"><label class="sidebar-select-wrap lang-select-wrap" aria-label="${t(locale, "language.label")}">${icon("globe")}<select id="lang-select" onchange="setLocale(this.value)" title="${t(locale, "language.label")}">` + LOCALE_REGISTRY.map((entry) => `<option value="${esc(entry.code)}"${entry.code === locale ? " selected" : ""}>${esc(entry.nativeLabel)}</option>`).join("") + `</select></label><label class="sidebar-select-wrap theme-select-wrap" aria-label="${t(locale, "theme.label")}">${icon("sun")}<select id="theme-select" onchange="setTheme(this.value)" title="${t(locale, "theme.label")}"><option value="system">${t(locale, "theme.system")}</option><option value="light">${t(locale, "theme.light")}</option><option value="dark">${t(locale, "theme.dark")}</option></select></label></div></div></aside><div class="main-area"><header id="main-topbar" class="topbar"><div class="topbar-left"><button type="button" class="icon-btn menu-btn" onclick="toggleSidebar(true)" aria-label="${t(locale, "action.openMenu")}">${icon("menu")}</button>${topbar}</div></header><main id="main" tabindex="-1"><div id="page-content" class="content-body">${body}</div></main></div></div><div id="inspector-backdrop" class="inspector-backdrop" onclick="closeInspector()"></div><aside id="inspector-drawer" class="inspector" aria-label="${t(locale, "details.title")}"><div class="inspector-head"><div class="inspector-title-row"><div class="inspector-title-group"><h2 id="inspector-title">${t(locale, "details.title")}</h2><span id="inspector-badge" class="badge" hidden></span></div><button type="button" class="icon-btn" onclick="closeInspector()" aria-label="${t(locale, "action.close")}">${icon("close")}</button></div><div id="inspector-actions" class="inspector-actions"></div></div><div id="inspector-tabs" class="inspector-tabs" hidden></div><div id="inspector-body" class="inspector-body"></div></aside><div id="global-row-menu" class="menu-dropdown menu-floating" role="menu" hidden></div><div id="toast-region" class="toast-region" popover="manual" role="status" aria-live="polite"></div>` + (activeTab === "tasks" || activeTab === "templates" ? `<dialog id="directory-dialog" class="directory-dialog"><div class="dialog-head"><h2>${t(locale, "directory.title")}</h2><button type="button" class="icon-btn" onclick="document.getElementById('directory-dialog').close()" aria-label="${t(locale, "action.close")}">${icon("close")}</button></div><div class="dialog-body"><div class="directory-toolbar"><button id="directory-home" type="button" class="btn btn-xs">${t(locale, "action.home")}</button><button id="directory-up" type="button" class="btn btn-xs">${t(locale, "action.up")}</button><button id="directory-hidden" type="button" class="btn btn-xs">${t(locale, "action.showHidden")}</button><div id="directory-path" class="directory-path mono"></div></div><div id="directory-list" class="directory-list"></div></div><div class="dialog-actions"><button type="button" class="btn" onclick="document.getElementById('directory-dialog').close()">${t(locale, "action.cancel")}</button><button id="directory-choose" type="button" class="btn btn-primary">${icon("folder")}${t(locale, "action.chooseThisFolder")}</button></div></dialog>` : "") + `<dialog id="copy-dialog"><div class="dialog-head"><div><h2>${t(locale, "dialog.copyManualTitle")}</h2><p>${t(locale, "dialog.copyManualBody")}</p></div><button type="button" class="icon-btn" onclick="document.getElementById('copy-dialog').close()" aria-label="${t(locale, "action.close")}">${icon("close")}</button></div><div class="dialog-body"><textarea id="copy-manual" class="json-view copy-manual mono" readonly rows="4" spellcheck="false"></textarea></div><div class="dialog-actions"><button type="button" class="btn btn-primary" onclick="document.getElementById('copy-dialog').close()">${t(locale, "action.close")}</button></div></dialog><dialog id="confirm-dialog"><div class="dialog-head"><h2 id="confirm-title"></h2><button type="button" class="icon-btn" onclick="document.getElementById('confirm-dialog').close('cancel')" aria-label="${t(locale, "action.close")}">${icon("close")}</button></div><div class="dialog-body"><p id="confirm-body" class="confirm-copy"></p></div><div class="dialog-actions"><button type="button" class="btn" onclick="document.getElementById('confirm-dialog').close('cancel')">${t(locale, "action.cancel")}</button><button id="confirm-ok" type="button" class="btn btn-primary" onclick="document.getElementById('confirm-dialog').close('confirm')">${t(locale, "action.confirm")}</button></div></dialog>` + (activeTab === "system" ? `<dialog id="danger-dialog"><div class="dialog-head"><h2>${t(locale, "dialog.clearTitle")}</h2><button type="button" class="icon-btn" onclick="document.getElementById('danger-dialog').close('cancel')" aria-label="${t(locale, "action.close")}">${icon("close")}</button></div><div class="dialog-body"><p class="confirm-copy"><strong>${t(locale, "dialog.clearBody")}</strong>${t(locale, "dialog.clearInstruction")}</p><input id="danger-confirmation" class="danger-input mono" autocomplete="off" spellcheck="false" placeholder="CLEAR" oninput="document.getElementById('danger-ok').disabled=this.value!=='CLEAR'"></div><div class="dialog-actions"><button type="button" class="btn" onclick="document.getElementById('danger-dialog').close('cancel')">${t(locale, "action.cancel")}</button><button id="danger-ok" type="button" class="btn btn-danger" disabled onclick="document.getElementById('danger-dialog').close('confirm')">${t(locale, "action.clearDatabase")}</button></div></dialog>` : "") + `<script type="application/json" id="supertask-boot">${bootPayload}</script><script defer src="${i18nAssetUrl(locale)}"></script><script defer src="${JS_URL}"></script></body></html>`;
|
|
26625
27082
|
}
|
|
26626
27083
|
function emptyState(title) {
|
|
26627
27084
|
return `<div class="empty-state"><div><div class="empty-icon">${icon("inbox")}</div><h3>${esc(title)}</h3></div></div>`;
|
|
@@ -27764,19 +28221,18 @@ function parseRunStatus(value) {
|
|
|
27764
28221
|
return RUN_STATUSES.has(value) ? value : null;
|
|
27765
28222
|
}
|
|
27766
28223
|
function resolveLocale(c) {
|
|
27767
|
-
const requested = c.req.query("lang");
|
|
27768
|
-
if (requested
|
|
28224
|
+
const requested = parseLocale(c.req.query("lang"));
|
|
28225
|
+
if (requested) return requested;
|
|
27769
28226
|
const cookie = c.req.header("Cookie") ?? "";
|
|
27770
28227
|
const match2 = /(?:^|;\s*)supertask_locale=([^;]+)/.exec(cookie);
|
|
27771
28228
|
if (match2) {
|
|
27772
28229
|
try {
|
|
27773
|
-
const saved = decodeURIComponent(match2[1]);
|
|
27774
|
-
if (saved
|
|
28230
|
+
const saved = parseLocale(decodeURIComponent(match2[1]));
|
|
28231
|
+
if (saved) return saved;
|
|
27775
28232
|
} catch {
|
|
27776
28233
|
}
|
|
27777
28234
|
}
|
|
27778
|
-
|
|
27779
|
-
return accepted.startsWith("en") ? "en" : "zh-CN";
|
|
28235
|
+
return negotiateLocale(c.req.header("Accept-Language"));
|
|
27780
28236
|
}
|
|
27781
28237
|
function listChildDirectories(path) {
|
|
27782
28238
|
return readdirSync(path, { withFileTypes: true }).flatMap((entry) => {
|
|
@@ -27980,8 +28436,9 @@ var init_web = __esm({
|
|
|
27980
28436
|
});
|
|
27981
28437
|
app.get("/assets/app.css", (c) => serveAppCss(c));
|
|
27982
28438
|
app.get("/assets/app.js", (c) => serveAppJs(c));
|
|
27983
|
-
|
|
27984
|
-
|
|
28439
|
+
for (const locale of SUPPORTED_LOCALES) {
|
|
28440
|
+
app.get(`/assets/i18n-${locale}.js`, (c) => serveI18nJs(c, locale));
|
|
28441
|
+
}
|
|
27985
28442
|
app.get("/health", (c) => {
|
|
27986
28443
|
const health = getGatewayHealth();
|
|
27987
28444
|
return c.json(health, health.status === "ok" ? 200 : 503);
|