opengraph stuff

This commit is contained in:
2026-02-24 21:47:36 +00:00
parent 05f0d0e8f7
commit e36908cb0b
61 changed files with 5870 additions and 178 deletions
+14
View File
@@ -0,0 +1,14 @@
import { ensureQueueDir } from './storage';
import { resumeInterruptedJobs } from './engine';
import './handlers';
export { enqueue, cancelJob } from './engine';
export { readJob, listAllJobs } from './storage';
export { registerHandler } from './handler-registry';
export type { Job, JobStep, JobStatus, JobProgress, StepContext, JobHandler, JobHandlerStep, EnqueueParams } from './types';
export async function initQueue() {
await ensureQueueDir();
await resumeInterruptedJobs();
console.log('[queue] Initialized');
}