feat: 添加工作空间存活管理功能,重置和清理超时任务,使用 dayjs 格式化时间

This commit is contained in:
2026-01-31 00:40:29 +08:00
parent 6e5a642ab2
commit 7a01339ef2
3 changed files with 75 additions and 36 deletions

37
pnpm-lock.yaml generated
View File

@@ -39,9 +39,6 @@ importers:
'@kevisual/ai':
specifier: ^0.0.24
version: 0.0.24
'@kevisual/cnb':
specifier: ^0.0.10
version: 0.0.10(dotenv@17.2.3)(typescript@5.9.3)
'@kevisual/context':
specifier: ^0.0.4
version: 0.0.4
@@ -60,6 +57,9 @@ importers:
'@types/ws':
specifier: ^8.18.1
version: 8.18.1
dayjs:
specifier: ^1.11.19
version: 1.11.19
dotenv:
specifier: ^17.2.3
version: 17.2.3
@@ -80,9 +80,6 @@ packages:
'@kevisual/ai@0.0.24':
resolution: {integrity: sha512-7jvZk1/L//VIClK7usuNgN4ZA9Etgbooka1Sj5quE/0UywR+NNnwqXVZ89Y1fBhI1TkhauDsdJBAtcQ7r/vbVw==}
'@kevisual/cnb@0.0.10':
resolution: {integrity: sha512-zwdJOj64FAkbUIGy+3CC+uQMUptWGf1uuQZXy0ZLfBfdFO2BcoHuzvomWhYxF0eexOBsLrz1F9jNWS0heBrp2Q==}
'@kevisual/context@0.0.4':
resolution: {integrity: sha512-HJeLeZQLU+7tCluSfOyvkgKLs0HjCZrdJlZgEgKRSa8XTwZfMAUt6J7qZTbrZAHBlPtX68EPu/PI8JMCeu3WAQ==}
@@ -102,9 +99,6 @@ packages:
'@kevisual/query@0.0.38':
resolution: {integrity: sha512-bfvbSodsZyMfwY+1T2SvDeOCKsT/AaIxlVe0+B1R/fNhlg2MDq2CP0L9HKiFkEm+OXrvXcYDMKPUituVUM5J6Q==}
'@kevisual/router@0.0.63':
resolution: {integrity: sha512-rM/FELiNtTJkjb00sdQ2f8NpWHzfOwrtgQJhsX9Np9KdzAQ5dP6pI5nAHlWvU2QyrC1VH5IibUmsBIeMMV3nWg==}
'@kevisual/router@0.0.64':
resolution: {integrity: sha512-EYz1MZxrltgySUL0Y+/MtZf2FEmqC5U8GmFAqvHNjgtS5FJdHpxRjo6zab4+0wSUlVyCxCpZXFY5vHB/g+nQBw==}
@@ -339,6 +333,9 @@ packages:
crossws@0.3.5:
resolution: {integrity: sha512-ojKiDvcmByhwa8YYqbQI/hg7MEU0NC03+pSdEq4ZUnZR9xXpwk7E43SMNGkn+JxJGPFtNvQ48+vV2p+P1ml5PA==}
dayjs@1.11.19:
resolution: {integrity: sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==}
deepmerge@4.3.1:
resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
engines: {node: '>=0.10.0'}
@@ -575,19 +572,6 @@ snapshots:
'@kevisual/permission': 0.0.3
'@kevisual/query': 0.0.38
'@kevisual/cnb@0.0.10(dotenv@17.2.3)(typescript@5.9.3)':
dependencies:
'@kevisual/query': 0.0.38
'@kevisual/router': 0.0.63(typescript@5.9.3)
'@kevisual/use-config': 1.0.28(dotenv@17.2.3)
es-toolkit: 1.44.0
nanoid: 5.1.6
ws: '@kevisual/ws@8.19.0'
zod: 4.3.6
transitivePeerDependencies:
- dotenv
- typescript
'@kevisual/context@0.0.4': {}
'@kevisual/dts@0.0.3(typescript@5.9.3)':
@@ -613,13 +597,6 @@ snapshots:
dependencies:
tslib: 2.8.1
'@kevisual/router@0.0.63(typescript@5.9.3)':
dependencies:
'@kevisual/dts': 0.0.3(typescript@5.9.3)
hono: 4.11.7
transitivePeerDependencies:
- typescript
'@kevisual/router@0.0.64(typescript@5.9.3)':
dependencies:
'@kevisual/dts': 0.0.3(typescript@5.9.3)
@@ -794,6 +771,8 @@ snapshots:
dependencies:
uncrypto: 0.1.3
dayjs@1.11.19: {}
deepmerge@4.3.1: {}
defu@6.1.4: {}