@exaudeus/workrail 0.11.0 → 0.12.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 (57) hide show
  1. package/dist/config/feature-flags.js +1 -1
  2. package/dist/di/container.js +72 -0
  3. package/dist/di/tokens.d.ts +13 -0
  4. package/dist/di/tokens.js +13 -0
  5. package/dist/manifest.json +109 -93
  6. package/dist/mcp/error-mapper.d.ts +3 -8
  7. package/dist/mcp/error-mapper.js +41 -19
  8. package/dist/mcp/handlers/session.js +25 -11
  9. package/dist/mcp/handlers/v2-execution-helpers.d.ts +99 -0
  10. package/dist/mcp/handlers/v2-execution-helpers.js +249 -0
  11. package/dist/mcp/handlers/v2-execution.d.ts +4 -0
  12. package/dist/mcp/handlers/v2-execution.js +1061 -0
  13. package/dist/mcp/handlers/v2-workflow.js +7 -7
  14. package/dist/mcp/handlers/workflow.js +21 -12
  15. package/dist/mcp/index.d.ts +1 -1
  16. package/dist/mcp/index.js +4 -1
  17. package/dist/mcp/output-schemas.d.ts +411 -4
  18. package/dist/mcp/output-schemas.js +57 -1
  19. package/dist/mcp/server.d.ts +1 -1
  20. package/dist/mcp/server.js +57 -31
  21. package/dist/mcp/tool-descriptions.js +17 -0
  22. package/dist/mcp/tools.js +12 -0
  23. package/dist/mcp/types/tool-description-types.d.ts +1 -1
  24. package/dist/mcp/types/tool-description-types.js +2 -0
  25. package/dist/mcp/types.d.ts +38 -3
  26. package/dist/mcp/types.js +32 -3
  27. package/dist/mcp/v2/tool-registry.js +16 -1
  28. package/dist/mcp/v2/tools.d.ts +45 -0
  29. package/dist/mcp/v2/tools.js +21 -1
  30. package/dist/mcp/validation/workflow-next-prevalidate.d.ts +2 -3
  31. package/dist/mcp/validation/workflow-next-prevalidate.js +38 -27
  32. package/dist/v2/durable-core/ids/index.d.ts +2 -0
  33. package/dist/v2/durable-core/ids/index.js +4 -0
  34. package/dist/v2/durable-core/schemas/compiled-workflow/index.d.ts +100 -6
  35. package/dist/v2/durable-core/schemas/compiled-workflow/index.js +18 -3
  36. package/dist/v2/durable-core/schemas/session/events.d.ts +80 -50
  37. package/dist/v2/durable-core/schemas/session/events.js +27 -9
  38. package/dist/v2/durable-core/schemas/session/manifest.d.ts +2 -2
  39. package/dist/v2/durable-core/tokens/index.d.ts +2 -0
  40. package/dist/v2/durable-core/tokens/index.js +4 -1
  41. package/dist/v2/durable-core/tokens/payloads.d.ts +4 -4
  42. package/dist/v2/infra/local/pinned-workflow-store/index.d.ts +3 -3
  43. package/dist/v2/infra/local/pinned-workflow-store/index.js +1 -1
  44. package/dist/v2/infra/local/session-lock/index.js +1 -1
  45. package/dist/v2/infra/local/session-store/index.d.ts +0 -1
  46. package/dist/v2/infra/local/session-store/index.js +348 -280
  47. package/dist/v2/ports/pinned-workflow-store.port.d.ts +3 -3
  48. package/dist/v2/ports/session-event-log-store.port.d.ts +1 -1
  49. package/dist/v2/ports/session-lock.port.d.ts +1 -1
  50. package/dist/v2/read-only/v1-to-v2-shim.d.ts +6 -1
  51. package/dist/v2/read-only/v1-to-v2-shim.js +16 -4
  52. package/dist/v2/usecases/execution-session-gate.d.ts +3 -2
  53. package/dist/v2/usecases/execution-session-gate.js +98 -101
  54. package/package.json +2 -1
  55. package/workflows/coding-task-workflow-agentic.json +326 -69
  56. package/workflows/design-thinking-workflow-autonomous.agentic.json +1 -1
  57. package/workflows/design-thinking-workflow.json +1 -1
@@ -110,7 +110,7 @@
110
110
  "id": "phase-3-ideation-loop",
111
111
  "type": "loop",
112
112
  "title": "Phase 3: Ideation (4 Rounds)",
113
- "loop": { "type": "for", "count": 4, "maxIterations": 4, "iterationVar": "ideationRound" },
113
+ "loop": { "type": "for", "count": 4, "maxIterations": 5, "iterationVar": "ideationRound" },
114
114
  "body": [
115
115
  {
116
116
  "id": "ideation-round-1",
@@ -92,7 +92,7 @@
92
92
  "loop": {
93
93
  "type": "for",
94
94
  "count": 4,
95
- "maxIterations": 4,
95
+ "maxIterations": 5,
96
96
  "iterationVar": "ideationRound"
97
97
  },
98
98
  "body": [