@semiont/jobs 0.5.4 → 0.5.6

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.
Files changed (36) hide show
  1. package/README.md +32 -42
  2. package/dist/index.d.ts +578 -20
  3. package/dist/index.js +224 -430
  4. package/dist/index.js.map +1 -1
  5. package/dist/worker-main.d.ts +2 -22
  6. package/dist/worker-main.js +1425 -1485
  7. package/dist/worker-main.js.map +1 -1
  8. package/package.json +10 -4
  9. package/dist/fs-job-queue.d.ts +0 -79
  10. package/dist/fs-job-queue.d.ts.map +0 -1
  11. package/dist/index.d.ts.map +0 -1
  12. package/dist/job-claim-adapter.d.ts +0 -76
  13. package/dist/job-claim-adapter.d.ts.map +0 -1
  14. package/dist/job-queue-interface.d.ts +0 -19
  15. package/dist/job-queue-interface.d.ts.map +0 -1
  16. package/dist/job-queue-state-unit.d.ts +0 -26
  17. package/dist/job-queue-state-unit.d.ts.map +0 -1
  18. package/dist/job-worker.d.ts +0 -67
  19. package/dist/job-worker.d.ts.map +0 -1
  20. package/dist/processors.d.ts +0 -41
  21. package/dist/processors.d.ts.map +0 -1
  22. package/dist/types.d.ts +0 -319
  23. package/dist/types.d.ts.map +0 -1
  24. package/dist/worker-main.d.ts.map +0 -1
  25. package/dist/worker-process.d.ts +0 -47
  26. package/dist/worker-process.d.ts.map +0 -1
  27. package/dist/workers/annotation-detection.d.ts +0 -61
  28. package/dist/workers/annotation-detection.d.ts.map +0 -1
  29. package/dist/workers/detection/entity-extractor.d.ts +0 -42
  30. package/dist/workers/detection/entity-extractor.d.ts.map +0 -1
  31. package/dist/workers/detection/motivation-parsers.d.ts +0 -116
  32. package/dist/workers/detection/motivation-parsers.d.ts.map +0 -1
  33. package/dist/workers/detection/motivation-prompts.d.ts +0 -57
  34. package/dist/workers/detection/motivation-prompts.d.ts.map +0 -1
  35. package/dist/workers/generation/resource-generation.d.ts +0 -23
  36. package/dist/workers/generation/resource-generation.d.ts.map +0 -1
@@ -1,22 +1,2 @@
1
- /**
2
- * Worker Pool Main — standalone entry point
3
- *
4
- * One worker host runs N parallel worker processes, one per distinct
5
- * `(inferenceProvider, model)` configured in `~/.semiontconfig`. Each
6
- * authenticates with the KS via `/api/tokens/agent` for *its* agent
7
- * identity, and that JWT is what the bus stamps onto every event the
8
- * process emits — so `_userId` on the bus and the `generator` on every
9
- * annotation refer to the same software peer.
10
- *
11
- * Multiple job types may share an inference engine; in that case they
12
- * share a worker process (and an agent identity). Different engines
13
- * mean different processes and different agents.
14
- *
15
- * Environment variables (only two):
16
- * SEMIONT_WORKER_SECRET — shared secret for /api/tokens/agent auth
17
- * ANTHROPIC_API_KEY — only when using Anthropic inference
18
- *
19
- * Everything else comes from ~/.semiontconfig.
20
- */
21
- export {};
22
- //# sourceMappingURL=worker-main.d.ts.map
1
+
2
+ export { };