@directive-run/ai 0.8.6 → 0.8.8
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.
- package/README.md +7 -0
- package/dist/anthropic.cjs +2 -3
- package/dist/anthropic.cjs.map +1 -1
- package/dist/anthropic.d.cts +1 -1
- package/dist/anthropic.d.ts +1 -1
- package/dist/anthropic.js +2 -3
- package/dist/anthropic.js.map +1 -1
- package/dist/chunk-265ZKXYE.js +3 -0
- package/dist/chunk-265ZKXYE.js.map +1 -0
- package/dist/chunk-7EJPXKDP.js +50 -0
- package/dist/chunk-7EJPXKDP.js.map +1 -0
- package/dist/chunk-B4ATEGA2.cjs +50 -0
- package/dist/chunk-B4ATEGA2.cjs.map +1 -0
- package/dist/chunk-MNYANBNX.js +14 -0
- package/dist/chunk-MNYANBNX.js.map +1 -0
- package/dist/chunk-QXMXSHYS.cjs +3 -0
- package/dist/chunk-QXMXSHYS.cjs.map +1 -0
- package/dist/chunk-W6MVJKWN.cjs +3 -0
- package/dist/chunk-W6MVJKWN.cjs.map +1 -0
- package/dist/chunk-W6WZBQER.js +3 -0
- package/dist/chunk-W6WZBQER.js.map +1 -0
- package/dist/chunk-WCJFIC22.cjs +14 -0
- package/dist/chunk-WCJFIC22.cjs.map +1 -0
- package/dist/gemini.cjs +2 -3
- package/dist/gemini.cjs.map +1 -1
- package/dist/gemini.d.cts +1 -1
- package/dist/gemini.d.ts +1 -1
- package/dist/gemini.js +2 -3
- package/dist/gemini.js.map +1 -1
- package/dist/index.cjs +30 -89
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +194 -27
- package/dist/index.d.ts +194 -27
- package/dist/index.js +30 -89
- package/dist/index.js.map +1 -1
- package/dist/multi-agent-orchestrator-FEHVHZXA.js +2 -0
- package/dist/multi-agent-orchestrator-FEHVHZXA.js.map +1 -0
- package/dist/multi-agent-orchestrator-QWJNM4EZ.cjs +2 -0
- package/dist/multi-agent-orchestrator-QWJNM4EZ.cjs.map +1 -0
- package/dist/ollama.cjs +2 -2
- package/dist/ollama.cjs.map +1 -1
- package/dist/ollama.d.cts +1 -1
- package/dist/ollama.d.ts +1 -1
- package/dist/ollama.js +2 -2
- package/dist/ollama.js.map +1 -1
- package/dist/openai.cjs +2 -3
- package/dist/openai.cjs.map +1 -1
- package/dist/openai.d.cts +2 -2
- package/dist/openai.d.ts +2 -2
- package/dist/openai.js +2 -3
- package/dist/openai.js.map +1 -1
- package/dist/{multi-agent-orchestrator-DHp8gHXi.d.ts → orchestrator-types-DryFJyW9.d.ts} +6 -142
- package/dist/{multi-agent-orchestrator-C3VKkLzg.d.cts → orchestrator-types-tATJCBi5.d.cts} +6 -142
- package/dist/{semantic-cache-F0psCRuz.d.cts → semantic-cache-nBpQqILc.d.cts} +5 -5
- package/dist/{semantic-cache-F0psCRuz.d.ts → semantic-cache-nBpQqILc.d.ts} +5 -5
- package/dist/testing.cjs +1 -48
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +1 -48
- package/dist/testing.js.map +1 -1
- package/dist/{types-BM-6xZf_.d.cts → types-CRmwFnVk.d.cts} +1 -1
- package/dist/{types-BM-6xZf_.d.ts → types-CRmwFnVk.d.ts} +1 -1
- package/package.json +3 -3
|
@@ -1453,4 +1453,4 @@ interface CheckpointDiff {
|
|
|
1453
1453
|
nodesCompleted?: string[];
|
|
1454
1454
|
}
|
|
1455
1455
|
|
|
1456
|
-
export { type
|
|
1456
|
+
export { type ConstraintEvaluateEvent as $, type AgentLike as A, type BreakpointState as B, type CheckpointDiff as C, type DagNode as D, type ApprovalRequestEvent as E, type ApprovalResponseEvent as F, type GuardrailFn as G, type BreakpointConfig as H, type InputGuardrailData as I, type BreakpointContext as J, type BreakpointHitEvent as K, type BreakpointModifications as L, type Message as M, type BreakpointRequest as N, type OutputGuardrailData as O, type PatternCheckpointState as P, type BreakpointResumedEvent as Q, type RelaxationTier as R, type SchemaValidator as S, type ToolCallGuardrailData as T, type BreakpointState$1 as U, type BreakpointType as V, type Checkpoint as W, type CheckpointContext as X, type CheckpointLocalState as Y, type CheckpointRestoreEvent as Z, type CheckpointSaveEvent as _, type AdapterHooks as a, type TaskProgressEvent as a$, type CrossAgentDerivationFn as a0, type CrossAgentSnapshot as a1, type DagCheckpointState as a2, type DagNodeStatus as a3, type DagNodeUpdateEvent as a4, type DebateCheckpointState as a5, type DebateRoundEvent as a6, type DebugEventBase as a7, type DebugEventType as a8, type DerivationUpdateEvent as a9, type PatternCheckpointBase 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 GoalCheckpointConfig as aa, type GoalCheckpointState as ab, type GoalStepMetrics as ac, type GuardrailCheckEvent as ad, type GuardrailContext as ae, GuardrailError as af, type GuardrailErrorCode as ag, type GuardrailResult as ah, type GuardrailRetryConfig as ai, type GuardrailsConfig as aj, type HandoffCompleteEvent as ak, type HandoffStartEvent as al, type HealthMonitorConfig as am, InMemoryCheckpointStore as an, type InMemoryCheckpointStoreOptions as ao, MAX_BREAKPOINT_HISTORY as ap, type MultiAgentBreakpointType as aq, type MultiAgentCheckpointLocalState as ar, type MultiAgentLifecycleHooks as as, type MultiAgentSelfHealingConfig as at, type NamedGuardrail as au, type OrchestratorDebugConfig as av, type OrchestratorLifecycleHooks as aw, type OrchestratorResolver as ax, type OrchestratorResolverContext as ay, type OrchestratorState 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 CheckpointStore as e, type CheckpointProgress as f, type AgentSelectionStrategy as g, type DagExecutionContext as h, type DagPattern as i, type GoalNode as j, type GoalMetrics as k, type PatternCheckpointConfig as l, type GoalPattern as m, type RunResult as n, type OrchestratorConstraint as o, type RunOptions as p, type DebugEvent as q, type GoalResult as r, type AgentCircuitBreakerConfig as s, type AgentCompleteEvent as t, type AgentErrorEvent as u, type AgentHealthState as v, type AgentRetryConfig as w, type AgentRetryEvent as x, type AgentStartEvent as y, type ApprovalRequest as z };
|
|
@@ -1453,4 +1453,4 @@ interface CheckpointDiff {
|
|
|
1453
1453
|
nodesCompleted?: string[];
|
|
1454
1454
|
}
|
|
1455
1455
|
|
|
1456
|
-
export { type
|
|
1456
|
+
export { type ConstraintEvaluateEvent as $, type AgentLike as A, type BreakpointState as B, type CheckpointDiff as C, type DagNode as D, type ApprovalRequestEvent as E, type ApprovalResponseEvent as F, type GuardrailFn as G, type BreakpointConfig as H, type InputGuardrailData as I, type BreakpointContext as J, type BreakpointHitEvent as K, type BreakpointModifications as L, type Message as M, type BreakpointRequest as N, type OutputGuardrailData as O, type PatternCheckpointState as P, type BreakpointResumedEvent as Q, type RelaxationTier as R, type SchemaValidator as S, type ToolCallGuardrailData as T, type BreakpointState$1 as U, type BreakpointType as V, type Checkpoint as W, type CheckpointContext as X, type CheckpointLocalState as Y, type CheckpointRestoreEvent as Z, type CheckpointSaveEvent as _, type AdapterHooks as a, type TaskProgressEvent as a$, type CrossAgentDerivationFn as a0, type CrossAgentSnapshot as a1, type DagCheckpointState as a2, type DagNodeStatus as a3, type DagNodeUpdateEvent as a4, type DebateCheckpointState as a5, type DebateRoundEvent as a6, type DebugEventBase as a7, type DebugEventType as a8, type DerivationUpdateEvent as a9, type PatternCheckpointBase 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 GoalCheckpointConfig as aa, type GoalCheckpointState as ab, type GoalStepMetrics as ac, type GuardrailCheckEvent as ad, type GuardrailContext as ae, GuardrailError as af, type GuardrailErrorCode as ag, type GuardrailResult as ah, type GuardrailRetryConfig as ai, type GuardrailsConfig as aj, type HandoffCompleteEvent as ak, type HandoffStartEvent as al, type HealthMonitorConfig as am, InMemoryCheckpointStore as an, type InMemoryCheckpointStoreOptions as ao, MAX_BREAKPOINT_HISTORY as ap, type MultiAgentBreakpointType as aq, type MultiAgentCheckpointLocalState as ar, type MultiAgentLifecycleHooks as as, type MultiAgentSelfHealingConfig as at, type NamedGuardrail as au, type OrchestratorDebugConfig as av, type OrchestratorLifecycleHooks as aw, type OrchestratorResolver as ax, type OrchestratorResolverContext as ay, type OrchestratorState 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 CheckpointStore as e, type CheckpointProgress as f, type AgentSelectionStrategy as g, type DagExecutionContext as h, type DagPattern as i, type GoalNode as j, type GoalMetrics as k, type PatternCheckpointConfig as l, type GoalPattern as m, type RunResult as n, type OrchestratorConstraint as o, type RunOptions as p, type DebugEvent as q, type GoalResult as r, type AgentCircuitBreakerConfig as s, type AgentCompleteEvent as t, type AgentErrorEvent as u, type AgentHealthState as v, type AgentRetryConfig as w, type AgentRetryEvent as x, type AgentStartEvent as y, type ApprovalRequest as z };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@directive-run/ai",
|
|
3
|
-
"version": "0.8.
|
|
4
|
-
"description": "AI guardrails and orchestration for
|
|
3
|
+
"version": "0.8.8",
|
|
4
|
+
"description": "AI guardrails and orchestration for Directive. Prompt injection, PII detection, cost tracking, multi-agent patterns.",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"author": "Jason Comes",
|
|
7
7
|
"repository": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@types/node": "^25.2.0",
|
|
86
86
|
"tsup": "^8.3.5",
|
|
87
87
|
"typescript": "^5.7.2",
|
|
88
|
-
"@directive-run/core": "0.8.
|
|
88
|
+
"@directive-run/core": "0.8.8"
|
|
89
89
|
},
|
|
90
90
|
"scripts": {
|
|
91
91
|
"build": "tsup",
|