@vibesdotdev/workers 0.0.0-stage → 1.0.0-rc.2
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/LICENSE +18 -0
- package/README.md +77 -2
- package/dist/adapters/database/database-queue.d.ts +78 -0
- package/dist/adapters/database/database-queue.d.ts.map +1 -0
- package/dist/adapters/database/database-queue.js +540 -0
- package/dist/adapters/database/database-queue.js.map +1 -0
- package/dist/adapters/database/database-queue.record.descriptor.d.ts +90 -0
- package/dist/adapters/database/database-queue.record.descriptor.d.ts.map +1 -0
- package/dist/adapters/database/database-queue.record.descriptor.js +79 -0
- package/dist/adapters/database/database-queue.record.descriptor.js.map +1 -0
- package/dist/adapters/database/worker-adapter.database.descriptor.d.ts +40 -0
- package/dist/adapters/database/worker-adapter.database.descriptor.d.ts.map +1 -0
- package/dist/adapters/database/worker-adapter.database.descriptor.js +23 -0
- package/dist/adapters/database/worker-adapter.database.descriptor.js.map +1 -0
- package/dist/adapters/database/worker-adapter.database.impl.d.ts +25 -0
- package/dist/adapters/database/worker-adapter.database.impl.d.ts.map +1 -0
- package/dist/adapters/database/worker-adapter.database.impl.js +64 -0
- package/dist/adapters/database/worker-adapter.database.impl.js.map +1 -0
- package/dist/adapters/database/workers-database.plugin.d.ts +8 -0
- package/dist/adapters/database/workers-database.plugin.d.ts.map +1 -0
- package/dist/adapters/database/workers-database.plugin.js +18 -0
- package/dist/adapters/database/workers-database.plugin.js.map +1 -0
- package/dist/adapters/default.d.ts +24 -0
- package/dist/adapters/default.d.ts.map +1 -0
- package/dist/adapters/default.js +32 -0
- package/dist/adapters/default.js.map +1 -0
- package/dist/adapters/ipc/adapter.d.ts +78 -0
- package/dist/adapters/ipc/adapter.d.ts.map +1 -0
- package/dist/adapters/ipc/adapter.js +420 -0
- package/dist/adapters/ipc/adapter.js.map +1 -0
- package/dist/adapters/ipc/index.d.ts +15 -0
- package/dist/adapters/ipc/index.d.ts.map +1 -0
- package/dist/adapters/ipc/index.js +12 -0
- package/dist/adapters/ipc/index.js.map +1 -0
- package/dist/adapters/ipc/internal/adapter-rpc.d.ts +33 -0
- package/dist/adapters/ipc/internal/adapter-rpc.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/adapter-rpc.js +213 -0
- package/dist/adapters/ipc/internal/adapter-rpc.js.map +1 -0
- package/dist/adapters/ipc/internal/result-pages.d.ts +59 -0
- package/dist/adapters/ipc/internal/result-pages.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/result-pages.js +104 -0
- package/dist/adapters/ipc/internal/result-pages.js.map +1 -0
- package/dist/adapters/ipc/internal/rpc/client.d.ts +29 -0
- package/dist/adapters/ipc/internal/rpc/client.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/rpc/client.js +249 -0
- package/dist/adapters/ipc/internal/rpc/client.js.map +1 -0
- package/dist/adapters/ipc/internal/rpc/connection.d.ts +18 -0
- package/dist/adapters/ipc/internal/rpc/connection.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/rpc/connection.js +82 -0
- package/dist/adapters/ipc/internal/rpc/connection.js.map +1 -0
- package/dist/adapters/ipc/internal/rpc/dispatcher.d.ts +11 -0
- package/dist/adapters/ipc/internal/rpc/dispatcher.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/rpc/dispatcher.js +217 -0
- package/dist/adapters/ipc/internal/rpc/dispatcher.js.map +1 -0
- package/dist/adapters/ipc/internal/rpc/event-stream.d.ts +28 -0
- package/dist/adapters/ipc/internal/rpc/event-stream.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/rpc/event-stream.js +115 -0
- package/dist/adapters/ipc/internal/rpc/event-stream.js.map +1 -0
- package/dist/adapters/ipc/internal/rpc/server.d.ts +21 -0
- package/dist/adapters/ipc/internal/rpc/server.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/rpc/server.js +119 -0
- package/dist/adapters/ipc/internal/rpc/server.js.map +1 -0
- package/dist/adapters/ipc/internal/schedules-state.client.d.ts +21 -0
- package/dist/adapters/ipc/internal/schedules-state.client.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/schedules-state.client.js +29 -0
- package/dist/adapters/ipc/internal/schedules-state.client.js.map +1 -0
- package/dist/adapters/ipc/internal/schedules.d.ts +13 -0
- package/dist/adapters/ipc/internal/schedules.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/schedules.js +435 -0
- package/dist/adapters/ipc/internal/schedules.js.map +1 -0
- package/dist/adapters/ipc/internal/server-runtime.d.ts +8 -0
- package/dist/adapters/ipc/internal/server-runtime.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/server-runtime.js +27 -0
- package/dist/adapters/ipc/internal/server-runtime.js.map +1 -0
- package/dist/adapters/ipc/internal/socket/client-buffer.d.ts +16 -0
- package/dist/adapters/ipc/internal/socket/client-buffer.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/socket/client-buffer.js +38 -0
- package/dist/adapters/ipc/internal/socket/client-buffer.js.map +1 -0
- package/dist/adapters/ipc/internal/socket/client-connect.d.ts +10 -0
- package/dist/adapters/ipc/internal/socket/client-connect.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/socket/client-connect.js +16 -0
- package/dist/adapters/ipc/internal/socket/client-connect.js.map +1 -0
- package/dist/adapters/ipc/internal/socket/client-errors.d.ts +9 -0
- package/dist/adapters/ipc/internal/socket/client-errors.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/socket/client-errors.js +38 -0
- package/dist/adapters/ipc/internal/socket/client-errors.js.map +1 -0
- package/dist/adapters/ipc/internal/socket/frame.d.ts +22 -0
- package/dist/adapters/ipc/internal/socket/frame.d.ts.map +1 -0
- package/dist/adapters/ipc/internal/socket/frame.js +32 -0
- package/dist/adapters/ipc/internal/socket/frame.js.map +1 -0
- package/dist/adapters/ipc/manager.d.ts +38 -0
- package/dist/adapters/ipc/manager.d.ts.map +1 -0
- package/dist/adapters/ipc/manager.js +90 -0
- package/dist/adapters/ipc/manager.js.map +1 -0
- package/dist/adapters/ipc/provider.d.ts +20 -0
- package/dist/adapters/ipc/provider.d.ts.map +1 -0
- package/dist/adapters/ipc/provider.js +13 -0
- package/dist/adapters/ipc/provider.js.map +1 -0
- package/dist/adapters/ipc/schedules.consumer.plugin.d.ts +3 -0
- package/dist/adapters/ipc/schedules.consumer.plugin.d.ts.map +1 -0
- package/dist/adapters/ipc/schedules.consumer.plugin.js +23 -0
- package/dist/adapters/ipc/schedules.consumer.plugin.js.map +1 -0
- package/dist/adapters/ipc/schemas/index.d.ts +33 -0
- package/dist/adapters/ipc/schemas/index.d.ts.map +1 -0
- package/dist/adapters/ipc/schemas/index.js +5 -0
- package/dist/adapters/ipc/schemas/index.js.map +1 -0
- package/dist/adapters/ipc/schemas/messages.d.ts +172 -0
- package/dist/adapters/ipc/schemas/messages.d.ts.map +1 -0
- package/dist/adapters/ipc/schemas/messages.js +2 -0
- package/dist/adapters/ipc/schemas/messages.js.map +1 -0
- package/dist/adapters/ipc/schemas/restore-schedules.d.ts +17 -0
- package/dist/adapters/ipc/schemas/restore-schedules.d.ts.map +1 -0
- package/dist/adapters/ipc/schemas/restore-schedules.js +18 -0
- package/dist/adapters/ipc/schemas/restore-schedules.js.map +1 -0
- package/dist/adapters/ipc/schemas/rpc.d.ts +17 -0
- package/dist/adapters/ipc/schemas/rpc.d.ts.map +1 -0
- package/dist/adapters/ipc/schemas/rpc.js +2 -0
- package/dist/adapters/ipc/schemas/rpc.js.map +1 -0
- package/dist/adapters/ipc/schemas/schedule.d.ts +180 -0
- package/dist/adapters/ipc/schemas/schedule.d.ts.map +1 -0
- package/dist/adapters/ipc/schemas/schedule.js +133 -0
- package/dist/adapters/ipc/schemas/schedule.js.map +1 -0
- package/dist/adapters/ipc/socket-client.d.ts +31 -0
- package/dist/adapters/ipc/socket-client.d.ts.map +1 -0
- package/dist/adapters/ipc/socket-client.js +153 -0
- package/dist/adapters/ipc/socket-client.js.map +1 -0
- package/dist/adapters/ipc/socket-server.d.ts +25 -0
- package/dist/adapters/ipc/socket-server.d.ts.map +1 -0
- package/dist/adapters/ipc/socket-server.js +90 -0
- package/dist/adapters/ipc/socket-server.js.map +1 -0
- package/dist/adapters/ipc/store/queue-job-metadata.record.descriptor.d.ts +13 -0
- package/dist/adapters/ipc/store/queue-job-metadata.record.descriptor.d.ts.map +1 -0
- package/dist/adapters/ipc/store/queue-job-metadata.record.descriptor.js +27 -0
- package/dist/adapters/ipc/store/queue-job-metadata.record.descriptor.js.map +1 -0
- package/dist/adapters/ipc/store/queue-job.record.descriptor.d.ts +87 -0
- package/dist/adapters/ipc/store/queue-job.record.descriptor.d.ts.map +1 -0
- package/dist/adapters/ipc/store/queue-job.record.descriptor.js +88 -0
- package/dist/adapters/ipc/store/queue-job.record.descriptor.js.map +1 -0
- package/dist/adapters/ipc/store/store.d.ts +122 -0
- package/dist/adapters/ipc/store/store.d.ts.map +1 -0
- package/dist/adapters/ipc/store/store.js +982 -0
- package/dist/adapters/ipc/store/store.js.map +1 -0
- package/dist/adapters/ipc/worker-adapter.ipc.descriptor.d.ts +42 -0
- package/dist/adapters/ipc/worker-adapter.ipc.descriptor.d.ts.map +1 -0
- package/dist/adapters/ipc/worker-adapter.ipc.descriptor.js +29 -0
- package/dist/adapters/ipc/worker-adapter.ipc.descriptor.js.map +1 -0
- package/dist/adapters/ipc/worker-adapter.ipc.impl.consumer.d.ts +42 -0
- package/dist/adapters/ipc/worker-adapter.ipc.impl.consumer.d.ts.map +1 -0
- package/dist/adapters/ipc/worker-adapter.ipc.impl.consumer.js +132 -0
- package/dist/adapters/ipc/worker-adapter.ipc.impl.consumer.js.map +1 -0
- package/dist/adapters/ipc/worker-adapter.ipc.impl.consumer.worker.d.ts +29 -0
- package/dist/adapters/ipc/worker-adapter.ipc.impl.consumer.worker.d.ts.map +1 -0
- package/dist/adapters/ipc/worker-adapter.ipc.impl.consumer.worker.js +96 -0
- package/dist/adapters/ipc/worker-adapter.ipc.impl.consumer.worker.js.map +1 -0
- package/dist/adapters/ipc.d.ts +5 -0
- package/dist/adapters/ipc.d.ts.map +1 -0
- package/dist/adapters/ipc.js +3 -0
- package/dist/adapters/ipc.js.map +1 -0
- package/dist/adapters/memory/client/adapter.d.ts +18 -0
- package/dist/adapters/memory/client/adapter.d.ts.map +1 -0
- package/dist/adapters/memory/client/adapter.js +35 -0
- package/dist/adapters/memory/client/adapter.js.map +1 -0
- package/dist/adapters/memory/common/memory-root-store.d.ts +25 -0
- package/dist/adapters/memory/common/memory-root-store.d.ts.map +1 -0
- package/dist/adapters/memory/common/memory-root-store.js +89 -0
- package/dist/adapters/memory/common/memory-root-store.js.map +1 -0
- package/dist/adapters/memory/common/types.d.ts +64 -0
- package/dist/adapters/memory/common/types.d.ts.map +1 -0
- package/dist/adapters/memory/common/types.js +171 -0
- package/dist/adapters/memory/common/types.js.map +1 -0
- package/dist/adapters/memory/index.d.ts +9 -0
- package/dist/adapters/memory/index.d.ts.map +1 -0
- package/dist/adapters/memory/index.js +9 -0
- package/dist/adapters/memory/index.js.map +1 -0
- package/dist/adapters/memory/provider.d.ts +52 -0
- package/dist/adapters/memory/provider.d.ts.map +1 -0
- package/dist/adapters/memory/provider.js +354 -0
- package/dist/adapters/memory/provider.js.map +1 -0
- package/dist/adapters/memory/runtime/adapter.d.ts +57 -0
- package/dist/adapters/memory/runtime/adapter.d.ts.map +1 -0
- package/dist/adapters/memory/runtime/adapter.js +514 -0
- package/dist/adapters/memory/runtime/adapter.js.map +1 -0
- package/dist/adapters/memory/worker-adapter.memory.descriptor.d.ts +42 -0
- package/dist/adapters/memory/worker-adapter.memory.descriptor.d.ts.map +1 -0
- package/dist/adapters/memory/worker-adapter.memory.descriptor.js +33 -0
- package/dist/adapters/memory/worker-adapter.memory.descriptor.js.map +1 -0
- package/dist/adapters/memory/worker-adapter.memory.impl.d.ts +25 -0
- package/dist/adapters/memory/worker-adapter.memory.impl.d.ts.map +1 -0
- package/dist/adapters/memory/worker-adapter.memory.impl.js +50 -0
- package/dist/adapters/memory/worker-adapter.memory.impl.js.map +1 -0
- package/dist/adapters/schemas/index.d.ts +34 -0
- package/dist/adapters/schemas/index.d.ts.map +1 -0
- package/dist/adapters/schemas/index.js +5 -0
- package/dist/adapters/schemas/index.js.map +1 -0
- package/dist/cli/adapter-helpers.d.ts +10 -0
- package/dist/cli/adapter-helpers.d.ts.map +1 -0
- package/dist/cli/adapter-helpers.js +33 -0
- package/dist/cli/adapter-helpers.js.map +1 -0
- package/dist/cli/command-output.d.ts +17 -0
- package/dist/cli/command-output.d.ts.map +1 -0
- package/dist/cli/command-output.js +16 -0
- package/dist/cli/command-output.js.map +1 -0
- package/dist/cli/context.d.ts +5 -0
- package/dist/cli/context.d.ts.map +1 -0
- package/dist/cli/context.js +5 -0
- package/dist/cli/context.js.map +1 -0
- package/dist/cli/job-health.d.ts +20 -0
- package/dist/cli/job-health.d.ts.map +1 -0
- package/dist/cli/job-health.js +195 -0
- package/dist/cli/job-health.js.map +1 -0
- package/dist/cli/plugin.d.ts +4 -0
- package/dist/cli/plugin.d.ts.map +1 -0
- package/dist/cli/plugin.js +83 -0
- package/dist/cli/plugin.js.map +1 -0
- package/dist/cli/runtime-loader.d.ts +17 -0
- package/dist/cli/runtime-loader.d.ts.map +1 -0
- package/dist/cli/runtime-loader.js +65 -0
- package/dist/cli/runtime-loader.js.map +1 -0
- package/dist/cli/schemas/index.d.ts +6 -0
- package/dist/cli/schemas/index.d.ts.map +1 -0
- package/dist/cli/schemas/index.js +5 -0
- package/dist/cli/schemas/index.js.map +1 -0
- package/dist/cli/schemas/types.d.ts +13 -0
- package/dist/cli/schemas/types.d.ts.map +1 -0
- package/dist/cli/schemas/types.js +10 -0
- package/dist/cli/schemas/types.js.map +1 -0
- package/dist/cli/serve-singleton.d.ts +56 -0
- package/dist/cli/serve-singleton.d.ts.map +1 -0
- package/dist/cli/serve-singleton.js +146 -0
- package/dist/cli/serve-singleton.js.map +1 -0
- package/dist/cli/vibes-workers-consumer.process.descriptor.d.ts +50 -0
- package/dist/cli/vibes-workers-consumer.process.descriptor.d.ts.map +1 -0
- package/dist/cli/vibes-workers-consumer.process.descriptor.js +55 -0
- package/dist/cli/vibes-workers-consumer.process.descriptor.js.map +1 -0
- package/dist/cli/workers.check.descriptor.d.ts +20 -0
- package/dist/cli/workers.check.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.check.descriptor.js +22 -0
- package/dist/cli/workers.check.descriptor.js.map +1 -0
- package/dist/cli/workers.check.impl.d.ts +3 -0
- package/dist/cli/workers.check.impl.d.ts.map +1 -0
- package/dist/cli/workers.check.impl.js +36 -0
- package/dist/cli/workers.check.impl.js.map +1 -0
- package/dist/cli/workers.descriptor.d.ts +16 -0
- package/dist/cli/workers.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.descriptor.js +16 -0
- package/dist/cli/workers.descriptor.js.map +1 -0
- package/dist/cli/workers.dlq.descriptor.d.ts +15 -0
- package/dist/cli/workers.dlq.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.dlq.descriptor.js +15 -0
- package/dist/cli/workers.dlq.descriptor.js.map +1 -0
- package/dist/cli/workers.dlq.list.descriptor.d.ts +28 -0
- package/dist/cli/workers.dlq.list.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.dlq.list.descriptor.js +19 -0
- package/dist/cli/workers.dlq.list.descriptor.js.map +1 -0
- package/dist/cli/workers.dlq.list.impl.d.ts +3 -0
- package/dist/cli/workers.dlq.list.impl.d.ts.map +1 -0
- package/dist/cli/workers.dlq.list.impl.js +33 -0
- package/dist/cli/workers.dlq.list.impl.js.map +1 -0
- package/dist/cli/workers.dlq.purge.descriptor.d.ts +21 -0
- package/dist/cli/workers.dlq.purge.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.dlq.purge.descriptor.js +14 -0
- package/dist/cli/workers.dlq.purge.descriptor.js.map +1 -0
- package/dist/cli/workers.dlq.purge.impl.d.ts +3 -0
- package/dist/cli/workers.dlq.purge.impl.d.ts.map +1 -0
- package/dist/cli/workers.dlq.purge.impl.js +21 -0
- package/dist/cli/workers.dlq.purge.impl.js.map +1 -0
- package/dist/cli/workers.dlq.replay.descriptor.d.ts +21 -0
- package/dist/cli/workers.dlq.replay.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.dlq.replay.descriptor.js +14 -0
- package/dist/cli/workers.dlq.replay.descriptor.js.map +1 -0
- package/dist/cli/workers.dlq.replay.impl.d.ts +3 -0
- package/dist/cli/workers.dlq.replay.impl.d.ts.map +1 -0
- package/dist/cli/workers.dlq.replay.impl.js +19 -0
- package/dist/cli/workers.dlq.replay.impl.js.map +1 -0
- package/dist/cli/workers.dlq.show.descriptor.d.ts +21 -0
- package/dist/cli/workers.dlq.show.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.dlq.show.descriptor.js +14 -0
- package/dist/cli/workers.dlq.show.descriptor.js.map +1 -0
- package/dist/cli/workers.dlq.show.impl.d.ts +3 -0
- package/dist/cli/workers.dlq.show.impl.d.ts.map +1 -0
- package/dist/cli/workers.dlq.show.impl.js +21 -0
- package/dist/cli/workers.dlq.show.impl.js.map +1 -0
- package/dist/cli/workers.info.descriptor.d.ts +20 -0
- package/dist/cli/workers.info.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.info.descriptor.js +22 -0
- package/dist/cli/workers.info.descriptor.js.map +1 -0
- package/dist/cli/workers.info.impl.d.ts +9 -0
- package/dist/cli/workers.info.impl.d.ts.map +1 -0
- package/dist/cli/workers.info.impl.js +44 -0
- package/dist/cli/workers.info.impl.js.map +1 -0
- package/dist/cli/workers.jobs.cancel.descriptor.d.ts +26 -0
- package/dist/cli/workers.jobs.cancel.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.jobs.cancel.descriptor.js +29 -0
- package/dist/cli/workers.jobs.cancel.descriptor.js.map +1 -0
- package/dist/cli/workers.jobs.cancel.impl.d.ts +9 -0
- package/dist/cli/workers.jobs.cancel.impl.d.ts.map +1 -0
- package/dist/cli/workers.jobs.cancel.impl.js +54 -0
- package/dist/cli/workers.jobs.cancel.impl.js.map +1 -0
- package/dist/cli/workers.jobs.descriptor.d.ts +17 -0
- package/dist/cli/workers.jobs.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.jobs.descriptor.js +17 -0
- package/dist/cli/workers.jobs.descriptor.js.map +1 -0
- package/dist/cli/workers.jobs.history.descriptor.d.ts +32 -0
- package/dist/cli/workers.jobs.history.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.jobs.history.descriptor.js +22 -0
- package/dist/cli/workers.jobs.history.descriptor.js.map +1 -0
- package/dist/cli/workers.jobs.history.impl.d.ts +3 -0
- package/dist/cli/workers.jobs.history.impl.d.ts.map +1 -0
- package/dist/cli/workers.jobs.history.impl.js +68 -0
- package/dist/cli/workers.jobs.history.impl.js.map +1 -0
- package/dist/cli/workers.jobs.info.descriptor.d.ts +27 -0
- package/dist/cli/workers.jobs.info.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.jobs.info.descriptor.js +32 -0
- package/dist/cli/workers.jobs.info.descriptor.js.map +1 -0
- package/dist/cli/workers.jobs.info.impl.d.ts +3 -0
- package/dist/cli/workers.jobs.info.impl.d.ts.map +1 -0
- package/dist/cli/workers.jobs.info.impl.js +59 -0
- package/dist/cli/workers.jobs.info.impl.js.map +1 -0
- package/dist/cli/workers.jobs.list.descriptor.d.ts +37 -0
- package/dist/cli/workers.jobs.list.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.jobs.list.descriptor.js +45 -0
- package/dist/cli/workers.jobs.list.descriptor.js.map +1 -0
- package/dist/cli/workers.jobs.list.impl.d.ts +3 -0
- package/dist/cli/workers.jobs.list.impl.d.ts.map +1 -0
- package/dist/cli/workers.jobs.list.impl.js +160 -0
- package/dist/cli/workers.jobs.list.impl.js.map +1 -0
- package/dist/cli/workers.jobs.run.descriptor.d.ts +38 -0
- package/dist/cli/workers.jobs.run.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.jobs.run.descriptor.js +46 -0
- package/dist/cli/workers.jobs.run.descriptor.js.map +1 -0
- package/dist/cli/workers.jobs.run.impl.d.ts +3 -0
- package/dist/cli/workers.jobs.run.impl.d.ts.map +1 -0
- package/dist/cli/workers.jobs.run.impl.js +154 -0
- package/dist/cli/workers.jobs.run.impl.js.map +1 -0
- package/dist/cli/workers.jobs.watch.descriptor.d.ts +38 -0
- package/dist/cli/workers.jobs.watch.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.jobs.watch.descriptor.js +46 -0
- package/dist/cli/workers.jobs.watch.descriptor.js.map +1 -0
- package/dist/cli/workers.jobs.watch.impl.d.ts +3 -0
- package/dist/cli/workers.jobs.watch.impl.d.ts.map +1 -0
- package/dist/cli/workers.jobs.watch.impl.js +142 -0
- package/dist/cli/workers.jobs.watch.impl.js.map +1 -0
- package/dist/cli/workers.list.descriptor.d.ts +19 -0
- package/dist/cli/workers.list.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.list.descriptor.js +21 -0
- package/dist/cli/workers.list.descriptor.js.map +1 -0
- package/dist/cli/workers.list.impl.d.ts +3 -0
- package/dist/cli/workers.list.impl.d.ts.map +1 -0
- package/dist/cli/workers.list.impl.js +54 -0
- package/dist/cli/workers.list.impl.js.map +1 -0
- package/dist/cli/workers.logs.descriptor.d.ts +24 -0
- package/dist/cli/workers.logs.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.logs.descriptor.js +27 -0
- package/dist/cli/workers.logs.descriptor.js.map +1 -0
- package/dist/cli/workers.logs.impl.d.ts +8 -0
- package/dist/cli/workers.logs.impl.d.ts.map +1 -0
- package/dist/cli/workers.logs.impl.js +43 -0
- package/dist/cli/workers.logs.impl.js.map +1 -0
- package/dist/cli/workers.restart.descriptor.d.ts +18 -0
- package/dist/cli/workers.restart.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.restart.descriptor.js +18 -0
- package/dist/cli/workers.restart.descriptor.js.map +1 -0
- package/dist/cli/workers.restart.impl.d.ts +11 -0
- package/dist/cli/workers.restart.impl.d.ts.map +1 -0
- package/dist/cli/workers.restart.impl.js +48 -0
- package/dist/cli/workers.restart.impl.js.map +1 -0
- package/dist/cli/workers.serve.descriptor.d.ts +28 -0
- package/dist/cli/workers.serve.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.serve.descriptor.js +24 -0
- package/dist/cli/workers.serve.descriptor.js.map +1 -0
- package/dist/cli/workers.serve.impl.cli.d.ts +6 -0
- package/dist/cli/workers.serve.impl.cli.d.ts.map +1 -0
- package/dist/cli/workers.serve.impl.cli.js +223 -0
- package/dist/cli/workers.serve.impl.cli.js.map +1 -0
- package/dist/cli/workers.start.descriptor.d.ts +16 -0
- package/dist/cli/workers.start.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.start.descriptor.js +16 -0
- package/dist/cli/workers.start.descriptor.js.map +1 -0
- package/dist/cli/workers.start.impl.d.ts +12 -0
- package/dist/cli/workers.start.impl.d.ts.map +1 -0
- package/dist/cli/workers.start.impl.js +43 -0
- package/dist/cli/workers.start.impl.js.map +1 -0
- package/dist/cli/workers.status.descriptor.d.ts +19 -0
- package/dist/cli/workers.status.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.status.descriptor.js +21 -0
- package/dist/cli/workers.status.descriptor.js.map +1 -0
- package/dist/cli/workers.status.impl.d.ts +8 -0
- package/dist/cli/workers.status.impl.d.ts.map +1 -0
- package/dist/cli/workers.status.impl.js +75 -0
- package/dist/cli/workers.status.impl.js.map +1 -0
- package/dist/cli/workers.stop.descriptor.d.ts +23 -0
- package/dist/cli/workers.stop.descriptor.d.ts.map +1 -0
- package/dist/cli/workers.stop.descriptor.js +26 -0
- package/dist/cli/workers.stop.descriptor.js.map +1 -0
- package/dist/cli/workers.stop.impl.d.ts +6 -0
- package/dist/cli/workers.stop.impl.d.ts.map +1 -0
- package/dist/cli/workers.stop.impl.js +71 -0
- package/dist/cli/workers.stop.impl.js.map +1 -0
- package/dist/client/admission.d.ts +36 -0
- package/dist/client/admission.d.ts.map +1 -0
- package/dist/client/admission.js +80 -0
- package/dist/client/admission.js.map +1 -0
- package/dist/client/dispatch-overrides.d.ts +40 -0
- package/dist/client/dispatch-overrides.d.ts.map +1 -0
- package/dist/client/dispatch-overrides.js +78 -0
- package/dist/client/dispatch-overrides.js.map +1 -0
- package/dist/client/get-workers-client.d.ts +14 -0
- package/dist/client/get-workers-client.d.ts.map +1 -0
- package/dist/client/get-workers-client.js +14 -0
- package/dist/client/get-workers-client.js.map +1 -0
- package/dist/client/index.d.ts +13 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +11 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/job-lookup.d.ts +7 -0
- package/dist/client/job-lookup.d.ts.map +1 -0
- package/dist/client/job-lookup.js +58 -0
- package/dist/client/job-lookup.js.map +1 -0
- package/dist/client/observe-job.d.ts +5 -0
- package/dist/client/observe-job.d.ts.map +1 -0
- package/dist/client/observe-job.js +65 -0
- package/dist/client/observe-job.js.map +1 -0
- package/dist/client/operations/adapters.d.ts +30 -0
- package/dist/client/operations/adapters.d.ts.map +1 -0
- package/dist/client/operations/adapters.js +104 -0
- package/dist/client/operations/adapters.js.map +1 -0
- package/dist/client/operations/catalog.d.ts +21 -0
- package/dist/client/operations/catalog.d.ts.map +1 -0
- package/dist/client/operations/catalog.js +111 -0
- package/dist/client/operations/catalog.js.map +1 -0
- package/dist/client/operations/control/cancellation.d.ts +12 -0
- package/dist/client/operations/control/cancellation.d.ts.map +1 -0
- package/dist/client/operations/control/cancellation.js +88 -0
- package/dist/client/operations/control/cancellation.js.map +1 -0
- package/dist/client/operations/control/events.d.ts +4 -0
- package/dist/client/operations/control/events.d.ts.map +1 -0
- package/dist/client/operations/control/events.js +4 -0
- package/dist/client/operations/control/events.js.map +1 -0
- package/dist/client/operations/control/inspection.d.ts +54 -0
- package/dist/client/operations/control/inspection.d.ts.map +1 -0
- package/dist/client/operations/control/inspection.js +71 -0
- package/dist/client/operations/control/inspection.js.map +1 -0
- package/dist/client/operations/control/owned.d.ts +7 -0
- package/dist/client/operations/control/owned.d.ts.map +1 -0
- package/dist/client/operations/control/owned.js +45 -0
- package/dist/client/operations/control/owned.js.map +1 -0
- package/dist/client/operations/control/signals.d.ts +8 -0
- package/dist/client/operations/control/signals.d.ts.map +1 -0
- package/dist/client/operations/control/signals.js +20 -0
- package/dist/client/operations/control/signals.js.map +1 -0
- package/dist/client/operations/control/status.d.ts +21 -0
- package/dist/client/operations/control/status.d.ts.map +1 -0
- package/dist/client/operations/control/status.js +52 -0
- package/dist/client/operations/control/status.js.map +1 -0
- package/dist/client/operations/dispatch/enqueue.d.ts +24 -0
- package/dist/client/operations/dispatch/enqueue.d.ts.map +1 -0
- package/dist/client/operations/dispatch/enqueue.js +116 -0
- package/dist/client/operations/dispatch/enqueue.js.map +1 -0
- package/dist/client/operations/dispatch/keyed.d.ts +26 -0
- package/dist/client/operations/dispatch/keyed.d.ts.map +1 -0
- package/dist/client/operations/dispatch/keyed.js +77 -0
- package/dist/client/operations/dispatch/keyed.js.map +1 -0
- package/dist/client/operations/dispatch/queued-stream.d.ts +9 -0
- package/dist/client/operations/dispatch/queued-stream.d.ts.map +1 -0
- package/dist/client/operations/dispatch/queued-stream.js +143 -0
- package/dist/client/operations/dispatch/queued-stream.js.map +1 -0
- package/dist/client/operations/dispatch/run.d.ts +21 -0
- package/dist/client/operations/dispatch/run.d.ts.map +1 -0
- package/dist/client/operations/dispatch/run.js +93 -0
- package/dist/client/operations/dispatch/run.js.map +1 -0
- package/dist/client/operations/dispatch/start.d.ts +6 -0
- package/dist/client/operations/dispatch/start.d.ts.map +1 -0
- package/dist/client/operations/dispatch/start.js +77 -0
- package/dist/client/operations/dispatch/start.js.map +1 -0
- package/dist/client/operations/dispatch/stream.d.ts +5 -0
- package/dist/client/operations/dispatch/stream.d.ts.map +1 -0
- package/dist/client/operations/dispatch/stream.js +114 -0
- package/dist/client/operations/dispatch/stream.js.map +1 -0
- package/dist/client/operations/dispatch/target.d.ts +15 -0
- package/dist/client/operations/dispatch/target.d.ts.map +1 -0
- package/dist/client/operations/dispatch/target.js +81 -0
- package/dist/client/operations/dispatch/target.js.map +1 -0
- package/dist/client/operations/graph.d.ts +17 -0
- package/dist/client/operations/graph.d.ts.map +1 -0
- package/dist/client/operations/graph.js +92 -0
- package/dist/client/operations/graph.js.map +1 -0
- package/dist/client/operations/inline.d.ts +4 -0
- package/dist/client/operations/inline.d.ts.map +1 -0
- package/dist/client/operations/inline.js +91 -0
- package/dist/client/operations/inline.js.map +1 -0
- package/dist/client/operations/schedules/read.d.ts +32 -0
- package/dist/client/operations/schedules/read.d.ts.map +1 -0
- package/dist/client/operations/schedules/read.js +54 -0
- package/dist/client/operations/schedules/read.js.map +1 -0
- package/dist/client/operations/schedules/write.d.ts +18 -0
- package/dist/client/operations/schedules/write.d.ts.map +1 -0
- package/dist/client/operations/schedules/write.js +136 -0
- package/dist/client/operations/schedules/write.js.map +1 -0
- package/dist/client/operations/schemas/contract.d.ts +3 -0
- package/dist/client/operations/schemas/contract.d.ts.map +1 -0
- package/dist/client/operations/schemas/contract.js +13 -0
- package/dist/client/operations/schemas/contract.js.map +1 -0
- package/dist/client/operations/schemas/ports.d.ts +47 -0
- package/dist/client/operations/schemas/ports.d.ts.map +1 -0
- package/dist/client/operations/schemas/ports.js +10 -0
- package/dist/client/operations/schemas/ports.js.map +1 -0
- package/dist/client/operations/waiting.d.ts +29 -0
- package/dist/client/operations/waiting.d.ts.map +1 -0
- package/dist/client/operations/waiting.js +92 -0
- package/dist/client/operations/waiting.js.map +1 -0
- package/dist/client/runtime-client.d.ts +92 -0
- package/dist/client/runtime-client.d.ts.map +1 -0
- package/dist/client/runtime-client.js +155 -0
- package/dist/client/runtime-client.js.map +1 -0
- package/dist/clients/browser.d.ts +44 -0
- package/dist/clients/browser.d.ts.map +1 -0
- package/dist/clients/browser.js +248 -0
- package/dist/clients/browser.js.map +1 -0
- package/dist/clients/index.d.ts +7 -0
- package/dist/clients/index.d.ts.map +1 -0
- package/dist/clients/index.js +7 -0
- package/dist/clients/index.js.map +1 -0
- package/dist/clients/schemas/index.d.ts +54 -0
- package/dist/clients/schemas/index.d.ts.map +1 -0
- package/dist/clients/schemas/index.js +5 -0
- package/dist/clients/schemas/index.js.map +1 -0
- package/dist/code-execution/client/code-execution.client.d.ts +29 -0
- package/dist/code-execution/client/code-execution.client.d.ts.map +1 -0
- package/dist/code-execution/client/code-execution.client.js +63 -0
- package/dist/code-execution/client/code-execution.client.js.map +1 -0
- package/dist/code-execution/client/execution-client.d.ts +47 -0
- package/dist/code-execution/client/execution-client.d.ts.map +1 -0
- package/dist/code-execution/client/execution-client.js +214 -0
- package/dist/code-execution/client/execution-client.js.map +1 -0
- package/dist/code-execution/client/schemas/responses.d.ts +44 -0
- package/dist/code-execution/client/schemas/responses.d.ts.map +1 -0
- package/dist/code-execution/client/schemas/responses.js +38 -0
- package/dist/code-execution/client/schemas/responses.js.map +1 -0
- package/dist/code-execution/code-execution.cloud.plugin.d.ts +15 -0
- package/dist/code-execution/code-execution.cloud.plugin.d.ts.map +1 -0
- package/dist/code-execution/code-execution.cloud.plugin.js +14 -0
- package/dist/code-execution/code-execution.cloud.plugin.js.map +1 -0
- package/dist/code-execution/code-execution.consumer.plugin.d.ts +15 -0
- package/dist/code-execution/code-execution.consumer.plugin.d.ts.map +1 -0
- package/dist/code-execution/code-execution.consumer.plugin.js +19 -0
- package/dist/code-execution/code-execution.consumer.plugin.js.map +1 -0
- package/dist/code-execution/code-execution.plugin.d.ts +14 -0
- package/dist/code-execution/code-execution.plugin.d.ts.map +1 -0
- package/dist/code-execution/code-execution.plugin.js +47 -0
- package/dist/code-execution/code-execution.plugin.js.map +1 -0
- package/dist/code-execution/config/load.d.ts +9 -0
- package/dist/code-execution/config/load.d.ts.map +1 -0
- package/dist/code-execution/config/load.js +21 -0
- package/dist/code-execution/config/load.js.map +1 -0
- package/dist/code-execution/index.d.ts +11 -0
- package/dist/code-execution/index.d.ts.map +1 -0
- package/dist/code-execution/index.js +16 -0
- package/dist/code-execution/index.js.map +1 -0
- package/dist/code-execution/plugin.d.ts +2 -0
- package/dist/code-execution/plugin.d.ts.map +1 -0
- package/dist/code-execution/plugin.js +2 -0
- package/dist/code-execution/plugin.js.map +1 -0
- package/dist/code-execution/runner-adapter/client/index.d.ts +66 -0
- package/dist/code-execution/runner-adapter/client/index.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/client/index.js +116 -0
- package/dist/code-execution/runner-adapter/client/index.js.map +1 -0
- package/dist/code-execution/runner-adapter/index.d.ts +16 -0
- package/dist/code-execution/runner-adapter/index.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/index.js +16 -0
- package/dist/code-execution/runner-adapter/index.js.map +1 -0
- package/dist/code-execution/runner-adapter/interfaces/adapter.d.ts +180 -0
- package/dist/code-execution/runner-adapter/interfaces/adapter.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/interfaces/adapter.js +16 -0
- package/dist/code-execution/runner-adapter/interfaces/adapter.js.map +1 -0
- package/dist/code-execution/runner-adapter/interfaces/adapter.kind-augment.d.ts +23 -0
- package/dist/code-execution/runner-adapter/interfaces/adapter.kind-augment.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/interfaces/adapter.kind-augment.js +14 -0
- package/dist/code-execution/runner-adapter/interfaces/adapter.kind-augment.js.map +1 -0
- package/dist/code-execution/runner-adapter/interfaces/index.d.ts +3 -0
- package/dist/code-execution/runner-adapter/interfaces/index.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/interfaces/index.js +2 -0
- package/dist/code-execution/runner-adapter/interfaces/index.js.map +1 -0
- package/dist/code-execution/runner-adapter/kinds/index.d.ts +5 -0
- package/dist/code-execution/runner-adapter/kinds/index.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/kinds/index.js +3 -0
- package/dist/code-execution/runner-adapter/kinds/index.js.map +1 -0
- package/dist/code-execution/runner-adapter/kinds/runner-adapter.kind.d.ts +83 -0
- package/dist/code-execution/runner-adapter/kinds/runner-adapter.kind.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/kinds/runner-adapter.kind.js +63 -0
- package/dist/code-execution/runner-adapter/kinds/runner-adapter.kind.js.map +1 -0
- package/dist/code-execution/runner-adapter/kinds/runner-capacity.kind.d.ts +81 -0
- package/dist/code-execution/runner-adapter/kinds/runner-capacity.kind.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/kinds/runner-capacity.kind.js +76 -0
- package/dist/code-execution/runner-adapter/kinds/runner-capacity.kind.js.map +1 -0
- package/dist/code-execution/runner-adapter/runner-adapter.plugin.d.ts +11 -0
- package/dist/code-execution/runner-adapter/runner-adapter.plugin.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/runner-adapter.plugin.js +30 -0
- package/dist/code-execution/runner-adapter/runner-adapter.plugin.js.map +1 -0
- package/dist/code-execution/runner-adapter/schemas/descriptors.d.ts +105 -0
- package/dist/code-execution/runner-adapter/schemas/descriptors.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/schemas/descriptors.js +99 -0
- package/dist/code-execution/runner-adapter/schemas/descriptors.js.map +1 -0
- package/dist/code-execution/runner-adapter/schemas/index.d.ts +3 -0
- package/dist/code-execution/runner-adapter/schemas/index.d.ts.map +1 -0
- package/dist/code-execution/runner-adapter/schemas/index.js +2 -0
- package/dist/code-execution/runner-adapter/schemas/index.js.map +1 -0
- package/dist/code-execution/schemas/common.d.ts +109 -0
- package/dist/code-execution/schemas/common.d.ts.map +1 -0
- package/dist/code-execution/schemas/common.js +79 -0
- package/dist/code-execution/schemas/common.js.map +1 -0
- package/dist/code-execution/schemas/index.d.ts +5 -0
- package/dist/code-execution/schemas/index.d.ts.map +1 -0
- package/dist/code-execution/schemas/index.js +6 -0
- package/dist/code-execution/schemas/index.js.map +1 -0
- package/dist/code-execution/schemas/languages.d.ts +39 -0
- package/dist/code-execution/schemas/languages.d.ts.map +1 -0
- package/dist/code-execution/schemas/languages.js +55 -0
- package/dist/code-execution/schemas/languages.js.map +1 -0
- package/dist/code-execution/schemas/operations.d.ts +41 -0
- package/dist/code-execution/schemas/operations.d.ts.map +1 -0
- package/dist/code-execution/schemas/operations.js +19 -0
- package/dist/code-execution/schemas/operations.js.map +1 -0
- package/dist/code-execution/schemas/types.d.ts +2 -0
- package/dist/code-execution/schemas/types.d.ts.map +1 -0
- package/dist/code-execution/schemas/types.js +2 -0
- package/dist/code-execution/schemas/types.js.map +1 -0
- package/dist/code-execution/server/child-runner.d.ts +45 -0
- package/dist/code-execution/server/child-runner.d.ts.map +1 -0
- package/dist/code-execution/server/child-runner.js +482 -0
- package/dist/code-execution/server/child-runner.js.map +1 -0
- package/dist/code-execution/server/exec-backend.d.ts +24 -0
- package/dist/code-execution/server/exec-backend.d.ts.map +1 -0
- package/dist/code-execution/server/exec-backend.js +173 -0
- package/dist/code-execution/server/exec-backend.js.map +1 -0
- package/dist/code-execution/server/execution-engine.d.ts +13 -0
- package/dist/code-execution/server/execution-engine.d.ts.map +1 -0
- package/dist/code-execution/server/execution-engine.js +19 -0
- package/dist/code-execution/server/execution-engine.js.map +1 -0
- package/dist/code-execution/server/operations.d.ts +61 -0
- package/dist/code-execution/server/operations.d.ts.map +1 -0
- package/dist/code-execution/server/operations.js +258 -0
- package/dist/code-execution/server/operations.js.map +1 -0
- package/dist/code-execution/server/queue.d.ts +35 -0
- package/dist/code-execution/server/queue.d.ts.map +1 -0
- package/dist/code-execution/server/queue.js +121 -0
- package/dist/code-execution/server/queue.js.map +1 -0
- package/dist/code-execution/server/schemas/queue.d.ts +14 -0
- package/dist/code-execution/server/schemas/queue.d.ts.map +1 -0
- package/dist/code-execution/server/schemas/queue.js +12 -0
- package/dist/code-execution/server/schemas/queue.js.map +1 -0
- package/dist/code-execution/server/security-patterns.d.ts +13 -0
- package/dist/code-execution/server/security-patterns.d.ts.map +1 -0
- package/dist/code-execution/server/security-patterns.js +73 -0
- package/dist/code-execution/server/security-patterns.js.map +1 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.descriptor.d.ts +102 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.descriptor.d.ts.map +1 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.descriptor.js +47 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.descriptor.js.map +1 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.impl.cloud.d.ts +25 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.impl.cloud.d.ts.map +1 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.impl.cloud.js +58 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.impl.cloud.js.map +1 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.impl.consumer.d.ts +36 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.impl.consumer.d.ts.map +1 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.impl.consumer.js +81 -0
- package/dist/code-execution/tools/code-execution-submit/code-execution-submit.impl.consumer.js.map +1 -0
- package/dist/code-execution/tools/execute-code.descriptor.d.ts +49 -0
- package/dist/code-execution/tools/execute-code.descriptor.d.ts.map +1 -0
- package/dist/code-execution/tools/execute-code.descriptor.js +38 -0
- package/dist/code-execution/tools/execute-code.descriptor.js.map +1 -0
- package/dist/code-execution/tools/execute-code.impl.consumer.d.ts +14 -0
- package/dist/code-execution/tools/execute-code.impl.consumer.d.ts.map +1 -0
- package/dist/code-execution/tools/execute-code.impl.consumer.js +75 -0
- package/dist/code-execution/tools/execute-code.impl.consumer.js.map +1 -0
- package/dist/code-execution/tools/schemas/index.d.ts +22 -0
- package/dist/code-execution/tools/schemas/index.d.ts.map +1 -0
- package/dist/code-execution/tools/schemas/index.js +21 -0
- package/dist/code-execution/tools/schemas/index.js.map +1 -0
- package/dist/code-execution/tools/schemas/types.d.ts +5 -0
- package/dist/code-execution/tools/schemas/types.d.ts.map +1 -0
- package/dist/code-execution/tools/schemas/types.js +2 -0
- package/dist/code-execution/tools/schemas/types.js.map +1 -0
- package/dist/code-execution/tools/schemas.d.ts +2 -0
- package/dist/code-execution/tools/schemas.d.ts.map +1 -0
- package/dist/code-execution/tools/schemas.js +3 -0
- package/dist/code-execution/tools/schemas.js.map +1 -0
- package/dist/code-execution/worker/runtime/jobs/code-execution.run.descriptor.d.ts +74 -0
- package/dist/code-execution/worker/runtime/jobs/code-execution.run.descriptor.d.ts.map +1 -0
- package/dist/code-execution/worker/runtime/jobs/code-execution.run.descriptor.js +23 -0
- package/dist/code-execution/worker/runtime/jobs/code-execution.run.descriptor.js.map +1 -0
- package/dist/code-execution/worker/runtime/jobs/code-execution.run.impl.worker.d.ts +20 -0
- package/dist/code-execution/worker/runtime/jobs/code-execution.run.impl.worker.d.ts.map +1 -0
- package/dist/code-execution/worker/runtime/jobs/code-execution.run.impl.worker.js +141 -0
- package/dist/code-execution/worker/runtime/jobs/code-execution.run.impl.worker.js.map +1 -0
- package/dist/code-execution/worker/runtime/jobs/schemas/context.d.ts +6 -0
- package/dist/code-execution/worker/runtime/jobs/schemas/context.d.ts.map +1 -0
- package/dist/code-execution/worker/runtime/jobs/schemas/context.js +2 -0
- package/dist/code-execution/worker/runtime/jobs/schemas/context.js.map +1 -0
- package/dist/code-execution/worker/runtime/worker/dev.code.descriptor.d.ts +20 -0
- package/dist/code-execution/worker/runtime/worker/dev.code.descriptor.d.ts.map +1 -0
- package/dist/code-execution/worker/runtime/worker/dev.code.descriptor.js +20 -0
- package/dist/code-execution/worker/runtime/worker/dev.code.descriptor.js.map +1 -0
- package/dist/code-execution/worker/runtime/worker/dev.code.impl.d.ts +19 -0
- package/dist/code-execution/worker/runtime/worker/dev.code.impl.d.ts.map +1 -0
- package/dist/code-execution/worker/runtime/worker/dev.code.impl.js +29 -0
- package/dist/code-execution/worker/runtime/worker/dev.code.impl.js.map +1 -0
- package/dist/config/read.d.ts +8 -0
- package/dist/config/read.d.ts.map +1 -0
- package/dist/config/read.js +11 -0
- package/dist/config/read.js.map +1 -0
- package/dist/config/workers.code-execution.config.descriptor.d.ts +39 -0
- package/dist/config/workers.code-execution.config.descriptor.d.ts.map +1 -0
- package/dist/config/workers.code-execution.config.descriptor.js +35 -0
- package/dist/config/workers.code-execution.config.descriptor.js.map +1 -0
- package/dist/config/workers.config.descriptor.d.ts +39 -0
- package/dist/config/workers.config.descriptor.d.ts.map +1 -0
- package/dist/config/workers.config.descriptor.js +164 -0
- package/dist/config/workers.config.descriptor.js.map +1 -0
- package/dist/core/circuit-breaker.d.ts +64 -0
- package/dist/core/circuit-breaker.d.ts.map +1 -0
- package/dist/core/circuit-breaker.js +144 -0
- package/dist/core/circuit-breaker.js.map +1 -0
- package/dist/core/coalesced-enqueue.d.ts +11 -0
- package/dist/core/coalesced-enqueue.d.ts.map +1 -0
- package/dist/core/coalesced-enqueue.js +14 -0
- package/dist/core/coalesced-enqueue.js.map +1 -0
- package/dist/core/enqueue-metadata.d.ts +23 -0
- package/dist/core/enqueue-metadata.d.ts.map +1 -0
- package/dist/core/enqueue-metadata.js +56 -0
- package/dist/core/enqueue-metadata.js.map +1 -0
- package/dist/core/errors.d.ts +35 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +177 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/events.d.ts +93 -0
- package/dist/core/events.d.ts.map +1 -0
- package/dist/core/events.js +182 -0
- package/dist/core/events.js.map +1 -0
- package/dist/core/flatten-workers.d.ts +50 -0
- package/dist/core/flatten-workers.d.ts.map +1 -0
- package/dist/core/flatten-workers.js +108 -0
- package/dist/core/flatten-workers.js.map +1 -0
- package/dist/core/index.d.ts +17 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +18 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/interface.d.ts +6 -0
- package/dist/core/interface.d.ts.map +1 -0
- package/dist/core/interface.js +6 -0
- package/dist/core/interface.js.map +1 -0
- package/dist/core/job-event-publisher.d.ts +13 -0
- package/dist/core/job-event-publisher.d.ts.map +1 -0
- package/dist/core/job-event-publisher.js +120 -0
- package/dist/core/job-event-publisher.js.map +1 -0
- package/dist/core/job-handler.d.ts +26 -0
- package/dist/core/job-handler.d.ts.map +1 -0
- package/dist/core/job-handler.js +41 -0
- package/dist/core/job-handler.js.map +1 -0
- package/dist/core/job-refusal.d.ts +41 -0
- package/dist/core/job-refusal.d.ts.map +1 -0
- package/dist/core/job-refusal.js +60 -0
- package/dist/core/job-refusal.js.map +1 -0
- package/dist/core/keyed-claim.d.ts +13 -0
- package/dist/core/keyed-claim.d.ts.map +1 -0
- package/dist/core/keyed-claim.js +36 -0
- package/dist/core/keyed-claim.js.map +1 -0
- package/dist/core/keyed-dispatch.d.ts +82 -0
- package/dist/core/keyed-dispatch.d.ts.map +1 -0
- package/dist/core/keyed-dispatch.js +110 -0
- package/dist/core/keyed-dispatch.js.map +1 -0
- package/dist/core/logger.d.ts +11 -0
- package/dist/core/logger.d.ts.map +1 -0
- package/dist/core/logger.js +15 -0
- package/dist/core/logger.js.map +1 -0
- package/dist/core/manifest/factory.d.ts +3 -0
- package/dist/core/manifest/factory.d.ts.map +1 -0
- package/dist/core/manifest/factory.js +28 -0
- package/dist/core/manifest/factory.js.map +1 -0
- package/dist/core/manifest/index.d.ts +3 -0
- package/dist/core/manifest/index.d.ts.map +1 -0
- package/dist/core/manifest/index.js +2 -0
- package/dist/core/manifest/index.js.map +1 -0
- package/dist/core/manifest/types.d.ts +45 -0
- package/dist/core/manifest/types.d.ts.map +1 -0
- package/dist/core/manifest/types.js +2 -0
- package/dist/core/manifest/types.js.map +1 -0
- package/dist/core/priority-order.d.ts +15 -0
- package/dist/core/priority-order.d.ts.map +1 -0
- package/dist/core/priority-order.js +19 -0
- package/dist/core/priority-order.js.map +1 -0
- package/dist/core/queue-adapter.d.ts +110 -0
- package/dist/core/queue-adapter.d.ts.map +1 -0
- package/dist/core/queue-adapter.js +332 -0
- package/dist/core/queue-adapter.js.map +1 -0
- package/dist/core/queued-invocation.d.ts +38 -0
- package/dist/core/queued-invocation.d.ts.map +1 -0
- package/dist/core/queued-invocation.js +21 -0
- package/dist/core/queued-invocation.js.map +1 -0
- package/dist/core/schedule-identity.d.ts +29 -0
- package/dist/core/schedule-identity.d.ts.map +1 -0
- package/dist/core/schedule-identity.js +37 -0
- package/dist/core/schedule-identity.js.map +1 -0
- package/dist/core/schedule-manager.d.ts +42 -0
- package/dist/core/schedule-manager.d.ts.map +1 -0
- package/dist/core/schedule-manager.js +103 -0
- package/dist/core/schedule-manager.js.map +1 -0
- package/dist/core/schemas/api.d.ts +339 -0
- package/dist/core/schemas/api.d.ts.map +1 -0
- package/dist/core/schemas/api.js +172 -0
- package/dist/core/schemas/api.js.map +1 -0
- package/dist/core/schemas/config.d.ts +61 -0
- package/dist/core/schemas/config.d.ts.map +1 -0
- package/dist/core/schemas/config.js +41 -0
- package/dist/core/schemas/config.js.map +1 -0
- package/dist/core/schemas/index.d.ts +635 -0
- package/dist/core/schemas/index.d.ts.map +1 -0
- package/dist/core/schemas/index.js +101 -0
- package/dist/core/schemas/index.js.map +1 -0
- package/dist/core/schemas/resume.d.ts +11 -0
- package/dist/core/schemas/resume.d.ts.map +1 -0
- package/dist/core/schemas/resume.js +10 -0
- package/dist/core/schemas/resume.js.map +1 -0
- package/dist/core/schemas/types.d.ts +22 -0
- package/dist/core/schemas/types.d.ts.map +1 -0
- package/dist/core/schemas/types.js +8 -0
- package/dist/core/schemas/types.js.map +1 -0
- package/dist/core/settle.d.ts +28 -0
- package/dist/core/settle.d.ts.map +1 -0
- package/dist/core/settle.js +28 -0
- package/dist/core/settle.js.map +1 -0
- package/dist/core/supervised-workloads.d.ts +119 -0
- package/dist/core/supervised-workloads.d.ts.map +1 -0
- package/dist/core/supervised-workloads.js +52 -0
- package/dist/core/supervised-workloads.js.map +1 -0
- package/dist/core/worker-job-event.d.ts +5 -0
- package/dist/core/worker-job-event.d.ts.map +1 -0
- package/dist/core/worker-job-event.js +5 -0
- package/dist/core/worker-job-event.js.map +1 -0
- package/dist/core/worker.d.ts +35 -0
- package/dist/core/worker.d.ts.map +1 -0
- package/dist/core/worker.js +71 -0
- package/dist/core/worker.js.map +1 -0
- package/dist/dead-letter/dead-letter-store.impl.consumer.d.ts +28 -0
- package/dist/dead-letter/dead-letter-store.impl.consumer.d.ts.map +1 -0
- package/dist/dead-letter/dead-letter-store.impl.consumer.js +71 -0
- package/dist/dead-letter/dead-letter-store.impl.consumer.js.map +1 -0
- package/dist/dead-letter/dead-letter-store.kind.d.ts +22 -0
- package/dist/dead-letter/dead-letter-store.kind.d.ts.map +1 -0
- package/dist/dead-letter/dead-letter-store.kind.js +13 -0
- package/dist/dead-letter/dead-letter-store.kind.js.map +1 -0
- package/dist/dead-letter/dead-letter.record.descriptor.d.ts +8 -0
- package/dist/dead-letter/dead-letter.record.descriptor.d.ts.map +1 -0
- package/dist/dead-letter/dead-letter.record.descriptor.js +42 -0
- package/dist/dead-letter/dead-letter.record.descriptor.js.map +1 -0
- package/dist/dead-letter/dead-letter.schema.d.ts +44 -0
- package/dist/dead-letter/dead-letter.schema.d.ts.map +1 -0
- package/dist/dead-letter/dead-letter.schema.js +29 -0
- package/dist/dead-letter/dead-letter.schema.js.map +1 -0
- package/dist/dead-letter/dead-letters.d.ts +17 -0
- package/dist/dead-letter/dead-letters.d.ts.map +1 -0
- package/dist/dead-letter/dead-letters.js +58 -0
- package/dist/dead-letter/dead-letters.js.map +1 -0
- package/dist/dead-letter/workers.dlq.replay.job.d.ts +58 -0
- package/dist/dead-letter/workers.dlq.replay.job.d.ts.map +1 -0
- package/dist/dead-letter/workers.dlq.replay.job.js +36 -0
- package/dist/dead-letter/workers.dlq.replay.job.js.map +1 -0
- package/dist/dead-letter-store.d.ts +3 -0
- package/dist/dead-letter-store.d.ts.map +1 -0
- package/dist/dead-letter-store.js +3 -0
- package/dist/dead-letter-store.js.map +1 -0
- package/dist/diagnostics/check-workers.d.ts +13 -0
- package/dist/diagnostics/check-workers.d.ts.map +1 -0
- package/dist/diagnostics/check-workers.js +126 -0
- package/dist/diagnostics/check-workers.js.map +1 -0
- package/dist/diagnostics/conformance.schema.d.ts +74 -0
- package/dist/diagnostics/conformance.schema.d.ts.map +1 -0
- package/dist/diagnostics/conformance.schema.js +46 -0
- package/dist/diagnostics/conformance.schema.js.map +1 -0
- package/dist/docs/workers.bindings.docs.descriptor.d.ts +4 -0
- package/dist/docs/workers.bindings.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/workers.bindings.docs.descriptor.js +61 -0
- package/dist/docs/workers.bindings.docs.descriptor.js.map +1 -0
- package/dist/docs/workers.graphs.docs.descriptor.d.ts +4 -0
- package/dist/docs/workers.graphs.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/workers.graphs.docs.descriptor.js +71 -0
- package/dist/docs/workers.graphs.docs.descriptor.js.map +1 -0
- package/dist/docs/workers.kinds.docs.descriptor.d.ts +4 -0
- package/dist/docs/workers.kinds.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/workers.kinds.docs.descriptor.js +300 -0
- package/dist/docs/workers.kinds.docs.descriptor.js.map +1 -0
- package/dist/docs/workers.queues.docs.descriptor.d.ts +4 -0
- package/dist/docs/workers.queues.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/workers.queues.docs.descriptor.js +356 -0
- package/dist/docs/workers.queues.docs.descriptor.js.map +10 -0
- package/dist/execution/implementation-generation.d.ts +14 -0
- package/dist/execution/implementation-generation.d.ts.map +1 -0
- package/dist/execution/implementation-generation.js +17 -0
- package/dist/execution/implementation-generation.js.map +1 -0
- package/dist/execution/thread-host.descriptor.d.ts +9 -0
- package/dist/execution/thread-host.descriptor.d.ts.map +1 -0
- package/dist/execution/thread-host.descriptor.js +17 -0
- package/dist/execution/thread-host.descriptor.js.map +1 -0
- package/dist/execution/thread-host.impl.d.ts +88 -0
- package/dist/execution/thread-host.impl.d.ts.map +1 -0
- package/dist/execution/thread-host.impl.js +490 -0
- package/dist/execution/thread-host.impl.js.map +1 -0
- package/dist/execution/thread-host.program.d.ts +30 -0
- package/dist/execution/thread-host.program.d.ts.map +1 -0
- package/dist/execution/thread-host.program.js +253 -0
- package/dist/execution/thread-host.program.js.map +1 -0
- package/dist/execution/thread-host.schemas.d.ts +278 -0
- package/dist/execution/thread-host.schemas.d.ts.map +1 -0
- package/dist/execution/thread-host.schemas.js +97 -0
- package/dist/execution/thread-host.schemas.js.map +1 -0
- package/dist/execution/thread-host.wire.d.ts +31 -0
- package/dist/execution/thread-host.wire.d.ts.map +1 -0
- package/dist/execution/thread-host.wire.js +97 -0
- package/dist/execution/thread-host.wire.js.map +1 -0
- package/dist/graph/execute.d.ts +3 -0
- package/dist/graph/execute.d.ts.map +1 -0
- package/dist/graph/execute.js +96 -0
- package/dist/graph/execute.js.map +1 -0
- package/dist/graph/execution/admission.d.ts +7 -0
- package/dist/graph/execution/admission.d.ts.map +1 -0
- package/dist/graph/execution/admission.js +137 -0
- package/dist/graph/execution/admission.js.map +1 -0
- package/dist/graph/execution/coordination.d.ts +3 -0
- package/dist/graph/execution/coordination.d.ts.map +1 -0
- package/dist/graph/execution/coordination.js +125 -0
- package/dist/graph/execution/coordination.js.map +1 -0
- package/dist/graph/execution/outcome.d.ts +11 -0
- package/dist/graph/execution/outcome.d.ts.map +1 -0
- package/dist/graph/execution/outcome.js +34 -0
- package/dist/graph/execution/outcome.js.map +1 -0
- package/dist/graph/execution/paths.d.ts +10 -0
- package/dist/graph/execution/paths.d.ts.map +1 -0
- package/dist/graph/execution/paths.js +65 -0
- package/dist/graph/execution/paths.js.map +1 -0
- package/dist/graph/execution/reconciliation.d.ts +7 -0
- package/dist/graph/execution/reconciliation.d.ts.map +1 -0
- package/dist/graph/execution/reconciliation.js +87 -0
- package/dist/graph/execution/reconciliation.js.map +1 -0
- package/dist/graph/execution/schemas/ports.d.ts +5 -0
- package/dist/graph/execution/schemas/ports.d.ts.map +1 -0
- package/dist/graph/execution/schemas/ports.js +2 -0
- package/dist/graph/execution/schemas/ports.js.map +1 -0
- package/dist/graph/execution/semantics.d.ts +85 -0
- package/dist/graph/execution/semantics.d.ts.map +1 -0
- package/dist/graph/execution/semantics.js +89 -0
- package/dist/graph/execution/semantics.js.map +1 -0
- package/dist/graph/execution/state.d.ts +1282 -0
- package/dist/graph/execution/state.d.ts.map +1 -0
- package/dist/graph/execution/state.js +68 -0
- package/dist/graph/execution/state.js.map +1 -0
- package/dist/graph/index.d.ts +8 -0
- package/dist/graph/index.d.ts.map +1 -0
- package/dist/graph/index.js +8 -0
- package/dist/graph/index.js.map +1 -0
- package/dist/graph/progress.d.ts +4 -0
- package/dist/graph/progress.d.ts.map +1 -0
- package/dist/graph/progress.js +15 -0
- package/dist/graph/progress.js.map +1 -0
- package/dist/graph/recovery.d.ts +3321 -0
- package/dist/graph/recovery.d.ts.map +1 -0
- package/dist/graph/recovery.js +53 -0
- package/dist/graph/recovery.js.map +1 -0
- package/dist/graph/schemas/checkpoint.d.ts +6 -0
- package/dist/graph/schemas/checkpoint.d.ts.map +1 -0
- package/dist/graph/schemas/checkpoint.js +2 -0
- package/dist/graph/schemas/checkpoint.js.map +1 -0
- package/dist/graph/schemas/native-admission.d.ts +22 -0
- package/dist/graph/schemas/native-admission.d.ts.map +1 -0
- package/dist/graph/schemas/native-admission.js +8 -0
- package/dist/graph/schemas/native-admission.js.map +1 -0
- package/dist/graph/schemas.d.ts +332 -0
- package/dist/graph/schemas.d.ts.map +1 -0
- package/dist/graph/schemas.js +87 -0
- package/dist/graph/schemas.js.map +1 -0
- package/dist/graph/stream.d.ts +8 -0
- package/dist/graph/stream.d.ts.map +1 -0
- package/dist/graph/stream.js +52 -0
- package/dist/graph/stream.js.map +1 -0
- package/dist/graph/validate.d.ts +4 -0
- package/dist/graph/validate.d.ts.map +1 -0
- package/dist/graph/validate.js +96 -0
- package/dist/graph/validate.js.map +1 -0
- package/dist/helpers/testing/index.d.ts +4 -0
- package/dist/helpers/testing/index.d.ts.map +1 -0
- package/dist/helpers/testing/index.js +4 -0
- package/dist/helpers/testing/index.js.map +1 -0
- package/dist/helpers/testing/keyed-admission-contract.d.ts +17 -0
- package/dist/helpers/testing/keyed-admission-contract.d.ts.map +1 -0
- package/dist/helpers/testing/keyed-admission-contract.js +102 -0
- package/dist/helpers/testing/keyed-admission-contract.js.map +1 -0
- package/dist/helpers/testing/queue-list-contract.d.ts +14 -0
- package/dist/helpers/testing/queue-list-contract.d.ts.map +1 -0
- package/dist/helpers/testing/queue-list-contract.js +79 -0
- package/dist/helpers/testing/queue-list-contract.js.map +1 -0
- package/dist/helpers/testing/worker-test-utils.d.ts +94 -0
- package/dist/helpers/testing/worker-test-utils.d.ts.map +1 -0
- package/dist/helpers/testing/worker-test-utils.js +195 -0
- package/dist/helpers/testing/worker-test-utils.js.map +1 -0
- package/dist/host-runtime.d.ts +9 -0
- package/dist/host-runtime.d.ts.map +1 -0
- package/dist/host-runtime.js +27 -0
- package/dist/host-runtime.js.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/interfaces/adapter.d.ts +49 -0
- package/dist/interfaces/adapter.d.ts.map +1 -0
- package/dist/interfaces/adapter.js +8 -0
- package/dist/interfaces/adapter.js.map +1 -0
- package/dist/interfaces/index.d.ts +7 -0
- package/dist/interfaces/index.d.ts.map +1 -0
- package/dist/interfaces/index.js +7 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/kinds/flow.d.ts +36 -0
- package/dist/kinds/flow.d.ts.map +1 -0
- package/dist/kinds/flow.js +71 -0
- package/dist/kinds/flow.js.map +1 -0
- package/dist/kinds/job-event-bus.d.ts +36 -0
- package/dist/kinds/job-event-bus.d.ts.map +1 -0
- package/dist/kinds/job-event-bus.js +40 -0
- package/dist/kinds/job-event-bus.js.map +1 -0
- package/dist/kinds/job.d.ts +28 -0
- package/dist/kinds/job.d.ts.map +1 -0
- package/dist/kinds/job.js +58 -0
- package/dist/kinds/job.js.map +1 -0
- package/dist/kinds/ops-alert-rule.kind.d.ts +11 -0
- package/dist/kinds/ops-alert-rule.kind.d.ts.map +1 -0
- package/dist/kinds/ops-alert-rule.kind.js +18 -0
- package/dist/kinds/ops-alert-rule.kind.js.map +1 -0
- package/dist/kinds/ops-report-slice.kind.d.ts +10 -0
- package/dist/kinds/ops-report-slice.kind.d.ts.map +1 -0
- package/dist/kinds/ops-report-slice.kind.js +17 -0
- package/dist/kinds/ops-report-slice.kind.js.map +1 -0
- package/dist/kinds/schemas/index.d.ts +52 -0
- package/dist/kinds/schemas/index.d.ts.map +1 -0
- package/dist/kinds/schemas/index.js +9 -0
- package/dist/kinds/schemas/index.js.map +1 -0
- package/dist/kinds/schemas/job-event-bus.d.ts +52 -0
- package/dist/kinds/schemas/job-event-bus.d.ts.map +1 -0
- package/dist/kinds/schemas/job-event-bus.js +7 -0
- package/dist/kinds/schemas/job-event-bus.js.map +1 -0
- package/dist/kinds/usage-emitter.d.ts +50 -0
- package/dist/kinds/usage-emitter.d.ts.map +1 -0
- package/dist/kinds/usage-emitter.js +56 -0
- package/dist/kinds/usage-emitter.js.map +1 -0
- package/dist/kinds/worker.d.ts +28 -0
- package/dist/kinds/worker.d.ts.map +1 -0
- package/dist/kinds/worker.js +71 -0
- package/dist/kinds/worker.js.map +1 -0
- package/dist/logging/worker-core.logger.descriptor.d.ts +7 -0
- package/dist/logging/worker-core.logger.descriptor.d.ts.map +1 -0
- package/dist/logging/worker-core.logger.descriptor.js +13 -0
- package/dist/logging/worker-core.logger.descriptor.js.map +1 -0
- package/dist/logging/worker-runtime.logger.descriptor.d.ts +7 -0
- package/dist/logging/worker-runtime.logger.descriptor.d.ts.map +1 -0
- package/dist/logging/worker-runtime.logger.descriptor.js +14 -0
- package/dist/logging/worker-runtime.logger.descriptor.js.map +1 -0
- package/dist/logging/worker-runtime.output.descriptor.d.ts +4 -0
- package/dist/logging/worker-runtime.output.descriptor.d.ts.map +1 -0
- package/dist/logging/worker-runtime.output.descriptor.js +14 -0
- package/dist/logging/worker-runtime.output.descriptor.js.map +1 -0
- package/dist/maintenance/index.d.ts +17 -0
- package/dist/maintenance/index.d.ts.map +1 -0
- package/dist/maintenance/index.js +17 -0
- package/dist/maintenance/index.js.map +1 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.descriptor.d.ts +9 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.descriptor.d.ts.map +1 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.descriptor.js +30 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.descriptor.js.map +1 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.impl.cloud.d.ts +20 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.impl.cloud.d.ts.map +1 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.impl.cloud.js +69 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.impl.cloud.js.map +1 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.schema.d.ts +14 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.schema.d.ts.map +1 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.schema.js +14 -0
- package/dist/maintenance/jobs/db-prune/maintenance.db-prune.schema.js.map +1 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.descriptor.d.ts +9 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.descriptor.d.ts.map +1 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.descriptor.js +32 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.descriptor.js.map +1 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.impl.cloud.d.ts +21 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.impl.cloud.d.ts.map +1 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.impl.cloud.js +132 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.impl.cloud.js.map +1 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.impl.consumer.d.ts +22 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.impl.consumer.d.ts.map +1 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.impl.consumer.js +135 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.impl.consumer.js.map +1 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.schema.d.ts +24 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.schema.d.ts.map +1 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.schema.js +36 -0
- package/dist/maintenance/jobs/queues-clean/maintenance.queues-clean.schema.js.map +1 -0
- package/dist/maintenance/jobs/storage-sync/maintenance.storage-sync.descriptor.d.ts +11 -0
- package/dist/maintenance/jobs/storage-sync/maintenance.storage-sync.descriptor.d.ts.map +1 -0
- package/dist/maintenance/jobs/storage-sync/maintenance.storage-sync.descriptor.js +32 -0
- package/dist/maintenance/jobs/storage-sync/maintenance.storage-sync.descriptor.js.map +1 -0
- package/dist/maintenance/jobs/storage-sync/maintenance.storage-sync.impl.consumer.d.ts +27 -0
- package/dist/maintenance/jobs/storage-sync/maintenance.storage-sync.impl.consumer.d.ts.map +1 -0
- package/dist/maintenance/jobs/storage-sync/maintenance.storage-sync.impl.consumer.js +216 -0
- package/dist/maintenance/jobs/storage-sync/maintenance.storage-sync.impl.consumer.js.map +1 -0
- package/dist/maintenance/jobs/storage-sync/schemas/storage-sync.d.ts +48 -0
- package/dist/maintenance/jobs/storage-sync/schemas/storage-sync.d.ts.map +1 -0
- package/dist/maintenance/jobs/storage-sync/schemas/storage-sync.js +32 -0
- package/dist/maintenance/jobs/storage-sync/schemas/storage-sync.js.map +1 -0
- package/dist/maintenance/maintenance.descriptor.d.ts +10 -0
- package/dist/maintenance/maintenance.descriptor.d.ts.map +1 -0
- package/dist/maintenance/maintenance.descriptor.js +20 -0
- package/dist/maintenance/maintenance.descriptor.js.map +1 -0
- package/dist/maintenance/maintenance.impl.d.ts +41 -0
- package/dist/maintenance/maintenance.impl.d.ts.map +1 -0
- package/dist/maintenance/maintenance.impl.js +82 -0
- package/dist/maintenance/maintenance.impl.js.map +1 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.descriptor.d.ts +11 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.descriptor.d.ts.map +1 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.descriptor.js +31 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.descriptor.js.map +1 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.impl.d.ts +21 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.impl.d.ts.map +1 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.impl.js +68 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.impl.js.map +1 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.schema.d.ts +85 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.schema.d.ts.map +1 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.schema.js +32 -0
- package/dist/ops/emit-report-slice/ops.sweep.emit-report-slice.schema.js.map +1 -0
- package/dist/public/entrypoint.d.ts +14 -0
- package/dist/public/entrypoint.d.ts.map +1 -0
- package/dist/public/entrypoint.js +20 -0
- package/dist/public/entrypoint.js.map +1 -0
- package/dist/public/helpers.d.ts +7 -0
- package/dist/public/helpers.d.ts.map +1 -0
- package/dist/public/helpers.js +21 -0
- package/dist/public/helpers.js.map +1 -0
- package/dist/public/schemas/index.d.ts +9 -0
- package/dist/public/schemas/index.d.ts.map +1 -0
- package/dist/public/schemas/index.js +5 -0
- package/dist/public/schemas/index.js.map +1 -0
- package/dist/remote/queue-capability.d.ts +231 -0
- package/dist/remote/queue-capability.d.ts.map +1 -0
- package/dist/remote/queue-capability.impl.d.ts +30 -0
- package/dist/remote/queue-capability.impl.d.ts.map +1 -0
- package/dist/remote/queue-capability.impl.js +77 -0
- package/dist/remote/queue-capability.impl.js.map +1 -0
- package/dist/remote/queue-capability.js +236 -0
- package/dist/remote/queue-capability.js.map +1 -0
- package/dist/runnable/job/change-source.d.ts +5 -0
- package/dist/runnable/job/change-source.d.ts.map +1 -0
- package/dist/runnable/job/change-source.js +104 -0
- package/dist/runnable/job/change-source.js.map +1 -0
- package/dist/runnable/job/executor.d.ts +89 -0
- package/dist/runnable/job/executor.d.ts.map +1 -0
- package/dist/runnable/job/executor.js +219 -0
- package/dist/runnable/job/executor.js.map +1 -0
- package/dist/runnable/job/plugin.d.ts +3 -0
- package/dist/runnable/job/plugin.d.ts.map +1 -0
- package/dist/runnable/job/plugin.js +19 -0
- package/dist/runnable/job/plugin.js.map +1 -0
- package/dist/runnable/job/settings.d.ts +12 -0
- package/dist/runnable/job/settings.d.ts.map +1 -0
- package/dist/runnable/job/settings.js +8 -0
- package/dist/runnable/job/settings.js.map +1 -0
- package/dist/runtime/consumer-client.d.ts +20 -0
- package/dist/runtime/consumer-client.d.ts.map +1 -0
- package/dist/runtime/consumer-client.js +56 -0
- package/dist/runtime/consumer-client.js.map +1 -0
- package/dist/runtime/dead-letter-store.state.d.ts +48 -0
- package/dist/runtime/dead-letter-store.state.d.ts.map +1 -0
- package/dist/runtime/dead-letter-store.state.js +84 -0
- package/dist/runtime/dead-letter-store.state.js.map +1 -0
- package/dist/runtime/flow.d.ts +5 -0
- package/dist/runtime/flow.d.ts.map +1 -0
- package/dist/runtime/flow.descriptor.d.ts +20 -0
- package/dist/runtime/flow.descriptor.d.ts.map +1 -0
- package/dist/runtime/flow.descriptor.js +20 -0
- package/dist/runtime/flow.descriptor.js.map +1 -0
- package/dist/runtime/flow.impl.consumer.d.ts +42 -0
- package/dist/runtime/flow.impl.consumer.d.ts.map +1 -0
- package/dist/runtime/flow.impl.consumer.js +365 -0
- package/dist/runtime/flow.impl.consumer.js.map +1 -0
- package/dist/runtime/flow.js +5 -0
- package/dist/runtime/flow.js.map +1 -0
- package/dist/runtime/index.d.ts +28 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +23 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/job-context.d.ts +42 -0
- package/dist/runtime/job-context.d.ts.map +1 -0
- package/dist/runtime/job-context.js +377 -0
- package/dist/runtime/job-context.js.map +1 -0
- package/dist/runtime/job-contract.d.ts +29 -0
- package/dist/runtime/job-contract.d.ts.map +1 -0
- package/dist/runtime/job-contract.js +86 -0
- package/dist/runtime/job-contract.js.map +1 -0
- package/dist/runtime/job-result-store.state.d.ts +58 -0
- package/dist/runtime/job-result-store.state.d.ts.map +1 -0
- package/dist/runtime/job-result-store.state.js +242 -0
- package/dist/runtime/job-result-store.state.js.map +1 -0
- package/dist/runtime/ledger/job-ledger.record.descriptor.d.ts +90 -0
- package/dist/runtime/ledger/job-ledger.record.descriptor.d.ts.map +1 -0
- package/dist/runtime/ledger/job-ledger.record.descriptor.js +71 -0
- package/dist/runtime/ledger/job-ledger.record.descriptor.js.map +1 -0
- package/dist/runtime/ledger/record-job-run.d.ts +13 -0
- package/dist/runtime/ledger/record-job-run.d.ts.map +1 -0
- package/dist/runtime/ledger/record-job-run.js +39 -0
- package/dist/runtime/ledger/record-job-run.js.map +1 -0
- package/dist/runtime/schedule-registration.d.ts +77 -0
- package/dist/runtime/schedule-registration.d.ts.map +1 -0
- package/dist/runtime/schedule-registration.js +168 -0
- package/dist/runtime/schedule-registration.js.map +1 -0
- package/dist/runtime/schemas/contracts.d.ts +23 -0
- package/dist/runtime/schemas/contracts.d.ts.map +1 -0
- package/dist/runtime/schemas/contracts.js +2 -0
- package/dist/runtime/schemas/contracts.js.map +1 -0
- package/dist/runtime/schemas/index.d.ts +191 -0
- package/dist/runtime/schemas/index.d.ts.map +1 -0
- package/dist/runtime/schemas/index.js +56 -0
- package/dist/runtime/schemas/index.js.map +1 -0
- package/dist/runtime/served-jobs.d.ts +34 -0
- package/dist/runtime/served-jobs.d.ts.map +1 -0
- package/dist/runtime/served-jobs.js +87 -0
- package/dist/runtime/served-jobs.js.map +1 -0
- package/dist/runtime/services.consumer.plugin.d.ts +3 -0
- package/dist/runtime/services.consumer.plugin.d.ts.map +1 -0
- package/dist/runtime/services.consumer.plugin.js +11 -0
- package/dist/runtime/services.consumer.plugin.js.map +1 -0
- package/dist/runtime/surface.d.ts +14 -0
- package/dist/runtime/surface.d.ts.map +1 -0
- package/dist/runtime/surface.js +12 -0
- package/dist/runtime/surface.js.map +1 -0
- package/dist/runtime/usage-aggregator.d.ts +60 -0
- package/dist/runtime/usage-aggregator.d.ts.map +1 -0
- package/dist/runtime/usage-aggregator.js +169 -0
- package/dist/runtime/usage-aggregator.js.map +1 -0
- package/dist/runtime/usage-emitter-resolve.d.ts +19 -0
- package/dist/runtime/usage-emitter-resolve.d.ts.map +1 -0
- package/dist/runtime/usage-emitter-resolve.js +23 -0
- package/dist/runtime/usage-emitter-resolve.js.map +1 -0
- package/dist/runtime/usage-hardware.d.ts +15 -0
- package/dist/runtime/usage-hardware.d.ts.map +1 -0
- package/dist/runtime/usage-hardware.js +15 -0
- package/dist/runtime/usage-hardware.js.map +1 -0
- package/dist/runtime/worker-runner.d.ts +65 -0
- package/dist/runtime/worker-runner.d.ts.map +1 -0
- package/dist/runtime/worker-runner.js +970 -0
- package/dist/runtime/worker-runner.js.map +1 -0
- package/dist/runtime/worker-runtime.d.ts +66 -0
- package/dist/runtime/worker-runtime.d.ts.map +1 -0
- package/dist/runtime/worker-runtime.js +408 -0
- package/dist/runtime/worker-runtime.js.map +1 -0
- package/dist/scheduler/cloud-scheduled-jobs.d.ts +27 -0
- package/dist/scheduler/cloud-scheduled-jobs.d.ts.map +1 -0
- package/dist/scheduler/cloud-scheduled-jobs.js +38 -0
- package/dist/scheduler/cloud-scheduled-jobs.js.map +1 -0
- package/dist/scheduler/db-evaluator.d.ts +19 -0
- package/dist/scheduler/db-evaluator.d.ts.map +1 -0
- package/dist/scheduler/db-evaluator.js +110 -0
- package/dist/scheduler/db-evaluator.js.map +1 -0
- package/dist/scheduler/lock.d.ts +18 -0
- package/dist/scheduler/lock.d.ts.map +1 -0
- package/dist/scheduler/lock.js +10 -0
- package/dist/scheduler/lock.js.map +1 -0
- package/dist/scheduler/schemas/index.d.ts +62 -0
- package/dist/scheduler/schemas/index.d.ts.map +1 -0
- package/dist/scheduler/schemas/index.js +30 -0
- package/dist/scheduler/schemas/index.js.map +1 -0
- package/dist/scheduler/service.d.ts +20 -0
- package/dist/scheduler/service.d.ts.map +1 -0
- package/dist/scheduler/service.js +162 -0
- package/dist/scheduler/service.js.map +1 -0
- package/dist/scheduler/tasks/db.d.ts +4 -0
- package/dist/scheduler/tasks/db.d.ts.map +1 -0
- package/dist/scheduler/tasks/db.js +10 -0
- package/dist/scheduler/tasks/db.js.map +1 -0
- package/dist/scheduler/tasks/queues.d.ts +8 -0
- package/dist/scheduler/tasks/queues.d.ts.map +1 -0
- package/dist/scheduler/tasks/queues.js +8 -0
- package/dist/scheduler/tasks/queues.js.map +1 -0
- package/dist/schemas/adapter.d.ts +97 -0
- package/dist/schemas/adapter.d.ts.map +1 -0
- package/dist/schemas/adapter.js +119 -0
- package/dist/schemas/adapter.js.map +1 -0
- package/dist/schemas/admission.d.ts +50 -0
- package/dist/schemas/admission.d.ts.map +1 -0
- package/dist/schemas/admission.js +23 -0
- package/dist/schemas/admission.js.map +1 -0
- package/dist/schemas/cancellation.d.ts +96 -0
- package/dist/schemas/cancellation.d.ts.map +1 -0
- package/dist/schemas/cancellation.js +123 -0
- package/dist/schemas/cancellation.js.map +1 -0
- package/dist/schemas/claim.d.ts +85 -0
- package/dist/schemas/claim.d.ts.map +1 -0
- package/dist/schemas/claim.js +137 -0
- package/dist/schemas/claim.js.map +1 -0
- package/dist/schemas/client.d.ts +221 -0
- package/dist/schemas/client.d.ts.map +1 -0
- package/dist/schemas/client.js +19 -0
- package/dist/schemas/client.js.map +1 -0
- package/dist/schemas/descriptors.d.ts +195 -0
- package/dist/schemas/descriptors.d.ts.map +1 -0
- package/dist/schemas/descriptors.js +208 -0
- package/dist/schemas/descriptors.js.map +1 -0
- package/dist/schemas/index.d.ts +15 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +14 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/job-lookup.d.ts +14 -0
- package/dist/schemas/job-lookup.d.ts.map +1 -0
- package/dist/schemas/job-lookup.js +2 -0
- package/dist/schemas/job-lookup.js.map +1 -0
- package/dist/schemas/observation.d.ts +68 -0
- package/dist/schemas/observation.d.ts.map +1 -0
- package/dist/schemas/observation.js +27 -0
- package/dist/schemas/observation.js.map +1 -0
- package/dist/schemas/ops-alert-rule.d.ts +61 -0
- package/dist/schemas/ops-alert-rule.d.ts.map +1 -0
- package/dist/schemas/ops-alert-rule.js +32 -0
- package/dist/schemas/ops-alert-rule.js.map +1 -0
- package/dist/schemas/ops-report-slice.d.ts +149 -0
- package/dist/schemas/ops-report-slice.d.ts.map +1 -0
- package/dist/schemas/ops-report-slice.js +111 -0
- package/dist/schemas/ops-report-slice.js.map +1 -0
- package/dist/schemas/plugin-options.d.ts +6 -0
- package/dist/schemas/plugin-options.d.ts.map +1 -0
- package/dist/schemas/plugin-options.js +3 -0
- package/dist/schemas/plugin-options.js.map +1 -0
- package/dist/server/api.d.ts +9 -0
- package/dist/server/api.d.ts.map +1 -0
- package/dist/server/api.js +80 -0
- package/dist/server/api.js.map +1 -0
- package/dist/server/helpers.d.ts +8 -0
- package/dist/server/helpers.d.ts.map +1 -0
- package/dist/server/helpers.js +20 -0
- package/dist/server/helpers.js.map +1 -0
- package/dist/server/schemas/index.d.ts +62 -0
- package/dist/server/schemas/index.d.ts.map +1 -0
- package/dist/server/schemas/index.js +9 -0
- package/dist/server/schemas/index.js.map +1 -0
- package/dist/storage/db-resolver.d.ts +54 -0
- package/dist/storage/db-resolver.d.ts.map +1 -0
- package/dist/storage/db-resolver.js +42 -0
- package/dist/storage/db-resolver.js.map +1 -0
- package/dist/svelte/components/WorkersLoader.svelte +53 -0
- package/dist/svelte/components/WorkersLoader.svelte.d.ts +12 -0
- package/dist/svelte/components/WorkersLoader.svelte.d.ts.map +1 -0
- package/dist/svelte/components/WorkersOverview.svelte +67 -0
- package/dist/svelte/components/WorkersOverview.svelte.d.ts +8 -0
- package/dist/svelte/components/WorkersOverview.svelte.d.ts.map +1 -0
- package/dist/svelte/index.d.ts +9 -0
- package/dist/svelte/index.d.ts.map +1 -0
- package/dist/svelte/index.js +6 -0
- package/dist/svelte/plugin.d.ts +2 -0
- package/dist/svelte/plugin.d.ts.map +1 -0
- package/dist/svelte/plugin.js +1 -0
- package/dist/svelte/runnable/components/ArtifactList.svelte +186 -0
- package/dist/svelte/runnable/components/ArtifactList.svelte.d.ts +10 -0
- package/dist/svelte/runnable/components/ArtifactList.svelte.d.ts.map +1 -0
- package/dist/svelte/runnable/components/LogViewer.svelte +208 -0
- package/dist/svelte/runnable/components/LogViewer.svelte.d.ts +9 -0
- package/dist/svelte/runnable/components/LogViewer.svelte.d.ts.map +1 -0
- package/dist/svelte/runnable/components/MetricCard.svelte +176 -0
- package/dist/svelte/runnable/components/MetricCard.svelte.d.ts +5 -0
- package/dist/svelte/runnable/components/MetricCard.svelte.d.ts.map +1 -0
- package/dist/svelte/runnable/components/RunStatusBadge.svelte +38 -0
- package/dist/svelte/runnable/components/RunStatusBadge.svelte.d.ts +9 -0
- package/dist/svelte/runnable/components/RunStatusBadge.svelte.d.ts.map +1 -0
- package/dist/svelte/runnable/components/TypePicker.svelte +337 -0
- package/dist/svelte/runnable/components/TypePicker.svelte.d.ts +12 -0
- package/dist/svelte/runnable/components/TypePicker.svelte.d.ts.map +1 -0
- package/dist/svelte/runnable/index.d.ts +9 -0
- package/dist/svelte/runnable/index.d.ts.map +1 -0
- package/dist/svelte/runnable/index.js +6 -0
- package/dist/svelte/runnable/lib/status.d.ts +19 -0
- package/dist/svelte/runnable/lib/status.d.ts.map +1 -0
- package/dist/svelte/runnable/lib/status.js +114 -0
- package/dist/svelte/runnable/styles.css +14 -0
- package/dist/svelte/runnable/types.d.ts +33 -0
- package/dist/svelte/runnable/types.d.ts.map +1 -0
- package/dist/svelte/runnable/types.js +1 -0
- package/dist/svelte/runtime.d.ts +9 -0
- package/dist/svelte/runtime.d.ts.map +1 -0
- package/dist/svelte/runtime.js +29 -0
- package/dist/svelte/state.svelte.d.ts +33 -0
- package/dist/svelte/state.svelte.d.ts.map +1 -0
- package/dist/svelte/state.svelte.js +112 -0
- package/dist/svelte/styles.css +2 -0
- package/dist/svelte/tool-widgets/ExecuteCodeToolCard.svelte +70 -0
- package/dist/svelte/tool-widgets/ExecuteCodeToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/ExecuteCodeToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/execute-code-card.d.ts +38 -0
- package/dist/svelte/tool-widgets/execute-code-card.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/execute-code-card.js +102 -0
- package/dist/svelte/tool-widgets/index.d.ts +3 -0
- package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.js +2 -0
- package/dist/svelte/workers-svelte.plugin.d.ts +39 -0
- package/dist/svelte/workers-svelte.plugin.d.ts.map +1 -0
- package/dist/svelte/workers-svelte.plugin.js +30 -0
- package/dist/testing/serve-workers-config.d.ts +4 -0
- package/dist/testing/serve-workers-config.d.ts.map +1 -0
- package/dist/testing/serve-workers-config.js +23 -0
- package/dist/testing/serve-workers-config.js.map +1 -0
- package/dist/tui/index.d.ts +2 -0
- package/dist/tui/index.d.ts.map +1 -0
- package/dist/tui/index.js +2 -0
- package/dist/tui/index.js.map +1 -0
- package/dist/tui/workers-tui.plugin.d.ts +3 -0
- package/dist/tui/workers-tui.plugin.d.ts.map +1 -0
- package/dist/tui/workers-tui.plugin.js +18 -0
- package/dist/tui/workers-tui.plugin.js.map +1 -0
- package/dist/tui/workers.tui-app.descriptor.d.ts +4 -0
- package/dist/tui/workers.tui-app.descriptor.d.ts.map +1 -0
- package/dist/tui/workers.tui-app.descriptor.js +19 -0
- package/dist/tui/workers.tui-app.descriptor.js.map +1 -0
- package/dist/tui/workers.tui-app.impl.consumer.d.ts +4 -0
- package/dist/tui/workers.tui-app.impl.consumer.d.ts.map +1 -0
- package/dist/tui/workers.tui-app.impl.consumer.js +49 -0
- package/dist/tui/workers.tui-app.impl.consumer.js.map +1 -0
- package/dist/tui/workers.tui-state.descriptor.d.ts +7 -0
- package/dist/tui/workers.tui-state.descriptor.d.ts.map +1 -0
- package/dist/tui/workers.tui-state.descriptor.js +19 -0
- package/dist/tui/workers.tui-state.descriptor.js.map +1 -0
- package/dist/tui/workers.tui-state.impl.consumer.d.ts +5 -0
- package/dist/tui/workers.tui-state.impl.consumer.d.ts.map +1 -0
- package/dist/tui/workers.tui-state.impl.consumer.js +82 -0
- package/dist/tui/workers.tui-state.impl.consumer.js.map +1 -0
- package/dist/tui/workers.tui-state.key.d.ts +60 -0
- package/dist/tui/workers.tui-state.key.d.ts.map +1 -0
- package/dist/tui/workers.tui-state.key.js +31 -0
- package/dist/tui/workers.tui-state.key.js.map +1 -0
- package/dist/usage.d.ts +7 -0
- package/dist/usage.d.ts.map +1 -0
- package/dist/usage.js +5 -0
- package/dist/usage.js.map +1 -0
- package/dist/workers.browser.plugin.d.ts +10 -0
- package/dist/workers.browser.plugin.d.ts.map +1 -0
- package/dist/workers.browser.plugin.js +48 -0
- package/dist/workers.browser.plugin.js.map +1 -0
- package/dist/workers.cloud.plugin.d.ts +8 -0
- package/dist/workers.cloud.plugin.d.ts.map +1 -0
- package/dist/workers.cloud.plugin.js +61 -0
- package/dist/workers.cloud.plugin.js.map +1 -0
- package/dist/workers.consumer.plugin.d.ts +32 -0
- package/dist/workers.consumer.plugin.d.ts.map +1 -0
- package/dist/workers.consumer.plugin.js +43 -0
- package/dist/workers.consumer.plugin.js.map +1 -0
- package/dist/workers.plugin.d.ts +48 -0
- package/dist/workers.plugin.d.ts.map +1 -0
- package/dist/workers.plugin.js +192 -0
- package/dist/workers.plugin.js.map +1 -0
- package/package.json +591 -4
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Declared Workers coverage in this host's registry, not execution/readiness.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from 'zod/v4';
|
|
5
|
+
export declare const ConformanceFailureCodeSchema: z.ZodEnum<{
|
|
6
|
+
"empty-registry": "empty-registry";
|
|
7
|
+
"job-without-loader": "job-without-loader";
|
|
8
|
+
"queue-without-worker": "queue-without-worker";
|
|
9
|
+
"worker-without-jobs": "worker-without-jobs";
|
|
10
|
+
"schedule-without-host": "schedule-without-host";
|
|
11
|
+
"flow-unresolved": "flow-unresolved";
|
|
12
|
+
}>;
|
|
13
|
+
export declare const ConformanceWarningCodeSchema: z.ZodEnum<{
|
|
14
|
+
"emitter-unbound": "emitter-unbound";
|
|
15
|
+
}>;
|
|
16
|
+
export declare const ConformanceIssueSchema: z.ZodObject<{
|
|
17
|
+
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
18
|
+
"empty-registry": "empty-registry";
|
|
19
|
+
"job-without-loader": "job-without-loader";
|
|
20
|
+
"queue-without-worker": "queue-without-worker";
|
|
21
|
+
"worker-without-jobs": "worker-without-jobs";
|
|
22
|
+
"schedule-without-host": "schedule-without-host";
|
|
23
|
+
"flow-unresolved": "flow-unresolved";
|
|
24
|
+
}>, z.ZodEnum<{
|
|
25
|
+
"emitter-unbound": "emitter-unbound";
|
|
26
|
+
}>]>;
|
|
27
|
+
subject: z.ZodString;
|
|
28
|
+
detail: z.ZodString;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export declare const ConformanceReportSchema: z.ZodObject<{
|
|
31
|
+
hardware: z.ZodString;
|
|
32
|
+
surface: z.ZodString;
|
|
33
|
+
counts: z.ZodObject<{
|
|
34
|
+
jobs: z.ZodNumber;
|
|
35
|
+
jobsWithLoader: z.ZodNumber;
|
|
36
|
+
backgroundJobs: z.ZodNumber;
|
|
37
|
+
queues: z.ZodNumber;
|
|
38
|
+
servedQueues: z.ZodNumber;
|
|
39
|
+
schedules: z.ZodNumber;
|
|
40
|
+
servedSchedules: z.ZodNumber;
|
|
41
|
+
workers: z.ZodNumber;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
failures: z.ZodArray<z.ZodObject<{
|
|
44
|
+
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
45
|
+
"empty-registry": "empty-registry";
|
|
46
|
+
"job-without-loader": "job-without-loader";
|
|
47
|
+
"queue-without-worker": "queue-without-worker";
|
|
48
|
+
"worker-without-jobs": "worker-without-jobs";
|
|
49
|
+
"schedule-without-host": "schedule-without-host";
|
|
50
|
+
"flow-unresolved": "flow-unresolved";
|
|
51
|
+
}>, z.ZodEnum<{
|
|
52
|
+
"emitter-unbound": "emitter-unbound";
|
|
53
|
+
}>]>;
|
|
54
|
+
subject: z.ZodString;
|
|
55
|
+
detail: z.ZodString;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
58
|
+
code: z.ZodUnion<readonly [z.ZodEnum<{
|
|
59
|
+
"empty-registry": "empty-registry";
|
|
60
|
+
"job-without-loader": "job-without-loader";
|
|
61
|
+
"queue-without-worker": "queue-without-worker";
|
|
62
|
+
"worker-without-jobs": "worker-without-jobs";
|
|
63
|
+
"schedule-without-host": "schedule-without-host";
|
|
64
|
+
"flow-unresolved": "flow-unresolved";
|
|
65
|
+
}>, z.ZodEnum<{
|
|
66
|
+
"emitter-unbound": "emitter-unbound";
|
|
67
|
+
}>]>;
|
|
68
|
+
subject: z.ZodString;
|
|
69
|
+
detail: z.ZodString;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
export type ConformanceReport = z.infer<typeof ConformanceReportSchema>;
|
|
73
|
+
export type ConformanceIssue = z.infer<typeof ConformanceIssueSchema>;
|
|
74
|
+
//# sourceMappingURL=conformance.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conformance.schema.d.ts","sourceRoot":"","sources":["../../src/diagnostics/conformance.schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,eAAO,MAAM,4BAA4B;;;;;;;EAavC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;EAGvC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;iBAIjC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Declared Workers coverage in this host's registry, not execution/readiness.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from 'zod/v4';
|
|
5
|
+
export const ConformanceFailureCodeSchema = z.enum([
|
|
6
|
+
/** No enabled jobs were examined, so this host's coverage is unmeasured. */
|
|
7
|
+
'empty-registry',
|
|
8
|
+
/** A job is declared for this hardware but has no registered loader. */
|
|
9
|
+
'job-without-loader',
|
|
10
|
+
/** A background queue has no matching declared worker on this hardware. */
|
|
11
|
+
'queue-without-worker',
|
|
12
|
+
/** A worker declares a queue that no job uses. */
|
|
13
|
+
'worker-without-jobs',
|
|
14
|
+
/** A scheduled job's queue has no matching declared worker. */
|
|
15
|
+
'schedule-without-host',
|
|
16
|
+
/** Background jobs exist but no workers/flow loader is registered here. */
|
|
17
|
+
'flow-unresolved'
|
|
18
|
+
]);
|
|
19
|
+
export const ConformanceWarningCodeSchema = z.enum([
|
|
20
|
+
/** No workers/usage-emitter is registered, so work on this host is not metered. */
|
|
21
|
+
'emitter-unbound'
|
|
22
|
+
]);
|
|
23
|
+
export const ConformanceIssueSchema = z.object({
|
|
24
|
+
code: z.union([ConformanceFailureCodeSchema, ConformanceWarningCodeSchema]),
|
|
25
|
+
subject: z.string(),
|
|
26
|
+
detail: z.string()
|
|
27
|
+
});
|
|
28
|
+
export const ConformanceReportSchema = z.object({
|
|
29
|
+
/** The scope the check evaluated: the host it ran in. */
|
|
30
|
+
hardware: z.string(),
|
|
31
|
+
surface: z.string(),
|
|
32
|
+
counts: z.object({
|
|
33
|
+
jobs: z.number().int(),
|
|
34
|
+
/** Registered loader count; loaders are not invoked by this reader. */
|
|
35
|
+
jobsWithLoader: z.number().int(),
|
|
36
|
+
backgroundJobs: z.number().int(),
|
|
37
|
+
queues: z.number().int(),
|
|
38
|
+
servedQueues: z.number().int(),
|
|
39
|
+
schedules: z.number().int(),
|
|
40
|
+
servedSchedules: z.number().int(),
|
|
41
|
+
workers: z.number().int()
|
|
42
|
+
}),
|
|
43
|
+
failures: z.array(ConformanceIssueSchema),
|
|
44
|
+
warnings: z.array(ConformanceIssueSchema)
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=conformance.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conformance.schema.js","sourceRoot":"","sources":["../../src/diagnostics/conformance.schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IAClD,4EAA4E;IAC5E,gBAAgB;IAChB,wEAAwE;IACxE,oBAAoB;IACpB,2EAA2E;IAC3E,sBAAsB;IACtB,kDAAkD;IAClD,qBAAqB;IACrB,+DAA+D;IAC/D,uBAAuB;IACvB,2EAA2E;IAC3E,iBAAiB;CACjB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IAClD,mFAAmF;IACnF,iBAAiB;CACjB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,4BAA4B,EAAE,4BAA4B,CAAC,CAAC;IAC3E,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,yDAAyD;IACzD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QACtB,uEAAuE;QACvE,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QAChC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QAChC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QACxB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QAC9B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QAC3B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;KACzB,CAAC;IACF,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;IACzC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;CACzC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workers.bindings.docs.descriptor.d.ts","sourceRoot":"","sources":["../../src/docs/workers.bindings.docs.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,QAAA,MAAM,UAAU,EAAE,mBA0DjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
const descriptor = {
|
|
2
|
+
kind: 'docs/topic',
|
|
3
|
+
id: 'workers.bindings',
|
|
4
|
+
title: 'Worker Bindings',
|
|
5
|
+
summary: 'Runtime-local worker configuration and provider-owned bindings',
|
|
6
|
+
body: {
|
|
7
|
+
type: 'markdown',
|
|
8
|
+
sourceType: 'raw',
|
|
9
|
+
source: `---
|
|
10
|
+
title: Worker Bindings
|
|
11
|
+
summary: Runtime-local worker configuration and provider-owned bindings
|
|
12
|
+
tags: [workers, bindings, environment, runtime, plugins]
|
|
13
|
+
parent: workers
|
|
14
|
+
order: 2
|
|
15
|
+
surfaces: [cli, web, in-app]
|
|
16
|
+
hardware: [consumer, cloud]
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
Workers owns provider-neutral job, adapter, flow, event, and result contracts. A provider package owns its binding schema, context descriptor, adapter descriptors, implementations, and worker-entry exports.
|
|
20
|
+
|
|
21
|
+
## Settings
|
|
22
|
+
|
|
23
|
+
Workers settings live in the \`workers\` config manifest and are read through the config owner's client with \`readWorkersConfig(runtime)\` from \`@vibesdotdev/workers/config/read\`. They are not read from environment variables. A host that cannot read them fails with the manifest id instead of guessing. Tracing follows the \`worker-runtime\` logger level.
|
|
24
|
+
|
|
25
|
+
Secrets resolve through runtime secret providers; persisted configuration stores credential references, never resolved secret values.
|
|
26
|
+
|
|
27
|
+
## Provider bindings
|
|
28
|
+
|
|
29
|
+
Hosts select a completed provider plugin and contribute bindings through that provider's runtime-local configured plugin. They do not set a Workers process-global binding slot or construct a provider adapter directly.
|
|
30
|
+
|
|
31
|
+
Hosts compose the provider plugin that owns the selected transport, binding schema, queue consumer, and runtime entrypoints. Workers consumes the provider's runtime descriptors and remains independent of its SDK and binding format.
|
|
32
|
+
|
|
33
|
+
## Dispatching jobs
|
|
34
|
+
|
|
35
|
+
Application code resolves the canonical client; the runtime selects an adapter from the active plugin graph.
|
|
36
|
+
|
|
37
|
+
\`\`\`ts
|
|
38
|
+
import { getWorkersClient } from '@vibesdotdev/workers/client';
|
|
39
|
+
|
|
40
|
+
// The runtime your command, tool, job or request was handed.
|
|
41
|
+
const workers = await getWorkersClient(runtime);
|
|
42
|
+
const started = await workers.startJob('ai.generation.pdf-ocr.execute', input);
|
|
43
|
+
const result = await workers.runJob('ai.generation.image.execute', input);
|
|
44
|
+
\`\`\`
|
|
45
|
+
|
|
46
|
+
:::card{title="See also"}
|
|
47
|
+
- [\`workers.kinds\`](workers.kinds) — Worker/job/flow kinds
|
|
48
|
+
- [\`workers.queues\`](workers.queues) — Queue management
|
|
49
|
+
- [\`config.environment\`](config.environment) — Environment configuration
|
|
50
|
+
:::
|
|
51
|
+
`
|
|
52
|
+
},
|
|
53
|
+
parent: 'workers',
|
|
54
|
+
order: 2,
|
|
55
|
+
tags: ['workers', 'bindings', 'environment', 'runtime', 'plugins'],
|
|
56
|
+
surfaces: ['cli', 'web', 'in-app'],
|
|
57
|
+
hardware: ['consumer', 'cloud'],
|
|
58
|
+
enabled: true
|
|
59
|
+
};
|
|
60
|
+
export default descriptor;
|
|
61
|
+
//# sourceMappingURL=workers.bindings.docs.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workers.bindings.docs.descriptor.js","sourceRoot":"","sources":["../../src/docs/workers.bindings.docs.descriptor.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAAwB;IACvC,IAAI,EAAE,YAAY;IAClB,EAAE,EAAE,kBAAkB;IACtB,KAAK,EAAE,iBAAiB;IACxB,OAAO,EAAE,gEAAgE;IACzE,IAAI,EAAE;QACL,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CT;KACC;IACD,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,CAAC;IAClE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC;IAClC,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workers.graphs.docs.descriptor.d.ts","sourceRoot":"","sources":["../../src/docs/workers.graphs.docs.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,QAAA,MAAM,UAAU,EAAE,mBAoEjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const descriptor = {
|
|
2
|
+
kind: 'docs/topic',
|
|
3
|
+
id: 'workers.graphs',
|
|
4
|
+
title: 'Workers Job Graphs',
|
|
5
|
+
summary: 'Run Workers jobs as a dependency graph with data edges, conditions, concurrency and failure policy',
|
|
6
|
+
body: {
|
|
7
|
+
type: 'markdown',
|
|
8
|
+
sourceType: 'raw',
|
|
9
|
+
source: `---
|
|
10
|
+
title: Workers Job Graphs
|
|
11
|
+
summary: Run Workers jobs as a dependency graph with data edges, conditions, concurrency and failure policy
|
|
12
|
+
tags: [workers, graphs, jobs, workflows, orchestration]
|
|
13
|
+
parent: workers
|
|
14
|
+
order: 4
|
|
15
|
+
surfaces: [cli, web, in-app]
|
|
16
|
+
hardware: [consumer, cloud]
|
|
17
|
+
id: workers.graphs
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
A job graph runs \`workers/job\` descriptors in dependency order. Each node is one job run through \`WorkersClient.runJobStreaming\`, so inline, queued and cloud dispatch stay each job's own decision: the caller enqueues and awaits without knowing which host it is on.
|
|
21
|
+
|
|
22
|
+
## Definition
|
|
23
|
+
|
|
24
|
+
\`\`\`ts
|
|
25
|
+
const result = await workers.runGraph({
|
|
26
|
+
id: 'release',
|
|
27
|
+
concurrency: 2,
|
|
28
|
+
failurePolicy: 'skip-dependents', // 'stop' (default) | 'continue' | 'skip-dependents'
|
|
29
|
+
nodes: [
|
|
30
|
+
{ id: 'build', job: 'build.package', input: { name: 'workers' } },
|
|
31
|
+
{ id: 'test', job: 'test.package' },
|
|
32
|
+
{ id: 'publish', job: 'publish.package' }
|
|
33
|
+
],
|
|
34
|
+
edges: [
|
|
35
|
+
{ from: 'build', to: 'test', output: 'artifactPath', input: 'artifact' },
|
|
36
|
+
{ from: 'test', to: 'publish', when: { op: 'equals', path: 'passed', value: true } }
|
|
37
|
+
]
|
|
38
|
+
});
|
|
39
|
+
// result.status: 'completed' | 'failed' | 'cancelled'; result.nodes[id]: { status, result?, error?, skipReason? }
|
|
40
|
+
\`\`\`
|
|
41
|
+
|
|
42
|
+
- **Nodes**: \`job\` is the \`workers/job\` id; \`id\` defaults to the job id and must be unique; \`input\` is static input.
|
|
43
|
+
- **Edges**: \`from\` runs before \`to\`. \`output\` (dotted path into the source result) with \`input\` (dotted path into the target input) carries data. \`when\` (\`equals\`, \`not-equals\`, \`exists\`, \`truthy\`, \`falsy\` over a path of the source result) skips the target when false.
|
|
44
|
+
- **Failure policy**: \`stop\` cancels running nodes and skips the rest; \`skip-dependents\` skips only the failed node's dependents; \`continue\` still runs dependents (data edges from the failed node supply nothing, conditioned edges from it do not hold).
|
|
45
|
+
- **Refusals** (\`INVALID_INPUT\`, before any job starts): \`graph-invalid\`, \`graph-duplicate-node\`, \`graph-unknown-node\`, \`graph-unknown-job\`, \`graph-cycle\`, \`graph-edge-output-without-input\`. A data edge reading a missing output fails that node with \`graph-edge-output-missing\`.
|
|
46
|
+
|
|
47
|
+
## Events and cancellation
|
|
48
|
+
|
|
49
|
+
\`\`\`ts
|
|
50
|
+
for await (const event of workers.runGraphStreaming(definition, { signal })) {
|
|
51
|
+
// node-started | node-event | node-completed | node-failed | node-cancelled | node-skipped | graph-completed
|
|
52
|
+
}
|
|
53
|
+
\`\`\`
|
|
54
|
+
|
|
55
|
+
Aborting \`signal\` (or abandoning the iteration) cancels running node jobs and skips unstarted nodes. The \`node-event\` envelope forwards each node job’s progress and custom events. Execution overrides are validated before dispatch. JSON equality compares object content regardless of key order; carried objects are cloned before target input writes. A parent running inside a job passes \`park: context.park\` so waiting on the graph releases its queue slot.
|
|
56
|
+
|
|
57
|
+
:::card{title="See also"}
|
|
58
|
+
- [\`workers.kinds\`](workers.kinds) — Worker/job/flow kinds
|
|
59
|
+
- [\`workers.queues\`](workers.queues) — Queues, retry and scheduling
|
|
60
|
+
:::
|
|
61
|
+
`
|
|
62
|
+
},
|
|
63
|
+
parent: 'workers',
|
|
64
|
+
order: 4,
|
|
65
|
+
tags: ['workers', 'graphs', 'jobs', 'workflows', 'orchestration'],
|
|
66
|
+
surfaces: ['cli', 'web', 'in-app'],
|
|
67
|
+
hardware: ['consumer', 'cloud'],
|
|
68
|
+
enabled: true
|
|
69
|
+
};
|
|
70
|
+
export default descriptor;
|
|
71
|
+
//# sourceMappingURL=workers.graphs.docs.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workers.graphs.docs.descriptor.js","sourceRoot":"","sources":["../../src/docs/workers.graphs.docs.descriptor.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAAwB;IACvC,IAAI,EAAE,YAAY;IAClB,EAAE,EAAE,gBAAgB;IACpB,KAAK,EAAE,oBAAoB;IAC3B,OAAO,EAAE,oGAAoG;IAC7G,IAAI,EAAE;QACL,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDT;KACC;IACD,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,eAAe,CAAC;IACjE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC;IAClC,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workers.kinds.docs.descriptor.d.ts","sourceRoot":"","sources":["../../src/docs/workers.kinds.docs.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,QAAA,MAAM,UAAU,EAAE,mBAySjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
const descriptor = {
|
|
2
|
+
kind: 'docs/topic',
|
|
3
|
+
id: 'workers.kinds',
|
|
4
|
+
title: 'Workers Kinds',
|
|
5
|
+
summary: 'Worker, job, and flow kinds with descriptors',
|
|
6
|
+
body: {
|
|
7
|
+
type: 'markdown',
|
|
8
|
+
sourceType: 'raw',
|
|
9
|
+
source: `---
|
|
10
|
+
id: workers.kinds
|
|
11
|
+
title: Workers Kinds
|
|
12
|
+
summary: Worker, job, and flow kinds with descriptors
|
|
13
|
+
tags: [workers, kinds, descriptors, runtime, background-jobs]
|
|
14
|
+
parent: workers
|
|
15
|
+
order: 1
|
|
16
|
+
surfaces: [cli, web, in-app]
|
|
17
|
+
hardware: [consumer, cloud]
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
The Workers module registers four runtime kinds for background processing: \`workers/worker\`, \`workers/job\`, \`workers/flow\`, and \`workers/adapter\`. Each follows the runtime descriptor pattern — a declarative descriptor plus one or more scope-gated implementations resolved by the active runtime scope.
|
|
21
|
+
|
|
22
|
+
## Runtime kinds overview
|
|
23
|
+
|
|
24
|
+
Descriptors are discovered by the runtime; implementations are registered through scoped loaders. Query a kind through the standard asset query API:
|
|
25
|
+
|
|
26
|
+
\`\`\`ts
|
|
27
|
+
// \`runtime\` is the VibesRuntime you were handed: \`context.runtime\` in a tool, command or job, or the plugin's \`RuntimeRef\`.
|
|
28
|
+
|
|
29
|
+
// Enumerate enabled worker descriptors for the current hardware
|
|
30
|
+
const workers = runtime
|
|
31
|
+
.query('workers/worker')
|
|
32
|
+
.forHardware('consumer')
|
|
33
|
+
.enabled()
|
|
34
|
+
.descriptors();
|
|
35
|
+
|
|
36
|
+
// Resolve the implementation for a specific worker
|
|
37
|
+
const worker = await runtime
|
|
38
|
+
.query('workers/worker')
|
|
39
|
+
.withId('maintenance')
|
|
40
|
+
.resolve();
|
|
41
|
+
\`\`\`
|
|
42
|
+
|
|
43
|
+
The query builder supports \`withId(id)\`, \`withIds(ids)\`, \`forHardware(hw)\`, \`enabled()\`, \`filter(fn)\` (chainable) and the terminals \`descriptors()\`, \`firstDescriptor()\`, \`first()\`, and \`resolve()\`.
|
|
44
|
+
|
|
45
|
+
## workers/worker kind
|
|
46
|
+
|
|
47
|
+
**Long-running background processors** that consume from a queue. The kind id is \`workers/worker\`; descriptors are validated by \`WorkerDescriptorSchema\` (the shared runtime asset base plus \`queue\`, \`concurrency\`, \`handlers\`).
|
|
48
|
+
|
|
49
|
+
### Example worker descriptor
|
|
50
|
+
|
|
51
|
+
\`\`\`ts
|
|
52
|
+
// workers/src/maintenance/maintenance.descriptor.ts
|
|
53
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
54
|
+
import type { WorkerDescriptor } from '@vibesdotdev/kernel/kinds';
|
|
55
|
+
|
|
56
|
+
export const maintenanceWorkerDescriptor = createRuntimeAsset<WorkerDescriptor>({
|
|
57
|
+
kind: 'workers/worker',
|
|
58
|
+
id: 'maintenance',
|
|
59
|
+
name: 'Maintenance',
|
|
60
|
+
description: 'Database pruning, queue cleanup, and infrastructure maintenance',
|
|
61
|
+
queue: 'maintenance-jobs',
|
|
62
|
+
concurrency: 2,
|
|
63
|
+
handlers: ['maintenance.db-prune', 'maintenance.queues-clean'],
|
|
64
|
+
hardware: ['cloud', 'consumer'],
|
|
65
|
+
tags: ['maintenance', 'scheduled', 'cleanup', 'background'],
|
|
66
|
+
enabled: true
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export default maintenanceWorkerDescriptor;
|
|
70
|
+
\`\`\`
|
|
71
|
+
|
|
72
|
+
### Worker implementation
|
|
73
|
+
|
|
74
|
+
Worker implementations satisfy the \`WorkerImplementation\` interface. The default implementation throws until a loader is registered; concrete adapters provide the real \`start\`/\`stop\` lifecycle.
|
|
75
|
+
|
|
76
|
+
\`\`\`ts
|
|
77
|
+
import type { WorkerImplementation, WorkerContext } from '@vibesdotdev/kernel/kinds';
|
|
78
|
+
|
|
79
|
+
export class MaintenanceWorker implements WorkerImplementation {
|
|
80
|
+
readonly id = 'maintenance';
|
|
81
|
+
readonly descriptor: WorkerDescriptor;
|
|
82
|
+
|
|
83
|
+
constructor(descriptor: WorkerDescriptor, _context: { runtime: unknown }) {
|
|
84
|
+
this.descriptor = descriptor;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
getHandlerIds(): string[] {
|
|
88
|
+
return ['maintenance.db-prune', 'maintenance.queues-clean'];
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
canRunOnHardware(hardware: 'cloud' | 'consumer'): boolean {
|
|
92
|
+
const hw = this.descriptor.hardware as string[] | undefined;
|
|
93
|
+
return !hw || hw.length === 0 || hw.includes(hardware);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
async start(_ctx?: WorkerContext): Promise<void> {
|
|
97
|
+
// adapter wiring: bind queue, register handlers
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
async stop(): Promise<void> {
|
|
101
|
+
// drain + release
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
\`\`\`
|
|
105
|
+
|
|
106
|
+
## workers/job kind
|
|
107
|
+
|
|
108
|
+
**Individual job handlers** executed by a worker. Descriptors are validated by \`JobDescriptorSchema\` (base + \`queue\`, \`type\`, \`isolation\`, \`retries\`, \`timeout\`, \`schedule\`, and \`schemas: { input, output }\`).
|
|
109
|
+
|
|
110
|
+
\`type\` is one of \`'default' | 'progress' | 'subtask' | 'streaming' | 'scheduled'\`; \`isolation\` is one of \`'inline' | 'worker_thread' | 'subprocess'\`.
|
|
111
|
+
|
|
112
|
+
### Example job descriptor
|
|
113
|
+
|
|
114
|
+
\`\`\`ts
|
|
115
|
+
// workers/src/maintenance/jobs/db-prune/maintenance.db-prune.descriptor.ts
|
|
116
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
117
|
+
import type { JobDescriptor } from '@vibesdotdev/kernel/kinds';
|
|
118
|
+
import {
|
|
119
|
+
maintenanceDbPruneJobDataSchema,
|
|
120
|
+
maintenanceDbPruneJobResultSchema
|
|
121
|
+
} from './maintenance.db-prune.schema';
|
|
122
|
+
|
|
123
|
+
export const maintenanceDbPruneJobDescriptor = createRuntimeAsset<JobDescriptor>({
|
|
124
|
+
kind: 'workers/job',
|
|
125
|
+
id: 'maintenance.db-prune',
|
|
126
|
+
name: 'DB Prune',
|
|
127
|
+
description: 'Prune old activity logs and database records',
|
|
128
|
+
queue: 'maintenance-jobs',
|
|
129
|
+
type: 'scheduled',
|
|
130
|
+
isolation: 'inline',
|
|
131
|
+
retries: { maxAttempts: 2, backoff: 'exponential', delay: 5000 },
|
|
132
|
+
schemas: {
|
|
133
|
+
input: maintenanceDbPruneJobDataSchema,
|
|
134
|
+
output: maintenanceDbPruneJobResultSchema
|
|
135
|
+
},
|
|
136
|
+
hardware: ['cloud'],
|
|
137
|
+
tags: ['maintenance', 'db', 'prune'],
|
|
138
|
+
enabled: true
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
export default maintenanceDbPruneJobDescriptor;
|
|
142
|
+
\`\`\`
|
|
143
|
+
|
|
144
|
+
### Job implementation
|
|
145
|
+
|
|
146
|
+
Job implementations satisfy \`JobImplementation<TData, TResult>\` and run via a single \`handle(context)\` method that receives a \`JobExecutionContext\`:
|
|
147
|
+
|
|
148
|
+
\`\`\`ts
|
|
149
|
+
// workers/src/maintenance/jobs/db-prune/maintenance.db-prune.impl.cloud.ts
|
|
150
|
+
import type {
|
|
151
|
+
JobDescriptor,
|
|
152
|
+
JobExecutionContext,
|
|
153
|
+
JobImplementation
|
|
154
|
+
} from '@vibesdotdev/kernel/kinds';
|
|
155
|
+
import type {
|
|
156
|
+
MaintenanceDbPruneJobData,
|
|
157
|
+
MaintenanceDbPruneJobResult
|
|
158
|
+
} from './maintenance.db-prune.schema';
|
|
159
|
+
|
|
160
|
+
export class MaintenanceDbPruneJob
|
|
161
|
+
implements JobImplementation<MaintenanceDbPruneJobData, MaintenanceDbPruneJobResult> {
|
|
162
|
+
readonly id: string;
|
|
163
|
+
readonly descriptor: JobDescriptor;
|
|
164
|
+
readonly type = 'scheduled' as const;
|
|
165
|
+
readonly isolation = 'inline' as const;
|
|
166
|
+
|
|
167
|
+
constructor(descriptor: JobDescriptor, _context: { runtime: unknown }) {
|
|
168
|
+
this.id = descriptor.id;
|
|
169
|
+
this.descriptor = descriptor;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
async handle(
|
|
173
|
+
context: JobExecutionContext<MaintenanceDbPruneJobData>
|
|
174
|
+
): Promise<MaintenanceDbPruneJobResult> {
|
|
175
|
+
const { dryRun, activityDays } = context.data;
|
|
176
|
+
await context.events?.progress(10);
|
|
177
|
+
// ...prune work...
|
|
178
|
+
await context.events?.progress(100);
|
|
179
|
+
return { success: true, dryRun, activityLogsPruned: 0 };
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export default MaintenanceDbPruneJob;
|
|
184
|
+
\`\`\`
|
|
185
|
+
|
|
186
|
+
Optional lifecycle hooks \`beforeHandle\`, \`afterHandle\`, and \`onError\` are also part of \`JobImplementation\`.
|
|
187
|
+
|
|
188
|
+
## JobExecutionContext API
|
|
189
|
+
|
|
190
|
+
Each job's \`handle()\` receives a \`JobExecutionContext<TData>\`:
|
|
191
|
+
|
|
192
|
+
\`\`\`ts
|
|
193
|
+
interface JobExecutionContext<TData = JsonObject> {
|
|
194
|
+
jobId: string;
|
|
195
|
+
data: TData;
|
|
196
|
+
attempt: number;
|
|
197
|
+
maxAttempts: number;
|
|
198
|
+
metadata?: Record<string, JsonValue>;
|
|
199
|
+
events?: JobExecutionEvents;
|
|
200
|
+
subtasks?: JobExecutionSubtasks;
|
|
201
|
+
signal?: AbortSignal;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
interface JobExecutionEvents {
|
|
205
|
+
progress(progress: number | JsonObject): Promise<void>;
|
|
206
|
+
emit(event: string, data?: JsonObject): Promise<void>;
|
|
207
|
+
stream(data: JsonObject): Promise<void>;
|
|
208
|
+
updateMetadata(metadata: Record<string, JsonValue>): Promise<void>;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
interface JobExecutionSubtasks {
|
|
212
|
+
spawn<TChildData extends JsonObject = JsonObject>(
|
|
213
|
+
jobType: string,
|
|
214
|
+
data: TChildData,
|
|
215
|
+
options?: JobSpawnOptions
|
|
216
|
+
): Promise<string>; // child job id
|
|
217
|
+
wait<TResult extends JsonValue = JsonValue>(jobId: string): Promise<TResult>;
|
|
218
|
+
subscribe?(jobId: string, handler: (event: { type: string; data?: unknown }) => void): () => void;
|
|
219
|
+
}
|
|
220
|
+
\`\`\`
|
|
221
|
+
|
|
222
|
+
\`events\` and \`subtasks\` are optional — they are only present when the active adapter supports progress streaming and subtask orchestration.
|
|
223
|
+
|
|
224
|
+
## workers/flow kind
|
|
225
|
+
|
|
226
|
+
The \`workers/flow\` kind exposes **outside-job dispatch** — spawning and awaiting jobs from any caller scope. It carries no descriptor-level config; routing is handled by per-scope implementations (consumer, cloud). Resolve a \`Flow\` and call its contract methods:
|
|
227
|
+
|
|
228
|
+
\`\`\`ts
|
|
229
|
+
// \`runtime\` is the VibesRuntime you were handed: \`context.runtime\` in a tool, command or job, or the plugin's \`RuntimeRef\`.
|
|
230
|
+
// The resolved value implements the workers/flow contract shown below.
|
|
231
|
+
const flow = await runtime.query('workers/flow').resolve();
|
|
232
|
+
|
|
233
|
+
// Fire-and-forget
|
|
234
|
+
const jobId = await flow.fire('maintenance.db-prune', { dryRun: true });
|
|
235
|
+
|
|
236
|
+
// Spawn + await a result
|
|
237
|
+
const childId = await flow.spawn('maintenance.db-prune', { dryRun: false, activityDays: 30 });
|
|
238
|
+
const result = await flow.wait(childId);
|
|
239
|
+
|
|
240
|
+
// Spawn many at once
|
|
241
|
+
const ids = await flow.spawnMany([
|
|
242
|
+
{ type: 'maintenance.queues-clean', data: {} },
|
|
243
|
+
{ type: 'maintenance.storage-sync', data: {} }
|
|
244
|
+
]);
|
|
245
|
+
\`\`\`
|
|
246
|
+
|
|
247
|
+
The \`Flow\` contract is \`spawn(type, data, options?)\`, \`wait(jobId)\`, \`spawnMany(jobs)\`, and \`fire(type, data, options?)\`.
|
|
248
|
+
|
|
249
|
+
## Enqueuing through the workers client
|
|
250
|
+
|
|
251
|
+
Most app code does not resolve adapters directly — it uses the canonical \`runtime/client\` (\`getWorkersClient(runtime)\` on the runtime the caller was handed):
|
|
252
|
+
|
|
253
|
+
\`\`\`ts
|
|
254
|
+
import { getWorkersClient } from '@vibesdotdev/workers/client';
|
|
255
|
+
|
|
256
|
+
const client = await getWorkersClient(runtime);
|
|
257
|
+
|
|
258
|
+
// Descriptor-aware dispatch (reads dispatch from the job descriptor)
|
|
259
|
+
const result = await client.runJob('maintenance.db-prune', { dryRun: false, activityDays: 30 });
|
|
260
|
+
|
|
261
|
+
// Direct enqueue-and-poll against a queue
|
|
262
|
+
const out = await client.enqueue('maintenance-jobs', { dryRun: true }, { jobType: 'maintenance.db-prune' });
|
|
263
|
+
\`\`\`
|
|
264
|
+
|
|
265
|
+
## Descriptor registration
|
|
266
|
+
|
|
267
|
+
Kinds and descriptors are registered through \`createRuntimePlugin\`. Implementations are wired with \`loader(id, scope?, () => import(...))\`:
|
|
268
|
+
|
|
269
|
+
\`\`\`ts
|
|
270
|
+
import consumerWorkers from '@vibesdotdev/workers/consumer.plugin';
|
|
271
|
+
import cloudWorkers from '@vibesdotdev/workers/cloud.plugin';
|
|
272
|
+
import commonWorkers from '@vibesdotdev/workers/common.plugin';
|
|
273
|
+
|
|
274
|
+
// Each host composes the canonical slice it needs; consumer hosts use consumer.plugin.
|
|
275
|
+
await consumerRuntime.registerPlugin(consumerWorkers);
|
|
276
|
+
await cloudRuntime.registerPlugin(cloudWorkers);
|
|
277
|
+
await sharedRuntime.registerPlugin(commonWorkers);
|
|
278
|
+
|
|
279
|
+
// Cloud/browser hosts contribute their own workers/adapter and workers/flow
|
|
280
|
+
// descriptors and loaders. The flow id is 'flow'; no built-in cloud flow exists.
|
|
281
|
+
// Without that loader, background dispatch refuses UNAVAILABLE with reason
|
|
282
|
+
// 'workers-flow-unavailable'. The consumer slice supplies its local flow.
|
|
283
|
+
\`\`\`
|
|
284
|
+
|
|
285
|
+
:::card{title="See also"}
|
|
286
|
+
- [\`workers.bindings\`](workers.bindings) — Worker bindings, env vars
|
|
287
|
+
- [\`workers.queues\`](workers.queues) — Job queues, scheduling
|
|
288
|
+
- [\`pm.workers\`](pm.workers) — Process manager workers
|
|
289
|
+
:::
|
|
290
|
+
`
|
|
291
|
+
},
|
|
292
|
+
parent: 'workers',
|
|
293
|
+
order: 1,
|
|
294
|
+
tags: ['workers', 'kinds', 'descriptors', 'runtime', 'background-jobs'],
|
|
295
|
+
surfaces: ['cli', 'web', 'in-app'],
|
|
296
|
+
hardware: ['consumer', 'cloud'],
|
|
297
|
+
enabled: true
|
|
298
|
+
};
|
|
299
|
+
export default descriptor;
|
|
300
|
+
//# sourceMappingURL=workers.kinds.docs.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workers.kinds.docs.descriptor.js","sourceRoot":"","sources":["../../src/docs/workers.kinds.docs.descriptor.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAAwB;IACvC,IAAI,EAAE,YAAY;IAClB,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,eAAe;IACtB,OAAO,EAAE,8CAA8C;IACvD,IAAI,EAAE;QACL,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyRT;KACC;IACD,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,CAAC;IACvE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC;IAClC,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workers.queues.docs.descriptor.d.ts","sourceRoot":"","sources":["../../src/docs/workers.queues.docs.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAGvE,QAAA,MAAM,UAAU,EAAE,mBAgBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|