chore: history page support sharedworker.js

This commit is contained in:
duorameng
2026-05-09 08:42:15 +08:00
parent 95a7de599e
commit 9c174d8db2
10 changed files with 92 additions and 25 deletions
+11
View File
@@ -8,6 +8,8 @@ export const PATHS = {
CONFIGS_DIR: '/app/configs',
// 环境目录
ENVS_DIR: '/app/envs',
// 脚本目录占位符
SCRIPTS_DIR_PLACEHOLDER: '$SCRIPTS_DIR$',
} as const
// 文件扩展名对应的运行命令
@@ -61,3 +63,12 @@ export const ENV_TYPE = {
NORMAL: 'normal',
SECRET: 'secret',
} as const
// 任务事件类型
export const TASK_EVENTS = {
SUCCESS: 'task_success',
FAILED: 'task_failed',
TIMEOUT: 'task_timeout',
RUNNING: 'task_running',
QUEUED: 'task_queued',
} as const