- Redis Streams implementation with consumer groups (ade-workers) - Task interface with serialization/deserialization - Worker with heartbeat (5s) and task claiming - Retry logic with exponential backoff and jitter - Delayed task support via Sorted Sets - Dead worker reclamation (30s timeout) - Unit tests: 26 passing - TypeScript compilation successful
34 lines
708 B
JSON
34 lines
708 B
JSON
{
|
|
"name": "@community-ade/queue-core",
|
|
"version": "0.1.0",
|
|
"description": "Redis Streams queue implementation for Community ADE",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"dev": "tsc --watch"
|
|
},
|
|
"keywords": [
|
|
"redis",
|
|
"queue",
|
|
"streams",
|
|
"tasks"
|
|
],
|
|
"author": "Community ADE Team",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"ioredis": "^5.3.2",
|
|
"uuid": "^9.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^20.11.24",
|
|
"@types/uuid": "^9.0.8",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.1.2",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|