@kody-ade/kody-engine 0.4.373 → 0.4.374

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.
@@ -538,6 +538,10 @@ export interface Job {
538
538
  cliArgs: Record<string, unknown>
539
539
  /** Internal workflow resume context. Not passed to capability CLI args. */
540
540
  workflowFacts?: Record<string, unknown>
541
+ /** Durable execution cursor for a graph-shaped workflow. */
542
+ workflowState?: WorkflowRunState
543
+ /** Stable id used to load and persist one workflow execution. */
544
+ workflowRunId?: string
541
545
  /** Evidence this capability run is expected to report, independent of who consumes it. */
542
546
  evidence?: string
543
547
  /** Run once now ("instant") or on the schedule ("scheduled"). */
@@ -551,3 +555,14 @@ export interface Job {
551
555
  /** Internal parent context used by postflights to attach neutral capability output. */
552
556
  resultTarget?: CapabilityResultTarget
553
557
  }
558
+
559
+ export interface WorkflowRunState {
560
+ status: "running" | "blocked" | "failed" | "done"
561
+ currentStepId?: string
562
+ completedStepIds: string[]
563
+ transitionCounts: Record<string, number>
564
+ facts: Record<string, unknown>
565
+ evidence: Record<string, boolean>
566
+ artifacts: Array<{ label: string; url?: string; path?: string }>
567
+ blocker?: string
568
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.373",
3
+ "version": "0.4.374",
4
4
  "description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
5
5
  "license": "MIT",
6
6
  "type": "module",