@directive-run/ai 0.4.1 → 0.5.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.
@@ -1453,4 +1453,4 @@ interface CheckpointDiff {
1453
1453
  nodesCompleted?: string[];
1454
1454
  }
1455
1455
 
1456
- export { type DebateRoundEvent as $, type AgentLike as A, type BreakpointState as B, type Checkpoint as C, type DebugEvent as D, type CheckpointDiff as E, type CheckpointLocalState as F, type GuardrailFn as G, type CheckpointProgress as H, type InputGuardrailData as I, type CheckpointRestoreEvent as J, type CheckpointSaveEvent as K, type CheckpointStore as L, type Message as M, type ConstraintEvaluateEvent as N, type OutputGuardrailData as O, type CrossAgentDerivationFn as P, type CrossAgentSnapshot as Q, type RunOptions as R, type SchemaValidator as S, type ToolCallGuardrailData as T, type DagCheckpointState as U, type DagExecutionContext as V, type DagNode as W, type DagNodeStatus as X, type DagNodeUpdateEvent as Y, type DagPattern as Z, type DebateCheckpointState as _, type AdapterHooks as a, type TaskProgressEvent as a$, type DebugEventBase as a0, type DebugEventType as a1, type DerivationUpdateEvent as a2, type GoalCheckpointConfig as a3, type GoalCheckpointState as a4, type GoalMetrics as a5, type GoalNode as a6, type GoalPattern as a7, type GoalStepMetrics as a8, type GuardrailCheckEvent as a9, type PatternCompleteEvent as aA, type PatternStartEvent as aB, type RaceCancelledEvent as aC, type RaceStartEvent as aD, type RaceWinnerEvent as aE, type ReflectCheckpointState as aF, type ReflectionIterationEvent as aG, type RejectedRequest as aH, type RelaxationContext as aI, type RelaxationRecord as aJ, type RelaxationStrategy as aK, type RelaxationTier as aL, type RerouteDebugEvent as aM, type RerouteEvent as aN, type ResolverCompleteEvent as aO, type ResolverErrorEvent as aP, type ResolverStartEvent as aQ, type SchemaValidationResult as aR, type Scratchpad as aS, type ScratchpadUpdateEvent as aT, type SelfHealingConfig as aU, type SequentialCheckpointState as aV, type SingleAgentCheckpointLocalState as aW, type StreamingCallbackRunner as aX, type SupervisorCheckpointState as aY, type TaskCompleteEvent as aZ, type TaskErrorEvent as a_, type GuardrailContext as aa, GuardrailError as ab, type GuardrailErrorCode as ac, type GuardrailResult as ad, type GuardrailRetryConfig as ae, type GuardrailsConfig as af, type HandoffCompleteEvent as ag, type HandoffStartEvent as ah, type HealthMonitorConfig as ai, InMemoryCheckpointStore as aj, type InMemoryCheckpointStoreOptions as ak, MAX_BREAKPOINT_HISTORY as al, type MultiAgentBreakpointType as am, type MultiAgentCheckpointLocalState as an, type MultiAgentLifecycleHooks as ao, type MultiAgentSelfHealingConfig as ap, type NamedGuardrail as aq, type OrchestratorConstraint as ar, type OrchestratorDebugConfig as as, type OrchestratorLifecycleHooks as at, type OrchestratorResolver as au, type OrchestratorResolverContext as av, type OrchestratorState as aw, type PatternCheckpointBase as ax, type PatternCheckpointConfig as ay, type PatternCheckpointState as az, type AgentRunner as b, type TaskStartEvent as b0, type TokenUsage as b1, type ToolCall as b2, createBreakpointId as b3, createCheckpointId as b4, createInitialBreakpointState as b5, isGuardrailError as b6, matchBreakpoint as b7, validateCheckpoint as b8, type ApprovalState as c, type AgentState as d, type RunResult as e, type GoalResult as f, type AgentCircuitBreakerConfig as g, type AgentCompleteEvent as h, type AgentErrorEvent as i, type AgentHealthState as j, type AgentRetryConfig as k, type AgentRetryEvent as l, type AgentSelectionStrategy as m, type AgentStartEvent as n, type ApprovalRequest as o, type ApprovalRequestEvent as p, type ApprovalResponseEvent as q, type BreakpointConfig as r, type BreakpointContext as s, type BreakpointHitEvent as t, type BreakpointModifications as u, type BreakpointRequest as v, type BreakpointResumedEvent as w, type BreakpointState$1 as x, type BreakpointType as y, type CheckpointContext as z };
1456
+ export { type CrossAgentDerivationFn as $, type AgentLike as A, type BreakpointState as B, type BreakpointContext as C, type DagNode as D, type BreakpointHitEvent as E, type BreakpointModifications as F, type GuardrailFn as G, type BreakpointRequest as H, type InputGuardrailData as I, type BreakpointResumedEvent as J, type BreakpointState$1 as K, type BreakpointType as L, type Message as M, type Checkpoint as N, type OutputGuardrailData as O, type PatternCheckpointConfig as P, type CheckpointContext as Q, type RelaxationTier as R, type SchemaValidator as S, type ToolCallGuardrailData as T, type CheckpointDiff as U, type CheckpointLocalState as V, type CheckpointProgress as W, type CheckpointRestoreEvent as X, type CheckpointSaveEvent as Y, type CheckpointStore as Z, type ConstraintEvaluateEvent as _, type AdapterHooks as a, type TaskProgressEvent as a$, type CrossAgentSnapshot as a0, type DagCheckpointState as a1, type DagNodeStatus as a2, type DagNodeUpdateEvent as a3, type DebateCheckpointState as a4, type DebateRoundEvent as a5, type DebugEventBase as a6, type DebugEventType as a7, type DerivationUpdateEvent as a8, type GoalCheckpointConfig as a9, type PatternCheckpointState as aA, type PatternCompleteEvent as aB, type PatternStartEvent as aC, type RaceCancelledEvent as aD, type RaceStartEvent as aE, type RaceWinnerEvent as aF, type ReflectCheckpointState as aG, type ReflectionIterationEvent as aH, type RejectedRequest as aI, type RelaxationContext as aJ, type RelaxationRecord as aK, type RelaxationStrategy as aL, type RerouteDebugEvent as aM, type RerouteEvent as aN, type ResolverCompleteEvent as aO, type ResolverErrorEvent as aP, type ResolverStartEvent as aQ, type SchemaValidationResult as aR, type Scratchpad as aS, type ScratchpadUpdateEvent as aT, type SelfHealingConfig as aU, type SequentialCheckpointState as aV, type SingleAgentCheckpointLocalState as aW, type StreamingCallbackRunner as aX, type SupervisorCheckpointState as aY, type TaskCompleteEvent as aZ, type TaskErrorEvent as a_, type GoalCheckpointState as aa, type GoalStepMetrics as ab, type GuardrailCheckEvent as ac, type GuardrailContext as ad, GuardrailError as ae, type GuardrailErrorCode as af, type GuardrailResult as ag, type GuardrailRetryConfig as ah, type GuardrailsConfig as ai, type HandoffCompleteEvent as aj, type HandoffStartEvent as ak, type HealthMonitorConfig as al, InMemoryCheckpointStore as am, type InMemoryCheckpointStoreOptions as an, MAX_BREAKPOINT_HISTORY as ao, type MultiAgentBreakpointType as ap, type MultiAgentCheckpointLocalState as aq, type MultiAgentLifecycleHooks as ar, type MultiAgentSelfHealingConfig as as, type NamedGuardrail as at, type OrchestratorDebugConfig as au, type OrchestratorLifecycleHooks as av, type OrchestratorResolver as aw, type OrchestratorResolverContext as ax, type OrchestratorState as ay, type PatternCheckpointBase as az, type AgentRunner as b, type TaskStartEvent as b0, type TokenUsage as b1, type ToolCall as b2, createBreakpointId as b3, createCheckpointId as b4, createInitialBreakpointState as b5, isGuardrailError as b6, matchBreakpoint as b7, validateCheckpoint as b8, type ApprovalState as c, type AgentState as d, type AgentSelectionStrategy as e, type DagExecutionContext as f, type DagPattern as g, type GoalNode as h, type GoalMetrics as i, type GoalPattern as j, type RunResult as k, type OrchestratorConstraint as l, type RunOptions as m, type DebugEvent as n, type GoalResult as o, type AgentCircuitBreakerConfig as p, type AgentCompleteEvent as q, type AgentErrorEvent as r, type AgentHealthState as s, type AgentRetryConfig as t, type AgentRetryEvent as u, type AgentStartEvent as v, type ApprovalRequest as w, type ApprovalRequestEvent as x, type ApprovalResponseEvent as y, type BreakpointConfig as z };
@@ -1453,4 +1453,4 @@ interface CheckpointDiff {
1453
1453
  nodesCompleted?: string[];
1454
1454
  }
