@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.
- package/README.md +32 -42
- package/dist/index.d.ts +578 -20
- package/dist/index.js +224 -430
- package/dist/index.js.map +1 -1
- package/dist/worker-main.d.ts +2 -22
- package/dist/worker-main.js +1425 -1485
- package/dist/worker-main.js.map +1 -1
- package/package.json +10 -4
- package/dist/fs-job-queue.d.ts +0 -79
- package/dist/fs-job-queue.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/job-claim-adapter.d.ts +0 -76
- package/dist/job-claim-adapter.d.ts.map +0 -1
- package/dist/job-queue-interface.d.ts +0 -19
- package/dist/job-queue-interface.d.ts.map +0 -1
- package/dist/job-queue-state-unit.d.ts +0 -26
- package/dist/job-queue-state-unit.d.ts.map +0 -1
- package/dist/job-worker.d.ts +0 -67
- package/dist/job-worker.d.ts.map +0 -1
- package/dist/processors.d.ts +0 -41
- package/dist/processors.d.ts.map +0 -1
- package/dist/types.d.ts +0 -319
- package/dist/types.d.ts.map +0 -1
- package/dist/worker-main.d.ts.map +0 -1
- package/dist/worker-process.d.ts +0 -47
- package/dist/worker-process.d.ts.map +0 -1
- package/dist/workers/annotation-detection.d.ts +0 -61
- package/dist/workers/annotation-detection.d.ts.map +0 -1
- package/dist/workers/detection/entity-extractor.d.ts +0 -42
- package/dist/workers/detection/entity-extractor.d.ts.map +0 -1
- package/dist/workers/detection/motivation-parsers.d.ts +0 -116
- package/dist/workers/detection/motivation-parsers.d.ts.map +0 -1
- package/dist/workers/detection/motivation-prompts.d.ts +0 -57
- package/dist/workers/detection/motivation-prompts.d.ts.map +0 -1
- package/dist/workers/generation/resource-generation.d.ts +0 -23
- package/dist/workers/generation/resource-generation.d.ts.map +0 -1
package/dist/worker-main.d.ts
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { };
|