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