opencode-supertask 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/cli/{gateway-HNMX5ZTO.js → gateway-BYLLK72W.js} +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/cli/{web-2S7DW7XA.js → web-J3FJ23FE.js} +1107 -677
- package/dist/cli/web-J3FJ23FE.js.map +1 -0
- package/dist/gateway/index.js +1216 -759
- package/dist/gateway/index.js.map +1 -1
- package/dist/web/index.js +1106 -676
- package/dist/web/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/cli/web-2S7DW7XA.js.map +0 -1
- /package/dist/cli/{gateway-HNMX5ZTO.js.map → gateway-BYLLK72W.js.map} +0 -0
package/dist/web/index.js
CHANGED
|
@@ -20625,36 +20625,28 @@ code, pre, .mono, .m {
|
|
|
20625
20625
|
align-items: center;
|
|
20626
20626
|
gap: 6px;
|
|
20627
20627
|
}
|
|
20628
|
-
.
|
|
20629
|
-
display: inline-flex;
|
|
20630
|
-
padding: 2px;
|
|
20631
|
-
border: 1px solid var(--border);
|
|
20632
|
-
border-radius: var(--radius-sm);
|
|
20633
|
-
background: var(--surface);
|
|
20634
|
-
}
|
|
20635
|
-
.lang-switch button {
|
|
20636
|
-
height: 24px; min-width: 28px; padding: 0 6px;
|
|
20637
|
-
border: 0; border-radius: 5px; background: transparent;
|
|
20638
|
-
color: var(--text-3); font-size: 11px; font-weight: 650; cursor: pointer;
|
|
20639
|
-
}
|
|
20640
|
-
.lang-switch button.active { background: var(--surface-3); color: var(--text); }
|
|
20641
|
-
.theme-select-wrap {
|
|
20628
|
+
.sidebar-select-wrap {
|
|
20642
20629
|
position: relative;
|
|
20643
20630
|
flex: 1;
|
|
20644
20631
|
min-width: 0;
|
|
20645
20632
|
display: flex;
|
|
20646
20633
|
align-items: center;
|
|
20647
20634
|
}
|
|
20648
|
-
.
|
|
20635
|
+
.sidebar-select-wrap .icon {
|
|
20649
20636
|
position: absolute; left: 8px; width: 13px; height: 13px;
|
|
20650
20637
|
color: var(--text-3); pointer-events: none;
|
|
20651
20638
|
}
|
|
20652
|
-
.
|
|
20639
|
+
.sidebar-select-wrap select {
|
|
20653
20640
|
width: 100%; height: 28px;
|
|
20654
|
-
padding: 0
|
|
20641
|
+
padding: 0 18px 0 25px;
|
|
20655
20642
|
border: 1px solid var(--border); border-radius: var(--radius-sm);
|
|
20656
20643
|
background: var(--surface); color: var(--text-2);
|
|
20657
20644
|
font-size: 11.5px; appearance: none; cursor: pointer;
|
|
20645
|
+
text-overflow: ellipsis;
|
|
20646
|
+
}
|
|
20647
|
+
.sidebar-select-wrap select:hover {
|
|
20648
|
+
border-color: var(--border-strong);
|
|
20649
|
+
color: var(--text);
|
|
20658
20650
|
}
|
|
20659
20651
|
|
|
20660
20652
|
/* Main area */
|
|
@@ -21455,702 +21447,1139 @@ dialog::backdrop { background: rgba(8, 12, 20, 0.56); backdrop-filter: blur(2px)
|
|
|
21455
21447
|
}
|
|
21456
21448
|
`.trim();
|
|
21457
21449
|
|
|
21458
|
-
// src/web/
|
|
21459
|
-
var
|
|
21450
|
+
// src/web/locales/en.ts
|
|
21451
|
+
var EN = {
|
|
21460
21452
|
"app.name": "SuperTask",
|
|
21461
|
-
"app.local": "
|
|
21462
|
-
"nav.tasks": "
|
|
21463
|
-
"nav.templates": "
|
|
21464
|
-
"nav.runs": "
|
|
21465
|
-
"nav.system": "
|
|
21466
|
-
"page.tasks.title": "
|
|
21467
|
-
"page.templates.title": "
|
|
21468
|
-
"page.runs.title": "
|
|
21469
|
-
"page.system.title": "
|
|
21470
|
-
"theme.label": "
|
|
21471
|
-
"theme.system": "
|
|
21472
|
-
"theme.light": "
|
|
21473
|
-
"theme.dark": "
|
|
21474
|
-
"language.label": "
|
|
21475
|
-
"action.refresh": "
|
|
21476
|
-
"action.createTask": "
|
|
21477
|
-
"action.createTemplate": "
|
|
21478
|
-
"action.saveTask": "
|
|
21479
|
-
"action.updateTask": "
|
|
21480
|
-
"action.saveTemplate": "
|
|
21481
|
-
"action.edit": "
|
|
21482
|
-
"action.clone": "
|
|
21483
|
-
"action.details": "
|
|
21484
|
-
"action.retry": "
|
|
21485
|
-
"action.cancel": "
|
|
21486
|
-
"action.delete": "
|
|
21487
|
-
"action.trigger": "
|
|
21488
|
-
"action.enable": "
|
|
21489
|
-
"action.disable": "
|
|
21490
|
-
"action.logs": "
|
|
21491
|
-
"action.hideLogs": "
|
|
21492
|
-
"action.save": "
|
|
21493
|
-
"action.saveAndRestart": "
|
|
21494
|
-
"action.clearDatabase": "
|
|
21495
|
-
"action.copy": "
|
|
21496
|
-
"action.copyCommand": "
|
|
21497
|
-
"action.continueSession": "
|
|
21498
|
-
"action.chooseFolder": "
|
|
21499
|
-
"action.home": "
|
|
21500
|
-
"action.up": "
|
|
21501
|
-
"action.showHidden": "
|
|
21502
|
-
"action.hideHidden": "
|
|
21503
|
-
"action.chooseThisFolder": "
|
|
21504
|
-
"action.close": "
|
|
21505
|
-
"action.confirm": "
|
|
21506
|
-
"action.clearSelection": "
|
|
21507
|
-
"action.viewTasks": "
|
|
21508
|
-
"action.more": "
|
|
21509
|
-
"action.selectAll": "
|
|
21510
|
-
"action.openMenu": "
|
|
21511
|
-
"filter.all": "
|
|
21512
|
-
"filter.searchTasks": "
|
|
21513
|
-
"filter.allAgents": "
|
|
21514
|
-
"filter.allBatches": "
|
|
21515
|
-
"filter.noResults": "
|
|
21516
|
-
"filter.templateScope": "
|
|
21517
|
-
"filter.clearFilter": "
|
|
21518
|
-
"projects.title": "
|
|
21519
|
-
"projects.all": "
|
|
21520
|
-
"projects.legacy": "
|
|
21521
|
-
"projects.counts": "
|
|
21453
|
+
"app.local": "Local",
|
|
21454
|
+
"nav.tasks": "Tasks",
|
|
21455
|
+
"nav.templates": "Schedules",
|
|
21456
|
+
"nav.runs": "Runs",
|
|
21457
|
+
"nav.system": "System",
|
|
21458
|
+
"page.tasks.title": "Task queue",
|
|
21459
|
+
"page.templates.title": "Scheduled tasks",
|
|
21460
|
+
"page.runs.title": "Execution runs",
|
|
21461
|
+
"page.system.title": "System",
|
|
21462
|
+
"theme.label": "Theme",
|
|
21463
|
+
"theme.system": "System",
|
|
21464
|
+
"theme.light": "Light",
|
|
21465
|
+
"theme.dark": "Dark",
|
|
21466
|
+
"language.label": "Language",
|
|
21467
|
+
"action.refresh": "Refresh",
|
|
21468
|
+
"action.createTask": "New task",
|
|
21469
|
+
"action.createTemplate": "New schedule",
|
|
21470
|
+
"action.saveTask": "Enqueue",
|
|
21471
|
+
"action.updateTask": "Save",
|
|
21472
|
+
"action.saveTemplate": "Save",
|
|
21473
|
+
"action.edit": "Edit",
|
|
21474
|
+
"action.clone": "Clone",
|
|
21475
|
+
"action.details": "Inspect",
|
|
21476
|
+
"action.retry": "Retry",
|
|
21477
|
+
"action.cancel": "Cancel",
|
|
21478
|
+
"action.delete": "Delete",
|
|
21479
|
+
"action.trigger": "Run now",
|
|
21480
|
+
"action.enable": "Enable",
|
|
21481
|
+
"action.disable": "Disable",
|
|
21482
|
+
"action.logs": "Logs",
|
|
21483
|
+
"action.hideLogs": "Hide",
|
|
21484
|
+
"action.save": "Save config",
|
|
21485
|
+
"action.saveAndRestart": "Save & restart",
|
|
21486
|
+
"action.clearDatabase": "Clear data",
|
|
21487
|
+
"action.copy": "Copy",
|
|
21488
|
+
"action.copyCommand": "Copy command",
|
|
21489
|
+
"action.continueSession": "Resume",
|
|
21490
|
+
"action.chooseFolder": "Browse",
|
|
21491
|
+
"action.home": "Home",
|
|
21492
|
+
"action.up": "Up",
|
|
21493
|
+
"action.showHidden": "Show hidden",
|
|
21494
|
+
"action.hideHidden": "Hide dotfiles",
|
|
21495
|
+
"action.chooseThisFolder": "Select folder",
|
|
21496
|
+
"action.close": "Close",
|
|
21497
|
+
"action.confirm": "Confirm",
|
|
21498
|
+
"action.clearSelection": "Clear",
|
|
21499
|
+
"action.viewTasks": "View tasks",
|
|
21500
|
+
"action.more": "More",
|
|
21501
|
+
"action.selectAll": "Select all",
|
|
21502
|
+
"action.openMenu": "Menu",
|
|
21503
|
+
"filter.all": "All",
|
|
21504
|
+
"filter.searchTasks": "Search tasks, batch, or #ID\u2026",
|
|
21505
|
+
"filter.allAgents": "All agents",
|
|
21506
|
+
"filter.allBatches": "All batches",
|
|
21507
|
+
"filter.noResults": "No matching tasks",
|
|
21508
|
+
"filter.templateScope": "Template #{id}",
|
|
21509
|
+
"filter.clearFilter": "Clear",
|
|
21510
|
+
"projects.title": "Projects",
|
|
21511
|
+
"projects.all": "All projects",
|
|
21512
|
+
"projects.legacy": "Ungrouped",
|
|
21513
|
+
"projects.counts": "{running} running \xB7 {pending} queued \xB7 {failed} issues",
|
|
21522
21514
|
"projects.successRate": "{rate}%",
|
|
21523
|
-
"
|
|
21524
|
-
"stats.
|
|
21525
|
-
"stats.
|
|
21526
|
-
"stats.
|
|
21527
|
-
"stats.
|
|
21528
|
-
"stats.
|
|
21529
|
-
"stats.
|
|
21530
|
-
"stats.
|
|
21531
|
-
"stats.
|
|
21532
|
-
"stats.
|
|
21533
|
-
"stats.
|
|
21515
|
+
"projects.rate7d": "7d success rate",
|
|
21516
|
+
"stats.pending": "Queued",
|
|
21517
|
+
"stats.running": "Running",
|
|
21518
|
+
"stats.done": "Done",
|
|
21519
|
+
"stats.failedDead": "Issues",
|
|
21520
|
+
"stats.templates": "Total",
|
|
21521
|
+
"stats.enabled": "Enabled",
|
|
21522
|
+
"stats.disabled": "Disabled",
|
|
21523
|
+
"stats.records": "Total",
|
|
21524
|
+
"stats.pageDone": "Done",
|
|
21525
|
+
"stats.pageFailed": "Failed",
|
|
21526
|
+
"stats.pageRunning": "Running",
|
|
21534
21527
|
"table.id": "ID",
|
|
21535
|
-
"table.task": "
|
|
21536
|
-
"table.name": "
|
|
21528
|
+
"table.task": "Task",
|
|
21529
|
+
"table.name": "Name",
|
|
21537
21530
|
"table.agent": "Agent",
|
|
21538
|
-
"table.model": "
|
|
21539
|
-
"table.status": "
|
|
21540
|
-
"table.duration": "
|
|
21541
|
-
"table.retries": "
|
|
21542
|
-
"table.actions": "
|
|
21543
|
-
"table.type": "
|
|
21544
|
-
"table.rule": "
|
|
21545
|
-
"table.lastRun": "
|
|
21546
|
-
"table.nextRun": "
|
|
21547
|
-
"table.run": "
|
|
21548
|
-
"table.session": "
|
|
21549
|
-
"table.heartbeat": "
|
|
21550
|
-
"table.startedAt": "
|
|
21551
|
-
"table.pid": "
|
|
21552
|
-
"
|
|
21553
|
-
"status.
|
|
21554
|
-
"status.
|
|
21555
|
-
"status.
|
|
21556
|
-
"status.
|
|
21557
|
-
"status.
|
|
21558
|
-
"status.
|
|
21559
|
-
"status.
|
|
21560
|
-
"status.
|
|
21561
|
-
"status.
|
|
21562
|
-
"status.
|
|
21563
|
-
"
|
|
21564
|
-
"runStatus.
|
|
21565
|
-
"runStatus.
|
|
21531
|
+
"table.model": "Model",
|
|
21532
|
+
"table.status": "Status",
|
|
21533
|
+
"table.duration": "Duration",
|
|
21534
|
+
"table.retries": "Retries",
|
|
21535
|
+
"table.actions": "Actions",
|
|
21536
|
+
"table.type": "Type",
|
|
21537
|
+
"table.rule": "Rule",
|
|
21538
|
+
"table.lastRun": "Last run",
|
|
21539
|
+
"table.nextRun": "Next run",
|
|
21540
|
+
"table.run": "Run",
|
|
21541
|
+
"table.session": "Session",
|
|
21542
|
+
"table.heartbeat": "Heartbeat",
|
|
21543
|
+
"table.startedAt": "Started",
|
|
21544
|
+
"table.pid": "PID",
|
|
21545
|
+
"table.pidTooltip": "Worker \u203A Guardian",
|
|
21546
|
+
"status.pending": "Queued",
|
|
21547
|
+
"status.running": "Running",
|
|
21548
|
+
"status.done": "Done",
|
|
21549
|
+
"status.failed": "Retrying",
|
|
21550
|
+
"status.dead_letter": "Stopped",
|
|
21551
|
+
"status.cancelled": "Cancelled",
|
|
21552
|
+
"status.unknown": "Unknown",
|
|
21553
|
+
"status.executionStillActive": "Stopping",
|
|
21554
|
+
"status.waitingDep": "Wait #{id}",
|
|
21555
|
+
"status.batchBusy": "Batch busy",
|
|
21556
|
+
"status.retryIn": "Retry in {duration}",
|
|
21557
|
+
"runStatus.running": "Running",
|
|
21558
|
+
"runStatus.done": "Done",
|
|
21559
|
+
"runStatus.failed": "Failed",
|
|
21566
21560
|
"schedule.cron": "Cron",
|
|
21567
|
-
"schedule.recurring": "
|
|
21568
|
-
"schedule.delayed": "
|
|
21569
|
-
"schedule.unknown": "
|
|
21570
|
-
"schedule.enabled": "
|
|
21571
|
-
"schedule.disabled": "
|
|
21572
|
-
"schedule.overdue": "
|
|
21573
|
-
"schedule.seconds": "{count}
|
|
21574
|
-
"schedule.minutes": "{count}
|
|
21575
|
-
"schedule.hours": "{count}
|
|
21576
|
-
"schedule.days": "{count}
|
|
21577
|
-
"schedule.cronPreset.hourly": "
|
|
21578
|
-
"schedule.cronPreset.daily9": "
|
|
21579
|
-
"schedule.cronPreset.weekday9": "
|
|
21580
|
-
"schedule.cronPreset.weeklyMon": "
|
|
21581
|
-
"duration.seconds": "
|
|
21582
|
-
"duration.minutes": "
|
|
21583
|
-
"duration.hours": "
|
|
21584
|
-
"duration.days": "
|
|
21585
|
-
"duration.every": "
|
|
21586
|
-
"duration.immediate": "
|
|
21587
|
-
"duration.systemDefault": "
|
|
21588
|
-
"duration.custom": "
|
|
21589
|
-
"duration.unit": "
|
|
21590
|
-
"pagination.previous": "
|
|
21591
|
-
"pagination.next": "
|
|
21592
|
-
"pagination.summary": "{page} / {pages} \xB7
|
|
21593
|
-
"empty.tasks": "
|
|
21594
|
-
"empty.templates": "
|
|
21595
|
-
"empty.runs": "
|
|
21596
|
-
"empty.running": "
|
|
21597
|
-
"task.createTitle": "
|
|
21598
|
-
"task.editTitle": "
|
|
21599
|
-
"task.projectExisting": "
|
|
21600
|
-
"task.projectNew": "
|
|
21601
|
-
"template.createTitle": "
|
|
21602
|
-
"template.editTitle": "
|
|
21603
|
-
"template.name": "
|
|
21604
|
-
"template.cwd": "
|
|
21605
|
-
"template.agent": "Agent",
|
|
21606
|
-
"template.model": "
|
|
21561
|
+
"schedule.recurring": "Recurring",
|
|
21562
|
+
"schedule.delayed": "One-off",
|
|
21563
|
+
"schedule.unknown": "Unknown",
|
|
21564
|
+
"schedule.enabled": "Enabled",
|
|
21565
|
+
"schedule.disabled": "Disabled",
|
|
21566
|
+
"schedule.overdue": "Due now",
|
|
21567
|
+
"schedule.seconds": "{count}s",
|
|
21568
|
+
"schedule.minutes": "{count}m",
|
|
21569
|
+
"schedule.hours": "{count}h",
|
|
21570
|
+
"schedule.days": "{count}d",
|
|
21571
|
+
"schedule.cronPreset.hourly": "Hourly",
|
|
21572
|
+
"schedule.cronPreset.daily9": "Daily 09:00",
|
|
21573
|
+
"schedule.cronPreset.weekday9": "Weekdays 09:00",
|
|
21574
|
+
"schedule.cronPreset.weeklyMon": "Mon 09:00",
|
|
21575
|
+
"duration.seconds": "s",
|
|
21576
|
+
"duration.minutes": "min",
|
|
21577
|
+
"duration.hours": "h",
|
|
21578
|
+
"duration.days": "d",
|
|
21579
|
+
"duration.every": "Every {duration}",
|
|
21580
|
+
"duration.immediate": "Immediate",
|
|
21581
|
+
"duration.systemDefault": "Default",
|
|
21582
|
+
"duration.custom": "Custom",
|
|
21583
|
+
"duration.unit": "Unit",
|
|
21584
|
+
"pagination.previous": "Prev",
|
|
21585
|
+
"pagination.next": "Next",
|
|
21586
|
+
"pagination.summary": "{page} / {pages} \xB7 {total} total",
|
|
21587
|
+
"empty.tasks": "No tasks",
|
|
21588
|
+
"empty.templates": "No schedules",
|
|
21589
|
+
"empty.runs": "No runs",
|
|
21590
|
+
"empty.running": "No active runs",
|
|
21591
|
+
"task.createTitle": "New task",
|
|
21592
|
+
"task.editTitle": "Edit task",
|
|
21593
|
+
"task.projectExisting": "{running} running \xB7 {pending} queued \xB7 {failed} issues",
|
|
21594
|
+
"task.projectNew": "New project directory",
|
|
21595
|
+
"template.createTitle": "New schedule",
|
|
21596
|
+
"template.editTitle": "Edit schedule",
|
|
21597
|
+
"template.name": "Name",
|
|
21598
|
+
"template.cwd": "Project directory",
|
|
21599
|
+
"template.agent": "Agent",
|
|
21600
|
+
"template.model": "Model",
|
|
21607
21601
|
"template.variant": "Variant",
|
|
21608
|
-
"template.prompt": "
|
|
21609
|
-
"template.dependsOn": "
|
|
21610
|
-
"template.dependsOnNone": "
|
|
21611
|
-
"template.scheduleType": "
|
|
21612
|
-
"template.cronExpr": "Cron
|
|
21613
|
-
"template.interval": "
|
|
21614
|
-
"template.runAt": "
|
|
21615
|
-
"template.advanced": "
|
|
21616
|
-
"template.category": "
|
|
21617
|
-
"template.batchId": "
|
|
21618
|
-
"template.importance": "
|
|
21619
|
-
"template.urgency": "
|
|
21620
|
-
"template.maxInstances": "
|
|
21621
|
-
"template.maxRetries": "
|
|
21622
|
-
"template.retryBackoff": "
|
|
21623
|
-
"template.timeout": "
|
|
21624
|
-
"catalog.chooseProject": "
|
|
21625
|
-
"catalog.defaultProvider": "
|
|
21626
|
-
"catalog.defaultModel": "
|
|
21627
|
-
"catalog.defaultVariant": "
|
|
21628
|
-
"catalog.loading": "\
|
|
21629
|
-
"catalog.loaded": "{agents}
|
|
21630
|
-
"catalog.failed": "
|
|
21631
|
-
"catalog.primary": "
|
|
21632
|
-
"catalog.subagent": "
|
|
21633
|
-
"catalog.all": "
|
|
21634
|
-
"directory.title": "
|
|
21635
|
-
"directory.empty": "
|
|
21602
|
+
"template.prompt": "Prompt",
|
|
21603
|
+
"template.dependsOn": "Depends on",
|
|
21604
|
+
"template.dependsOnNone": "None",
|
|
21605
|
+
"template.scheduleType": "Schedule type",
|
|
21606
|
+
"template.cronExpr": "Cron expression",
|
|
21607
|
+
"template.interval": "Interval",
|
|
21608
|
+
"template.runAt": "Run at",
|
|
21609
|
+
"template.advanced": "Advanced",
|
|
21610
|
+
"template.category": "Category",
|
|
21611
|
+
"template.batchId": "Batch",
|
|
21612
|
+
"template.importance": "Importance",
|
|
21613
|
+
"template.urgency": "Urgency",
|
|
21614
|
+
"template.maxInstances": "Max instances",
|
|
21615
|
+
"template.maxRetries": "Max retries",
|
|
21616
|
+
"template.retryBackoff": "Retry backoff",
|
|
21617
|
+
"template.timeout": "Timeout",
|
|
21618
|
+
"catalog.chooseProject": "Select directory first",
|
|
21619
|
+
"catalog.defaultProvider": "Default",
|
|
21620
|
+
"catalog.defaultModel": "Default model",
|
|
21621
|
+
"catalog.defaultVariant": "Default",
|
|
21622
|
+
"catalog.loading": "Loading catalog\u2026",
|
|
21623
|
+
"catalog.loaded": "{agents} agents \xB7 {models} models",
|
|
21624
|
+
"catalog.failed": "Failed: {error}",
|
|
21625
|
+
"catalog.primary": "primary",
|
|
21626
|
+
"catalog.subagent": "subagent",
|
|
21627
|
+
"catalog.all": "all",
|
|
21628
|
+
"directory.title": "Select project directory",
|
|
21629
|
+
"directory.empty": "No subdirectories",
|
|
21636
21630
|
"system.worker": "Worker",
|
|
21637
21631
|
"system.scheduler": "Scheduler",
|
|
21638
21632
|
"system.watchdog": "Watchdog",
|
|
21639
|
-
"system.watchdogCleanup": "
|
|
21640
|
-
"system.health": "
|
|
21641
|
-
"system.healthy": "
|
|
21642
|
-
"system.degraded": "
|
|
21643
|
-
"system.reconnecting": "
|
|
21644
|
-
"system.disabled": "
|
|
21645
|
-
"system.uptime": "
|
|
21646
|
-
"system.failures": "
|
|
21647
|
-
"system.lastActivity": "
|
|
21648
|
-
"system.lock": "
|
|
21649
|
-
"system.concurrency": "
|
|
21650
|
-
"system.maxConcurrency": "
|
|
21651
|
-
"system.pollInterval": "
|
|
21652
|
-
"system.heartbeatInterval": "
|
|
21653
|
-
"system.taskTimeout": "
|
|
21654
|
-
"system.schedulerEnabled": "
|
|
21655
|
-
"system.checkInterval": "
|
|
21656
|
-
"system.activeTemplates": "
|
|
21657
|
-
"system.heartbeatTimeout": "
|
|
21658
|
-
"system.cleanupInterval": "
|
|
21659
|
-
"system.retentionDays": "
|
|
21633
|
+
"system.watchdogCleanup": "Cleanup",
|
|
21634
|
+
"system.health": "Gateway health",
|
|
21635
|
+
"system.healthy": "Healthy",
|
|
21636
|
+
"system.degraded": "Degraded",
|
|
21637
|
+
"system.reconnecting": "Reconnecting",
|
|
21638
|
+
"system.disabled": "Disabled",
|
|
21639
|
+
"system.uptime": "Uptime",
|
|
21640
|
+
"system.failures": "Failures",
|
|
21641
|
+
"system.lastActivity": "Last active",
|
|
21642
|
+
"system.lock": "Lock",
|
|
21643
|
+
"system.concurrency": "Concurrency",
|
|
21644
|
+
"system.maxConcurrency": "Max concurrency",
|
|
21645
|
+
"system.pollInterval": "Poll interval",
|
|
21646
|
+
"system.heartbeatInterval": "Heartbeat interval",
|
|
21647
|
+
"system.taskTimeout": "Default timeout",
|
|
21648
|
+
"system.schedulerEnabled": "Enable scheduler",
|
|
21649
|
+
"system.checkInterval": "Check interval",
|
|
21650
|
+
"system.activeTemplates": "Active templates",
|
|
21651
|
+
"system.heartbeatTimeout": "Heartbeat timeout",
|
|
21652
|
+
"system.cleanupInterval": "Cleanup interval",
|
|
21653
|
+
"system.retentionDays": "Retention",
|
|
21660
21654
|
"system.milliseconds": "ms",
|
|
21661
21655
|
"system.seconds": "s",
|
|
21662
21656
|
"system.minutes": "min",
|
|
21663
21657
|
"system.hours": "h",
|
|
21664
21658
|
"system.days": "d",
|
|
21665
|
-
"system.configForeground": "
|
|
21666
|
-
"system.configApplied": "
|
|
21667
|
-
"system.configPending": "
|
|
21668
|
-
"system.configRestartManually": "
|
|
21669
|
-
"system.savedValue": "
|
|
21670
|
-
"system.runtimeValue": "
|
|
21671
|
-
"system.runningTasks": "
|
|
21672
|
-
"system.configFile": "
|
|
21673
|
-
"system.path": "
|
|
21674
|
-
"system.fileExists": "
|
|
21675
|
-
"system.yes": "
|
|
21676
|
-
"system.noDefault": "
|
|
21677
|
-
"system.danger": "
|
|
21678
|
-
"system.dangerDescription": "
|
|
21679
|
-
"logs.command": "
|
|
21680
|
-
"logs.output": "
|
|
21681
|
-
"logs.error": "
|
|
21682
|
-
"logs.tools": "
|
|
21683
|
-
"logs.raw": "
|
|
21684
|
-
"logs.noText": "
|
|
21685
|
-
"logs.loading": "\
|
|
21686
|
-
"logs.live": "
|
|
21687
|
-
"logs.steps": "
|
|
21659
|
+
"system.configForeground": "Foreground \xB7 restart required",
|
|
21660
|
+
"system.configApplied": "Runtime matches saved config",
|
|
21661
|
+
"system.configPending": "Pending changes \xB7 restart Gateway to apply",
|
|
21662
|
+
"system.configRestartManually": "Pending changes \xB7 restart Gateway manually",
|
|
21663
|
+
"system.savedValue": "Saved",
|
|
21664
|
+
"system.runtimeValue": "Runtime",
|
|
21665
|
+
"system.runningTasks": "Active runs \xB7 {running} / {limit}",
|
|
21666
|
+
"system.configFile": "Config file",
|
|
21667
|
+
"system.path": "Path",
|
|
21668
|
+
"system.fileExists": "Status",
|
|
21669
|
+
"system.yes": "Exists",
|
|
21670
|
+
"system.noDefault": "Default",
|
|
21671
|
+
"system.danger": "Danger zone",
|
|
21672
|
+
"system.dangerDescription": "Clears all tasks, runs, and schedules after creating a verified backup.",
|
|
21673
|
+
"logs.command": "Command",
|
|
21674
|
+
"logs.output": "Output",
|
|
21675
|
+
"logs.error": "Error",
|
|
21676
|
+
"logs.tools": "Tool calls",
|
|
21677
|
+
"logs.raw": "Raw JSONL",
|
|
21678
|
+
"logs.noText": "No text output",
|
|
21679
|
+
"logs.loading": "Loading log\u2026",
|
|
21680
|
+
"logs.live": "Live",
|
|
21681
|
+
"logs.steps": "Steps",
|
|
21688
21682
|
"logs.tokens": "Tokens",
|
|
21689
|
-
"logs.tokInput": "
|
|
21690
|
-
"logs.tokOutput": "
|
|
21691
|
-
"logs.tokReasoning": "
|
|
21692
|
-
"logs.tokCache": "
|
|
21693
|
-
"logs.tokCacheRead": "
|
|
21694
|
-
"logs.tokCacheWrite": "
|
|
21695
|
-
"logs.cost": "
|
|
21696
|
-
"logs.autoScroll": "
|
|
21697
|
-
"logs.rootCause": "
|
|
21698
|
-
"
|
|
21699
|
-
"
|
|
21700
|
-
"inspector.tab.
|
|
21701
|
-
"inspector.
|
|
21702
|
-
"inspector.
|
|
21703
|
-
"inspector.
|
|
21704
|
-
"inspector.
|
|
21705
|
-
"
|
|
21706
|
-
"
|
|
21707
|
-
"details.
|
|
21708
|
-
"details.
|
|
21709
|
-
"details.
|
|
21710
|
-
"details.
|
|
21711
|
-
"details.raw": "\u539F\u59CB JSON",
|
|
21712
|
-
"details.copySuccess": "\u5DF2\u590D\u5236",
|
|
21683
|
+
"logs.tokInput": "In",
|
|
21684
|
+
"logs.tokOutput": "Out",
|
|
21685
|
+
"logs.tokReasoning": "Reasoning",
|
|
21686
|
+
"logs.tokCache": "Cache",
|
|
21687
|
+
"logs.tokCacheRead": "R",
|
|
21688
|
+
"logs.tokCacheWrite": "W",
|
|
21689
|
+
"logs.cost": "Cost",
|
|
21690
|
+
"logs.autoScroll": "Auto-scroll",
|
|
21691
|
+
"logs.rootCause": "Root cause",
|
|
21692
|
+
"inspector.tab.overview": "Overview",
|
|
21693
|
+
"inspector.tab.output": "Live output",
|
|
21694
|
+
"inspector.tab.history": "History",
|
|
21695
|
+
"inspector.dependencies": "Dependencies",
|
|
21696
|
+
"inspector.upstream": "Upstream",
|
|
21697
|
+
"inspector.downstream": "Downstream",
|
|
21698
|
+
"inspector.failureSummary": "Failure",
|
|
21699
|
+
"details.title": "Inspector",
|
|
21700
|
+
"details.taskTitle": "Task #{id}",
|
|
21701
|
+
"details.runTitle": "Run #{id}",
|
|
21702
|
+
"details.templateTitle": "Schedule #{id}",
|
|
21703
|
+
"details.raw": "Raw JSON",
|
|
21704
|
+
"details.copySuccess": "Copied",
|
|
21713
21705
|
"details.id": "ID",
|
|
21714
|
-
"details.project": "
|
|
21706
|
+
"details.project": "Project",
|
|
21715
21707
|
"details.variant": "Variant",
|
|
21716
|
-
"details.prompt": "
|
|
21717
|
-
"details.result": "
|
|
21718
|
-
"details.category": "
|
|
21719
|
-
"details.batch": "
|
|
21720
|
-
"details.dependency": "
|
|
21721
|
-
"details.importance": "
|
|
21722
|
-
"details.urgency": "
|
|
21723
|
-
"details.retryCount": "
|
|
21724
|
-
"details.retryBackoff": "
|
|
21725
|
-
"details.timeout": "
|
|
21726
|
-
"details.createdAt": "
|
|
21727
|
-
"details.updatedAt": "
|
|
21728
|
-
"details.startedAt": "
|
|
21729
|
-
"details.finishedAt": "
|
|
21730
|
-
"details.scheduledAt": "
|
|
21731
|
-
"details.enabled": "
|
|
21732
|
-
"details.scheduleRule": "
|
|
21733
|
-
"details.maxInstances": "
|
|
21734
|
-
"details.maxRetries": "
|
|
21735
|
-
"details.lastRun": "
|
|
21736
|
-
"details.nextRun": "
|
|
21737
|
-
"details.taskId": "
|
|
21738
|
-
"details.session": "
|
|
21739
|
-
"details.heartbeat": "
|
|
21740
|
-
"details.process": "
|
|
21741
|
-
"details.history": "
|
|
21742
|
-
"details.noHistory": "
|
|
21708
|
+
"details.prompt": "Prompt",
|
|
21709
|
+
"details.result": "Result",
|
|
21710
|
+
"details.category": "Category",
|
|
21711
|
+
"details.batch": "Batch",
|
|
21712
|
+
"details.dependency": "Dependency",
|
|
21713
|
+
"details.importance": "Importance",
|
|
21714
|
+
"details.urgency": "Urgency",
|
|
21715
|
+
"details.retryCount": "Retries",
|
|
21716
|
+
"details.retryBackoff": "Backoff",
|
|
21717
|
+
"details.timeout": "Timeout",
|
|
21718
|
+
"details.createdAt": "Created",
|
|
21719
|
+
"details.updatedAt": "Updated",
|
|
21720
|
+
"details.startedAt": "Started",
|
|
21721
|
+
"details.finishedAt": "Finished",
|
|
21722
|
+
"details.scheduledAt": "Scheduled",
|
|
21723
|
+
"details.enabled": "Enabled",
|
|
21724
|
+
"details.scheduleRule": "Rule",
|
|
21725
|
+
"details.maxInstances": "Max instances",
|
|
21726
|
+
"details.maxRetries": "Max retries",
|
|
21727
|
+
"details.lastRun": "Last run",
|
|
21728
|
+
"details.nextRun": "Next run",
|
|
21729
|
+
"details.taskId": "Task",
|
|
21730
|
+
"details.session": "Session",
|
|
21731
|
+
"details.heartbeat": "Heartbeat",
|
|
21732
|
+
"details.process": "Process",
|
|
21733
|
+
"details.history": "Run history",
|
|
21734
|
+
"details.noHistory": "No runs yet",
|
|
21743
21735
|
"details.none": "\u2014",
|
|
21744
|
-
"details.default": "
|
|
21745
|
-
"details.enabledYes": "
|
|
21746
|
-
"details.enabledNo": "
|
|
21747
|
-
"batch.selected": "
|
|
21748
|
-
"batch.retry": "
|
|
21749
|
-
"batch.cancel": "
|
|
21750
|
-
"batch.delete": "
|
|
21751
|
-
"dialog.cancelTask": "
|
|
21752
|
-
"dialog.cancelTaskBody": "
|
|
21753
|
-
"dialog.retryTask": "
|
|
21754
|
-
"dialog.retryTaskBody": "
|
|
21755
|
-
"dialog.deleteTask": "
|
|
21756
|
-
"dialog.deleteTaskBody": "
|
|
21757
|
-
"dialog.batchRetry": "
|
|
21758
|
-
"dialog.batchRetryBody": "
|
|
21759
|
-
"dialog.batchCancel": "
|
|
21760
|
-
"dialog.batchCancelBody": "
|
|
21761
|
-
"dialog.batchDelete": "
|
|
21762
|
-
"dialog.batchDeleteBody": "
|
|
21763
|
-
"dialog.disableTemplate": "
|
|
21764
|
-
"dialog.disableTemplateBody": "
|
|
21765
|
-
"dialog.deleteTemplate": "
|
|
21766
|
-
"dialog.deleteTemplateBody": "
|
|
21767
|
-
"dialog.triggerTemplate": "
|
|
21768
|
-
"dialog.triggerTemplateBody": "
|
|
21769
|
-
"dialog.clearTitle": "
|
|
21770
|
-
"dialog.clearBody": "
|
|
21771
|
-
"dialog.clearInstruction": "
|
|
21772
|
-
"dialog.restartGateway": "
|
|
21773
|
-
"dialog.restartGatewayBody": "
|
|
21774
|
-
"dialog.restartGatewayRunningBody": "
|
|
21775
|
-
"dialog.copyManualTitle": "
|
|
21776
|
-
"dialog.copyManualBody": "
|
|
21777
|
-
"feedback.retryFailed": "
|
|
21778
|
-
"feedback.cancelFailed": "
|
|
21779
|
-
"feedback.deleteFailed": "
|
|
21780
|
-
"feedback.requestFailed": "
|
|
21781
|
-
"feedback.triggered": "
|
|
21782
|
-
"feedback.taskCreated": "
|
|
21783
|
-
"feedback.taskUpdated": "
|
|
21784
|
-
"feedback.taskCloned": "
|
|
21785
|
-
"feedback.taskRetried": "
|
|
21786
|
-
"feedback.taskCancelled": "
|
|
21787
|
-
"feedback.taskDeleted": "
|
|
21788
|
-
"feedback.batchDone": "
|
|
21789
|
-
"feedback.templateCreated": "
|
|
21790
|
-
"feedback.templateUpdated": "
|
|
21791
|
-
"feedback.configSaved": "
|
|
21792
|
-
"feedback.sessionCommandCopied": "
|
|
21793
|
-
"feedback.commandCopied": "
|
|
21794
|
-
"feedback.restarting": "Gateway
|
|
21795
|
-
"feedback.restartTimeout": "Gateway
|
|
21796
|
-
"feedback.databaseCleared": "
|
|
21797
|
-
"feedback.copyFailed": "
|
|
21798
|
-
"a11y.skip": "
|
|
21799
|
-
"a11y.refreshing": "
|
|
21736
|
+
"details.default": "Default",
|
|
21737
|
+
"details.enabledYes": "Enabled",
|
|
21738
|
+
"details.enabledNo": "Disabled",
|
|
21739
|
+
"batch.selected": "{count} selected",
|
|
21740
|
+
"batch.retry": "Retry",
|
|
21741
|
+
"batch.cancel": "Cancel",
|
|
21742
|
+
"batch.delete": "Delete",
|
|
21743
|
+
"dialog.cancelTask": "Cancel task #{id}",
|
|
21744
|
+
"dialog.cancelTaskBody": "Stop queuing or terminate the active process group.",
|
|
21745
|
+
"dialog.retryTask": "Retry task #{id}",
|
|
21746
|
+
"dialog.retryTaskBody": "Reset retry counter and re-enqueue.",
|
|
21747
|
+
"dialog.deleteTask": "Delete task #{id}",
|
|
21748
|
+
"dialog.deleteTaskBody": "Permanently delete this task and its runs.",
|
|
21749
|
+
"dialog.batchRetry": "Retry {count} tasks",
|
|
21750
|
+
"dialog.batchRetryBody": "Re-enqueue failed and stopped tasks in selection.",
|
|
21751
|
+
"dialog.batchCancel": "Cancel {count} tasks",
|
|
21752
|
+
"dialog.batchCancelBody": "Cancel queued, running, and retrying tasks in selection.",
|
|
21753
|
+
"dialog.batchDelete": "Delete {count} tasks",
|
|
21754
|
+
"dialog.batchDeleteBody": "Permanently delete non-running tasks in selection.",
|
|
21755
|
+
"dialog.disableTemplate": "Disable schedule",
|
|
21756
|
+
"dialog.disableTemplateBody": "Stop creating new tasks automatically.",
|
|
21757
|
+
"dialog.deleteTemplate": "Delete schedule",
|
|
21758
|
+
"dialog.deleteTemplateBody": "Delete template without removing past tasks.",
|
|
21759
|
+
"dialog.triggerTemplate": "Run schedule now",
|
|
21760
|
+
"dialog.triggerTemplateBody": "Create and enqueue a task immediately.",
|
|
21761
|
+
"dialog.clearTitle": "Clear database",
|
|
21762
|
+
"dialog.clearBody": "This removes all tasks, runs, and schedules.",
|
|
21763
|
+
"dialog.clearInstruction": "Type CLEAR to confirm:",
|
|
21764
|
+
"dialog.restartGateway": "Restart Gateway",
|
|
21765
|
+
"dialog.restartGatewayBody": "Save config and restart PM2 Gateway.",
|
|
21766
|
+
"dialog.restartGatewayRunningBody": "{count} task(s) are running and will be interrupted. Continue?",
|
|
21767
|
+
"dialog.copyManualTitle": "Copy manually",
|
|
21768
|
+
"dialog.copyManualBody": "Clipboard access was blocked. Press \u2318C or Ctrl+C.",
|
|
21769
|
+
"feedback.retryFailed": "Retry failed",
|
|
21770
|
+
"feedback.cancelFailed": "Cancel failed",
|
|
21771
|
+
"feedback.deleteFailed": "Delete failed",
|
|
21772
|
+
"feedback.requestFailed": "Request failed",
|
|
21773
|
+
"feedback.triggered": "Enqueued task #{id}",
|
|
21774
|
+
"feedback.taskCreated": "Enqueued task #{id}",
|
|
21775
|
+
"feedback.taskUpdated": "Updated task #{id}",
|
|
21776
|
+
"feedback.taskCloned": "Cloned task #{id}",
|
|
21777
|
+
"feedback.taskRetried": "Task #{id} re-enqueued",
|
|
21778
|
+
"feedback.taskCancelled": "Task #{id} cancelled",
|
|
21779
|
+
"feedback.taskDeleted": "Task #{id} deleted",
|
|
21780
|
+
"feedback.batchDone": "Batch complete ({count})",
|
|
21781
|
+
"feedback.templateCreated": "Schedule created",
|
|
21782
|
+
"feedback.templateUpdated": "Schedule updated",
|
|
21783
|
+
"feedback.configSaved": "Config saved",
|
|
21784
|
+
"feedback.sessionCommandCopied": "Session command copied",
|
|
21785
|
+
"feedback.commandCopied": "Command copied",
|
|
21786
|
+
"feedback.restarting": "Restarting Gateway\u2026",
|
|
21787
|
+
"feedback.restartTimeout": "Gateway has not recovered yet.",
|
|
21788
|
+
"feedback.databaseCleared": "Database cleared. Backup: {path}",
|
|
21789
|
+
"feedback.copyFailed": "Copy failed",
|
|
21790
|
+
"a11y.skip": "Skip to content",
|
|
21791
|
+
"a11y.refreshing": "Refreshing"
|
|
21800
21792
|
};
|
|
21801
|
-
|
|
21793
|
+
|
|
21794
|
+
// src/web/locales/es.ts
|
|
21795
|
+
var ES = {
|
|
21802
21796
|
"app.name": "SuperTask",
|
|
21803
21797
|
"app.local": "Local",
|
|
21804
|
-
"nav.tasks": "
|
|
21805
|
-
"nav.templates": "
|
|
21806
|
-
"nav.runs": "
|
|
21807
|
-
"nav.system": "
|
|
21808
|
-
"page.tasks.title": "
|
|
21809
|
-
"page.templates.title": "
|
|
21810
|
-
"page.runs.title": "
|
|
21811
|
-
"page.system.title": "
|
|
21812
|
-
"theme.label": "
|
|
21813
|
-
"theme.system": "
|
|
21814
|
-
"theme.light": "
|
|
21815
|
-
"theme.dark": "
|
|
21816
|
-
"language.label": "
|
|
21817
|
-
"action.refresh": "
|
|
21818
|
-
"action.createTask": "
|
|
21819
|
-
"action.createTemplate": "
|
|
21820
|
-
"action.saveTask": "
|
|
21821
|
-
"action.updateTask": "
|
|
21822
|
-
"action.saveTemplate": "
|
|
21823
|
-
"action.edit": "
|
|
21824
|
-
"action.clone": "
|
|
21825
|
-
"action.details": "
|
|
21826
|
-
"action.retry": "
|
|
21827
|
-
"action.cancel": "
|
|
21828
|
-
"action.delete": "
|
|
21829
|
-
"action.trigger": "
|
|
21830
|
-
"action.enable": "
|
|
21831
|
-
"action.disable": "
|
|
21832
|
-
"action.logs": "
|
|
21833
|
-
"action.hideLogs": "
|
|
21834
|
-
"action.save": "
|
|
21835
|
-
"action.saveAndRestart": "
|
|
21836
|
-
"action.clearDatabase": "
|
|
21837
|
-
"action.copy": "
|
|
21838
|
-
"action.copyCommand": "
|
|
21839
|
-
"action.continueSession": "
|
|
21840
|
-
"action.chooseFolder": "
|
|
21841
|
-
"action.home": "
|
|
21842
|
-
"action.up": "
|
|
21843
|
-
"action.showHidden": "
|
|
21844
|
-
"action.hideHidden": "
|
|
21845
|
-
"action.chooseThisFolder": "
|
|
21846
|
-
"action.close": "
|
|
21847
|
-
"action.confirm": "
|
|
21848
|
-
"action.clearSelection": "
|
|
21849
|
-
"action.viewTasks": "
|
|
21850
|
-
"action.more": "
|
|
21851
|
-
"action.selectAll": "
|
|
21852
|
-
"action.openMenu": "
|
|
21853
|
-
"filter.all": "
|
|
21854
|
-
"filter.searchTasks": "
|
|
21855
|
-
"filter.allAgents": "
|
|
21856
|
-
"filter.allBatches": "
|
|
21857
|
-
"filter.noResults": "
|
|
21858
|
-
"filter.templateScope": "
|
|
21859
|
-
"filter.clearFilter": "
|
|
21860
|
-
"projects.title": "
|
|
21861
|
-
"projects.all": "
|
|
21862
|
-
"projects.legacy": "
|
|
21863
|
-
"projects.counts": "{running}
|
|
21798
|
+
"nav.tasks": "Tareas",
|
|
21799
|
+
"nav.templates": "Programadas",
|
|
21800
|
+
"nav.runs": "Ejecuciones",
|
|
21801
|
+
"nav.system": "Sistema",
|
|
21802
|
+
"page.tasks.title": "Cola de tareas",
|
|
21803
|
+
"page.templates.title": "Tareas programadas",
|
|
21804
|
+
"page.runs.title": "Historial de ejecuci\xF3n",
|
|
21805
|
+
"page.system.title": "Sistema",
|
|
21806
|
+
"theme.label": "Tema",
|
|
21807
|
+
"theme.system": "Sistema",
|
|
21808
|
+
"theme.light": "Claro",
|
|
21809
|
+
"theme.dark": "Oscuro",
|
|
21810
|
+
"language.label": "Idioma",
|
|
21811
|
+
"action.refresh": "Actualizar",
|
|
21812
|
+
"action.createTask": "Nueva tarea",
|
|
21813
|
+
"action.createTemplate": "Nueva programaci\xF3n",
|
|
21814
|
+
"action.saveTask": "Encolar",
|
|
21815
|
+
"action.updateTask": "Guardar",
|
|
21816
|
+
"action.saveTemplate": "Guardar",
|
|
21817
|
+
"action.edit": "Editar",
|
|
21818
|
+
"action.clone": "Clonar",
|
|
21819
|
+
"action.details": "Detalles",
|
|
21820
|
+
"action.retry": "Reintentar",
|
|
21821
|
+
"action.cancel": "Cancelar",
|
|
21822
|
+
"action.delete": "Eliminar",
|
|
21823
|
+
"action.trigger": "Ejecutar ahora",
|
|
21824
|
+
"action.enable": "Activar",
|
|
21825
|
+
"action.disable": "Desactivar",
|
|
21826
|
+
"action.logs": "Registro",
|
|
21827
|
+
"action.hideLogs": "Ocultar",
|
|
21828
|
+
"action.save": "Guardar ajustes",
|
|
21829
|
+
"action.saveAndRestart": "Guardar y reiniciar",
|
|
21830
|
+
"action.clearDatabase": "Vaciar datos",
|
|
21831
|
+
"action.copy": "Copiar",
|
|
21832
|
+
"action.copyCommand": "Copiar comando",
|
|
21833
|
+
"action.continueSession": "Continuar",
|
|
21834
|
+
"action.chooseFolder": "Explorar",
|
|
21835
|
+
"action.home": "Inicio",
|
|
21836
|
+
"action.up": "Subir",
|
|
21837
|
+
"action.showHidden": "Mostrar ocultas",
|
|
21838
|
+
"action.hideHidden": "Ocultar ocultas",
|
|
21839
|
+
"action.chooseThisFolder": "Elegir carpeta",
|
|
21840
|
+
"action.close": "Cerrar",
|
|
21841
|
+
"action.confirm": "Confirmar",
|
|
21842
|
+
"action.clearSelection": "Limpiar",
|
|
21843
|
+
"action.viewTasks": "Ver tareas",
|
|
21844
|
+
"action.more": "M\xE1s",
|
|
21845
|
+
"action.selectAll": "Seleccionar todo",
|
|
21846
|
+
"action.openMenu": "Men\xFA",
|
|
21847
|
+
"filter.all": "Todas",
|
|
21848
|
+
"filter.searchTasks": "Buscar tareas, lote o #ID\u2026",
|
|
21849
|
+
"filter.allAgents": "Todos los agentes",
|
|
21850
|
+
"filter.allBatches": "Todos los lotes",
|
|
21851
|
+
"filter.noResults": "Sin tareas coincidentes",
|
|
21852
|
+
"filter.templateScope": "Plantilla #{id}",
|
|
21853
|
+
"filter.clearFilter": "Limpiar",
|
|
21854
|
+
"projects.title": "Proyectos",
|
|
21855
|
+
"projects.all": "Todos los proyectos",
|
|
21856
|
+
"projects.legacy": "Sin agrupar",
|
|
21857
|
+
"projects.counts": "{running} en ejecuci\xF3n \xB7 {pending} en cola \xB7 {failed} con problemas",
|
|
21864
21858
|
"projects.successRate": "{rate}%",
|
|
21865
|
-
"
|
|
21866
|
-
"stats.
|
|
21867
|
-
"stats.
|
|
21868
|
-
"stats.
|
|
21859
|
+
"projects.rate7d": "Tasa de \xE9xito (7d)",
|
|
21860
|
+
"stats.pending": "En cola",
|
|
21861
|
+
"stats.running": "En ejecuci\xF3n",
|
|
21862
|
+
"stats.done": "Completadas",
|
|
21863
|
+
"stats.failedDead": "Problemas",
|
|
21869
21864
|
"stats.templates": "Total",
|
|
21870
|
-
"stats.enabled": "
|
|
21871
|
-
"stats.disabled": "
|
|
21865
|
+
"stats.enabled": "Activadas",
|
|
21866
|
+
"stats.disabled": "Desactivadas",
|
|
21872
21867
|
"stats.records": "Total",
|
|
21873
|
-
"stats.pageDone": "
|
|
21874
|
-
"stats.pageFailed": "
|
|
21875
|
-
"stats.pageRunning": "
|
|
21868
|
+
"stats.pageDone": "Correctas",
|
|
21869
|
+
"stats.pageFailed": "Fallidas",
|
|
21870
|
+
"stats.pageRunning": "En ejecuci\xF3n",
|
|
21876
21871
|
"table.id": "ID",
|
|
21877
|
-
"table.task": "
|
|
21878
|
-
"table.name": "
|
|
21879
|
-
"table.agent": "
|
|
21880
|
-
"table.model": "
|
|
21881
|
-
"table.status": "
|
|
21882
|
-
"table.duration": "
|
|
21883
|
-
"table.retries": "
|
|
21884
|
-
"table.actions": "
|
|
21885
|
-
"table.type": "
|
|
21886
|
-
"table.rule": "
|
|
21887
|
-
"table.lastRun": "
|
|
21888
|
-
"table.nextRun": "
|
|
21889
|
-
"table.run": "
|
|
21890
|
-
"table.session": "
|
|
21872
|
+
"table.task": "Tarea",
|
|
21873
|
+
"table.name": "Nombre",
|
|
21874
|
+
"table.agent": "Agente",
|
|
21875
|
+
"table.model": "Modelo",
|
|
21876
|
+
"table.status": "Estado",
|
|
21877
|
+
"table.duration": "Duraci\xF3n",
|
|
21878
|
+
"table.retries": "Reintentos",
|
|
21879
|
+
"table.actions": "Acciones",
|
|
21880
|
+
"table.type": "Tipo",
|
|
21881
|
+
"table.rule": "Regla",
|
|
21882
|
+
"table.lastRun": "\xDAltima ejecuci\xF3n",
|
|
21883
|
+
"table.nextRun": "Pr\xF3xima ejecuci\xF3n",
|
|
21884
|
+
"table.run": "Ejecuci\xF3n",
|
|
21885
|
+
"table.session": "Sesi\xF3n",
|
|
21891
21886
|
"table.heartbeat": "Heartbeat",
|
|
21892
|
-
"table.startedAt": "
|
|
21887
|
+
"table.startedAt": "Inicio",
|
|
21893
21888
|
"table.pid": "PID",
|
|
21894
|
-
"
|
|
21895
|
-
"status.
|
|
21896
|
-
"status.
|
|
21897
|
-
"status.
|
|
21898
|
-
"status.
|
|
21899
|
-
"status.
|
|
21900
|
-
"status.
|
|
21901
|
-
"status.
|
|
21902
|
-
"status.
|
|
21903
|
-
"status.
|
|
21904
|
-
"status.
|
|
21905
|
-
"
|
|
21906
|
-
"runStatus.
|
|
21907
|
-
"runStatus.
|
|
21889
|
+
"table.pidTooltip": "Worker \u203A Guardian",
|
|
21890
|
+
"status.pending": "En cola",
|
|
21891
|
+
"status.running": "En ejecuci\xF3n",
|
|
21892
|
+
"status.done": "Completada",
|
|
21893
|
+
"status.failed": "Reintentando",
|
|
21894
|
+
"status.dead_letter": "Detenida",
|
|
21895
|
+
"status.cancelled": "Cancelada",
|
|
21896
|
+
"status.unknown": "Desconocido",
|
|
21897
|
+
"status.executionStillActive": "Deteniendo",
|
|
21898
|
+
"status.waitingDep": "Espera #{id}",
|
|
21899
|
+
"status.batchBusy": "Lote ocupado",
|
|
21900
|
+
"status.retryIn": "Reintento en {duration}",
|
|
21901
|
+
"runStatus.running": "En ejecuci\xF3n",
|
|
21902
|
+
"runStatus.done": "Correcta",
|
|
21903
|
+
"runStatus.failed": "Fallida",
|
|
21908
21904
|
"schedule.cron": "Cron",
|
|
21909
|
-
"schedule.recurring": "
|
|
21910
|
-
"schedule.delayed": "
|
|
21911
|
-
"schedule.unknown": "
|
|
21912
|
-
"schedule.enabled": "
|
|
21913
|
-
"schedule.disabled": "
|
|
21914
|
-
"schedule.overdue": "
|
|
21915
|
-
"schedule.seconds": "{count}s",
|
|
21916
|
-
"schedule.minutes": "{count}
|
|
21917
|
-
"schedule.hours": "{count}h",
|
|
21918
|
-
"schedule.days": "{count}d",
|
|
21919
|
-
"schedule.cronPreset.hourly": "
|
|
21920
|
-
"schedule.cronPreset.daily9": "
|
|
21921
|
-
"schedule.cronPreset.weekday9": "
|
|
21922
|
-
"schedule.cronPreset.weeklyMon": "
|
|
21905
|
+
"schedule.recurring": "Intervalo",
|
|
21906
|
+
"schedule.delayed": "Una vez",
|
|
21907
|
+
"schedule.unknown": "Desconocido",
|
|
21908
|
+
"schedule.enabled": "Activada",
|
|
21909
|
+
"schedule.disabled": "Desactivada",
|
|
21910
|
+
"schedule.overdue": "Vencida",
|
|
21911
|
+
"schedule.seconds": "{count} s",
|
|
21912
|
+
"schedule.minutes": "{count} min",
|
|
21913
|
+
"schedule.hours": "{count} h",
|
|
21914
|
+
"schedule.days": "{count} d",
|
|
21915
|
+
"schedule.cronPreset.hourly": "Cada hora",
|
|
21916
|
+
"schedule.cronPreset.daily9": "Diario 09:00",
|
|
21917
|
+
"schedule.cronPreset.weekday9": "Laborables 09:00",
|
|
21918
|
+
"schedule.cronPreset.weeklyMon": "Lunes 09:00",
|
|
21923
21919
|
"duration.seconds": "s",
|
|
21924
21920
|
"duration.minutes": "min",
|
|
21925
21921
|
"duration.hours": "h",
|
|
21926
21922
|
"duration.days": "d",
|
|
21927
|
-
"duration.every": "
|
|
21928
|
-
"duration.immediate": "
|
|
21929
|
-
"duration.systemDefault": "
|
|
21930
|
-
"duration.custom": "
|
|
21931
|
-
"duration.unit": "
|
|
21932
|
-
"pagination.previous": "
|
|
21933
|
-
"pagination.next": "
|
|
21934
|
-
"pagination.summary": "{page} / {pages} \xB7 {total} total",
|
|
21935
|
-
"empty.tasks": "
|
|
21936
|
-
"empty.templates": "
|
|
21937
|
-
"empty.runs": "
|
|
21938
|
-
"empty.running": "
|
|
21939
|
-
"task.createTitle": "
|
|
21940
|
-
"task.editTitle": "
|
|
21941
|
-
"task.projectExisting": "{running}
|
|
21942
|
-
"task.projectNew": "
|
|
21943
|
-
"template.createTitle": "
|
|
21944
|
-
"template.editTitle": "
|
|
21945
|
-
"template.name": "
|
|
21946
|
-
"template.cwd": "
|
|
21947
|
-
"template.agent": "
|
|
21948
|
-
"template.model": "
|
|
21949
|
-
"template.variant": "
|
|
21923
|
+
"duration.every": "Cada {duration}",
|
|
21924
|
+
"duration.immediate": "Inmediato",
|
|
21925
|
+
"duration.systemDefault": "Predeterminado",
|
|
21926
|
+
"duration.custom": "Personalizado",
|
|
21927
|
+
"duration.unit": "Unidad",
|
|
21928
|
+
"pagination.previous": "Anterior",
|
|
21929
|
+
"pagination.next": "Siguiente",
|
|
21930
|
+
"pagination.summary": "{page} / {pages} \xB7 {total} en total",
|
|
21931
|
+
"empty.tasks": "Sin tareas",
|
|
21932
|
+
"empty.templates": "Sin tareas programadas",
|
|
21933
|
+
"empty.runs": "Sin ejecuciones",
|
|
21934
|
+
"empty.running": "Sin ejecuciones activas",
|
|
21935
|
+
"task.createTitle": "Nueva tarea",
|
|
21936
|
+
"task.editTitle": "Editar tarea",
|
|
21937
|
+
"task.projectExisting": "{running} en ejecuci\xF3n \xB7 {pending} en cola \xB7 {failed} con problemas",
|
|
21938
|
+
"task.projectNew": "Nuevo directorio de proyecto",
|
|
21939
|
+
"template.createTitle": "Nueva programaci\xF3n",
|
|
21940
|
+
"template.editTitle": "Editar programaci\xF3n",
|
|
21941
|
+
"template.name": "Nombre",
|
|
21942
|
+
"template.cwd": "Directorio del proyecto",
|
|
21943
|
+
"template.agent": "Agente",
|
|
21944
|
+
"template.model": "Modelo",
|
|
21945
|
+
"template.variant": "Variante",
|
|
21950
21946
|
"template.prompt": "Prompt",
|
|
21951
|
-
"template.dependsOn": "
|
|
21952
|
-
"template.dependsOnNone": "
|
|
21953
|
-
"template.scheduleType": "
|
|
21954
|
-
"template.cronExpr": "
|
|
21955
|
-
"template.interval": "
|
|
21956
|
-
"template.runAt": "
|
|
21957
|
-
"template.advanced": "
|
|
21958
|
-
"template.category": "
|
|
21959
|
-
"template.batchId": "
|
|
21960
|
-
"template.importance": "
|
|
21961
|
-
"template.urgency": "
|
|
21962
|
-
"template.maxInstances": "
|
|
21963
|
-
"template.maxRetries": "
|
|
21964
|
-
"template.retryBackoff": "
|
|
21947
|
+
"template.dependsOn": "Depende de",
|
|
21948
|
+
"template.dependsOnNone": "Ninguna",
|
|
21949
|
+
"template.scheduleType": "Tipo",
|
|
21950
|
+
"template.cronExpr": "Expresi\xF3n cron",
|
|
21951
|
+
"template.interval": "Intervalo",
|
|
21952
|
+
"template.runAt": "Ejecutar a las",
|
|
21953
|
+
"template.advanced": "Avanzado",
|
|
21954
|
+
"template.category": "Categor\xEDa",
|
|
21955
|
+
"template.batchId": "Lote",
|
|
21956
|
+
"template.importance": "Importancia",
|
|
21957
|
+
"template.urgency": "Urgencia",
|
|
21958
|
+
"template.maxInstances": "Instancias m\xE1x.",
|
|
21959
|
+
"template.maxRetries": "Reintentos m\xE1x.",
|
|
21960
|
+
"template.retryBackoff": "Espera entre reintentos",
|
|
21965
21961
|
"template.timeout": "Timeout",
|
|
21966
|
-
"catalog.chooseProject": "
|
|
21967
|
-
"catalog.defaultProvider": "
|
|
21968
|
-
"catalog.defaultModel": "
|
|
21969
|
-
"catalog.defaultVariant": "
|
|
21970
|
-
"catalog.loading": "
|
|
21971
|
-
"catalog.loaded": "{agents}
|
|
21972
|
-
"catalog.failed": "
|
|
21973
|
-
"catalog.primary": "
|
|
21974
|
-
"catalog.subagent": "
|
|
21975
|
-
"catalog.all": "
|
|
21976
|
-
"directory.title": "
|
|
21977
|
-
"directory.empty": "
|
|
21962
|
+
"catalog.chooseProject": "Elige un directorio primero",
|
|
21963
|
+
"catalog.defaultProvider": "Predeterminado",
|
|
21964
|
+
"catalog.defaultModel": "Modelo predeterminado",
|
|
21965
|
+
"catalog.defaultVariant": "Predeterminada",
|
|
21966
|
+
"catalog.loading": "Cargando cat\xE1logo\u2026",
|
|
21967
|
+
"catalog.loaded": "{agents} agentes \xB7 {models} modelos",
|
|
21968
|
+
"catalog.failed": "Error: {error}",
|
|
21969
|
+
"catalog.primary": "principal",
|
|
21970
|
+
"catalog.subagent": "subagente",
|
|
21971
|
+
"catalog.all": "general",
|
|
21972
|
+
"directory.title": "Elegir directorio del proyecto",
|
|
21973
|
+
"directory.empty": "Sin subcarpetas",
|
|
21978
21974
|
"system.worker": "Worker",
|
|
21979
21975
|
"system.scheduler": "Scheduler",
|
|
21980
21976
|
"system.watchdog": "Watchdog",
|
|
21981
|
-
"system.watchdogCleanup": "
|
|
21982
|
-
"system.health": "Gateway
|
|
21983
|
-
"system.healthy": "
|
|
21984
|
-
"system.degraded": "
|
|
21985
|
-
"system.reconnecting": "
|
|
21986
|
-
"system.disabled": "
|
|
21987
|
-
"system.uptime": "
|
|
21988
|
-
"system.failures": "
|
|
21989
|
-
"system.lastActivity": "
|
|
21990
|
-
"system.lock": "
|
|
21991
|
-
"system.concurrency": "
|
|
21992
|
-
"system.maxConcurrency": "
|
|
21993
|
-
"system.pollInterval": "
|
|
21994
|
-
"system.heartbeatInterval": "
|
|
21995
|
-
"system.taskTimeout": "
|
|
21996
|
-
"system.schedulerEnabled": "
|
|
21997
|
-
"system.checkInterval": "
|
|
21998
|
-
"system.activeTemplates": "
|
|
21999
|
-
"system.heartbeatTimeout": "
|
|
22000
|
-
"system.cleanupInterval": "
|
|
22001
|
-
"system.retentionDays": "
|
|
21977
|
+
"system.watchdogCleanup": "Limpieza",
|
|
21978
|
+
"system.health": "Estado del Gateway",
|
|
21979
|
+
"system.healthy": "Saludable",
|
|
21980
|
+
"system.degraded": "Degradado",
|
|
21981
|
+
"system.reconnecting": "Reconectando",
|
|
21982
|
+
"system.disabled": "Desactivado",
|
|
21983
|
+
"system.uptime": "Tiempo activo",
|
|
21984
|
+
"system.failures": "Fallos",
|
|
21985
|
+
"system.lastActivity": "\xDAltima actividad",
|
|
21986
|
+
"system.lock": "Bloqueo",
|
|
21987
|
+
"system.concurrency": "Concurrencia",
|
|
21988
|
+
"system.maxConcurrency": "Concurrencia m\xE1x.",
|
|
21989
|
+
"system.pollInterval": "Intervalo de sondeo",
|
|
21990
|
+
"system.heartbeatInterval": "Intervalo de heartbeat",
|
|
21991
|
+
"system.taskTimeout": "Timeout predeterminado",
|
|
21992
|
+
"system.schedulerEnabled": "Activar programador",
|
|
21993
|
+
"system.checkInterval": "Intervalo de comprobaci\xF3n",
|
|
21994
|
+
"system.activeTemplates": "Plantillas activas",
|
|
21995
|
+
"system.heartbeatTimeout": "Timeout de heartbeat",
|
|
21996
|
+
"system.cleanupInterval": "Intervalo de limpieza",
|
|
21997
|
+
"system.retentionDays": "Retenci\xF3n",
|
|
22002
21998
|
"system.milliseconds": "ms",
|
|
22003
21999
|
"system.seconds": "s",
|
|
22004
22000
|
"system.minutes": "min",
|
|
22005
22001
|
"system.hours": "h",
|
|
22006
22002
|
"system.days": "d",
|
|
22007
|
-
"system.configForeground": "
|
|
22008
|
-
"system.configApplied": "
|
|
22009
|
-
"system.configPending": "
|
|
22010
|
-
"system.configRestartManually": "
|
|
22011
|
-
"system.savedValue": "
|
|
22012
|
-
"system.runtimeValue": "
|
|
22013
|
-
"system.runningTasks": "
|
|
22014
|
-
"system.configFile": "
|
|
22015
|
-
"system.path": "
|
|
22016
|
-
"system.fileExists": "
|
|
22017
|
-
"system.yes": "
|
|
22018
|
-
"system.noDefault": "
|
|
22019
|
-
"system.danger": "
|
|
22020
|
-
"system.dangerDescription": "
|
|
22021
|
-
"logs.command": "
|
|
22022
|
-
"logs.output": "
|
|
22003
|
+
"system.configForeground": "Primer plano \xB7 requiere reinicio",
|
|
22004
|
+
"system.configApplied": "El entorno coincide con la configuraci\xF3n guardada",
|
|
22005
|
+
"system.configPending": "Cambios pendientes \xB7 reinicia el Gateway para aplicar",
|
|
22006
|
+
"system.configRestartManually": "Cambios pendientes \xB7 reinicia el Gateway manualmente",
|
|
22007
|
+
"system.savedValue": "Guardado",
|
|
22008
|
+
"system.runtimeValue": "En curso",
|
|
22009
|
+
"system.runningTasks": "Ejecuciones activas \xB7 {running} / {limit}",
|
|
22010
|
+
"system.configFile": "Archivo de configuraci\xF3n",
|
|
22011
|
+
"system.path": "Ruta",
|
|
22012
|
+
"system.fileExists": "Estado",
|
|
22013
|
+
"system.yes": "Existe",
|
|
22014
|
+
"system.noDefault": "Predeterminado",
|
|
22015
|
+
"system.danger": "Zona de peligro",
|
|
22016
|
+
"system.dangerDescription": "Vac\xEDa todas las tareas, ejecuciones y programaciones tras crear una copia de seguridad verificada.",
|
|
22017
|
+
"logs.command": "Comando",
|
|
22018
|
+
"logs.output": "Salida",
|
|
22023
22019
|
"logs.error": "Error",
|
|
22024
|
-
"logs.tools": "
|
|
22025
|
-
"logs.raw": "
|
|
22026
|
-
"logs.noText": "
|
|
22027
|
-
"logs.loading": "
|
|
22028
|
-
"logs.live": "
|
|
22029
|
-
"logs.steps": "
|
|
22020
|
+
"logs.tools": "Herramientas",
|
|
22021
|
+
"logs.raw": "JSONL en bruto",
|
|
22022
|
+
"logs.noText": "Sin salida de texto",
|
|
22023
|
+
"logs.loading": "Cargando registro\u2026",
|
|
22024
|
+
"logs.live": "En vivo",
|
|
22025
|
+
"logs.steps": "Pasos",
|
|
22026
|
+
"logs.tokens": "Tokens",
|
|
22027
|
+
"logs.tokInput": "Ent.",
|
|
22028
|
+
"logs.tokOutput": "Sal.",
|
|
22029
|
+
"logs.tokReasoning": "Razon.",
|
|
22030
|
+
"logs.tokCache": "Cach\xE9",
|
|
22031
|
+
"logs.tokCacheRead": "L",
|
|
22032
|
+
"logs.tokCacheWrite": "E",
|
|
22033
|
+
"logs.cost": "Coste",
|
|
22034
|
+
"logs.autoScroll": "Autodesplazar",
|
|
22035
|
+
"logs.rootCause": "Causa ra\xEDz",
|
|
22036
|
+
"inspector.tab.overview": "Resumen",
|
|
22037
|
+
"inspector.tab.output": "Salida en vivo",
|
|
22038
|
+
"inspector.tab.history": "Historial",
|
|
22039
|
+
"inspector.dependencies": "Dependencias",
|
|
22040
|
+
"inspector.upstream": "Predecesor",
|
|
22041
|
+
"inspector.downstream": "Dependientes",
|
|
22042
|
+
"inspector.failureSummary": "Fallo",
|
|
22043
|
+
"details.title": "Inspector",
|
|
22044
|
+
"details.taskTitle": "Tarea #{id}",
|
|
22045
|
+
"details.runTitle": "Ejecuci\xF3n #{id}",
|
|
22046
|
+
"details.templateTitle": "Programaci\xF3n #{id}",
|
|
22047
|
+
"details.raw": "JSON en bruto",
|
|
22048
|
+
"details.copySuccess": "Copiado",
|
|
22049
|
+
"details.id": "ID",
|
|
22050
|
+
"details.project": "Proyecto",
|
|
22051
|
+
"details.variant": "Variante",
|
|
22052
|
+
"details.prompt": "Prompt",
|
|
22053
|
+
"details.result": "Resultado",
|
|
22054
|
+
"details.category": "Categor\xEDa",
|
|
22055
|
+
"details.batch": "Lote",
|
|
22056
|
+
"details.dependency": "Dependencia",
|
|
22057
|
+
"details.importance": "Importancia",
|
|
22058
|
+
"details.urgency": "Urgencia",
|
|
22059
|
+
"details.retryCount": "Reintentos",
|
|
22060
|
+
"details.retryBackoff": "Espera",
|
|
22061
|
+
"details.timeout": "Timeout",
|
|
22062
|
+
"details.createdAt": "Creada",
|
|
22063
|
+
"details.updatedAt": "Actualizada",
|
|
22064
|
+
"details.startedAt": "Iniciada",
|
|
22065
|
+
"details.finishedAt": "Finalizada",
|
|
22066
|
+
"details.scheduledAt": "Programada",
|
|
22067
|
+
"details.enabled": "Estado",
|
|
22068
|
+
"details.scheduleRule": "Regla",
|
|
22069
|
+
"details.maxInstances": "Instancias m\xE1x.",
|
|
22070
|
+
"details.maxRetries": "Reintentos m\xE1x.",
|
|
22071
|
+
"details.lastRun": "\xDAltima ejecuci\xF3n",
|
|
22072
|
+
"details.nextRun": "Pr\xF3xima ejecuci\xF3n",
|
|
22073
|
+
"details.taskId": "Tarea",
|
|
22074
|
+
"details.session": "Sesi\xF3n",
|
|
22075
|
+
"details.heartbeat": "Heartbeat",
|
|
22076
|
+
"details.process": "Procesos",
|
|
22077
|
+
"details.history": "Historial de ejecuciones",
|
|
22078
|
+
"details.noHistory": "Sin ejecuciones a\xFAn",
|
|
22079
|
+
"details.none": "\u2014",
|
|
22080
|
+
"details.default": "Predeterminado",
|
|
22081
|
+
"details.enabledYes": "Activada",
|
|
22082
|
+
"details.enabledNo": "Desactivada",
|
|
22083
|
+
"batch.selected": "{count} seleccionadas",
|
|
22084
|
+
"batch.retry": "Reintentar",
|
|
22085
|
+
"batch.cancel": "Cancelar",
|
|
22086
|
+
"batch.delete": "Eliminar",
|
|
22087
|
+
"dialog.cancelTask": "Cancelar tarea #{id}",
|
|
22088
|
+
"dialog.cancelTaskBody": "Detiene la espera en cola o finaliza el grupo de procesos activo.",
|
|
22089
|
+
"dialog.retryTask": "Reintentar tarea #{id}",
|
|
22090
|
+
"dialog.retryTaskBody": "Restablece los reintentos y vuelve a encolar la tarea.",
|
|
22091
|
+
"dialog.deleteTask": "Eliminar tarea #{id}",
|
|
22092
|
+
"dialog.deleteTaskBody": "Elimina permanentemente la tarea y su historial de ejecuci\xF3n.",
|
|
22093
|
+
"dialog.batchRetry": "Reintentar {count} tareas",
|
|
22094
|
+
"dialog.batchRetryBody": "Vuelve a encolar las tareas fallidas y detenidas de la selecci\xF3n.",
|
|
22095
|
+
"dialog.batchCancel": "Cancelar {count} tareas",
|
|
22096
|
+
"dialog.batchCancelBody": "Cancela las tareas en cola, en ejecuci\xF3n y en reintento de la selecci\xF3n.",
|
|
22097
|
+
"dialog.batchDelete": "Eliminar {count} tareas",
|
|
22098
|
+
"dialog.batchDeleteBody": "Elimina permanentemente las tareas inactivas de la selecci\xF3n.",
|
|
22099
|
+
"dialog.disableTemplate": "Desactivar programaci\xF3n",
|
|
22100
|
+
"dialog.disableTemplateBody": "Dejar\xE1 de crear tareas nuevas autom\xE1ticamente.",
|
|
22101
|
+
"dialog.deleteTemplate": "Eliminar programaci\xF3n",
|
|
22102
|
+
"dialog.deleteTemplateBody": "Elimina la plantilla sin borrar las tareas pasadas.",
|
|
22103
|
+
"dialog.triggerTemplate": "Ejecutar ahora",
|
|
22104
|
+
"dialog.triggerTemplateBody": "Crea y encola una tarea de inmediato.",
|
|
22105
|
+
"dialog.clearTitle": "Vaciar base de datos",
|
|
22106
|
+
"dialog.clearBody": "Se eliminar\xE1n todas las tareas, ejecuciones y programaciones.",
|
|
22107
|
+
"dialog.clearInstruction": "Escribe CLEAR para confirmar:",
|
|
22108
|
+
"dialog.restartGateway": "Reiniciar Gateway",
|
|
22109
|
+
"dialog.restartGatewayBody": "Guarda la configuraci\xF3n y reinicia el Gateway con PM2.",
|
|
22110
|
+
"dialog.restartGatewayRunningBody": "Hay {count} tarea(s) en ejecuci\xF3n que se interrumpir\xE1n. \xBFContinuar?",
|
|
22111
|
+
"dialog.copyManualTitle": "Copiar manualmente",
|
|
22112
|
+
"dialog.copyManualBody": "El navegador bloque\xF3 el portapapeles. Pulsa \u2318C o Ctrl+C.",
|
|
22113
|
+
"feedback.retryFailed": "El reintento fall\xF3",
|
|
22114
|
+
"feedback.cancelFailed": "La cancelaci\xF3n fall\xF3",
|
|
22115
|
+
"feedback.deleteFailed": "La eliminaci\xF3n fall\xF3",
|
|
22116
|
+
"feedback.requestFailed": "La solicitud fall\xF3",
|
|
22117
|
+
"feedback.triggered": "Tarea #{id} encolada",
|
|
22118
|
+
"feedback.taskCreated": "Tarea #{id} encolada",
|
|
22119
|
+
"feedback.taskUpdated": "Tarea #{id} actualizada",
|
|
22120
|
+
"feedback.taskCloned": "Tarea #{id} clonada",
|
|
22121
|
+
"feedback.taskRetried": "Tarea #{id} reencolada",
|
|
22122
|
+
"feedback.taskCancelled": "Tarea #{id} cancelada",
|
|
22123
|
+
"feedback.taskDeleted": "Tarea #{id} eliminada",
|
|
22124
|
+
"feedback.batchDone": "Lote completado ({count})",
|
|
22125
|
+
"feedback.templateCreated": "Programaci\xF3n creada",
|
|
22126
|
+
"feedback.templateUpdated": "Programaci\xF3n actualizada",
|
|
22127
|
+
"feedback.configSaved": "Ajustes guardados",
|
|
22128
|
+
"feedback.sessionCommandCopied": "Comando de sesi\xF3n copiado",
|
|
22129
|
+
"feedback.commandCopied": "Comando copiado",
|
|
22130
|
+
"feedback.restarting": "Reiniciando Gateway\u2026",
|
|
22131
|
+
"feedback.restartTimeout": "El Gateway a\xFAn no se ha recuperado.",
|
|
22132
|
+
"feedback.databaseCleared": "Base de datos vaciada. Copia de seguridad: {path}",
|
|
22133
|
+
"feedback.copyFailed": "La copia fall\xF3",
|
|
22134
|
+
"a11y.skip": "Saltar al contenido",
|
|
22135
|
+
"a11y.refreshing": "Actualizando"
|
|
22136
|
+
};
|
|
22137
|
+
|
|
22138
|
+
// src/web/locales/zh-CN.ts
|
|
22139
|
+
var ZH_CN = {
|
|
22140
|
+
"app.name": "SuperTask",
|
|
22141
|
+
"app.local": "\u672C\u5730",
|
|
22142
|
+
"nav.tasks": "\u4EFB\u52A1",
|
|
22143
|
+
"nav.templates": "\u5B9A\u65F6",
|
|
22144
|
+
"nav.runs": "\u6267\u884C",
|
|
22145
|
+
"nav.system": "\u7CFB\u7EDF",
|
|
22146
|
+
"page.tasks.title": "\u4EFB\u52A1\u961F\u5217",
|
|
22147
|
+
"page.templates.title": "\u5B9A\u65F6\u4EFB\u52A1",
|
|
22148
|
+
"page.runs.title": "\u6267\u884C\u8BB0\u5F55",
|
|
22149
|
+
"page.system.title": "\u7CFB\u7EDF\u8BBE\u7F6E",
|
|
22150
|
+
"theme.label": "\u4E3B\u9898",
|
|
22151
|
+
"theme.system": "\u8DDF\u968F\u7CFB\u7EDF",
|
|
22152
|
+
"theme.light": "\u6D45\u8272",
|
|
22153
|
+
"theme.dark": "\u6DF1\u8272",
|
|
22154
|
+
"language.label": "\u8BED\u8A00",
|
|
22155
|
+
"action.refresh": "\u5237\u65B0",
|
|
22156
|
+
"action.createTask": "\u65B0\u5EFA\u4EFB\u52A1",
|
|
22157
|
+
"action.createTemplate": "\u65B0\u5EFA\u5B9A\u65F6",
|
|
22158
|
+
"action.saveTask": "\u52A0\u5165\u961F\u5217",
|
|
22159
|
+
"action.updateTask": "\u4FDD\u5B58",
|
|
22160
|
+
"action.saveTemplate": "\u4FDD\u5B58",
|
|
22161
|
+
"action.edit": "\u7F16\u8F91",
|
|
22162
|
+
"action.clone": "\u514B\u9686\u518D\u8DD1",
|
|
22163
|
+
"action.details": "\u8BE6\u60C5",
|
|
22164
|
+
"action.retry": "\u91CD\u8BD5",
|
|
22165
|
+
"action.cancel": "\u53D6\u6D88",
|
|
22166
|
+
"action.delete": "\u5220\u9664",
|
|
22167
|
+
"action.trigger": "\u7ACB\u5373\u8FD0\u884C",
|
|
22168
|
+
"action.enable": "\u542F\u7528",
|
|
22169
|
+
"action.disable": "\u7981\u7528",
|
|
22170
|
+
"action.logs": "\u65E5\u5FD7",
|
|
22171
|
+
"action.hideLogs": "\u6536\u8D77",
|
|
22172
|
+
"action.save": "\u4FDD\u5B58\u914D\u7F6E",
|
|
22173
|
+
"action.saveAndRestart": "\u4FDD\u5B58\u5E76\u91CD\u542F",
|
|
22174
|
+
"action.clearDatabase": "\u6E05\u7A7A\u6570\u636E",
|
|
22175
|
+
"action.copy": "\u590D\u5236",
|
|
22176
|
+
"action.copyCommand": "\u590D\u5236\u547D\u4EE4",
|
|
22177
|
+
"action.continueSession": "\u7EE7\u7EED\u4F1A\u8BDD",
|
|
22178
|
+
"action.chooseFolder": "\u6D4F\u89C8",
|
|
22179
|
+
"action.home": "\u4E3B\u76EE\u5F55",
|
|
22180
|
+
"action.up": "\u4E0A\u7EA7",
|
|
22181
|
+
"action.showHidden": "\u663E\u793A\u9690\u85CF",
|
|
22182
|
+
"action.hideHidden": "\u9690\u85CF\u70B9\u76EE\u5F55",
|
|
22183
|
+
"action.chooseThisFolder": "\u9009\u62E9\u6B64\u76EE\u5F55",
|
|
22184
|
+
"action.close": "\u5173\u95ED",
|
|
22185
|
+
"action.confirm": "\u786E\u8BA4",
|
|
22186
|
+
"action.clearSelection": "\u53D6\u6D88\u9009\u62E9",
|
|
22187
|
+
"action.viewTasks": "\u67E5\u770B\u4EFB\u52A1",
|
|
22188
|
+
"action.more": "\u66F4\u591A",
|
|
22189
|
+
"action.selectAll": "\u5168\u9009",
|
|
22190
|
+
"action.openMenu": "\u6253\u5F00\u5BFC\u822A",
|
|
22191
|
+
"filter.all": "\u5168\u90E8",
|
|
22192
|
+
"filter.searchTasks": "\u641C\u7D22\u4EFB\u52A1\u3001\u6279\u6B21\u6216 #ID\u2026",
|
|
22193
|
+
"filter.allAgents": "\u5168\u90E8 Agent",
|
|
22194
|
+
"filter.allBatches": "\u5168\u90E8\u6279\u6B21",
|
|
22195
|
+
"filter.noResults": "\u65E0\u5339\u914D\u4EFB\u52A1",
|
|
22196
|
+
"filter.templateScope": "\u6A21\u677F #{id}",
|
|
22197
|
+
"filter.clearFilter": "\u6E05\u9664\u7B5B\u9009",
|
|
22198
|
+
"projects.title": "\u9879\u76EE",
|
|
22199
|
+
"projects.all": "\u5168\u90E8\u9879\u76EE",
|
|
22200
|
+
"projects.legacy": "\u672A\u5206\u7EC4",
|
|
22201
|
+
"projects.counts": "\u8FD0\u884C {running} \xB7 \u6392\u961F {pending} \xB7 \u5F02\u5E38 {failed}",
|
|
22202
|
+
"projects.successRate": "{rate}%",
|
|
22203
|
+
"projects.rate7d": "\u8FD1 7 \u5929\u6210\u529F\u7387",
|
|
22204
|
+
"stats.pending": "\u6392\u961F\u4E2D",
|
|
22205
|
+
"stats.running": "\u8FD0\u884C\u4E2D",
|
|
22206
|
+
"stats.done": "\u5DF2\u5B8C\u6210",
|
|
22207
|
+
"stats.failedDead": "\u5F02\u5E38",
|
|
22208
|
+
"stats.templates": "\u5168\u90E8",
|
|
22209
|
+
"stats.enabled": "\u5DF2\u542F\u7528",
|
|
22210
|
+
"stats.disabled": "\u5DF2\u7981\u7528",
|
|
22211
|
+
"stats.records": "\u603B\u8BB0\u5F55",
|
|
22212
|
+
"stats.pageDone": "\u6210\u529F",
|
|
22213
|
+
"stats.pageFailed": "\u5931\u8D25",
|
|
22214
|
+
"stats.pageRunning": "\u8FD0\u884C\u4E2D",
|
|
22215
|
+
"table.id": "ID",
|
|
22216
|
+
"table.task": "\u4EFB\u52A1",
|
|
22217
|
+
"table.name": "\u540D\u79F0",
|
|
22218
|
+
"table.agent": "Agent",
|
|
22219
|
+
"table.model": "\u6A21\u578B",
|
|
22220
|
+
"table.status": "\u72B6\u6001",
|
|
22221
|
+
"table.duration": "\u8017\u65F6",
|
|
22222
|
+
"table.retries": "\u91CD\u8BD5",
|
|
22223
|
+
"table.actions": "\u64CD\u4F5C",
|
|
22224
|
+
"table.type": "\u7C7B\u578B",
|
|
22225
|
+
"table.rule": "\u89C4\u5219",
|
|
22226
|
+
"table.lastRun": "\u4E0A\u6B21\u6267\u884C",
|
|
22227
|
+
"table.nextRun": "\u4E0B\u6B21\u6267\u884C",
|
|
22228
|
+
"table.run": "\u6267\u884C",
|
|
22229
|
+
"table.session": "\u4F1A\u8BDD",
|
|
22230
|
+
"table.heartbeat": "\u5FC3\u8DF3",
|
|
22231
|
+
"table.startedAt": "\u5F00\u59CB\u65F6\u95F4",
|
|
22232
|
+
"table.pid": "\u8FDB\u7A0B",
|
|
22233
|
+
"table.pidTooltip": "Worker \u203A Guardian",
|
|
22234
|
+
"status.pending": "\u6392\u961F\u4E2D",
|
|
22235
|
+
"status.running": "\u8FD0\u884C\u4E2D",
|
|
22236
|
+
"status.done": "\u5DF2\u5B8C\u6210",
|
|
22237
|
+
"status.failed": "\u7B49\u5F85\u91CD\u8BD5",
|
|
22238
|
+
"status.dead_letter": "\u5DF2\u505C\u6B62",
|
|
22239
|
+
"status.cancelled": "\u5DF2\u53D6\u6D88",
|
|
22240
|
+
"status.unknown": "\u672A\u77E5",
|
|
22241
|
+
"status.executionStillActive": "\u8FDB\u7A0B\u9000\u51FA\u4E2D",
|
|
22242
|
+
"status.waitingDep": "\u7B49 #{id}",
|
|
22243
|
+
"status.batchBusy": "\u6279\u6B21\u5360\u7528",
|
|
22244
|
+
"status.retryIn": "{duration}\u540E\u91CD\u8BD5",
|
|
22245
|
+
"runStatus.running": "\u8FD0\u884C\u4E2D",
|
|
22246
|
+
"runStatus.done": "\u6210\u529F",
|
|
22247
|
+
"runStatus.failed": "\u5931\u8D25",
|
|
22248
|
+
"schedule.cron": "Cron",
|
|
22249
|
+
"schedule.recurring": "\u5FAA\u73AF",
|
|
22250
|
+
"schedule.delayed": "\u4E00\u6B21\u6027",
|
|
22251
|
+
"schedule.unknown": "\u672A\u77E5",
|
|
22252
|
+
"schedule.enabled": "\u542F\u7528",
|
|
22253
|
+
"schedule.disabled": "\u7981\u7528",
|
|
22254
|
+
"schedule.overdue": "\u5373\u5C06\u6267\u884C",
|
|
22255
|
+
"schedule.seconds": "{count} \u79D2",
|
|
22256
|
+
"schedule.minutes": "{count} \u5206\u949F",
|
|
22257
|
+
"schedule.hours": "{count} \u5C0F\u65F6",
|
|
22258
|
+
"schedule.days": "{count} \u5929",
|
|
22259
|
+
"schedule.cronPreset.hourly": "\u6BCF\u5C0F\u65F6",
|
|
22260
|
+
"schedule.cronPreset.daily9": "\u6BCF\u5929 09:00",
|
|
22261
|
+
"schedule.cronPreset.weekday9": "\u5DE5\u4F5C\u65E5 09:00",
|
|
22262
|
+
"schedule.cronPreset.weeklyMon": "\u6BCF\u5468\u4E00 09:00",
|
|
22263
|
+
"duration.seconds": "\u79D2",
|
|
22264
|
+
"duration.minutes": "\u5206\u949F",
|
|
22265
|
+
"duration.hours": "\u5C0F\u65F6",
|
|
22266
|
+
"duration.days": "\u5929",
|
|
22267
|
+
"duration.every": "\u6BCF {duration}",
|
|
22268
|
+
"duration.immediate": "\u7ACB\u5373",
|
|
22269
|
+
"duration.systemDefault": "\u9ED8\u8BA4\u8D85\u65F6",
|
|
22270
|
+
"duration.custom": "\u81EA\u5B9A\u4E49",
|
|
22271
|
+
"duration.unit": "\u5355\u4F4D",
|
|
22272
|
+
"pagination.previous": "\u4E0A\u4E00\u9875",
|
|
22273
|
+
"pagination.next": "\u4E0B\u4E00\u9875",
|
|
22274
|
+
"pagination.summary": "{page} / {pages} \xB7 \u5171 {total} \u6761",
|
|
22275
|
+
"empty.tasks": "\u6682\u65E0\u4EFB\u52A1",
|
|
22276
|
+
"empty.templates": "\u6682\u65E0\u5B9A\u65F6\u4EFB\u52A1",
|
|
22277
|
+
"empty.runs": "\u6682\u65E0\u6267\u884C\u8BB0\u5F55",
|
|
22278
|
+
"empty.running": "\u5F53\u524D\u65E0\u8FD0\u884C\u4E2D\u4EFB\u52A1",
|
|
22279
|
+
"task.createTitle": "\u65B0\u5EFA\u4EFB\u52A1",
|
|
22280
|
+
"task.editTitle": "\u7F16\u8F91\u4EFB\u52A1",
|
|
22281
|
+
"task.projectExisting": "\u8FD0\u884C {running} \xB7 \u6392\u961F {pending} \xB7 \u5F02\u5E38 {failed}",
|
|
22282
|
+
"task.projectNew": "\u65B0\u9879\u76EE\u76EE\u5F55",
|
|
22283
|
+
"template.createTitle": "\u65B0\u5EFA\u5B9A\u65F6\u4EFB\u52A1",
|
|
22284
|
+
"template.editTitle": "\u7F16\u8F91\u5B9A\u65F6\u4EFB\u52A1",
|
|
22285
|
+
"template.name": "\u540D\u79F0",
|
|
22286
|
+
"template.cwd": "\u9879\u76EE\u76EE\u5F55",
|
|
22287
|
+
"template.agent": "Agent",
|
|
22288
|
+
"template.model": "\u6A21\u578B",
|
|
22289
|
+
"template.variant": "Variant",
|
|
22290
|
+
"template.prompt": "\u63D0\u793A\u8BCD",
|
|
22291
|
+
"template.dependsOn": "\u524D\u7F6E\u4F9D\u8D56",
|
|
22292
|
+
"template.dependsOnNone": "\u65E0\u4F9D\u8D56",
|
|
22293
|
+
"template.scheduleType": "\u8C03\u5EA6\u7C7B\u578B",
|
|
22294
|
+
"template.cronExpr": "Cron \u8868\u8FBE\u5F0F",
|
|
22295
|
+
"template.interval": "\u6267\u884C\u95F4\u9694",
|
|
22296
|
+
"template.runAt": "\u6267\u884C\u65F6\u95F4",
|
|
22297
|
+
"template.advanced": "\u9AD8\u7EA7\u9009\u9879",
|
|
22298
|
+
"template.category": "\u5206\u7C7B",
|
|
22299
|
+
"template.batchId": "\u6279\u6B21",
|
|
22300
|
+
"template.importance": "\u91CD\u8981\u5EA6",
|
|
22301
|
+
"template.urgency": "\u7D27\u6025\u5EA6",
|
|
22302
|
+
"template.maxInstances": "\u5E76\u53D1\u4E0A\u9650",
|
|
22303
|
+
"template.maxRetries": "\u91CD\u8BD5\u6B21\u6570",
|
|
22304
|
+
"template.retryBackoff": "\u9000\u907F\u57FA\u51C6",
|
|
22305
|
+
"template.timeout": "\u8D85\u65F6",
|
|
22306
|
+
"catalog.chooseProject": "\u8BF7\u5148\u9009\u76EE\u5F55",
|
|
22307
|
+
"catalog.defaultProvider": "\u9ED8\u8BA4",
|
|
22308
|
+
"catalog.defaultModel": "\u9ED8\u8BA4\u6A21\u578B",
|
|
22309
|
+
"catalog.defaultVariant": "\u9ED8\u8BA4",
|
|
22310
|
+
"catalog.loading": "\u52A0\u8F7D\u76EE\u5F55\u80FD\u529B\u2026",
|
|
22311
|
+
"catalog.loaded": "{agents} \u4E2A Agent \xB7 {models} \u4E2A\u6A21\u578B",
|
|
22312
|
+
"catalog.failed": "\u8BFB\u53D6\u5931\u8D25\uFF1A{error}",
|
|
22313
|
+
"catalog.primary": "\u4E3B",
|
|
22314
|
+
"catalog.subagent": "\u5B50",
|
|
22315
|
+
"catalog.all": "\u901A\u7528",
|
|
22316
|
+
"directory.title": "\u9009\u62E9\u9879\u76EE\u76EE\u5F55",
|
|
22317
|
+
"directory.empty": "\u65E0\u5B50\u76EE\u5F55",
|
|
22318
|
+
"system.worker": "Worker",
|
|
22319
|
+
"system.scheduler": "Scheduler",
|
|
22320
|
+
"system.watchdog": "Watchdog",
|
|
22321
|
+
"system.watchdogCleanup": "\u5386\u53F2\u6E05\u7406",
|
|
22322
|
+
"system.health": "\u8FD0\u884C\u5065\u5EB7",
|
|
22323
|
+
"system.healthy": "\u6B63\u5E38",
|
|
22324
|
+
"system.degraded": "\u964D\u7EA7",
|
|
22325
|
+
"system.reconnecting": "\u91CD\u8FDE\u4E2D",
|
|
22326
|
+
"system.disabled": "\u505C\u7528",
|
|
22327
|
+
"system.uptime": "\u8FD0\u884C\u65F6\u957F",
|
|
22328
|
+
"system.failures": "\u8FDE\u7EED\u5931\u8D25",
|
|
22329
|
+
"system.lastActivity": "\u6700\u8FD1\u6D3B\u8DC3",
|
|
22330
|
+
"system.lock": "\u5B9E\u4F8B\u9501",
|
|
22331
|
+
"system.concurrency": "\u5E76\u53D1",
|
|
22332
|
+
"system.maxConcurrency": "\u6700\u5927\u5E76\u53D1",
|
|
22333
|
+
"system.pollInterval": "\u8F6E\u8BE2\u95F4\u9694",
|
|
22334
|
+
"system.heartbeatInterval": "\u5FC3\u8DF3\u95F4\u9694",
|
|
22335
|
+
"system.taskTimeout": "\u9ED8\u8BA4\u8D85\u65F6",
|
|
22336
|
+
"system.schedulerEnabled": "\u542F\u7528\u8C03\u5EA6\u5668",
|
|
22337
|
+
"system.checkInterval": "\u68C0\u67E5\u95F4\u9694",
|
|
22338
|
+
"system.activeTemplates": "\u542F\u7528\u6A21\u677F",
|
|
22339
|
+
"system.heartbeatTimeout": "\u5FC3\u8DF3\u8D85\u65F6",
|
|
22340
|
+
"system.cleanupInterval": "\u6E05\u7406\u95F4\u9694",
|
|
22341
|
+
"system.retentionDays": "\u4FDD\u7559\u5929\u6570",
|
|
22342
|
+
"system.milliseconds": "ms",
|
|
22343
|
+
"system.seconds": "s",
|
|
22344
|
+
"system.minutes": "min",
|
|
22345
|
+
"system.hours": "h",
|
|
22346
|
+
"system.days": "d",
|
|
22347
|
+
"system.configForeground": "\u524D\u53F0\u8FD0\u884C \xB7 \u91CD\u542F\u540E\u751F\u6548",
|
|
22348
|
+
"system.configApplied": "\u8FD0\u884C\u503C\u4E0E\u5DF2\u4FDD\u5B58\u914D\u7F6E\u4E00\u81F4",
|
|
22349
|
+
"system.configPending": "\u5B58\u5728\u5F85\u751F\u6548\u6539\u52A8 \xB7 \u91CD\u542F Gateway \u540E\u5E94\u7528",
|
|
22350
|
+
"system.configRestartManually": "\u5B58\u5728\u5F85\u751F\u6548\u6539\u52A8 \xB7 \u8BF7\u624B\u52A8\u91CD\u542F Gateway",
|
|
22351
|
+
"system.savedValue": "\u5DF2\u4FDD\u5B58",
|
|
22352
|
+
"system.runtimeValue": "\u8FD0\u884C\u4E2D",
|
|
22353
|
+
"system.runningTasks": "\u8FD0\u884C\u4E2D\u6267\u884C \xB7 {running} / {limit}",
|
|
22354
|
+
"system.configFile": "\u914D\u7F6E\u6587\u4EF6",
|
|
22355
|
+
"system.path": "\u8DEF\u5F84",
|
|
22356
|
+
"system.fileExists": "\u6587\u4EF6\u72B6\u6001",
|
|
22357
|
+
"system.yes": "\u5DF2\u5B58\u5728",
|
|
22358
|
+
"system.noDefault": "\u9ED8\u8BA4\u914D\u7F6E",
|
|
22359
|
+
"system.danger": "\u5371\u9669\u64CD\u4F5C",
|
|
22360
|
+
"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",
|
|
22361
|
+
"logs.command": "\u6267\u884C\u547D\u4EE4",
|
|
22362
|
+
"logs.output": "\u8F93\u51FA",
|
|
22363
|
+
"logs.error": "\u9519\u8BEF",
|
|
22364
|
+
"logs.tools": "\u5DE5\u5177\u8C03\u7528",
|
|
22365
|
+
"logs.raw": "\u539F\u59CB JSONL",
|
|
22366
|
+
"logs.noText": "\u6682\u65E0\u6587\u672C\u8F93\u51FA",
|
|
22367
|
+
"logs.loading": "\u52A0\u8F7D\u65E5\u5FD7\u2026",
|
|
22368
|
+
"logs.live": "\u5B9E\u65F6\u6D41",
|
|
22369
|
+
"logs.steps": "\u6B65\u9AA4",
|
|
22030
22370
|
"logs.tokens": "Tokens",
|
|
22031
|
-
"logs.tokInput": "
|
|
22032
|
-
"logs.tokOutput": "
|
|
22033
|
-
"logs.tokReasoning": "
|
|
22034
|
-
"logs.tokCache": "
|
|
22035
|
-
"logs.tokCacheRead": "
|
|
22036
|
-
"logs.tokCacheWrite": "
|
|
22037
|
-
"logs.cost": "
|
|
22038
|
-
"logs.autoScroll": "
|
|
22039
|
-
"logs.rootCause": "
|
|
22040
|
-
"
|
|
22041
|
-
"
|
|
22042
|
-
"inspector.tab.
|
|
22043
|
-
"inspector.
|
|
22044
|
-
"inspector.
|
|
22045
|
-
"inspector.
|
|
22046
|
-
"inspector.
|
|
22047
|
-
"
|
|
22048
|
-
"
|
|
22049
|
-
"details.
|
|
22050
|
-
"details.
|
|
22051
|
-
"details.
|
|
22052
|
-
"details.
|
|
22053
|
-
"details.raw": "Raw JSON",
|
|
22054
|
-
"details.copySuccess": "Copied",
|
|
22371
|
+
"logs.tokInput": "\u8F93\u5165",
|
|
22372
|
+
"logs.tokOutput": "\u8F93\u51FA",
|
|
22373
|
+
"logs.tokReasoning": "\u63A8\u7406",
|
|
22374
|
+
"logs.tokCache": "\u7F13\u5B58",
|
|
22375
|
+
"logs.tokCacheRead": "\u8BFB",
|
|
22376
|
+
"logs.tokCacheWrite": "\u5199",
|
|
22377
|
+
"logs.cost": "\u8D39\u7528",
|
|
22378
|
+
"logs.autoScroll": "\u81EA\u52A8\u6EDA\u5E95",
|
|
22379
|
+
"logs.rootCause": "\u6839\u56E0",
|
|
22380
|
+
"inspector.tab.overview": "\u6982\u89C8",
|
|
22381
|
+
"inspector.tab.output": "\u5B9E\u65F6\u8F93\u51FA",
|
|
22382
|
+
"inspector.tab.history": "\u6267\u884C\u5386\u53F2",
|
|
22383
|
+
"inspector.dependencies": "\u4F9D\u8D56\u5173\u7CFB",
|
|
22384
|
+
"inspector.upstream": "\u524D\u7F6E",
|
|
22385
|
+
"inspector.downstream": "\u4E0B\u6E38",
|
|
22386
|
+
"inspector.failureSummary": "\u5931\u8D25\u539F\u56E0",
|
|
22387
|
+
"details.title": "\u8BE6\u60C5",
|
|
22388
|
+
"details.taskTitle": "\u4EFB\u52A1 #{id}",
|
|
22389
|
+
"details.runTitle": "\u6267\u884C #{id}",
|
|
22390
|
+
"details.templateTitle": "\u6A21\u677F #{id}",
|
|
22391
|
+
"details.raw": "\u539F\u59CB JSON",
|
|
22392
|
+
"details.copySuccess": "\u5DF2\u590D\u5236",
|
|
22055
22393
|
"details.id": "ID",
|
|
22056
|
-
"details.project": "
|
|
22394
|
+
"details.project": "\u9879\u76EE\u76EE\u5F55",
|
|
22057
22395
|
"details.variant": "Variant",
|
|
22058
|
-
"details.prompt": "
|
|
22059
|
-
"details.result": "
|
|
22060
|
-
"details.category": "
|
|
22061
|
-
"details.batch": "
|
|
22062
|
-
"details.dependency": "
|
|
22063
|
-
"details.importance": "
|
|
22064
|
-
"details.urgency": "
|
|
22065
|
-
"details.retryCount": "
|
|
22066
|
-
"details.retryBackoff": "
|
|
22067
|
-
"details.timeout": "
|
|
22068
|
-
"details.createdAt": "
|
|
22069
|
-
"details.updatedAt": "
|
|
22070
|
-
"details.startedAt": "
|
|
22071
|
-
"details.finishedAt": "
|
|
22072
|
-
"details.scheduledAt": "
|
|
22073
|
-
"details.enabled": "
|
|
22074
|
-
"details.scheduleRule": "
|
|
22075
|
-
"details.maxInstances": "
|
|
22076
|
-
"details.maxRetries": "
|
|
22077
|
-
"details.lastRun": "
|
|
22078
|
-
"details.nextRun": "
|
|
22079
|
-
"details.taskId": "
|
|
22080
|
-
"details.session": "
|
|
22081
|
-
"details.heartbeat": "
|
|
22082
|
-
"details.process": "
|
|
22083
|
-
"details.history": "
|
|
22084
|
-
"details.noHistory": "
|
|
22396
|
+
"details.prompt": "\u63D0\u793A\u8BCD",
|
|
22397
|
+
"details.result": "\u8F93\u51FA",
|
|
22398
|
+
"details.category": "\u5206\u7C7B",
|
|
22399
|
+
"details.batch": "\u6279\u6B21",
|
|
22400
|
+
"details.dependency": "\u4F9D\u8D56",
|
|
22401
|
+
"details.importance": "\u91CD\u8981\u5EA6",
|
|
22402
|
+
"details.urgency": "\u7D27\u6025\u5EA6",
|
|
22403
|
+
"details.retryCount": "\u91CD\u8BD5",
|
|
22404
|
+
"details.retryBackoff": "\u9000\u907F\u57FA\u51C6",
|
|
22405
|
+
"details.timeout": "\u8D85\u65F6",
|
|
22406
|
+
"details.createdAt": "\u521B\u5EFA\u65F6\u95F4",
|
|
22407
|
+
"details.updatedAt": "\u66F4\u65B0\u65F6\u95F4",
|
|
22408
|
+
"details.startedAt": "\u5F00\u59CB\u65F6\u95F4",
|
|
22409
|
+
"details.finishedAt": "\u5B8C\u6210\u65F6\u95F4",
|
|
22410
|
+
"details.scheduledAt": "\u8BA1\u5212\u65F6\u95F4",
|
|
22411
|
+
"details.enabled": "\u542F\u7528",
|
|
22412
|
+
"details.scheduleRule": "\u8C03\u5EA6\u89C4\u5219",
|
|
22413
|
+
"details.maxInstances": "\u5E76\u53D1\u4E0A\u9650",
|
|
22414
|
+
"details.maxRetries": "\u91CD\u8BD5\u4E0A\u9650",
|
|
22415
|
+
"details.lastRun": "\u4E0A\u6B21\u6267\u884C",
|
|
22416
|
+
"details.nextRun": "\u4E0B\u6B21\u6267\u884C",
|
|
22417
|
+
"details.taskId": "\u4EFB\u52A1",
|
|
22418
|
+
"details.session": "\u4F1A\u8BDD",
|
|
22419
|
+
"details.heartbeat": "\u5FC3\u8DF3",
|
|
22420
|
+
"details.process": "\u8FDB\u7A0B",
|
|
22421
|
+
"details.history": "\u6267\u884C\u5386\u53F2",
|
|
22422
|
+
"details.noHistory": "\u6682\u65E0\u6267\u884C\u8BB0\u5F55",
|
|
22085
22423
|
"details.none": "\u2014",
|
|
22086
|
-
"details.default": "
|
|
22087
|
-
"details.enabledYes": "
|
|
22088
|
-
"details.enabledNo": "
|
|
22089
|
-
"batch.selected": "{count}
|
|
22090
|
-
"batch.retry": "
|
|
22091
|
-
"batch.cancel": "
|
|
22092
|
-
"batch.delete": "
|
|
22093
|
-
"dialog.cancelTask": "
|
|
22094
|
-
"dialog.cancelTaskBody": "
|
|
22095
|
-
"dialog.retryTask": "
|
|
22096
|
-
"dialog.retryTaskBody": "
|
|
22097
|
-
"dialog.deleteTask": "
|
|
22098
|
-
"dialog.deleteTaskBody": "
|
|
22099
|
-
"dialog.batchRetry": "
|
|
22100
|
-
"dialog.batchRetryBody": "
|
|
22101
|
-
"dialog.batchCancel": "
|
|
22102
|
-
"dialog.batchCancelBody": "
|
|
22103
|
-
"dialog.batchDelete": "
|
|
22104
|
-
"dialog.batchDeleteBody": "
|
|
22105
|
-
"dialog.disableTemplate": "
|
|
22106
|
-
"dialog.disableTemplateBody": "
|
|
22107
|
-
"dialog.deleteTemplate": "
|
|
22108
|
-
"dialog.deleteTemplateBody": "
|
|
22109
|
-
"dialog.triggerTemplate": "
|
|
22110
|
-
"dialog.triggerTemplateBody": "
|
|
22111
|
-
"dialog.clearTitle": "
|
|
22112
|
-
"dialog.clearBody": "
|
|
22113
|
-
"dialog.clearInstruction": "
|
|
22114
|
-
"dialog.restartGateway": "
|
|
22115
|
-
"dialog.restartGatewayBody": "
|
|
22116
|
-
"dialog.restartGatewayRunningBody": "{count}
|
|
22117
|
-
"dialog.copyManualTitle": "
|
|
22118
|
-
"dialog.copyManualBody": "
|
|
22119
|
-
"feedback.retryFailed": "
|
|
22120
|
-
"feedback.cancelFailed": "
|
|
22121
|
-
"feedback.deleteFailed": "
|
|
22122
|
-
"feedback.requestFailed": "
|
|
22123
|
-
"feedback.triggered": "
|
|
22124
|
-
"feedback.taskCreated": "
|
|
22125
|
-
"feedback.taskUpdated": "
|
|
22126
|
-
"feedback.taskCloned": "
|
|
22127
|
-
"feedback.taskRetried": "
|
|
22128
|
-
"feedback.taskCancelled": "
|
|
22129
|
-
"feedback.taskDeleted": "
|
|
22130
|
-
"feedback.batchDone": "
|
|
22131
|
-
"feedback.templateCreated": "
|
|
22132
|
-
"feedback.templateUpdated": "
|
|
22133
|
-
"feedback.configSaved": "
|
|
22134
|
-
"feedback.sessionCommandCopied": "
|
|
22135
|
-
"feedback.commandCopied": "
|
|
22136
|
-
"feedback.restarting": "
|
|
22137
|
-
"feedback.restartTimeout": "Gateway
|
|
22138
|
-
"feedback.databaseCleared": "
|
|
22139
|
-
"feedback.copyFailed": "
|
|
22140
|
-
"a11y.skip": "
|
|
22141
|
-
"a11y.refreshing": "
|
|
22424
|
+
"details.default": "\u9ED8\u8BA4",
|
|
22425
|
+
"details.enabledYes": "\u5DF2\u542F\u7528",
|
|
22426
|
+
"details.enabledNo": "\u5DF2\u7981\u7528",
|
|
22427
|
+
"batch.selected": "\u5DF2\u9009 {count} \u9879",
|
|
22428
|
+
"batch.retry": "\u6279\u91CF\u91CD\u8BD5",
|
|
22429
|
+
"batch.cancel": "\u6279\u91CF\u53D6\u6D88",
|
|
22430
|
+
"batch.delete": "\u6279\u91CF\u5220\u9664",
|
|
22431
|
+
"dialog.cancelTask": "\u53D6\u6D88\u4EFB\u52A1 #{id}",
|
|
22432
|
+
"dialog.cancelTaskBody": "\u4EFB\u52A1\u5C06\u505C\u6B62\u6392\u961F\u6216\u7EC8\u6B62\u5F53\u524D\u6267\u884C\u3002",
|
|
22433
|
+
"dialog.retryTask": "\u91CD\u8BD5\u4EFB\u52A1 #{id}",
|
|
22434
|
+
"dialog.retryTaskBody": "\u91CD\u7F6E\u91CD\u8BD5\u8BA1\u6570\u5E76\u91CD\u65B0\u52A0\u5165\u961F\u5217\u3002",
|
|
22435
|
+
"dialog.deleteTask": "\u5220\u9664\u4EFB\u52A1 #{id}",
|
|
22436
|
+
"dialog.deleteTaskBody": "\u5220\u9664\u8BE5\u4EFB\u52A1\u53CA\u5176\u5168\u90E8\u6267\u884C\u8BB0\u5F55\uFF0C\u4E0D\u53EF\u6062\u590D\u3002",
|
|
22437
|
+
"dialog.batchRetry": "\u6279\u91CF\u91CD\u8BD5 {count} \u4E2A\u4EFB\u52A1",
|
|
22438
|
+
"dialog.batchRetryBody": "\u4EC5\u5931\u8D25\u6216\u5DF2\u505C\u6B62\u7684\u4EFB\u52A1\u4F1A\u88AB\u91CD\u65B0\u5165\u961F\u3002",
|
|
22439
|
+
"dialog.batchCancel": "\u6279\u91CF\u53D6\u6D88 {count} \u4E2A\u4EFB\u52A1",
|
|
22440
|
+
"dialog.batchCancelBody": "\u6392\u961F\u4E2D\u3001\u8FD0\u884C\u4E2D\u6216\u7B49\u5F85\u91CD\u8BD5\u7684\u4EFB\u52A1\u5C06\u88AB\u53D6\u6D88\u3002",
|
|
22441
|
+
"dialog.batchDelete": "\u6279\u91CF\u5220\u9664 {count} \u4E2A\u4EFB\u52A1",
|
|
22442
|
+
"dialog.batchDeleteBody": "\u5220\u9664\u6240\u9009\u975E\u8FD0\u884C\u4E2D\u4EFB\u52A1\u53CA\u5176\u6267\u884C\u8BB0\u5F55\uFF0C\u4E0D\u53EF\u6062\u590D\u3002",
|
|
22443
|
+
"dialog.disableTemplate": "\u7981\u7528\u5B9A\u65F6\u4EFB\u52A1",
|
|
22444
|
+
"dialog.disableTemplateBody": "\u7981\u7528\u540E\u4E0D\u518D\u81EA\u52A8\u521B\u5EFA\u65B0\u4EFB\u52A1\u3002",
|
|
22445
|
+
"dialog.deleteTemplate": "\u5220\u9664\u5B9A\u65F6\u4EFB\u52A1",
|
|
22446
|
+
"dialog.deleteTemplateBody": "\u5220\u9664\u6A21\u677F\u914D\u7F6E\uFF0C\u4E0D\u5F71\u54CD\u5DF2\u751F\u6210\u7684\u5386\u53F2\u4EFB\u52A1\u3002",
|
|
22447
|
+
"dialog.triggerTemplate": "\u7ACB\u5373\u8FD0\u884C\u5B9A\u65F6\u4EFB\u52A1",
|
|
22448
|
+
"dialog.triggerTemplateBody": "\u7ACB\u5373\u751F\u6210\u4E00\u6761\u4EFB\u52A1\u5E76\u52A0\u5165\u961F\u5217\u3002",
|
|
22449
|
+
"dialog.clearTitle": "\u6E05\u7A7A\u6570\u636E\u5E93",
|
|
22450
|
+
"dialog.clearBody": "\u6B64\u64CD\u4F5C\u4F1A\u6E05\u7A7A\u6240\u6709\u4EFB\u52A1\u3001\u6267\u884C\u8BB0\u5F55\u548C\u5B9A\u65F6\u6A21\u677F\u3002",
|
|
22451
|
+
"dialog.clearInstruction": "\u8BF7\u8F93\u5165 CLEAR \u4EE5\u786E\u8BA4\uFF1A",
|
|
22452
|
+
"dialog.restartGateway": "\u91CD\u542F Gateway",
|
|
22453
|
+
"dialog.restartGatewayBody": "\u4FDD\u5B58\u914D\u7F6E\u5E76\u7531 PM2 \u91CD\u542F Gateway \u4F7F\u65B0\u914D\u7F6E\u751F\u6548\u3002",
|
|
22454
|
+
"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",
|
|
22455
|
+
"dialog.copyManualTitle": "\u624B\u52A8\u590D\u5236",
|
|
22456
|
+
"dialog.copyManualBody": "\u6D4F\u89C8\u5668\u62E6\u622A\u4E86\u526A\u8D34\u677F\u8BBF\u95EE\uFF0C\u8BF7\u6309 \u2318C / Ctrl+C \u590D\u5236\u3002",
|
|
22457
|
+
"feedback.retryFailed": "\u91CD\u8BD5\u5931\u8D25",
|
|
22458
|
+
"feedback.cancelFailed": "\u53D6\u6D88\u5931\u8D25",
|
|
22459
|
+
"feedback.deleteFailed": "\u5220\u9664\u5931\u8D25",
|
|
22460
|
+
"feedback.requestFailed": "\u8BF7\u6C42\u5931\u8D25",
|
|
22461
|
+
"feedback.triggered": "\u5DF2\u5165\u961F\u4EFB\u52A1 #{id}",
|
|
22462
|
+
"feedback.taskCreated": "\u5DF2\u5165\u961F\u4EFB\u52A1 #{id}",
|
|
22463
|
+
"feedback.taskUpdated": "\u5DF2\u66F4\u65B0\u4EFB\u52A1 #{id}",
|
|
22464
|
+
"feedback.taskCloned": "\u5DF2\u514B\u9686\u4EFB\u52A1 #{id}",
|
|
22465
|
+
"feedback.taskRetried": "\u4EFB\u52A1 #{id} \u5DF2\u91CD\u65B0\u5165\u961F",
|
|
22466
|
+
"feedback.taskCancelled": "\u4EFB\u52A1 #{id} \u5DF2\u53D6\u6D88",
|
|
22467
|
+
"feedback.taskDeleted": "\u4EFB\u52A1 #{id} \u5DF2\u5220\u9664",
|
|
22468
|
+
"feedback.batchDone": "\u6279\u91CF\u64CD\u4F5C\u5B8C\u6210\uFF08\u6210\u529F {count}\uFF09",
|
|
22469
|
+
"feedback.templateCreated": "\u5B9A\u65F6\u4EFB\u52A1\u5DF2\u521B\u5EFA",
|
|
22470
|
+
"feedback.templateUpdated": "\u5B9A\u65F6\u4EFB\u52A1\u5DF2\u66F4\u65B0",
|
|
22471
|
+
"feedback.configSaved": "\u914D\u7F6E\u5DF2\u4FDD\u5B58",
|
|
22472
|
+
"feedback.sessionCommandCopied": "\u4F1A\u8BDD\u547D\u4EE4\u5DF2\u590D\u5236",
|
|
22473
|
+
"feedback.commandCopied": "\u6267\u884C\u547D\u4EE4\u5DF2\u590D\u5236",
|
|
22474
|
+
"feedback.restarting": "Gateway \u91CD\u542F\u4E2D\u2026",
|
|
22475
|
+
"feedback.restartTimeout": "Gateway \u5C1A\u672A\u6062\u590D\uFF0C\u8BF7\u7A0D\u540E\u5237\u65B0\u68C0\u67E5\u3002",
|
|
22476
|
+
"feedback.databaseCleared": "\u6570\u636E\u5E93\u5DF2\u6E05\u7A7A\uFF0C\u5907\u4EFD\uFF1A{path}",
|
|
22477
|
+
"feedback.copyFailed": "\u590D\u5236\u5931\u8D25",
|
|
22478
|
+
"a11y.skip": "\u8DF3\u81F3\u4E3B\u5185\u5BB9",
|
|
22479
|
+
"a11y.refreshing": "\u5237\u65B0\u4E2D"
|
|
22142
22480
|
};
|
|
22481
|
+
|
|
22482
|
+
// src/web/locales/index.ts
|
|
22483
|
+
var LOCALE_REGISTRY = [
|
|
22484
|
+
{
|
|
22485
|
+
code: "zh-CN",
|
|
22486
|
+
htmlLang: "zh-CN",
|
|
22487
|
+
intlLocale: "zh-CN",
|
|
22488
|
+
shortLabel: "\u4E2D",
|
|
22489
|
+
nativeLabel: "\u4E2D\u6587",
|
|
22490
|
+
aliases: ["zh", "zh-cn", "zh-hans", "zh-sg"],
|
|
22491
|
+
messages: ZH_CN
|
|
22492
|
+
},
|
|
22493
|
+
{
|
|
22494
|
+
code: "en",
|
|
22495
|
+
htmlLang: "en",
|
|
22496
|
+
intlLocale: "en-US",
|
|
22497
|
+
shortLabel: "EN",
|
|
22498
|
+
nativeLabel: "English",
|
|
22499
|
+
aliases: ["en", "en-us", "en-gb", "en-au", "en-ca"],
|
|
22500
|
+
messages: EN
|
|
22501
|
+
},
|
|
22502
|
+
{
|
|
22503
|
+
code: "es",
|
|
22504
|
+
htmlLang: "es",
|
|
22505
|
+
intlLocale: "es-ES",
|
|
22506
|
+
shortLabel: "ES",
|
|
22507
|
+
nativeLabel: "Espa\xF1ol",
|
|
22508
|
+
aliases: ["es", "es-es", "es-mx", "es-419", "es-ar", "es-co", "es-cl"],
|
|
22509
|
+
messages: ES
|
|
22510
|
+
}
|
|
22511
|
+
];
|
|
22512
|
+
var DEFAULT_LOCALE = "zh-CN";
|
|
22513
|
+
var SUPPORTED_LOCALES = LOCALE_REGISTRY.map((entry) => entry.code);
|
|
22514
|
+
var DEFINITIONS_BY_CODE = new Map(
|
|
22515
|
+
LOCALE_REGISTRY.map((entry) => [entry.code, entry])
|
|
22516
|
+
);
|
|
22517
|
+
var EXACT_ALIAS_MAP = /* @__PURE__ */ new Map();
|
|
22518
|
+
var PRIMARY_SUBTAG_MAP = /* @__PURE__ */ new Map();
|
|
22519
|
+
for (const entry of LOCALE_REGISTRY) {
|
|
22520
|
+
const codeKey = entry.code.toLowerCase();
|
|
22521
|
+
EXACT_ALIAS_MAP.set(codeKey, entry.code);
|
|
22522
|
+
for (const alias of entry.aliases) {
|
|
22523
|
+
EXACT_ALIAS_MAP.set(alias.toLowerCase(), entry.code);
|
|
22524
|
+
}
|
|
22525
|
+
const primary = codeKey.split("-")[0];
|
|
22526
|
+
if (primary && !PRIMARY_SUBTAG_MAP.has(primary)) {
|
|
22527
|
+
PRIMARY_SUBTAG_MAP.set(primary, entry.code);
|
|
22528
|
+
}
|
|
22529
|
+
}
|
|
22530
|
+
function getLocaleDefinition(locale) {
|
|
22531
|
+
return DEFINITIONS_BY_CODE.get(locale) ?? DEFINITIONS_BY_CODE.get(DEFAULT_LOCALE);
|
|
22532
|
+
}
|
|
22533
|
+
function parseLocale(raw2) {
|
|
22534
|
+
if (!raw2) return null;
|
|
22535
|
+
const normalized = raw2.trim().replace(/_/g, "-").toLowerCase();
|
|
22536
|
+
if (!normalized) return null;
|
|
22537
|
+
const exact = EXACT_ALIAS_MAP.get(normalized);
|
|
22538
|
+
if (exact) return exact;
|
|
22539
|
+
const primary = normalized.split("-")[0];
|
|
22540
|
+
return primary ? PRIMARY_SUBTAG_MAP.get(primary) ?? null : null;
|
|
22541
|
+
}
|
|
22542
|
+
function negotiateLocale(acceptLanguage, fallback = DEFAULT_LOCALE) {
|
|
22543
|
+
if (!acceptLanguage) return fallback;
|
|
22544
|
+
const candidates = acceptLanguage.split(",").map((part, index2) => {
|
|
22545
|
+
const [tagPart, ...params] = part.trim().split(";");
|
|
22546
|
+
let weight = 1;
|
|
22547
|
+
for (const param of params) {
|
|
22548
|
+
const match2 = /^q=([0-9.]+)$/i.exec(param.trim());
|
|
22549
|
+
if (match2) {
|
|
22550
|
+
const parsed = Number(match2[1]);
|
|
22551
|
+
if (Number.isFinite(parsed)) weight = parsed;
|
|
22552
|
+
}
|
|
22553
|
+
}
|
|
22554
|
+
return { tag: tagPart?.trim() ?? "", weight, index: index2 };
|
|
22555
|
+
}).filter((item) => item.tag.length > 0 && item.weight > 0).sort((left, right) => right.weight - left.weight || left.index - right.index);
|
|
22556
|
+
for (const candidate of candidates) {
|
|
22557
|
+
const matched = parseLocale(candidate.tag);
|
|
22558
|
+
if (matched) return matched;
|
|
22559
|
+
}
|
|
22560
|
+
return fallback;
|
|
22561
|
+
}
|
|
22562
|
+
function resolveMessage(locale, key) {
|
|
22563
|
+
const def = getLocaleDefinition(locale);
|
|
22564
|
+
return def.messages[key] ?? EN[key];
|
|
22565
|
+
}
|
|
22566
|
+
function isKnownMessageKey(key) {
|
|
22567
|
+
return key in EN;
|
|
22568
|
+
}
|
|
22569
|
+
var ALL_MESSAGE_KEYS = Object.keys(EN);
|
|
22570
|
+
|
|
22571
|
+
// src/web/i18n.ts
|
|
22143
22572
|
function t(locale, key, values = {}) {
|
|
22144
|
-
const template = (locale
|
|
22573
|
+
const template = resolveMessage(locale, key);
|
|
22145
22574
|
return template.replace(/\{([a-zA-Z]+)\}/g, (_, name) => String(values[name] ?? `{${name}}`));
|
|
22146
22575
|
}
|
|
22147
22576
|
function statusText(locale, status) {
|
|
22148
22577
|
const key = `status.${status}`;
|
|
22149
|
-
return key
|
|
22578
|
+
return isKnownMessageKey(key) ? t(locale, key) : t(locale, "status.unknown");
|
|
22150
22579
|
}
|
|
22151
22580
|
function runStatusText(locale, status) {
|
|
22152
22581
|
const key = `runStatus.${status}`;
|
|
22153
|
-
return key
|
|
22582
|
+
return isKnownMessageKey(key) ? t(locale, key) : t(locale, "status.unknown");
|
|
22154
22583
|
}
|
|
22155
22584
|
function resolveEditedRunAt(originalEpoch, originalLocal, currentLocal) {
|
|
22156
22585
|
if (originalEpoch !== null && originalLocal === currentLocal) return originalEpoch;
|
|
@@ -22160,8 +22589,8 @@ function formatRelative(timestamp2, locale) {
|
|
|
22160
22589
|
if (!timestamp2) return "\u2014";
|
|
22161
22590
|
const deltaMs = timestamp2 - Date.now();
|
|
22162
22591
|
const abs = Math.abs(deltaMs);
|
|
22163
|
-
const
|
|
22164
|
-
const formatter = new Intl.RelativeTimeFormat(
|
|
22592
|
+
const { intlLocale } = getLocaleDefinition(locale);
|
|
22593
|
+
const formatter = new Intl.RelativeTimeFormat(intlLocale, { numeric: "auto" });
|
|
22165
22594
|
if (abs < 6e4) return formatter.format(Math.round(deltaMs / 1e3), "second");
|
|
22166
22595
|
if (abs < 36e5) return formatter.format(Math.round(deltaMs / 6e4), "minute");
|
|
22167
22596
|
if (abs < 864e5) return formatter.format(Math.round(deltaMs / 36e5), "hour");
|
|
@@ -22175,7 +22604,8 @@ function formatFuture(timestamp2, locale) {
|
|
|
22175
22604
|
function formatDateTime(value, locale) {
|
|
22176
22605
|
if (!value) return "\u2014";
|
|
22177
22606
|
const date = value instanceof Date ? value : new Date(value);
|
|
22178
|
-
|
|
22607
|
+
const { intlLocale } = getLocaleDefinition(locale);
|
|
22608
|
+
return new Intl.DateTimeFormat(intlLocale, {
|
|
22179
22609
|
month: "short",
|
|
22180
22610
|
day: "2-digit",
|
|
22181
22611
|
hour: "2-digit",
|
|
@@ -22183,7 +22613,8 @@ function formatDateTime(value, locale) {
|
|
|
22183
22613
|
}).format(date);
|
|
22184
22614
|
}
|
|
22185
22615
|
function formatInterval(milliseconds, locale) {
|
|
22186
|
-
const
|
|
22616
|
+
const { intlLocale } = getLocaleDefinition(locale);
|
|
22617
|
+
const formatter = new Intl.NumberFormat(intlLocale, {
|
|
22187
22618
|
maximumFractionDigits: 1
|
|
22188
22619
|
});
|
|
22189
22620
|
if (milliseconds < 6e4) {
|
|
@@ -22216,7 +22647,7 @@ function formatCountdown(targetMs, locale) {
|
|
|
22216
22647
|
}
|
|
22217
22648
|
function clientMessages(locale) {
|
|
22218
22649
|
return Object.fromEntries(
|
|
22219
|
-
|
|
22650
|
+
ALL_MESSAGE_KEYS.map((key) => [key, t(locale, key)])
|
|
22220
22651
|
);
|
|
22221
22652
|
}
|
|
22222
22653
|
function esc(value) {
|
|
@@ -24820,10 +25251,9 @@ function buildI18nBundle(locale) {
|
|
|
24820
25251
|
url: `/assets/i18n-${locale}.js?v=${hash}`
|
|
24821
25252
|
};
|
|
24822
25253
|
}
|
|
24823
|
-
var I18N_BUNDLES =
|
|
24824
|
-
|
|
24825
|
-
|
|
24826
|
-
};
|
|
25254
|
+
var I18N_BUNDLES = Object.fromEntries(
|
|
25255
|
+
SUPPORTED_LOCALES.map((locale) => [locale, buildI18nBundle(locale)])
|
|
25256
|
+
);
|
|
24827
25257
|
var CSS_HASH = hashContent(APP_CSS);
|
|
24828
25258
|
var JS_HASH = hashContent(APP_JS);
|
|
24829
25259
|
var CSS_URL = `/assets/app.css?v=${CSS_HASH}`;
|
|
@@ -24994,7 +25424,7 @@ function renderSidebarProjects(locale, activeTab, sidebar) {
|
|
|
24994
25424
|
function renderLayout(options) {
|
|
24995
25425
|
const { locale, activeTab, topbar, body, sidebar } = options;
|
|
24996
25426
|
const pageTitle = options.title || t(locale, PAGE_TITLE_KEYS[activeTab]);
|
|
24997
|
-
const language = locale
|
|
25427
|
+
const language = getLocaleDefinition(locale).htmlLang;
|
|
24998
25428
|
const runningCount = sidebar.overview.global.activeExecution;
|
|
24999
25429
|
const issueCount = sidebar.overview.global.failed + sidebar.overview.global.dead_letter;
|
|
25000
25430
|
const healthOk = sidebar.health.status === "ok";
|
|
@@ -25033,7 +25463,7 @@ function renderLayout(options) {
|
|
|
25033
25463
|
activeTab,
|
|
25034
25464
|
activeProject: sidebar.activeProject
|
|
25035
25465
|
}).replace(/</g, "\\u003c");
|
|
25036
|
-
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"><
|
|
25466
|
+
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>`;
|
|
25037
25467
|
}
|
|
25038
25468
|
function emptyState(title) {
|
|
25039
25469
|
return `<div class="empty-state"><div><div class="empty-icon">${icon("inbox")}</div><h3>${esc(title)}</h3></div></div>`;
|
|
@@ -26099,19 +26529,18 @@ function parseRunStatus(value) {
|
|
|
26099
26529
|
return RUN_STATUSES.has(value) ? value : null;
|
|
26100
26530
|
}
|
|
26101
26531
|
function resolveLocale(c) {
|
|
26102
|
-
const requested = c.req.query("lang");
|
|
26103
|
-
if (requested
|
|
26532
|
+
const requested = parseLocale(c.req.query("lang"));
|
|
26533
|
+
if (requested) return requested;
|
|
26104
26534
|
const cookie = c.req.header("Cookie") ?? "";
|
|
26105
26535
|
const match2 = /(?:^|;\s*)supertask_locale=([^;]+)/.exec(cookie);
|
|
26106
26536
|
if (match2) {
|
|
26107
26537
|
try {
|
|
26108
|
-
const saved = decodeURIComponent(match2[1]);
|
|
26109
|
-
if (saved
|
|
26538
|
+
const saved = parseLocale(decodeURIComponent(match2[1]));
|
|
26539
|
+
if (saved) return saved;
|
|
26110
26540
|
} catch {
|
|
26111
26541
|
}
|
|
26112
26542
|
}
|
|
26113
|
-
|
|
26114
|
-
return accepted.startsWith("en") ? "en" : "zh-CN";
|
|
26543
|
+
return negotiateLocale(c.req.header("Accept-Language"));
|
|
26115
26544
|
}
|
|
26116
26545
|
function listChildDirectories(path) {
|
|
26117
26546
|
return readdirSync(path, { withFileTypes: true }).flatMap((entry) => {
|
|
@@ -26256,8 +26685,9 @@ app.use("/api/*", async (c, next) => {
|
|
|
26256
26685
|
});
|
|
26257
26686
|
app.get("/assets/app.css", (c) => serveAppCss(c));
|
|
26258
26687
|
app.get("/assets/app.js", (c) => serveAppJs(c));
|
|
26259
|
-
|
|
26260
|
-
app.get(
|
|
26688
|
+
for (const locale of SUPPORTED_LOCALES) {
|
|
26689
|
+
app.get(`/assets/i18n-${locale}.js`, (c) => serveI18nJs(c, locale));
|
|
26690
|
+
}
|
|
26261
26691
|
app.get("/health", (c) => {
|
|
26262
26692
|
const health = getGatewayHealth();
|
|
26263
26693
|
return c.json(health, health.status === "ok" ? 200 : 503);
|