@orbytautomation/engine 0.8.3 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/README.md +127 -108
  2. package/dist/core/EngineConfig.d.ts +1 -1
  3. package/dist/core/EngineConfig.d.ts.map +1 -1
  4. package/dist/core/EngineConfig.js +55 -0
  5. package/dist/core/EngineConfig.js.map +1 -1
  6. package/dist/core/OrbytEngine.d.ts +27 -1
  7. package/dist/core/OrbytEngine.d.ts.map +1 -1
  8. package/dist/core/OrbytEngine.js +475 -6
  9. package/dist/core/OrbytEngine.js.map +1 -1
  10. package/dist/distributed/DistributedStepWorker.d.ts +40 -0
  11. package/dist/distributed/DistributedStepWorker.d.ts.map +1 -0
  12. package/dist/distributed/DistributedStepWorker.js +96 -0
  13. package/dist/distributed/DistributedStepWorker.js.map +1 -0
  14. package/dist/distributed/DistributedWorkflowOrchestrator.d.ts +51 -0
  15. package/dist/distributed/DistributedWorkflowOrchestrator.d.ts.map +1 -0
  16. package/dist/distributed/DistributedWorkflowOrchestrator.js +430 -0
  17. package/dist/distributed/DistributedWorkflowOrchestrator.js.map +1 -0
  18. package/dist/distributed/FileDistributedJobQueue.d.ts +29 -0
  19. package/dist/distributed/FileDistributedJobQueue.d.ts.map +1 -0
  20. package/dist/distributed/FileDistributedJobQueue.js +170 -0
  21. package/dist/distributed/FileDistributedJobQueue.js.map +1 -0
  22. package/dist/distributed/InMemoryDistributedJobQueue.d.ts +26 -0
  23. package/dist/distributed/InMemoryDistributedJobQueue.d.ts.map +1 -0
  24. package/dist/distributed/InMemoryDistributedJobQueue.js +130 -0
  25. package/dist/distributed/InMemoryDistributedJobQueue.js.map +1 -0
  26. package/dist/distributed/index.d.ts +5 -0
  27. package/dist/distributed/index.d.ts.map +1 -0
  28. package/dist/distributed/index.js +5 -0
  29. package/dist/distributed/index.js.map +1 -0
  30. package/dist/errors/FieldRegistry.d.ts +6 -2
  31. package/dist/errors/FieldRegistry.d.ts.map +1 -1
  32. package/dist/errors/FieldRegistry.js +11 -0
  33. package/dist/errors/FieldRegistry.js.map +1 -1
  34. package/dist/execution/ExecutionEngine.d.ts.map +1 -1
  35. package/dist/execution/ExecutionEngine.js +2 -1
  36. package/dist/execution/ExecutionEngine.js.map +1 -1
  37. package/dist/execution/InternalExecutionContext.d.ts.map +1 -1
  38. package/dist/execution/InternalExecutionContext.js +3 -1
  39. package/dist/execution/InternalExecutionContext.js.map +1 -1
  40. package/dist/execution/WorkflowExecutor.d.ts +5 -0
  41. package/dist/execution/WorkflowExecutor.d.ts.map +1 -1
  42. package/dist/execution/WorkflowExecutor.js +195 -7
  43. package/dist/execution/WorkflowExecutor.js.map +1 -1
  44. package/dist/explanation/ExplanationGenerator.d.ts.map +1 -1
  45. package/dist/explanation/ExplanationGenerator.js +6 -0
  46. package/dist/explanation/ExplanationGenerator.js.map +1 -1
  47. package/dist/index.d.ts +1 -0
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +1 -0
  50. package/dist/index.js.map +1 -1
  51. package/dist/parser/SchemaValidator.d.ts +13 -0
  52. package/dist/parser/SchemaValidator.d.ts.map +1 -1
  53. package/dist/parser/SchemaValidator.js +175 -1
  54. package/dist/parser/SchemaValidator.js.map +1 -1
  55. package/dist/parser/WorkflowParser.d.ts +5 -0
  56. package/dist/parser/WorkflowParser.d.ts.map +1 -1
  57. package/dist/parser/WorkflowParser.js +20 -0
  58. package/dist/parser/WorkflowParser.js.map +1 -1
  59. package/dist/scheduling/JobScheduler.d.ts +12 -0
  60. package/dist/scheduling/JobScheduler.d.ts.map +1 -1
  61. package/dist/scheduling/JobScheduler.js +136 -20
  62. package/dist/scheduling/JobScheduler.js.map +1 -1
  63. package/dist/scheduling/Scheduler.d.ts +3 -0
  64. package/dist/scheduling/Scheduler.d.ts.map +1 -1
  65. package/dist/scheduling/Scheduler.js +3 -0
  66. package/dist/scheduling/Scheduler.js.map +1 -1
  67. package/dist/scheduling/workers/workflow-worker.js +59 -3
  68. package/dist/scheduling/workers/workflow-worker.js.map +1 -1
  69. package/dist/storage/CheckpointStore.d.ts +59 -0
  70. package/dist/storage/CheckpointStore.d.ts.map +1 -0
  71. package/dist/storage/CheckpointStore.js +62 -0
  72. package/dist/storage/CheckpointStore.js.map +1 -0
  73. package/dist/storage/index.d.ts +1 -0
  74. package/dist/storage/index.d.ts.map +1 -1
  75. package/dist/storage/index.js +1 -0
  76. package/dist/storage/index.js.map +1 -1
  77. package/dist/testing/integration/distributed/distributed-smoke.d.ts +3 -0
  78. package/dist/testing/integration/distributed/distributed-smoke.d.ts.map +1 -0
  79. package/dist/testing/integration/distributed/distributed-smoke.js +80 -0
  80. package/dist/testing/integration/distributed/distributed-smoke.js.map +1 -0
  81. package/dist/types/core-types.d.ts +278 -1
  82. package/dist/types/core-types.d.ts.map +1 -1
  83. package/dist/types/core-types.js.map +1 -1
  84. package/dist/usage/FileSpoolUsageCollector.d.ts +74 -0
  85. package/dist/usage/FileSpoolUsageCollector.d.ts.map +1 -0
  86. package/dist/usage/FileSpoolUsageCollector.js +225 -0
  87. package/dist/usage/FileSpoolUsageCollector.js.map +1 -0
  88. package/dist/usage/NoOpUsageCollector.d.ts +35 -0
  89. package/dist/usage/NoOpUsageCollector.d.ts.map +1 -0
  90. package/dist/usage/NoOpUsageCollector.js +40 -0
  91. package/dist/usage/NoOpUsageCollector.js.map +1 -0
  92. package/dist/usage/UsageEventFactory.d.ts +80 -0
  93. package/dist/usage/UsageEventFactory.d.ts.map +1 -0
  94. package/dist/usage/UsageEventFactory.js +117 -0
  95. package/dist/usage/UsageEventFactory.js.map +1 -0
  96. package/dist/usage/index.d.ts +11 -0
  97. package/dist/usage/index.d.ts.map +1 -0
  98. package/dist/usage/index.js +11 -0
  99. package/dist/usage/index.js.map +1 -0
  100. package/package.json +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbytautomation/engine",
3
- "version": "0.8.3",
3
+ "version": "0.9.0",
4
4
  "description": "Orbyt - Automation Engine Framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,7 +13,11 @@
13
13
  },
14
14
  "scripts": {
15
15
  "build": "rm -rf dist && tsc",
16
- "clean": "rm -rf dist"
16
+ "clean": "rm -rf dist",
17
+ "tokio-worker:run": "cargo run --quiet --manifest-path ../orbyt-tokio-worker/Cargo.toml",
18
+ "test:distributed": "pnpm run build && node dist/testing/distributed/distributed-smoke.js",
19
+ "test:integration": "pnpm run test:distributed",
20
+ "test": "pnpm run test:integration"
17
21
  },
18
22
  "keywords": [
19
23
  "automation",
@@ -41,7 +45,7 @@
41
45
  "node": ">=22.0.0"
42
46
  },
43
47
  "dependencies": {
44
- "@dev-ecosystem/core": "^0.4.4",
48
+ "@dev-ecosystem/core": "^0.5.1",
45
49
  "node-cron": "^4.2.1",
46
50
  "yaml": "^2.8.2",
47
51
  "zod": "^4.3.6"