@exaudeus/workrail 3.41.0 → 3.43.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 (63) hide show
  1. package/dist/cli-worktrain.js +40 -11
  2. package/dist/console-ui/assets/{index-CQt4UhPB.js → index-Sb57DW4B.js} +1 -1
  3. package/dist/console-ui/index.html +1 -1
  4. package/dist/context-assembly/deps.d.ts +8 -0
  5. package/dist/context-assembly/deps.js +2 -0
  6. package/dist/context-assembly/index.d.ts +6 -0
  7. package/dist/context-assembly/index.js +50 -0
  8. package/dist/context-assembly/infra.d.ts +3 -0
  9. package/dist/context-assembly/infra.js +154 -0
  10. package/dist/context-assembly/types.d.ts +30 -0
  11. package/dist/context-assembly/types.js +2 -0
  12. package/dist/coordinators/pr-review.d.ts +3 -1
  13. package/dist/coordinators/pr-review.js +25 -4
  14. package/dist/daemon/workflow-runner.d.ts +11 -1
  15. package/dist/daemon/workflow-runner.js +82 -9
  16. package/dist/domain/execution/state.d.ts +6 -6
  17. package/dist/manifest.json +76 -44
  18. package/dist/mcp/handlers/v2-workflow.d.ts +2 -2
  19. package/dist/mcp/output-schemas.d.ts +234 -234
  20. package/dist/mcp/tools.d.ts +2 -2
  21. package/dist/mcp/v2/tools.d.ts +24 -24
  22. package/dist/trigger/delivery-action.d.ts +2 -0
  23. package/dist/trigger/delivery-action.js +24 -0
  24. package/dist/trigger/trigger-router.js +24 -1
  25. package/dist/trigger/trigger-store.js +42 -0
  26. package/dist/trigger/types.d.ts +3 -0
  27. package/dist/v2/durable-core/schemas/artifacts/assessment.d.ts +2 -2
  28. package/dist/v2/durable-core/schemas/artifacts/coordinator-signal.d.ts +2 -2
  29. package/dist/v2/durable-core/schemas/artifacts/loop-control.d.ts +6 -6
  30. package/dist/v2/durable-core/schemas/artifacts/review-verdict.d.ts +6 -6
  31. package/dist/v2/durable-core/schemas/compiled-workflow/index.d.ts +56 -56
  32. package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.d.ts +83 -83
  33. package/dist/v2/durable-core/schemas/execution-snapshot/execution-snapshot.v1.d.ts +1024 -1024
  34. package/dist/v2/durable-core/schemas/export-bundle/index.d.ts +2336 -2336
  35. package/dist/v2/durable-core/schemas/session/dag-topology.d.ts +6 -6
  36. package/dist/v2/durable-core/schemas/session/events.d.ts +339 -339
  37. package/dist/v2/durable-core/schemas/session/gaps.d.ts +30 -30
  38. package/dist/v2/durable-core/schemas/session/manifest.d.ts +6 -6
  39. package/dist/v2/durable-core/schemas/session/outputs.d.ts +8 -8
  40. package/dist/v2/durable-core/schemas/session/validation-event.d.ts +3 -3
  41. package/docs/design/adaptive-coordinator-context-candidates.md +265 -0
  42. package/docs/design/adaptive-coordinator-context-review.md +101 -0
  43. package/docs/design/adaptive-coordinator-context.md +504 -0
  44. package/docs/design/adaptive-coordinator-routing-candidates.md +340 -0
  45. package/docs/design/adaptive-coordinator-routing-design-review.md +135 -0
  46. package/docs/design/adaptive-coordinator-routing-review.md +156 -0
  47. package/docs/design/adaptive-coordinator-routing.md +660 -0
  48. package/docs/design/context-assembly-design-candidates.md +199 -0
  49. package/docs/design/context-assembly-implementation-plan.md +211 -0
  50. package/docs/design/context-assembly-layer-design-review.md +110 -0
  51. package/docs/design/context-assembly-layer.md +622 -0
  52. package/docs/design/context-assembly-review-findings.md +112 -0
  53. package/docs/design/stuck-escalation-candidates.md +176 -0
  54. package/docs/design/stuck-escalation-design-review.md +70 -0
  55. package/docs/design/stuck-escalation.md +326 -0
  56. package/docs/design/worktrain-task-queue-candidates.md +252 -0
  57. package/docs/design/worktrain-task-queue-design-review.md +109 -0
  58. package/docs/design/worktrain-task-queue.md +443 -0
  59. package/docs/design/worktree-review-findings-candidates.md +101 -0
  60. package/docs/design/worktree-review-findings-design-review.md +65 -0
  61. package/docs/design/worktree-review-findings-implementation-plan.md +153 -0
  62. package/docs/ideas/backlog.md +212 -0
  63. package/package.json +3 -3
@@ -43,35 +43,35 @@ export declare const EdgeCreatedDataV1Schema: z.ZodEffects<z.ZodObject<{
43
43
  eventId: string;
44
44
  }>;
45
45
  }, "strip", z.ZodTypeAny, {
46
+ edgeKind: "acked_step" | "checkpoint";
47
+ fromNodeId: string;
48
+ toNodeId: string;
46
49
  cause: {
47
50
  kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
48
51
  eventId: string;
49
52
  };
53
+ }, {
50
54
  edgeKind: "acked_step" | "checkpoint";
51
55
  fromNodeId: string;
52
56
  toNodeId: string;
53
- }, {
54
57
  cause: {
55
58
  kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
56
59
  eventId: string;
57
60
  };
61
+ }>, {
58
62
  edgeKind: "acked_step" | "checkpoint";
59
63
  fromNodeId: string;
60
64
  toNodeId: string;
61
- }>, {
62
65
  cause: {
63
66
  kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
64
67
  eventId: string;
65
68
  };
69
+ }, {
66
70
  edgeKind: "acked_step" | "checkpoint";
67
71
  fromNodeId: string;
68
72
  toNodeId: string;
69
- }, {
70
73
  cause: {
71
74
  kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
72
75
  eventId: string;
73
76
  };
74
- edgeKind: "acked_step" | "checkpoint";
75
- fromNodeId: string;
76
- toNodeId: string;
77
77
  }>;