1455
1455
 
1456
- export { type DebateRoundEvent as $, type AgentLike as A, type BreakpointState as B, type Checkpoint as C, type DebugEvent as D, type CheckpointDiff as E, type CheckpointLocalState as F, type GuardrailFn as G, type CheckpointProgress as H, type InputGuardrailData as I, type CheckpointRestoreEvent as J, type CheckpointSaveEvent as K, type CheckpointStore as L, type Message as M, type ConstraintEvaluateEvent as N, type OutputGuardrailData as O, type CrossAgentDerivationFn as P, type CrossAgentSnapshot as Q, type RunOptions as R, type SchemaValidator as S, type ToolCallGuardrailData as T, type DagCheckpointState as U, type DagExecutionContext as V, type DagNode as W, type DagNodeStatus as X, type DagNodeUpdateEvent as Y, type DagPattern as Z, type DebateCheckpointState as _, type AdapterHooks as a, type TaskProgressEvent as a$, type DebugEventBase as a0, type DebugEventType as a1, type DerivationUpdateEvent as a2, type GoalCheckpointConfig as a3, type GoalCheckpointState as a4, type GoalMetrics as a5, type GoalNode as a6, type GoalPattern as a7, type GoalStepMetrics as a8, type GuardrailCheckEvent as a9, type PatternCompleteEvent as aA, type PatternStartEvent as aB, type RaceCancelledEvent as aC, type RaceStartEvent as aD, type RaceWinnerEvent as aE, type ReflectCheckpointState as aF, type ReflectionIterationEvent as aG, type RejectedRequest as aH, type RelaxationContext as aI, type RelaxationRecord as aJ, type RelaxationStrategy as aK, type RelaxationTier as aL, type RerouteDebugEvent as aM, type RerouteEvent as aN, type ResolverCompleteEvent as aO, type ResolverErrorEvent as aP, type ResolverStartEvent as aQ, type SchemaValidationResult as aR, type Scratchpad as aS, type ScratchpadUpdateEvent as aT, type SelfHealingConfig as aU, type SequentialCheckpointState as aV, type SingleAgentCheckpointLocalState as aW, type StreamingCallbackRunner as aX, type SupervisorCheckpointState as aY, type TaskCompleteEvent as aZ, type TaskErrorEvent as a_, type GuardrailContext as aa, GuardrailError as ab, type GuardrailErrorCode as ac, type GuardrailResult as ad, type GuardrailRetryConfig as ae, type GuardrailsConfig as af, type HandoffCompleteEvent as ag, type HandoffStartEvent as ah, type HealthMonitorConfig as ai, InMemoryCheckpointStore as aj, type InMemoryCheckpointStoreOptions as ak, MAX_BREAKPOINT_HISTORY as al, type MultiAgentBreakpointType as am, type MultiAgentCheckpointLocalState as an, type MultiAgentLifecycleHooks as ao, type MultiAgentSelfHealingConfig as ap, type NamedGuardrail as aq, type OrchestratorConstraint as ar, type OrchestratorDebugConfig as as, type OrchestratorLifecycleHooks as at, type OrchestratorResolver as au, type OrchestratorResolverContext as av, type OrchestratorState as aw, type PatternCheckpointBase as ax, type PatternCheckpointConfig as ay, type PatternCheckpointState as az, type AgentRunner as b, type TaskStartEvent as b0, type TokenUsage as b1, type ToolCall as b2, createBreakpointId as b3, createCheckpointId as b4, createInitialBreakpointState as b5, isGuardrailError as b6, matchBreakpoint as b7, validateCheckpoint as b8, type ApprovalState as c, type AgentState as d, type RunResult as e, type GoalResult as f, type AgentCircuitBreakerConfig as g, type AgentCompleteEvent as h, type AgentErrorEvent as i, type AgentHealthState as j, type AgentRetryConfig as k, type AgentRetryEvent as l, type AgentSelectionStrategy as m, type AgentStartEvent as n, type ApprovalRequest as o, type ApprovalRequestEvent as p, type ApprovalResponseEvent as q, type BreakpointConfig as r, type BreakpointContext as s, type BreakpointHitEvent as t, type BreakpointModifications as u, type BreakpointRequest as v, type BreakpointResumedEvent as w, type BreakpointState$1 as x, type BreakpointType as y, type CheckpointContext as z };
1456
+ export { type CrossAgentDerivationFn as $, type AgentLike as A, type BreakpointState as B, type BreakpointContext as C, type DagNode as D, type BreakpointHitEvent as E, type BreakpointModifications as F, type GuardrailFn as G, type BreakpointRequest as H, type InputGuardrailData as I, type BreakpointResumedEvent as J, type BreakpointState$1 as K, type BreakpointType as L, type Message as M, type Checkpoint as N, type OutputGuardrailData as O, type PatternCheckpointConfig as P, type CheckpointContext as Q, type RelaxationTier as R, type SchemaValidator as S, type ToolCallGuardrailData as T, type CheckpointDiff as U, type CheckpointLocalState as V, type CheckpointProgress as W, type CheckpointRestoreEvent as X, type CheckpointSaveEvent as Y, type CheckpointStore as Z, type ConstraintEvaluateEvent as _, type AdapterHooks as a, type TaskProgressEvent as a$, type CrossAgentSnapshot as a0, type DagCheckpointState as a1, type DagNodeStatus as a2, type DagNodeUpdateEvent as a3, type DebateCheckpointState as a4, type DebateRoundEvent as a5, type DebugEventBase as a6, type DebugEventType as a7, type DerivationUpdateEvent as a8, type GoalCheckpointConfig as a9, type PatternCheckpointState as aA, type PatternCompleteEvent as aB, type PatternStartEvent as aC, type RaceCancelledEvent as aD, type RaceStartEvent as aE, type RaceWinnerEvent as aF, type ReflectCheckpointState as aG, type ReflectionIterationEvent as aH, type RejectedRequest as aI, type RelaxationContext as aJ, type RelaxationRecord as aK, type RelaxationStrategy as aL, type RerouteDebugEvent as aM, type RerouteEvent as aN, type ResolverCompleteEvent as aO, type ResolverErrorEvent as aP, type ResolverStartEvent as aQ, type SchemaValidationResult as aR, type Scratchpad as aS, type ScratchpadUpdateEvent as aT, type SelfHealingConfig as aU, type SequentialCheckpointState as aV, type SingleAgentCheckpointLocalState as aW, type StreamingCallbackRunner as aX, type SupervisorCheckpointState as aY, type TaskCompleteEvent as aZ, type TaskErrorEvent as a_, type GoalCheckpointState as aa, type GoalStepMetrics as ab, type GuardrailCheckEvent as ac, type GuardrailContext as ad, GuardrailError as ae, type GuardrailErrorCode as af, type GuardrailResult as ag, type GuardrailRetryConfig as ah, type GuardrailsConfig as ai, type HandoffCompleteEvent as aj, type HandoffStartEvent as ak, type HealthMonitorConfig as al, InMemoryCheckpointStore as am, type InMemoryCheckpointStoreOptions as an, MAX_BREAKPOINT_HISTORY as ao, type MultiAgentBreakpointType as ap, type MultiAgentCheckpointLocalState as aq, type MultiAgentLifecycleHooks as ar, type MultiAgentSelfHealingConfig as as, type NamedGuardrail as at, type OrchestratorDebugConfig as au, type OrchestratorLifecycleHooks as av, type OrchestratorResolver as aw, type OrchestratorResolverContext as ax, type OrchestratorState as ay, type PatternCheckpointBase as az, type AgentRunner as b, type TaskStartEvent as b0, type TokenUsage as b1, type ToolCall as b2, createBreakpointId as b3, createCheckpointId as b4, createInitialBreakpointState as b5, isGuardrailError as b6, matchBreakpoint as b7, validateCheckpoint as b8, type ApprovalState as c, type AgentState as d, type AgentSelectionStrategy as e, type DagExecutionContext as f, type DagPattern as g, type GoalNode as h, type GoalMetrics as i, type GoalPattern as j, type RunResult as k, type OrchestratorConstraint as l, type RunOptions as m, type DebugEvent as n, type GoalResult as o, type AgentCircuitBreakerConfig as p, type AgentCompleteEvent as q, type AgentErrorEvent as r, type AgentHealthState as s, type AgentRetryConfig as t, type AgentRetryEvent as u, type AgentStartEvent as v, type ApprovalRequest as w, type ApprovalRequestEvent as x, type ApprovalResponseEvent as y, type BreakpointConfig as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directive-run/ai",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "AI agent orchestration, guardrails, and multi-agent coordination for Directive.",
5
5
  "license": "MIT",
6
6
  "author": "Jason Comes",
@@ -76,12 +76,12 @@
76
76
  "@types/node": "^25.2.0",
77
77
  "tsup": "^8.3.5",
78
78
  "typescript": "^5.7.2",
79
- "@directive-run/core": "0.4.1"
79
+ "@directive-run/core": "0.5.0"
80
80
  },
81
81
  "scripts": {
82
82
  "build": "tsup",
83
83
  "dev": "tsup --watch",
84
- "test": "vitest run",
84
+ "test": "cd ../.. && vitest run packages/ai/",
85
85
  "typecheck": "tsc --noEmit",
86
86
  "clean": "rm -rf dist"
87
87
  }