opencode-supertask 0.2.0 → 0.3.0
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 +28 -0
- package/README.md +10 -1
- package/README.zh-CN.md +10 -1
- package/dist/cli/{chunk-5VKFECHP.js → chunk-764OMIPC.js} +2 -2
- package/dist/cli/{chunk-J34FWHQU.js → chunk-ETLJ4YXW.js} +3 -2
- package/dist/cli/chunk-ETLJ4YXW.js.map +1 -0
- package/dist/cli/{chunk-AZM76ISG.js → chunk-INW2NH3O.js} +6 -5
- package/dist/cli/chunk-INW2NH3O.js.map +1 -0
- package/dist/cli/{chunk-CMEP6IB4.js → chunk-K6UTYKN5.js} +19 -5
- package/dist/cli/{chunk-CMEP6IB4.js.map → chunk-K6UTYKN5.js.map} +1 -1
- package/dist/cli/{chunk-DF56RPNL.js → chunk-MZLIVCEU.js} +10 -2
- package/dist/cli/{chunk-DF56RPNL.js.map → chunk-MZLIVCEU.js.map} +1 -1
- package/dist/cli/{chunk-DIJEKFBV.js → chunk-USBQGFQZ.js} +3 -3
- package/dist/cli/{chunk-EQWICVCJ.js → chunk-XUCZLWCB.js} +48 -6
- package/dist/cli/chunk-XUCZLWCB.js.map +1 -0
- package/dist/cli/{chunk-YGELD2E5.js → chunk-ZIR7RA5B.js} +7 -4
- package/dist/cli/{chunk-YGELD2E5.js.map → chunk-ZIR7RA5B.js.map} +1 -1
- package/dist/cli/{database-maintenance.service-F3IZU52F.js → database-maintenance.service-VZCH7ZEV.js} +4 -4
- package/dist/cli/{db-H7GIFWS2.js → db-KWSXP22E.js} +2 -2
- package/dist/cli/{doctor-smoke-QXHF7UNN.js → doctor-smoke-ZKWNHC3O.js} +5 -5
- package/dist/cli/{gateway-HNMX5ZTO.js → gateway-HUXVEDMU.js} +183 -14
- package/dist/cli/gateway-HUXVEDMU.js.map +1 -0
- package/dist/cli/{gateway-wake-U4HTV56Q.js → gateway-wake-M5EXAIGD.js} +2 -2
- package/dist/cli/index.js +32 -32
- package/dist/cli/{job-templates-RPQJ4XXW.js → job-templates-FH7SGS34.js} +5 -5
- package/dist/cli/{logs-QD2N62KK.js → logs-XNLR23TK.js} +5 -5
- package/dist/cli/{task-run.service-QMDINJKG.js → task-run.service-HCMHWOGW.js} +3 -3
- package/dist/cli/task-template.service-VA4WBJA4.js +12 -0
- package/dist/cli/{task.service-ZVDJ6VSQ.js → task.service-RB6RKV7T.js} +3 -3
- package/dist/cli/{web-2S7DW7XA.js → web-TQO6JLBN.js} +1262 -693
- package/dist/cli/web-TQO6JLBN.js.map +1 -0
- package/dist/gateway/index.js +1617 -786
- package/dist/gateway/index.js.map +1 -1
- package/dist/plugin/supertask.js +64 -10
- package/dist/plugin/supertask.js.map +1 -1
- package/dist/web/index.js +1321 -694
- package/dist/web/index.js.map +1 -1
- package/dist/worker/index.js +221 -13
- package/dist/worker/index.js.map +1 -1
- package/drizzle/0010_task_metadata.sql +2 -0
- package/drizzle/meta/0010_snapshot.json +695 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +1 -1
- package/dist/cli/chunk-AZM76ISG.js.map +0 -1
- package/dist/cli/chunk-EQWICVCJ.js.map +0 -1
- package/dist/cli/chunk-J34FWHQU.js.map +0 -1
- package/dist/cli/gateway-HNMX5ZTO.js.map +0 -1
- package/dist/cli/task-template.service-SZBKGLCB.js +0 -12
- package/dist/cli/web-2S7DW7XA.js.map +0 -1
- /package/dist/cli/{chunk-5VKFECHP.js.map → chunk-764OMIPC.js.map} +0 -0
- /package/dist/cli/{chunk-DIJEKFBV.js.map → chunk-USBQGFQZ.js.map} +0 -0
- /package/dist/cli/{database-maintenance.service-F3IZU52F.js.map → database-maintenance.service-VZCH7ZEV.js.map} +0 -0
- /package/dist/cli/{db-H7GIFWS2.js.map → db-KWSXP22E.js.map} +0 -0
- /package/dist/cli/{doctor-smoke-QXHF7UNN.js.map → doctor-smoke-ZKWNHC3O.js.map} +0 -0
- /package/dist/cli/{gateway-wake-U4HTV56Q.js.map → gateway-wake-M5EXAIGD.js.map} +0 -0
- /package/dist/cli/{job-templates-RPQJ4XXW.js.map → job-templates-FH7SGS34.js.map} +0 -0
- /package/dist/cli/{logs-QD2N62KK.js.map → logs-XNLR23TK.js.map} +0 -0
- /package/dist/cli/{task-run.service-QMDINJKG.js.map → task-run.service-HCMHWOGW.js.map} +0 -0
- /package/dist/cli/{task-template.service-SZBKGLCB.js.map → task-template.service-VA4WBJA4.js.map} +0 -0
- /package/dist/cli/{task.service-ZVDJ6VSQ.js.map → task.service-RB6RKV7T.js.map} +0 -0
|
@@ -3,32 +3,34 @@
|
|
|
3
3
|
import {
|
|
4
4
|
gatewayEvents,
|
|
5
5
|
getGatewayHealth
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ETLJ4YXW.js";
|
|
7
7
|
import {
|
|
8
8
|
detectOpenCodeVersion,
|
|
9
9
|
openCodeExecutable
|
|
10
10
|
} from "./chunk-LX5CBJLP.js";
|
|
11
11
|
import {
|
|
12
12
|
TaskRunService
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-764OMIPC.js";
|
|
14
14
|
import {
|
|
15
15
|
triggerTaskFromTemplate
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-INW2NH3O.js";
|
|
17
17
|
import {
|
|
18
18
|
TaskTemplateService
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-K6UTYKN5.js";
|
|
20
20
|
import {
|
|
21
21
|
DatabaseMaintenanceConflictError,
|
|
22
22
|
DatabaseMaintenanceService
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-USBQGFQZ.js";
|
|
24
24
|
import "./chunk-ZBH7YWXF.js";
|
|
25
25
|
import "./chunk-YB7MYTE5.js";
|
|
26
26
|
import {
|
|
27
27
|
TASK_BATCH_TRIM_CHARACTERS,
|
|
28
28
|
TaskDeletionConflictError,
|
|
29
29
|
TaskService,
|
|
30
|
+
normalizeTaskMetadata,
|
|
31
|
+
parseTaskMetadata,
|
|
30
32
|
validateTaskWorkingDirectory
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XUCZLWCB.js";
|
|
32
34
|
import {
|
|
33
35
|
DB_FILE_PATH,
|
|
34
36
|
and,
|
|
@@ -41,7 +43,7 @@ import {
|
|
|
41
43
|
schema_exports,
|
|
42
44
|
sql,
|
|
43
45
|
sqlite
|
|
44
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ZIR7RA5B.js";
|
|
45
47
|
import {
|
|
46
48
|
CONFIG_BOUNDS,
|
|
47
49
|
getConfigPath,
|
|
@@ -2084,6 +2086,7 @@ var Hono2 = class extends Hono {
|
|
|
2084
2086
|
};
|
|
2085
2087
|
|
|
2086
2088
|
// src/web/index.tsx
|
|
2089
|
+
import { timingSafeEqual } from "crypto";
|
|
2087
2090
|
import {
|
|
2088
2091
|
existsSync as existsSync2,
|
|
2089
2092
|
mkdirSync,
|
|
@@ -2695,36 +2698,28 @@ code, pre, .mono, .m {
|
|
|
2695
2698
|
align-items: center;
|
|
2696
2699
|
gap: 6px;
|
|
2697
2700
|
}
|
|
2698
|
-
.
|
|
2699
|
-
display: inline-flex;
|
|
2700
|
-
padding: 2px;
|
|
2701
|
-
border: 1px solid var(--border);
|
|
2702
|
-
border-radius: var(--radius-sm);
|
|
2703
|
-
background: var(--surface);
|
|
2704
|
-
}
|
|
2705
|
-
.lang-switch button {
|
|
2706
|
-
height: 24px; min-width: 28px; padding: 0 6px;
|
|
2707
|
-
border: 0; border-radius: 5px; background: transparent;
|
|
2708
|
-
color: var(--text-3); font-size: 11px; font-weight: 650; cursor: pointer;
|
|
2709
|
-
}
|
|
2710
|
-
.lang-switch button.active { background: var(--surface-3); color: var(--text); }
|
|
2711
|
-
.theme-select-wrap {
|
|
2701
|
+
.sidebar-select-wrap {
|
|
2712
2702
|
position: relative;
|
|
2713
2703
|
flex: 1;
|
|
2714
2704
|
min-width: 0;
|
|
2715
2705
|
display: flex;
|
|
2716
2706
|
align-items: center;
|
|
2717
2707
|
}
|
|
2718
|
-
.
|
|
2708
|
+
.sidebar-select-wrap .icon {
|
|
2719
2709
|
position: absolute; left: 8px; width: 13px; height: 13px;
|
|
2720
2710
|
color: var(--text-3); pointer-events: none;
|
|
2721
2711
|
}
|
|
2722
|
-
.
|
|
2712
|
+
.sidebar-select-wrap select {
|
|
2723
2713
|
width: 100%; height: 28px;
|
|
2724
|
-
padding: 0
|
|
2714
|
+
padding: 0 18px 0 25px;
|
|
2725
2715
|
border: 1px solid var(--border); border-radius: var(--radius-sm);
|
|
2726
2716
|
background: var(--surface); color: var(--text-2);
|
|
2727
2717
|
font-size: 11.5px; appearance: none; cursor: pointer;
|
|
2718
|
+
text-overflow: ellipsis;
|
|
2719
|
+
}
|
|
2720
|
+
.sidebar-select-wrap select:hover {
|
|
2721
|
+
border-color: var(--border-strong);
|
|
2722
|
+
color: var(--text);
|
|
2728
2723
|
}
|
|
2729
2724
|
|
|
2730
2725
|
/* Main area */
|
|
@@ -3525,702 +3520,1139 @@ dialog::backdrop { background: rgba(8, 12, 20, 0.56); backdrop-filter: blur(2px)
|
|
|
3525
3520
|
}
|
|
3526
3521
|
`.trim();
|
|
3527
3522
|
|
|
3528
|
-
// src/web/
|
|
3529
|
-
var
|
|
3523
|
+
// src/web/locales/en.ts
|
|
3524
|
+
var EN = {
|
|
3530
3525
|
"app.name": "SuperTask",
|
|
3531
|
-
"app.local": "
|
|
3532
|
-
"nav.tasks": "
|
|
3533
|
-
"nav.templates": "
|
|
3534
|
-
"nav.runs": "
|
|
3535
|
-
"nav.system": "
|
|
3536
|
-
"page.tasks.title": "
|
|
3537
|
-
"page.templates.title": "
|
|
3538
|
-
"page.runs.title": "
|
|
3539
|
-
"page.system.title": "
|
|
3540
|
-
"theme.label": "
|
|
3541
|
-
"theme.system": "
|
|
3542
|
-
"theme.light": "
|
|
3543
|
-
"theme.dark": "
|
|
3544
|
-
"language.label": "
|
|
3545
|
-
"action.refresh": "
|
|
3546
|
-
"action.createTask": "
|
|
3547
|
-
"action.createTemplate": "
|
|
3548
|
-
"action.saveTask": "
|
|
3549
|
-
"action.updateTask": "
|
|
3550
|
-
"action.saveTemplate": "
|
|
3551
|
-
"action.edit": "
|
|
3552
|
-
"action.clone": "
|
|
3553
|
-
"action.details": "
|
|
3554
|
-
"action.retry": "
|
|
3555
|
-
"action.cancel": "
|
|
3556
|
-
"action.delete": "
|
|
3557
|
-
"action.trigger": "
|
|
3558
|
-
"action.enable": "
|
|
3559
|
-
"action.disable": "
|
|
3560
|
-
"action.logs": "
|
|
3561
|
-
"action.hideLogs": "
|
|
3562
|
-
"action.save": "
|
|
3563
|
-
"action.saveAndRestart": "
|
|
3564
|
-
"action.clearDatabase": "
|
|
3565
|
-
"action.copy": "
|
|
3566
|
-
"action.copyCommand": "
|
|
3567
|
-
"action.continueSession": "
|
|
3568
|
-
"action.chooseFolder": "
|
|
3569
|
-
"action.home": "
|
|
3570
|
-
"action.up": "
|
|
3571
|
-
"action.showHidden": "
|
|
3572
|
-
"action.hideHidden": "
|
|
3573
|
-
"action.chooseThisFolder": "
|
|
3574
|
-
"action.close": "
|
|
3575
|
-
"action.confirm": "
|
|
3576
|
-
"action.clearSelection": "
|
|
3577
|
-
"action.viewTasks": "
|
|
3578
|
-
"action.more": "
|
|
3579
|
-
"action.selectAll": "
|
|
3580
|
-
"action.openMenu": "
|
|
3581
|
-
"filter.all": "
|
|
3582
|
-
"filter.searchTasks": "
|
|
3583
|
-
"filter.allAgents": "
|
|
3584
|
-
"filter.allBatches": "
|
|
3585
|
-
"filter.noResults": "
|
|
3586
|
-
"filter.templateScope": "
|
|
3587
|
-
"filter.clearFilter": "
|
|
3588
|
-
"projects.title": "
|
|
3589
|
-
"projects.all": "
|
|
3590
|
-
"projects.legacy": "
|
|
3591
|
-
"projects.counts": "
|
|
3526
|
+
"app.local": "Local",
|
|
3527
|
+
"nav.tasks": "Tasks",
|
|
3528
|
+
"nav.templates": "Schedules",
|
|
3529
|
+
"nav.runs": "Runs",
|
|
3530
|
+
"nav.system": "System",
|
|
3531
|
+
"page.tasks.title": "Task queue",
|
|
3532
|
+
"page.templates.title": "Scheduled tasks",
|
|
3533
|
+
"page.runs.title": "Execution runs",
|
|
3534
|
+
"page.system.title": "System",
|
|
3535
|
+
"theme.label": "Theme",
|
|
3536
|
+
"theme.system": "System",
|
|
3537
|
+
"theme.light": "Light",
|
|
3538
|
+
"theme.dark": "Dark",
|
|
3539
|
+
"language.label": "Language",
|
|
3540
|
+
"action.refresh": "Refresh",
|
|
3541
|
+
"action.createTask": "New task",
|
|
3542
|
+
"action.createTemplate": "New schedule",
|
|
3543
|
+
"action.saveTask": "Enqueue",
|
|
3544
|
+
"action.updateTask": "Save",
|
|
3545
|
+
"action.saveTemplate": "Save",
|
|
3546
|
+
"action.edit": "Edit",
|
|
3547
|
+
"action.clone": "Clone",
|
|
3548
|
+
"action.details": "Inspect",
|
|
3549
|
+
"action.retry": "Retry",
|
|
3550
|
+
"action.cancel": "Cancel",
|
|
3551
|
+
"action.delete": "Delete",
|
|
3552
|
+
"action.trigger": "Run now",
|
|
3553
|
+
"action.enable": "Enable",
|
|
3554
|
+
"action.disable": "Disable",
|
|
3555
|
+
"action.logs": "Logs",
|
|
3556
|
+
"action.hideLogs": "Hide",
|
|
3557
|
+
"action.save": "Save config",
|
|
3558
|
+
"action.saveAndRestart": "Save & restart",
|
|
3559
|
+
"action.clearDatabase": "Clear data",
|
|
3560
|
+
"action.copy": "Copy",
|
|
3561
|
+
"action.copyCommand": "Copy command",
|
|
3562
|
+
"action.continueSession": "Resume",
|
|
3563
|
+
"action.chooseFolder": "Browse",
|
|
3564
|
+
"action.home": "Home",
|
|
3565
|
+
"action.up": "Up",
|
|
3566
|
+
"action.showHidden": "Show hidden",
|
|
3567
|
+
"action.hideHidden": "Hide dotfiles",
|
|
3568
|
+
"action.chooseThisFolder": "Select folder",
|
|
3569
|
+
"action.close": "Close",
|
|
3570
|
+
"action.confirm": "Confirm",
|
|
3571
|
+
"action.clearSelection": "Clear",
|
|
3572
|
+
"action.viewTasks": "View tasks",
|
|
3573
|
+
"action.more": "More",
|
|
3574
|
+
"action.selectAll": "Select all",
|
|
3575
|
+
"action.openMenu": "Menu",
|
|
3576
|
+
"filter.all": "All",
|
|
3577
|
+
"filter.searchTasks": "Search tasks, batch, or #ID\u2026",
|
|
3578
|
+
"filter.allAgents": "All agents",
|
|
3579
|
+
"filter.allBatches": "All batches",
|
|
3580
|
+
"filter.noResults": "No matching tasks",
|
|
3581
|
+
"filter.templateScope": "Template #{id}",
|
|
3582
|
+
"filter.clearFilter": "Clear",
|
|
3583
|
+
"projects.title": "Projects",
|
|
3584
|
+
"projects.all": "All projects",
|
|
3585
|
+
"projects.legacy": "Ungrouped",
|
|
3586
|
+
"projects.counts": "{running} running \xB7 {pending} queued \xB7 {failed} issues",
|
|
3592
3587
|
"projects.successRate": "{rate}%",
|
|
3593
|
-
"
|
|
3594
|
-
"stats.
|
|
3595
|
-
"stats.
|
|
3596
|
-
"stats.
|
|
3597
|
-
"stats.
|
|
3598
|
-
"stats.
|
|
3599
|
-
"stats.
|
|
3600
|
-
"stats.
|
|
3601
|
-
"stats.
|
|
3602
|
-
"stats.
|
|
3603
|
-
"stats.
|
|
3588
|
+
"projects.rate7d": "7d success rate",
|
|
3589
|
+
"stats.pending": "Queued",
|
|
3590
|
+
"stats.running": "Running",
|
|
3591
|
+
"stats.done": "Done",
|
|
3592
|
+
"stats.failedDead": "Issues",
|
|
3593
|
+
"stats.templates": "Total",
|
|
3594
|
+
"stats.enabled": "Enabled",
|
|
3595
|
+
"stats.disabled": "Disabled",
|
|
3596
|
+
"stats.records": "Total",
|
|
3597
|
+
"stats.pageDone": "Done",
|
|
3598
|
+
"stats.pageFailed": "Failed",
|
|
3599
|
+
"stats.pageRunning": "Running",
|
|
3604
3600
|
"table.id": "ID",
|
|
3605
|
-
"table.task": "
|
|
3606
|
-
"table.name": "
|
|
3601
|
+
"table.task": "Task",
|
|
3602
|
+
"table.name": "Name",
|
|
3607
3603
|
"table.agent": "Agent",
|
|
3608
|
-
"table.model": "
|
|
3609
|
-
"table.status": "
|
|
3610
|
-
"table.duration": "
|
|
3611
|
-
"table.retries": "
|
|
3612
|
-
"table.actions": "
|
|
3613
|
-
"table.type": "
|
|
3614
|
-
"table.rule": "
|
|
3615
|
-
"table.lastRun": "
|
|
3616
|
-
"table.nextRun": "
|
|
3617
|
-
"table.run": "
|
|
3618
|
-
"table.session": "
|
|
3619
|
-
"table.heartbeat": "
|
|
3620
|
-
"table.startedAt": "
|
|
3621
|
-
"table.pid": "
|
|
3622
|
-
"
|
|
3623
|
-
"status.
|
|
3624
|
-
"status.
|
|
3625
|
-
"status.
|
|
3626
|
-
"status.
|
|
3627
|
-
"status.
|
|
3628
|
-
"status.
|
|
3629
|
-
"status.
|
|
3630
|
-
"status.
|
|
3631
|
-
"status.
|
|
3632
|
-
"status.
|
|
3633
|
-
"
|
|
3634
|
-
"runStatus.
|
|
3635
|
-
"runStatus.
|
|
3604
|
+
"table.model": "Model",
|
|
3605
|
+
"table.status": "Status",
|
|
3606
|
+
"table.duration": "Duration",
|
|
3607
|
+
"table.retries": "Retries",
|
|
3608
|
+
"table.actions": "Actions",
|
|
3609
|
+
"table.type": "Type",
|
|
3610
|
+
"table.rule": "Rule",
|
|
3611
|
+
"table.lastRun": "Last run",
|
|
3612
|
+
"table.nextRun": "Next run",
|
|
3613
|
+
"table.run": "Run",
|
|
3614
|
+
"table.session": "Session",
|
|
3615
|
+
"table.heartbeat": "Heartbeat",
|
|
3616
|
+
"table.startedAt": "Started",
|
|
3617
|
+
"table.pid": "PID",
|
|
3618
|
+
"table.pidTooltip": "Worker \u203A Guardian",
|
|
3619
|
+
"status.pending": "Queued",
|
|
3620
|
+
"status.running": "Running",
|
|
3621
|
+
"status.done": "Done",
|
|
3622
|
+
"status.failed": "Retrying",
|
|
3623
|
+
"status.dead_letter": "Stopped",
|
|
3624
|
+
"status.cancelled": "Cancelled",
|
|
3625
|
+
"status.unknown": "Unknown",
|
|
3626
|
+
"status.executionStillActive": "Stopping",
|
|
3627
|
+
"status.waitingDep": "Wait #{id}",
|
|
3628
|
+
"status.batchBusy": "Batch busy",
|
|
3629
|
+
"status.retryIn": "Retry in {duration}",
|
|
3630
|
+
"runStatus.running": "Running",
|
|
3631
|
+
"runStatus.done": "Done",
|
|
3632
|
+
"runStatus.failed": "Failed",
|
|
3636
3633
|
"schedule.cron": "Cron",
|
|
3637
|
-
"schedule.recurring": "
|
|
3638
|
-
"schedule.delayed": "
|
|
3639
|
-
"schedule.unknown": "
|
|
3640
|
-
"schedule.enabled": "
|
|
3641
|
-
"schedule.disabled": "
|
|
3642
|
-
"schedule.overdue": "
|
|
3643
|
-
"schedule.seconds": "{count}
|
|
3644
|
-
"schedule.minutes": "{count}
|
|
3645
|
-
"schedule.hours": "{count}
|
|
3646
|
-
"schedule.days": "{count}
|
|
3647
|
-
"schedule.cronPreset.hourly": "
|
|
3648
|
-
"schedule.cronPreset.daily9": "
|
|
3649
|
-
"schedule.cronPreset.weekday9": "
|
|
3650
|
-
"schedule.cronPreset.weeklyMon": "
|
|
3651
|
-
"duration.seconds": "
|
|
3652
|
-
"duration.minutes": "
|
|
3653
|
-
"duration.hours": "
|
|
3654
|
-
"duration.days": "
|
|
3655
|
-
"duration.every": "
|
|
3656
|
-
"duration.immediate": "
|
|
3657
|
-
"duration.systemDefault": "
|
|
3658
|
-
"duration.custom": "
|
|
3659
|
-
"duration.unit": "
|
|
3660
|
-
"pagination.previous": "
|
|
3661
|
-
"pagination.next": "
|
|
3662
|
-
"pagination.summary": "{page} / {pages} \xB7
|
|
3663
|
-
"empty.tasks": "
|
|
3664
|
-
"empty.templates": "
|
|
3665
|
-
"empty.runs": "
|
|
3666
|
-
"empty.running": "
|
|
3667
|
-
"task.createTitle": "
|
|
3668
|
-
"task.editTitle": "
|
|
3669
|
-
"task.projectExisting": "
|
|
3670
|
-
"task.projectNew": "
|
|
3671
|
-
"template.createTitle": "
|
|
3672
|
-
"template.editTitle": "
|
|
3673
|
-
"template.name": "
|
|
3674
|
-
"template.cwd": "
|
|
3675
|
-
"template.agent": "Agent",
|
|
3676
|
-
"template.model": "
|
|
3634
|
+
"schedule.recurring": "Recurring",
|
|
3635
|
+
"schedule.delayed": "One-off",
|
|
3636
|
+
"schedule.unknown": "Unknown",
|
|
3637
|
+
"schedule.enabled": "Enabled",
|
|
3638
|
+
"schedule.disabled": "Disabled",
|
|
3639
|
+
"schedule.overdue": "Due now",
|
|
3640
|
+
"schedule.seconds": "{count}s",
|
|
3641
|
+
"schedule.minutes": "{count}m",
|
|
3642
|
+
"schedule.hours": "{count}h",
|
|
3643
|
+
"schedule.days": "{count}d",
|
|
3644
|
+
"schedule.cronPreset.hourly": "Hourly",
|
|
3645
|
+
"schedule.cronPreset.daily9": "Daily 09:00",
|
|
3646
|
+
"schedule.cronPreset.weekday9": "Weekdays 09:00",
|
|
3647
|
+
"schedule.cronPreset.weeklyMon": "Mon 09:00",
|
|
3648
|
+
"duration.seconds": "s",
|
|
3649
|
+
"duration.minutes": "min",
|
|
3650
|
+
"duration.hours": "h",
|
|
3651
|
+
"duration.days": "d",
|
|
3652
|
+
"duration.every": "Every {duration}",
|
|
3653
|
+
"duration.immediate": "Immediate",
|
|
3654
|
+
"duration.systemDefault": "Default",
|
|
3655
|
+
"duration.custom": "Custom",
|
|
3656
|
+
"duration.unit": "Unit",
|
|
3657
|
+
"pagination.previous": "Prev",
|
|
3658
|
+
"pagination.next": "Next",
|
|
3659
|
+
"pagination.summary": "{page} / {pages} \xB7 {total} total",
|
|
3660
|
+
"empty.tasks": "No tasks",
|
|
3661
|
+
"empty.templates": "No schedules",
|
|
3662
|
+
"empty.runs": "No runs",
|
|
3663
|
+
"empty.running": "No active runs",
|
|
3664
|
+
"task.createTitle": "New task",
|
|
3665
|
+
"task.editTitle": "Edit task",
|
|
3666
|
+
"task.projectExisting": "{running} running \xB7 {pending} queued \xB7 {failed} issues",
|
|
3667
|
+
"task.projectNew": "New project directory",
|
|
3668
|
+
"template.createTitle": "New schedule",
|
|
3669
|
+
"template.editTitle": "Edit schedule",
|
|
3670
|
+
"template.name": "Name",
|
|
3671
|
+
"template.cwd": "Project directory",
|
|
3672
|
+
"template.agent": "Agent",
|
|
3673
|
+
"template.model": "Model",
|
|
3677
3674
|
"template.variant": "Variant",
|
|
3678
|
-
"template.prompt": "
|
|
3679
|
-
"template.dependsOn": "
|
|
3680
|
-
"template.dependsOnNone": "
|
|
3681
|
-
"template.scheduleType": "
|
|
3682
|
-
"template.cronExpr": "Cron
|
|
3683
|
-
"template.interval": "
|
|
3684
|
-
"template.runAt": "
|
|
3685
|
-
"template.advanced": "
|
|
3686
|
-
"template.category": "
|
|
3687
|
-
"template.batchId": "
|
|
3688
|
-
"template.importance": "
|
|
3689
|
-
"template.urgency": "
|
|
3690
|
-
"template.maxInstances": "
|
|
3691
|
-
"template.maxRetries": "
|
|
3692
|
-
"template.retryBackoff": "
|
|
3693
|
-
"template.timeout": "
|
|
3694
|
-
"catalog.chooseProject": "
|
|
3695
|
-
"catalog.defaultProvider": "
|
|
3696
|
-
"catalog.defaultModel": "
|
|
3697
|
-
"catalog.defaultVariant": "
|
|
3698
|
-
"catalog.loading": "\
|
|
3699
|
-
"catalog.loaded": "{agents}
|
|
3700
|
-
"catalog.failed": "
|
|
3701
|
-
"catalog.primary": "
|
|
3702
|
-
"catalog.subagent": "
|
|
3703
|
-
"catalog.all": "
|
|
3704
|
-
"directory.title": "
|
|
3705
|
-
"directory.empty": "
|
|
3675
|
+
"template.prompt": "Prompt",
|
|
3676
|
+
"template.dependsOn": "Depends on",
|
|
3677
|
+
"template.dependsOnNone": "None",
|
|
3678
|
+
"template.scheduleType": "Schedule type",
|
|
3679
|
+
"template.cronExpr": "Cron expression",
|
|
3680
|
+
"template.interval": "Interval",
|
|
3681
|
+
"template.runAt": "Run at",
|
|
3682
|
+
"template.advanced": "Advanced",
|
|
3683
|
+
"template.category": "Category",
|
|
3684
|
+
"template.batchId": "Batch",
|
|
3685
|
+
"template.importance": "Importance",
|
|
3686
|
+
"template.urgency": "Urgency",
|
|
3687
|
+
"template.maxInstances": "Max instances",
|
|
3688
|
+
"template.maxRetries": "Max retries",
|
|
3689
|
+
"template.retryBackoff": "Retry backoff",
|
|
3690
|
+
"template.timeout": "Timeout",
|
|
3691
|
+
"catalog.chooseProject": "Select directory first",
|
|
3692
|
+
"catalog.defaultProvider": "Default",
|
|
3693
|
+
"catalog.defaultModel": "Default model",
|
|
3694
|
+
"catalog.defaultVariant": "Default",
|
|
3695
|
+
"catalog.loading": "Loading catalog\u2026",
|
|
3696
|
+
"catalog.loaded": "{agents} agents \xB7 {models} models",
|
|
3697
|
+
"catalog.failed": "Failed: {error}",
|
|
3698
|
+
"catalog.primary": "primary",
|
|
3699
|
+
"catalog.subagent": "subagent",
|
|
3700
|
+
"catalog.all": "all",
|
|
3701
|
+
"directory.title": "Select project directory",
|
|
3702
|
+
"directory.empty": "No subdirectories",
|
|
3706
3703
|
"system.worker": "Worker",
|
|
3707
3704
|
"system.scheduler": "Scheduler",
|
|
3708
3705
|
"system.watchdog": "Watchdog",
|
|
3709
|
-
"system.watchdogCleanup": "
|
|
3710
|
-
"system.health": "
|
|
3711
|
-
"system.healthy": "
|
|
3712
|
-
"system.degraded": "
|
|
3713
|
-
"system.reconnecting": "
|
|
3714
|
-
"system.disabled": "
|
|
3715
|
-
"system.uptime": "
|
|
3716
|
-
"system.failures": "
|
|
3717
|
-
"system.lastActivity": "
|
|
3718
|
-
"system.lock": "
|
|
3719
|
-
"system.concurrency": "
|
|
3720
|
-
"system.maxConcurrency": "
|
|
3721
|
-
"system.pollInterval": "
|
|
3722
|
-
"system.heartbeatInterval": "
|
|
3723
|
-
"system.taskTimeout": "
|
|
3724
|
-
"system.schedulerEnabled": "
|
|
3725
|
-
"system.checkInterval": "
|
|
3726
|
-
"system.activeTemplates": "
|
|
3727
|
-
"system.heartbeatTimeout": "
|
|
3728
|
-
"system.cleanupInterval": "
|
|
3729
|
-
"system.retentionDays": "
|
|
3706
|
+
"system.watchdogCleanup": "Cleanup",
|
|
3707
|
+
"system.health": "Gateway health",
|
|
3708
|
+
"system.healthy": "Healthy",
|
|
3709
|
+
"system.degraded": "Degraded",
|
|
3710
|
+
"system.reconnecting": "Reconnecting",
|
|
3711
|
+
"system.disabled": "Disabled",
|
|
3712
|
+
"system.uptime": "Uptime",
|
|
3713
|
+
"system.failures": "Failures",
|
|
3714
|
+
"system.lastActivity": "Last active",
|
|
3715
|
+
"system.lock": "Lock",
|
|
3716
|
+
"system.concurrency": "Concurrency",
|
|
3717
|
+
"system.maxConcurrency": "Max concurrency",
|
|
3718
|
+
"system.pollInterval": "Poll interval",
|
|
3719
|
+
"system.heartbeatInterval": "Heartbeat interval",
|
|
3720
|
+
"system.taskTimeout": "Default timeout",
|
|
3721
|
+
"system.schedulerEnabled": "Enable scheduler",
|
|
3722
|
+
"system.checkInterval": "Check interval",
|
|
3723
|
+
"system.activeTemplates": "Active templates",
|
|
3724
|
+
"system.heartbeatTimeout": "Heartbeat timeout",
|
|
3725
|
+
"system.cleanupInterval": "Cleanup interval",
|
|
3726
|
+
"system.retentionDays": "Retention",
|
|
3730
3727
|
"system.milliseconds": "ms",
|
|
3731
3728
|
"system.seconds": "s",
|
|
3732
3729
|
"system.minutes": "min",
|
|
3733
3730
|
"system.hours": "h",
|
|
3734
3731
|
"system.days": "d",
|
|
3735
|
-
"system.configForeground": "
|
|
3736
|
-
"system.configApplied": "
|
|
3737
|
-
"system.configPending": "
|
|
3738
|
-
"system.configRestartManually": "
|
|
3739
|
-
"system.savedValue": "
|
|
3740
|
-
"system.runtimeValue": "
|
|
3741
|
-
"system.runningTasks": "
|
|
3742
|
-
"system.configFile": "
|
|
3743
|
-
"system.path": "
|
|
3744
|
-
"system.fileExists": "
|
|
3745
|
-
"system.yes": "
|
|
3746
|
-
"system.noDefault": "
|
|
3747
|
-
"system.danger": "
|
|
3748
|
-
"system.dangerDescription": "
|
|
3749
|
-
"logs.command": "
|
|
3750
|
-
"logs.output": "
|
|
3751
|
-
"logs.error": "
|
|
3752
|
-
"logs.tools": "
|
|
3753
|
-
"logs.raw": "
|
|
3754
|
-
"logs.noText": "
|
|
3755
|
-
"logs.loading": "\
|
|
3756
|
-
"logs.live": "
|
|
3757
|
-
"logs.steps": "
|
|
3732
|
+
"system.configForeground": "Foreground \xB7 restart required",
|
|
3733
|
+
"system.configApplied": "Runtime matches saved config",
|
|
3734
|
+
"system.configPending": "Pending changes \xB7 restart Gateway to apply",
|
|
3735
|
+
"system.configRestartManually": "Pending changes \xB7 restart Gateway manually",
|
|
3736
|
+
"system.savedValue": "Saved",
|
|
3737
|
+
"system.runtimeValue": "Runtime",
|
|
3738
|
+
"system.runningTasks": "Active runs \xB7 {running} / {limit}",
|
|
3739
|
+
"system.configFile": "Config file",
|
|
3740
|
+
"system.path": "Path",
|
|
3741
|
+
"system.fileExists": "Status",
|
|
3742
|
+
"system.yes": "Exists",
|
|
3743
|
+
"system.noDefault": "Default",
|
|
3744
|
+
"system.danger": "Danger zone",
|
|
3745
|
+
"system.dangerDescription": "Clears all tasks, runs, and schedules after creating a verified backup.",
|
|
3746
|
+
"logs.command": "Command",
|
|
3747
|
+
"logs.output": "Output",
|
|
3748
|
+
"logs.error": "Error",
|
|
3749
|
+
"logs.tools": "Tool calls",
|
|
3750
|
+
"logs.raw": "Raw JSONL",
|
|
3751
|
+
"logs.noText": "No text output",
|
|
3752
|
+
"logs.loading": "Loading log\u2026",
|
|
3753
|
+
"logs.live": "Live",
|
|
3754
|
+
"logs.steps": "Steps",
|
|
3758
3755
|
"logs.tokens": "Tokens",
|
|
3759
|
-
"logs.tokInput": "
|
|
3760
|
-
"logs.tokOutput": "
|
|
3761
|
-
"logs.tokReasoning": "
|
|
3762
|
-
"logs.tokCache": "
|
|
3763
|
-
"logs.tokCacheRead": "
|
|
3764
|
-
"logs.tokCacheWrite": "
|
|
3765
|
-
"logs.cost": "
|
|
3766
|
-
"logs.autoScroll": "
|
|
3767
|
-
"logs.rootCause": "
|
|
3768
|
-
"
|
|
3769
|
-
"
|
|
3770
|
-
"inspector.tab.
|
|
3771
|
-
"inspector.
|
|
3772
|
-
"inspector.
|
|
3773
|
-
"inspector.
|
|
3774
|
-
"inspector.
|
|
3775
|
-
"
|
|
3776
|
-
"
|
|
3777
|
-
"details.
|
|
3778
|
-
"details.
|
|
3779
|
-
"details.
|
|
3780
|
-
"details.
|
|
3781
|
-
"details.raw": "\u539F\u59CB JSON",
|
|
3782
|
-
"details.copySuccess": "\u5DF2\u590D\u5236",
|
|
3756
|
+
"logs.tokInput": "In",
|
|
3757
|
+
"logs.tokOutput": "Out",
|
|
3758
|
+
"logs.tokReasoning": "Reasoning",
|
|
3759
|
+
"logs.tokCache": "Cache",
|
|
3760
|
+
"logs.tokCacheRead": "R",
|
|
3761
|
+
"logs.tokCacheWrite": "W",
|
|
3762
|
+
"logs.cost": "Cost",
|
|
3763
|
+
"logs.autoScroll": "Auto-scroll",
|
|
3764
|
+
"logs.rootCause": "Root cause",
|
|
3765
|
+
"inspector.tab.overview": "Overview",
|
|
3766
|
+
"inspector.tab.output": "Live output",
|
|
3767
|
+
"inspector.tab.history": "History",
|
|
3768
|
+
"inspector.dependencies": "Dependencies",
|
|
3769
|
+
"inspector.upstream": "Upstream",
|
|
3770
|
+
"inspector.downstream": "Downstream",
|
|
3771
|
+
"inspector.failureSummary": "Failure",
|
|
3772
|
+
"details.title": "Inspector",
|
|
3773
|
+
"details.taskTitle": "Task #{id}",
|
|
3774
|
+
"details.runTitle": "Run #{id}",
|
|
3775
|
+
"details.templateTitle": "Schedule #{id}",
|
|
3776
|
+
"details.raw": "Raw JSON",
|
|
3777
|
+
"details.copySuccess": "Copied",
|
|
3783
3778
|
"details.id": "ID",
|
|
3784
|
-
"details.project": "
|
|
3779
|
+
"details.project": "Project",
|
|
3785
3780
|
"details.variant": "Variant",
|
|
3786
|
-
"details.prompt": "
|
|
3787
|
-
"details.result": "
|
|
3788
|
-
"details.category": "
|
|
3789
|
-
"details.batch": "
|
|
3790
|
-
"details.dependency": "
|
|
3791
|
-
"details.importance": "
|
|
3792
|
-
"details.urgency": "
|
|
3793
|
-
"details.retryCount": "
|
|
3794
|
-
"details.retryBackoff": "
|
|
3795
|
-
"details.timeout": "
|
|
3796
|
-
"details.createdAt": "
|
|
3797
|
-
"details.updatedAt": "
|
|
3798
|
-
"details.startedAt": "
|
|
3799
|
-
"details.finishedAt": "
|
|
3800
|
-
"details.scheduledAt": "
|
|
3801
|
-
"details.enabled": "
|
|
3802
|
-
"details.scheduleRule": "
|
|
3803
|
-
"details.maxInstances": "
|
|
3804
|
-
"details.maxRetries": "
|
|
3805
|
-
"details.lastRun": "
|
|
3806
|
-
"details.nextRun": "
|
|
3807
|
-
"details.taskId": "
|
|
3808
|
-
"details.session": "
|
|
3809
|
-
"details.heartbeat": "
|
|
3810
|
-
"details.process": "
|
|
3811
|
-
"details.history": "
|
|
3812
|
-
"details.noHistory": "
|
|
3781
|
+
"details.prompt": "Prompt",
|
|
3782
|
+
"details.result": "Result",
|
|
3783
|
+
"details.category": "Category",
|
|
3784
|
+
"details.batch": "Batch",
|
|
3785
|
+
"details.dependency": "Dependency",
|
|
3786
|
+
"details.importance": "Importance",
|
|
3787
|
+
"details.urgency": "Urgency",
|
|
3788
|
+
"details.retryCount": "Retries",
|
|
3789
|
+
"details.retryBackoff": "Backoff",
|
|
3790
|
+
"details.timeout": "Timeout",
|
|
3791
|
+
"details.createdAt": "Created",
|
|
3792
|
+
"details.updatedAt": "Updated",
|
|
3793
|
+
"details.startedAt": "Started",
|
|
3794
|
+
"details.finishedAt": "Finished",
|
|
3795
|
+
"details.scheduledAt": "Scheduled",
|
|
3796
|
+
"details.enabled": "Enabled",
|
|
3797
|
+
"details.scheduleRule": "Rule",
|
|
3798
|
+
"details.maxInstances": "Max instances",
|
|
3799
|
+
"details.maxRetries": "Max retries",
|
|
3800
|
+
"details.lastRun": "Last run",
|
|
3801
|
+
"details.nextRun": "Next run",
|
|
3802
|
+
"details.taskId": "Task",
|
|
3803
|
+
"details.session": "Session",
|
|
3804
|
+
"details.heartbeat": "Heartbeat",
|
|
3805
|
+
"details.process": "Process",
|
|
3806
|
+
"details.history": "Run history",
|
|
3807
|
+
"details.noHistory": "No runs yet",
|
|
3813
3808
|
"details.none": "\u2014",
|
|
3814
|
-
"details.default": "
|
|
3815
|
-
"details.enabledYes": "
|
|
3816
|
-
"details.enabledNo": "
|
|
3817
|
-
"batch.selected": "
|
|
3818
|
-
"batch.retry": "
|
|
3819
|
-
"batch.cancel": "
|
|
3820
|
-
"batch.delete": "
|
|
3821
|
-
"dialog.cancelTask": "
|
|
3822
|
-
"dialog.cancelTaskBody": "
|
|
3823
|
-
"dialog.retryTask": "
|
|
3824
|
-
"dialog.retryTaskBody": "
|
|
3825
|
-
"dialog.deleteTask": "
|
|
3826
|
-
"dialog.deleteTaskBody": "
|
|
3827
|
-
"dialog.batchRetry": "
|
|
3828
|
-
"dialog.batchRetryBody": "
|
|
3829
|
-
"dialog.batchCancel": "
|
|
3830
|
-
"dialog.batchCancelBody": "
|
|
3831
|
-
"dialog.batchDelete": "
|
|
3832
|
-
"dialog.batchDeleteBody": "
|
|
3833
|
-
"dialog.disableTemplate": "
|
|
3834
|
-
"dialog.disableTemplateBody": "
|
|
3835
|
-
"dialog.deleteTemplate": "
|
|
3836
|
-
"dialog.deleteTemplateBody": "
|
|
3837
|
-
"dialog.triggerTemplate": "
|
|
3838
|
-
"dialog.triggerTemplateBody": "
|
|
3839
|
-
"dialog.clearTitle": "
|
|
3840
|
-
"dialog.clearBody": "
|
|
3841
|
-
"dialog.clearInstruction": "
|
|
3842
|
-
"dialog.restartGateway": "
|
|
3843
|
-
"dialog.restartGatewayBody": "
|
|
3844
|
-
"dialog.restartGatewayRunningBody": "
|
|
3845
|
-
"dialog.copyManualTitle": "
|
|
3846
|
-
"dialog.copyManualBody": "
|
|
3847
|
-
"feedback.retryFailed": "
|
|
3848
|
-
"feedback.cancelFailed": "
|
|
3849
|
-
"feedback.deleteFailed": "
|
|
3850
|
-
"feedback.requestFailed": "
|
|
3851
|
-
"feedback.triggered": "
|
|
3852
|
-
"feedback.taskCreated": "
|
|
3853
|
-
"feedback.taskUpdated": "
|
|
3854
|
-
"feedback.taskCloned": "
|
|
3855
|
-
"feedback.taskRetried": "
|
|
3856
|
-
"feedback.taskCancelled": "
|
|
3857
|
-
"feedback.taskDeleted": "
|
|
3858
|
-
"feedback.batchDone": "
|
|
3859
|
-
"feedback.templateCreated": "
|
|
3860
|
-
"feedback.templateUpdated": "
|
|
3861
|
-
"feedback.configSaved": "
|
|
3862
|
-
"feedback.sessionCommandCopied": "
|
|
3863
|
-
"feedback.commandCopied": "
|
|
3864
|
-
"feedback.restarting": "Gateway
|
|
3865
|
-
"feedback.restartTimeout": "Gateway
|
|
3866
|
-
"feedback.databaseCleared": "
|
|
3867
|
-
"feedback.copyFailed": "
|
|
3868
|
-
"a11y.skip": "
|
|
3869
|
-
"a11y.refreshing": "
|
|
3809
|
+
"details.default": "Default",
|
|
3810
|
+
"details.enabledYes": "Enabled",
|
|
3811
|
+
"details.enabledNo": "Disabled",
|
|
3812
|
+
"batch.selected": "{count} selected",
|
|
3813
|
+
"batch.retry": "Retry",
|
|
3814
|
+
"batch.cancel": "Cancel",
|
|
3815
|
+
"batch.delete": "Delete",
|
|
3816
|
+
"dialog.cancelTask": "Cancel task #{id}",
|
|
3817
|
+
"dialog.cancelTaskBody": "Stop queuing or terminate the active process group.",
|
|
3818
|
+
"dialog.retryTask": "Retry task #{id}",
|
|
3819
|
+
"dialog.retryTaskBody": "Reset retry counter and re-enqueue.",
|
|
3820
|
+
"dialog.deleteTask": "Delete task #{id}",
|
|
3821
|
+
"dialog.deleteTaskBody": "Permanently delete this task and its runs.",
|
|
3822
|
+
"dialog.batchRetry": "Retry {count} tasks",
|
|
3823
|
+
"dialog.batchRetryBody": "Re-enqueue failed and stopped tasks in selection.",
|
|
3824
|
+
"dialog.batchCancel": "Cancel {count} tasks",
|
|
3825
|
+
"dialog.batchCancelBody": "Cancel queued, running, and retrying tasks in selection.",
|
|
3826
|
+
"dialog.batchDelete": "Delete {count} tasks",
|
|
3827
|
+
"dialog.batchDeleteBody": "Permanently delete non-running tasks in selection.",
|
|
3828
|
+
"dialog.disableTemplate": "Disable schedule",
|
|
3829
|
+
"dialog.disableTemplateBody": "Stop creating new tasks automatically.",
|
|
3830
|
+
"dialog.deleteTemplate": "Delete schedule",
|
|
3831
|
+
"dialog.deleteTemplateBody": "Delete template without removing past tasks.",
|
|
3832
|
+
"dialog.triggerTemplate": "Run schedule now",
|
|
3833
|
+
"dialog.triggerTemplateBody": "Create and enqueue a task immediately.",
|
|
3834
|
+
"dialog.clearTitle": "Clear database",
|
|
3835
|
+
"dialog.clearBody": "This removes all tasks, runs, and schedules.",
|
|
3836
|
+
"dialog.clearInstruction": "Type CLEAR to confirm:",
|
|
3837
|
+
"dialog.restartGateway": "Restart Gateway",
|
|
3838
|
+
"dialog.restartGatewayBody": "Save config and restart PM2 Gateway.",
|
|
3839
|
+
"dialog.restartGatewayRunningBody": "{count} task(s) are running and will be interrupted. Continue?",
|
|
3840
|
+
"dialog.copyManualTitle": "Copy manually",
|
|
3841
|
+
"dialog.copyManualBody": "Clipboard access was blocked. Press \u2318C or Ctrl+C.",
|
|
3842
|
+
"feedback.retryFailed": "Retry failed",
|
|
3843
|
+
"feedback.cancelFailed": "Cancel failed",
|
|
3844
|
+
"feedback.deleteFailed": "Delete failed",
|
|
3845
|
+
"feedback.requestFailed": "Request failed",
|
|
3846
|
+
"feedback.triggered": "Enqueued task #{id}",
|
|
3847
|
+
"feedback.taskCreated": "Enqueued task #{id}",
|
|
3848
|
+
"feedback.taskUpdated": "Updated task #{id}",
|
|
3849
|
+
"feedback.taskCloned": "Cloned task #{id}",
|
|
3850
|
+
"feedback.taskRetried": "Task #{id} re-enqueued",
|
|
3851
|
+
"feedback.taskCancelled": "Task #{id} cancelled",
|
|
3852
|
+
"feedback.taskDeleted": "Task #{id} deleted",
|
|
3853
|
+
"feedback.batchDone": "Batch complete ({count})",
|
|
3854
|
+
"feedback.templateCreated": "Schedule created",
|
|
3855
|
+
"feedback.templateUpdated": "Schedule updated",
|
|
3856
|
+
"feedback.configSaved": "Config saved",
|
|
3857
|
+
"feedback.sessionCommandCopied": "Session command copied",
|
|
3858
|
+
"feedback.commandCopied": "Command copied",
|
|
3859
|
+
"feedback.restarting": "Restarting Gateway\u2026",
|
|
3860
|
+
"feedback.restartTimeout": "Gateway has not recovered yet.",
|
|
3861
|
+
"feedback.databaseCleared": "Database cleared. Backup: {path}",
|
|
3862
|
+
"feedback.copyFailed": "Copy failed",
|
|
3863
|
+
"a11y.skip": "Skip to content",
|
|
3864
|
+
"a11y.refreshing": "Refreshing"
|
|
3870
3865
|
};
|
|
3871
|
-
|
|
3866
|
+
|
|
3867
|
+
// src/web/locales/es.ts
|
|
3868
|
+
var ES = {
|
|
3872
3869
|
"app.name": "SuperTask",
|
|
3873
3870
|
"app.local": "Local",
|
|
3874
|
-
"nav.tasks": "
|
|
3875
|
-
"nav.templates": "
|
|
3876
|
-
"nav.runs": "
|
|
3877
|
-
"nav.system": "
|
|
3878
|
-
"page.tasks.title": "
|
|
3879
|
-
"page.templates.title": "
|
|
3880
|
-
"page.runs.title": "
|
|
3881
|
-
"page.system.title": "
|
|
3882
|
-
"theme.label": "
|
|
3883
|
-
"theme.system": "
|
|
3884
|
-
"theme.light": "
|
|
3885
|
-
"theme.dark": "
|
|
3886
|
-
"language.label": "
|
|
3887
|
-
"action.refresh": "
|
|
3888
|
-
"action.createTask": "
|
|
3889
|
-
"action.createTemplate": "
|
|
3890
|
-
"action.saveTask": "
|
|
3891
|
-
"action.updateTask": "
|
|
3892
|
-
"action.saveTemplate": "
|
|
3893
|
-
"action.edit": "
|
|
3894
|
-
"action.clone": "
|
|
3895
|
-
"action.details": "
|
|
3896
|
-
"action.retry": "
|
|
3897
|
-
"action.cancel": "
|
|
3898
|
-
"action.delete": "
|
|
3899
|
-
"action.trigger": "
|
|
3900
|
-
"action.enable": "
|
|
3901
|
-
"action.disable": "
|
|
3902
|
-
"action.logs": "
|
|
3903
|
-
"action.hideLogs": "
|
|
3904
|
-
"action.save": "
|
|
3905
|
-
"action.saveAndRestart": "
|
|
3906
|
-
"action.clearDatabase": "
|
|
3907
|
-
"action.copy": "
|
|
3908
|
-
"action.copyCommand": "
|
|
3909
|
-
"action.continueSession": "
|
|
3910
|
-
"action.chooseFolder": "
|
|
3911
|
-
"action.home": "
|
|
3912
|
-
"action.up": "
|
|
3913
|
-
"action.showHidden": "
|
|
3914
|
-
"action.hideHidden": "
|
|
3915
|
-
"action.chooseThisFolder": "
|
|
3916
|
-
"action.close": "
|
|
3917
|
-
"action.confirm": "
|
|
3918
|
-
"action.clearSelection": "
|
|
3919
|
-
"action.viewTasks": "
|
|
3920
|
-
"action.more": "
|
|
3921
|
-
"action.selectAll": "
|
|
3922
|
-
"action.openMenu": "
|
|
3923
|
-
"filter.all": "
|
|
3924
|
-
"filter.searchTasks": "
|
|
3925
|
-
"filter.allAgents": "
|
|
3926
|
-
"filter.allBatches": "
|
|
3927
|
-
"filter.noResults": "
|
|
3928
|
-
"filter.templateScope": "
|
|
3929
|
-
"filter.clearFilter": "
|
|
3930
|
-
"projects.title": "
|
|
3931
|
-
"projects.all": "
|
|
3932
|
-
"projects.legacy": "
|
|
3933
|
-
"projects.counts": "{running}
|
|
3871
|
+
"nav.tasks": "Tareas",
|
|
3872
|
+
"nav.templates": "Programadas",
|
|
3873
|
+
"nav.runs": "Ejecuciones",
|
|
3874
|
+
"nav.system": "Sistema",
|
|
3875
|
+
"page.tasks.title": "Cola de tareas",
|
|
3876
|
+
"page.templates.title": "Tareas programadas",
|
|
3877
|
+
"page.runs.title": "Historial de ejecuci\xF3n",
|
|
3878
|
+
"page.system.title": "Sistema",
|
|
3879
|
+
"theme.label": "Tema",
|
|
3880
|
+
"theme.system": "Sistema",
|
|
3881
|
+
"theme.light": "Claro",
|
|
3882
|
+
"theme.dark": "Oscuro",
|
|
3883
|
+
"language.label": "Idioma",
|
|
3884
|
+
"action.refresh": "Actualizar",
|
|
3885
|
+
"action.createTask": "Nueva tarea",
|
|
3886
|
+
"action.createTemplate": "Nueva programaci\xF3n",
|
|
3887
|
+
"action.saveTask": "Encolar",
|
|
3888
|
+
"action.updateTask": "Guardar",
|
|
3889
|
+
"action.saveTemplate": "Guardar",
|
|
3890
|
+
"action.edit": "Editar",
|
|
3891
|
+
"action.clone": "Clonar",
|
|
3892
|
+
"action.details": "Detalles",
|
|
3893
|
+
"action.retry": "Reintentar",
|
|
3894
|
+
"action.cancel": "Cancelar",
|
|
3895
|
+
"action.delete": "Eliminar",
|
|
3896
|
+
"action.trigger": "Ejecutar ahora",
|
|
3897
|
+
"action.enable": "Activar",
|
|
3898
|
+
"action.disable": "Desactivar",
|
|
3899
|
+
"action.logs": "Registro",
|
|
3900
|
+
"action.hideLogs": "Ocultar",
|
|
3901
|
+
"action.save": "Guardar ajustes",
|
|
3902
|
+
"action.saveAndRestart": "Guardar y reiniciar",
|
|
3903
|
+
"action.clearDatabase": "Vaciar datos",
|
|
3904
|
+
"action.copy": "Copiar",
|
|
3905
|
+
"action.copyCommand": "Copiar comando",
|
|
3906
|
+
"action.continueSession": "Continuar",
|
|
3907
|
+
"action.chooseFolder": "Explorar",
|
|
3908
|
+
"action.home": "Inicio",
|
|
3909
|
+
"action.up": "Subir",
|
|
3910
|
+
"action.showHidden": "Mostrar ocultas",
|
|
3911
|
+
"action.hideHidden": "Ocultar ocultas",
|
|
3912
|
+
"action.chooseThisFolder": "Elegir carpeta",
|
|
3913
|
+
"action.close": "Cerrar",
|
|
3914
|
+
"action.confirm": "Confirmar",
|
|
3915
|
+
"action.clearSelection": "Limpiar",
|
|
3916
|
+
"action.viewTasks": "Ver tareas",
|
|
3917
|
+
"action.more": "M\xE1s",
|
|
3918
|
+
"action.selectAll": "Seleccionar todo",
|
|
3919
|
+
"action.openMenu": "Men\xFA",
|
|
3920
|
+
"filter.all": "Todas",
|
|
3921
|
+
"filter.searchTasks": "Buscar tareas, lote o #ID\u2026",
|
|
3922
|
+
"filter.allAgents": "Todos los agentes",
|
|
3923
|
+
"filter.allBatches": "Todos los lotes",
|
|
3924
|
+
"filter.noResults": "Sin tareas coincidentes",
|
|
3925
|
+
"filter.templateScope": "Plantilla #{id}",
|
|
3926
|
+
"filter.clearFilter": "Limpiar",
|
|
3927
|
+
"projects.title": "Proyectos",
|
|
3928
|
+
"projects.all": "Todos los proyectos",
|
|
3929
|
+
"projects.legacy": "Sin agrupar",
|
|
3930
|
+
"projects.counts": "{running} en ejecuci\xF3n \xB7 {pending} en cola \xB7 {failed} con problemas",
|
|
3934
3931
|
"projects.successRate": "{rate}%",
|
|
3935
|
-
"
|
|
3936
|
-
"stats.
|
|
3937
|
-
"stats.
|
|
3938
|
-
"stats.
|
|
3932
|
+
"projects.rate7d": "Tasa de \xE9xito (7d)",
|
|
3933
|
+
"stats.pending": "En cola",
|
|
3934
|
+
"stats.running": "En ejecuci\xF3n",
|
|
3935
|
+
"stats.done": "Completadas",
|
|
3936
|
+
"stats.failedDead": "Problemas",
|
|
3939
3937
|
"stats.templates": "Total",
|
|
3940
|
-
"stats.enabled": "
|
|
3941
|
-
"stats.disabled": "
|
|
3938
|
+
"stats.enabled": "Activadas",
|
|
3939
|
+
"stats.disabled": "Desactivadas",
|
|
3942
3940
|
"stats.records": "Total",
|
|
3943
|
-
"stats.pageDone": "
|
|
3944
|
-
"stats.pageFailed": "
|
|
3945
|
-
"stats.pageRunning": "
|
|
3941
|
+
"stats.pageDone": "Correctas",
|
|
3942
|
+
"stats.pageFailed": "Fallidas",
|
|
3943
|
+
"stats.pageRunning": "En ejecuci\xF3n",
|
|
3946
3944
|
"table.id": "ID",
|
|
3947
|
-
"table.task": "
|
|
3948
|
-
"table.name": "
|
|
3949
|
-
"table.agent": "
|
|
3950
|
-
"table.model": "
|
|
3951
|
-
"table.status": "
|
|
3952
|
-
"table.duration": "
|
|
3953
|
-
"table.retries": "
|
|
3954
|
-
"table.actions": "
|
|
3955
|
-
"table.type": "
|
|
3956
|
-
"table.rule": "
|
|
3957
|
-
"table.lastRun": "
|
|
3958
|
-
"table.nextRun": "
|
|
3959
|
-
"table.run": "
|
|
3960
|
-
"table.session": "
|
|
3945
|
+
"table.task": "Tarea",
|
|
3946
|
+
"table.name": "Nombre",
|
|
3947
|
+
"table.agent": "Agente",
|
|
3948
|
+
"table.model": "Modelo",
|
|
3949
|
+
"table.status": "Estado",
|
|
3950
|
+
"table.duration": "Duraci\xF3n",
|
|
3951
|
+
"table.retries": "Reintentos",
|
|
3952
|
+
"table.actions": "Acciones",
|
|
3953
|
+
"table.type": "Tipo",
|
|
3954
|
+
"table.rule": "Regla",
|
|
3955
|
+
"table.lastRun": "\xDAltima ejecuci\xF3n",
|
|
3956
|
+
"table.nextRun": "Pr\xF3xima ejecuci\xF3n",
|
|
3957
|
+
"table.run": "Ejecuci\xF3n",
|
|
3958
|
+
"table.session": "Sesi\xF3n",
|
|
3961
3959
|
"table.heartbeat": "Heartbeat",
|
|
3962
|
-
"table.startedAt": "
|
|
3960
|
+
"table.startedAt": "Inicio",
|
|
3963
3961
|
"table.pid": "PID",
|
|
3964
|
-
"
|
|
3965
|
-
"status.
|
|
3966
|
-
"status.
|
|
3967
|
-
"status.
|
|
3968
|
-
"status.
|
|
3969
|
-
"status.
|
|
3970
|
-
"status.
|
|
3971
|
-
"status.
|
|
3972
|
-
"status.
|
|
3973
|
-
"status.
|
|
3974
|
-
"status.
|
|
3975
|
-
"
|
|
3976
|
-
"runStatus.
|
|
3977
|
-
"runStatus.
|
|
3962
|
+
"table.pidTooltip": "Worker \u203A Guardian",
|
|
3963
|
+
"status.pending": "En cola",
|
|
3964
|
+
"status.running": "En ejecuci\xF3n",
|
|
3965
|
+
"status.done": "Completada",
|
|
3966
|
+
"status.failed": "Reintentando",
|
|
3967
|
+
"status.dead_letter": "Detenida",
|
|
3968
|
+
"status.cancelled": "Cancelada",
|
|
3969
|
+
"status.unknown": "Desconocido",
|
|
3970
|
+
"status.executionStillActive": "Deteniendo",
|
|
3971
|
+
"status.waitingDep": "Espera #{id}",
|
|
3972
|
+
"status.batchBusy": "Lote ocupado",
|
|
3973
|
+
"status.retryIn": "Reintento en {duration}",
|
|
3974
|
+
"runStatus.running": "En ejecuci\xF3n",
|
|
3975
|
+
"runStatus.done": "Correcta",
|
|
3976
|
+
"runStatus.failed": "Fallida",
|
|
3977
|
+
"schedule.cron": "Cron",
|
|
3978
|
+
"schedule.recurring": "Intervalo",
|
|
3979
|
+
"schedule.delayed": "Una vez",
|
|
3980
|
+
"schedule.unknown": "Desconocido",
|
|
3981
|
+
"schedule.enabled": "Activada",
|
|
3982
|
+
"schedule.disabled": "Desactivada",
|
|
3983
|
+
"schedule.overdue": "Vencida",
|
|
3984
|
+
"schedule.seconds": "{count} s",
|
|
3985
|
+
"schedule.minutes": "{count} min",
|
|
3986
|
+
"schedule.hours": "{count} h",
|
|
3987
|
+
"schedule.days": "{count} d",
|
|
3988
|
+
"schedule.cronPreset.hourly": "Cada hora",
|
|
3989
|
+
"schedule.cronPreset.daily9": "Diario 09:00",
|
|
3990
|
+
"schedule.cronPreset.weekday9": "Laborables 09:00",
|
|
3991
|
+
"schedule.cronPreset.weeklyMon": "Lunes 09:00",
|
|
3992
|
+
"duration.seconds": "s",
|
|
3993
|
+
"duration.minutes": "min",
|
|
3994
|
+
"duration.hours": "h",
|
|
3995
|
+
"duration.days": "d",
|
|
3996
|
+
"duration.every": "Cada {duration}",
|
|
3997
|
+
"duration.immediate": "Inmediato",
|
|
3998
|
+
"duration.systemDefault": "Predeterminado",
|
|
3999
|
+
"duration.custom": "Personalizado",
|
|
4000
|
+
"duration.unit": "Unidad",
|
|
4001
|
+
"pagination.previous": "Anterior",
|
|
4002
|
+
"pagination.next": "Siguiente",
|
|
4003
|
+
"pagination.summary": "{page} / {pages} \xB7 {total} en total",
|
|
4004
|
+
"empty.tasks": "Sin tareas",
|
|
4005
|
+
"empty.templates": "Sin tareas programadas",
|
|
4006
|
+
"empty.runs": "Sin ejecuciones",
|
|
4007
|
+
"empty.running": "Sin ejecuciones activas",
|
|
4008
|
+
"task.createTitle": "Nueva tarea",
|
|
4009
|
+
"task.editTitle": "Editar tarea",
|
|
4010
|
+
"task.projectExisting": "{running} en ejecuci\xF3n \xB7 {pending} en cola \xB7 {failed} con problemas",
|
|
4011
|
+
"task.projectNew": "Nuevo directorio de proyecto",
|
|
4012
|
+
"template.createTitle": "Nueva programaci\xF3n",
|
|
4013
|
+
"template.editTitle": "Editar programaci\xF3n",
|
|
4014
|
+
"template.name": "Nombre",
|
|
4015
|
+
"template.cwd": "Directorio del proyecto",
|
|
4016
|
+
"template.agent": "Agente",
|
|
4017
|
+
"template.model": "Modelo",
|
|
4018
|
+
"template.variant": "Variante",
|
|
4019
|
+
"template.prompt": "Prompt",
|
|
4020
|
+
"template.dependsOn": "Depende de",
|
|
4021
|
+
"template.dependsOnNone": "Ninguna",
|
|
4022
|
+
"template.scheduleType": "Tipo",
|
|
4023
|
+
"template.cronExpr": "Expresi\xF3n cron",
|
|
4024
|
+
"template.interval": "Intervalo",
|
|
4025
|
+
"template.runAt": "Ejecutar a las",
|
|
4026
|
+
"template.advanced": "Avanzado",
|
|
4027
|
+
"template.category": "Categor\xEDa",
|
|
4028
|
+
"template.batchId": "Lote",
|
|
4029
|
+
"template.importance": "Importancia",
|
|
4030
|
+
"template.urgency": "Urgencia",
|
|
4031
|
+
"template.maxInstances": "Instancias m\xE1x.",
|
|
4032
|
+
"template.maxRetries": "Reintentos m\xE1x.",
|
|
4033
|
+
"template.retryBackoff": "Espera entre reintentos",
|
|
4034
|
+
"template.timeout": "Timeout",
|
|
4035
|
+
"catalog.chooseProject": "Elige un directorio primero",
|
|
4036
|
+
"catalog.defaultProvider": "Predeterminado",
|
|
4037
|
+
"catalog.defaultModel": "Modelo predeterminado",
|
|
4038
|
+
"catalog.defaultVariant": "Predeterminada",
|
|
4039
|
+
"catalog.loading": "Cargando cat\xE1logo\u2026",
|
|
4040
|
+
"catalog.loaded": "{agents} agentes \xB7 {models} modelos",
|
|
4041
|
+
"catalog.failed": "Error: {error}",
|
|
4042
|
+
"catalog.primary": "principal",
|
|
4043
|
+
"catalog.subagent": "subagente",
|
|
4044
|
+
"catalog.all": "general",
|
|
4045
|
+
"directory.title": "Elegir directorio del proyecto",
|
|
4046
|
+
"directory.empty": "Sin subcarpetas",
|
|
4047
|
+
"system.worker": "Worker",
|
|
4048
|
+
"system.scheduler": "Scheduler",
|
|
4049
|
+
"system.watchdog": "Watchdog",
|
|
4050
|
+
"system.watchdogCleanup": "Limpieza",
|
|
4051
|
+
"system.health": "Estado del Gateway",
|
|
4052
|
+
"system.healthy": "Saludable",
|
|
4053
|
+
"system.degraded": "Degradado",
|
|
4054
|
+
"system.reconnecting": "Reconectando",
|
|
4055
|
+
"system.disabled": "Desactivado",
|
|
4056
|
+
"system.uptime": "Tiempo activo",
|
|
4057
|
+
"system.failures": "Fallos",
|
|
4058
|
+
"system.lastActivity": "\xDAltima actividad",
|
|
4059
|
+
"system.lock": "Bloqueo",
|
|
4060
|
+
"system.concurrency": "Concurrencia",
|
|
4061
|
+
"system.maxConcurrency": "Concurrencia m\xE1x.",
|
|
4062
|
+
"system.pollInterval": "Intervalo de sondeo",
|
|
4063
|
+
"system.heartbeatInterval": "Intervalo de heartbeat",
|
|
4064
|
+
"system.taskTimeout": "Timeout predeterminado",
|
|
4065
|
+
"system.schedulerEnabled": "Activar programador",
|
|
4066
|
+
"system.checkInterval": "Intervalo de comprobaci\xF3n",
|
|
4067
|
+
"system.activeTemplates": "Plantillas activas",
|
|
4068
|
+
"system.heartbeatTimeout": "Timeout de heartbeat",
|
|
4069
|
+
"system.cleanupInterval": "Intervalo de limpieza",
|
|
4070
|
+
"system.retentionDays": "Retenci\xF3n",
|
|
4071
|
+
"system.milliseconds": "ms",
|
|
4072
|
+
"system.seconds": "s",
|
|
4073
|
+
"system.minutes": "min",
|
|
4074
|
+
"system.hours": "h",
|
|
4075
|
+
"system.days": "d",
|
|
4076
|
+
"system.configForeground": "Primer plano \xB7 requiere reinicio",
|
|
4077
|
+
"system.configApplied": "El entorno coincide con la configuraci\xF3n guardada",
|
|
4078
|
+
"system.configPending": "Cambios pendientes \xB7 reinicia el Gateway para aplicar",
|
|
4079
|
+
"system.configRestartManually": "Cambios pendientes \xB7 reinicia el Gateway manualmente",
|
|
4080
|
+
"system.savedValue": "Guardado",
|
|
4081
|
+
"system.runtimeValue": "En curso",
|
|
4082
|
+
"system.runningTasks": "Ejecuciones activas \xB7 {running} / {limit}",
|
|
4083
|
+
"system.configFile": "Archivo de configuraci\xF3n",
|
|
4084
|
+
"system.path": "Ruta",
|
|
4085
|
+
"system.fileExists": "Estado",
|
|
4086
|
+
"system.yes": "Existe",
|
|
4087
|
+
"system.noDefault": "Predeterminado",
|
|
4088
|
+
"system.danger": "Zona de peligro",
|
|
4089
|
+
"system.dangerDescription": "Vac\xEDa todas las tareas, ejecuciones y programaciones tras crear una copia de seguridad verificada.",
|
|
4090
|
+
"logs.command": "Comando",
|
|
4091
|
+
"logs.output": "Salida",
|
|
4092
|
+
"logs.error": "Error",
|
|
4093
|
+
"logs.tools": "Herramientas",
|
|
4094
|
+
"logs.raw": "JSONL en bruto",
|
|
4095
|
+
"logs.noText": "Sin salida de texto",
|
|
4096
|
+
"logs.loading": "Cargando registro\u2026",
|
|
4097
|
+
"logs.live": "En vivo",
|
|
4098
|
+
"logs.steps": "Pasos",
|
|
4099
|
+
"logs.tokens": "Tokens",
|
|
4100
|
+
"logs.tokInput": "Ent.",
|
|
4101
|
+
"logs.tokOutput": "Sal.",
|
|
4102
|
+
"logs.tokReasoning": "Razon.",
|
|
4103
|
+
"logs.tokCache": "Cach\xE9",
|
|
4104
|
+
"logs.tokCacheRead": "L",
|
|
4105
|
+
"logs.tokCacheWrite": "E",
|
|
4106
|
+
"logs.cost": "Coste",
|
|
4107
|
+
"logs.autoScroll": "Autodesplazar",
|
|
4108
|
+
"logs.rootCause": "Causa ra\xEDz",
|
|
4109
|
+
"inspector.tab.overview": "Resumen",
|
|
4110
|
+
"inspector.tab.output": "Salida en vivo",
|
|
4111
|
+
"inspector.tab.history": "Historial",
|
|
4112
|
+
"inspector.dependencies": "Dependencias",
|
|
4113
|
+
"inspector.upstream": "Predecesor",
|
|
4114
|
+
"inspector.downstream": "Dependientes",
|
|
4115
|
+
"inspector.failureSummary": "Fallo",
|
|
4116
|
+
"details.title": "Inspector",
|
|
4117
|
+
"details.taskTitle": "Tarea #{id}",
|
|
4118
|
+
"details.runTitle": "Ejecuci\xF3n #{id}",
|
|
4119
|
+
"details.templateTitle": "Programaci\xF3n #{id}",
|
|
4120
|
+
"details.raw": "JSON en bruto",
|
|
4121
|
+
"details.copySuccess": "Copiado",
|
|
4122
|
+
"details.id": "ID",
|
|
4123
|
+
"details.project": "Proyecto",
|
|
4124
|
+
"details.variant": "Variante",
|
|
4125
|
+
"details.prompt": "Prompt",
|
|
4126
|
+
"details.result": "Resultado",
|
|
4127
|
+
"details.category": "Categor\xEDa",
|
|
4128
|
+
"details.batch": "Lote",
|
|
4129
|
+
"details.dependency": "Dependencia",
|
|
4130
|
+
"details.importance": "Importancia",
|
|
4131
|
+
"details.urgency": "Urgencia",
|
|
4132
|
+
"details.retryCount": "Reintentos",
|
|
4133
|
+
"details.retryBackoff": "Espera",
|
|
4134
|
+
"details.timeout": "Timeout",
|
|
4135
|
+
"details.createdAt": "Creada",
|
|
4136
|
+
"details.updatedAt": "Actualizada",
|
|
4137
|
+
"details.startedAt": "Iniciada",
|
|
4138
|
+
"details.finishedAt": "Finalizada",
|
|
4139
|
+
"details.scheduledAt": "Programada",
|
|
4140
|
+
"details.enabled": "Estado",
|
|
4141
|
+
"details.scheduleRule": "Regla",
|
|
4142
|
+
"details.maxInstances": "Instancias m\xE1x.",
|
|
4143
|
+
"details.maxRetries": "Reintentos m\xE1x.",
|
|
4144
|
+
"details.lastRun": "\xDAltima ejecuci\xF3n",
|
|
4145
|
+
"details.nextRun": "Pr\xF3xima ejecuci\xF3n",
|
|
4146
|
+
"details.taskId": "Tarea",
|
|
4147
|
+
"details.session": "Sesi\xF3n",
|
|
4148
|
+
"details.heartbeat": "Heartbeat",
|
|
4149
|
+
"details.process": "Procesos",
|
|
4150
|
+
"details.history": "Historial de ejecuciones",
|
|
4151
|
+
"details.noHistory": "Sin ejecuciones a\xFAn",
|
|
4152
|
+
"details.none": "\u2014",
|
|
4153
|
+
"details.default": "Predeterminado",
|
|
4154
|
+
"details.enabledYes": "Activada",
|
|
4155
|
+
"details.enabledNo": "Desactivada",
|
|
4156
|
+
"batch.selected": "{count} seleccionadas",
|
|
4157
|
+
"batch.retry": "Reintentar",
|
|
4158
|
+
"batch.cancel": "Cancelar",
|
|
4159
|
+
"batch.delete": "Eliminar",
|
|
4160
|
+
"dialog.cancelTask": "Cancelar tarea #{id}",
|
|
4161
|
+
"dialog.cancelTaskBody": "Detiene la espera en cola o finaliza el grupo de procesos activo.",
|
|
4162
|
+
"dialog.retryTask": "Reintentar tarea #{id}",
|
|
4163
|
+
"dialog.retryTaskBody": "Restablece los reintentos y vuelve a encolar la tarea.",
|
|
4164
|
+
"dialog.deleteTask": "Eliminar tarea #{id}",
|
|
4165
|
+
"dialog.deleteTaskBody": "Elimina permanentemente la tarea y su historial de ejecuci\xF3n.",
|
|
4166
|
+
"dialog.batchRetry": "Reintentar {count} tareas",
|
|
4167
|
+
"dialog.batchRetryBody": "Vuelve a encolar las tareas fallidas y detenidas de la selecci\xF3n.",
|
|
4168
|
+
"dialog.batchCancel": "Cancelar {count} tareas",
|
|
4169
|
+
"dialog.batchCancelBody": "Cancela las tareas en cola, en ejecuci\xF3n y en reintento de la selecci\xF3n.",
|
|
4170
|
+
"dialog.batchDelete": "Eliminar {count} tareas",
|
|
4171
|
+
"dialog.batchDeleteBody": "Elimina permanentemente las tareas inactivas de la selecci\xF3n.",
|
|
4172
|
+
"dialog.disableTemplate": "Desactivar programaci\xF3n",
|
|
4173
|
+
"dialog.disableTemplateBody": "Dejar\xE1 de crear tareas nuevas autom\xE1ticamente.",
|
|
4174
|
+
"dialog.deleteTemplate": "Eliminar programaci\xF3n",
|
|
4175
|
+
"dialog.deleteTemplateBody": "Elimina la plantilla sin borrar las tareas pasadas.",
|
|
4176
|
+
"dialog.triggerTemplate": "Ejecutar ahora",
|
|
4177
|
+
"dialog.triggerTemplateBody": "Crea y encola una tarea de inmediato.",
|
|
4178
|
+
"dialog.clearTitle": "Vaciar base de datos",
|
|
4179
|
+
"dialog.clearBody": "Se eliminar\xE1n todas las tareas, ejecuciones y programaciones.",
|
|
4180
|
+
"dialog.clearInstruction": "Escribe CLEAR para confirmar:",
|
|
4181
|
+
"dialog.restartGateway": "Reiniciar Gateway",
|
|
4182
|
+
"dialog.restartGatewayBody": "Guarda la configuraci\xF3n y reinicia el Gateway con PM2.",
|
|
4183
|
+
"dialog.restartGatewayRunningBody": "Hay {count} tarea(s) en ejecuci\xF3n que se interrumpir\xE1n. \xBFContinuar?",
|
|
4184
|
+
"dialog.copyManualTitle": "Copiar manualmente",
|
|
4185
|
+
"dialog.copyManualBody": "El navegador bloque\xF3 el portapapeles. Pulsa \u2318C o Ctrl+C.",
|
|
4186
|
+
"feedback.retryFailed": "El reintento fall\xF3",
|
|
4187
|
+
"feedback.cancelFailed": "La cancelaci\xF3n fall\xF3",
|
|
4188
|
+
"feedback.deleteFailed": "La eliminaci\xF3n fall\xF3",
|
|
4189
|
+
"feedback.requestFailed": "La solicitud fall\xF3",
|
|
4190
|
+
"feedback.triggered": "Tarea #{id} encolada",
|
|
4191
|
+
"feedback.taskCreated": "Tarea #{id} encolada",
|
|
4192
|
+
"feedback.taskUpdated": "Tarea #{id} actualizada",
|
|
4193
|
+
"feedback.taskCloned": "Tarea #{id} clonada",
|
|
4194
|
+
"feedback.taskRetried": "Tarea #{id} reencolada",
|
|
4195
|
+
"feedback.taskCancelled": "Tarea #{id} cancelada",
|
|
4196
|
+
"feedback.taskDeleted": "Tarea #{id} eliminada",
|
|
4197
|
+
"feedback.batchDone": "Lote completado ({count})",
|
|
4198
|
+
"feedback.templateCreated": "Programaci\xF3n creada",
|
|
4199
|
+
"feedback.templateUpdated": "Programaci\xF3n actualizada",
|
|
4200
|
+
"feedback.configSaved": "Ajustes guardados",
|
|
4201
|
+
"feedback.sessionCommandCopied": "Comando de sesi\xF3n copiado",
|
|
4202
|
+
"feedback.commandCopied": "Comando copiado",
|
|
4203
|
+
"feedback.restarting": "Reiniciando Gateway\u2026",
|
|
4204
|
+
"feedback.restartTimeout": "El Gateway a\xFAn no se ha recuperado.",
|
|
4205
|
+
"feedback.databaseCleared": "Base de datos vaciada. Copia de seguridad: {path}",
|
|
4206
|
+
"feedback.copyFailed": "La copia fall\xF3",
|
|
4207
|
+
"a11y.skip": "Saltar al contenido",
|
|
4208
|
+
"a11y.refreshing": "Actualizando"
|
|
4209
|
+
};
|
|
4210
|
+
|
|
4211
|
+
// src/web/locales/zh-CN.ts
|
|
4212
|
+
var ZH_CN = {
|
|
4213
|
+
"app.name": "SuperTask",
|
|
4214
|
+
"app.local": "\u672C\u5730",
|
|
4215
|
+
"nav.tasks": "\u4EFB\u52A1",
|
|
4216
|
+
"nav.templates": "\u5B9A\u65F6",
|
|
4217
|
+
"nav.runs": "\u6267\u884C",
|
|
4218
|
+
"nav.system": "\u7CFB\u7EDF",
|
|
4219
|
+
"page.tasks.title": "\u4EFB\u52A1\u961F\u5217",
|
|
4220
|
+
"page.templates.title": "\u5B9A\u65F6\u4EFB\u52A1",
|
|
4221
|
+
"page.runs.title": "\u6267\u884C\u8BB0\u5F55",
|
|
4222
|
+
"page.system.title": "\u7CFB\u7EDF\u8BBE\u7F6E",
|
|
4223
|
+
"theme.label": "\u4E3B\u9898",
|
|
4224
|
+
"theme.system": "\u8DDF\u968F\u7CFB\u7EDF",
|
|
4225
|
+
"theme.light": "\u6D45\u8272",
|
|
4226
|
+
"theme.dark": "\u6DF1\u8272",
|
|
4227
|
+
"language.label": "\u8BED\u8A00",
|
|
4228
|
+
"action.refresh": "\u5237\u65B0",
|
|
4229
|
+
"action.createTask": "\u65B0\u5EFA\u4EFB\u52A1",
|
|
4230
|
+
"action.createTemplate": "\u65B0\u5EFA\u5B9A\u65F6",
|
|
4231
|
+
"action.saveTask": "\u52A0\u5165\u961F\u5217",
|
|
4232
|
+
"action.updateTask": "\u4FDD\u5B58",
|
|
4233
|
+
"action.saveTemplate": "\u4FDD\u5B58",
|
|
4234
|
+
"action.edit": "\u7F16\u8F91",
|
|
4235
|
+
"action.clone": "\u514B\u9686\u518D\u8DD1",
|
|
4236
|
+
"action.details": "\u8BE6\u60C5",
|
|
4237
|
+
"action.retry": "\u91CD\u8BD5",
|
|
4238
|
+
"action.cancel": "\u53D6\u6D88",
|
|
4239
|
+
"action.delete": "\u5220\u9664",
|
|
4240
|
+
"action.trigger": "\u7ACB\u5373\u8FD0\u884C",
|
|
4241
|
+
"action.enable": "\u542F\u7528",
|
|
4242
|
+
"action.disable": "\u7981\u7528",
|
|
4243
|
+
"action.logs": "\u65E5\u5FD7",
|
|
4244
|
+
"action.hideLogs": "\u6536\u8D77",
|
|
4245
|
+
"action.save": "\u4FDD\u5B58\u914D\u7F6E",
|
|
4246
|
+
"action.saveAndRestart": "\u4FDD\u5B58\u5E76\u91CD\u542F",
|
|
4247
|
+
"action.clearDatabase": "\u6E05\u7A7A\u6570\u636E",
|
|
4248
|
+
"action.copy": "\u590D\u5236",
|
|
4249
|
+
"action.copyCommand": "\u590D\u5236\u547D\u4EE4",
|
|
4250
|
+
"action.continueSession": "\u7EE7\u7EED\u4F1A\u8BDD",
|
|
4251
|
+
"action.chooseFolder": "\u6D4F\u89C8",
|
|
4252
|
+
"action.home": "\u4E3B\u76EE\u5F55",
|
|
4253
|
+
"action.up": "\u4E0A\u7EA7",
|
|
4254
|
+
"action.showHidden": "\u663E\u793A\u9690\u85CF",
|
|
4255
|
+
"action.hideHidden": "\u9690\u85CF\u70B9\u76EE\u5F55",
|
|
4256
|
+
"action.chooseThisFolder": "\u9009\u62E9\u6B64\u76EE\u5F55",
|
|
4257
|
+
"action.close": "\u5173\u95ED",
|
|
4258
|
+
"action.confirm": "\u786E\u8BA4",
|
|
4259
|
+
"action.clearSelection": "\u53D6\u6D88\u9009\u62E9",
|
|
4260
|
+
"action.viewTasks": "\u67E5\u770B\u4EFB\u52A1",
|
|
4261
|
+
"action.more": "\u66F4\u591A",
|
|
4262
|
+
"action.selectAll": "\u5168\u9009",
|
|
4263
|
+
"action.openMenu": "\u6253\u5F00\u5BFC\u822A",
|
|
4264
|
+
"filter.all": "\u5168\u90E8",
|
|
4265
|
+
"filter.searchTasks": "\u641C\u7D22\u4EFB\u52A1\u3001\u6279\u6B21\u6216 #ID\u2026",
|
|
4266
|
+
"filter.allAgents": "\u5168\u90E8 Agent",
|
|
4267
|
+
"filter.allBatches": "\u5168\u90E8\u6279\u6B21",
|
|
4268
|
+
"filter.noResults": "\u65E0\u5339\u914D\u4EFB\u52A1",
|
|
4269
|
+
"filter.templateScope": "\u6A21\u677F #{id}",
|
|
4270
|
+
"filter.clearFilter": "\u6E05\u9664\u7B5B\u9009",
|
|
4271
|
+
"projects.title": "\u9879\u76EE",
|
|
4272
|
+
"projects.all": "\u5168\u90E8\u9879\u76EE",
|
|
4273
|
+
"projects.legacy": "\u672A\u5206\u7EC4",
|
|
4274
|
+
"projects.counts": "\u8FD0\u884C {running} \xB7 \u6392\u961F {pending} \xB7 \u5F02\u5E38 {failed}",
|
|
4275
|
+
"projects.successRate": "{rate}%",
|
|
4276
|
+
"projects.rate7d": "\u8FD1 7 \u5929\u6210\u529F\u7387",
|
|
4277
|
+
"stats.pending": "\u6392\u961F\u4E2D",
|
|
4278
|
+
"stats.running": "\u8FD0\u884C\u4E2D",
|
|
4279
|
+
"stats.done": "\u5DF2\u5B8C\u6210",
|
|
4280
|
+
"stats.failedDead": "\u5F02\u5E38",
|
|
4281
|
+
"stats.templates": "\u5168\u90E8",
|
|
4282
|
+
"stats.enabled": "\u5DF2\u542F\u7528",
|
|
4283
|
+
"stats.disabled": "\u5DF2\u7981\u7528",
|
|
4284
|
+
"stats.records": "\u603B\u8BB0\u5F55",
|
|
4285
|
+
"stats.pageDone": "\u6210\u529F",
|
|
4286
|
+
"stats.pageFailed": "\u5931\u8D25",
|
|
4287
|
+
"stats.pageRunning": "\u8FD0\u884C\u4E2D",
|
|
4288
|
+
"table.id": "ID",
|
|
4289
|
+
"table.task": "\u4EFB\u52A1",
|
|
4290
|
+
"table.name": "\u540D\u79F0",
|
|
4291
|
+
"table.agent": "Agent",
|
|
4292
|
+
"table.model": "\u6A21\u578B",
|
|
4293
|
+
"table.status": "\u72B6\u6001",
|
|
4294
|
+
"table.duration": "\u8017\u65F6",
|
|
4295
|
+
"table.retries": "\u91CD\u8BD5",
|
|
4296
|
+
"table.actions": "\u64CD\u4F5C",
|
|
4297
|
+
"table.type": "\u7C7B\u578B",
|
|
4298
|
+
"table.rule": "\u89C4\u5219",
|
|
4299
|
+
"table.lastRun": "\u4E0A\u6B21\u6267\u884C",
|
|
4300
|
+
"table.nextRun": "\u4E0B\u6B21\u6267\u884C",
|
|
4301
|
+
"table.run": "\u6267\u884C",
|
|
4302
|
+
"table.session": "\u4F1A\u8BDD",
|
|
4303
|
+
"table.heartbeat": "\u5FC3\u8DF3",
|
|
4304
|
+
"table.startedAt": "\u5F00\u59CB\u65F6\u95F4",
|
|
4305
|
+
"table.pid": "\u8FDB\u7A0B",
|
|
4306
|
+
"table.pidTooltip": "Worker \u203A Guardian",
|
|
4307
|
+
"status.pending": "\u6392\u961F\u4E2D",
|
|
4308
|
+
"status.running": "\u8FD0\u884C\u4E2D",
|
|
4309
|
+
"status.done": "\u5DF2\u5B8C\u6210",
|
|
4310
|
+
"status.failed": "\u7B49\u5F85\u91CD\u8BD5",
|
|
4311
|
+
"status.dead_letter": "\u5DF2\u505C\u6B62",
|
|
4312
|
+
"status.cancelled": "\u5DF2\u53D6\u6D88",
|
|
4313
|
+
"status.unknown": "\u672A\u77E5",
|
|
4314
|
+
"status.executionStillActive": "\u8FDB\u7A0B\u9000\u51FA\u4E2D",
|
|
4315
|
+
"status.waitingDep": "\u7B49 #{id}",
|
|
4316
|
+
"status.batchBusy": "\u6279\u6B21\u5360\u7528",
|
|
4317
|
+
"status.retryIn": "{duration}\u540E\u91CD\u8BD5",
|
|
4318
|
+
"runStatus.running": "\u8FD0\u884C\u4E2D",
|
|
4319
|
+
"runStatus.done": "\u6210\u529F",
|
|
4320
|
+
"runStatus.failed": "\u5931\u8D25",
|
|
3978
4321
|
"schedule.cron": "Cron",
|
|
3979
|
-
"schedule.recurring": "
|
|
3980
|
-
"schedule.delayed": "
|
|
3981
|
-
"schedule.unknown": "
|
|
3982
|
-
"schedule.enabled": "
|
|
3983
|
-
"schedule.disabled": "
|
|
3984
|
-
"schedule.overdue": "
|
|
3985
|
-
"schedule.seconds": "{count}
|
|
3986
|
-
"schedule.minutes": "{count}
|
|
3987
|
-
"schedule.hours": "{count}
|
|
3988
|
-
"schedule.days": "{count}
|
|
3989
|
-
"schedule.cronPreset.hourly": "
|
|
3990
|
-
"schedule.cronPreset.daily9": "
|
|
3991
|
-
"schedule.cronPreset.weekday9": "
|
|
3992
|
-
"schedule.cronPreset.weeklyMon": "
|
|
3993
|
-
"duration.seconds": "
|
|
3994
|
-
"duration.minutes": "
|
|
3995
|
-
"duration.hours": "
|
|
3996
|
-
"duration.days": "
|
|
3997
|
-
"duration.every": "
|
|
3998
|
-
"duration.immediate": "
|
|
3999
|
-
"duration.systemDefault": "
|
|
4000
|
-
"duration.custom": "
|
|
4001
|
-
"duration.unit": "
|
|
4002
|
-
"pagination.previous": "
|
|
4003
|
-
"pagination.next": "
|
|
4004
|
-
"pagination.summary": "{page} / {pages} \xB7 {total}
|
|
4005
|
-
"empty.tasks": "
|
|
4006
|
-
"empty.templates": "
|
|
4007
|
-
"empty.runs": "
|
|
4008
|
-
"empty.running": "
|
|
4009
|
-
"task.createTitle": "
|
|
4010
|
-
"task.editTitle": "
|
|
4011
|
-
"task.projectExisting": "{running}
|
|
4012
|
-
"task.projectNew": "
|
|
4013
|
-
"template.createTitle": "
|
|
4014
|
-
"template.editTitle": "
|
|
4015
|
-
"template.name": "
|
|
4016
|
-
"template.cwd": "
|
|
4322
|
+
"schedule.recurring": "\u5FAA\u73AF",
|
|
4323
|
+
"schedule.delayed": "\u4E00\u6B21\u6027",
|
|
4324
|
+
"schedule.unknown": "\u672A\u77E5",
|
|
4325
|
+
"schedule.enabled": "\u542F\u7528",
|
|
4326
|
+
"schedule.disabled": "\u7981\u7528",
|
|
4327
|
+
"schedule.overdue": "\u5373\u5C06\u6267\u884C",
|
|
4328
|
+
"schedule.seconds": "{count} \u79D2",
|
|
4329
|
+
"schedule.minutes": "{count} \u5206\u949F",
|
|
4330
|
+
"schedule.hours": "{count} \u5C0F\u65F6",
|
|
4331
|
+
"schedule.days": "{count} \u5929",
|
|
4332
|
+
"schedule.cronPreset.hourly": "\u6BCF\u5C0F\u65F6",
|
|
4333
|
+
"schedule.cronPreset.daily9": "\u6BCF\u5929 09:00",
|
|
4334
|
+
"schedule.cronPreset.weekday9": "\u5DE5\u4F5C\u65E5 09:00",
|
|
4335
|
+
"schedule.cronPreset.weeklyMon": "\u6BCF\u5468\u4E00 09:00",
|
|
4336
|
+
"duration.seconds": "\u79D2",
|
|
4337
|
+
"duration.minutes": "\u5206\u949F",
|
|
4338
|
+
"duration.hours": "\u5C0F\u65F6",
|
|
4339
|
+
"duration.days": "\u5929",
|
|
4340
|
+
"duration.every": "\u6BCF {duration}",
|
|
4341
|
+
"duration.immediate": "\u7ACB\u5373",
|
|
4342
|
+
"duration.systemDefault": "\u9ED8\u8BA4\u8D85\u65F6",
|
|
4343
|
+
"duration.custom": "\u81EA\u5B9A\u4E49",
|
|
4344
|
+
"duration.unit": "\u5355\u4F4D",
|
|
4345
|
+
"pagination.previous": "\u4E0A\u4E00\u9875",
|
|
4346
|
+
"pagination.next": "\u4E0B\u4E00\u9875",
|
|
4347
|
+
"pagination.summary": "{page} / {pages} \xB7 \u5171 {total} \u6761",
|
|
4348
|
+
"empty.tasks": "\u6682\u65E0\u4EFB\u52A1",
|
|
4349
|
+
"empty.templates": "\u6682\u65E0\u5B9A\u65F6\u4EFB\u52A1",
|
|
4350
|
+
"empty.runs": "\u6682\u65E0\u6267\u884C\u8BB0\u5F55",
|
|
4351
|
+
"empty.running": "\u5F53\u524D\u65E0\u8FD0\u884C\u4E2D\u4EFB\u52A1",
|
|
4352
|
+
"task.createTitle": "\u65B0\u5EFA\u4EFB\u52A1",
|
|
4353
|
+
"task.editTitle": "\u7F16\u8F91\u4EFB\u52A1",
|
|
4354
|
+
"task.projectExisting": "\u8FD0\u884C {running} \xB7 \u6392\u961F {pending} \xB7 \u5F02\u5E38 {failed}",
|
|
4355
|
+
"task.projectNew": "\u65B0\u9879\u76EE\u76EE\u5F55",
|
|
4356
|
+
"template.createTitle": "\u65B0\u5EFA\u5B9A\u65F6\u4EFB\u52A1",
|
|
4357
|
+
"template.editTitle": "\u7F16\u8F91\u5B9A\u65F6\u4EFB\u52A1",
|
|
4358
|
+
"template.name": "\u540D\u79F0",
|
|
4359
|
+
"template.cwd": "\u9879\u76EE\u76EE\u5F55",
|
|
4017
4360
|
"template.agent": "Agent",
|
|
4018
|
-
"template.model": "
|
|
4361
|
+
"template.model": "\u6A21\u578B",
|
|
4019
4362
|
"template.variant": "Variant",
|
|
4020
|
-
"template.prompt": "
|
|
4021
|
-
"template.dependsOn": "
|
|
4022
|
-
"template.dependsOnNone": "
|
|
4023
|
-
"template.scheduleType": "
|
|
4024
|
-
"template.cronExpr": "Cron
|
|
4025
|
-
"template.interval": "
|
|
4026
|
-
"template.runAt": "
|
|
4027
|
-
"template.advanced": "
|
|
4028
|
-
"template.category": "
|
|
4029
|
-
"template.batchId": "
|
|
4030
|
-
"template.importance": "
|
|
4031
|
-
"template.urgency": "
|
|
4032
|
-
"template.maxInstances": "
|
|
4033
|
-
"template.maxRetries": "
|
|
4034
|
-
"template.retryBackoff": "
|
|
4035
|
-
"template.timeout": "
|
|
4036
|
-
"catalog.chooseProject": "
|
|
4037
|
-
"catalog.defaultProvider": "
|
|
4038
|
-
"catalog.defaultModel": "
|
|
4039
|
-
"catalog.defaultVariant": "
|
|
4040
|
-
"catalog.loading": "
|
|
4041
|
-
"catalog.loaded": "{agents}
|
|
4042
|
-
"catalog.failed": "
|
|
4043
|
-
"catalog.primary": "
|
|
4044
|
-
"catalog.subagent": "
|
|
4045
|
-
"catalog.all": "
|
|
4046
|
-
"directory.title": "
|
|
4047
|
-
"directory.empty": "
|
|
4363
|
+
"template.prompt": "\u63D0\u793A\u8BCD",
|
|
4364
|
+
"template.dependsOn": "\u524D\u7F6E\u4F9D\u8D56",
|
|
4365
|
+
"template.dependsOnNone": "\u65E0\u4F9D\u8D56",
|
|
4366
|
+
"template.scheduleType": "\u8C03\u5EA6\u7C7B\u578B",
|
|
4367
|
+
"template.cronExpr": "Cron \u8868\u8FBE\u5F0F",
|
|
4368
|
+
"template.interval": "\u6267\u884C\u95F4\u9694",
|
|
4369
|
+
"template.runAt": "\u6267\u884C\u65F6\u95F4",
|
|
4370
|
+
"template.advanced": "\u9AD8\u7EA7\u9009\u9879",
|
|
4371
|
+
"template.category": "\u5206\u7C7B",
|
|
4372
|
+
"template.batchId": "\u6279\u6B21",
|
|
4373
|
+
"template.importance": "\u91CD\u8981\u5EA6",
|
|
4374
|
+
"template.urgency": "\u7D27\u6025\u5EA6",
|
|
4375
|
+
"template.maxInstances": "\u5E76\u53D1\u4E0A\u9650",
|
|
4376
|
+
"template.maxRetries": "\u91CD\u8BD5\u6B21\u6570",
|
|
4377
|
+
"template.retryBackoff": "\u9000\u907F\u57FA\u51C6",
|
|
4378
|
+
"template.timeout": "\u8D85\u65F6",
|
|
4379
|
+
"catalog.chooseProject": "\u8BF7\u5148\u9009\u76EE\u5F55",
|
|
4380
|
+
"catalog.defaultProvider": "\u9ED8\u8BA4",
|
|
4381
|
+
"catalog.defaultModel": "\u9ED8\u8BA4\u6A21\u578B",
|
|
4382
|
+
"catalog.defaultVariant": "\u9ED8\u8BA4",
|
|
4383
|
+
"catalog.loading": "\u52A0\u8F7D\u76EE\u5F55\u80FD\u529B\u2026",
|
|
4384
|
+
"catalog.loaded": "{agents} \u4E2A Agent \xB7 {models} \u4E2A\u6A21\u578B",
|
|
4385
|
+
"catalog.failed": "\u8BFB\u53D6\u5931\u8D25\uFF1A{error}",
|
|
4386
|
+
"catalog.primary": "\u4E3B",
|
|
4387
|
+
"catalog.subagent": "\u5B50",
|
|
4388
|
+
"catalog.all": "\u901A\u7528",
|
|
4389
|
+
"directory.title": "\u9009\u62E9\u9879\u76EE\u76EE\u5F55",
|
|
4390
|
+
"directory.empty": "\u65E0\u5B50\u76EE\u5F55",
|
|
4048
4391
|
"system.worker": "Worker",
|
|
4049
4392
|
"system.scheduler": "Scheduler",
|
|
4050
4393
|
"system.watchdog": "Watchdog",
|
|
4051
|
-
"system.watchdogCleanup": "
|
|
4052
|
-
"system.health": "
|
|
4053
|
-
"system.healthy": "
|
|
4054
|
-
"system.degraded": "
|
|
4055
|
-
"system.reconnecting": "
|
|
4056
|
-
"system.disabled": "
|
|
4057
|
-
"system.uptime": "
|
|
4058
|
-
"system.failures": "
|
|
4059
|
-
"system.lastActivity": "
|
|
4060
|
-
"system.lock": "
|
|
4061
|
-
"system.concurrency": "
|
|
4062
|
-
"system.maxConcurrency": "
|
|
4063
|
-
"system.pollInterval": "
|
|
4064
|
-
"system.heartbeatInterval": "
|
|
4065
|
-
"system.taskTimeout": "
|
|
4066
|
-
"system.schedulerEnabled": "
|
|
4067
|
-
"system.checkInterval": "
|
|
4068
|
-
"system.activeTemplates": "
|
|
4069
|
-
"system.heartbeatTimeout": "
|
|
4070
|
-
"system.cleanupInterval": "
|
|
4071
|
-
"system.retentionDays": "
|
|
4394
|
+
"system.watchdogCleanup": "\u5386\u53F2\u6E05\u7406",
|
|
4395
|
+
"system.health": "\u8FD0\u884C\u5065\u5EB7",
|
|
4396
|
+
"system.healthy": "\u6B63\u5E38",
|
|
4397
|
+
"system.degraded": "\u964D\u7EA7",
|
|
4398
|
+
"system.reconnecting": "\u91CD\u8FDE\u4E2D",
|
|
4399
|
+
"system.disabled": "\u505C\u7528",
|
|
4400
|
+
"system.uptime": "\u8FD0\u884C\u65F6\u957F",
|
|
4401
|
+
"system.failures": "\u8FDE\u7EED\u5931\u8D25",
|
|
4402
|
+
"system.lastActivity": "\u6700\u8FD1\u6D3B\u8DC3",
|
|
4403
|
+
"system.lock": "\u5B9E\u4F8B\u9501",
|
|
4404
|
+
"system.concurrency": "\u5E76\u53D1",
|
|
4405
|
+
"system.maxConcurrency": "\u6700\u5927\u5E76\u53D1",
|
|
4406
|
+
"system.pollInterval": "\u8F6E\u8BE2\u95F4\u9694",
|
|
4407
|
+
"system.heartbeatInterval": "\u5FC3\u8DF3\u95F4\u9694",
|
|
4408
|
+
"system.taskTimeout": "\u9ED8\u8BA4\u8D85\u65F6",
|
|
4409
|
+
"system.schedulerEnabled": "\u542F\u7528\u8C03\u5EA6\u5668",
|
|
4410
|
+
"system.checkInterval": "\u68C0\u67E5\u95F4\u9694",
|
|
4411
|
+
"system.activeTemplates": "\u542F\u7528\u6A21\u677F",
|
|
4412
|
+
"system.heartbeatTimeout": "\u5FC3\u8DF3\u8D85\u65F6",
|
|
4413
|
+
"system.cleanupInterval": "\u6E05\u7406\u95F4\u9694",
|
|
4414
|
+
"system.retentionDays": "\u4FDD\u7559\u5929\u6570",
|
|
4072
4415
|
"system.milliseconds": "ms",
|
|
4073
4416
|
"system.seconds": "s",
|
|
4074
4417
|
"system.minutes": "min",
|
|
4075
4418
|
"system.hours": "h",
|
|
4076
4419
|
"system.days": "d",
|
|
4077
|
-
"system.configForeground": "
|
|
4078
|
-
"system.configApplied": "
|
|
4079
|
-
"system.configPending": "
|
|
4080
|
-
"system.configRestartManually": "
|
|
4081
|
-
"system.savedValue": "
|
|
4082
|
-
"system.runtimeValue": "
|
|
4083
|
-
"system.runningTasks": "
|
|
4084
|
-
"system.configFile": "
|
|
4085
|
-
"system.path": "
|
|
4086
|
-
"system.fileExists": "
|
|
4087
|
-
"system.yes": "
|
|
4088
|
-
"system.noDefault": "
|
|
4089
|
-
"system.danger": "
|
|
4090
|
-
"system.dangerDescription": "
|
|
4091
|
-
"logs.command": "
|
|
4092
|
-
"logs.output": "
|
|
4093
|
-
"logs.error": "
|
|
4094
|
-
"logs.tools": "
|
|
4095
|
-
"logs.raw": "
|
|
4096
|
-
"logs.noText": "
|
|
4097
|
-
"logs.loading": "
|
|
4098
|
-
"logs.live": "
|
|
4099
|
-
"logs.steps": "
|
|
4420
|
+
"system.configForeground": "\u524D\u53F0\u8FD0\u884C \xB7 \u91CD\u542F\u540E\u751F\u6548",
|
|
4421
|
+
"system.configApplied": "\u8FD0\u884C\u503C\u4E0E\u5DF2\u4FDD\u5B58\u914D\u7F6E\u4E00\u81F4",
|
|
4422
|
+
"system.configPending": "\u5B58\u5728\u5F85\u751F\u6548\u6539\u52A8 \xB7 \u91CD\u542F Gateway \u540E\u5E94\u7528",
|
|
4423
|
+
"system.configRestartManually": "\u5B58\u5728\u5F85\u751F\u6548\u6539\u52A8 \xB7 \u8BF7\u624B\u52A8\u91CD\u542F Gateway",
|
|
4424
|
+
"system.savedValue": "\u5DF2\u4FDD\u5B58",
|
|
4425
|
+
"system.runtimeValue": "\u8FD0\u884C\u4E2D",
|
|
4426
|
+
"system.runningTasks": "\u8FD0\u884C\u4E2D\u6267\u884C \xB7 {running} / {limit}",
|
|
4427
|
+
"system.configFile": "\u914D\u7F6E\u6587\u4EF6",
|
|
4428
|
+
"system.path": "\u8DEF\u5F84",
|
|
4429
|
+
"system.fileExists": "\u6587\u4EF6\u72B6\u6001",
|
|
4430
|
+
"system.yes": "\u5DF2\u5B58\u5728",
|
|
4431
|
+
"system.noDefault": "\u9ED8\u8BA4\u914D\u7F6E",
|
|
4432
|
+
"system.danger": "\u5371\u9669\u64CD\u4F5C",
|
|
4433
|
+
"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",
|
|
4434
|
+
"logs.command": "\u6267\u884C\u547D\u4EE4",
|
|
4435
|
+
"logs.output": "\u8F93\u51FA",
|
|
4436
|
+
"logs.error": "\u9519\u8BEF",
|
|
4437
|
+
"logs.tools": "\u5DE5\u5177\u8C03\u7528",
|
|
4438
|
+
"logs.raw": "\u539F\u59CB JSONL",
|
|
4439
|
+
"logs.noText": "\u6682\u65E0\u6587\u672C\u8F93\u51FA",
|
|
4440
|
+
"logs.loading": "\u52A0\u8F7D\u65E5\u5FD7\u2026",
|
|
4441
|
+
"logs.live": "\u5B9E\u65F6\u6D41",
|
|
4442
|
+
"logs.steps": "\u6B65\u9AA4",
|
|
4100
4443
|
"logs.tokens": "Tokens",
|
|
4101
|
-
"logs.tokInput": "
|
|
4102
|
-
"logs.tokOutput": "
|
|
4103
|
-
"logs.tokReasoning": "
|
|
4104
|
-
"logs.tokCache": "
|
|
4105
|
-
"logs.tokCacheRead": "
|
|
4106
|
-
"logs.tokCacheWrite": "
|
|
4107
|
-
"logs.cost": "
|
|
4108
|
-
"logs.autoScroll": "
|
|
4109
|
-
"logs.rootCause": "
|
|
4110
|
-
"
|
|
4111
|
-
"
|
|
4112
|
-
"inspector.tab.
|
|
4113
|
-
"inspector.
|
|
4114
|
-
"inspector.
|
|
4115
|
-
"inspector.
|
|
4116
|
-
"inspector.
|
|
4117
|
-
"
|
|
4118
|
-
"
|
|
4119
|
-
"details.
|
|
4120
|
-
"details.
|
|
4121
|
-
"details.
|
|
4122
|
-
"details.
|
|
4123
|
-
"details.raw": "Raw JSON",
|
|
4124
|
-
"details.copySuccess": "Copied",
|
|
4444
|
+
"logs.tokInput": "\u8F93\u5165",
|
|
4445
|
+
"logs.tokOutput": "\u8F93\u51FA",
|
|
4446
|
+
"logs.tokReasoning": "\u63A8\u7406",
|
|
4447
|
+
"logs.tokCache": "\u7F13\u5B58",
|
|
4448
|
+
"logs.tokCacheRead": "\u8BFB",
|
|
4449
|
+
"logs.tokCacheWrite": "\u5199",
|
|
4450
|
+
"logs.cost": "\u8D39\u7528",
|
|
4451
|
+
"logs.autoScroll": "\u81EA\u52A8\u6EDA\u5E95",
|
|
4452
|
+
"logs.rootCause": "\u6839\u56E0",
|
|
4453
|
+
"inspector.tab.overview": "\u6982\u89C8",
|
|
4454
|
+
"inspector.tab.output": "\u5B9E\u65F6\u8F93\u51FA",
|
|
4455
|
+
"inspector.tab.history": "\u6267\u884C\u5386\u53F2",
|
|
4456
|
+
"inspector.dependencies": "\u4F9D\u8D56\u5173\u7CFB",
|
|
4457
|
+
"inspector.upstream": "\u524D\u7F6E",
|
|
4458
|
+
"inspector.downstream": "\u4E0B\u6E38",
|
|
4459
|
+
"inspector.failureSummary": "\u5931\u8D25\u539F\u56E0",
|
|
4460
|
+
"details.title": "\u8BE6\u60C5",
|
|
4461
|
+
"details.taskTitle": "\u4EFB\u52A1 #{id}",
|
|
4462
|
+
"details.runTitle": "\u6267\u884C #{id}",
|
|
4463
|
+
"details.templateTitle": "\u6A21\u677F #{id}",
|
|
4464
|
+
"details.raw": "\u539F\u59CB JSON",
|
|
4465
|
+
"details.copySuccess": "\u5DF2\u590D\u5236",
|
|
4125
4466
|
"details.id": "ID",
|
|
4126
|
-
"details.project": "
|
|
4467
|
+
"details.project": "\u9879\u76EE\u76EE\u5F55",
|
|
4127
4468
|
"details.variant": "Variant",
|
|
4128
|
-
"details.prompt": "
|
|
4129
|
-
"details.result": "
|
|
4130
|
-
"details.category": "
|
|
4131
|
-
"details.batch": "
|
|
4132
|
-
"details.dependency": "
|
|
4133
|
-
"details.importance": "
|
|
4134
|
-
"details.urgency": "
|
|
4135
|
-
"details.retryCount": "
|
|
4136
|
-
"details.retryBackoff": "
|
|
4137
|
-
"details.timeout": "
|
|
4138
|
-
"details.createdAt": "
|
|
4139
|
-
"details.updatedAt": "
|
|
4140
|
-
"details.startedAt": "
|
|
4141
|
-
"details.finishedAt": "
|
|
4142
|
-
"details.scheduledAt": "
|
|
4143
|
-
"details.enabled": "
|
|
4144
|
-
"details.scheduleRule": "
|
|
4145
|
-
"details.maxInstances": "
|
|
4146
|
-
"details.maxRetries": "
|
|
4147
|
-
"details.lastRun": "
|
|
4148
|
-
"details.nextRun": "
|
|
4149
|
-
"details.taskId": "
|
|
4150
|
-
"details.session": "
|
|
4151
|
-
"details.heartbeat": "
|
|
4152
|
-
"details.process": "
|
|
4153
|
-
"details.history": "
|
|
4154
|
-
"details.noHistory": "
|
|
4469
|
+
"details.prompt": "\u63D0\u793A\u8BCD",
|
|
4470
|
+
"details.result": "\u8F93\u51FA",
|
|
4471
|
+
"details.category": "\u5206\u7C7B",
|
|
4472
|
+
"details.batch": "\u6279\u6B21",
|
|
4473
|
+
"details.dependency": "\u4F9D\u8D56",
|
|
4474
|
+
"details.importance": "\u91CD\u8981\u5EA6",
|
|
4475
|
+
"details.urgency": "\u7D27\u6025\u5EA6",
|
|
4476
|
+
"details.retryCount": "\u91CD\u8BD5",
|
|
4477
|
+
"details.retryBackoff": "\u9000\u907F\u57FA\u51C6",
|
|
4478
|
+
"details.timeout": "\u8D85\u65F6",
|
|
4479
|
+
"details.createdAt": "\u521B\u5EFA\u65F6\u95F4",
|
|
4480
|
+
"details.updatedAt": "\u66F4\u65B0\u65F6\u95F4",
|
|
4481
|
+
"details.startedAt": "\u5F00\u59CB\u65F6\u95F4",
|
|
4482
|
+
"details.finishedAt": "\u5B8C\u6210\u65F6\u95F4",
|
|
4483
|
+
"details.scheduledAt": "\u8BA1\u5212\u65F6\u95F4",
|
|
4484
|
+
"details.enabled": "\u542F\u7528",
|
|
4485
|
+
"details.scheduleRule": "\u8C03\u5EA6\u89C4\u5219",
|
|
4486
|
+
"details.maxInstances": "\u5E76\u53D1\u4E0A\u9650",
|
|
4487
|
+
"details.maxRetries": "\u91CD\u8BD5\u4E0A\u9650",
|
|
4488
|
+
"details.lastRun": "\u4E0A\u6B21\u6267\u884C",
|
|
4489
|
+
"details.nextRun": "\u4E0B\u6B21\u6267\u884C",
|
|
4490
|
+
"details.taskId": "\u4EFB\u52A1",
|
|
4491
|
+
"details.session": "\u4F1A\u8BDD",
|
|
4492
|
+
"details.heartbeat": "\u5FC3\u8DF3",
|
|
4493
|
+
"details.process": "\u8FDB\u7A0B",
|
|
4494
|
+
"details.history": "\u6267\u884C\u5386\u53F2",
|
|
4495
|
+
"details.noHistory": "\u6682\u65E0\u6267\u884C\u8BB0\u5F55",
|
|
4155
4496
|
"details.none": "\u2014",
|
|
4156
|
-
"details.default": "
|
|
4157
|
-
"details.enabledYes": "
|
|
4158
|
-
"details.enabledNo": "
|
|
4159
|
-
"batch.selected": "{count}
|
|
4160
|
-
"batch.retry": "
|
|
4161
|
-
"batch.cancel": "
|
|
4162
|
-
"batch.delete": "
|
|
4163
|
-
"dialog.cancelTask": "
|
|
4164
|
-
"dialog.cancelTaskBody": "
|
|
4165
|
-
"dialog.retryTask": "
|
|
4166
|
-
"dialog.retryTaskBody": "
|
|
4167
|
-
"dialog.deleteTask": "
|
|
4168
|
-
"dialog.deleteTaskBody": "
|
|
4169
|
-
"dialog.batchRetry": "
|
|
4170
|
-
"dialog.batchRetryBody": "
|
|
4171
|
-
"dialog.batchCancel": "
|
|
4172
|
-
"dialog.batchCancelBody": "
|
|
4173
|
-
"dialog.batchDelete": "
|
|
4174
|
-
"dialog.batchDeleteBody": "
|
|
4175
|
-
"dialog.disableTemplate": "
|
|
4176
|
-
"dialog.disableTemplateBody": "
|
|
4177
|
-
"dialog.deleteTemplate": "
|
|
4178
|
-
"dialog.deleteTemplateBody": "
|
|
4179
|
-
"dialog.triggerTemplate": "
|
|
4180
|
-
"dialog.triggerTemplateBody": "
|
|
4181
|
-
"dialog.clearTitle": "
|
|
4182
|
-
"dialog.clearBody": "
|
|
4183
|
-
"dialog.clearInstruction": "
|
|
4184
|
-
"dialog.restartGateway": "
|
|
4185
|
-
"dialog.restartGatewayBody": "
|
|
4186
|
-
"dialog.restartGatewayRunningBody": "{count}
|
|
4187
|
-
"dialog.copyManualTitle": "
|
|
4188
|
-
"dialog.copyManualBody": "
|
|
4189
|
-
"feedback.retryFailed": "
|
|
4190
|
-
"feedback.cancelFailed": "
|
|
4191
|
-
"feedback.deleteFailed": "
|
|
4192
|
-
"feedback.requestFailed": "
|
|
4193
|
-
"feedback.triggered": "
|
|
4194
|
-
"feedback.taskCreated": "
|
|
4195
|
-
"feedback.taskUpdated": "
|
|
4196
|
-
"feedback.taskCloned": "
|
|
4197
|
-
"feedback.taskRetried": "
|
|
4198
|
-
"feedback.taskCancelled": "
|
|
4199
|
-
"feedback.taskDeleted": "
|
|
4200
|
-
"feedback.batchDone": "
|
|
4201
|
-
"feedback.templateCreated": "
|
|
4202
|
-
"feedback.templateUpdated": "
|
|
4203
|
-
"feedback.configSaved": "
|
|
4204
|
-
"feedback.sessionCommandCopied": "
|
|
4205
|
-
"feedback.commandCopied": "
|
|
4206
|
-
"feedback.restarting": "
|
|
4207
|
-
"feedback.restartTimeout": "Gateway
|
|
4208
|
-
"feedback.databaseCleared": "
|
|
4209
|
-
"feedback.copyFailed": "
|
|
4210
|
-
"a11y.skip": "
|
|
4211
|
-
"a11y.refreshing": "
|
|
4497
|
+
"details.default": "\u9ED8\u8BA4",
|
|
4498
|
+
"details.enabledYes": "\u5DF2\u542F\u7528",
|
|
4499
|
+
"details.enabledNo": "\u5DF2\u7981\u7528",
|
|
4500
|
+
"batch.selected": "\u5DF2\u9009 {count} \u9879",
|
|
4501
|
+
"batch.retry": "\u6279\u91CF\u91CD\u8BD5",
|
|
4502
|
+
"batch.cancel": "\u6279\u91CF\u53D6\u6D88",
|
|
4503
|
+
"batch.delete": "\u6279\u91CF\u5220\u9664",
|
|
4504
|
+
"dialog.cancelTask": "\u53D6\u6D88\u4EFB\u52A1 #{id}",
|
|
4505
|
+
"dialog.cancelTaskBody": "\u4EFB\u52A1\u5C06\u505C\u6B62\u6392\u961F\u6216\u7EC8\u6B62\u5F53\u524D\u6267\u884C\u3002",
|
|
4506
|
+
"dialog.retryTask": "\u91CD\u8BD5\u4EFB\u52A1 #{id}",
|
|
4507
|
+
"dialog.retryTaskBody": "\u91CD\u7F6E\u91CD\u8BD5\u8BA1\u6570\u5E76\u91CD\u65B0\u52A0\u5165\u961F\u5217\u3002",
|
|
4508
|
+
"dialog.deleteTask": "\u5220\u9664\u4EFB\u52A1 #{id}",
|
|
4509
|
+
"dialog.deleteTaskBody": "\u5220\u9664\u8BE5\u4EFB\u52A1\u53CA\u5176\u5168\u90E8\u6267\u884C\u8BB0\u5F55\uFF0C\u4E0D\u53EF\u6062\u590D\u3002",
|
|
4510
|
+
"dialog.batchRetry": "\u6279\u91CF\u91CD\u8BD5 {count} \u4E2A\u4EFB\u52A1",
|
|
4511
|
+
"dialog.batchRetryBody": "\u4EC5\u5931\u8D25\u6216\u5DF2\u505C\u6B62\u7684\u4EFB\u52A1\u4F1A\u88AB\u91CD\u65B0\u5165\u961F\u3002",
|
|
4512
|
+
"dialog.batchCancel": "\u6279\u91CF\u53D6\u6D88 {count} \u4E2A\u4EFB\u52A1",
|
|
4513
|
+
"dialog.batchCancelBody": "\u6392\u961F\u4E2D\u3001\u8FD0\u884C\u4E2D\u6216\u7B49\u5F85\u91CD\u8BD5\u7684\u4EFB\u52A1\u5C06\u88AB\u53D6\u6D88\u3002",
|
|
4514
|
+
"dialog.batchDelete": "\u6279\u91CF\u5220\u9664 {count} \u4E2A\u4EFB\u52A1",
|
|
4515
|
+
"dialog.batchDeleteBody": "\u5220\u9664\u6240\u9009\u975E\u8FD0\u884C\u4E2D\u4EFB\u52A1\u53CA\u5176\u6267\u884C\u8BB0\u5F55\uFF0C\u4E0D\u53EF\u6062\u590D\u3002",
|
|
4516
|
+
"dialog.disableTemplate": "\u7981\u7528\u5B9A\u65F6\u4EFB\u52A1",
|
|
4517
|
+
"dialog.disableTemplateBody": "\u7981\u7528\u540E\u4E0D\u518D\u81EA\u52A8\u521B\u5EFA\u65B0\u4EFB\u52A1\u3002",
|
|
4518
|
+
"dialog.deleteTemplate": "\u5220\u9664\u5B9A\u65F6\u4EFB\u52A1",
|
|
4519
|
+
"dialog.deleteTemplateBody": "\u5220\u9664\u6A21\u677F\u914D\u7F6E\uFF0C\u4E0D\u5F71\u54CD\u5DF2\u751F\u6210\u7684\u5386\u53F2\u4EFB\u52A1\u3002",
|
|
4520
|
+
"dialog.triggerTemplate": "\u7ACB\u5373\u8FD0\u884C\u5B9A\u65F6\u4EFB\u52A1",
|
|
4521
|
+
"dialog.triggerTemplateBody": "\u7ACB\u5373\u751F\u6210\u4E00\u6761\u4EFB\u52A1\u5E76\u52A0\u5165\u961F\u5217\u3002",
|
|
4522
|
+
"dialog.clearTitle": "\u6E05\u7A7A\u6570\u636E\u5E93",
|
|
4523
|
+
"dialog.clearBody": "\u6B64\u64CD\u4F5C\u4F1A\u6E05\u7A7A\u6240\u6709\u4EFB\u52A1\u3001\u6267\u884C\u8BB0\u5F55\u548C\u5B9A\u65F6\u6A21\u677F\u3002",
|
|
4524
|
+
"dialog.clearInstruction": "\u8BF7\u8F93\u5165 CLEAR \u4EE5\u786E\u8BA4\uFF1A",
|
|
4525
|
+
"dialog.restartGateway": "\u91CD\u542F Gateway",
|
|
4526
|
+
"dialog.restartGatewayBody": "\u4FDD\u5B58\u914D\u7F6E\u5E76\u7531 PM2 \u91CD\u542F Gateway \u4F7F\u65B0\u914D\u7F6E\u751F\u6548\u3002",
|
|
4527
|
+
"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",
|
|
4528
|
+
"dialog.copyManualTitle": "\u624B\u52A8\u590D\u5236",
|
|
4529
|
+
"dialog.copyManualBody": "\u6D4F\u89C8\u5668\u62E6\u622A\u4E86\u526A\u8D34\u677F\u8BBF\u95EE\uFF0C\u8BF7\u6309 \u2318C / Ctrl+C \u590D\u5236\u3002",
|
|
4530
|
+
"feedback.retryFailed": "\u91CD\u8BD5\u5931\u8D25",
|
|
4531
|
+
"feedback.cancelFailed": "\u53D6\u6D88\u5931\u8D25",
|
|
4532
|
+
"feedback.deleteFailed": "\u5220\u9664\u5931\u8D25",
|
|
4533
|
+
"feedback.requestFailed": "\u8BF7\u6C42\u5931\u8D25",
|
|
4534
|
+
"feedback.triggered": "\u5DF2\u5165\u961F\u4EFB\u52A1 #{id}",
|
|
4535
|
+
"feedback.taskCreated": "\u5DF2\u5165\u961F\u4EFB\u52A1 #{id}",
|
|
4536
|
+
"feedback.taskUpdated": "\u5DF2\u66F4\u65B0\u4EFB\u52A1 #{id}",
|
|
4537
|
+
"feedback.taskCloned": "\u5DF2\u514B\u9686\u4EFB\u52A1 #{id}",
|
|
4538
|
+
"feedback.taskRetried": "\u4EFB\u52A1 #{id} \u5DF2\u91CD\u65B0\u5165\u961F",
|
|
4539
|
+
"feedback.taskCancelled": "\u4EFB\u52A1 #{id} \u5DF2\u53D6\u6D88",
|
|
4540
|
+
"feedback.taskDeleted": "\u4EFB\u52A1 #{id} \u5DF2\u5220\u9664",
|
|
4541
|
+
"feedback.batchDone": "\u6279\u91CF\u64CD\u4F5C\u5B8C\u6210\uFF08\u6210\u529F {count}\uFF09",
|
|
4542
|
+
"feedback.templateCreated": "\u5B9A\u65F6\u4EFB\u52A1\u5DF2\u521B\u5EFA",
|
|
4543
|
+
"feedback.templateUpdated": "\u5B9A\u65F6\u4EFB\u52A1\u5DF2\u66F4\u65B0",
|
|
4544
|
+
"feedback.configSaved": "\u914D\u7F6E\u5DF2\u4FDD\u5B58",
|
|
4545
|
+
"feedback.sessionCommandCopied": "\u4F1A\u8BDD\u547D\u4EE4\u5DF2\u590D\u5236",
|
|
4546
|
+
"feedback.commandCopied": "\u6267\u884C\u547D\u4EE4\u5DF2\u590D\u5236",
|
|
4547
|
+
"feedback.restarting": "Gateway \u91CD\u542F\u4E2D\u2026",
|
|
4548
|
+
"feedback.restartTimeout": "Gateway \u5C1A\u672A\u6062\u590D\uFF0C\u8BF7\u7A0D\u540E\u5237\u65B0\u68C0\u67E5\u3002",
|
|
4549
|
+
"feedback.databaseCleared": "\u6570\u636E\u5E93\u5DF2\u6E05\u7A7A\uFF0C\u5907\u4EFD\uFF1A{path}",
|
|
4550
|
+
"feedback.copyFailed": "\u590D\u5236\u5931\u8D25",
|
|
4551
|
+
"a11y.skip": "\u8DF3\u81F3\u4E3B\u5185\u5BB9",
|
|
4552
|
+
"a11y.refreshing": "\u5237\u65B0\u4E2D"
|
|
4212
4553
|
};
|
|
4554
|
+
|
|
4555
|
+
// src/web/locales/index.ts
|
|
4556
|
+
var LOCALE_REGISTRY = [
|
|
4557
|
+
{
|
|
4558
|
+
code: "zh-CN",
|
|
4559
|
+
htmlLang: "zh-CN",
|
|
4560
|
+
intlLocale: "zh-CN",
|
|
4561
|
+
shortLabel: "\u4E2D",
|
|
4562
|
+
nativeLabel: "\u4E2D\u6587",
|
|
4563
|
+
aliases: ["zh", "zh-cn", "zh-hans", "zh-sg"],
|
|
4564
|
+
messages: ZH_CN
|
|
4565
|
+
},
|
|
4566
|
+
{
|
|
4567
|
+
code: "en",
|
|
4568
|
+
htmlLang: "en",
|
|
4569
|
+
intlLocale: "en-US",
|
|
4570
|
+
shortLabel: "EN",
|
|
4571
|
+
nativeLabel: "English",
|
|
4572
|
+
aliases: ["en", "en-us", "en-gb", "en-au", "en-ca"],
|
|
4573
|
+
messages: EN
|
|
4574
|
+
},
|
|
4575
|
+
{
|
|
4576
|
+
code: "es",
|
|
4577
|
+
htmlLang: "es",
|
|
4578
|
+
intlLocale: "es-ES",
|
|
4579
|
+
shortLabel: "ES",
|
|
4580
|
+
nativeLabel: "Espa\xF1ol",
|
|
4581
|
+
aliases: ["es", "es-es", "es-mx", "es-419", "es-ar", "es-co", "es-cl"],
|
|
4582
|
+
messages: ES
|
|
4583
|
+
}
|
|
4584
|
+
];
|
|
4585
|
+
var DEFAULT_LOCALE = "zh-CN";
|
|
4586
|
+
var SUPPORTED_LOCALES = LOCALE_REGISTRY.map((entry) => entry.code);
|
|
4587
|
+
var DEFINITIONS_BY_CODE = new Map(
|
|
4588
|
+
LOCALE_REGISTRY.map((entry) => [entry.code, entry])
|
|
4589
|
+
);
|
|
4590
|
+
var EXACT_ALIAS_MAP = /* @__PURE__ */ new Map();
|
|
4591
|
+
var PRIMARY_SUBTAG_MAP = /* @__PURE__ */ new Map();
|
|
4592
|
+
for (const entry of LOCALE_REGISTRY) {
|
|
4593
|
+
const codeKey = entry.code.toLowerCase();
|
|
4594
|
+
EXACT_ALIAS_MAP.set(codeKey, entry.code);
|
|
4595
|
+
for (const alias of entry.aliases) {
|
|
4596
|
+
EXACT_ALIAS_MAP.set(alias.toLowerCase(), entry.code);
|
|
4597
|
+
}
|
|
4598
|
+
const primary = codeKey.split("-")[0];
|
|
4599
|
+
if (primary && !PRIMARY_SUBTAG_MAP.has(primary)) {
|
|
4600
|
+
PRIMARY_SUBTAG_MAP.set(primary, entry.code);
|
|
4601
|
+
}
|
|
4602
|
+
}
|
|
4603
|
+
function getLocaleDefinition(locale) {
|
|
4604
|
+
return DEFINITIONS_BY_CODE.get(locale) ?? DEFINITIONS_BY_CODE.get(DEFAULT_LOCALE);
|
|
4605
|
+
}
|
|
4606
|
+
function parseLocale(raw2) {
|
|
4607
|
+
if (!raw2) return null;
|
|
4608
|
+
const normalized = raw2.trim().replace(/_/g, "-").toLowerCase();
|
|
4609
|
+
if (!normalized) return null;
|
|
4610
|
+
const exact = EXACT_ALIAS_MAP.get(normalized);
|
|
4611
|
+
if (exact) return exact;
|
|
4612
|
+
const primary = normalized.split("-")[0];
|
|
4613
|
+
return primary ? PRIMARY_SUBTAG_MAP.get(primary) ?? null : null;
|
|
4614
|
+
}
|
|
4615
|
+
function negotiateLocale(acceptLanguage, fallback = DEFAULT_LOCALE) {
|
|
4616
|
+
if (!acceptLanguage) return fallback;
|
|
4617
|
+
const candidates = acceptLanguage.split(",").map((part, index) => {
|
|
4618
|
+
const [tagPart, ...params] = part.trim().split(";");
|
|
4619
|
+
let weight = 1;
|
|
4620
|
+
for (const param of params) {
|
|
4621
|
+
const match2 = /^q=([0-9.]+)$/i.exec(param.trim());
|
|
4622
|
+
if (match2) {
|
|
4623
|
+
const parsed = Number(match2[1]);
|
|
4624
|
+
if (Number.isFinite(parsed)) weight = parsed;
|
|
4625
|
+
}
|
|
4626
|
+
}
|
|
4627
|
+
return { tag: tagPart?.trim() ?? "", weight, index };
|
|
4628
|
+
}).filter((item) => item.tag.length > 0 && item.weight > 0).sort((left, right) => right.weight - left.weight || left.index - right.index);
|
|
4629
|
+
for (const candidate of candidates) {
|
|
4630
|
+
const matched = parseLocale(candidate.tag);
|
|
4631
|
+
if (matched) return matched;
|
|
4632
|
+
}
|
|
4633
|
+
return fallback;
|
|
4634
|
+
}
|
|
4635
|
+
function resolveMessage(locale, key) {
|
|
4636
|
+
const def = getLocaleDefinition(locale);
|
|
4637
|
+
return def.messages[key] ?? EN[key];
|
|
4638
|
+
}
|
|
4639
|
+
function isKnownMessageKey(key) {
|
|
4640
|
+
return key in EN;
|
|
4641
|
+
}
|
|
4642
|
+
var ALL_MESSAGE_KEYS = Object.keys(EN);
|
|
4643
|
+
|
|
4644
|
+
// src/web/i18n.ts
|
|
4213
4645
|
function t(locale, key, values = {}) {
|
|
4214
|
-
const template = (locale
|
|
4646
|
+
const template = resolveMessage(locale, key);
|
|
4215
4647
|
return template.replace(/\{([a-zA-Z]+)\}/g, (_, name) => String(values[name] ?? `{${name}}`));
|
|
4216
4648
|
}
|
|
4217
4649
|
function statusText(locale, status) {
|
|
4218
4650
|
const key = `status.${status}`;
|
|
4219
|
-
return key
|
|
4651
|
+
return isKnownMessageKey(key) ? t(locale, key) : t(locale, "status.unknown");
|
|
4220
4652
|
}
|
|
4221
4653
|
function runStatusText(locale, status) {
|
|
4222
4654
|
const key = `runStatus.${status}`;
|
|
4223
|
-
return key
|
|
4655
|
+
return isKnownMessageKey(key) ? t(locale, key) : t(locale, "status.unknown");
|
|
4224
4656
|
}
|
|
4225
4657
|
function resolveEditedRunAt(originalEpoch, originalLocal, currentLocal) {
|
|
4226
4658
|
if (originalEpoch !== null && originalLocal === currentLocal) return originalEpoch;
|
|
@@ -4230,8 +4662,8 @@ function formatRelative(timestamp, locale) {
|
|
|
4230
4662
|
if (!timestamp) return "\u2014";
|
|
4231
4663
|
const deltaMs = timestamp - Date.now();
|
|
4232
4664
|
const abs = Math.abs(deltaMs);
|
|
4233
|
-
const
|
|
4234
|
-
const formatter = new Intl.RelativeTimeFormat(
|
|
4665
|
+
const { intlLocale } = getLocaleDefinition(locale);
|
|
4666
|
+
const formatter = new Intl.RelativeTimeFormat(intlLocale, { numeric: "auto" });
|
|
4235
4667
|
if (abs < 6e4) return formatter.format(Math.round(deltaMs / 1e3), "second");
|
|
4236
4668
|
if (abs < 36e5) return formatter.format(Math.round(deltaMs / 6e4), "minute");
|
|
4237
4669
|
if (abs < 864e5) return formatter.format(Math.round(deltaMs / 36e5), "hour");
|
|
@@ -4245,7 +4677,8 @@ function formatFuture(timestamp, locale) {
|
|
|
4245
4677
|
function formatDateTime(value, locale) {
|
|
4246
4678
|
if (!value) return "\u2014";
|
|
4247
4679
|
const date = value instanceof Date ? value : new Date(value);
|
|
4248
|
-
|
|
4680
|
+
const { intlLocale } = getLocaleDefinition(locale);
|
|
4681
|
+
return new Intl.DateTimeFormat(intlLocale, {
|
|
4249
4682
|
month: "short",
|
|
4250
4683
|
day: "2-digit",
|
|
4251
4684
|
hour: "2-digit",
|
|
@@ -4253,7 +4686,8 @@ function formatDateTime(value, locale) {
|
|
|
4253
4686
|
}).format(date);
|
|
4254
4687
|
}
|
|
4255
4688
|
function formatInterval(milliseconds, locale) {
|
|
4256
|
-
const
|
|
4689
|
+
const { intlLocale } = getLocaleDefinition(locale);
|
|
4690
|
+
const formatter = new Intl.NumberFormat(intlLocale, {
|
|
4257
4691
|
maximumFractionDigits: 1
|
|
4258
4692
|
});
|
|
4259
4693
|
if (milliseconds < 6e4) {
|
|
@@ -4286,7 +4720,7 @@ function formatCountdown(targetMs, locale) {
|
|
|
4286
4720
|
}
|
|
4287
4721
|
function clientMessages(locale) {
|
|
4288
4722
|
return Object.fromEntries(
|
|
4289
|
-
|
|
4723
|
+
ALL_MESSAGE_KEYS.map((key) => [key, t(locale, key)])
|
|
4290
4724
|
);
|
|
4291
4725
|
}
|
|
4292
4726
|
function esc(value) {
|
|
@@ -6890,10 +7324,9 @@ function buildI18nBundle(locale) {
|
|
|
6890
7324
|
url: `/assets/i18n-${locale}.js?v=${hash}`
|
|
6891
7325
|
};
|
|
6892
7326
|
}
|
|
6893
|
-
var I18N_BUNDLES =
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
};
|
|
7327
|
+
var I18N_BUNDLES = Object.fromEntries(
|
|
7328
|
+
SUPPORTED_LOCALES.map((locale) => [locale, buildI18nBundle(locale)])
|
|
7329
|
+
);
|
|
6897
7330
|
var CSS_HASH = hashContent(APP_CSS);
|
|
6898
7331
|
var JS_HASH = hashContent(APP_JS);
|
|
6899
7332
|
var CSS_URL = `/assets/app.css?v=${CSS_HASH}`;
|
|
@@ -7064,7 +7497,7 @@ function renderSidebarProjects(locale, activeTab, sidebar) {
|
|
|
7064
7497
|
function renderLayout(options) {
|
|
7065
7498
|
const { locale, activeTab, topbar, body, sidebar } = options;
|
|
7066
7499
|
const pageTitle = options.title || t(locale, PAGE_TITLE_KEYS[activeTab]);
|
|
7067
|
-
const language = locale
|
|
7500
|
+
const language = getLocaleDefinition(locale).htmlLang;
|
|
7068
7501
|
const runningCount = sidebar.overview.global.activeExecution;
|
|
7069
7502
|
const issueCount = sidebar.overview.global.failed + sidebar.overview.global.dead_letter;
|
|
7070
7503
|
const healthOk = sidebar.health.status === "ok";
|
|
@@ -7103,7 +7536,7 @@ function renderLayout(options) {
|
|
|
7103
7536
|
activeTab,
|
|
7104
7537
|
activeProject: sidebar.activeProject
|
|
7105
7538
|
}).replace(/</g, "\\u003c");
|
|
7106
|
-
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"><
|
|
7539
|
+
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>`;
|
|
7107
7540
|
}
|
|
7108
7541
|
function emptyState(title) {
|
|
7109
7542
|
return `<div class="empty-state"><div><div class="empty-icon">${icon("inbox")}</div><h3>${esc(title)}</h3></div></div>`;
|
|
@@ -7461,7 +7894,8 @@ function parseTaskPayload(value) {
|
|
|
7461
7894
|
urgency: integer("urgency", 3),
|
|
7462
7895
|
maxRetries: integer("maxRetries", 3),
|
|
7463
7896
|
retryBackoffMs: duration("retryBackoff", "30s", true),
|
|
7464
|
-
timeoutMs: duration("timeout", null)
|
|
7897
|
+
timeoutMs: duration("timeout", null),
|
|
7898
|
+
...Object.hasOwn(input, "metadata") ? { metadata: normalizeTaskMetadata(input.metadata) } : {}
|
|
7465
7899
|
};
|
|
7466
7900
|
}
|
|
7467
7901
|
function editableTaskPayload(input) {
|
|
@@ -7477,7 +7911,8 @@ function editableTaskPayload(input) {
|
|
|
7477
7911
|
urgency: input.urgency ?? 3,
|
|
7478
7912
|
maxRetries: input.maxRetries ?? 3,
|
|
7479
7913
|
retryBackoffMs: input.retryBackoffMs ?? 3e4,
|
|
7480
|
-
timeoutMs: input.timeoutMs ?? null
|
|
7914
|
+
timeoutMs: input.timeoutMs ?? null,
|
|
7915
|
+
...input.metadata === void 0 ? {} : { metadata: input.metadata }
|
|
7481
7916
|
};
|
|
7482
7917
|
}
|
|
7483
7918
|
function parseCloneOverrides(value) {
|
|
@@ -7540,6 +7975,9 @@ function parseCloneOverrides(value) {
|
|
|
7540
7975
|
if (Object.hasOwn(input, "timeout")) {
|
|
7541
7976
|
overrides.timeoutMs = duration("timeout", null);
|
|
7542
7977
|
}
|
|
7978
|
+
if (Object.hasOwn(input, "metadata")) {
|
|
7979
|
+
overrides.metadata = normalizeTaskMetadata(input.metadata);
|
|
7980
|
+
}
|
|
7543
7981
|
return overrides;
|
|
7544
7982
|
}
|
|
7545
7983
|
function parseTemplatePayload(value) {
|
|
@@ -7566,7 +8004,8 @@ function parseTemplatePayload(value) {
|
|
|
7566
8004
|
maxInstances: integer("maxInstances", 1),
|
|
7567
8005
|
maxRetries: integer("maxRetries", 3),
|
|
7568
8006
|
retryBackoffMs: duration("retryBackoff", "30s", true),
|
|
7569
|
-
timeoutMs: duration("timeout", null)
|
|
8007
|
+
timeoutMs: duration("timeout", null),
|
|
8008
|
+
...Object.hasOwn(input, "metadata") ? { metadata: normalizeTaskMetadata(input.metadata) } : {}
|
|
7570
8009
|
};
|
|
7571
8010
|
}
|
|
7572
8011
|
function parseIdArray(value) {
|
|
@@ -8134,19 +8573,18 @@ function parseRunStatus(value) {
|
|
|
8134
8573
|
return RUN_STATUSES.has(value) ? value : null;
|
|
8135
8574
|
}
|
|
8136
8575
|
function resolveLocale(c) {
|
|
8137
|
-
const requested = c.req.query("lang");
|
|
8138
|
-
if (requested
|
|
8576
|
+
const requested = parseLocale(c.req.query("lang"));
|
|
8577
|
+
if (requested) return requested;
|
|
8139
8578
|
const cookie = c.req.header("Cookie") ?? "";
|
|
8140
8579
|
const match2 = /(?:^|;\s*)supertask_locale=([^;]+)/.exec(cookie);
|
|
8141
8580
|
if (match2) {
|
|
8142
8581
|
try {
|
|
8143
|
-
const saved = decodeURIComponent(match2[1]);
|
|
8144
|
-
if (saved
|
|
8582
|
+
const saved = parseLocale(decodeURIComponent(match2[1]));
|
|
8583
|
+
if (saved) return saved;
|
|
8145
8584
|
} catch {
|
|
8146
8585
|
}
|
|
8147
8586
|
}
|
|
8148
|
-
|
|
8149
|
-
return accepted.startsWith("en") ? "en" : "zh-CN";
|
|
8587
|
+
return negotiateLocale(c.req.header("Accept-Language"));
|
|
8150
8588
|
}
|
|
8151
8589
|
function listChildDirectories(path) {
|
|
8152
8590
|
return readdirSync(path, { withFileTypes: true }).flatMap((entry) => {
|
|
@@ -8289,10 +8727,28 @@ app.use("/api/*", async (c, next) => {
|
|
|
8289
8727
|
}
|
|
8290
8728
|
return next();
|
|
8291
8729
|
});
|
|
8730
|
+
function isValidApiBearerToken(headerValue, expected) {
|
|
8731
|
+
if (!headerValue) return false;
|
|
8732
|
+
const match2 = /^Bearer\s+(.+)$/i.exec(headerValue.trim());
|
|
8733
|
+
if (!match2) return false;
|
|
8734
|
+
const provided = Buffer.from(match2[1], "utf8");
|
|
8735
|
+
const target = Buffer.from(expected, "utf8");
|
|
8736
|
+
if (provided.length !== target.length) return false;
|
|
8737
|
+
return timingSafeEqual(provided, target);
|
|
8738
|
+
}
|
|
8739
|
+
app.use("/api/*", async (c, next) => {
|
|
8740
|
+
const configured = process.env.SUPERTASK_API_TOKEN?.trim();
|
|
8741
|
+
if (!configured) return next();
|
|
8742
|
+
if (!isValidApiBearerToken(c.req.header("Authorization"), configured)) {
|
|
8743
|
+
return c.json({ error: "Unauthorized" }, 401);
|
|
8744
|
+
}
|
|
8745
|
+
return next();
|
|
8746
|
+
});
|
|
8292
8747
|
app.get("/assets/app.css", (c) => serveAppCss(c));
|
|
8293
8748
|
app.get("/assets/app.js", (c) => serveAppJs(c));
|
|
8294
|
-
|
|
8295
|
-
app.get(
|
|
8749
|
+
for (const locale of SUPPORTED_LOCALES) {
|
|
8750
|
+
app.get(`/assets/i18n-${locale}.js`, (c) => serveI18nJs(c, locale));
|
|
8751
|
+
}
|
|
8296
8752
|
app.get("/health", (c) => {
|
|
8297
8753
|
const health = getGatewayHealth();
|
|
8298
8754
|
return c.json(health, health.status === "ok" ? 200 : 503);
|
|
@@ -8304,6 +8760,7 @@ app.post("/api/internal/wake", async (c) => {
|
|
|
8304
8760
|
return c.body(null, 204);
|
|
8305
8761
|
});
|
|
8306
8762
|
app.get("/api/events", (c) => {
|
|
8763
|
+
const scopeCwd = c.req.query("cwd")?.trim() || "";
|
|
8307
8764
|
const encoder = new TextEncoder();
|
|
8308
8765
|
let cleanup = null;
|
|
8309
8766
|
const stream = new ReadableStream({
|
|
@@ -8318,6 +8775,10 @@ app.get("/api/events", (c) => {
|
|
|
8318
8775
|
}
|
|
8319
8776
|
};
|
|
8320
8777
|
const unsubscribe = gatewayEvents.subscribe((event) => {
|
|
8778
|
+
if (scopeCwd) {
|
|
8779
|
+
const eventCwd = "cwd" in event ? event.cwd : void 0;
|
|
8780
|
+
if (eventCwd !== void 0 && eventCwd !== scopeCwd) return;
|
|
8781
|
+
}
|
|
8321
8782
|
safeEnqueue(formatSseFrame(event.type, event));
|
|
8322
8783
|
}, { excludeRunLogs: true });
|
|
8323
8784
|
const keepalive = setInterval(() => {
|
|
@@ -8678,12 +9139,28 @@ app.get("/api/tasks", async (c) => {
|
|
|
8678
9139
|
TaskService.listCompact(listOptions),
|
|
8679
9140
|
countFilteredTasks(listOptions)
|
|
8680
9141
|
]);
|
|
8681
|
-
const
|
|
9142
|
+
const taskIds = tasks.map((task) => task.id);
|
|
9143
|
+
const latestRuns = await TaskRunService.getLatestMetaByTaskIds(taskIds);
|
|
9144
|
+
const runCountMap = /* @__PURE__ */ new Map();
|
|
9145
|
+
if (taskIds.length > 0) {
|
|
9146
|
+
const placeholders = taskIds.map(() => "?").join(",");
|
|
9147
|
+
const countRows = sqlite.prepare(
|
|
9148
|
+
`SELECT task_id AS taskId, COUNT(*) AS cnt FROM task_runs WHERE task_id IN (${placeholders}) GROUP BY task_id`
|
|
9149
|
+
).all(...taskIds);
|
|
9150
|
+
for (const row of countRows) {
|
|
9151
|
+
runCountMap.set(Number(row.taskId), Number(row.cnt));
|
|
9152
|
+
}
|
|
9153
|
+
}
|
|
8682
9154
|
return c.json({
|
|
8683
9155
|
tasks: tasks.map((task) => {
|
|
8684
9156
|
const run = latestRuns.get(task.id);
|
|
9157
|
+
const runCount = runCountMap.get(task.id) ?? 0;
|
|
9158
|
+
const actualRetries = Math.max(0, runCount - 1);
|
|
9159
|
+
const displayStatus = task.status === "cancelled" && run?.status === "running" ? "cancelling" : task.status ?? "pending";
|
|
8685
9160
|
return {
|
|
8686
9161
|
...task,
|
|
9162
|
+
actualRetries,
|
|
9163
|
+
displayStatus,
|
|
8687
9164
|
latestRun: run ? {
|
|
8688
9165
|
id: run.id,
|
|
8689
9166
|
status: run.status,
|
|
@@ -8702,6 +9179,98 @@ app.get("/api/tasks", async (c) => {
|
|
|
8702
9179
|
totalPages: Math.max(1, Math.ceil(total / parsedLimit))
|
|
8703
9180
|
});
|
|
8704
9181
|
});
|
|
9182
|
+
app.get("/api/stats", (c) => {
|
|
9183
|
+
const cwd = c.req.query("cwd")?.trim() || "";
|
|
9184
|
+
const params = cwd ? [cwd] : [];
|
|
9185
|
+
const whereClause = cwd ? "WHERE cwd = ?" : "";
|
|
9186
|
+
const andClause = cwd ? "AND cwd = ?" : "";
|
|
9187
|
+
const joinAndClause = cwd ? "AND t.cwd = ?" : "";
|
|
9188
|
+
const byStatus = {};
|
|
9189
|
+
let total = 0;
|
|
9190
|
+
const statusRows = sqlite.prepare(
|
|
9191
|
+
`SELECT status, COUNT(*) AS c FROM tasks ${whereClause} GROUP BY status`
|
|
9192
|
+
).all(...params);
|
|
9193
|
+
for (const row of statusRows) {
|
|
9194
|
+
const count = Number(row.c ?? 0);
|
|
9195
|
+
byStatus[String(row.status ?? "pending")] = count;
|
|
9196
|
+
total += count;
|
|
9197
|
+
}
|
|
9198
|
+
const avgRow = sqlite.prepare(
|
|
9199
|
+
`SELECT AVG((finished_at - started_at) * 1000) AS ms FROM tasks WHERE started_at > 0 AND finished_at > started_at ${andClause}`
|
|
9200
|
+
).get(...params);
|
|
9201
|
+
const runRows = sqlite.prepare(
|
|
9202
|
+
`SELECT r.started_at AS startedAt, r.finished_at AS finishedAt, r.status AS status
|
|
9203
|
+
FROM task_runs r JOIN tasks t ON t.id = r.task_id
|
|
9204
|
+
WHERE r.started_at > 0 ${joinAndClause}
|
|
9205
|
+
ORDER BY r.started_at ASC, r.id ASC`
|
|
9206
|
+
).all(...params);
|
|
9207
|
+
const points = [];
|
|
9208
|
+
const nowMs = Date.now();
|
|
9209
|
+
for (const row of runRows) {
|
|
9210
|
+
const s = Number(row.startedAt) * 1e3;
|
|
9211
|
+
const finished = row.finishedAt ? Number(row.finishedAt) * 1e3 : 0;
|
|
9212
|
+
const end = finished || (row.status === "running" ? nowMs : s);
|
|
9213
|
+
points.push({ t: s, delta: 1 });
|
|
9214
|
+
points.push({ t: Math.max(s + 1, end), delta: -1 });
|
|
9215
|
+
}
|
|
9216
|
+
points.sort((a, b) => a.t - b.t || a.delta - b.delta);
|
|
9217
|
+
let cur = 0;
|
|
9218
|
+
let peakConcurrency = 0;
|
|
9219
|
+
for (const point of points) {
|
|
9220
|
+
cur += point.delta;
|
|
9221
|
+
if (cur > peakConcurrency) peakConcurrency = cur;
|
|
9222
|
+
}
|
|
9223
|
+
const runningRow = sqlite.prepare(
|
|
9224
|
+
`SELECT COUNT(*) AS c FROM task_runs r JOIN tasks t ON t.id = r.task_id WHERE r.status = 'running' ${joinAndClause}`
|
|
9225
|
+
).get(...params);
|
|
9226
|
+
return c.json({
|
|
9227
|
+
byStatus,
|
|
9228
|
+
total,
|
|
9229
|
+
running: Number(runningRow?.c ?? 0),
|
|
9230
|
+
peakConcurrency,
|
|
9231
|
+
avgDurationMs: Math.round(Number(avgRow?.ms ?? 0))
|
|
9232
|
+
});
|
|
9233
|
+
});
|
|
9234
|
+
app.get("/api/runs/by-session/:sessionId", (c) => {
|
|
9235
|
+
const sessionId = c.req.param("sessionId")?.trim() || "";
|
|
9236
|
+
if (!isValidSessionId(sessionId)) {
|
|
9237
|
+
return c.json({ error: "invalid sessionId" }, 400);
|
|
9238
|
+
}
|
|
9239
|
+
const row = sqlite.prepare(
|
|
9240
|
+
`SELECT r.id AS runId, r.task_id AS taskId, r.status AS runStatus,
|
|
9241
|
+
t.template_id AS templateId, t.cwd AS cwd, t.metadata AS metadata, t.status AS taskStatus
|
|
9242
|
+
FROM task_runs r
|
|
9243
|
+
JOIN tasks t ON t.id = r.task_id
|
|
9244
|
+
WHERE r.session_id = ?
|
|
9245
|
+
ORDER BY r.id DESC
|
|
9246
|
+
LIMIT 1`
|
|
9247
|
+
).get(sessionId);
|
|
9248
|
+
if (!row) return c.json({ error: "not found" }, 404);
|
|
9249
|
+
const templateId = row.templateId != null && Number(row.templateId) > 0 ? Number(row.templateId) : null;
|
|
9250
|
+
return c.json({
|
|
9251
|
+
runId: Number(row.runId),
|
|
9252
|
+
taskId: Number(row.taskId),
|
|
9253
|
+
templateId,
|
|
9254
|
+
cwd: row.cwd ?? null,
|
|
9255
|
+
metadata: parseTaskMetadata(row.metadata),
|
|
9256
|
+
status: row.taskStatus ?? row.runStatus ?? "running"
|
|
9257
|
+
});
|
|
9258
|
+
});
|
|
9259
|
+
app.get("/api/templates", async (c) => {
|
|
9260
|
+
const cwd = c.req.query("cwd")?.trim() || void 0;
|
|
9261
|
+
const enabledParam = c.req.query("enabled");
|
|
9262
|
+
let enabled;
|
|
9263
|
+
if (enabledParam === "true" || enabledParam === "1") enabled = true;
|
|
9264
|
+
else if (enabledParam === "false" || enabledParam === "0") enabled = false;
|
|
9265
|
+
else if (enabledParam !== void 0 && enabledParam !== "") {
|
|
9266
|
+
return c.json({ error: "invalid enabled filter" }, 400);
|
|
9267
|
+
}
|
|
9268
|
+
const limitParam = c.req.query("limit") || "200";
|
|
9269
|
+
const limit = parsePositiveInteger(limitParam);
|
|
9270
|
+
if (limit === null || limit > 500) return c.json({ error: "invalid limit" }, 400);
|
|
9271
|
+
const templates = await TaskTemplateService.listFiltered({ cwd, enabled, limit });
|
|
9272
|
+
return c.json({ templates });
|
|
9273
|
+
});
|
|
8705
9274
|
app.post("/api/tasks", async (c) => {
|
|
8706
9275
|
try {
|
|
8707
9276
|
const task = await TaskService.add(parseTaskPayload(await c.req.json()));
|
|
@@ -9400,4 +9969,4 @@ export {
|
|
|
9400
9969
|
sessionCommand,
|
|
9401
9970
|
setDashboardRuntimeConfig
|
|
9402
9971
|
};
|
|
9403
|
-
//# sourceMappingURL=web-
|
|
9972
|
+
//# sourceMappingURL=web-TQO6JLBN.js.map
|